1 2016-02-13 Glenn Morris <rgm@gnu.org>
3 * lisp/dired-aux.el: Require cl-lib. (Bug#22613)
5 2016-02-13 Eli Zaretskii <eliz@gnu.org>
7 Index tilde characters in names of backup files
9 * doc/emacs/files.texi (Backup Names): Improve indexing.
12 2016-02-13 Eli Zaretskii <eliz@gnu.org>
14 Document deprecation of hi-lock-mode's 'C-x w' bindings
16 * doc/emacs/display.texi (Highlight Interactively): Deprecate the
17 "C-x w" bindings of hi-lock-mode.
19 * etc/NEWS: Mark the deprecation entry as documented.
21 2016-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
23 Announce that the `C-x w' bindings are deprecated
25 2016-02-13 Paul Eggert <eggert@cs.ucla.edu>
27 Suppress GNUstep hardening
29 Fedora 23 normally hardens GNUstep applications, which causes
30 ‘./configure --with-ns’ to break Emacs’s funky way of undumping.
31 Fix this by eliding the hardening options (Bug#22518).
32 * src/Makefile.in (LIBS_GNUSTEP): Omit options like
33 ‘-specs=/usr/lib/rpm/redhat/redhat-hardened-ld’.
34 (GNU_OBJC_CFLAGS): Omit options like
35 ‘-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1’.
37 2016-02-12 Eli Zaretskii <eliz@gnu.org>
39 Fix redisplay after a large insertion
41 * src/xdisp.c (redisplay_internal): Don't accept the results of
42 "optimization 3" if the cursor ends up in a partially visible
45 2016-02-12 Andreas Schwab <schwab@linux-m68k.org>
47 Revert "Fix gnus-group-get-new-news-this-group on group with closed server"
49 This reverts commit 9dc77e37aa84c6df9b3ddb4609f3c09201b0580e.
51 * lisp/gnus/nnimap.el (nnimap-change-group): Revert last
54 2016-02-11 Paul Eggert <eggert@cs.ucla.edu>
56 * lib-src/make-docfile.c: Include stdarg.h.
58 2016-02-11 Alan Mackenzie <acm@muc.de>
60 Extend gpm-mouse-mode's doc string and doc to point out limitations.
62 * lisp/t-mouse.el (gpm-mouse-mode): Extend doc string to indicate the
63 inability to transfer text between Emacs and other programs which use GPM.
65 * doc/emacs/frames.texi (Text-Only Mouse): Note the inability to transfer text
66 between Emacs and other progrmas which use GPM.
68 2016-02-11 Eli Zaretskii <eliz@gnu.org>
70 Revert "Backport: * lisp/isearch.el: Turn char-folding off by default"
72 * lisp/isearch.el: Turn char-folding back oon by default.
74 This reverts commit 12c50e82c9b432b2fc31f8fb2215f43ceea80822.
76 2016-02-11 Lars Ingebrigtsen <larsi@gnus.org>
78 Revert "Support integer image rotation and respect EXIF rotations"
80 This reverts commit 0f600496050bf435f55dc81056e06fcd45992dc8.
82 This change does not work on Fedora.
84 2016-02-11 Lars Ingebrigtsen <larsi@gnus.org>
86 Revert "Document EXIF image rotation"
88 This reverts commit 10b8ed27ec91ff52f93eb0297dcc3abb214931aa.
90 This change does not work on Fedora, for instance.
92 2016-02-11 Paul Eggert <eggert@cs.ucla.edu>
94 Document OS X LANG default
96 * doc/emacs/cmdargs.texi (General Variables):
97 Document OS X Language and Region system preference.
98 Suggested by Alan Third.
100 2016-02-11 Alan Third <alan@idiocy.org>
102 Set locale when run from OS X GUI
104 * src/emacs.c (main): Call ns_init_locale.
105 * src/nsterm.m (ns_init_locale): Get locale from OS and set LANG.
106 * src/nsterm.h: Include ns_init_locale.
108 2016-02-10 Paul Eggert <eggert@cs.ucla.edu>
110 make-docfile cleanup for I/O, etc.
112 * lib-src/make-docfile.c (progname, generate_globals, num_globals)
113 (num_globals_allocated, globals): Now static.
114 (generate_globals, struct rcsoc_state, read_c_string_or_comment):
115 (write_c_args, scan_c_stream, search_lisp_doc_at_eol, scan_lisp_file):
116 Use bool for boolean.
117 (verror): New function.
118 (fatal, error): Use it. API is now like printf. All callers changed.
119 (main): Remove err_count local that was always 0.
120 (main, scan_c_stream, scan_lisp_file): Check for I/O error.
121 (scan_file, scan_c_file, scan_c_stream, scan_lisp_file):
123 (put_char, scan_keyword_or_put_char, scan_c_file): Use char for byte.
124 (scan_keyword_or_put_char): Check for missing ( and unexpected EOF.
125 (close_emacs_globals): Use ptrdiff_t for index, not int.
126 (scan_c_file, scan_lisp_file): Exit with failure if file cannot be
127 opened, rather than diagnosing but exiting with status 0.
128 (search_lisp_doc_at_eol): Don't worry about ungetc of EOF; it's
131 2016-02-10 Paul Eggert <eggert@cs.ucla.edu>
133 Memory-management cleanup in make-docfile
135 I compiled it with -fsanitize=address and fixed the leaks it detected.
136 Also, I changed it to prefer signed to unsigned integer types,
137 and to check for integer overflow.
138 * lib-src/make-docfile.c:
139 Include <stddef.h>, <stdint.h>, <intprops.h>, <min-max.h>.
140 (memory_exhausted): New function.
141 (xmalloc, xrealloc): Use it.
142 (xmalloc, xrealloc, scan_file, struct rcsoc_state, write_c_args)
143 (uncompiled, scan_lisp_file):
144 Prefer signed integer types to unsigned.
145 (xstrdup): Remove. All uses removed.
146 (num_globals, num_globals_allocated, write_globals, scan_c_stream):
147 Use ptrdiff_t, not int, for indexes that in theory could exceed INT_MAX.
148 (add_global): Use const to pacify --enable-gcc-warnings.
149 Make a copy here, rather than relying on strdup calls later.
150 (add_global, write_globals, scan_c_stream):
151 Avoid integer overflow when calculating sizes.
152 (write_globals, scan_c_stream, scan_lisp_file): Avoid memory leak.
153 (scan_c_stream): Check for add_global failure.
155 2016-02-10 Kevin Gallagher <Kevin.Gallagher@boeing.com>
157 Kevin Gallagher has new email address
159 * lisp/emulation/edt.el:
160 * lisp/emulation/edt-lk201.el:
161 * lisp/emulation/edt-mapper.el:
162 * lisp/emulation/edt-pc.el:
163 * lisp/emulation/edt-vt100.el:
165 * doc/misc/edt.texi: Update Kevin Gallagher's email address.
167 2016-02-10 Eli Zaretskii <eliz@gnu.org>
169 Improve doc strings of 'forward/backward-word-strictly'
171 * lisp/simple.el (backward-word): Refer to 'backward-word-strictly'
172 in the doc string. Suggested by Glenn Morris <rgm@gnu.org>.
173 * lisp/subr.el (forward-word-strictly, backward-word-strictly):
174 Mention 'subword-mode' in the doc strings.
176 * src/syntax.c (Fforward_word): Refer to 'forward-word-strictly'
177 in the doc string. (Bug#22560)
179 2016-02-10 Michael Albinus <michael.albinus@gmx.de>
181 Describe Makefile test targets in test/README
183 * CONTRIBUTE: Move Makefile test targets to test/README.
186 * test/README: Describe Makefile test targets.
188 2016-02-10 Artur Malabarba <bruce.connor.am@gmail.com>
190 Backport: * lisp/isearch.el: Turn char-folding off by default
192 (search-default-mode): Set default value to nil.
194 2016-02-10 Lars Ingebrigtsen <larsi@gnus.org>
196 Document EXIF image rotation
198 * doc/lispref/display.texi (ImageMagick Images): Mention EXIF rotation.
200 2016-02-10 Dima Kogan <dima@secretsauce.net>
202 Support integer image rotation and respect EXIF rotations
204 * src/image.c (imagemagick_load_image): Allow integer rotations in
205 addition to floating point rotations (bug#22591).
206 * src/image.c (imagemagick_load_image): Images that have an
207 orientation given in EXIF and have no explicit :rotation tag are now
208 pre-rotated. All information such as width/height is reported for the
211 2016-02-10 Matthew Carter <m@ahungry.com>
213 Quote table names for postgres listings (sql-mode)
215 * lisp/progmodes/sql.el (sql-postgres-completion-object): Avoid passing
216 unquoted table names to the completion list.
218 2016-02-10 Juri Linkov <juri@linkov.net>
220 * lisp/replace.el (replace-match-maybe-edit): Make arg `backward' optional.
223 (replace-search, replace-highlight): Make arg `backward' optional.
226 2016-02-10 Juri Linkov <juri@linkov.net>
228 * lisp/simple.el (next-line-or-history-element): Reset temporary-goal-column.
230 (previous-line-or-history-element): Reset temporary-goal-column.
231 Use end-of-visual-line instead of line-end-position. (Bug#22544)
233 2016-02-10 Paul Eggert <eggert@cs.ucla.edu>
235 Suppress ACL ops if configured with --disable-acl
237 Without this patch, some ACL operations were suppressed, but not all.
238 * src/fileio.c [!USE_ACL]: Do not include sys/acl.h.
239 (Ffile_acl, Fset_file_acl) [!USE_ACL]: Return nil in this case.
241 2016-02-09 Katsumi Yamaoka <yamaoka@jpl.org>
245 * doc/misc/emacs-mime.texi (Display Customization):
246 Mention web bugs in the mm-html-blocked-images section.
248 2016-02-09 Katsumi Yamaoka <yamaoka@jpl.org>
250 Make mm-html-blocked-images default to "" again
252 * lisp/gnus/mm-decode.el (mm-html-blocked-images):
253 Default to "" that blocks all external images.
255 * doc/misc/emacs-mime.texi (Display Customization):
256 Mention that mm-html-blocked-images defaults to "".
258 2016-02-09 Paul Eggert <eggert@cs.ucla.edu>
260 Minor alignas cleanup
262 * src/lisp.h (alignas): Remove now-redundant #ifdef that was left
263 over from the old way of doing things, before Bug#20862 was fixed.
265 2016-02-09 Paul Eggert <eggert@cs.ucla.edu>
267 Add lmalloc commentary and tweak laligned
269 * src/alloc.c (laligned): Help compiler in a tiny way by putting
270 the more-commonly-failing disjunct first.
272 2016-02-09 Eli Zaretskii <eliz@gnu.org>
274 Clarify documentation of key binding conventions
276 * doc/lispref/tips.texi (Key Binding Conventions): Clarify which
277 "punctuation characters" are reserved after "C-c". (Bug#22604)
279 2016-02-09 Oscar Fuentes <ofv@wanadoo.es>
281 * etc/NEWS: mention the `vc-faces' customization group
283 2016-02-09 Paul Eggert <eggert@cs.ucla.edu>
288 2016-02-09 stdalign: port to clang 3.7.0
289 2016-02-06 misc: port better to gcc -fsanitize=address
290 * doc/misc/texinfo.tex, lib/stdalign.in.h, m4/acl.m4, m4/getgroups.m4:
293 2016-02-09 Michael Albinus <michael.albinus@gmx.de>
295 * CONTRIBUTE: Add more examples for $(SELECTOR) make variable.
297 2016-02-09 Katsumi Yamaoka <yamaoka@jpl.org>
299 Make mm-html-inhibit-images and mm-html-blocked-images default to nil
301 * lisp/gnus/mm-decode.el (mm-html-inhibit-images)
302 (mm-html-blocked-images): Default to nil.
304 * doc/misc/emacs-mime.texi (Display Customization): Mention that
305 mm-html-inhibit-images and mm-html-blocked-images default to nil.
307 * etc/NEWS (Gnus): Document mm-html-inhibit-images and
308 mm-html-blocked-images.
310 2016-02-09 Paul Eggert <eggert@cs.ucla.edu>
312 Increase success rate of fallback lmalloc
314 * src/alloc.c (lmalloc, lrealloc): Reallocate with (typically)
315 larger and larger sizes, to increase the probability that
316 the allocator will return a Lisp-aligned pointer.
318 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
320 Make backgrounds extend to the end of the lines in shr
322 * lisp/net/shr.el (shr-face-background): Faces can also be on
323 the form `(:background "#fff)' (bug#22547).
325 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
327 Make the `R' command get the correct relative <img>s
329 * lisp/net/eww.el (eww-readable): Preserve the base URL so
330 that image expansions are fetched from the right place (bug#22605).
332 (cherry picked from commit 8722e849f75ceafb82a1c17105e8ab76077a8ebc)
336 2016-02-09 Mike Kupfer <m.kupfer@acm.org>
338 Fix typos in emacs-mime.texi and gnus.texi
340 * doc/misc/emacs-mime.texi (Display Customization):
341 * doc/misc/gnus.texi (HTML): Fix typo.
343 2016-02-09 Katsumi Yamaoka <yamaoka@jpl.org>
345 * doc/misc/emacs-mime.texi (Display Customization):
346 Doc fix for mm-html-inhibit-images.
348 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
350 Fix message-cross-post-followup-to group names
352 * lisp/gnus/message.el (message-cross-post-followup-to): Don't
353 insert group names like "nntp+foo:zot", because those aren't valid.
355 2016-02-09 David Edmondson <dme@dme.org>
357 Compare recipient and keys case-insensitively
359 * lisp/gnus/mml2015.el: (mml-secure-check-user-id): When comparing a
360 recipient address with that from a key, do so in a case insensitive
363 2016-02-08 Glenn Morris <rgm@gnu.org>
365 * lisp/gnus/mm-decode.el (mm-alist-to-plist): Doc fix.
367 2016-02-08 Katsumi Yamaoka <yamaoka@jpl.org>
369 Refactor HTML images handling of Gnus and mm-* (a part of bug#21650)
371 * doc/misc/emacs-mime.texi (Display Customization):
372 Remove mm-inline-text-html-with-images; add documentations for
373 mm-html-inhibit-images and mm-html-blocked-images.
375 * lisp/gnus/gnus-art.el (gnus-article-show-images):
376 No need to bind mm-inline-text-html-with-images.
377 (gnus-bind-safe-url-regexp): Rename to gnus-bind-mm-vars.
378 (gnus-bind-mm-vars): Rename from gnus-bind-safe-url-regexp;
379 bind mm-html-inhibit-images and mm-html-blocked-images.
380 (gnus-mime-view-all-parts, gnus-mime-view-part-internally)
381 (gnus-mm-display-part, gnus-mime-display-single)
382 (gnus-mime-display-alternative): Use gnus-bind-mm-vars.
384 * lisp/gnus/mm-decode.el (mm-inline-text-html-with-images): Remove.
385 (mm-html-inhibit-images, mm-html-blocked-images): New user options.
386 (mm-shr): Bind shr-inhibit-images and shr-blocked-images with
387 mm-html-inhibit-images and mm-html-blocked-images respectively
388 instead of gnus-inhibit-images and gnus-blocked-images.
390 * lisp/gnus/mm-view.el (mm-setup-w3m): Use mm-html-inhibit-images
391 instead of mm-inline-text-html-with-images.
393 2016-02-08 Paul Eggert <eggert@cs.ucla.edu>
395 Port to FreeBSD 11-CURRENT i386
397 Problem reported by Herbert J. Skuhra in:
398 http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00354.html
400 * src/alloc.c (lmalloc, lrealloc, laligned): New functions.
401 (xmalloc, xzalloc, xrealloc, lisp_malloc): Use them.
402 (__alignof__) [!__GNUC__ && !__alignof__]: New macro.
403 (MALLOC_IS_GC_ALIGNED): New macro.
404 * src/lisp.h (NONPOINTER_BITS): Remove. All uses removed.
405 No longer needed now that alloc.c uses lmalloc and lrealloc.
407 2016-02-08 Michael Albinus <michael.albinus@gmx.de>
409 Some fixes in file-notify-tests.el
411 * test/automated/file-notify-tests.el
412 (file-notify--test-with-events-check)
413 (file-notify--test-with-events-explainer): New defuns.
414 (file-notify--test-with-events): Use it.
415 (file-notify-test07-backup): Fix docstring. Some of the
416 backends fire two `changed' events. Backup by rename doesn't
419 2016-02-07 Michael Albinus <michael.albinus@gmx.de>
423 * lisp/filenotify.el (file-notify-callback): Do not send a
424 `stopped' event in case of backup by renaming. (Bug#22557)
426 * test/automated/Makefile.in: Use $(SELECTOR_EXPENSIVE) for
427 all targets but check and check-maybe.
429 * test/automated/file-notify-tests.el
430 (file-notify--test-read-event-timeout): New defconst.
431 (file-notify--deftest-remote, file-notify--wait-for-events)
432 (file-notify-test02-events)
433 (file-notify-test04-file-validity)
434 (file-notify-test06-many-events): Use it.
435 (file-notify--test-cleanup): Make it more robust. Delete also
437 (file-notify-test07-backup): New test.
439 2016-02-07 Paul Eggert <eggert@cs.ucla.edu>
443 Problem reported by Andreas Schwab in:
444 http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00327.html
445 * configure.ac (dladdr): Link with LIBMODULES when checking for
448 2016-02-07 Andreas Schwab <schwab@linux-m68k.org>
450 Fix gnus-group-get-new-news-this-group on group with closed server
452 * lisp/gnus/nnimap.el (nnimap-change-group): Lookup server
453 method and pass to nnimap-open-server.
455 2016-02-07 Artur Malabarba <bruce.connor.am@gmail.com>
457 * lisp/comint.el (comint-prompt-read-only): Clean tabs in docstring
459 While tabs in code are mostly fine because the Emacs sources have a
460 .dir-locals file specifying tab-width, the same is not true of tabs in
461 code examples inside docstrings. The docstring is printed on a *Help*
462 buffer, which can be created on any directory and won't necessarily have
463 the same tab-width set.
465 2016-02-07 Lars Ingebrigtsen <larsi@gnus.org>
467 Don't inloop gnus-uu-mark-thread on the last thread
469 * lisp/gnus/gnus-uu.el (gnus-uu-mark-thread): Don't infloop on the
470 final thread in the summary buffer (bug#16666).
472 2016-02-06 Lars Ingebrigtsen <larsi@gnus.org>
474 Display non-ASCII group names better in prompts
476 * lisp/gnus/gnus-sum.el (gnus-articles-to-read): To decode the
477 group name, we have to do that before we remove the prefix.
479 2016-02-06 Lars Ingebrigtsen <larsi@gnus.org>
481 Default to gpg2 instead of gpg
483 * lisp/epg-config.el (epg-gpg-program): Prefer gpg2 over gpg, if
484 it exists. This fixes many problems with using the GPG
485 authentication agent.
487 2016-02-06 David Edmondson <dme@dme.org>
489 src/process.c Correctly convert AF_INET6 addresses
491 * src/process.c (conv_lisp_to_sockaddr): AF_INET6 addresses are
492 converted to a list of 16 bit quantities by
493 conv_sockaddr_to_lisp(). conv_lisp_to_sockaddr() should follow the
494 same scheme rather than expecting a (longer) list of 8 bit
499 (cherry picked from commit 55ce3c30d617c38eb086d5ad4ffbd881c20c559c)
501 2016-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
503 * lisp/isearch.el (isearch-define-mode-toggle): Improve logic
505 2016-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
507 * lisp/menu-bar.el (menu-bar-options-menu): New search submenu
509 (menu-bar-search-options-menu): New variable
511 2016-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
513 * lisp/isearch.el (search-default-mode)
515 (isearch-regexp-function): Improve docstrings.
517 2016-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
519 * lisp/isearch.el: Rename search-default-regexp-mode to search-default-mode
521 (search-default-mode): New variable.
522 (isearch-mode, isearch-define-mode-toggle)
523 (isearch--describe-regexp-mode): Update accordingly.
524 * lisp/menu-bar.el (nonincremental-search-forward): Update accordingly.
525 * etc/NEWS: Update accordingly.
526 * doc/emacs/search.texi: Update accordingly.
528 2016-02-06 Oscar Fuentes <ofv@wanadoo.es>
530 Use monitor's resolution for positioning tooltips
532 * src/xfns.c (compute_tip_xy): Use the resolution of the monitor where
533 the mouse pointer is to avoid placing the tooltip over the border of
534 the monitor on multi-head displays. Fixes bug#22549.
536 2016-02-06 Eli Zaretskii <eliz@gnu.org>
538 Fix file-notify-test on MS-Windows
540 * test/automated/file-notify-tests.el (file-notify--test-timeout):
541 Reduce w32notify timeout to 10 sec.
542 (file-notify-test06-many-events): Call read-event after each
543 rename, to keep the w32notify backend happy in batch mode.
546 2016-02-06 Eli Zaretskii <eliz@gnu.org>
548 Fix issues found by auditing w32notify code
550 * src/w32inevt.c (handle_file_notifications): Count the number of
551 events to be returned.
552 * src/w32notify.c (send_notifications): Don't copy to the file
553 notification buffer more than it can hold. (Bug#22534)
555 2016-02-06 Eli Zaretskii <eliz@gnu.org>
557 Extend etags Ruby support for accessors
559 * lib-src/etags.c (Ruby_functions): Support accessors defined with
560 parentheses. (Bug#22563)
562 * test/etags/ruby-src/test1.ru (A::B): Add tests for accessors
563 defined with parentheses.
564 * test/etags/ETAGS.good_1:
565 * test/etags/ETAGS.good_2:
566 * test/etags/ETAGS.good_3:
567 * test/etags/ETAGS.good_4:
568 * test/etags/ETAGS.good_5:
569 * test/etags/ETAGS.good_6:
570 * test/etags/CTAGS.good: Adapt to changes in Ruby tests.
572 2016-02-06 Lars Ingebrigtsen <larsi@gnus.org>
574 Update publicsuffix.txt.
576 * etc/publicsuffix.txt: Updated from
577 https://publicsuffix.org/list/public_suffix_list.dat.
579 2016-02-06 Lars Ingebrigtsen <larsi@gnus.org>
581 Ensure that Gnus dribble handling allows removing entries
583 * lisp/gnus/gnus-start.el (gnus-dribble-enter): Ensure that each
584 entry is on a single line.
586 2016-02-05 OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> (tiny change)
588 Be consistent when using encoded strings in nnimap data
590 * lisp/gnus/nnimap.el (nnimap-encode-gnus-group): New function
591 (nnimap-request-list): Use it.
592 (nnimap-request-newgroups): Ditto.
594 2016-02-05 OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> (tiny change)
596 Display the decoded Gnus group name
598 * lisp/gnus/gnus-sum.el (gnus-summary-read-group-1): Use the
599 decoded group name in the message.
601 2016-02-05 Lars Ingebrigtsen <larsi@gnus.org>
603 Use completion-ignore-case instead of defining command
605 * lisp/erc/erc.el (erc-mode): Set completion-ignore-case so
606 that we get case-insensitive completion.
607 (erc-completion-at-point): Remove.
609 2016-02-05 Eli Zaretskii <eliz@gnu.org>
611 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
613 2016-02-05 Michael Albinus <michael.albinus@gmx.de>
615 * test/automated/file-notify-tests.el (file-notify-test06-many-events):
617 Reduce the number of iterations to 250 in case of w32notify.
619 2016-02-05 Eli Zaretskii <eliz@gnu.org>
621 Fix problems caused by new implementation of sub-word mode
623 * lisp/subr.el (forward-word-strictly, backward-word-strictly):
625 (word-move-empty-char-table): New variable.
627 * etc/NEWS: Mention 'forward-word-strictly' and
628 'backward-word-strictly'.
630 * doc/lispref/positions.texi (Word Motion): Document
631 'find-word-boundary-function-table', 'forward-word-strictly', and
632 'backward-word-strictly'. (Bug#22560)
634 * src/syntax.c (syms_of_syntax)
635 <find-word-boundary-function-table>: Doc fix.
637 * lisp/wdired.el (wdired-xcase-word):
638 * lisp/textmodes/texnfo-upd.el (texinfo-copy-node-name)
639 (texinfo-copy-section-title, texinfo-start-menu-description)
640 (texinfo-copy-menu-title, texinfo-specific-section-type)
641 (texinfo-insert-node-lines, texinfo-copy-next-section-title):
642 * lisp/textmodes/texinfo.el (texinfo-clone-environment)
643 (texinfo-insert-@end):
644 * lisp/textmodes/texinfmt.el (texinfo-format-scan)
645 (texinfo-anchor, texinfo-multitable-widths)
646 (texinfo-multitable-item):
647 * lisp/textmodes/tex-mode.el (latex-env-before-change):
648 * lisp/textmodes/flyspell.el (texinfo-mode-flyspell-verify):
649 * lisp/skeleton.el (skeleton-insert):
650 * lisp/simple.el (count-words):
651 * lisp/progmodes/vhdl-mode.el (vhdl-beginning-of-libunit)
652 (vhdl-beginning-of-defun, vhdl-beginning-of-statement-1)
653 (vhdl-update-sensitivity-list, vhdl-template-block)
654 (vhdl-template-break, vhdl-template-case, vhdl-template-default)
655 (vhdl-template-default-indent, vhdl-template-for-loop)
656 (vhdl-template-if-then-use, vhdl-template-bare-loop)
657 (vhdl-template-nature, vhdl-template-procedural)
658 (vhdl-template-process, vhdl-template-selected-signal-asst)
659 (vhdl-template-type, vhdl-template-variable)
660 (vhdl-template-while-loop, vhdl-beginning-of-block)
661 (vhdl-hooked-abbrev, vhdl-port-copy, vhdl-hs-forward-sexp-func):
662 * lisp/progmodes/verilog-mode.el (verilog-backward-sexp)
663 (verilog-forward-sexp, verilog-beg-of-statement)
664 (verilog-set-auto-endcomments, verilog-backward-token)
666 * lisp/progmodes/vera-mode.el (vera-guess-basic-syntax)
667 (vera-indent-block-closing):
668 * lisp/progmodes/simula.el (simula-context)
669 (simula-backward-up-level, simula-forward-down-level)
670 (simula-previous-statement, simula-next-statement)
671 (simula-skip-comment-backward, simula-calculate-indent)
672 (simula-find-if, simula-electric-keyword):
673 * lisp/progmodes/sh-script.el (sh-smie--rc-newline-semi-p):
674 * lisp/progmodes/ruby-mode.el (ruby-smie--redundant-do-p)
675 (ruby-smie--forward-token, ruby-smie--backward-token)
676 (ruby-singleton-class-p, ruby-calculate-indent)
677 (ruby-forward-sexp, ruby-backward-sexp):
678 * lisp/progmodes/ps-mode.el (ps-run-goto-error):
679 * lisp/progmodes/perl-mode.el (perl-syntax-propertize-function)
680 (perl-syntax-propertize-special-constructs)
681 (perl-backward-to-start-of-continued-exp):
682 * lisp/progmodes/pascal.el (pascal-indent-declaration):
683 * lisp/progmodes/octave.el (octave-function-file-p):
684 * lisp/progmodes/mantemp.el (mantemp-insert-cxx-syntax):
685 * lisp/progmodes/js.el (js--forward-function-decl):
686 * lisp/progmodes/idlwave.el (idlwave-show-begin-check)
687 (idlwave-beginning-of-block, idlwave-end-of-block)
688 (idlwave-block-jump-out, idlwave-determine-class):
689 * lisp/progmodes/icon.el (icon-is-continuation-line)
690 (icon-backward-to-start-of-continued-exp, end-of-icon-defun):
691 * lisp/progmodes/hideif.el (hide-ifdef-define):
692 * lisp/progmodes/f90.el (f90-change-keywords):
693 * lisp/progmodes/cperl-mode.el (cperl-electric-pod)
694 (cperl-linefeed, cperl-electric-terminator)
695 (cperl-find-pods-heres, cperl-fix-line-spacing)
696 (cperl-invert-if-unless):
697 * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur):
698 * lisp/progmodes/cc-align.el (c-lineup-java-inher):
699 * lisp/progmodes/ada-mode.el (ada-compile-goto-error)
700 (ada-adjust-case-skeleton, ada-create-case-exception)
701 (ada-create-case-exception-substring)
702 (ada-case-read-exceptions-from-file, ada-after-keyword-p)
703 (ada-scan-paramlist, ada-get-current-indent, ada-get-indent-end)
704 (ada-get-indent-if, ada-get-indent-block-start)
705 (ada-get-indent-loop, ada-get-indent-type)
706 (ada-search-prev-end-stmt, ada-check-defun-name)
707 (ada-goto-decl-start, ada-goto-matching-start)
708 (ada-goto-matching-end, ada-looking-at-semi-or)
709 (ada-looking-at-semi-private, ada-in-paramlist-p)
710 (ada-search-ignore-complex-boolean, ada-move-to-start)
711 (ada-move-to-end, ada-which-function, ada-gen-treat-proc):
712 * lisp/net/quickurl.el (quickurl-grab-url):
713 * lisp/mail/sendmail.el (mail-do-fcc):
714 * lisp/mail/rmail.el (rmail-resend):
715 * lisp/mail/mailabbrev.el (mail-abbrev-complete-alias):
716 * lisp/mail/mail-extr.el (mail-extract-address-components):
717 * lisp/json.el (json-read-keyword):
718 * lisp/files.el (insert-directory):
719 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
720 * lisp/completion.el (symbol-under-point, symbol-before-point)
721 (symbol-before-point-for-complete, next-cdabbrev)
722 (add-completions-from-c-buffer):
723 * lisp/cedet/semantic/texi.el (semantic-up-context)
724 (semantic-beginning-of-context):
725 * lisp/cedet/semantic/bovine/el.el (semantic-get-local-variables):
726 use 'forward-word-strictly' and 'backward-word-strictly' instead
727 of 'forward-word' and 'backward-word'.
729 2016-02-05 Lars Ingebrigtsen <larsi@gnus.org>
731 Fix doc string of tls-program
733 * lisp/net/tls.el (tls-program): Document the %t parameter (bug#22559).
735 2016-02-05 Lars Ingebrigtsen <larsi@gnus.org>
737 Restore window conf in nsm
739 * lisp/net/nsm.el (nsm-query-user): Restore the window configuration.
743 2016-02-05 Mark Oteiza <mvoteiza@udel.edu>
745 * etc/NEWS: Document new mpc.el features
747 2016-02-04 Leo Liu <sdl.web@gmail.com>
749 * lisp/custom.el (defface): Revert indentation change. (Bug#22524)
751 2016-02-04 Alan Mackenzie <acm@muc.de>
753 Correctly fontify C++ initializations which "look like" functions.
757 lisp/progmodes/cc-engine.el (c-forward-declarator): Add extra optional
758 parameter to enable handling of "anonymous" declarators in declarations.
760 lisp/progmodes/cc-fonts.el (c-font-lock-declarators): Check more rigorously
761 whether a "(" opens a parameter list of a function, or an initialization of a
764 2016-02-04 Ulf Jasper <ulf.jasper@web.de>
766 Improve newsticker-treeview-selection-face
768 * lisp/net/newst-treeview.el (newsticker-treeview-selection-face): Improve
769 readability for dark background.
771 2016-02-04 Eli Zaretskii <eliz@gnu.org>
773 Minor fix in tagging Ruby accessors by etags
775 * lib-src/etags.c (Ruby_functions): Don't tag accessors whose
776 names are not literal symbols. (Bug#22241)
778 2016-02-04 Paul Eggert <eggert@cs.ucla.edu>
782 2016-02-04 Dmitry Gutov <dgutov@yandex.ru>
784 Remove 'def X' from the example
786 * test/etags/ruby-src/test1.ru (A::B): Remove 'def X'
787 (http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00167.html).
788 * test/etags/CTAGS.good:
789 * test/etags/ETAGS.good_1:
790 * test/etags/ETAGS.good_2:
791 * test/etags/ETAGS.good_3:
792 * test/etags/ETAGS.good_4:
793 * test/etags/ETAGS.good_5:
794 * test/etags/ETAGS.good_6: Adjust accordingly.
796 2016-02-04 Vasilij Schneidermann <v.schneidermann@gmail.com> (tiny change)
798 Allow sending empty hidden values in eww
800 * lisp/net/eww.el (eww-tag-input): Allow sending empty hidden
803 (cherry picked from commit 5898da8210af7953e638ddf7821c05260979c3f0)
807 2016-02-04 David Edmondson <dme@dme.org>
809 Make erc work better when encountering unknown prefix chars
811 * lisp/erc/erc.el (erc-channel-receive-names): Output a warning
812 instead of erroring out on unknown prefix chars (bug#22380).
814 2016-02-04 Lars Ingebrigtsen <larsi@gnus.org>
816 Make erc completion case-insensitive again
818 * lisp/erc/erc.el (erc-completion-at-point): Make erc completion
819 case-insensitive again (bug#11360).
821 2016-02-04 Carlos Pita <carlosjosepita@gmail.com> (tiny change)
823 Make complection in erc use consistent casing
825 * lisp/erc/erc-pcomplete.el (pcomplete-erc-all-nicks): Make
826 case in the complection consistent (bug#18509).
828 2016-02-04 Francis Litterio <flitterio@gmail.com>
830 Make /QUIT in erc more robust
832 * lisp/erc/erc.el (erc-kill-query-buffers): Don't bug out if we're
833 issuing /QUIT to disconnected servers (bug#22099).
835 2016-02-04 Kevin Brubeck Unhammer <unhammer@fsfe.org> (tiny change)
837 Make tracking faces in Emacs work more reliably
839 * lisp/erc/erc-track.el (erc-faces-in): Always return lists of
840 faces to avoid later ambiguity (bug#22424).
842 2016-02-04 Lars Ingebrigtsen <larsi@gnus.org>
844 Make shr not bug out on images on non-graphical displays
846 * lisp/net/shr.el (shr-put-image): Don't bug out on alt-less
847 images on non-graphical displays (bug#22327).
849 2016-02-04 Lars Ingebrigtsen <larsi@gnus.org>
851 Fix bookmark display widths
853 * lisp/net/eww.el (eww-list-bookmarks): Pop to the buffer before
854 preparing it so that the widths are computed correctly (bug#22328).
856 2016-02-04 Lars Ingebrigtsen <larsi@gnus.org>
858 Fix typo in eww-make-unique-file-name
860 * lisp/net/eww.el (eww-make-unique-file-name): Make this function
863 2016-02-03 Lars Ingebrigtsen <larsi@gnus.org>
865 Make it possible to TAB to input fields
867 * lisp/net/eww.el (eww-tag-input): Make it possible to TAB to
868 input fields (bug#22540).
870 2016-02-03 Lars Ingebrigtsen <larsi@gnus.org>
872 Insert complete alt texts when images are disabled
874 * lisp/net/shr.el (shr-tag-img): When images are disabled, insert
875 the complete alt/title string (bug#22293).
877 2016-02-03 Lars Ingebrigtsen <larsi@gnus.org>
879 Allow eww text fields to grow
881 * lisp/net/eww.el (eww-process-text-input): Allow text fields to
882 grow when typing in stuff that's longer than the original width.
884 2016-02-03 Dima Kogan <dima@secretsauce.net>
886 Make erc work when subword-mode is switched on
888 * lisp/erc/erc-backend.el (erc-forward-word, erc-word-at-arg-p)
889 (erc-bounds-of-word-at-point): New functions to do word-based
890 things when subword-mode is switched on.
892 * lisp/erc/erc-button.el (erc-button-add-nickname-buttons): Use them
895 2016-02-03 Teemu Likonen <tlikonen@iki.fi>
899 * doc/misc/gnus.texi (Client-Side IMAP Splitting): Fix example.
901 2016-02-03 Paul Eggert <eggert@cs.ucla.edu>
903 Quoting fixes in doc strings and diagnostics
905 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq, byte-compile-funcall):
906 * lisp/gnus/mml-smime.el (mml-smime-get-dns-cert)
907 (mml-smime-get-ldap-cert):
908 Follow user style preference when quoting diagnostics.
910 2016-02-03 Noam Postavsky <npostavs@gmail.com>
912 Fix warning message in hack-local-variables
914 * lisp/files.el (hack-local-variables): use 'thisbuf' to reference
915 the original buffer name in the warning message. (Bug#21681)
917 2016-02-03 Eli Zaretskii <eliz@gnu.org>
919 Etags: yet another improvement in Ruby tags
921 * lib-src/etags.c (Ruby_functions): Handle continuation lines in
922 Ruby accessor definitions. (Bug#22241)
924 * test/etags/ruby-src/test1.ru (A::B#X): Add some more tests for
925 accessors and multiline definitions.
926 * test/etags/ETAGS.good_1:
927 * test/etags/ETAGS.good_2:
928 * test/etags/ETAGS.good_3:
929 * test/etags/ETAGS.good_4:
930 * test/etags/ETAGS.good_5:
931 * test/etags/ETAGS.good_6:
932 * test/etags/CTAGS.good: Adapt to changes in Ruby tags.
934 2016-02-03 Eli Zaretskii <eliz@gnu.org>
936 Fix x-popup-menu on TTYs without a mouse
938 * src/menu.c (Fx_popup_menu): Be sure to initialize 'x' and 'y'
939 for the TTY case without a mouse. (Bug#22538)
941 2016-02-03 Nicolas Petton <nicolas@petton.fr>
943 * lisp/emacs-lisp/map.el: Improvements to the docstring of the pcase macro
945 2016-02-02 Lars Ingebrigtsen <larsi@gnus.org>
947 Use pop-to-buffer-same-window in eww
949 * lisp/net/eww.el: pop-to-buffer-same-window throughout instead of
950 switch-to-buffer (bug#22244).
952 2016-02-02 Paul Eggert <eggert@cs.ucla.edu>
954 * autogen.sh: Revert all recent changes.
956 2016-02-02 Glenn Morris <rgm@gnu.org>
958 * make-dist: Updates related to nt/.
960 * make-dist: Add modules/.
962 * make-dist: Update for super-special file that can't live in etc/.
964 2016-02-02 Eli Zaretskii <eliz@gnu.org>
966 Fix failure to compile ns-win.el in parallel builds
968 * src/Makefile.in ($(lispsource)/term/ns-win.elc): Add order-only
969 dependency on $(lispsource)/international/charprop.el.
972 2016-02-02 Eli Zaretskii <eliz@gnu.org>
974 Fix names of tags generated for Ruby accessors
976 * lib-src/etags.c (Ruby_functions): Don't include the leading
977 colon ':' in tags for Ruby accessors and aliases. (Bug#22241)
979 * test/etags/ETAGS.good_1:
980 * test/etags/ETAGS.good_2:
981 * test/etags/ETAGS.good_3:
982 * test/etags/ETAGS.good_4:
983 * test/etags/ETAGS.good_5:
984 * test/etags/ETAGS.good_6:
985 * test/etags/CTAGS.good: Adapt to changes in Ruby tags.
987 2016-02-02 Eli Zaretskii <eliz@gnu.org>
989 Fix file-name recognition in 'etags'
991 * lib-src/etags.c (get_language_from_filename): If FILE includes a
992 leading directory, compare only its basename to the known file
993 names in lang_names[].
995 * test/etags/Makefile (RBSRC): Adapt to recent test1.ruby
997 * test/etags/ETAGS.good_1:
998 * test/etags/ETAGS.good_2:
999 * test/etags/ETAGS.good_3:
1000 * test/etags/ETAGS.good_4:
1001 * test/etags/ETAGS.good_5:
1002 * test/etags/ETAGS.good_6:
1003 * test/etags/CTAGS.good: Adapt to changes in Ruby file names and
1004 to the results in Makefile due to the above etags.c fix.
1006 2016-02-02 Eli Zaretskii <eliz@gnu.org>
1008 Change Ruby file names and extensions recognized by 'etags'
1010 * lib-src/etags.c <Ruby_filenames>: New variable, holds names
1012 <Ruby_suffixes>: Treat .rb, .ru, and .rbw as Ruby extensions.
1013 <lang_names>: Add Ruby_filenames to the Ruby entry.
1014 * test/etags/ruby-src/test1.ru: Renamed from test1.ruby.
1017 2016-02-02 Eli Zaretskii <eliz@gnu.org>
1019 More improvements for Ruby support in 'etags'
1021 * lib-src/etags.c (Ruby_functions): Tag Ruby accessors and
1022 alias_method. Identify constants even if the assignment is not
1023 followed by whitespace. (Bug#22241)
1025 * test/etags/ruby-src/test1.ru: Add tests for constants,
1026 accessors, and alias_method.
1027 * test/etags/ETAGS.good_1:
1028 * test/etags/ETAGS.good_2:
1029 * test/etags/ETAGS.good_3:
1030 * test/etags/ETAGS.good_4:
1031 * test/etags/ETAGS.good_5:
1032 * test/etags/ETAGS.good_6:
1033 * test/etags/CTAGS.good: Adapt to changes in Ruby tests.
1035 2016-02-02 Paul Eggert <eggert@cs.ucla.edu>
1037 Add --git-config option to autogen.sh
1039 * autogen.sh: New options --git-config, --help.
1040 (git_config): New shell var. Alter function to respect this var.
1042 2016-02-02 Lars Ingebrigtsen <larsi@gnus.org>
1044 Fix editing undo changes in eww fields
1046 * eww.el (eww-tag-form): Don't overwrite initial form data in text
1048 (eww-process-text-input): Make `M-t' at the end of text fields work
1051 2016-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1053 Allow the user more control of popping up the eww window
1055 * eww.el (eww): Use pop-to-buffer-same-window (suggested by
1056 Michael Heerdegen) (bug#22244).
1058 2016-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1060 Make eww-browse-url with new-window parameter work again
1062 * eww.el (eww-browse-url): Stay in the same buffer if we're
1063 already in a eww mode buffer so that eww-browse-url with a
1064 new-window parameter works (bug#22244).
1066 2016-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1068 Clean up eww code slightly
1070 * eww.el (eww-browse-url): Clean up code slightly.
1072 2016-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1074 Don't insert nil faces in shr
1076 * shr.el (shr-insert-table): Don't add nil faces, because that
1077 will show up in *Messages* as "Invalid face reference: nil [32
1080 2016-02-01 Glenn Morris <rgm@gnu.org>
1082 Improve the custom type of some user options.
1084 * lisp/autoinsert.el (auto-insert-alist):
1085 * lisp/replace.el (query-replace-from-to-separator):
1086 * lisp/gnus/gnus-art.el (gnus-hidden-properties):
1087 * lisp/gnus/gnus-gravatar.el (gnus-gravatar-properties):
1088 * lisp/gnus/gnus-picon.el (gnus-picon-properties):
1089 * lisp/progmodes/prolog.el (prolog-keywords, prolog-types)
1090 (prolog-mode-specificators, prolog-determinism-specificators)
1091 (prolog-directives, prolog-program-name, prolog-program-switches)
1092 (prolog-consult-string, prolog-compile-string, prolog-eof-string)
1093 (prolog-prompt-regexp): Improve custom type.
1095 2016-02-01 Glenn Morris <rgm@gnu.org>
1097 Mark some risky calendar variables.
1099 * lisp/calendar/cal-china.el (chinese-calendar-time-zone):
1100 Remove risky setting for deleted obsolete alias.
1101 (calendar-chinese-standard-time-zone-name)
1102 (calendar-chinese-daylight-saving-start)
1103 (calendar-chinese-daylight-saving-end):
1104 * lisp/calendar/calendar.el (calendar-iso-date-display-form)
1105 (calendar-european-date-display-form)
1106 (calendar-american-date-display-form, calendar-date-display-form):
1107 * lisp/calendar/diary-lib.el (diary-remind-message)
1108 (diary-header-line-format):
1109 * lisp/calendar/solar.el (calendar-time-display-form)
1110 (calendar-location-name): Mark as risky.
1112 2016-02-01 Simen Heggestøyl <simenheg@gmail.com>
1114 Highlight two additional SCSS keywords
1116 * lisp/textmodes/css-mode.el (css-bang-ids): New defconst holding CSS
1117 identifiers on the form !foo.
1118 (scss-bang-ids): New defconst holding SCSS identifiers on the form
1120 (css--font-lock-keywords): Highlight the new SCSS bang identifiers in
1121 `font-lock-builtin-face'.
1123 * test/indent/css-mode.css: Add bang rule test case.
1125 * test/indent/scss-mode.scss: Add test cases for the introduced bang
1128 2016-02-01 Karl Fogel <kfogel@red-bean.com>
1130 Recommend enabling integrity-checking in git
1132 * admin/notes/git-workflow: Recommend setting transfer.fsckObjects.
1134 This is related to the autogen.sh changes made by Paul Eggert in
1135 commit d766ca8f (2016-02-01) and commit cedd7cad (2016-02-01), and to
1136 my edits today to http://www.emacswiki.org/emacs/GitForEmacsDevs and
1137 to emacswiki.org/emacs/GitQuickStartForEmacsDevs. See also the thread
1138 "Recommend these .gitconfig settings for git integrity." at
1139 https://lists.gnu.org/archive/html/emacs-devel/2016-01/threads.html#01802.
1141 2016-02-01 Martin Rudalics <rudalics@gmx.at>
1143 Some corrections in Elisp manual
1145 * doc/lispref/buffers.texi (Read Only Buffers): Describe optional
1147 * doc/lispref/debugging.texi (Error Debugging): `debug-on-signal'
1149 * doc/lispref/display.texi (Refresh Screen): Describe optional
1150 argument FRAME of `redraw-frame'.
1151 (Attribute Functions): Describe optional argument CHARACTER of
1153 (Defining Images): `image-load-path' is an option.
1154 (Beeping): `ring-bell-function' is an option.
1155 * doc/lispref/frames.texi (Size and Position): The PIXELWISE
1156 argument of `set-frame-size' is optional.
1157 (Raising and Lowering): The TERMINAL argument of `tty-top-frame'
1159 * doc/lispref/keymaps.texi (Controlling Active Maps): Fix doc of
1160 `set-transient-map'.
1161 * doc/lispref/minibuf.texi (Text from Minibuffer):
1162 `read-regexp-defaults-function' is an option.
1163 (Minibuffer Contents): `delete-minibuffer-contents' is a command.
1164 * doc/lispref/modes.texi (Mode Line Variables):
1165 `mode-line-position' and `mode-line-modes' are variables, not
1167 * doc/lispref/strings.texi (Creating Strings): The START argument
1168 of `substring' is optional.
1169 * doc/lispref/text.texi (Buffer Contents): Describe optional
1170 argument NO-PROPERTIES of `thing-at-point'.
1171 (User-Level Deletion): Both arguments of
1172 `delete-trailing-whitespace' are optional.
1173 (Margins): Use @key{RET} instead of @kbd{RET}.
1174 * doc/lispref/windows.texi (Display Action Functions): Write
1175 non-@code{nil} instead of non-nil.
1176 (Choosing Window Options): The WINDOW arg of
1177 `split-window-sensibly' is optional.
1178 (Choosing Window Options): Write non-@code{nil} instead of
1180 (Window Start and End): Both args of `window-group-end' are
1183 * src/buffer.c (Fbarf_if_buffer_read_only): Rename argument POS
1184 to POSITION to keep consisteny with doc-string.
1186 2016-02-01 Paul Eggert <eggert@cs.ucla.edu>
1188 Chatter when autogen.sh changes Git configuration
1190 * autogen.sh (git_config): New function. Use it instead of ‘git config’.
1192 2016-02-01 Kyle Meyer <kyle@kyleam.com>
1194 * lisp/org/org-compat.el (org-font-lock-ensure): Fix bogus test (bug#22399)
1196 2016-01-31 Paul Eggert <eggert@cs.ucla.edu>
1198 Omit unnecessary history from Lisp intro
1200 * doc/lispintro/emacs-lisp-intro.texi (Review, Digression into C)
1201 (Conclusion): Reword so as not to talk about earlier versions
1202 of Emacs in what should be an intro.
1204 2016-01-31 Paul Eggert <eggert@cs.ucla.edu>
1206 * etc/HISTORY: Add some more history, plus git tags.
1208 2016-01-31 Paul Eggert <eggert@cs.ucla.edu>
1210 Improve elisp “Security Considerations” doc
1212 * doc/lispref/os.texi (Security Considerations):
1213 Mention call-process and rename-file as opposed to shell commands.
1214 Add some more cross-references.
1216 2016-01-31 Paul Eggert <eggert@cs.ucla.edu>
1218 autogen.sh now arranges for git to check hashes
1220 Suggested by Karl Fogel in:
1221 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01802.html
1222 * autogen.sh: Do "git config transfer.fsckObjects true".
1224 2016-01-31 Paul Eggert <eggert@cs.ucla.edu>
1226 Fix (c & 040) typo in emergency escapes
1228 * src/keyboard.c (handle_interrupt): Fix recently-introduced
1229 typo (040 should have been ~040) that silently suppressed
1230 auto-saves after emergency escapes. Redo comparison to avoid
1233 2016-01-31 Eli Zaretskii <eliz@gnu.org>
1235 Fix display of overlay strings with 'display' and 'box' property
1237 * src/xdisp.c (get_next_display_element): Take the box face from
1238 display stack level that comes from a buffer, not an overlay
1241 2016-01-31 Andreas Schwab <schwab@linux-m68k.org>
1243 Fix imap-starttls-open
1245 * lisp/net/imap.el (imap-starttls-open): Log imap process
1246 output. Call imap-parse-greeting. (Bug#22500)
1248 2016-01-31 Andreas Schwab <schwab@linux-m68k.org>
1250 Fix return value of imap-starttls-open
1252 * lisp/net/imap.el (imap-starttls-open): Fix return value.
1254 2016-01-31 John Wiegley <johnw@newartisans.com>
1256 Correct reference to DARWIN_OS preprocessor symbol
1258 * src/alloc.c: Correct a preprocessor reference to DARWIN_OS, which may
1261 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1267 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1269 Pacify GCC on C library without glibc API
1271 Without this change, with --enable-gcc-warnings GCC would complain
1272 “error: redundant redeclaration of ‘aligned_alloc’”.
1273 * configure.ac: Simplify aligned_alloc testing.
1274 * src/alloc.c (aligned_alloc): Don’t use if DARWIN_OS,
1275 since the simplified configure.ac no longer checks for that.
1276 Don’t declare if HAVE_ALIGNED_ALLOC.
1277 Correct misspelling of HAVE_ALIGNED_ALLOC in ifdef.
1279 2016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
1281 Backport: * lisp/files.el: Remove support for extra .dir-locals file
1283 (dir-locals-file-2, dir-locals--all-files): Remove.
1284 (dir-locals-collect-variables, dir-locals-file, dir-locals-find-file)
1285 (dir-locals-read-from-file, hack-dir-local-variables): Revert changes.
1287 * lisp/files-x.el (modify-dir-local-variable): Revert changes.
1289 * lisp/help-fns.el (describe-variable): Revert changes.
1291 * doc/emacs/custom.texi (Directory Variables): Revert changes.
1293 * etc/NEWS: Revert changes.
1295 2016-01-30 Glenn Morris <rgm@gnu.org>
1297 * lisp/net/browse-url.el (browse-url-default-browser):
1298 Lower priority of non-free Chrome.
1300 2016-01-30 Glenn Morris <rgm@gnu.org>
1302 Improve the custom type of some user options.
1304 * lisp/desktop.el (desktop-minor-mode-table):
1305 * lisp/man.el (Man-frame-parameters):
1306 * lisp/midnight.el (midnight-delay):
1307 * lisp/speedbar.el (speedbar-select-frame-method):
1308 * lisp/tooltip.el (tooltip-frame-parameters):
1309 * lisp/tree-widget.el (tree-widget-space-width):
1310 * lisp/type-break.el (type-break-keystroke-threshold):
1311 * lisp/woman.el (woman-imenu-generic-expression):
1312 * lisp/cedet/ede.el (ede-debug-program-function):
1313 * lisp/cedet/ede/project-am.el (project-am-debug-target-function):
1314 * lisp/emulation/viper-keym.el (viper-toggle-key):
1315 * lisp/erc/erc-networks.el (erc-server-alist):
1316 * lisp/gnus/message.el (message-deletable-headers, message-signature):
1317 * lisp/mail/mailalias.el (mail-directory-stream):
1318 * lisp/play/tetris.el (tetris-x-colors):
1319 * lisp/progmodes/gud.el (gud-tooltip-modes): Improve custom type.
1321 2016-01-30 Simen Heggestøyl <simenheg@gmail.com>
1323 Highlight CSS variables with variable name face
1325 * lisp/textmodes/css-mode.el (css-nmstart-re): Don't match variables.
1326 (css--font-lock-keywords): Highlight variables in
1327 `font-lock-variable-name-face'.
1329 2016-01-30 Glenn Morris <rgm@gnu.org>
1331 * lisp/gnus/gnus-kill.el (gnus-winconf-kill-file): Not user-serviceable.
1333 2016-01-30 Glenn Morris <rgm@gnu.org>
1335 Mark some user options that can get evalled as risky.
1337 * lisp/allout.el (allout-title):
1338 * lisp/emacs-lisp/edebug.el (edebug-global-break-condition):
1339 * lisp/gnus/message.el (message-mailer-swallows-blank-line):
1340 * lisp/progmodes/gud.el (gud-tooltip-display):
1341 * lisp/vc/ediff-mult.el (ediff-default-filtering-regexp):
1344 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1346 Disable DebPrint in sys_read on MS-Windows
1348 * src/w32.c (sys_read): Disable a debugging print that is normal
1349 when non-blocking reads are retried.
1351 2016-01-30 Martin Rudalics <rudalics@gmx.at>
1353 ;Fix ChangeLog entry
1355 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1357 Fix typos in Introduction to Emacs Lisp manual
1359 * doc/lispintro/emacs-lisp-intro.texi (Emacs Initialization)
1360 (kill-new function, Digression into C)
1361 (Complete forward-sentence, Divide and Conquer, Find a File)
1362 (lengths-list-many-files, Columns of a graph, defcustom)
1363 (recursive-count-words): Fix typos. Reported by Daniel Bastos
1364 <dbastos@toledo.com>.
1366 2016-01-30 Nicolas Petton <nicolas@petton.fr>
1368 Bump version to 25.0.90
1372 * msdos/sed2v2.inp: Bump version to 25.0.90.
1374 2016-01-30 Nicolas Petton <nicolas@petton.fr>
1376 * etc/AUTHORS: Update the AUTHORS file
1378 2016-01-30 Nicolas Petton <nicolas@petton.fr>
1380 Bump version to 25.0.90
1384 * msdos/sed2v2.inp: Bump version to 25.0.90.
1386 2016-01-30 Nicolas Petton <nicolas@petton.fr>
1388 * etc/AUTHORS: Update the AUTHORS file
1390 2016-01-30 Nicolas Petton <nicolas@petton.fr>
1394 * admin/authors.el (authors-renamed-files-alist): Additions.
1396 2016-01-30 Nicolas Petton <nicolas@petton.fr>
1398 Make it possible to run make change-history on emacs-25
1400 * Makefile.in: Check if the current branch is emacs-25 instead of
1403 2016-01-30 lu4nx <lx@shellcodes.org>
1405 Support Go language in 'etags'
1407 * lib-src/etags.c <Ruby_help>: Fix documentation of Ruby tags.
1408 <Go_help>: New help.
1409 <Go_suffixes>: New variable.
1410 (Go_functions): New function.
1411 <lang_names>: Add entry for Go. (Bug#22370)
1413 * doc/emacs/maintaining.texi (Tag Syntax): Document Go support.
1414 * doc/man/etags.1: Mention Go support.
1416 * etc/NEWS: Mention Go support.
1418 * test/etags/go-src/test.go:
1419 * test/etags/go-src/test1.go: New test files.
1420 * test/etags/Makefile (GOSRC): New variable.
1421 (SRCS): Add $(GOSRC).
1422 * test/etags/ETAGS.good_1:
1423 * test/etags/ETAGS.good_2:
1424 * test/etags/ETAGS.good_3:
1425 * test/etags/ETAGS.good_4:
1426 * test/etags/ETAGS.good_5:
1427 * test/etags/ETAGS.good_6:
1428 * test/etags/CTAGS.good: Adapt to addition of Go tests.
1430 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1432 Improve Ruby support in 'etags'
1434 * lib-src/etags.c (Ruby_functions): Tag constants. Don't tag
1435 singleton classes. Remove class qualifiers from tags generated
1436 for method and constant names. (Bug#22241)
1438 * doc/emacs/maintaining.texi (Tag Syntax): Mention that constants
1439 are tagged by etags in Ruby.
1441 * etc/NEWS: Mention that constants are tagged by etags in Ruby.
1443 * test/etags/ruby-src/test1.ru: Add more tests.
1444 * test/etags/ETAGS.good_1:
1445 * test/etags/ETAGS.good_2:
1446 * test/etags/ETAGS.good_3:
1447 * test/etags/ETAGS.good_4:
1448 * test/etags/ETAGS.good_5:
1449 * test/etags/ETAGS.good_6:
1450 * test/etags/CTAGS.good: Adapt to the changes in etags and in Ruby
1453 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1455 Adjust etags test results to changes in copyright years
1457 * test/etags/CTAGS.good:
1458 * test/etags/ETAGS.good_1:
1459 * test/etags/ETAGS.good_2:
1460 * test/etags/ETAGS.good_3:
1461 * test/etags/ETAGS.good_4:
1462 * test/etags/ETAGS.good_5:
1463 * test/etags/ETAGS.good_6: Adjust to shift in characters and
1466 2016-01-30 Andreas Schwab <schwab@linux-m68k.org>
1468 Revert "Re-enable checks in member, memql, delete to complain about non-lists"
1470 This reverts commit f524e8b7f12d9b5a8b92084e5385429fe7b085b9.
1472 2016-01-30 Nicolas Petton <nicolas@petton.fr>
1474 Make it possible to run make change-history on emacs-25
1476 * Makefile.in: Check if the current branch is emacs-25 instead of
1479 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
1481 Don't fiddle with DEFAULT
1483 * lisp/progmodes/project.el (project--completing-read-strict):
1484 Don't change DEFAULT, whether is has any matches in
1487 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1489 Document xwidget commands and functions
1491 * doc/lispref/display.texi (Xwidgets): New section, describes some
1492 of the xwidget primitives.
1493 * doc/lispref/display.texi (Display): Update the chapter menu.
1494 * doc/emacs/misc.texi (Embedded WebKit Widgets): New section.
1495 * doc/emacs/emacs.texi (Top): Update the master menu to include
1498 2016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
1500 Build fix for shr.el
1502 * shr.el (seq): Require.
1504 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
1506 Improve project-find-file yet again!
1508 * lisp/progmodes/project.el (project--completing-read-strict):
1510 (project-find-file-in): Use it.
1511 (project-file-completion-table): Move the default
1512 implementation inside the cl-defgeneric form.
1513 (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01720.html)
1515 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
1517 Don't pass DIR to 'hg status'
1519 * lisp/vc/vc-hg.el (vc-hg-dir-status-files):
1520 Don't pass DIR to 'hg status' (bug#22481).
1522 2016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
1524 Fix typo in previous commits
1526 * lisp/progmodes/project.el (project-find-file-in):
1527 * lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): Fix typo in previous
1530 2016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
1532 Improve project-find-file
1534 * lisp/progmodes/project.el (project-file-completion-table): New.
1535 (project-find-file, project-or-external-find-file): Default to filename
1537 (project-file-completion-table): New, split out from
1538 project--find-file-in.
1539 (project-find-file-in): Renamed from project--find-file-in, use
1540 project-file-completion-table.
1542 * lisp/progmodes/xref.el (ede-minor-mode): New declaration.
1543 (xref--find-ignores-arguments): Add doc string.
1545 2016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
1547 Implement vc-mtn-find-ignore-file, fix some doc strings
1549 * lisp/cedet/cedet-global.el (cedet-gnu-global-root): Improve doc string.
1551 * lisp/cedet/ede/locate.el (initialize-instance): Improve doc string.
1553 * lisp/vc/vc-git.el (vc-git-find-ignore-file): Fix doc string.
1555 * lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): New function.
1557 2016-01-29 Vincent Belaïche <vincentb1@users.sourceforge.net>
1559 Correct a whole bunch of bugs coming with renamed cell relocation.
1561 This is the same change as commit on master branch. See
1562 http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=badcd38aa86ed7973f2be2743c405710973a0bdd
1564 * lisp/ses.el (ses-localvars): rename variable
1565 `ses--renamed-cell-symb-list' into `ses--in-killing-named-cell-list'
1566 and adjust the comment about it.
1567 (ses-plist-delq): new defun.
1568 (ses--ses-buffer-list): new defvar.
1569 (ses--unbind-cell-name): new defun.
1570 (ses-relocate-symbol): Do not relocate symbol when it is a named cell.
1571 (ses-relocate-formula): Undo change of
1572 2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net that was
1573 preventing relocation for named cell --- now doing this is delegated
1574 to function `ses-relocate-symbol'.
1575 (ses-relocate-range): In docstring, undo change of
1576 2016-01-03T07:31:52Z!johnw@newartisans.com, `ses-range' must remain
1577 lower case as it is not a variable.
1578 (ses-relocate-all): Cell name relocation : 1) check that cell is a
1579 renamed cell by testing `ses-cell' property to :ses-named, rather than
1580 comparing name to corresponding standard name. Set rowcol of renamed
1581 cell into the hashmap --- `ses-cell' property must not be used for
1582 that as the same name can be used for different locations in different
1583 SES sheets ; 2) use `local-variable-if-set-p' rather than `boundp' and
1584 `local-variable-p' to check if cell name is already in use in this
1585 sheet or needs initialisation.
1586 (ses-relocate-all): Cell value relocation : 1) like for name
1587 relocation use the `ses-cell' property rather than comparing actual
1588 name to corresponding standard name. 2) Correct bug introduced in
1589 2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net, as the test was
1590 made the other way round than the intention --- ie value relocation
1591 was disabled for standard cell, not for renamed cell as was the
1593 (ses-relocate-all): Add loop for unbinding deleted renamed cells
1595 (ses-killbuffer-hook): new defun.
1596 (ses-mode): Add the ses--ses-buffer-list maintenance mechanism ---
1597 kill buffer hook, plus pushing current buffer if new in list.
1598 (ses-delete-row, ses-delete-column): Collect deleted renamed cells
1599 into `ses--in-killing-named-cell-list'.
1600 (ses-rename-cell): Remove update of variable
1601 `ses--renamed-cell-symb-list', this variable is renamed to
1602 `ses--in-killing-named-cell-list', and its setting is done in
1603 functions `ses-delete-row' and , `ses-delete-column' now.
1604 (ses-rename-cell): Make cell new name a buffer local variable.
1605 (ses-rename-cell): Change correction of
1606 2015-12-30T23:10:37Z!vincentb1@users.sourceforge.net concerning
1607 computation of the range over which `cursor-intangible' property was
1608 to be updated. This correction was ok for non spilling cells, but not
1609 for cells spilling over following blank cells. Simply use
1610 `next-single-property-change' rather than computing the end column
1613 2016-01-29 Andreas Schwab <schwab@linux-m68k.org>
1615 Re-enable checks in member, memql, delete to complain about non-lists
1617 * src/fns.c (Fmember, Fmemql, Fdelete): Revert 2007-10-16 change.
1619 2016-01-29 Martin Rudalics <rudalics@gmx.at>
1621 Minor doc(-string) tweaks
1623 * lisp/window.el (window-in-direction): Fix doc-string typo.
1624 * doc/lispref/frames.texi (Frame Font): Mention canonical
1625 character width/height.
1626 * doc/lispref/windows.texi (Windows and Frames): Clarify
1627 handling of minibuffer window for `window-in-direction'.
1628 (Window Sizes): Minor tweaks in descriptions of
1629 `window-max-chars-per-line', `window-min-width' and
1631 (Deleting Windows): Minor tweak in `delete-window' description.
1632 (Selecting Windows): Clarify window use time description.
1633 (Cyclic Window Ordering): Minor tweak.
1634 (Switching Buffers): Clarify description of
1635 `switch-to-buffer-in-dedicated-window'.
1637 2016-01-29 Eli Zaretskii <eliz@gnu.org>
1639 Minor improvements to 'pcase' documentation
1641 * doc/lispref/control.texi (Pattern matching case statement):
1642 Improve the documentation of 'pcase' per comments. See two
1643 discussion threads on emacs-devel@gnu.org for the details:
1644 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01335.html
1645 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01336.html.
1647 2016-01-29 Glenn Morris <rgm@gnu.org>
1649 Don't use eval to quieten prolog.el compilation.
1651 * lisp/progmodes/prolog.el (pltrace-on, pltrace-off): Declare.
1652 (prolog-enable-sicstus-sd, prolog-disable-sicstus-sd): Don't use eval.
1654 2016-01-29 Glenn Morris <rgm@gnu.org>
1656 Mark some risky prolog variables.
1658 * lisp/progmodes/prolog.el (prolog-system-version)
1659 (prolog-keywords, prolog-types, prolog-mode-specificators)
1660 (prolog-determinism-specificators, prolog-directives)
1661 (prolog-program-name, prolog-program-switches)
1662 (prolog-consult-string, prolog-compile-string)
1663 (prolog-eof-string, prolog-prompt-regexp, prolog-help-function):
1664 Mark anything processed by prolog-find-value-by-system as risky.
1666 2016-01-28 Glenn Morris <rgm@gnu.org>
1668 * lisp/custom.el (defcustom): Doc fix.
1670 * doc/lispref/customize.texi (Variable Definitions):
1671 Defcustom should always have a type.
1673 2016-01-28 Glenn Morris <rgm@gnu.org>
1675 * lisp/cedet/semantic/db-file.el (semanticdb-persistent-path):
1678 * lisp/emacs-lisp/package.el (package-load-list): Improve :type.
1680 2016-01-28 Michael Albinus <michael.albinus@gmx.de>
1684 * lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection):
1685 * lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1686 * lisp/net/tramp-sh.el (tramp-maybe-open-connection):
1687 * lisp/net/tramp-smb.el (tramp-smb-maybe-open-connection):
1688 Mark it as connected.
1690 * lisp/net/tramp.el (tramp-handle-file-remote-p): Check also, if
1691 connection property "connected" is set. (Bug#22452)
1693 2016-01-27 Glenn Morris <rgm@gnu.org>
1695 * lisp/xwidget.el (xwidget-query-on-exit-flag): Declare.
1697 * lisp/xwidget.el (xwidget-webkit-browse-url): Give explicit error
1698 if not compiled with xwidgets.
1700 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
1702 C-u C-x = example doc fix
1704 * doc/emacs/mule.texi (International Chars):
1705 Adjust example to match current behavior of C-u C-x =.
1707 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
1711 This attempts to future-proof Emacs a bit against possible glibc
1712 changes, by having Emacs use <malloc.h> declarations rather than
1713 coding them up by hand. Problem noted by Florian Weimer in:
1714 https://sourceware.org/ml/libc-alpha/2016-01/msg00777.html
1715 Implement this mainly by moving malloc.h-related functions from
1716 emacs.c (which does not include <malloc.h>) to alloc.c (which does).
1717 * src/alloc.c (my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]:
1719 The remaining changes to this file apply only if DOUG_LEA_MALLOC.
1720 (alloc_unexec_pre, alloc_unexec_post): New functions.
1721 (malloc_initialize_hook): Use my_heap_start and alloc_unexec_post.
1722 (__MALLOC_HOOK_VOLATILE): New macro, if not already defined.
1723 (__malloc_initialize_hook): Use it.
1724 (malloc_state_ptr, malloc_initialize_hook, __malloc_initialize_hook):
1726 * src/emacs.c: ... here.
1727 (malloc_get_state, malloc_set_state): Remove extern decls.
1728 (my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]: Remove static var.
1729 All uses changed to similarly-named new function.
1730 (Fdump_emacs): Use new functions alloc_unexec_pre, alloc_unexec_post.
1731 * src/lisp.h (my_heap_start, alloc_unexec_pre, alloc_unexec_post):
1734 2016-01-26 Eli Zaretskii <eliz@gnu.org>
1736 * doc/emacs/mark.texi (Using Region): Clarify wording. (Bug#22467)
1738 2016-01-26 Paul Eggert <eggert@cs.ucla.edu>
1740 Remove never-set var handle_user_signal_hook
1742 * src/keyboard.c, src/keyboard.h (handle_user_signal_hook):
1743 Remove never-set var. All uses removed.
1745 2016-01-26 K. Handa <handa@gnu.org>
1747 Backport:fix previous change of src/ftfont.c (ftfont_shape_by_flt)
1749 * src/ftfont.c (ftfont_shape_by_flt): Fix previous change. Access the
1750 second glyph only when there are enough glyphs.
1752 (cherry picked from commit 9835757013569673854b692ccbb58bfb3c3ed1f7)
1754 2016-01-26 K. Handa <handa@gnu.org>
1756 support rendering of wider range of combinging characters by ftfont backend
1758 * lisp/language/hebrew.el (hebrew-shape-gstring): If the font backend
1759 supports rendering of combining characters, call
1762 * src/font.c (Ffont_get): Handle `combining-capability' property.
1763 (syms_of_font): New symbol ":combining-capability'.
1765 * src/font.h (struct font_driver): New member combining_capability.
1767 * src/ftfont.c: Include "category.h".
1768 (ftfont_driver): Initialize combining_capability to
1769 ftfont_combining_capability.
1770 (ftfont_shape_by_flt): If OTF is null, try to find a suitable
1772 (ftfont_combining_capability): New function.
1774 (cherry picked from commit 536f48e9a2251b9e654ea974bd90ff2f40218753)
1776 2016-01-26 Anders Lindgren <andlind@gmail.com>
1778 Fixed NextStep fullscreen issue (bug#22468)
1780 When in fullscreen mode, `[screen visibleFrame]' sometimes
1781 includes, sometimes excludes the menu bar. This could cause
1782 a frame to be placed too low when in fullscreen mode.
1784 * src/nsterm.m (ns_menu_bar_should_be_hidden): Trace.
1785 (constrain_frame_rect): New parameter, isFullscreen, when true don't
1786 query the height of the menu bar.
1787 (ns_constrain_all_frames): Pass `false' (isFullscreen) to
1788 `constrain_frame_rect'.
1789 ([EmacsView initFrameFromEmacs:]): Trace.
1790 ([EmacsView isFullscreen]): Trace.
1791 ([EmacsWindow constrainFrameRect:toScreen:]): Pass fullscreen
1792 state to `constrain_frame_rect'.
1794 2016-01-26 Artur Malabarba <bruce.connor.am@gmail.com>
1796 * lisp/files.el: Use a fixed file name for the second dir-locals file
1798 (dir-locals-file): Revert to its original fixed value.
1799 (dir-locals-file-2): New const.
1800 (dir-locals--all-files): Don't use `file-name-all-completions'.
1801 Instead, just check for the 2 dir-locals files and return a list
1802 of the ones that exit (if any).
1804 * etc/NEWS: Document the change.
1806 * doc/emacs/custom.texi (Directory Variables): Document the change.
1808 * doc/lispref/variables.texi (Directory Local Variables): Update
1811 2016-01-26 Artur Malabarba <bruce.connor.am@gmail.com>
1813 * lisp/files-x.el (modify-dir-local-variable): Small rewrite
1815 Change a variable name to be more meaningful, and reorder some of
1816 the code with no change in behaviour.
1818 2016-01-26 Artur Malabarba <bruce.connor.am@gmail.com>
1820 * lisp/files.el (dir-locals-find-file): Refactor return values
1822 Returning a cache remains unchanged, but the case of returning a
1823 file (or pattern) is now changed to return the contaning
1826 (dir-locals-read-from-file): Rename to `dir-locals-read-from-dir'
1828 (dir-locals-read-from-dir): Simplify accordingly.
1829 (hack-dir-local-variables): Simplify accordingly and rename a
1832 2016-01-26 Glenn Morris <rgm@gnu.org>
1834 * lisp/textmodes/flyspell.el (flyspell--prev-meta-tab-binding):
1837 * configure.ac (USE_CAIRO): Rename to more standard HAVE_CAIRO.
1839 * configure.ac (--with-cairo): Say it's experimental.
1841 * lisp/xwidget.el (xwidget-webkit-scroll-behavior):
1842 Rename using American spelling. Update all uses.
1844 2016-01-26 Glenn Morris <rgm@gnu.org>
1846 Yet more xwidget doc fixes.
1848 * lisp/xwidget.el (xwidget-webkit-scroll-behaviour)
1849 (xwidget-insert, xwidget-webkit-browse-url)
1850 (xwidget-webkit-scroll-up, xwidget-webkit-scroll-down)
1851 (xwidget-webkit-scroll-forward, xwidget-webkit-scroll-backward)
1852 (xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
1853 (xwidget-webkit-show-id-element)
1854 (xwidget-webkit-show-id-or-named-element)
1855 (xwidget-webkit-adjust-size, xwidget-webkit-current-url)
1856 (xwidget-webkit-execute-script-rv)
1857 (xwidget-webkit-copy-selection-as-kill, xwidget-get)
1858 (xwidget-put): Doc fixes.
1859 (xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
1860 (xwidget-webkit-show-id-element)
1861 (xwidget-webkit-show-id-or-named-element): Prompt fixes.
1863 2016-01-25 Ted Zlatanov <tzz@lifelogs.com>
1865 * lisp/gnus/gnus-art.el (gnus-blocked-images):
1866 Add explicit nil choice and tags.
1868 2016-01-25 Paul Eggert <eggert@cs.ucla.edu>
1872 2016-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
1874 (font-lock-ensure-function): Fix bug#22399
1876 * lisp/font-lock.el (font-lock-ensure-function): Fix handling when
1877 font-lock-mode is not enabled (bug#22399).
1879 2016-01-25 Alan Mackenzie <acm@muc.de>
1881 Expunge "allow" + infinitive from source and doc, part 2.
1883 Do the same for "permit", "enable", "prevent", and (where appropriate)
1886 doc/misc/reftex.texi:
1888 lib/get-permissions.c:
1890 lisp/org/org-element.el:
1891 lisp/org/org-mobile.el:
1892 lisp/textmodes/reftex-vars.el:
1896 test/etags/c-src/emacs/src/lisp.h:
1898 Expunge the likes of "This allows to do something" from the above files.
1900 2016-01-25 Artur Malabarba <bruce.connor.am@gmail.com>
1902 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Redundant line
1904 `special-mode' is already read-only.
1906 2016-01-25 Artur Malabarba <bruce.connor.am@gmail.com>
1908 * lisp/emacs-lisp/ert.el (ert--results-move): Change error to user-error
1910 2016-01-25 Paul Eggert <eggert@cs.ucla.edu>
1912 Port "$@" to OpenIndiana ksh93
1914 In http://lists.gnu.org/archive/html/bug-autoconf/2015-12/msg00000.html
1915 Pavel Raiskup reports that ${1+"$@"} runs afoul of a bug in /bin/sh
1916 (derived from ksh 93t+ 2010-03-05). ${1+"$@"} works around an ancient
1917 bug in long-dead shells, so remove the workaround.
1918 * admin/check-doc-strings, configure.ac, lib-src/rcs2log:
1919 Use plain "$@" rather than ${1+"$@"}.
1921 2016-01-25 Paul Eggert <eggert@cs.ucla.edu>
1923 * src/xwidget.c (Fxwidget_set_adjustment): Fix doc string quoting typo.
1925 2016-01-25 Paul Eggert <eggert@cs.ucla.edu>
1927 Improve wording for SMB support
1929 * doc/misc/tramp.texi (External methods): Improve and modernize
1930 wording for discussion of smbclient. There is no longer any
1931 need to mention the laundry list of old MS Windows implementations
1932 of SMB and CIFS, nor to mention CIFS. Also, give a URL for Samba.
1934 2016-01-24 Paul Eggert <eggert@cs.ucla.edu>
1939 2016-01-24 openat_proc_name: fix last '/' overwritten on OS/2 kLIBC
1940 2016-01-24 closedir, dirfd, opendir: port to OpenSolaris 5.10
1941 2016-01-15 detect utimes() correctly on OS/2 kLIBC
1942 2016-01-15 openat_proc_name: port to OS/2 kLIBC
1943 2016-01-14 stdint: check _INTPTR_T_DECLARED for intptr_t etc.
1944 2016-01-14 opendir, closedir, dirfd, fdopendir: port to OS/2 kLIBC
1945 2016-01-14 dup, dup2, fcntl: support a directory fd on OS/2 kLIBC
1946 2016-01-14 binary-io: don't put fd in binary mode if a console on EMX
1947 2016-01-14 sig2str: list all signals on FreeBSD >= 7
1948 2016-01-13 acl-permissions: port to USE_ACL==0 platforms
1949 2016-01-12 mktime: rename macro to avoid glibc clash
1950 2016-01-12 Port "$@" to OpenIndiana ksh93
1951 2016-01-12 Port Universal Time settings to strict POSIX
1952 * build-aux/gitlog-to-changelog, build-aux/update-copyright:
1953 * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
1954 * lib/binary-io.h, lib/dirent.in.h, lib/dirfd.c, lib/dup2.c:
1955 * lib/fcntl.c, lib/fdopendir.c, lib/mktime.c, lib/openat-proc.c:
1956 * lib/sig2str.h, lib/stdint.in.h, m4/dirfd.m4, m4/dup2.m4:
1957 * m4/fcntl.m4, m4/utimes.m4:
1959 * m4/gnulib-comp.m4: Regenerate.
1961 2016-01-24 Alan Mackenzie <acm@muc.de>
1963 Expunge "allow" + infinitive without direct object from source and doc.
1965 Do the same for "permit", "enable", and "prevent".
1967 * doc/emacs/mule.texi:
1968 * doc/lispref/control.texi:
1969 * doc/lispref/display.texi:
1970 * doc/lispref/frames.texi:
1971 * doc/lispref/functions.texi:
1972 * doc/lispref/nonascii.texi:
1973 * doc/lispref/streams.texi:
1974 * doc/lispref/windows.texi:
1975 * doc/misc/dbus.texi:
1976 * doc/misc/eww.texi:
1977 * doc/misc/flymake.texi:
1978 * doc/misc/octave-mode.texi:
1979 * doc/misc/org.texi:
1980 * doc/misc/reftex.texi:
1981 * doc/misc/tramp.texi:
1982 * doc/misc/wisent.texi:
1984 * lisp/autorevert.el:
1985 * lisp/cedet/mode-local.el:
1986 * lisp/cedet/semantic/senator.el:
1987 * lisp/cedet/semantic/wisent.el:
1990 * lisp/gnus/gnus-agent.el:
1991 * lisp/gnus/mm-util.el:
1992 * lisp/international/characters.el:
1993 * lisp/ldefs-boot.el:
1994 * lisp/mail/mailclient.el:
1996 * lisp/mh-e/mh-search.el:
1997 * lisp/net/tramp-cmds.el:
1998 * lisp/net/tramp-gvfs.el:
1999 * lisp/org/org-crypt.el:
2000 * lisp/org/org-element.el:
2001 * lisp/org/org-feed.el:
2003 * lisp/org/ox-ascii.el:
2004 * lisp/org/ox-icalendar.el:
2005 * lisp/org/ox-publish.el:
2007 * lisp/play/gamegrid.el:
2008 * lisp/play/gomoku.el:
2009 * lisp/progmodes/antlr-mode.el:
2010 * lisp/progmodes/python.el:
2011 * lisp/progmodes/vhdl-mode.el:
2013 * lisp/textmodes/ispell.el:
2014 * lisp/tree-widget.el:
2024 Replace solecisms like "This allow to do something" with a correct
2025 alternative, such as "This allow you to do something", "This allows
2026 something to be done" or "This allows the doing of something".
2028 2016-01-24 l3thal <kwhite@gnu.org>
2030 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
2032 2016-01-24 Kelvin White <kwhite@gnu.org>
2034 Add NEWS entry for asynchronous reconnect in ERC
2036 2016-01-24 l3thal <kwhite@gnu.org>
2038 Add NEWS entry for asynchronous reconnect in ERC
2040 2016-01-24 Kelvin White <kwhite@gnu.org>
2042 browse-url.el: Add 'google-chrome' to supported browsers.
2044 2016-01-24 Paul Eggert <eggert@cs.ucla.edu>
2046 Port Tramp manual to latest Texinfo
2048 Otherwise, 'make pdf' did not work (Bug#22416).
2049 * doc/misc/tramp.texi (xxx, yyy): Remove macros.
2050 (trampfn): Specialize to the case where METHOD is nonempty.
2051 The 2nd argument is now user@host, not 2nd user and 3rd host args.
2053 (trampf): New macro.
2055 2016-01-24 Lars Ingebrigtsen <larsi@gnus.org>
2057 * eww.el (eww-render): Protect against empty content-types.
2059 2016-01-24 Nicolas Petton <nicolas@petton.fr>
2063 * admin/authors.el (authors-ignored-files, authors-renamed-files-alist):
2066 2016-01-24 Dmitry Gutov <dgutov@yandex.ru>
2068 Rename xref-query-replace to xref-query-replace-in-results
2070 * lisp/progmodes/xref.el(xref-query-replace):
2071 Rename to xref-query-replace-in-results.
2072 (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01240.html)
2074 * lisp/progmodes/xref.el (xref--xref-buffer-mode-map):
2075 * lisp/dired-aux.el (dired-do-find-regexp-and-replace):
2076 * doc/emacs/dired.texi (Operating on Files):
2077 * doc/emacs/maintaining.texi (Xref Commands)
2078 (Identifier Search, Identifier Search): Update accordingly.
2080 2016-01-24 Dmitry Gutov <dgutov@yandex.ru>
2082 Update cl-defgeneric and cl-defmethod docstrings
2084 * lisp/emacs-lisp/cl-generic.el: Remove outdated TODO item.
2085 (cl-defgeneric): Rename BODY to DEFAULT-BODY.
2086 (cl-defmethod): Mention that multiple dispatch arguments are
2087 allowed. Document supported types. (Bug#22336)
2089 2016-01-23 Dmitry Gutov <dgutov@yandex.ru>
2091 Comment out next-error-function integration in xref
2093 * lisp/progmodes/xref.el (xref--xref-buffer-mode):
2094 Comment out next-error-function integration
2095 (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01286.html).
2097 2016-01-23 John Wiegley <johnw@newartisans.com>
2099 Correct a use of "which" in intro.texi
2101 2016-01-23 Alan Mackenzie <acm@muc.de>
2103 Distinguish the two meanings of Java's keyword "default". Fixes bug #22358.
2105 * lisp/progmodes/cc-engine.el (c-guess-basic-syntax CASE 14): Check the
2106 context of case labels (including "default") more rigorously.
2107 (c-guess-basic-syntax CASE 15): Consequential amendment.
2109 * lisp/progmodes/cc-langs.el (c-modifier-kwds): Add "default" to Java's value.
2111 2016-01-23 Oscar Fuentes <ofv@wanadoo.es>
2113 Don't operate on menu bar of nonexistent frame
2115 * src/xfns.c (Fx_hide_tip) [USE_LUCID]: Check that the current frame
2116 is valid before redisplaying its menu. Fixes bug#22438.
2118 2016-01-23 Anders Lindgren <andlind@gmail.com>
2120 Unbreak the GNUstep build.
2122 * src/nsterm.m ([EmacsBell init]): In GNUstep, don't use the
2123 predefined "caution" image. Add trace.
2124 (x_set_window_size): Remove unused variables `cols' and `rows'.
2125 (ns_draw_fringe_bitmap): Exclude assignment of `fromRect' when
2127 ([EmacsView updateFrameSize:]): Remove unused variable `win'.
2128 ([EmacsWindow zoom:]): Remove unused variable `f'.
2130 2016-01-23 Eli Zaretskii <eliz@gnu.org>
2131 John Wiegley <johnw@gnu.org>
2132 Michael Heerdegen <michael_heerdegen@web.de>
2134 Improve documentation of 'pcase'
2136 * doc/lispref/control.texi (Pattern matching case statement):
2137 Reorganize, expand, and improve wording.
2139 * etc/NEWS: Mention that 'pcase' changes are documented.
2141 2016-01-23 Paul Eggert <eggert@cs.ucla.edu>
2143 * etc/NEWS: Say that Cairo is experimental.
2145 2016-01-23 Paul Eggert <eggert@cs.ucla.edu>
2147 Report error for PNG under Cairo
2149 * src/image.c (lookup_rgb_color): Signal a file error instead
2150 of dumping core when mishandling an image.
2152 2016-01-23 Arash Esbati <esbati@gmx.de>
2154 Delete a spurious backquote (tiny change)
2156 * lisp/textmodes/reftex-ref.el (reftex-label): Delete a
2157 spurious backquote which raises an error with emacs 25.
2159 2016-01-23 Paul Eggert <eggert@cs.ucla.edu>
2161 Pacify --enable-gcc-warnings --with-cairo
2163 Problem reported by Alexander Kuleshov in:
2164 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01289.html
2165 * src/gtkutil.c (xg_get_page_setup):
2166 Use switch rather than if-then-else.
2167 * src/image.c (COLOR_TABLE_SUPPORT):
2168 Define directly rather than via #define and optional later #undef.
2169 (lookup_rgb_color) [USE_CAIRO && ENABLE_CHECKING]:
2170 Crash when the pixel is undefined, as there is a genuine bug
2172 * src/image.c (tiff_load, gif_load, svg_load_image)
2173 (x_kill_gs_process) [USE_CAIRO]:
2174 * src/xterm.c (x_draw_fringe_bitmap) [USE_CAIRO]:
2175 Omit unused locals, or move them to where they’re needed.
2176 (x_clear_area1): Now ATTRIBUTE_UNUSED.
2178 2016-01-23 Eli Zaretskii <eliz@gnu.org>
2180 Update documentation for Dired search and replace
2182 * doc/emacs/dired.texi (Operating on Files): Update descriptions
2183 of 'A' and 'Q' now bound to 'dired-do-find-regexp' and
2184 'dired-do-find-regexp-and-replace'.
2186 * etc/NEWS: Mention xref-related changes in Dired.
2188 2016-01-23 Paul Eggert <eggert@cs.ucla.edu>
2190 Port recent xdisp.c fix to picky C compilers
2192 * src/xdisp.c (dump_glyph): Redo the call to fprintf to avoid
2193 putting #if inside the arguments to a standard function, which
2194 the C standard says has undefined behavior.
2196 2016-01-22 Alan Mackenzie <acm@muc.de>
2198 Prevent spurious recognition of K&R argument declarations. Fixes bug #2203
2200 * lisp/progmodes/cc-engine.el (c-forward-declarator): New function.
2201 (c-in-knr-argdecl): Before recognizing a K&R argument declaration, check it is
2202 contained in the preceding arg list.
2204 * lisp/progmodes/cc-fonts.el (c-font-lock-declarators): Use the new function
2205 `c-forward-declarator' in place of inline code.
2207 2016-01-22 Eli Zaretskii <eliz@gnu.org>
2209 Fix the build with --enable-checking=glyphs
2211 * src/xdisp.c (dump_glyph): Don't refer to glyph->u.xwidget in a
2212 build without xwidget support.
2214 2016-01-22 Eli Zaretskii <eliz@gnu.org>
2216 Document cl-generic.el
2218 * doc/lispref/functions.texi (Generic Functions): New section.
2220 (Functions): Update the chapter menu.
2221 * doc/lispref/elisp.texi: Update the master menu.
2223 2016-01-22 Paul Eggert <eggert@cs.ucla.edu>
2225 xwidgets style cleanup
2227 Adjust the newly-added Xwidgets code so that it uses a more-typical
2228 Emacs style. This should not affect behavior, except that in
2229 a few places it adds runtime checks that Lisp arguments are of
2230 the proper type, and in one place it uses more-precise arithmetic.
2231 * src/buffer.c, src/dispnew.c, src/emacs.c, src/emacsgtkfixed.c:
2232 * src/emacs.c, src/print.c, src/window.c, src/xdisp.c, src/xterm.c:
2233 Include xwidget.h unconditionally.
2234 * src/buffer.c (Fkill_buffer):
2235 * src/dispnew.c (update_window):
2236 * src/emacs.c (main):
2237 * src/print.c (print_object):
2238 * src/window.c (Fdelete_window_internal):
2239 * src/xdisp.c (handle_single_display_spec, push_it, pop_it)
2240 (get_next_element, set_iterator_to_next, next_element_from_xwidget)
2241 (dump_glyph, calc_pixel_width_or_height, BUILD_GLYPH_STRINGS_XW)
2242 (BUILD_GLYPH_STRINGS, x_produce_glyphs, get_window_cursor_type):
2243 * src/xterm.c (x_draw_glyph_string, x_draw_bar_cursor):
2244 Call xwidget functions and macros without worrying about
2245 HAVE_XWIDGETS when the code is a no-op on non-xwidget
2247 * src/dispextern.h (XWIDGET_GLYPH, struct glyph_string.xwidget)
2248 (IT_XWIDGET, GET_FROM_XWIDGET, struct it.u.xwidget)
2249 (struct it.xwidget):
2250 * src/lisp.h (PVEC_XWIDGET, PVEC_XWIDGET_VIEW):
2252 * src/emacsgtkfixed.h: Omit unnecessary comment.
2253 * src/keyboard.c: Fix spacing.
2254 * src/xdisp.c (BUILD_XWIDGET_GLYPH_STRING, produce_xwidget_glyph):
2255 Define to be a no-op if not HAVE_XWIDGETS.
2256 * src/xwidget.c: Include xwidget.h first (after config.h)
2257 to make sure that it can stand by itself.
2258 (Fmake_xwidget, Fxwidget_webkit_execute_script):
2259 Fix typo in doc string.
2260 (Fmake_xwidget): Check type of args.
2261 (Fmake_xwidget, offscreen_damage_event)
2262 (webkit_document_load_finished_cb, webkit_download_cb)
2263 (webkit_new_window_policy_decision_requested_cb)
2264 (webkit_navigation_policy_decision_requested_cb)
2265 (xwidget_osr_draw_cb, xwidget_osr_event_forward)
2266 (xwidget_osr_event_set_embedder, xwidget_init_view):
2267 Omit unnecessary casts.
2268 * src/xwidget.c (Fmake_xwidget, xwidget_hidden)
2269 (xwidget_show_view, xwidget_hide_view)
2270 (x_draw_xwidget_glyph_string, xwidget_start_redisplay, xwidget_touch)
2272 * src/xwidget.h (struct xwidget.kill_without_query)
2273 (struct xwidget_view.redisplayed, struct xwidget_view.hidden):
2274 Use bool for boolean.
2275 * src/xwidget.c (store_xwidget_event_string, Fxwidget_size_request):
2276 Simplify by using list functions.
2277 (WEBKIT_FN_INIT): Omit unnecessary test for nil.
2278 (Fxwidget_resize): Check type of integer args
2279 before doing any work. Check that they are nonnegative.
2280 (Fxwidget_set_adjustment): Check type of integer arg.
2281 Avoid redundant call to gtk_scrolled_window_get_vadjustment.
2282 Simplify. Use double, not float.
2283 (Fxwidget_info, Fxwidget_view_info): Simplify by using CALLN.
2284 (valid_xwidget_spec_p): Simplify.
2285 (xwidget_spec_value): Omit unused arg FOUND. All callers changed.
2286 * src/xwidget.h: Include lisp.h first, so that includers do
2287 not need to worry about doing that before including this file.
2288 Make this .h file safe to include even on non-HAVE_XWIDGETS
2289 configurations, to simplify the includers.
2290 (x_draw_xwidget_glyph_string, syms_of_xwidget, valid_xwidget_spec_p)
2291 (xwidget_end_redisplay, lookup_xwidget)
2292 (xwidget_view_delete_all_in_window, kill_buffer_xwidgets):
2293 Now a no-op if !HAVE_XWIDGETS, to simplify callers.
2294 (struct glyph_matrix, struct glyph_string, struct xwidget)
2295 (struct xwidget_view, struct window):
2296 New forward or incomplete decls, so that includers need not
2297 assume the corresponding .h files are already included, or that
2298 HAVE_XWIDGETS is defined.
2299 (struct xwidget_type, xwidget_from_id): Remove; unused.
2301 2016-01-22 Michael Albinus <michael.albinus@gmx.de>
2303 Backport kqueue integration from master
2305 * configure.ac (--with-file-notification): Add kqueue.
2306 (top): Remove special test for "${HAVE_NS}" and
2307 ${with_file_notification}, this is handled inside gfilenotify
2308 tests. Add kqueue tests. Use NOTIFY_CFLAGS and NOTIFY_LIBS
2309 instead of library specific variables. Add error message for
2312 * doc/lispref/os.texi (File Notifications): Add kqueue as backend.
2313 Fix some glitches in the example.
2315 * etc/NEWS: Mention kqueue.
2317 * lisp/filenotify.el (file-notify--library)
2318 (file-notify-descriptors, file-notify-callback)
2319 (file-notify-add-watch, file-notify-rm-watch)
2320 (file-notify-valid-p): Add kqueue support.
2321 (file-notify--rm-descriptor): Remove WHAT arg.
2323 * src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS.
2325 * src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue.
2327 * src/inotify.c (inotifyevent_to_event): Extract file name from
2328 watch_object if the event doesn't provide it.
2329 (Finotify_add_watch): Add file name to watch_object.
2331 * src/keyboard.c (make_lispy_event): Check also for HAVE_KQUEUE.
2333 * src/kqueue.c: New file.
2335 * src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.
2337 * test/automated/file-notify-tests.el
2338 (file-notify--test-expected-events): Remove.
2339 (file-notify--test-cleanup): Do not set that variable.
2340 (file-notify--test-timeout) Use different timeouts for
2341 different libraries.
2342 (file-notify--test-library): New defun.
2343 (file-notify--test-event-test): Make stronger checks.
2344 (file-notify--test-with-events): EVENTS can also be a list of
2345 lists. Flush outstanding events before running the body.
2346 Make timeout heuristically depend on the number of events.
2347 (file-notify-test01-add-watch, file-notify-test02-events)
2348 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
2349 Rewrite in order to call file monitors but directory monitors.
2350 (file-notify-test02-events, file-notify-test04-file-validity): Do
2351 not skip cygwin tests. Add additional test for file creation.
2352 Adapt expected result for different backends.
2353 (file-notify-test03-autorevert): Some of the tests don't work for
2355 (file-notify-test06-many-events): New test.
2357 2016-01-22 John Wiegley <johnw@newartisans.com>
2359 Further corrections to the pcase docstring
2361 2016-01-22 Eli Zaretskii <eliz@gnu.org>
2363 * doc/emacs/anti.texi (Antinews): Rewrite for Emacs 25.
2365 2016-01-22 Stephen Leake <stephen_leake@stephe-leake.org>
2367 In xref-collect-references, force backends to respect the 'dir' arg
2369 * lisp/progmodes/xref.el (xref-collect-references): Force symref backends
2370 to use `default-directory'.
2372 2016-01-22 John Wiegley <johnw@newartisans.com>
2374 Minor correction to pcase docstring
2376 2016-01-22 John Wiegley <johnw@newartisans.com>
2378 Write a new docstring for the pcase macro
2380 * lisp/emacs-lisp/pcase.el (pcase): Write a new docstring.
2382 2016-01-21 Stephen Berman <stephen.berman@gmx.net>
2384 Avoid byte-compiler warning in todo-mode (bug#21953)
2386 * lisp/calendar/todo-mode.el (todo-convert-legacy-files): Add limit argument
2387 to looking-back to comply with advertised-calling-convention.
2389 2016-01-21 Stephen Berman <stephen.berman@gmx.net>
2391 Fix desktop support in todo-mode and doc-view (bug#22377)
2393 * lisp/calendar/todo-mode.el (todo-restore-desktop-buffer):
2394 * lisp/doc-view.el (doc-view-restore-desktop-buffer): Return current buffer.
2396 * lisp/calendar/todo-mode.el (todo-modes-set-2):
2397 * lisp/doc-view.el (doc-view-mode): Set desktop-save-buffer unconditionally.
2399 2016-01-21 Paul Eggert <eggert@cs.ucla.edu>
2401 No need to configure gobject-introspection
2403 It wasn’t needed for the recently-installed xwidget_mvp code; see:
2404 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01154.html
2405 * configure.ac (DOES_XWIDGETS_USE_GIR, GIR_REQUIRED, GIR_MODULES):
2407 * src/Makefile.in (GIR_LIBS, GIR_CFLAGS):
2408 Remove. All uses removed.
2409 * configure.ac (emacs_config_features): Don’t worry about GIR.
2411 2016-01-20 Paul Eggert <eggert@cs.ucla.edu>
2413 Don’t export C symbols not used elsewhere
2415 These were recently added, mostly as part of xwidget code.
2416 * src/emacsgtkfixed.c (emacs_fixed_get_type): Now static.
2417 (EMACS_FIXED, EMACS_FIXED_GET_CLASS):
2418 Now static functions here, not macros in emacsgtkfixed.h.
2419 * src/emacsgtkfixed.h (EMACS_TYPE_FIXED):
2420 Remove. All uses replaced by definiens.
2421 (EMACS_FIXED, EMACS_FIXED_GET_CLASS):
2422 Remove; these are now static functions in emacsgtkfixed.c.
2423 (EMACS_FIXED_CLASS, EMACS_IS_FIXED, EMACS_IS_FIXED_CLASS):
2425 (emacs_fixed_get_type): Remove decl; no longer extern.
2426 * src/xwidget.c (offscreen_damage_event)
2427 (webkit_mime_type_policy_typedecision_requested_cb)
2428 (webkit_new_window_policy_decision_requested_cb)
2429 (webkit_navigation_policy_decision_requested_cb)
2430 (xwidget_spec_value, xwidget_view_lookup)
2431 (xwidget_start_redisplay, xwidget_touch):
2433 * src/xwidget.h (xwidget_start_redisplay, xwidget_touch):
2436 2016-01-20 Dmitry Gutov <dgutov@yandex.ru>
2438 Support squiggly heredocs in ruby-mode
2440 * lisp/progmodes/ruby-mode.el (ruby-here-doc-beg-re):
2441 Support squiggly heredocs added in Ruby 2.3.
2443 * test/indent/ruby.rb: Add squiggly example.
2445 2016-01-20 Glenn Morris <rgm@gnu.org>
2447 * configure.ac (emacs_config_features): Remove WEBKIT.
2449 2016-01-20 Paul Eggert <eggert@cs.ucla.edu>
2451 Port to platforms with gtk3 but not webkitgtk3
2453 I ran into this problem on my Fedora 23 installation;
2454 Emacs configured but did not build when --with-xwidgets was specified.
2455 * configure.ac (HAVE_WEBKIT, HAVE_GIR): Omit unnecessary initializations.
2456 (DOES_XWIDGETS_USE_GIR): New var.
2457 If --with-xwidgets is specified, report an error if not
2458 doable, to be consistent with the other --with options.
2459 Require webkitgtk3 to use Xwidgets, as the Xwidgets code does
2460 not work at all without webkitgtk3. Simplify use of
2461 EMACS_CHECK_MODULES. Output message about gobject
2462 introspection only if xwidgets are used.
2463 * etc/NEWS: Users need webkitgtk3, not merely webkit.
2464 * src/xwidget.c (syms_of_xwidget): Don’t worry about HAVE_WEBKIT_OSR,
2465 since this file is no longer compiled if webkitgtk3 is not available.
2467 2016-01-20 Eli Zaretskii <eliz@gnu.org>
2469 Fix doc string of 'isearch-search-fun-function'
2471 * lisp/isearch.el (isearch-search-fun-function)
2472 (isearch-search-string): Doc fixes. (Bug#22411)
2474 2016-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2476 * lisp/xwidget.el: Nitpicks
2478 * lisp/xwidget.el (xwidget-log, xwidget-webkit-callback):
2479 Use with-current-buffer rather than save-excursion + set-buffer.
2481 2016-01-20 Glenn Morris <rgm@gnu.org>
2483 Don't hard-code 1 as point-min.
2485 * lisp/image-mode.el (image-display-size):
2486 * lisp/xwidget.el (xwidget-webkit-last-session)
2487 (xwidget-webkit-current-session): Don't hard-code 1 as point-min.
2489 2016-01-20 Glenn Morris <rgm@gnu.org>
2491 * lisp/xwidget.el: Add declarations to silence non-xwidget compilation.
2493 2016-01-20 Glenn Morris <rgm@gnu.org>
2495 Trivial doc copyedits.
2497 * src/xwidget.c (Fmake_xwidget, Fget_buffer_xwidgets)
2498 (Fxwidget_webkit_get_title, Fxwidget_resize)
2499 (Fxwidget_set_adjustment, Fxwidgetp, Fxwidget_view_p)
2500 (Fxwidget_info, Fxwidget_view_lookup)
2501 (Fset_xwidget_query_on_exit_flag): Trivial doc copyedits.
2503 2016-01-20 Glenn Morris <rgm@gnu.org>
2505 Avoid advising image-display-size for xwidgets.
2507 * lisp/xwidget.el (xwidget-image-display-size): Remove.
2508 (image-display-size): Remove advice.
2509 * lisp/image-mode.el (xwidget-info, xwidget-at): Declare.
2510 (image-display-size): Incorporate xwidget code directly.
2512 2016-01-20 Glenn Morris <rgm@gnu.org>
2514 Avoid breaking non-xwidget Emacs that happen to load xwidget.el.
2516 * lisp/xwidget.el (window-configuration-change-hook)
2517 (kill-buffer-query-functions): Only modify these hooks if
2518 compiled with xwidget support.
2520 2016-01-20 Glenn Morris <rgm@gnu.org>
2522 * lisp/xwidget.el (xwidget-webkit-scroll-behaviour): Fix custom spec.
2524 2016-01-19 Glenn Morris <rgm@gnu.org>
2526 * configure.ac (WEBKIT, GIR, CAIRO): Use EMACS_CHECK_MODULES, not PKG_.
2528 * configure.ac (emacs_config_features): Add XWIDGETS, WEBKIT, GIR.
2530 * configure.ac (HAVE_WEBKIT_OSR): Remove broken, duplicated gtk3 test.
2532 2016-01-19 Katsumi Yamaoka <yamaoka@jpl.org>
2534 * lisp/gnus/nnir.el (nnir-request-update-mark):
2535 Default to the original mark.
2536 cf. <http://thread.gmane.org/gmane.emacs.gnus.general/86583>
2537 and <http://thread.gmane.org/gmane.emacs.gnus.general/86640>
2539 2016-01-19 Glenn Morris <rgm@gnu.org>
2541 * lisp/xwidget.el (report-xwidget-bug): Remove.
2543 (top-level): No longer require reporter.
2545 2016-01-19 Joakim Verona <joakim@verona.se>
2546 Grégoire Jadi <daimrod@gmail.com>
2548 Support for the new Xwidget feature.
2551 (HAVE_XWIDGETS, WIDGET_OBJ, EMACS_CONFIG_FEATURES):
2552 * src/xterm.c (x_draw_glyph_string, x_draw_bar_cursor):
2554 (handle_display_spec, handle_single_display_spec, push_it)
2555 (pop_it, set_iterator_to_next, dump_glyph)
2556 (calc_pixel_width_or_height, fill_xwidget_glyph_string)
2557 (BUILD_XWIDGET_GLYPH_STRING, BUILD_GLYPH_STRINGS)
2558 (produce_xwidget_glyph, x_produce_glyphs)
2559 (get_window_cursor_type):
2560 * src/window.c (Fdelete_window_internal):
2561 * src/termhooks.h (e):
2562 * src/print.c (print_object):
2563 * src/lisp.h (ptrdiff_t):
2564 * src/keyboard.c (kbd_buffer_get_event, make_lispy_event)
2566 * src/emacs.c (main):
2567 * src/dispnew.c (update_window, scrolling_window):
2568 * src/dispextern.h (g, i):
2569 * Makefile.in (XWIDGETS_OBJ, WEBKIT_CFLAGS, WEBKIT_LIBS)
2570 (GIR_LIBS, ALL_CFLAGS, base_obj, LIBES):
2571 * src/keyboard.c (kbd_buffer_get_event):
2572 * src/emacsgtkfixed.c (emacs_fixed_gtk_widget_size_allocate)
2573 (emacs_fixed_class_init): Add case for an xwidget view.
2575 * src/xwidget.c, src/xwidget.h, lisp/xwidget.el: New files for xwidgets
2578 Various improvements to the Xwidget feature.
2580 * src/emacsgtkfixed.c:
2583 2016-01-19 Eli Zaretskii <eliz@gnu.org>
2585 Improve documentation of 'alist-get'
2587 * doc/lispref/variables.texi (Setting Generalized Variables): Add
2588 'alist-get' to the list of functions that can appear in PLACE
2591 2016-01-19 Eli Zaretskii <eliz@gnu.org>
2593 Minor copyedits of doc/emacs/maintaining.texi
2595 * doc/emacs/maintaining.texi (List Identifiers): More accurate
2596 description of "C-M-i" wrt tags tables.
2597 (Tags Tables): Move the definition of "tag" to a footnote.
2599 2016-01-19 Eli Zaretskii <eliz@gnu.org>
2601 Unbreak the Cygwin-w32 build
2603 * src/w32fns.c (globals_of_w32fns): Move the initialization of
2604 resetstkoflw into a part that isn't compiled on Cygwin.
2607 2016-01-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2609 * shr.el (shr-table-body): Allow tables to have text children.
2611 2016-01-19 Phillip Lord <phillip.lord@russet.org.uk>
2613 Cope with multiple overlapping faces.
2615 * lisp/htmlfontify.el (hfy-face-to-style-i): Treat inheritance right to
2617 (hfy-face-resolve-face): Handle font specification as well as font
2618 name. Documentation update. (Bug#21990)
2620 2016-01-19 Paul Eggert <eggert@cs.ucla.edu>
2622 Fix spurious escapes in describe-input-method
2624 Problem reported by Vincent Belaïche (Bug#22309).
2625 * lisp/international/mule-cmds.el (describe-language-environment):
2626 * lisp/international/quail.el (quail-help):
2627 Apply substitute-command-keys to doc strings before displaying them.
2629 2016-01-19 Paul Eggert <eggert@cs.ucla.edu>
2631 Minor improvements to (random t) documentation
2633 * doc/lispref/numbers.texi (Random Numbers):
2634 * src/fns.c (Frandom):
2635 Omit unnecessary details about randomness fallback.
2636 Say that it is a fallback.
2638 2016-01-19 Dmitry Gutov <dgutov@yandex.ru>
2640 Rename methods in Ruby etags example file
2642 * test/etags/ruby-src/test.rb: Rename the example methods to
2643 correspond to the common terminology used in Ruby.
2644 * test/etags/CTAGS.good:
2645 * test/etags/ETAGS.good_1:
2646 * test/etags/ETAGS.good_2:
2647 * test/etags/ETAGS.good_3:
2648 * test/etags/ETAGS.good_4:
2649 * test/etags/ETAGS.good_5:
2650 * test/etags/ETAGS.good_6: Adjust accordingly.
2652 2016-01-19 Dmitry Gutov <dgutov@yandex.ru>
2654 Propertize backtick in 'def `(abc)' as symbol constituent
2656 * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
2657 Propertize backtick in 'def `(abc)' as symbol constituent.
2658 (ruby-syntax-propertize-function):
2659 Rename to ruby-syntax-propertize.
2661 2016-01-18 Eli Zaretskii <eliz@gnu.org>
2663 Fix scrolling under scroll-preserve-screen-position on TTY
2665 * src/window.c (window_scroll_line_based): When setting point to
2666 preserve screen coordinates, don't let cursor enter either of the
2667 two scroll margins. (Bug#22395)
2669 2016-01-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2671 Fix shr table rendering of nested tables
2673 * shr.el (shr-table-body): Don't include all tbodies in nested
2674 tables in the levels above.
2676 2016-01-18 Dmitry Gutov <dgutov@yandex.ru>
2678 * lisp/progmodes/project.el (project--read-regexp): Quote the identifier.
2680 2016-01-18 Dmitry Gutov <dgutov@yandex.ru>
2682 Add xref-based replacements for Dired search commands
2684 * lisp/dired-aux.el (dired-do-find-regexp)
2685 (dired-do-find-regexp-and-replace): New commands.
2686 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00864.html
2688 * lisp/dired.el (dired-mode-map): Change bindings for `A' and
2689 `Q' to the new commands.
2691 * lisp/progmodes/xref.el (xref-query-replace)
2692 (xref-collect-matches): Add progress reporters.
2693 (xref--find-ignores-arguments): Return nil for zero ignores.
2694 (xref--show-xrefs): Add an optional argument.
2695 (xref-collect-matches): Drop the assert. 'find' accepts a
2696 regular file in place of directory argument, too.
2698 2016-01-18 Alan Mackenzie <acm@muc.de>
2700 * doc/lispref/frames.texi (Position Parameters): Say they don't exist on TTYs.
2702 2016-01-18 Eli Zaretskii <eliz@gnu.org>
2704 Improve user documentation of Xref
2706 * doc/emacs/maintaining.texi (Xref, Find Identifiers)
2707 (Looking Up Identifiers, Identifier Search, List Identifiers):
2708 Adjudicate comments by Dmitry Gutov <dgutov@yandex.ru>. See
2709 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00650.html
2712 2016-01-18 Eli Zaretskii <eliz@gnu.org>
2714 Fix scrolling under scroll-preserve-screen-position and margins
2716 * src/window.c (window_scroll_pixel_based): When setting point to
2717 preserve screen coordinates, don't let cursor enter either of the
2718 two scroll margins. Fix incorrect usage of
2719 WINDOW_WANTS_HEADER_LINE_P and use WINDOW_HEADER_LINE_HEIGHT
2720 instead of CURRENT_HEADER_LINE_HEIGHT. (Bug#22395)
2722 2016-01-18 Eli Zaretskii <eliz@gnu.org>
2724 Unbreak the MS-Windows build
2726 * src/sysdep.c (emacs_gnutls_global_init, gnutls_rnd): Disable for
2727 WINDOWSNT, to avoid link failure. (Bug#22202)
2729 2016-01-18 Alan Mackenzie <acm@muc.de>
2731 Desktop: protect users against inadvertant upgrading of desktop file.
2733 An upgraded (version 208) desktop file cannot be read in Emacs < 25.
2735 * etc/NEWS: Add an entry about upgrading a desktop file.
2737 * lisp/desktop.el (desktop-file-version): Amend doc string.
2738 (desktop-native-file-version, desktop-io-file-version): new variables.
2739 (desktop-clear): Set desktop-io-file-version to nil.
2740 (desktop-buffer-info): make the presence of the last item on the list
2741 conditional on (>= desktop-io-file-version 208).
2742 (desktop-save): Add extra parameter VERSION to take user's C-u or C-u C-u.
2743 Amend the doc string. Add code to determine the output file version.
2744 (desktop-create-buffer): Set desktop-io-file-version to the input file's
2747 2016-01-18 Paul Eggert <eggert@cs.ucla.edu>
2749 Initialize GnuTLS before calling gnutls_rnd
2751 * src/gnutls.c (emacs_gnutls_global_init): Now extern.
2752 Don’t set gnutls_global_initialized if gnutls_global_init fails.
2753 * src/sysdep.c: Include "gnutls.h", and <gnutls/crypto.h>
2754 if 2.12 or later, which has gnutls_rnd.
2755 (emacs_gnutls_global_init, gnutls_rnd): New fallback
2756 placeholder macros if before 2.12.
2757 (init_random): Initialize gnutls globals before trying to
2760 2016-01-18 Andreas Schwab <schwab@linux-m68k.org>
2762 Don't use GnuTLS before it is initialized
2764 * src/sysdep.c (init_random): Don't use gnutls_rnd.
2766 2016-01-17 Paul Eggert <eggert@cs.ucla.edu>
2768 Port cleanup attribute to OpenBSD
2770 The OpenBSD C compiler issues false alarms about strcpy, strcat, and
2771 sprintf, and this messes up 'configure' when it tests for the cleanup
2772 attribute. Work around the problem by using __has_attribute directly.
2773 Problem reported by Joakim Jalap (Bug#22385).
2774 * configure.ac: Don’t use AX_GCC_VAR_ATTRIBUTE.
2775 * m4/ax_gcc_var_attribute.m4: Remove.
2776 * src/conf_post.h (__has_attribute): Provide a substitute, for
2777 non-GCC or older GCC compilers. All uses changed to assume
2778 the substitute. Check for the cleanup attribute.
2779 * src/emacs-module.c (module_has_cleanup): Just use __has_attribute.
2781 2016-01-17 Paul Eggert <eggert@cs.ucla.edu>
2783 Prefer GnuTLS when acquiring random seed
2785 This attempts to improve on the fix for Bug#22202.
2786 * configure.ac (HAVE_DEV_URANDOM): Remove.
2787 Check /dev/urandom existence at run time, not at build time,
2788 since the device could exist in the former but not the latter.
2789 * src/sysdep.c [HAVE_GNUTLS]: Include gnutls/gnutls.h.
2790 (gnutls_rnd) [GNUTLS_VERSION_NUMBER < 0x020c00]: New fallback macro.
2791 (random_seed): New typedef.
2792 (set_random_seed): New static function.
2793 (seed_random): Use them.
2794 (init_random): Use random_seed instead of uintmax_t, so as to
2795 not consume more entropy than needed. Prefer gnutls_rnd if it
2796 works; this avoids a redundant open of /dev/urandom on
2797 GNU/Linux with modern GnuTLS.
2799 2016-01-16 Eli Zaretskii <eliz@gnu.org>
2801 Improve documentation of dynamic modules
2803 * doc/lispref/loading.texi (How Programs Do Loading): Update the
2804 description of searching for files in 'load' when Emacs was built
2805 with support for dynamic modules.
2807 2016-01-16 Eli Zaretskii <eliz@gnu.org>
2809 * INSTALL: Document --with-modules.
2811 2016-01-16 Eli Zaretskii <eliz@gnu.org>
2813 Document 'function-put'
2815 * doc/lispref/symbols.texi (Symbol Plists): Document
2816 'function-put'. Update documentation of 'function-get'.
2818 2016-01-16 Eli Zaretskii <eliz@gnu.org>
2820 Document 'funcall-interactively'
2822 * doc/lispref/commands.texi (Interactive Call): Document
2823 'funcall-interactively'.
2824 * doc/lispref/functions.texi (Calling Functions): Mention
2825 'funcall-interactively' and provide a cross-reference.
2827 2016-01-16 Eli Zaretskii <eliz@gnu.org>
2829 * doc/lispref/lists.texi (Association Lists): Document 'alist-get'.
2831 * doc/lispref/strings.texi (Text Comparison): Document 'string-greaterp'.
2833 2016-01-16 Eli Zaretskii <eliz@gnu.org>
2835 Document renaming of selection-related functions
2837 * doc/lispref/frames.texi (Window System Selections): Rename "x-*"
2838 functions into the corresponding "gui-*" functions. Make the
2839 description slightly less X-centric.
2841 2016-01-16 Eli Zaretskii <eliz@gnu.org>
2843 * doc/lispref/macros.texi (Expansion): Document 'macroexpand-1'.
2845 2016-01-16 Eli Zaretskii <eliz@gnu.org>
2847 Document 'define-inline'
2849 * doc/lispref/functions.texi (Defining Functions): Document
2850 'define-inline' and related macros.
2852 * lisp/emacs-lisp/inline.el (inline-letevals): Doc fix.
2854 2016-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
2856 * lisp/files.el (dir-locals--all-files): Respect absolute file-names
2858 * lisp/help-fns.el (describe-variable): Fix a left-over parenthesis
2860 2016-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
2862 * lisp/dired-x.el (dired-omit-here-always): Use add-dir-local-variable
2864 instead of manually writing a dir-locals file.
2866 2016-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
2868 * lisp/files.el (dir-locals--all-files): Use completion instead of wildcards
2871 * lisp/files-x.el (modify-dir-local-variable)
2872 * lisp/dos-fns.el (dosified-file-name)
2873 * lisp/help-fns.el (describe-variable): Change accordingly.
2875 2016-01-16 Jussi Lahdenniemi <jussi@aprikoodi.fi> (tiny change)
2877 Fix incompatbilities with MS-Windows 2000 and older
2879 * src/w32.c <multiByteToWideCharFlags>: New global variable.
2880 (filename_to_utf16, filename_from_ansi, check_windows_init_file):
2881 Use it instead of the literal MB_ERR_INVALID_CHARS.
2882 (maybe_load_unicows_dll): Initialize multiByteToWideCharFlags as
2883 appropriate for the underlying OS version. For details, see
2884 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00835.html.
2885 * src/w32.h: Declare multiByteToWideCharFlags.
2886 * src/w32fns.c (Fx_file_dialog, Fw32_shell_execute)
2887 (add_tray_notification): Use multiByteToWideCharFlags instead of
2888 the literal MB_ERR_INVALID_CHARS.
2889 (_resetstkoflw_proc): New typedef.
2890 (w32_reset_stack_overflow_guard): Call _resetstkoflw via a
2891 pointer, as this function is absent in msvcrt.dll shipped with W2K
2894 2016-01-16 Eli Zaretskii <eliz@gnu.org>
2896 Mention in PROBLEMS an issue with MS-Windows NT4
2898 * etc/PROBLEMS (MS-Windows): Mention the problem with Shell32.dll
2899 on Windows NT4. For the details, see
2900 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00835.html.
2902 2016-01-16 Jussi Lahdenniemi <jussi@aprikoodi.fi> (tiny change)
2904 Ensure 8-byte aligned memory allocation on MS-Windows 9X
2906 * src/w32heap.c (init_heap): Redirect malloc, realloc, and free to
2907 special functions on Windows 9X. Refuse to dump Emacs on Windows 9X.
2908 (malloc_after_dump_9x, realloc_after_dump_9x)
2909 (free_after_dump_9x): New functions. (Bug#22379) See also
2910 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00852.html
2911 for more details about the original problem.
2913 * nt/inc/ms-w32.h (malloc_after_dump_9x, realloc_after_dump_9x)
2914 (free_after_dump_9x): Add prototypes.
2916 2016-01-16 Eli Zaretskii <eliz@gnu.org>
2918 Fix tests for active region in hideif.el
2920 * lisp/progmodes/hideif.el (hif-evaluate-macro, hide-ifdef-block): Use
2921 'use-region-p' to test whether to operate on region, instead of
2922 testing 'mark-active'.
2924 2016-01-16 Eli Zaretskii <eliz@gnu.org>
2926 Fix interactive specs in some hideif.el commands
2928 * lisp/progmodes/hideif.el (hif-evaluate-macro)
2929 (hide-ifdef-undef, show-ifdef-block): Don't use '(interactive "r")'
2930 in commands that should only act on the region if it's active.
2932 2016-01-15 Phillip Lord <phillip.lord@russet.org.uk>
2934 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
2936 2016-01-15 Phillip Lord <phillip.lord@russet.org.uk>
2938 Enable test selector from command line
2940 * test/automated/Makefile.in: Change variable manipulation to avoid
2941 over-writing selector.
2943 2016-01-15 Alan Mackenzie <acm@muc.de>
2945 Don't confuse "::" with ":" when trying to parse member initializers.
2947 * lisp/progmodes/cc-engine.el (c-back-over-member-initializers): Check
2948 more robustly for ":" token when searching backwards for it.
2950 * lisp/progmodes/cc-langs.el (c-:$-multichar-token-regexp): New language
2953 2016-01-15 Eli Zaretskii <eliz@gnu.org>
2955 Ensure positive number of glyphs for margins of positive width
2957 * src/dispnew.c (margin_glyphs_to_reserve): Always return a
2958 positive value when a non-zero width of the marginal area was
2959 requested. (Bug#22356)
2961 2016-01-15 Eli Zaretskii <eliz@gnu.org>
2963 Fix crashes when mini-window has non-zero margins
2965 * src/window.c (resize_frame_windows): Use 'new_size' to set
2966 minibuffer window's 'total_cols' value, as 'size' might be in
2969 2016-01-15 Alan Mackenzie <acm@muc.de>
2971 In comment-dwim with style `extra-line', respect indent-tabs-mode.
2973 This fixes bug #22369.
2975 * lisp/newcomment.el (comment-make-bol-ws): New function.
2976 (comment-make-extra-lines): Use new function instead of a crude `make-string'.
2978 2016-01-15 Eli Zaretskii <eliz@gnu.org>
2980 Make 'random' seeds cryptographically secure if possible
2982 * configure.ac: Check for "/dev/urandom".
2984 * src/sysdep.c (init_random) [HAVE_DEV_URANDOM]: Read the stream
2985 for the seed from "/dev/urandom".
2986 [WINDOWSNT]: Obtain the stream for the seed from w32 APIs.
2987 * src/fns.c (Frandom): Update the doc string to indicate that
2988 system entropy is used when available.
2989 * src/w32.c: Include wincrypt.h.
2990 (w32_init_crypt_random, w32_init_random): New functions, use the
2992 (globals_of_w32): Initialize w32_crypto_hprov handle to zero.
2993 * src/w32.h (w32_init_random): Add prototype.
2995 * doc/lispref/numbers.texi (Random Numbers): Document more details
2996 about 't' as the argument to 'random'.
2998 * etc/NEWS: Mention that '(random t)' now uses a cryptographically
2999 strong seed if possible.
3003 2016-01-15 Eli Zaretskii <eliz@gnu.org>
3005 Unhide the --no-line-directive option to 'etags'
3007 * lib-src/etags.c (print_help): Un-undocument the --no-line-directive
3010 * doc/man/etags.1: Document the --no-line-directive option.
3012 2016-01-15 Alan J Third <alan@idiocy.org> (tiny change)
3014 Fix picture-mode wrt double-width characters
3016 * lisp/textmodes/picture.el (picture-insert): Check the width of
3017 the character being replaced, not just that of the replacement.
3020 2016-01-15 Eric Abrahamsen <eric@ericabrahamsen.net>
3022 Honor docstring of gnus-group-get-new-news
3024 * lisp/gnus/gnus-start.el (gnus-get-unread-articles): If the prefix arg is t,
3025 but non-numeric, unconditionally consider all groups to need updating.
3027 2016-01-14 Simen Heggestøyl <simenheg@gmail.com>
3029 Disallow parenthesis in non-pseudo CSS selectors
3031 * lisp/textmodes/css-mode.el (css--font-lock-keywords): Disallow
3032 parenthesis in selectors except for in the function notation that
3033 might appear right after a pseudo-class.
3034 * test/indent/scss-mode.scss: Add a test for it.
3036 2016-01-14 Katsumi Yamaoka <yamaoka@jpl.org>
3038 * lisp/gnus/nntp.el (nntp-request-newgroups): Simplify
3040 2016-01-14 Michael Albinus <michael.albinus@gmx.de>
3042 check-maybe shall run only default tests
3044 * test/automated/Makefile.in (check, check-expensive): Depend on
3046 (check-maybe): Re-run only default tests.
3047 (check-doit): Use code of check-maybe.
3048 (mostlyclean): Move *.log files away.
3050 2016-01-14 Mark Oteiza <mvoteiza@udel.edu>
3052 * lisp/thingatpt.el (thing-at-point-uri-schemes): Add "magnet:"
3054 2016-01-14 Dmitry Gutov <dgutov@yandex.ru>
3056 Un-obsolete tags-loop-continue
3058 * lisp/progmodes/etags.el (tags-loop-continue): Un-obsolete.
3059 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00682.html
3061 2016-01-13 Eli Zaretskii <eliz@gnu.org>
3063 Document obsoletion of 'intangible' and 'point-entered/left'
3065 * doc/lispref/text.texi (Special Properties): Document the new
3066 properties 'cursor-intangible' and 'cursor-sensor-functions'.
3067 Document the obsolete status of 'intangible', 'pointer-left',
3068 and 'point-entered' properties, and of 'inhibit-point-motion-hooks'.
3069 * doc/lispref/display.texi (Overlay Properties): Document that
3070 'intangible' overlay property is obsolete.
3072 * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor-mode): Doc fix.
3074 2016-01-13 Eli Zaretskii <eliz@gnu.org>
3076 Updater documentation of 'looking-back'
3078 * doc/lispref/searching.texi (Regexp Search): Update documentation
3079 of 'looking-back'. Fix markup.
3081 2016-01-13 Eli Zaretskii <eliz@gnu.org>
3083 Document 'pre-redisplay-functions'
3085 * doc/lispref/hooks.texi (Standard Hooks):
3086 * doc/lispref/display.texi (Forcing Redisplay): Document
3087 'pre-redisplay-functions'.
3089 2016-01-13 Eli Zaretskii <eliz@gnu.org>
3091 Document the new deafault value of 'load-read-function'
3093 * doc/lispref/loading.texi (How Programs Do Loading): Document the
3094 change in the default value of 'load-read-function'.
3096 2016-01-13 Eli Zaretskii <eliz@gnu.org>
3098 Document 'bufferpos-to-filepos' and 'filepos-to-bufferpos'
3100 * doc/lispref/nonascii.texi (Text Representations): Document
3101 'bufferpos-to-filepos' and 'filepos-to-bufferpos'.
3103 2016-01-13 Eli Zaretskii <eliz@gnu.org>
3105 Document the new prefix-command hooks
3107 * doc/lispref/hooks.texi (Standard Hooks): Document
3108 `prefix-command-echo-keystrokes-functions' and
3109 `prefix-command-preserve-state-hook'.
3111 2016-01-13 Paul Eggert <eggert@cs.ucla.edu>
3113 Fix one more misuse of time-stamp-time-zone
3115 * test/etags/html-src/softwarelibero.html: Use "UTC0" rather
3116 than the unportable "GMT" for time zone.
3118 2016-01-13 Paul Eggert <eggert@cs.ucla.edu>
3120 Fix NNTP NEWGROUPS off-by-a-few-hours bug
3122 * lisp/gnus/nntp.el (nntp-request-newgroups): Format string
3123 in Universal Time, since we’re telling the server “GMT”.
3125 2016-01-13 Paul Eggert <eggert@cs.ucla.edu>
3127 Update publicsuffix.txt from upstream
3129 * etc/publicsuffix.txt: Update from
3130 https://publicsuffix.org/list/effective_tld_names.dat
3131 dated 2016-01-12 11:52:01 UTC.
3133 2016-01-13 Glenn Morris <rgm@gnu.org>
3135 Fix some declarations.
3137 * lisp/descr-text.el (internal-char-font):
3138 * lisp/cedet/mode-local.el (xref-item-location):
3139 * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
3140 (epg-sub-key-capability, epg-sub-key-validity):
3141 * lisp/international/mule-util.el (internal-char-font):
3144 2016-01-13 Glenn Morris <rgm@gnu.org>
3146 Fix some custom types.
3148 * lisp/gnus/gnus-fun.el (gnus-x-face-omit-files, gnus-face-omit-files):
3149 * lisp/gnus/gnus.el (gnus-valid-select-methods):
3150 * lisp/mail/rmail.el (rmail-get-coding-function):
3151 * lisp/net/newst-treeview.el (newsticker-groups-filename):
3152 * lisp/progmodes/hideif.el (hide-ifdef-exclude-define-regexp):
3153 * lisp/textmodes/tildify.el (tildify-space-predicates):
3154 * lisp/url/url-tramp.el (url-tramp-protocols):
3157 2016-01-13 Glenn Morris <rgm@gnu.org>
3159 Add some missing version tags.
3161 * lisp/electric.el (electric-quote-comment)
3162 (electric-quote-string, electric-quote-paragraph):
3163 * lisp/epg-config.el (epg-gpgconf-program):
3164 * lisp/rect.el (rectangle-preview):
3165 * lisp/emacs-lisp/check-declare.el (check-declare-ext-errors):
3166 * lisp/emacs-lisp/package.el (package-selected-packages)
3167 (package-hidden-regexps):
3168 * lisp/erc/erc.el (erc-network-hide-list, erc-channel-hide-list):
3169 * lisp/eshell/em-term.el (eshell-destroy-buffer-when-process-dies):
3170 * lisp/gnus/mml-sec.el (mml1991-signers, mml2015-signers)
3171 (mml-smime-signers, mml1991-encrypt-to-self, mml2015-encrypt-to-self)
3172 (mml-smime-encrypt-to-self, mml2015-sign-with-sender)
3173 (mml-smime-sign-with-sender, mml2015-always-trust)
3174 (mml-secure-fail-when-key-problem, mml-secure-key-preferences):
3175 * lisp/net/browse-url.el (browse-url-conkeror-new-window-is-buffer)
3176 (browse-url-conkeror-arguments):
3177 * lisp/net/newst-reader.el (newsticker-download-logos):
3178 * lisp/progmodes/gud.el (gud-guiler-command-name):
3179 * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
3180 * lisp/progmodes/project.el (project-vc):
3181 * lisp/progmodes/python.el (python-indent-guess-indent-offset-verbose)
3182 (python-shell-remote-exec-path, python-shell-first-prompt-hook)
3183 (python-shell-completion-native-disabled-interpreters)
3184 (python-shell-completion-native-enable)
3185 (python-shell-completion-native-output-timeout)
3186 (python-shell-completion-native-try-output-timeout):
3187 * lisp/progmodes/xref.el (xref):
3188 * lisp/term/screen.el (xterm-screen-extra-capabilities):
3189 * lisp/term/xterm.el (xterm-max-cut-length):
3190 Add missing version tags.
3192 2016-01-13 Glenn Morris <rgm@gnu.org>
3194 * test/automated/core-elisp-tests.el
3195 (core-elisp-tests-1-defvar-in-let): Add a custom type.
3197 2016-01-13 Glenn Morris <rgm@gnu.org>
3199 * src/buffer.c (syms_of_buffer) <major-mode>: Doc fix.
3201 Remove comments that do not apply since 2005-08-09. (Bug#22349)
3203 2016-01-12 Paul Eggert <eggert@cs.ucla.edu>
3207 This mostly just changes "UTC" to "UTC0" for POSIX conformance.
3208 It also updates to the latest version of texinfo.tex.
3209 * build-aux/gitlog-to-changelog, build-aux/move-if-change:
3210 * build-aux/update-copyright, doc/misc/texinfo.tex:
3213 2016-01-12 Eli Zaretskii <eliz@gnu.org>
3215 Update documentation of 'process-running-child-p'
3217 * doc/lispref/processes.texi (Input to Processes): Document the
3218 changes in return value of 'process-running-child-p'.
3220 2016-01-12 Eli Zaretskii <eliz@gnu.org>
3222 Update documentation of 'deactivate-mark'.
3224 * doc/lispref/markers.texi (The Mark): Document that
3225 'deactivate-mark' is now buffer-local when set.
3227 2016-01-12 Eli Zaretskii <eliz@gnu.org>
3229 Update documentation of 'completion-table-dynamic'
3231 * doc/lispref/minibuf.texi (Programmed Completion): Document the
3232 new optional argument to 'completion-table-dynamic'.
3234 2016-01-12 Eli Zaretskii <eliz@gnu.org>
3236 Document changes in 'read-buffer' and 'read-buffer-function'
3238 * doc/lispref/minibuf.texi (High-Level Completion): Document the
3239 4th argument to 'read-buffer' and 'read-buffer-function'.
3241 2016-01-12 Paul Eggert <eggert@cs.ucla.edu>
3243 Fix time-stamp-time-zone bugs introduced in July
3245 This fixes a bug introduced when the July changes to
3246 format-time-string installed, as the changes were not
3247 correctly handled in this module (Bug#22302).
3248 Also, document time stamp time zones.
3249 * lisp/time-stamp.el (time-stamp-time-zone): Document values better.
3250 (time-stamp--format): New private function.
3251 (time-stamp-string, time-stamp-string-preprocess)
3252 (time-stamp-do-number): Use it.
3253 * doc/emacs/files.texi (Time Stamps): Mention time zones.
3254 * doc/misc/autotype.texi (Timestamps): Document time-stamp-time-zone.
3256 2016-01-12 Eli Zaretskii <eliz@gnu.org>
3258 Make piping to subprocesses more robust on MS-Windows
3260 * src/w32.c (sys_write): Don't write to a pipe more stuff than its
3261 buffer can hold. Don't return -1 if something has been written to
3262 the pipe. Zero out 'errno' before calling '_write', to avoid
3263 returning a stale value. (Bug#22344)
3264 * src/w32proc.c (syms_of_ntproc) <w32-pipe-buffer-size>: New variable.
3265 * src/w32.c (pipe2): Use it to request a user-defined size for the
3268 * etc/NEWS: Mention 'w32-pipe-buffer-size'.
3270 * doc/emacs/msdos.texi (Windows Processes): Document
3271 'w32-pipe-buffer-size'.
3273 2016-01-11 Dmitry Gutov <dgutov@yandex.ru>
3275 test/automated/vc-hg.el: Support out-of-tree build
3277 * test/automated/vc-hg.el
3278 (vc-hg-annotate-extract-revision-at-line-with-filename)
3279 (vc-hg-annotate-extract-revision-at-line-with-both):
3280 Don't refer to source-directory.
3281 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00755.html
3283 2016-01-11 Michael Albinus <michael.albinus@gmx.de>
3285 Minor change in tramp-tests.el
3287 * test/automated/tramp-tests.el (tramp-test29-vc-registered):
3288 Use `dired-uncache' instead of a Tramp internal function.
3290 2016-01-11 Peter Feigl <peter.feigl@nexoid.at>
3292 * etc/HELLO: Add Armenian and Mongolian greetings.
3296 2016-01-11 Alan Mackenzie <acm@muc.de>
3298 Java Mode: Fontify identifiers in the presence of annotations.
3300 * lisp/progmodes/cc-engine.el (c-forward-annotation): Tidy up the coding:
3301 Don't move point when the defun fails.
3302 (c-forward-decl-or-cast-1): Correct a usage of match data.
3304 * lisp/progmodes/cc-fonts.el (c-font-lock-maybe-decl-faces): Remove.
3305 (c-font-lock-declarations): Use the new c-maybe-decl-faces in place of the
3308 * lisp/progmodes/cc-langs.el (c-maybe-decl-faces): New language variable.
3310 2016-01-11 Eli Zaretskii <eliz@gnu.org>
3312 Avoid an infloop when we run out of memory
3314 * src/alloc.c (garbage_collect_1): Don't bother saving and
3315 restoring the echo-area message if we are GC'ing after running out
3316 of memory. This avoids an infloop due to repeated attempts to
3317 allocate memory for the cons cell needed to save the message,
3318 which signals the memory-full error, which attempts to save the
3319 echo-area message, which signals memory-full again, etc.
3321 2016-01-11 Eli Zaretskii <eliz@gnu.org>
3323 Avoid unnecessary failures of auto-saving after fatal error
3325 * src/w32.c (map_w32_filename): Avoid non-trivial system calls for
3326 the benefit of FAT volumes if we are called as part of shutting
3327 down due to a fatal error, which probably means we are trying to
3328 auto-save the session.
3329 * src/lread.c (check_obarray): Don't bother making the obarray
3330 valid if we are shutting down due to a fatal error. This avoids
3331 interfering with auto-saving the crashed session.
3333 2016-01-11 Paul Eggert <eggert@cs.ucla.edu>
3335 Simplify HAVE_MODULES use in mark_maybe_pointer
3337 * src/alloc.c (HAVE_MODULES): Now a constant 0 if not defined,
3338 so that later code can use 'if' rather than '#ifdef'.
3339 (mark_maybe_pointer): Simplify based on HAVE_MODULES now
3342 2016-01-11 Paul Eggert <eggert@cs.ucla.edu>
3344 Revert attempt to use 'noexcept' in typedef
3346 This use of 'noexcept' runs afoul of the C++11 standard.
3347 Problem reported by Philipp Stephani in:
3348 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00706.html
3349 * src/emacs-module.c (emacs_finalizer_function):
3350 Move this typedef here ...
3351 * src/emacs-module.h: ... from here, and use only the C
3352 version of the typedef. The typedef is now private since it
3353 is never used in the .h file now and anyway it seemed to be
3354 causing more confusion than it cured.
3355 (make_user_ptr, get_user_finalizer, set_user_finalizer):
3356 Open-code the type instead.
3358 2016-01-10 Eli Zaretskii <eliz@gnu.org>
3360 Update documentation of 'indirect-function'
3362 * doc/lispref/eval.texi (Function Indirection): Update the
3363 documentation of 'indirect-function'.
3365 2016-01-10 Eli Zaretskii <eliz@gnu.org>
3367 Update documentation for obsoleting 'syntax-begin-function'
3369 * doc/lispref/syntax.texi (Position Parse): Undocument
3370 'syntax-begin-function' that is now obsolete.
3372 2016-01-10 Eli Zaretskii <eliz@gnu.org>
3374 Document new features if Eshell
3376 * doc/misc/eshell.texi (Input/Output): Document the new
3377 '#<bufname>' syntax.
3378 (Input/Output): Document 'eshell-destroy-buffer-when-process-dies'.
3379 Disable "Key Index" generation, as there are no @kindex entries in
3382 2016-01-10 Michael Albinus <michael.albinus@gmx.de>
3384 Handle too long commands in Tramp
3386 * lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link)
3387 (tramp-do-file-attributes-with-ls): Send sequence of commands, in
3388 order to not exceed shell command line limit.
3390 * test/automated/tramp-tests.el (tramp--test-darwin-p): Remove.
3391 (tramp--test-utf8): Include Arabic file name, again.
3393 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
3395 * .gitattributes: *.cur and *.pif are binary files too.
3397 2016-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3399 * src/alloc.c (mark_maybe_pointer): HAVE_MODULES may be undefined
3401 2016-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3403 * lisp/progmodes/sh-script.el (sh-smie-sh-rules): Improve indentation inside $(...)
3405 * lisp/progmodes/sh-script.el (sh-smie-sh-rules): Improve indentation
3407 * test/indent/shell.sh: Add corresponding test.
3409 2016-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3411 * src/alloc.c (mark_maybe_pointer): Also check wide-int's emacs_value
3413 (mark_memory): Simplify loop. Don't assume a pointer-sized word can be
3414 cast to Lisp_Object.
3416 2016-01-10 Dmitry Gutov <dgutov@yandex.ru>
3418 Use short date for 'hg annotate', and output the author
3420 * lisp/vc/vc-hg.el (vc-hg-annotate-command):
3421 Change '-d' to '-dq'. (Bug#21805)
3422 (vc-hg-annotate-switches): Default to "-u" "--follow".
3423 (vc-hg-annotate-re): Update to recognize the short date format
3424 and the optional username.
3425 (vc-hg-annotate-time)
3426 (vc-hg-annotate-extract-revision-at-line): Update accordingly.
3428 * test/automated/vc-hg.el: New file.
3430 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
3434 2016-01-09 Eli Zaretskii <eliz@gnu.org>
3436 Document user-level functions in project.el
3438 * lisp/progmodes/project.el (project-find-file)
3439 (project-or-external-find-file): Add doc strings.
3441 2016-01-09 Eli Zaretskii <eliz@gnu.org>
3443 Document the user-level features of the Xref package
3445 * doc/emacs/maintaining.texi (Maintaining): Add a list of
3447 (Xref): New section, made out of thoroughly rewritten "Tags"
3449 (Find Identifiers, Looking Up Identifiers, Xref Commands)
3450 (Identifier Search, List Identifiers): New subsections,
3451 incorporating the old tags commands and the new xref commands.
3452 (Tags Tables, Tag Syntax, Create Tags Table, Etags Regexps):
3453 Section and subsections demoted to a lower level.
3454 * doc/emacs/search.texi (Search):
3455 * doc/emacs/windows.texi (Pop Up Window):
3456 * doc/emacs/frames.texi (Creating Frames):
3457 * doc/emacs/programs.texi (Imenu, Symbol Completion):
3458 * doc/emacs/building.texi (Grep Searching):
3459 * doc/emacs/dired.texi (Operating on Files):
3460 * doc/emacs/glossary.texi (Glossary): All references to tags changed.
3462 2016-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3464 * doc/lispref/loading.texi: Add `define-type' entry for load-history
3466 * doc/lispref/loading.texi (Where Defined): Remove incorrect
3467 cl-defmethod description, and add missing define-type entry.
3469 2016-01-09 Eli Zaretskii <eliz@gnu.org>
3471 Improve doc strings and prompts in xref.el
3473 * lisp/progmodes/xref.el (xref-backend-functions)
3474 (xref-find-definitions): Doc fixes.
3475 (xref-query-replace): Doc fix. Improve prompts for arguments.
3477 2016-01-09 Alan Mackenzie <acm@muc.de>
3479 Allow the use of `font-lock-extend-region-multiline' in CC Mode.
3481 * lisp/progmodes/cc-mode.el (c-font-lock-init): Remove
3482 `font-lock-extend-regions-wholelines' from
3483 `font-lock-extend-region-functions' rather than setting the latter to
3486 2016-01-09 Michael Albinus <michael.albinus@gmx.de>
3488 Fix coding system for Tramp on OS X.
3490 * lisp/net/tramp-compat.el: Require ucs-normalize.
3492 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3493 Set coding system to `utf-8-hfs' for Mac OS X.
3495 * test/automated/tramp-tests.el (tramp-test29-vc-registered):
3496 Flush directory properties when needed.
3497 (tramp--test-utf8): Include Chinese file name, again.
3499 2016-01-09 Eli Zaretskii <eliz@gnu.org>
3501 Update 'load-history' docs
3503 * doc/lispref/loading.texi (Where Defined): Update the list of
3504 forms in 'load-history' by adding the forms created for the
3505 'cl-generic' generics. (Bug#21422)
3507 2016-01-09 Paul Eggert <eggert@cs.ucla.edu>
3509 Fix (error ...) error
3511 Problem reported by Glenn Morris in:
3512 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00561.html
3513 * lisp/vc/add-log.el (change-log-goto-source): Fix typos
3514 introduced in my Aug 28 change, where I got confused by the
3515 two meanings of (error ...).
3517 2016-01-08 Alan Mackenzie <acm@muc.de>
3519 Correctly analyze brace arguments in templated C++ function declarations.
3521 * lisp/progmodes/cc-defs.el (c-go-list-forward, c-go-list-backward): add
3522 POS and LIMIT parameters, like the other c-go-list-* functions have.
3524 * lisp/progmodes/cc-engine.el (c-restore-<>-properties): Check backwards
3525 for a ?\( rather than a ?<. (c-looking-at-inexpr-block): Handle names
3526 followed by template specifiers.
3528 2016-01-08 Glenn Morris <rgm@gnu.org>
3530 * lisp/cedet/mode-local.el (describe-function-orig-buffer): Declare.
3532 * lisp/ffap.el (ffap-latex-mode): Avoid free variable.
3534 2016-01-08 Mark Oteiza <mvoteiza@udel.edu>
3536 * lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`.
3538 2016-01-08 Alan Mackenzie <acm@muc.de>
3540 Respect fontification region calculated by major mode. Fixes bug #22316.
3542 * lisp/font-lock.el (font-lock-extend-jit-lock-region-after-change): when a
3543 fontification region has been calculated by a function on
3544 font-lock-extend-after-change-region-function use this region rather than
3545 changing the end position to somewhere else.
3547 2016-01-08 Eli Zaretskii <eliz@gnu.org>
3549 Improve documentation of Delete Selection mode
3551 * lisp/delsel.el (delete-selection-mode)
3552 (delete-selection-helper): Update and expand the doc strings.
3555 * doc/emacs/mark.texi (Using Region): Document the behavior of
3556 delete commands in Delete Selection mode. (Bug#22296)
3558 * doc/lispref/markers.texi (The Mark): Document how to add the
3559 support for Delete Selection mode to Lisp programs. (Bug#22296)
3561 2016-01-08 Dmitry Gutov <dgutov@yandex.ru>
3563 Fix two project-find-file issues
3565 * lisp/progmodes/project.el (project--value-in-dir):
3566 Temporarily set enable-local-variables to :all.
3567 (project-find-file, project-or-external-find-file):
3569 (project--find-file-in): Require xref.
3571 2016-01-08 Eli Zaretskii <eliz@gnu.org>
3573 Clarify doc string of 'dired-current-directory'
3575 * lisp/dired.el (dired-current-directory): Doc fix: clarify that
3576 the return value might not end in a slash when called with the
3577 optional argument non-nil. (Bug#6273)
3579 2016-01-08 Eli Zaretskii <eliz@gnu.org>
3581 Use the face of preceding text for displaying the ellipsis
3583 * src/xdisp.c (setup_for_ellipsis): Use the face of the preceding
3584 text in it->saved_face_id for displaying the ellipsis, and ignore
3585 the face, if any, of the invisible text. (Bug#22320)
3587 2016-01-08 Michael Albinus <michael.albinus@gmx.de>
3589 Suppress Chinese file name test for OSX in tramp-tests.el
3591 * test/automated/tramp-tests.el (tramp--test-utf8):
3592 Remove instrumentation. Suppress Chinese file name test for OSX.
3594 2016-01-08 Glenn Morris <rgm@gnu.org>
3596 * admin/admin.el (set-version): Also handle the NEWS file.
3598 2016-01-08 Dmitry Gutov <dgutov@yandex.ru>
3600 apropos-library: Skip obvious duplicates; don't error on generics
3602 * lisp/apropos.el (apropos-library): Skip "was an autoload"
3603 entries, to avoid obvious duplicates. For each cl-defmethod
3604 entry, take just its function symbol (bug#21422).
3606 2016-01-07 Dmitry Gutov <dgutov@yandex.ru>
3608 Add project-find-file and project-or-external-find-file
3610 * lisp/minibuffer.el (completion-category-defaults):
3611 Add `project-file' category.
3613 * lisp/progmodes/project.el (project-find-file)
3614 (project-or-external-find-file): New commands.
3615 (project--find-file-in): New private function.
3617 * lisp/progmodes/xref.el (xref-collect-matches): Use
3618 `expand-file-name' on DIR, to expand the tildes.
3619 (xref--find-ignores-arguments): Extract from
3620 `xref--rgrep-command'.
3622 2016-01-07 Leo Liu <sdl.web@gmail.com>
3624 Add defvar-local to lisp-imenu-generic-expression
3626 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Add
3629 2016-01-07 Leo Liu <sdl.web@gmail.com>
3631 Revert commit b1e3d14845517bfa9fa5d6d3840f3ab3160306fd
3633 * lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
3634 Don't declare (indent 1).
3636 2016-01-07 Glenn Morris <rgm@gnu.org>
3638 * lisp/emacs-lisp/autoload.el (autoload-find-destination): Doc fix.
3640 2016-01-07 Glenn Morris <rgm@gnu.org>
3642 * lisp/emacs-lisp/autoload.el (autoload-find-destination):
3644 Avoid specifying the length of a time object (it has not been "2"
3647 2016-01-06 Andreas Schwab <schwab@linux-m68k.org>
3649 Properly encode/decode base64Binary data in SOAP
3651 * lisp/net/soap-client.el (soap-encode-xs-basic-type): Encode
3652 base64Binary value as utf-8.
3653 (soap-decode-xs-basic-type): Decode base64Binary value as utf-8.
3655 2016-01-06 Eli Zaretskii <eliz@gnu.org>
3657 Obey coding-system-for-write when writing stdout/stderr in batch
3659 * src/print.c (printchar_to_stream):
3660 * src/xdisp.c (message_to_stderr): If coding-system-for-write has
3661 a non-nil value, use it to encode output in preference to
3662 locale-coding-system. See the discussions in
3663 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00048.html
3666 * doc/lispref/os.texi (Terminal Output): Document how to send
3667 non-ASCII text via 'send-string-to-terminal'.
3668 (Batch Mode): Document how text written to standard streams is
3669 encoded. Fix inaccuracy regarding which output streams are used
3670 by output functions in batch mode.
3672 2016-01-06 Xue Fuqiao <xfq.free@gmail.com>
3674 * doc/misc/efaq.texi (Packages that do not come with Emacs):
3675 Update the URI of MELPA and marmalade-repo. Reported by CHENG Gao
3676 <chenggao@royau.me> in
3677 https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00390.html.
3679 2016-01-06 Maksim Golubev <maksim.golubev72@gmail.com> (tiny change)
3681 * lisp/progmodes/opascal.el (opascal-mode-syntax-table):
3683 Fix backslash. (Bug#22224)
3685 2016-01-06 Federico Beffa <beffa@ieee.org> (tiny change)
3687 * lisp/progmodes/xscheme.el (xscheme-prompt-for-expression-exit):
3689 Make it actually work. (Bug#22265)
3691 2016-01-05 Alan Mackenzie <acm@muc.de>
3693 Remove function wrongly on AWK Mode value of context fontification hook.
3695 * lisp/progmodes/cc-langs.el (c-before-context-fontification-functions):
3696 swap order of entries so that awk's entry isn't superseded by the default.
3698 * lisp/progmodes/cc-mode.el (c-before-context-fl-expand-region): Correct
3699 to handle nil value of c-before-context-fontification-functions.
3701 2016-01-05 Paul Eggert <eggert@cs.ucla.edu>
3703 * src/buffer.c: Stick with ASCII in doc string.
3705 2016-01-05 Paul Eggert <eggert@cs.ucla.edu>
3707 Reword transient-mark-mode doc string
3709 * src/buffer.c (syms_of_buffer): Reword doc string to avoid confusion.
3710 The value 'lambda (literally) can be interpreted as (quote lambda),
3711 which is not intended here; we want just the lambda symbol.
3713 2016-01-05 Eli Zaretskii <eliz@gnu.org>
3715 Update doc string of 'selective-display'
3717 * src/buffer.c (syms_of_buffer) <selective-display>: Say that
3718 using it with the value of 't' is obsolete. (Bug#1092)
3720 2016-01-05 Alan Mackenzie <acm@muc.de>
3722 Make C++ buffers writeable when writing their initial text properties.
3724 This is a correction to yesterday's CC Mode patch.
3726 * lisp/progmodes/cc-engine.el (c-before-change-check-<>-operators): Put
3727 c-save-buffer-state around the function rather than a mere `let'.
3729 2016-01-05 Michael Albinus <michael.albinus@gmx.de>
3731 Additional changes for "make check-expensive"
3733 * CONTRIBUTE : Encourage use of ":tags '(:expensive-test)".
3734 Explain make target `check-expensive'.
3736 * etc/NEWS: Mention new make target `check-expensive'.
3738 * test/automated/Makefile.in (check-doit): New target.
3739 (check, check-expensive): Use it.
3741 2016-01-04 Alan Mackenzie <acm@muc.de>
3743 Apply text properties for <, > in new after-change function (C++ Java Modes).
3745 These are category/syntax-table properties to give < and > paren syntax.
3746 Also apply certain `c-type' text properties to the insides of <..> constructs
3747 to ensure that identifiers contained by them get fontified. This patch fixes
3750 * lisp/progmodes/cc-cmds.el (c-electric-lt-gt): Reformulate due to new
3751 after-change action.
3753 * lisp/progmodes/cc-engine.el (c-before-change-check-<>-operators): Expand
3754 change region to include <s and >s which might not be already marked as
3755 parens, rather than just when paren text properties are removed.
3756 (c-restore-<>-properties): New after-change function, which applies text
3757 properties marking < and > with paren syntax.
3759 * lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Ensure `c-type'
3760 properties are applied to the interiors of <...> constructs, to ensure
3761 fontification of identifiers there.
3763 * lisp/progmodes/cc-langs.el (c-before-font-lock-functions): Add
3764 c-restore-<>-properties to this list for C++ and Java.
3766 * lisp/progmodes/cc-mode.el (c-common-init): When invoking
3767 c-before-font-lock-functions, exclude c-restore-<>-properties from the
3769 (c-before-change): Initialize c-new-BEG/END here (rather than c-after-change)
3770 to allow modification by before-change functions.
3771 (c-after-change): Amend c-new-END here, rather than initializing it and
3774 2016-01-04 Michael Albinus <michael.albinus@gmx.de>
3776 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
3778 2016-01-04 Michael Albinus <michael.albinus@gmx.de>
3780 Introduce check-expensive tests.
3782 * Makefile.in (check-expensive):
3783 * test/automated/Makefile.in (check-expensive): New target.
3785 * test/automated/auto-revert-tests.el
3786 (auto-revert-test01-auto-revert-several-files):
3787 * test/automated/file-notify-tests.el (file-notify--deftest-remote):
3788 * test/automated/tramp-tests.el (tramp-test26-process-file)
3789 (tramp-test27-start-file-process, tramp-test28-shell-command)
3790 (tramp-test29-vc-registered)
3791 (tramp-test31-special-characters-with-stat)
3792 (tramp-test31-special-characters-with-perl)
3793 (tramp-test31-special-characters-with-ls)
3794 (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
3795 (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
3796 (tramp-test35-unload): Tag the tests as :expensive-test.
3798 2016-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3800 shr-tag-video bug fix
3802 * shr.el (shr-tag-video): Protect against the `poster' being
3805 2016-01-04 Michael Albinus <michael.albinus@gmx.de>
3807 Minor fixes in tramp-tests.el
3809 * test/automated/tramp-tests.el (tramp-test26-process-file):
3810 Move point properly.
3811 (tramp-test29-vc-registered): Work with relative file names.
3813 2016-01-04 Eli Zaretskii <eliz@gnu.org>
3815 Ensure redisplay when 'truncate-lines' is set
3817 * lisp/frame.el (redisplay--variables): Add 'truncate-lines'.
3820 2016-01-04 Eli Zaretskii <eliz@gnu.org>
3822 Fix a doc string of 'transient-mark-mode'
3824 * src/buffer.c (syms_of_buffer) <transient-mark-mode>: Prevent
3825 "lambda" in doc string from becoming a link to lambda expressions.
3827 2016-01-04 Eli Zaretskii <eliz@gnu.org>
3829 MS-Windows followup to latest gnulib update
3831 * nt/gnulib.mk (EXTRA_DIST): Add ignore-value.h.
3833 2016-01-04 Paul Eggert <eggert@cs.ucla.edu>
3837 2016-01-04 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
3839 Do secure signed Bcc handling
3841 * lisp/gnus/message.el (message-send): Do secure signed Bcc handling
3844 2016-01-04 Paul Eggert <eggert@cs.ucla.edu>
3846 Avoid stdio in SIGINT handler
3848 * admin/merge-gnulib (GNULIB_MODULES): Add ignore-value.
3849 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
3850 * lib/ignore-value.h: New file, from gnulib.
3851 * src/keyboard.c: Include it.
3852 (write_stdout, read_stdin): New functions.
3853 (handle_interrupt): Use them instead of printf and getchar,
3854 and avoid fflush when handling signals.
3856 2016-01-04 Paul Eggert <eggert@cs.ucla.edu>
3858 * doc/misc/texinfo.tex: Revert unwanted copyright change.
3860 2016-01-03 Artur Malabarba <bruce.connor.am@gmail.com>
3862 * lisp/align.el (align): Simplify a lambda
3864 * lisp/align.el (align): Fix arg order in call to `align-region'
3866 2016-01-03 Eli Zaretskii <eliz@gnu.org>
3868 Fix compilation next-error in buffers with selective-display
3870 * lisp/progmodes/compile.el (compilation-beginning-of-line): New
3872 (compilation-internal-error-properties)
3873 (compilation-next-error-function, compilation-set-window): Use
3876 2016-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3878 * lisp/net/nsm.el (nsm-check-protocol): Fix typo in the message.
3880 2016-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3882 Add SHA1 warnings for high network security settings
3884 * lisp/net/nsm.el (nsm-check-protocol): When using high security, warn
3885 about SHA1 certificates, which are now believed to be open to
3888 2016-01-03 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
3890 Refactor mml-smime.el, mml1991.el, mml2015.el
3892 (Maybe this is the last merge from Gnus git to Emacs git)
3894 Cf. discussion on ding mailing list, messages in
3895 <http://thread.gmane.org/gmane.emacs.gnus.general/86228>.
3896 Common code from the three files mml-smime.el, mml1991.el, and
3897 mml2015.el is moved to mml-sec.el. Auxiliary functions are added
3900 The code is supported by test cases with necessary test keys.
3902 Documentation in message.texi is updated.
3904 * doc/misc/message.texi (Security, Using S/MIME):
3905 Update for refactoring mml-smime.el, mml1991.el, mml2015.el.
3906 (Using OpenPGP): Rename from "Using PGP/MIME"; update contents.
3907 (Passphrase caching, Encrypt-to-self, Bcc Warning): New sections.
3909 * lisp/gnus/gnus-util.el (gnus-test-list, gnus-subsetp, gnus-setdiff):
3912 * lisp/gnus/mml-sec.el: Require gnus-util and epg.
3913 (epa--select-keys): Autoload.
3914 (mml-signencrypt-style-alist, mml-secure-cache-passphrase): Doc fix.
3915 (mml-secure-openpgp-signers): New user option;
3916 make mml1991-signers and mml2015-signers obsolete aliases to it.
3917 (mml-secure-smime-signers): New user option;
3918 make mml-smime-signers an obsolete alias to it.
3919 (mml-secure-openpgp-encrypt-to-self): New user option;
3920 make mml1991-encrypt-to-self and mml2015-encrypt-to-self obsolete
3922 (mml-secure-smime-encrypt-to-self): New user option;
3923 make mml-smime-encrypt-to-self an obsolete alias to it.
3924 (mml-secure-openpgp-sign-with-sender): New user option;
3925 make mml2015-sign-with-sender an obsolete alias to it.
3926 (mml-secure-smime-sign-with-sender): New user option;
3927 make mml-smime-sign-with-sender an obsolete alias to it.
3928 (mml-secure-openpgp-always-trust): New user option;
3929 make mml2015-always-trust an obsolete alias to it.
3930 (mml-secure-fail-when-key-problem, mml-secure-key-preferences):
3932 (mml-secure-cust-usage-lookup, mml-secure-cust-fpr-lookup)
3933 (mml-secure-cust-record-keys, mml-secure-cust-remove-keys)
3934 (mml-secure-add-secret-key-id, mml-secure-clear-secret-key-id-list)
3935 (mml-secure-cache-passphrase-p, mml-secure-cache-expiry-interval)
3936 (mml-secure-passphrase-callback, mml-secure-check-user-id)
3937 (mml-secure-secret-key-exists-p, mml-secure-check-sub-key)
3938 (mml-secure-find-usable-keys, mml-secure-select-preferred-keys)
3939 (mml-secure-fingerprint, mml-secure-filter-keys)
3940 (mml-secure-normalize-cust-name, mml-secure-select-keys)
3941 (mml-secure-select-keys-1, mml-secure-signer-names, mml-secure-signers)
3942 (mml-secure-self-recipients, mml-secure-recipients)
3943 (mml-secure-epg-encrypt, mml-secure-epg-sign): New functions.
3945 * lisp/gnus/mml-smime.el: Require epg;
3946 refactor declaration and autoloading of epg functions.
3947 (mml-smime-use): Doc fix.
3948 (mml-smime-cache-passphrase, mml-smime-passphrase-cache-expiry):
3950 (mml-smime-get-dns-cert, mml-smime-get-ldap-cert):
3951 Use format instead of gnus-format-message.
3952 (mml-smime-epg-secret-key-id-list): Remove variable.
3953 (mml-smime-epg-passphrase-callback, mml-smime-epg-find-usable-key)
3954 (mml-smime-epg-find-usable-secret-key): Remove functions.
3955 (mml-smime-epg-sign, mml-smime-epg-encrypt): Refactor.
3957 * lisp/gnus/mml1991.el (mml1991-cache-passphrase)
3958 (mml1991-passphrase-cache-expiry): Obsolete.
3959 (mml1991-epg-secret-key-id-list): Remove variable.
3960 (mml1991-epg-passphrase-callback, mml1991-epg-find-usable-key)
3961 (mml1991-epg-find-usable-secret-key): Remove functions.
3962 (mml1991-epg-sign, mml1991-epg-encrypt): Refactor.
3964 * lisp/gnus/mml2015.el (mml2015-cache-passphrase)
3965 (mml2015-passphrase-cache-expiry): Obsolete.
3966 (mml2015-epg-secret-key-id-list): Remove variable.
3967 (mml2015-epg-passphrase-callback, mml2015-epg-check-user-id)
3968 (mml2015-epg-check-sub-key, mml2015-epg-find-usable-key)
3969 (mml2015-epg-find-usable-secret-key): Remove functions.
3970 (mml2015-epg-decrypt, mml2015-epg-clear-decrypt, mml2015-epg-sign)
3971 (mml2015-epg-encrypt): Refactor.
3973 2016-01-02 Glenn Morris <rgm@gnu.org>
3975 * lisp/progmodes/fortran.el (fortran-make-syntax-propertize-function):
3977 Explicitly ignore case. (Bug#22262)
3979 2016-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
3981 (semantic-symref-derive-find-filepatterns): Return a list
3983 * lisp/cedet/semantic/symref/grep.el
3984 (semantic-symref-derive-find-filepatterns): Return a list.
3985 (semantic-symref-perform-search): Quote the result here once and for all.
3987 2016-01-02 Eli Zaretskii <eliz@gnu.org>
3989 Fix xref-find-references on MS-Windows
3991 * lisp/cedet/semantic/symref/grep.el
3992 (semantic-symref-derive-find-filepatterns): Use
3993 'shell-quote-argument' instead of manually quoting in a way that
3994 only works with Posix shells. (Bug#22289)
3996 2016-01-02 Eli Zaretskii <eliz@gnu.org>
3998 Document new features of tildify-mode
4000 * lisp/textmodes/tildify.el (tildify-foreach-ignore-environments)
4001 (tildify-mode): Spelling fixes in doc strings.
4003 * etc/NEWS: Reformat the tildify-mode entry.
4005 2016-01-02 Eli Zaretskii <eliz@gnu.org>
4007 Document new features of Whitespace mode
4009 * doc/emacs/display.texi (Useless Whitespace): Document
4010 'whitespace-toggle-options' and the new 'big-indent' style.
4011 Document 'whitespace-big-indent-regexp'. Document the Global
4014 2016-01-02 Eli Zaretskii <eliz@gnu.org>
4016 Improve documentation of new Hide-IfDef features
4018 * etc/NEWS: Expand and reword Hide-IfDef section.
4020 2016-01-02 Leo Liu <sdl.web@gmail.com>
4022 Fix regression in font-locking cl-assert and cl-check-type
4024 * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Fix
4027 2016-01-01 Paul Eggert <eggert@cs.ucla.edu>
4029 Spelling and grammar fixes
4031 2016-01-01 Paul Eggert <eggert@cs.ucla.edu>
4033 Fix copyright years by hand
4035 These are dates that admin/update-copyright did not update, or
4036 updated incorrectly.
4038 2016-01-01 Paul Eggert <eggert@cs.ucla.edu>
4040 Update copyright year to 2016
4042 Run admin/update-copyright.
4044 2016-01-01 Paul Eggert <eggert@cs.ucla.edu>
4048 This mostly just updates copyright dates of gnulib files.
4049 It also updates to the latest version of texinfo.tex.
4051 2015-12-31 Mark Oteiza <mvoteiza@udel.edu>
4053 lisp/emacs-lisp/chart.el (chart-new-buffer): Move to silence byte compiler.
4055 2015-12-31 Mark Oteiza <mvoteiza@udel.edu>
4057 Port chart.el methods to cl-generic.
4059 cl-call-next-method cannot be used inside EIEIO's defmethod.
4060 * lisp/emacs-lisp/chart.el: Require cl-generic at compile time.
4061 * lisp/emacs-lisp/chart.el (initialize-instance, chart-draw):
4062 (chart-draw-title, chart-size-in-dir, chart-draw-axis):
4063 (chart-axis-draw, chart-translate-xpos, chart-translate-ypos):
4064 (chart-translate-namezone, chart-draw-data, chart-add-sequence):
4065 (chart-trim, chart-sort): Use cl-defmethod instead of defmethod.
4067 2015-12-31 Brian Burns <bburns.km@gmail.com>
4069 Add nt/INSTALL.W64 build instructions
4071 * nt/INSTALL.W64: New file.
4072 * nt/INSTALL: Point to INSTALL.W64 for 64-bit build instructions.
4074 2015-12-31 Joakim Jalap <joakim.jalap@fastmail.com>
4076 Add new input method 'programmer-dvorak'
4078 * lisp/leim/quail/programmer-dvorak.el ("programmer-dvorak"): New
4081 * etc/NEWS: Mention it.
4083 2015-12-31 Eli Zaretskii <eliz@gnu.org>
4085 Allow to invoke original M-TAB binding in 'flyspell-prog-mode'
4087 * lisp/textmodes/flyspell.el (flyspell-prog-mode): Record the
4088 original M-TAB binding in a buffer-local variable.
4089 (flyspell-auto-correct-word): Invoke the original binding of M-TAB
4090 if that is recorded, when point is in a place where flyspell
4091 should not be active (e.g., because the user turned on
4092 'flyspell-prog-mode'). (Bug#18533)
4094 2015-12-31 Eli Zaretskii <eliz@gnu.org>
4096 Fix EWW rendering of long RTL lines
4098 * lisp/net/shr.el (shr-insert-document): Undo any previous hscroll
4099 of the selected window before filling its lines. (Bug#22250)
4101 2015-12-31 Vincent Belaïche <vincentb1@users.sourceforge.net>
4105 * lisp/ses.el (ses-check-curcell): Call `ses-set-curcell' unconditionally
4107 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4109 Clean up cairo printing code
4111 * src/gtkutil.c (xg_get_page_setup): Use listn.
4112 * src/xfns.c (Fx_export_frames, Fx_print_frames_dialog): Doc fix. Use
4113 decode_window_system_frame and FRAME_VISIBLE_P.
4114 (Fx_print_frames_dialog): Use redisplay_preserve_echo_area instead
4116 * src/xterm.c (x_cr_export_frames): Use redisplay_preserve_echo_area
4117 instead of Fdisplay. Temporarily unblock_input around QUIT.
4119 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4121 Move variables to inner loop, preparing for Mac port merge
4123 * src/keyboard.c (command_loop_1): Move variables `cmd',
4124 `keybuf', and `i' to inner loop.
4126 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4128 Add handle_user_signal_hook
4130 * src/keyboard.h (handle_user_signal_hook): New declaration.
4131 * src/keyboard.c (handle_user_signal_hook): New variable.
4132 (handle_user_signal): Call it.
4134 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4136 Avoid writing to purespace
4138 * src/alloc.c (Fmake_string): Don't write to empty string contents.
4139 (allocate_vector): Don't write to empty vector size.
4140 * src/character.h (CHECK_CHARACTER_CAR, CHECK_CHARACTER_CDR):
4141 Don't call unnecessary XSETCAR or XSETCDR.
4142 * src/lisp.h (STRING_SET_UNIBYTE, STRING_SET_MULTIBYTE): Don't
4143 write to empty string size_byte.
4145 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4147 Remove unused variable
4149 * lisp/international/mule-cmds.el: Remove unused variable
4150 `mac-system-coding-system'.
4152 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4154 * configure.ac: Find libxml2 headers in Xcode SDK dir on Darwin.
4156 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4158 Use posix_openpt instead of openpty on Darwin
4160 * configure.ac (PTY_ITERATION, FIRST_PTY_LETTER, PTY_OPEN)
4161 (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Remove
4162 Darwin-specific definitions. Use posix_openpt instead.
4164 2015-12-30 Shakthi Kannan <shakthimaan@gmail.com>
4166 Document support for ':documentation' in Lisp mode
4168 * lisp/emacs-lisp/lisp-mode.el (lisp-string-in-doc-position-p)
4169 (lisp-string-after-doc-keyword-p)
4170 (lisp-font-lock-syntactic-face-function): Add doc strings.
4172 2015-12-30 Shakthi Kannan <shakthimaan@gmail.com>
4174 Document new features of TeX mode
4176 * doc/emacs/text.texi (TeX Print): Document
4177 'tex-print-file-extension'.
4178 * doc/emacs/programs.texi (Misc for Programs): Document support
4179 for Prettify Symbols mode in TeX mode.
4181 2015-12-30 Eli Zaretskii <eliz@gnu.org>
4183 Clarify docs of hscroll in RTL text
4185 * doc/lispref/windows.texi (Horizontal Scrolling): Clarify the
4186 meaning of a window's horizontal scroll amount for RTL paragraphs.
4188 2015-12-30 Eli Zaretskii <eliz@gnu.org>
4190 Fix rendering of HTML pages that use character composition
4192 * src/indent.c (Fvertical_motion): Fix the case when point starts
4193 in the middle of a composition, as in shr-vertical-motion.
4196 2015-12-30 Eli Zaretskii <eliz@gnu.org>
4198 Avoid some compiler warnings in w32.c
4200 * src/w32.c (codepage_for_filenames, crlf_to_lf)
4201 (ansi_encode_filename, socket_to_fd, sys_write)
4202 (check_windows_init_file): Avoid compiler warnings about
4203 differences in pointer signedness.
4205 2015-12-30 Dmitry Gutov <dgutov@yandex.ru>
4207 Undo ill-advised change
4209 * lisp/progmodes/xref.el (xref-collect-matches): Undo
4210 ill-advised change. The hits come in the order that `find'
4211 produces them in, which isn't alphabetical.
4213 2015-12-30 Dmitry Gutov <dgutov@yandex.ru>
4215 Unbreak completion in python-mode buffers
4217 * lisp/progmodes/python.el (python-shell-completion-at-point):
4218 Unbreak in python-mode buffers.
4220 2015-12-29 Eli Zaretskii <eliz@gnu.org>
4222 Fix typos in CC Mode manual
4224 * doc/misc/cc-mode.texi (c-offsets-alist, Style Variables): Fix
4227 2015-12-29 Eli Zaretskii <eliz@gnu.org>
4229 Avoid assertion violations in compact_font_cache_entry
4231 * src/alloc.c (compact_font_cache_entry): Don't use VECTORP to
4232 avoid assertion violation in ASIZE. (Bug#22263)
4234 2015-12-29 Eli Zaretskii <eliz@gnu.org>
4236 Fix filling text with bidirectional characters in shr.el
4238 * lisp/net/shr.el (shr-insert-document): Bind
4239 bidi-display-reordering to nil while filling lines. This is
4240 required for when a line includes characters whose bidi
4241 directionality is opposite to the base paragraph direction,
4242 because columns are counted in the logical order. (Bug#22250)
4244 2015-12-29 Martin Rudalics <rudalics@gmx.at>
4246 * src/xfns.c (x_create_tip_frame): Process alpha parameter.
4248 2015-12-29 Michael Albinus <michael.albinus@gmx.de>
4250 Sync with Tramp 2.2.13
4252 * doc/misc/trampver.texi: Change version to "2.2.13.25.1".
4254 * lisp/net/tramp-compat.el (tramp-compat-delete-dups):
4255 Use `tramp-compat-funcall'.
4257 * lisp/net/tramp-gvfs.el (tramp-gvfs-parse-device-names):
4258 Make `split-string' call compatible with older Emacsen.
4260 * lisp/net/trampver.el: Change version to "2.2.13.25.1".
4262 2015-12-29 Lambda Coder <sjLambda@gmail.com>
4264 * doc/misc/tramp.texi: Editorial revisions to the Tramp manual
4266 2015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
4268 Mention that tls.el is secure by default, and will fail
4270 2015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
4272 Make tls.el use trustfiles by default
4274 * lisp/net/tls.el (tls-program): Add a certfile by default (bug#21227).
4275 (open-tls-stream): Insert the trustfile by looking at
4276 `gnutls-trustfiles'.
4278 2015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
4280 Refactor out gnutls-trustfiles
4282 * lisp/net/gnutls.el (gnutls-trustfiles): Refactor out for reuse by tls.el.
4284 2015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
4286 Remove --insecure from gnutls-cli invocation
4288 * tls.el (tls-program): Default to using secure TLS
4289 connections (bug#19284).
4291 2015-12-29 Paul Eggert <eggert@cs.ucla.edu>
4295 2015-12-29 Paul Eggert <eggert@cs.ucla.edu>
4297 Port report-emacs-bug to deterministic builds
4299 * lisp/mail/emacsbug.el (report-emacs-bug): Future-proof the
4300 recent "built on" change to deterministic builds where
4301 emacs-build-system will be nil. See:
4302 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg01369.html
4304 2015-12-29 Jose A. Ortega Ruiz <jao@gnu.org> (tiny change)
4306 Fix URL auth error message
4308 * lisp/url/url-http.el (url-http-handle-authentication): Make the error
4309 message more correct (bug#20069).
4311 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
4313 shr link traversal fixup
4315 * shr.el (shr-next-link): Don't bug out on adjacent links.
4319 (cherry picked from commit 1efc5f8b09273c359683ce13be95fb5df7a84311)
4321 2015-12-28 Tom Tromey <tom@tromey.com>
4323 set :safe on css-indent-offset
4325 * lisp/textmodes/css-mode.el (css-indent-offset): Add :safe 'integerp.
4327 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
4329 * eww.el (eww-mode): Remove superfluous bidi reset.
4331 2015-12-28 James Stout <james.wolf.stout@gmail.com> (tiny change)
4333 Make chunked encoding trailer detection more compliant
4335 * lisp/url/url-http.el
4336 (url-http-chunked-encoding-after-change-function): Make
4337 trailer detection more compliant (bug#16345).
4339 2015-12-28 Martin Rudalics <rudalics@gmx.at>
4341 Fix Bug#10873 in `report-emacs-bug'
4343 * lisp/mail/emacsbug.el (report-emacs-bug): If
4344 `report-emacs-bug-no-explanations' is nil, make sure we can show
4345 mail and warnings buffer on this frame (Bug#10873).
4347 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
4349 Always reset the bidi direction
4351 * eww.el (eww-display-html): Always reset the bidi direction
4352 to `left-to-right' (bug#22257).
4354 2015-12-28 Alan Mackenzie <acm@muc.de>
4356 Allow line comments ending with escaped NL to be continued to the next line.
4358 Use this in C, C++, and Objective C Modes. Fixes bug#22246
4360 * src/syntax.c (comment-end-can-be-escaped): New buffer local variable.
4361 (forw-comment, back-comment): On encountering an end of comment character,
4362 test whether it is escaped when `comment-end-can-be-escaped' is non-nil.
4364 * doc/lispref/syntax.texi (Control Parsing): Describe
4365 `comment-end-can-be-escaped'.
4367 * etc/NEWS (Lisp Changes): Describe `comment-end-can-be-escaped'.
4369 * lisp/progmodes/cc-langs.el: New c-lang-setvar `comment-end-can-be-escaped'.
4371 2015-12-28 Dmitry Gutov <dgutov@yandex.ru>
4373 Rename project-library-roots to project-external-roots
4375 * lisp/progmodes/project.el (project-library-roots): Rename to
4376 project-external-roots.
4377 (project-library-roots-function): Rename to
4378 project-vc-external-roots-function. Only use it in the VC
4379 backend, for now. Update project-external-roots accordingly.
4380 (project-vc-library-roots): Remove.
4381 (project-or-libraries-find-regexp):
4382 Rename to project-or-external-find-regexp.
4384 * lisp/progmodes/elisp-mode.el (elisp-library-roots):
4385 Rename to elisp-load-path-roots.
4387 * lisp/progmodes/etags.el (etags-library-roots): Remove. Use
4388 an anonymous function for the default value of
4389 project-vc-external-roots-function.
4391 2015-12-27 Deniz Dogan <deniz@dogan.se>
4393 Clear erc user list upon disconnection
4395 * lisp/erc/erc-backend.el (erc-process-sentinel): Clear channel user
4396 lists upon disconnection. This prevents invalid channel
4397 user lists when reconnecting (bug#10947).
4399 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4401 Don't bug out in erc after waking from sleep
4403 * lisp/erc/erc-backend.el (erc-server-send-ping): If the server has
4404 closed connection, this may already have been detected and
4405 `erc-server-last-received-time' has been set to nil (bug#13608).
4407 2015-12-27 David Edmondson <dme@dme.org>
4409 Proxy error in erc with multiple clients
4411 * lisp/erc/erc.el (erc-channel-receive-names): Fix errors
4412 generated when multiple IRC clients talk to a single IRC proxy
4417 (cherry picked from commit 507e98a54d1aa37823c64993d6b59257a82fe8f4)
4419 2015-12-27 Dima Kogan <dima@secretsauce.net>
4421 Ensure that we don't have several timers in erc
4423 * lisp/erc/erc-backend.el (erc-server-setup-periodical-ping): Checks
4424 for existing timers in the alist before adding new ones. If a
4425 timer already exists, it is cancelled and
4426 overwritten. (bug#19292).
4428 2015-12-27 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
4430 Fix mml-sec build warnings
4432 * lisp/gnus/mml-sec.el: Fix warnings by adding autoloads
4437 (cherry picked from commit 3603097f62f5f4aa5451716e9ac380161f6829e2)
4439 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4441 Don't insert erc logs at the end
4443 * lisp/erc/erc-log.el (erc-log-setup-logging): Insert the previous log
4444 at the start of the buffer, not at the end (bug#20496).
4446 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4448 (eww-setup-buffer): Restore left-to-right defaults
4450 * eww.el (eww-setup-buffer): Restore left-to-right defaults.
4454 (cherry picked from commit 96c874b96b617c124d500a94de761a61f2a08685)
4456 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4458 Don't join erc channels doubly
4460 * lisp/erc/erc-join.el (erc-autojoin-channels): Don't join channels
4461 more than once (if you have several nicks) (bug#20695).
4463 2015-12-27 Eli Zaretskii <eliz@gnu.org>
4465 Avoid leaving "ghost" of mouse pointer on MS-Windows
4467 * src/w32term.c (frame_set_mouse_pixel_position):
4468 * src/w32fns.c (Fw32_mouse_absolute_pixel_position): Momentarily
4469 disable "mouse trails" when moving the mouse pointer. (Bug#22247)
4470 * src/w32term.c (frame_set_mouse_pixel_position): Include
4473 2015-12-27 Krzysztof Jurewicz <krzysztof.jurewicz@gmail.com> (tiny change)
4475 Fix auth source lookups from erc with port numbers
4477 * lisp/erc/erc.el (erc-open): `auth-source' wants strings, not port
4478 numbers (bug#20541).
4480 2015-12-27 Fran Litterio <flitterio@gmail.com>
4482 Run erc-kill-channel-hook always on exit
4484 * lisp/erc/erc.el (erc-kill-buffer-function): Run erc-kill-channel-hook
4485 when erc-kill-queries-on-quit is set (bug#21187).
4487 2015-12-27 Paul Eggert <eggert@cs.ucla.edu>
4491 * test/automated/url-parse-tests.el:
4492 (url-generic-parse-url/same-document-reference):
4493 Rename from url-generic-parse-url/same-decument-reference.
4495 2015-12-27 Paul Eggert <eggert@cs.ucla.edu>
4497 Reword initial *scratch* for brevity, appearance
4499 * lisp/startup.el (initial-scratch-message):
4500 Reword to avoid apostrophes, and to make it shorter.
4501 See the thread starting in:
4502 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg01241.html
4504 2015-12-26 Leo Liu <sdl.web@gmail.com>
4506 Add ert-deftest to lisp-mode.el
4508 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression,
4509 lisp-el-font-lock-keywords-1): Add ert-deftest.
4511 2015-12-26 Lars Ingebrigtsen <larsi@gnus.org>
4513 Mark imap changes as not needing doc changes
4515 * lisp/net/imap.el (imap-ssl-open): Remove
4517 2015-12-26 Lars Ingebrigtsen <larsi@gnus.org>
4519 Use built-in encryption in imap.el
4521 * lisp/net/imap.el (imap-ssl-program): Remove (bug#21134).
4522 (imap-starttls-open): Use open-network-stream instead of starttls.el.
4523 (imap-tls-open): Use open-network-stream instead of tls.el.
4525 2015-12-26 Eli Zaretskii <eliz@gnu.org>
4527 Don't try using /bin/sh in artist.el on MS-Windows
4529 * lisp/textmodes/artist.el (artist-figlet-get-font-list-windows):
4531 (artist-figlet-choose-font): Use it on MS-Windows and MS-DOS.
4534 2015-12-26 Wolfgang Jenkner <wjenkner@inode.at>
4536 Always define gmalloc etc. in src/gmalloc.c
4538 This is a work-around to prevent the compiler from using semantic
4539 knowledge about malloc for optimization purposes. E.g., gcc 5.2
4540 with -O2 replaces most of calloc's definition by a call to calloc;
4542 * src/gmalloc.c [!HYBRID_MALLOC] (malloc, realloc, calloc)
4543 (aligned_alloc, free): Do not undef. Instead, define these as
4544 functions (perhaps renamed to gmalloc etc.) in terms of gmalloc etc.
4546 2015-12-26 Eli Zaretskii <eliz@gnu.org>
4548 Fix documentation of browse-url browser-related functions
4550 * lisp/net/browse-url.el (browse-url)
4551 (browse-url-default-browser, browse-url-default-windows-browser)
4552 (browse-url-default-macosx-browser, browse-url-chromium)
4553 (browse-url-kde, browse-url-text-xterm): Clarify the usage of ARGS
4554 and NEW-WINDOW arguments in these functions. (Bug#19421)
4556 2015-12-26 Paul Eggert <eggert@cs.ucla.edu>
4558 Propagate Bug#14412 fix to backtrace_eval_unrewind
4560 * src/eval.c (unbind_to): Redo so that the FALLTHROUGH!! comment
4561 becomes accurate again. This shouldn’t affect behavior.
4562 (backtrace_eval_unrewind): Apply the recent unbind_to fix here, too.
4564 2015-12-26 Eli Zaretskii <eliz@gnu.org>
4566 Don't produce non-ASCII characters in *scratch*
4568 * lisp/startup.el (initial-scratch-message): Quote apostrophes to
4569 avoid producing non-ASCII characters in the *scratch* buffer's
4572 2015-12-26 Eli Zaretskii <eliz@gnu.org>
4574 Document changes in 'compare-windows'
4576 * lisp/vc/compare-w.el (compare-windows-removed)
4577 (compare-windows-added): Doc fix.
4579 * doc/emacs/files.texi (Comparing Files): Document the changes in
4580 window selection by 'compare-windows'.
4582 2015-12-26 Eli Zaretskii <eliz@gnu.org>
4584 Document 'vc-annotate-background-mode'
4586 * doc/emacs/maintaining.texi (Old Revisions): Document
4587 'vc-annotate-background-mode'.
4589 2015-12-26 Eli Zaretskii <eliz@gnu.org>
4591 Document 'vc-region-history'
4593 * doc/emacs/maintaining.texi (VC Change Log): Document
4594 'vc-region-history'.
4596 2015-12-26 Eli Zaretskii <eliz@gnu.org>
4598 Improve documentation of 'vc-push'
4600 * doc/emacs/maintaining.texi (Pulling / Pushing): Expand and
4601 improve the documentation of 'vc-push'.
4603 * lisp/vc/vc.el (vc-pull, vc-push): Doc fix.
4605 2015-12-26 Alain Schneble <a.s@realize.ch>
4607 Include the tests for the URL parsing fixes
4609 2015-12-26 Alain Schneble <a.s@realize.ch>
4611 Make relative URL parsing and resolution consistent with RFC 3986 (bug#22044)
4613 * test/automated/url-parse-tests.el: Add tests covering url-generic-parse-url.
4614 * test/automated/url-expand-tests.el: Add tests covering url-expand-file-name.
4615 * lisp/url/url-parse.el (url-generic-parse-url): Keep empty fragment
4616 information in URL-struct.
4617 * lisp/url/url-parse.el (url-path-and-query): Do not artificially turn empty
4618 path and query into nil path and query, respectively.
4619 * lisp/url/url-expand.el (url-expander-remove-relative-links): Do not turn
4620 empty path into an absolute ("/") path.
4621 * lisp/url/url-expand.el (url-expand-file-name): Properly resolve
4622 fragment-only URIs. Do not just return them unchanged.
4623 * lisp/url/url-expand.el (url-default-expander): An empty path in the relative
4624 reference URI should not drop the last segment.
4628 (cherry picked from commit b792ecea1715e080ad8e232d3d154b8a25d2edfb)
4630 2015-12-26 Eli Zaretskii <eliz@gnu.org>
4632 Document 'url-user-agent'.
4634 * lisp/url/url-http.el (url-user-agent): Move from here...
4635 * lisp/url/url-vars.el (url-user-agent): ...to here. This is to
4636 keep all the URL defcustoms in one place, and also have it defined
4637 whenever the URL library is loaded.
4639 * doc/misc/url.texi (Customization): Document 'url-user-agent'.
4641 2015-12-26 Eli Zaretskii <eliz@gnu.org>
4643 Document protocols supported by URL library via Tramp
4645 * doc/misc/url.texi (Tramp): New node, describes the URL schemes
4646 supported via Tramp.
4647 (Supported URL Types, file/ftp, rlogin/telnet/tn3270): Mention
4650 2015-12-26 Eli Zaretskii <eliz@gnu.org>
4652 Document changes in Shell-script mode
4654 * lisp/progmodes/sh-script.el (sh-mode, sh-set-shell): Document
4655 the 'sh-shell' file-local variable.
4656 (top level): Add an auto-load form to avoid byte-compiler warning
4657 about 'comint-send-string'.
4659 2015-12-26 Eli Zaretskii <eliz@gnu.org>
4661 Fix documentation of 'ses-define-local-printer'
4663 * doc/misc/ses.texi (Printer functions): Fix whitespace between
4664 sentences and punctuation. Add an index entry for
4665 'ses-define-local-printer'.
4667 2015-12-26 Shakthi Kannan <shakthimaan@gmail.com>
4669 Document 'ert-summarize-tests-batch-and-exit'
4671 * doc/misc/ert.texi (Running Tests in Batch Mode): Document
4672 'ert-summarize-tests-batch-and-exit'.
4674 2015-12-26 Eli Zaretskii <eliz@gnu.org>
4676 Avoid assertion violation in unbind_to
4678 * src/eval.c (unbind_to) <SPECPDL_LET>: Avoid assertion violation
4679 if we get here with an object that is not a symbol. (Bug#14412)
4681 2015-12-25 Andreas Schwab <schwab@linux-m68k.org>
4683 Don't treat /foo/bar:mumble as ange-ftp address
4685 * lisp/net/browse-url.el (browse-url-filename-alist): Match colons
4686 only in the first component. (bug#5362)
4688 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4690 Follow <meta> redirects in eww
4692 Merge conflict, but I think I resolved it.
4694 Follow meta refresh tags in eww
4696 * eww.el (eww-tag-meta): Follow meta refresh tags (bug#22234).
4700 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4702 Allow http://user:pass@foo/ URLs again
4704 * lisp/url/url-auth.el (url-basic-auth): Allow explicit
4705 user/passwords in URLs (bug#19046).
4709 (cherry picked from commit b563715a2db265517d5a77f165a42afa1e233fdd)
4711 2015-12-25 Samer Masterson <samer@samertm.com>
4713 Autoload url-insert-buffer-contents
4715 * lisp/url/url-handlers.el: Add autoload cookie so that
4716 `package-list-packages' doesn't bug out (bug#21927) (tiny change)
4720 (cherry picked from commit 7a7b5b492ff9929eecd90c4564db6fbf3b192323)
4722 2015-12-25 Eli Zaretskii <eliz@gnu.org>
4724 Make sure *scratch* etc. use forward slashes in its default-directory
4726 * lisp/startup.el (normal-top-level): On MS-Windows, convert
4727 backslashes to forward slashes while decoding default-directory
4728 of the initially-created buffers.
4730 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4732 More eww file name coding fixes
4734 * eww.el (eww-decode-url-file-name): Use the base coding
4735 system to check for encodability.
4739 (cherry picked from commit a8627008abe4ab339df19b417776da28b3ce0fc7)
4741 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4743 Always save eww history
4745 * eww.el (eww-setup-buffer): Always save history, even when
4746 called from outside the eww buffer (bug#19638).
4750 (cherry picked from commit 2a0f18d9b6ce0ccce3d9c4a4a3b5743bae71b41e)
4752 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4754 Default web pages to right-to-left
4756 * eww.el (eww-mode): Most web pages are left-to-right, so make
4757 that the default (bug#19801).
4759 * shr.el (shr-tag-html): Respect "dir" attributes
4760 (left-to-right, right-to-left).
4764 (cherry picked from commit 9e089ec8a380ec3758fcf1564c5f86dc92c68c2a)
4766 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4768 Make toggling checkboxes work again
4770 * eww.el (eww-update-field): Make toggling checkboxes work
4775 (cherry picked from commit 5e56f606952e5e81b4d3a93ea70e791b74b33041)
4777 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4779 Don't store cookies with empty names
4781 * lisp/url/url-cookie.el (url-cookie-store): Refuse to store
4782 cookies with empty names (bug#21936).
4786 (cherry picked from commit 9f0fd7cb1aec3eb9e2e0f7b8854c30870286d96c)
4788 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4790 Stop rendering HTML before specdlr exhaustion
4794 * shr.el (shr-descend): Stop rendering before we run out of
4795 specpdl room (bug#22117).
4799 (cherry picked from commit 248da292fe46224b0b5a79b632c89cf4de2c2081)
4801 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4803 Use cl-reduce, not reduce.
4807 (cherry picked from commit fe4606f93b91ff3d046aee0cf21ecc277af7a786)
4809 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4811 Allow several <tbody> tags in shr
4813 * shr.el (shr-table-body): New function to find the real body
4815 (shr-tag-table): Use it to render several <tbody> tags in a
4820 (cherry picked from commit cdaf33029d6620073833876d76056045ecfbc7c4)
4822 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4824 Make prettier unique file names in eww
4826 (eww-make-unique-file-name): Make unique file names by making
4827 files like foo(2).jpg instead of foo(1)(2).jpg.
4831 (cherry picked from commit edfdd0a6cbdfa9e5e4bd0553e2b489401ca39266)
4833 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4835 Decode hex-encoded URLs before using them as file names
4837 * eww.el (eww-decode-url-file-name): New function.
4838 (eww-download-callback): Use it to decode file names before
4843 (cherry picked from commit af22a010d87516c2a646572fb27512c03057784f)
4845 2015-12-25 Ashish SHUKLA <ashish.is@lostca.se>
4847 Add FreeBSD cert bundle
4849 * doc/misc/emacs-gnutls.texi (Help For Users): Document
4852 * lisp/net/gnutls.el (gnutls-trustfiles): Add FreeBSD cert bundle.
4856 (cherry picked from commit 60c0f1a18ad88d6dc1a8f4ee5d9d18940eaeb6f7)
4858 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4860 Ignore invalid SVG images
4862 * shr.el (shr-tag-svg): Ignore SVG images that have no width
4863 or height, because these can't be displayed by ImageMagick,
4868 (cherry picked from commit 821107d53c2e390240d25c036b99ebbf9b4a93b6)
4870 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4872 shr table rendering fix
4874 * shr.el (shr-tag-table): Allow rendering body-less tables
4879 (cherry picked from commit b05471e42c17e02c56c87d7599ada0c124a5fe09)
4881 2015-12-25 Eli Zaretskii <eliz@gnu.org>
4883 Restore info about the build host in bug reports
4885 * lisp/mail/emacsbug.el (report-emacs-bug): Report the system on
4886 which Emacs was built. This is important information for
4887 investigating bug reports reported by users who don't build their
4890 2015-12-25 Eli Zaretskii <eliz@gnu.org>
4892 Fix bootstrap broken by changes related to OS X file-name encoding
4894 * lisp/international/ucs-normalize.el (eval-when-compile): Make
4895 sure char-code-property-alist includes elements that allow access
4896 to 'decomposition' and 'canonical-combining-class' Unicode
4897 properties, as compiling ucs-normalize.el requires that.
4898 * lisp/loadup.el (featurep 'ns): Load ucs-normalize and ns-win
4899 only of charprop.el was already loaded.
4901 * src/Makefile.in ($(lispsource)/international/ucs-normalize.elc):
4902 New order-only dependency.
4904 2015-12-25 Leo Liu <sdl.web@gmail.com>
4906 * lisp/ido.el (ido-add-virtual-buffers-to-list): Use bookmark-get-filename.
4908 2015-12-25 Michael Albinus <michael.albinus@gmx.de>
4910 Make tramp-test29-vc-registered more robust
4912 * test/automated/tramp-tests.el (tramp-test29-vc-registered):
4913 Move `bzr' case down. Skip test when `vc-create-repo' fails.
4914 Remove instrumentation.
4916 2015-12-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4918 * lisp/term/x-win.el (x-gtk-stock-map): Fix typo.
4920 2015-12-24 Katsumi Yamaoka <yamaoka@jpl.org>
4922 Fix `gnus-union' so as to behave like `cl-union'
4924 * lisp/gnus/gnus-group.el (gnus-group-prepare-flat):
4925 Make gnus-union use `equal' to compare items in lists.
4927 * lisp/gnus/gnus-util.el (gnus-union):
4928 Make it behave like cl-union partially.
4930 2015-12-23 Paul Eggert <eggert@cs.ucla.edu>
4932 Fix dired.c typo with ptrdiff_t vs Lisp_Object
4934 * src/dired.c (file_name_completion): Don't assume Lisp_Object is
4935 an integer type, fixing a problem introduced in the recent fix for
4938 2015-12-23 Eli Zaretskii <eliz@gnu.org>
4940 Document default process sentinel more prominently
4942 * doc/lispref/processes.texi (Asynchronous Processes): Mention the
4943 defaults for process filter and sentinel. Provide cross-references.
4944 (Process Information): Provide cross-references to where filters
4945 and sentinels are described.
4946 (Filter Functions): Add an index entry for "default filter".
4947 (Sentinels): Add a few status messages not documented previously.
4948 Resolve the "killed" confusion. Document and describe the default
4949 sentinel. (Bug#22220)
4951 2015-12-23 Eli Zaretskii <eliz@gnu.org>
4953 Fix file-name completion on OS X
4955 * src/dired.c (file_name_completion): Reject false matches due to
4956 file-name-coding-systems that decompose characters when encoding
4957 file names, by comparing decoded file names as well. (Bug#22169)
4958 (syms_of_dired) <Qdecomposed_characters>: New DEFSYM.
4960 * lisp/international/ucs-normalize.el (utf-8-hfs): Give it a
4961 non-nil 'decomposed-characters' property.
4963 2015-12-23 Anders Lindgren <andlind@gmail.com>
4965 File-name completion of non-ASCII characters on OS X (bug#22169)
4967 The coding system `utf-8-nfd', locally defined in ns-win.el,
4968 didn't provide a :pre-write-conversion method, causing file name
4969 completion of non-ASCII characters to fail. Solved by using the
4970 `utf-8-hfs' coding system provided by `ucs-normalize'.
4972 * lisp/loadup.el: Load international/ucs-normalize (when building
4975 * lisp/term/ns-win.el (utf-8-nfd): Made `utf-8-nfd' as alias for
4976 `utf-8-hfs' and removed the old implementation. Set `utf-8-hfs'
4977 as the file name coding system.
4979 * src/nsfns.m (ns-convert-utf8-nfd-to-nfc): Removed.
4981 2015-12-23 Tom Tromey <tom@tromey.com>
4983 Fix bug #18588 by making bug-reference-bug-regexp more lenient
4985 * lisp/progmodes/bug-reference.el (bug-reference-bug-regexp): Accept
4986 "bug NNNN". (Bug #18588)
4988 2015-12-23 Tom Tromey <tom@tromey.com>
4990 add some cl-* aliases to lisp-mode imenu
4992 * (lisp-imenu-generic-expression): Add cl-define-compiler-macro,
4993 cl-defgeneric, and cl-defmethod.
4995 2015-12-22 Tom Tromey <tom@tromey.com>
4997 Make a variable buffer-local
4999 * lisp/generic-x.el (generic-rul-mode-setup-function): Make
5000 font-lock-syntax-table buffer-local. (Bug #21627)
5002 2015-12-22 Eli Zaretskii <eliz@gnu.org>
5004 Fix decoding of text in URLs retrieved by EWW
5006 * lisp/net/eww.el (eww-render): Pass 'charset' to
5007 'eww-display-raw'. Use the value of 'last-coding-system-used', if
5008 non-nil, to set 'buffer-file-coding-system' of the buffer where we
5010 (eww-display-html, eww-display-raw): Decode the text correctly,
5011 using the charset found in the headers, and defaulting to UTF-8.
5012 If the user told us to use a specific encoding, override the
5013 charset from the headers. (Bug#22222)
5015 2015-12-22 Alan Mackenzie <acm@muc.de>
5017 Fix a coding error in c-forward-<>-arglist-recur. Fixes bug#22156
5019 * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): Remove unused
5021 After a failed search for a matching ">", restore point before continuing.
5023 2015-12-22 Michael Albinus <michael.albinus@gmx.de>
5025 Instrument Tramp tests
5027 * test/automated/tramp-tests.el (tramp-test29-vc-registered)
5028 (tramp--test-utf8): Instrument tests.
5030 2015-12-22 Martin Rudalics <rudalics@gmx.at>
5032 Fix `display-buffer' call in `display-message-or-buffer' (Bug#22221)
5034 * lisp/simple.el (display-message-or-buffer): Call
5035 `display-buffer' with ACTION instead of NOT-THIS-WINDOW
5038 2015-12-22 Juri Linkov <juri@linkov.net>
5040 * lisp/saveplace.el (toggle-save-place, save-place-to-alist)
5042 (save-places-to-alist, save-place-dired-hook):
5043 Check for dired-subdir-alist. (Bug#19851)
5045 2015-12-21 Paul Eggert <eggert@cs.ucla.edu>
5047 Add FIXME comment re stack overflow and modules
5049 2015-12-21 Paul Eggert <eggert@cs.ucla.edu>
5051 Revert some recent emacs-module commentary
5053 Most of the recently-added commentary was incorrect, due to the
5054 possibility of stack overflow.
5056 2015-12-21 Paul Eggert <eggert@cs.ucla.edu>
5058 Spelling fix: prefer "cooperate" to "co-operate"
5060 2015-12-21 Paul Eggert <eggert@cs.ucla.edu>
5062 Port undo fixes to -fno-common
5064 Port recent fix for Bug#21968 to platforms like 'gcc -fno-common'.
5065 * src/keyboard.c, src/keyboard.h (point_before_last_command_or_undo)
5066 (buffer_before_last_command_or_undo):
5067 Declare in keyboard.h, and define in keyboard.c,
5068 instead of assuming the traditional Unix relaxed ref-def linkage.
5070 2015-12-20 Philipp Stephani <phst@google.com>
5072 Improve commentary for emacs-module.c
5074 * src/lisp.h: Document emacs-module.c assumptions about EQ and NILP.
5075 * src/emacs-module.c (module_non_local_exit_get): Document that we
5076 cannot use the current implementation.
5077 (module_is_not_nil, module_eq): Document assumptions about EQ and
5080 2015-12-20 Michael Albinus <michael.albinus@gmx.de>
5082 Suppress test on Mac OS X
5084 * test/automated/tramp-tests.el (tramp--test-darwin-p): New defun.
5085 (tramp--test-utf8): Use it.
5087 2015-12-20 Alan Mackenzie <acm@muc.de>
5089 Merge branch 'scratch/follow' into emacs-25
5091 This allows Isearch, etc., to work well when Follow Mode is active.
5093 2015-12-19 Michael Albinus <michael.albinus@gmx.de>
5095 * lisp/net/tramp-sh.el (tramp-get-ls-command-with-w-option): Improve check.
5097 2015-12-19 Eli Zaretskii <eliz@gnu.org>
5101 * doc/emacs/rmail.texi (Rmail Deletion): Document new behavior of 'u'
5102 with numeric argument.
5104 2015-12-19 Eli Zaretskii <eliz@gnu.org>
5106 Document new features of Rmail
5108 * doc/emacs/rmail.texi (Rmail Summary Edit, Rmail Deletion):
5109 Document new behavior of 'd' and 'C-d' with numeric argument.
5110 (Rmail Display): Document the rendering of HTML MIME parts.
5112 2015-12-19 Eli Zaretskii <eliz@gnu.org>
5114 Improve documentation of new cl-lib functions
5116 * doc/misc/cl.texi (Predicates on Numbers, Numerical Functions):
5119 2015-12-19 Eli Zaretskii <eliz@gnu.org>
5121 Document the new feature of 'minibuffer-with-setup-hook'
5123 * lisp/files.el (minibuffer-with-setup-hook): Clarify how FUN is
5124 added to `minibuffer-setup-hook'.
5126 2015-12-19 Eli Zaretskii <eliz@gnu.org>
5128 Document new features of Font Lock
5130 * doc/lispref/modes.texi (Other Font Lock Variables): Document
5131 'font-lock-flush-function' and 'font-lock-ensure-function'.
5132 (Font Lock Basics): Document the basic fontification functions
5133 referenced in "Other Font Lock Variables".
5135 * lisp/font-lock.el (font-lock-flush, font-lock-ensure): Doc fix.
5137 2015-12-19 Eli Zaretskii <eliz@gnu.org>
5139 Document new features of Rectangle mode
5141 * doc/emacs/killing.texi (Rectangles): Document "C-x C-x" in
5142 rectangle-mark-mode.
5144 2015-12-19 Eli Zaretskii <eliz@gnu.org>
5146 Manual followup to last change
5148 * doc/lispref/display.texi (Displaying Messages): Sync with the
5149 doc string. (Bug#22210)
5151 2015-12-19 Eli Zaretskii <eliz@gnu.org>
5153 Clarify doc string of 'display-message-or-buffer'
5155 * lisp/simple.el (display-message-or-buffer): Doc fix. Suggested
5156 by Sebastian Wiesner <swiesner@lunaryorn.com>. (Bug#22210)
5158 2015-12-19 Eli Zaretskii <eliz@gnu.org>
5160 * doc/emacs/emacs.texi (Top): Update top-level menus.
5162 * doc/lispref/elisp.texi (Top): Update top-level menus.
5164 2015-12-19 Eli Zaretskii <eliz@gnu.org>
5166 Document how to avoid file-local variables that aren't
5168 * doc/emacs/custom.texi (Specifying File Variables): Describe how
5169 to prevent Emacs from interpreting unrelated text as file-local
5170 variables. (Bug#22166)
5172 2015-12-19 Dave Thomas <dave@pragprog.org> (tiny change)
5174 Fix a typo in eterm-color's termcap entry
5176 * lisp/term.el (term-termcap-format): Fix a typo in the "ue="
5179 2015-12-19 Eli Zaretskii <eliz@gnu.org>
5181 Allow 'browse-url-emacs' visit non-existent URLs
5183 * lisp/url/url-handlers.el (url-insert-file-contents): Don't
5184 signal an error if VISIT is non-nil, to more faithfully emulate
5185 the behavior of 'insert-file-contents'. (Bug#22160)
5187 2015-12-19 Paul Eggert <eggert@cs.ucla.edu>
5189 Remove SunOS 4.x cruft
5191 Support for SunOS 4.x was removed in Emacs 23 but some cruft was left behind.
5192 * lib-src/pop.c [sun]: Remove no-longer-needed include.
5193 * lwlib/xlwmenu.c (SUNSO41): Remove.
5195 2015-12-19 Paul Eggert <eggert@cs.ucla.edu>
5199 This mostly commentary fixes.
5200 * doc/misc/texinfo.tex, lib/intprops.h: Copy from gnulib.
5201 * lib/gnulib.mk: Regenerate with new gnulib-tool.
5203 2015-12-18 Michael Albinus <michael.albinus@gmx.de>
5205 Minor fixes in Tramp
5207 * lisp/net/tramp-sh.el (tramp-do-file-attributes-with-ls):
5208 Reorder ls arguments.
5210 * lisp/net/tramp.el (tramp-dissect-file-name): Fix docstring.
5212 2015-12-18 Michael Albinus <michael.albinus@gmx.de>
5214 Make tramp a built-in package
5216 * lisp/finder.el (finder-compile-keywords): Update
5217 `package--builtins' also when Version: keyword is available.
5219 * lisp/net/trampver.el: Add Version: keyword.
5220 (tramp-version): Change it to "2.2.13.25.1", in order to be
5221 compatible with `version-to-list'.
5223 2015-12-18 Lele Gaifax <lele@metapensiero.it>
5225 * etc/tutorials/TUTORIAL.it: Update and fix typos.
5227 2015-12-18 Alan Mackenzie <acm@muc.de>
5229 Rename `recenter-group' to `recenter-window-group'
5231 * doc/lispref/windows.texi (Textual Scrolling)
5232 * lisp/window.el (top level, recenter-group)
5233 * lisp/follow.el (follow-mode)
5234 * lisp/isearch.el (isearch-back-into-window): Rename `recenter-group' to
5235 `recenter-window-group' and `recenter-group-function' to
5236 `recenter-window-group-function'.
5238 2015-12-18 Eli Zaretskii <eliz@gnu.org>
5240 Fix vertical-motion in tabulated-list mode
5242 * src/indent.c (Fvertical_motion): When moving from line beginning
5243 to point under line truncation, assume overshoot by one line only
5244 if point actually lies beyond the window's right margin.
5247 2015-12-18 Martin Rudalics <rudalics@gmx.at>
5249 Don't have help functions call x-display-pixel-width/-height on ttys
5251 * lisp/help.el (temp-buffer-max-height, temp-buffer-max-width):
5252 Don't call x-display-pixel-width/-height on ttys.
5254 2015-12-18 Dmitry Gutov <dgutov@yandex.ru>
5256 Use 'hg id' in vc-hg-previous-revision
5258 * lisp/vc/vc-hg.el (vc-hg-previous-revision):
5259 Use 'hg id' to retrieve it (bug#22032).
5261 2015-12-17 Alan Mackenzie <acm@muc.de>
5263 * lisp/follow.el (follow-sit-for): Remove (it's redundant).
5265 2015-12-17 Eli Zaretskii <eliz@gnu.org>
5267 Fix a typo in the Emacs manual
5269 * doc/emacs/trouble.texi (Sending Patches): Fix a typo. Reported
5270 by Lele Gaifax <lele@metapensiero.it>. (Bug#22193)
5272 2015-12-17 Eli Zaretskii <eliz@gnu.org>
5274 Fix parsing netrc entries with ports
5276 * lisp/gnus/auth-source.el (auth-source-ensure-strings): Don't
5277 make a list out of 't'. (Bug#22188)
5279 * test/automated/auth-source-tests.el
5280 (auth-source-test-netrc-parse-entry): New test.
5282 2015-12-17 Paul Eggert <eggert@cs.ucla.edu>
5284 Fix typo in Doug Lea malloc configure log
5286 * configure.ac (emacs_cv_var_doug_lea_malloc):
5287 Fix typo that confused the log output of 'configure'.
5289 2015-12-16 Nicolas Petton <nicolas@petton.fr>
5291 * etc/NEWS: Mention the new pcase patterns `seq' and `map'.
5293 2015-12-16 Alan Mackenzie <acm@muc.de>
5295 * etc/NEWS: Move entry on pcase to correct section
5297 (Accidentally omitted from previous commit)
5299 2015-12-16 Alan Mackenzie <acm@muc.de>
5301 Add documentation for changes to Show Paren mode.
5303 * lisp/paren.el (show-paren-highlight-openparen): Enhance doc string.
5305 * doc/emacs/programs.texi (Matching): Add descriptions of some pertinent user
5306 options, including the new show-paren-when-point-inside-paren and
5307 show-paren-when-point-in-periphery.
5309 * etc/NEWS (.. Specialized Modes ...): Add an entry for Show Paren mode.
5310 Move an entry on pcase to the Lisp Changes section.
5312 2015-12-16 Eli Zaretskii <eliz@gnu.org>
5314 Document Eldoc changes
5316 * doc/emacs/programs.texi (Lisp Doc): Document Global Eldoc mode.
5318 2015-12-16 Eli Zaretskii <eliz@gnu.org>
5320 Fix invocation of Python and Guile interpreters from gdb-mi
5322 * lisp/progmodes/gdb-mi.el (gdb-control-commands-regexp): Add
5323 commands for interactive Python and Guile interpreters.
5324 (gdb-send): Recognize various ways of exiting from Python and
5325 Guile interpreters and returning to GDB. For details, see
5326 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00693.html
5327 and http://stackoverflow.com/questions/31514741.
5329 2015-12-16 Paul Eggert <eggert@cs.ucla.edu>
5331 Remove attempt to use C11 threads
5333 C11 threads are not needed for Emacs now, and their use is causing
5334 hassles on FreeBSD 10.x. Problem reported by Ashish SHUKLA in:
5335 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00648.html
5336 * configure.ac: Do not check for C11 threads. Remove unnecessary
5337 fiddling with CPPFLAGS when configuring pthreads.
5338 * src/emacs-module.c (main_thread, check_main_thread)
5339 (module_init): Do not worry about C11 threads.
5341 2015-12-15 Michael Albinus <michael.albinus@gmx.de>
5343 Set utf8 encoding with stty in Tramp
5345 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5346 Move up uname check. Handle Mac OS X eol encoding. Set utf8
5349 2015-12-15 Alan Mackenzie <acm@muc.de>
5351 Tidy up documentation associated with window groups.
5353 * doc/lispref/windows.texi (Basic Windows): Add an @anchor for "Window
5354 Groups". Correct example function to `window-group-start'.
5355 (Window Start and End, Textual scrolling): Point to the new anchor. State
5356 that (most of) the args in window group functions have the same meaning as for
5357 the corresponding window primitives.
5359 * doc/lispref/positions.texi (Screen Lines). Same as above.
5361 2015-12-15 Michael Albinus <michael.albinus@gmx.de>
5363 Complete last commit
5365 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5366 Move uname check up. Handle Mac OS X eol encoding.
5368 2015-12-15 Michael Albinus <michael.albinus@gmx.de>
5370 Handle Mac OS X eol encoding in Tramp
5372 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5373 Handle Mac OS X eol encoding.
5375 2015-12-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5377 Fix variable name typo in compute_tip_xy
5379 * src/w32fns.c (compute_tip_xy):
5380 * src/xfns.c (compute_tip_xy): Modify *root_x instead of *root_y
5381 when `right' is integer.
5383 2015-12-14 foudfou <foudil.newbie+git@gmail.com>
5385 * lisp/ibuffer.el: Add ability to (un-)mark or delete buffers in the region.
5387 2015-12-14 Tassilo Horn <tsdh@gnu.org>
5389 Revert "Fix rx matcher overflow without limiting"
5391 This reverts commit fe27e037663d36be3e5741c2ce86ab4ee8017db1.
5393 2015-12-14 Alan Mackenzie <acm@muc.de>
5395 Ispell: Bind isearch-regexp-function to nil around call to isearch..-new-loop
5397 * lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay): bind
5398 isearch-regexp-function to nil around call to isearch-lazy-highligh-new-loop.
5400 2015-12-14 Tassilo Horn <tsdh@gnu.org>
5402 Fix rx matcher overflow without limiting
5404 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Improve last
5405 change to the regexp without imposing a limit on the length of the
5408 2015-12-14 Alan Mackenzie <acm@muc.de>
5410 Enhance ispell-skip-region-alist by generating part of it at runtime.
5412 * lisp/textmodes/ispell.el (ispell--\\w-filter, ispell--make-\\w-expression)
5413 (ispell--make-filename-or-URL-re): New functions which generate a regexp.
5414 (ispell-skip-region-alist): Remove the bit that matches a filename/URL, etc.
5415 (ispell-begin-skip-region-regexp, ispell-skip-region-list, ispell-message):
5416 Include the result of ispell--make-filename-or-URL-re in regexps.
5418 2015-12-14 Glenn Morris <rgm@gnu.org>
5420 * build-aux/gitlog-to-emacslog: Ignore more pointless merge commits.
5422 2015-12-14 Alan Mackenzie <acm@muc.de>
5424 Replace GROUP argument in six window primitives by new functions.
5426 * doc/lispref/windows.texi (Window Start and End, Textual Scrolling)
5427 * doc/lispref/positions.texi (Screen Lines): Remove optional GROUP argument
5428 from description of six window functions. Add in description of new functions
5429 window-group-start, window-group-end, set-window-group-start,
5430 pos-visible-in-window-group-p, recenter-group and move-to-window-group-line,
5431 together with the six variables indirecting to the pertinent group
5435 * src/keyboard.c: Revert the commit from 2015-11-11 12:02:48, in so far as it
5436 applies to these two files, which added the GROUP argument to six window
5439 * lisp/follow.el (follow-mode): Use updated variable names for the indirected
5442 * lisp/isearch.el (isearch-update, isearch-done, isearch-string-out-of-window)
5443 (isearch-back-into-window, isearch-lazy-highlight-new-loop)
5444 (isearch-lazy-highlight-search, isearch-lazy-highlight-update): Replace calls
5445 to window primitives (e.g. window-start) with a GROUP argument by calls to
5446 new functions (e.g. window-group-start).
5448 * lisp/ispell.el (ispell-command-loop): Replace call to
5449 pos-visible-in-window-p with pos-visible-in-window-group-p.
5451 * lisp/window.el (window-group-start, window-group-end)
5452 (set-window-group-start, recenter-group, pos-visible-in-window-group-p)
5453 (selected-window-group, move-to-window-group-line): New functions.
5454 (window-group-start-function, window-group-end-function)
5455 (set-window-group-start-function, recenter-group-function)
5456 (pos-visible-in-window-group-p-function, selected-window-group-function)
5457 (move-to-window-group-line-function): New variables.
5459 2015-12-14 Vitorio Miguel <vdrbandeiras@gmail.com> (tiny change)
5461 * etc/tutorials/TUTORIAL.pt_BR: Fix a typo. (Bug#22165)
5463 2015-12-13 Eli Zaretskii <eliz@gnu.org>
5465 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
5467 2015-12-13 Tassilo Horn <tsdh@gnu.org>
5469 Improve regex to not trigger stack overflow
5471 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Improve regex in
5472 order not to trigger a stack overflow in regex matcher with unbalanced
5473 brackets (bug#22146).
5475 2015-12-13 Eli Zaretskii <eliz@gnu.org>
5477 Fix visiting files with raw-text
5479 * src/fileio.c (Finsert_file_contents): Fix setting buffer unibyte
5480 when some stuff was actually read. (Bug#22162)
5482 2015-12-13 Tassilo Horn <tsdh@gnu.org>
5484 Fix regex matching keyval labels
5486 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Fix regexp
5487 matching keyval labels.
5489 2015-12-13 Michael Albinus <michael.albinus@gmx.de>
5491 * lisp/ido.el (ido-file-name-all-completions-1): Do not raise an error
5493 ... in case of Tramp. (Bug#20821)
5495 2015-12-13 Paul Eggert <eggert@cs.ucla.edu>
5497 Fix performance regression with gcc -O0
5499 This fixes the smaller performance hit that I noted in:
5500 https://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00357.html
5501 * src/alloc.c (macro_XPNTR_OR_SYMBOL_OFFSET, macro_XPNTR):
5502 * src/puresize.h (puresize_h_PURE_P)
5503 (puresize_h_CHECK_IMPURE):
5504 New macros, with the old contents of the functions.
5505 * src/alloc.c (XPNTR_OR_SYMBOL_OFFSET, XPNTR):
5506 * src/puresize.h (PURE_P, CHECK_IMPURE):
5507 Use the new macros. Also macros, if DEFINE_KEY_OPS_AS_MACROS.
5508 * src/conf_post.h (ATTRIBUTE_UNUSED):
5509 * src/lisp.h (DEFINE_KEY_OPS_AS_MACROS): New macros.
5511 2015-12-12 Artur Malabarba <bruce.connor.am@gmail.com>
5513 * lisp/emacs-lisp/package.el (package-unpack): Security check
5515 Check that we received the package we were offered.
5517 2015-12-12 Artur Malabarba <bruce.connor.am@gmail.com>
5519 * lisp/emacs-lisp/package.el (package--compile): Don't activate
5521 `package-unpack' takes care of all activations now (other than
5522 `package-initialize). `package--compile' now only compiles.
5524 2015-12-12 Eli Zaretskii <eliz@gnu.org>
5526 Document the new bindings of <UP> and <DOWN> in the minibuffer
5528 * doc/emacs/mini.texi (Minibuffer History): Describe the new
5529 bindings of <UP> and <DOWN> in the minibuffer.
5531 2015-12-12 Eli Zaretskii <eliz@gnu.org>
5533 Document new features of Ido
5535 * doc/misc/ido.texi (Misc): Document 'C-S-b'.
5537 2015-12-12 Martin Rudalics <rudalics@gmx.at>
5539 Fix frame height calculations with added menu bar on Windows (Bug#22105)
5541 * doc/lispref/frames.texi (Parameter Access): Mention pitfalls
5542 when simultaneously specifying multiple parameters for
5543 `modify-frame-parameters' that all may change the frame's size.
5544 * src/w32fns.c (x_set_menu_bar_lines): Don't set
5545 windows_or_buffers_changed here.
5546 (my_create_tip_window, Fx_show_tip): Call AdjustWindowRect
5547 with third argument false.
5548 * src/w32menu.c (set_frame_menubar): Set
5549 windows_or_buffers_changed here.
5550 * src/w32term.c (x_set_window_size): Determine third argument of
5551 AdjustWindowRect from whether the frame has a menu bar and not
5552 from whether it wants one.
5554 2015-12-12 Eli Zaretskii <eliz@gnu.org>
5556 Document the change in interactive shell mode
5558 * doc/emacs/misc.texi (Interactive Shell): Document that the
5559 '*shell*' buffer by default displays in a new window.
5561 2015-12-12 Eli Zaretskii <eliz@gnu.org>
5563 Document new features of package.el
5565 * doc/emacs/package.texi (Package Menu): Document the 'external'
5566 status and the new menu commands.
5567 (Package Installation): Document archive priorities.
5569 * lisp/emacs-lisp/package.el (package-archive-priorities): Doc fix.
5570 (package-menu-hide-low-priority): Doc fix.
5572 2015-12-12 Eli Zaretskii <eliz@gnu.org>
5574 Update and document new features of xterm support
5576 * doc/emacs/frames.texi (Text-Only Mouse): Document that
5577 track-mouse is supported by newer xterm versions.
5579 2015-12-12 Eli Zaretskii <eliz@gnu.org>
5581 Document new features of Prettify Mode
5583 * doc/emacs/programs.texi (Misc for Programs): Document
5584 'prettify-symbols-compose-predicate' and
5585 'prettify-symbols-unprettify-at-point'.
5587 * lisp/progmodes/prog-mode.el (prettify-symbols-alist)
5588 (prettify-symbols-default-compose-p)
5589 (prettify-symbols-compose-predicate)
5590 (prettify-symbols--compose-symbol): Doc fixes.
5592 2015-12-12 Eli Zaretskii <eliz@gnu.org>
5594 Document multi-mode indentation facilities
5596 * doc/lispref/text.texi (Mode-Specific Indent): Document
5597 'prog-indentation-context', 'prog-first-column', and 'prog-widen'.
5599 * lisp/progmodes/prog-mode.el (prog-indentation-context)
5600 (prog-widen): Doc fixes.
5602 2015-12-12 Eli Zaretskii <eliz@gnu.org>
5604 Document 'vc-refresh-state'
5606 * doc/emacs/maintaining.texi (Version Control): Document
5609 * lisp/vc/vc-hooks.el (vc-refresh-state): Doc fix.
5611 2015-12-12 Eli Zaretskii <eliz@gnu.org>
5615 * src/keyboard.c (command_loop_1): Undo last change. It caused
5616 duplicate echo of C-u. (Bug#22107)
5618 2015-12-11 Eli Zaretskii <eliz@gnu.org>
5620 Avoid errors when creating files under SVN in new directory
5622 * lisp/vc/vc-svn.el (vc-svn-registered): Use
5623 file-accessible-directory-p, to avoid cd'ing to a non-existing
5624 directory, which signals an error on some systems. (Bug#21984)
5625 (vc-svn-checkin): Call log-edit-extract-headers with 2 arguments.
5626 Use declare-function to avoid byte-compiler warnings.
5628 2015-12-11 Eli Zaretskii <eliz@gnu.org>
5630 Improve Lua support in etags
5632 * lib-src/etags.c (Lua_functions): Skip spaces before looking for
5635 * etc/NEWS: Mention improved Lua support by 'etags'.
5637 * test/etags/lua-src/test.lua (test): Add tests for indented
5638 function definitions.
5639 * test/etags/ETAGS.good_1:
5640 * test/etags/ETAGS.good_2:
5641 * test/etags/ETAGS.good_3:
5642 * test/etags/ETAGS.good_4:
5643 * test/etags/ETAGS.good_5:
5644 * test/etags/ETAGS.good_6:
5645 * test/etags/CTAGS.good: Adapt to the modified Lua tests.
5647 2015-12-11 Eli Zaretskii <eliz@gnu.org>
5649 Fix 'this-command-keys' wrt prefix argument
5651 * src/keyboard.c (command_loop_1): Restore the feature whereby C-u
5652 was part of this-command-keys, but not of this-single-command-keys.
5655 * lisp/simple.el (internal-echo-keystrokes-prefix): Add
5656 commentary about the function's return value.
5658 2015-12-11 Eli Zaretskii <eliz@gnu.org>
5660 * lisp/files.el (load-library): Doc fix. (Bug#22140)
5662 2015-12-11 Eli Zaretskii <eliz@gnu.org>
5664 Improve and document Ruby support in 'etags'
5666 * lib-src/etags.c (Ruby_suffixes): Add ".ruby".
5667 (Ruby_functions): Support "module" and overloaded operators.
5668 (Ruby_help): Mention "module".
5670 * test/etags/ruby-src/test.rb:
5671 * test/etags/ruby-src/test1.ru: New files.
5672 * test/etags/Makefile (RBSRC): New tests.
5673 (SRCS): Add ${RBSRC}.
5674 * test/etags/ETAGS.good_1:
5675 * test/etags/ETAGS.good_2:
5676 * test/etags/ETAGS.good_3:
5677 * test/etags/ETAGS.good_4:
5678 * test/etags/ETAGS.good_5:
5679 * test/etags/ETAGS.good_6:
5680 * test/etags/CTAGS.good: Adapt to the new Ruby tests.
5682 * doc/man/etags.1: Mention Ruby support.
5683 * etc/NEWS: Mention Ruby support.
5685 2015-12-11 Xi Lu <lx@shellcodes.org>
5687 Initial support for Ruby in 'etags'
5689 * lib-src/etags.c <Ruby_suffixes>: New variable.
5690 (lang_names): Add an entry for Ruby.
5691 (Ruby_functions): New function. (Bug#22116)
5693 2015-12-11 Eli Zaretskii <eliz@gnu.org>
5695 Clarify documentation of 'modify-frame-parameters'
5697 * doc/lispref/frames.texi (Parameter Access): Clarify what "ignored
5698 PARMs" mean for 'modify-frame-parameters'.
5700 * src/frame.c (Fmodify_frame_parameters): Clarify what "ignored
5701 PARMs" mean for this function. (Bug#22104)
5703 2015-12-11 Eli Zaretskii <eliz@gnu.org>
5705 Fix setting buffer unibyte when reading from a device
5707 * src/fileio.c (Finsert_file_contents): Call Fset_buffer_multibyte
5708 to make a (possibly non-empty) buffer unibyte. (Bug#22096)
5710 2015-12-11 Eli Zaretskii <eliz@gnu.org>
5712 Clarify documentation of 'values'
5714 * doc/lispref/eval.texi (Eval): Clarify that 'values' are not
5715 updated by any evaluation commands in 'lisp-interaction-mode'.
5718 2015-12-11 Anders Lindgren <andlind@gmail.com>
5720 Fixed subversion vc error when opening file in new directory (bug#21984).
5722 * lisp/vc/vc-svn.el (vc-svn-registered): Check if directory exists.
5724 2015-12-09 Eli Zaretskii <eliz@gnu.org>
5726 Yet another fix for when point ends up in invisible text
5728 * src/xdisp.c (redisplay_window): When someone forced
5729 window-start, and honoring that failed to show the cursor, try
5730 moving out of invisible text, before falling back to the middle of
5731 the window. (Bug#22098)
5733 2015-12-09 Michael Albinus <michael.albinus@gmx.de>
5735 Fix error in Tramp perl script for cygwin
5737 * lisp/net/tramp-sh.el (tramp-perl-file-truename): Do not raise an
5738 error if file doesn't exist.
5740 2015-12-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5742 Remove font workaround for limited outdated versions
5744 * src/macfont.m (mac_font_descriptor_get_adjusted_weight): Remove
5745 workaround for HiraginoSans-W7 on OS X 10.11 and 10.11.1.
5747 2015-12-09 Anders Lindgren <andlind@gmail.com>
5749 Don't add "." to load path (bug#21104)
5751 When configured with --enable-locallisppath=no, which is the
5752 default for OS X, the load-path incorrectly was populated with ".".
5754 * src/lread.c (init_lread): Don't call `decode_env_path' when
5755 PATH_SITELOADSEARCH is empty.
5757 2015-12-08 Artur Malabarba <bruce.connor.am@gmail.com>
5759 * lisp/emacs-lisp/package.el (package--with-response-buffer):
5761 Search for the blank-line in the right buffer.
5763 2015-12-08 Glenn Morris <rgm@gnu.org>
5765 * test/automated/simple-test.el (undo-auto-boundary-timer): Update
5768 2015-12-08 Glenn Morris <rgm@gnu.org>
5770 Fix some display-warning usage.
5772 * lisp/files.el (hack-local-variables, hack-dir-local-variables):
5773 * lisp/calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
5774 * lisp/calendar/holidays.el (calendar-holiday-list):
5775 * lisp/mail/rmailout.el (rmail-output-read-file-name):
5776 Fix display-warning usage.
5778 2015-12-08 Glenn Morris <rgm@gnu.org>
5780 * lisp/calendar/cal-html.el: Require diary-lib.
5782 (cal-html-list-diary-entries): Handle no diary. (Bug#21994)
5784 2015-12-08 Thomas Fitzsimmons <fitzsim@fitzsim.org>
5786 Add Obsolete-since header to eudcb-ph.el
5788 * lisp/obsolete/eudcb-ph.el: Add Obsolete-since header.
5790 2015-12-07 Paul Eggert <eggert@cs.ucla.edu>
5794 * doc/misc/calc.texi (Predefined Units): Use the bland modern
5795 scientific style for spelling the units “ampere” and
5796 “angstrom” rather than the older style “Ampere” and
5797 “Ångstrom”. The latter spelling was wrong anyway (it should
5798 have been “Ångström”).
5799 * lisp/emacs-lisp/ert.el (ert--explain-equal-rec):
5800 Fix misspelling of ‘atom’ in code.
5802 2015-12-07 Eli Zaretskii <eliz@gnu.org>
5804 Improve documentation of kill commands
5806 * lisp/simple.el (region-extract-function, delete-backward-char)
5807 (delete-forward-char, kill-region, copy-region-as-kill)
5808 (kill-ring-save): Better document the optional argument REGION in
5809 the doc strings. Mention in the doc strings that text put in the
5810 kill-ring can be filtered by 'filter-buffer-substring'.
5812 * doc/lispref/text.texi (Kill Functions): Mention that functions
5813 described in this subsection can filter text they put in the
5814 kill-ring. Add a cross-reference to "Buffer Contents" and an
5815 index entry. Document the optional argument 'region' and its
5819 2015-12-07 Alan Mackenzie <acm@muc.de>
5821 Further progress making Isearch, Ispell, Replace work with Follow Mode.
5823 * lisp/follow.el: (follow-mode): Remove references to sit*-for-function, which
5824 no longer exists. Add follow-post-command-hook to three special purpose
5825 hooks at setup, and remove them at tear down.
5827 * lisp/isearch.el: (isearch-update): invoke isearch-update-post-hook before
5828 isearch-lazy-highlight-new-loop.
5829 (isearch-lazy-highlight-new-loop): Restore this function to what it previously
5830 was, merging the functionality of isearch-lazy-highlight-maybe-new-loop into
5832 (isearch-lazy-highlight-maybe-new-loop): function removed.
5834 * lisp/replace.el: (replace-update-post-hook): New hook variable.
5835 (perform-replace): Add second (nil) argument to looking-back. Invoke
5836 replace-update-post-hook before calling replace-highlight.
5838 * lisp/textmodes/ispell.el: (ispell-update-post-hook): New hook variable.
5839 (ispell-command-loop): invoke ispell-update-post-hook. Add GROUP argument to
5840 call of pos-visible-in-window-p.
5841 (ispell-display-buffer): Place *Choices* window at the top of the last window
5844 2015-12-07 Alan Mackenzie <acm@muc.de>
5846 Amend doc of `mapconcat': it can take sequences, not merely strings.
5848 * doc/lispref/functions.texi (Mapping Functions): Amend the doc of `mapconcat'
5849 to say that SEPARATOR and the results from FUNCTION may be any character
5850 sequences, not just strings. Add an @xref to "Sequences Arrays Vectors".
5852 2015-12-07 Michael Albinus <michael.albinus@gmx.de>
5854 Fix an utf8 problem for Tramp on BSD
5856 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5857 Make lax check for utf8.
5858 (tramp-get-remote-locale): Add "en_US.UTF-8" as candidate.
5860 2015-12-07 Thomas Fitzsimmons <fitzsim@fitzsim.org>
5862 Make eudcb-ph.el obsolete
5864 * doc/misc/eudc.texi: Bump version to 1.40.0.
5865 Remove PH/QI sections and mentions.
5866 * lisp/obsolete/eudcb-ph.el: Make obsolete.
5867 * lisp/net/eudc-vars.el (eudc-known-protocols): Remove ph.
5868 (eudc-ph-bbdb-conversion-alist): Make obsolete.
5869 * etc/NEWS: Mention this. (Bug#21191)
5871 2015-12-07 Paul Eggert <eggert@cs.ucla.edu>
5873 Remove overenthusiastic eassert
5875 * src/lisp.h (XSYMBOL): Remove eassert incorrectly added in
5876 previous change. It breaks on MS-Windows --with-wide-int.
5877 Problem reported by Eli Zaretskii in:
5878 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00275.html
5880 2015-12-06 Paul Eggert <eggert@cs.ucla.edu>
5882 Pacify gcc -Wparentheses
5884 * src/xdisp.c (row_containing_pos): Reparenthesize.
5886 2015-12-06 Paul Eggert <eggert@cs.ucla.edu>
5888 Port mod-test to 32-bit Emacs --without-wide-int
5890 * modules/mod-test/test.el (mod-test-sum-test):
5891 Bring back the 2**29 tests, but port them to 32-bit Emacs
5894 2015-12-06 Michael Albinus <michael.albinus@gmx.de>
5896 Fix minor Tramp problems found on BSD
5898 * lisp/net/tramp-sh.el (tramp-perl-file-truename): Do not append
5899 trailing slash. Quote apostrophes.
5900 (tramp-sh-handle-file-truename): Do not append trailing slash in
5902 (tramp-get-ls-command-with-w-option): New defun.
5903 (tramp-do-file-attributes-with-ls)
5904 (tramp-do-directory-files-and-attributes-with-stat): Use it.
5906 * test/automated/tramp-tests.el
5907 (tramp-test31-special-characters-with-perl)
5908 (tramp-test31-special-characters-with-ls)
5909 (tramp-test32-utf8-with-perl, tramp-test32-utf8-with-ls):
5910 Suppress also readlink.
5912 2015-12-06 Eli Zaretskii <eliz@gnu.org>
5914 Fix cursor display when invisible text is at line beginning
5916 * src/xdisp.c (redisplay_window): When scrolling fails to show
5917 point, prefer using the desired matrix if possible for finding the
5918 fallback glyph row for displaying the cursor. (Bug#22098)
5919 (row_containing_pos): Exit the loop as soon as we hit the first
5920 disabled glyph row. Otherwise we risk accessing garbled data and
5921 departing to the no-no land.
5923 2015-12-06 Paul Eggert <eggert@cs.ucla.edu>
5925 Improve module interface when WIDE_EMACS_INT
5927 * src/emacs-module.c (plain_values): New constant.
5928 (module_nil): Now a constant.
5929 (Finternal_module_call, value_to_lisp_bits, lisp_to_value_bits)
5930 (syms_of_module): Use if, not #ifdef, so that both sides are
5931 checked at compile-time, and so that GCC doesn’t complain
5932 about an unused var in the typical case. Also, depend on
5933 plain_values, not on WIDE_EMACS_INT; the code shouldn’t assume
5934 that WIDE_EMACS_INT implies !USE_LSB_TAG.
5935 (value_to_lisp_bits, lisp_to_value_bits): New functions.
5936 Sign-extend integers rather than zero-extending them, as small
5937 negative integers are more likely.
5938 (value_to_lisp, lisp_to_value): Rewrite in terms of the new *_bits
5940 (HAVE_STRUCT_ATTRIBUTE_ALIGNED): Define to 0 if not already defined.
5941 (mark_modules): Remove. All uses removed.
5942 (lisp_to_value): Don’t assume Fcons returns a pointer aligned
5944 (syms_of_module): Check that module_nil converts to Qnil.
5945 * src/lisp.h (lisp_h_XSYMBOL, XSYMBOL): Use signed conversion, since
5946 we prefer signed to unsigned when either will do.
5947 (TAG_PTR): Sign-extend pointers when USE_LSB_TAG, as this is
5948 a bit better for emacs-module.c.
5950 2015-12-06 Paul Eggert <eggert@cs.ucla.edu>
5952 Port mod-test to x86-64 GNU/Linux running 32-bit
5954 * modules/mod-test/test.el (mod-test-sum-test):
5955 Don’t attempt to match descriptions to operating systems.
5956 It didn’t work on Fedora x86-64 running a 32-bit executable,
5957 and it’s not worth the trouble anyway.
5958 Port to 32-bit platforms by removing an assumption about
5961 2015-12-06 Michael Albinus <michael.albinus@gmx.de>
5963 Fix auto-revert-tests.el when filenotify isn't used
5965 * test/automated/auto-revert-tests.el (auto-revert--wait-for-revert):
5966 Make it working also when filenotify isn't used.
5968 2015-12-06 Juri Linkov <juri@linkov.net>
5970 * lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
5972 Let-bind isearch-regexp-function to nil. (Bug#22097)
5974 2015-12-05 Artur Malabarba <bruce.connor.am@gmail.com>
5976 * lisp/emacs-lisp/package.el: Don't install bad signatures (bug#22089)
5978 (package--with-response-buffer): NOERROR and ERROR-FORM only
5979 handle connection errors.
5980 (bad-signature): New error type.
5981 (package--check-signature-content): Use it.
5982 (package--check-signature): Properly distinguish connection errors
5983 from bad-signature errors. Do the check for
5984 `package-check-signature' `allow-unsigned' here instead of forcing
5985 the callbacks to do it. Add a new argument, UNWIND.
5986 (package--download-one-archive, package-install-from-archive):
5987 Update usage of `package--check-signature'.
5989 2015-12-05 Ulf Jasper <ulf.jasper@web.de>
5993 * lisp/calendar/icalendar.el (icalendar--get-unfolded-buffer):
5994 Clean up inconsistent line endings. (Bug#22092)
5995 (icalendar--clean-up-line-endings): New.
5996 * test/automated/icalendar-tests.el (icalendar-real-world): Add test
5999 2015-12-05 Eli Zaretskii <eliz@gnu.org>
6001 Document 'bookmark-set-no-overwrite'
6003 * doc/emacs/regs.texi (Bookmarks): Document the new command
6004 'bookmark-set-no-overwrite' and its keybinding.
6006 2015-12-05 Eli Zaretskii <eliz@gnu.org>
6008 Document new binding of 'mouse-buffer-menu'
6010 * doc/emacs/buffers.texi (Buffer Menus): 'mouse-buffer-menu' is
6013 2015-12-05 Eli Zaretskii <eliz@gnu.org>
6015 Initial documentation of dynamic modules
6017 * doc/lispref/loading.texi (Dynamic Modules): New section with
6018 initial documentation for dynamic modules.
6019 * doc/lispref/elisp.texi (Top): Add "Dynamic Modules" to the
6022 * etc/NEWS: Fix typos in dynamic modules' entry.
6024 2015-12-05 Artur Malabarba <bruce.connor.am@gmail.com>
6026 Remove copyright statements from trivial test files
6028 2015-12-05 Eli Zaretskii <eliz@gnu.org>
6030 Add "Preliminaries" section to etc/DEBUG
6032 * etc/DEBUG: Add the "Preliminaries" section for GDB beginners.
6033 Most of the content was suggested by Phillip Lord
6034 <phillip.lord@russet.org.uk>. Remove the section about debugging
6035 with the Visual Studio, as building Emacs with the Microsoft
6036 compilers is no longer supported. Minor fixes in some other
6039 2015-12-05 Alex Dunn <dunn.alex@gmail.com> (tiny change)
6041 Improve parsing of version strings
6043 * lisp/subr.el (version-regexp-alist): Allow "." as priority separator
6044 (version-to-list): More helpful error messages.
6045 (version-to-list): ".5" is valid (update docstring). Make
6046 "22.8X3" invalid, as the doc string says.
6048 * test/automated/subr-tests.el (ert-test-version-parsing): New
6049 tests for version string processing.
6051 2015-12-05 Eli Zaretskii <eliz@gnu.org>
6053 Fix documentation of 'undo' changes
6055 * doc/lispref/text.texi (Undo): Minor wording changes. Use US
6056 English conventions for spelling and whitespace between sentences.
6058 * etc/NEWS: Fix wording and spelling of undo-related entries.
6059 Mark them as documented.
6061 2015-12-05 Glenn Morris <rgm@gnu.org>
6063 * lisp/net/net-utils.el: Small improvements.
6065 (net-utils--executable-find-sbin): New function.
6066 (ifconfig-program): Check sbin directories.
6067 Fallback to "ip". (Bug#22091)
6068 (ifconfig-program-options): Check the actual program in use.
6069 (arp-program): Check sbin directories.
6071 2015-12-04 (tiny change) Arash Esbati <esbati@gmx.de> (tiny change)
6073 Fix wrong-type-argument integer-or-marker-p nil error
6075 * lisp/textmodes/reftex-auc.el (reftex-what-index-tag):
6076 Fix (wrong-type-argument integer-or-marker-p nil) error (bug#22077).
6078 2015-12-04 Alan Mackenzie <acm@muc.de>
6080 Merge branch 'scratch/follow' of /home/acm/emacs/emacs.git/emacs-25 into scratch/follow
6082 Merge necessitated by a rebase operation.
6084 2015-12-04 Alan Mackenzie <acm@muc.de>
6086 lisp/isearch.el: Eliminate macro isearch-call-message, replacing with funcall.
6088 2015-12-04 Alan Mackenzie <acm@muc.de>
6090 First commit to scratch/follow. Make Isearch work with Follow Mode, etc.
6092 doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
6093 Windows" and new @defun selected-window-group.
6094 (Window Start and End): Describe new &optional parameter GROUP and
6095 ...-group-function for window-start, window-end, set-window-start, and
6096 pos-visible-in-window-p.
6097 (Textual Scrolling) Describe the same for recenter.
6098 doc/lispref/positions.texi (Screen Lines): Describe the same for
6099 move-to-window-line.
6101 src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
6102 (Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
6103 new optional parameter "group". At the beginning of each, check whether the
6104 corresponding ...-group-function is set to a function, and if so execute this
6105 function in place of the normal processing.
6106 (syms_of_window): Define symbols for the six new variables below.
6107 (window-start-group-function, window-end-group-function)
6108 (set-window-start-group-function, recenter-group-function)
6109 (pos-visible-in-window-p-group-function, move-to-window-line-group-function):
6110 New permanent local buffer local variables.
6111 src/keyboard.c (Fposn_at_point): Add extra parameter in call to
6112 Fpos_visible_in_window_p.
6114 lisp/window.el (selected-window-group-function): New permanent local buffer
6116 (selected-window-group): New function.
6118 lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
6119 enable, kill them at mode disable. Add/remove follow-after-change to/from
6120 after-change-functions.
6121 (follow-start-end-invalid): New variable.
6122 (follow-redisplay): Manipulate follow-start-end-invalid.
6123 (follow-after-change, follow-window-start, follow-window-end)
6124 (follow-set-window-start, follow-pos-visible-in-window-p)
6125 (follow-move-to-window-line, follow-sit-for): New functions.
6127 lisp/isearch.el (isearch-call-message): New macro.
6128 (isearch-update, with-isearch-suspended, isearch-del-char)
6129 (isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
6130 (with-isearch-suspended): Rearrange code such that isearch-call-message is
6131 invoked before point is moved.
6132 (isearch-message): Add comment about where point must be at function call.
6133 (isearch-search): Remove call to isearch-message.
6134 (isearch-lazy-highlight-window-group): New variable.
6135 (isearch-lazy-highlight-new-loop): Unconditionally start idle timer. Move
6136 the battery of tests to ...
6137 (isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
6138 Note: (sit-for 0) is still called.
6139 (isearch-lazy-highlight-update): Check membership of
6140 isearch-lazy-highlight-window-group. Don't set the `window' overlay
6142 (isearch-update, isearch-done, isearch-string-out-of-window)
6143 (isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
6144 (isearch-lazy-highlight-search, isearch-lazy-highlight-update)
6145 (isearch-lazy-highlight-update): Call the six amended primitives (see
6146 src/window.c above) with the new `group' argument set to t, to cooperate
6149 2015-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6151 * lisp/emacs-lisp/ert.el: Prefer pcase over cl-typecase
6153 * lisp/emacs-lisp/ert.el (ert--should-error-handle-error)
6154 (ert--explain-format-atom, ert--explain-equal-rec)
6155 (ert--print-backtrace, ert-test-result-type-p, ert-select-tests)
6156 (ert--insert-human-readable-selector): Prefer pcase over cl-typecase.
6158 2015-12-04 Artur Malabarba <bruce.connor.am@gmail.com>
6160 * lisp/character-fold.el: Remove special case-folding support
6162 (character-fold-to-regexp): Remove special code for
6163 case-folding. Char-fold search still respects the
6164 `case-fold-search' variable (i.e., f matches F). This only
6165 removes the code that was added to ensure that f also matched
6166 all chars that F matched. For instance, after this commit, f
6167 no longer matches 𝔽.
6169 This was necessary because the logic created a regexp with
6170 2^(length of the string) redundant paths. So, when a very
6171 long string "almost" matched, Emacs took a very long time to
6172 figure out that it didn't. This became particularly relevant
6173 because isearch's lazy-highlight does a search bounded by (1-
6174 match-end) (which, in most circumstances, is a search that
6175 almost matches). A recipe for this can be found in bug#22090.
6177 2015-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6179 * lisp/emacs-lisp/cl-macs.el (character): Can't be negative
6183 2015-12-04 Daiki Ueno <ueno@gnu.org>
6185 lisp/gnus/qp.el: Don't replace "from " at bol
6187 * lisp/gnus/qp.el (quoted-printable-encode-region): Bind `case-fold-search'
6188 to nil when looking for "^From ". Problem reported by Simon Josefsson.
6190 2015-12-03 Phillip Lord <phillip.lord@russet.org.uk>
6192 Externalize some symbols in undo-auto
6194 * doc/lispref/text.texi: Update symbols.
6195 * lisp/simple.el (undo-auto--amalgamate,
6196 undo-auto--current-boundary-timer): Make symbols public.
6197 * src/cmds.c (Fself_insert_command,Fdelete_char): Call
6200 2015-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6202 * lisp/emacs-lisp/smie.el (smie-next-sexp): Fix BOB "token"
6204 2015-12-03 Michael Albinus <michael.albinus@gmx.de>
6206 Some error message improvements in tramp-sh.el
6208 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6209 Suppress error messages for "mesg" and "biff" calls.
6210 (tramp-get-remote-path): Ignore errors when expanding
6211 `tramp-own-remote-path'. Raise a warning instead.
6213 2015-12-03 Eli Zaretskii <eliz@gnu.org>
6215 Document 'nacl' value for 'system-type'
6217 * doc/lispref/os.texi (System Environment): Document the 'nacl'
6218 value of 'system-type'.
6220 2015-12-03 Eli Zaretskii <eliz@gnu.org>
6222 Document 'window-max-chars-per-line'
6224 * doc/lispref/windows.texi (Window Sizes): Document
6225 'window-max-chars-per-line'.
6227 2015-12-03 Artur Malabarba <bruce.connor.am@gmail.com>
6229 Fix some file headers for the purpose of `package--builtins'
6231 * lisp/emacs-lisp/cl-preloaded.el
6232 * lisp/emacs-lisp/eieio-compat.el
6233 * lisp/net/sasl-scram-rfc.el: Add a "Package:" header
6235 * lisp/ielm.el: Fix summary line.
6237 2015-12-03 Artur Malabarba <bruce.connor.am@gmail.com>
6239 * lisp/emacs-lisp/package.el (package-unpack): Load before compiling
6241 Reload any previously loaded package files before compiling
6242 the package (also reload the same files after compiling).
6243 This ensures that we have the most recent definitions during
6244 compilation, and avoids generating bad elc files when a macro
6245 changes and it is used in a different file from the one it's
6248 2015-12-03 Artur Malabarba <bruce.connor.am@gmail.com>
6250 * lisp/emacs-lisp/package.el: Refactor package activation code
6252 (package-activate): Move code that activates dependencies into
6254 (package--load-files-for-activation): New function.
6255 (package-activate-1): Add code for (optionally) activating
6256 dependencies, and move file-loading code into
6257 `package--load-files-for-activation'.
6259 2015-12-03 Eli Zaretskii <eliz@gnu.org>
6261 Document new font-related functionality
6263 * doc/lispref/display.texi (Low-Level Font): Document
6264 'default-font-width', 'default-font-height', 'window-font-width',
6265 and 'window-font-height'.
6267 * etc/NEWS: Move entries for 'default-font-width',
6268 'default-font-height', 'window-font-width', and 'window-font-height'
6269 to their place and mark them documented.
6271 2015-12-03 Eli Zaretskii <eliz@gnu.org>
6273 Fix documentation and implementation of 'directory-name-p'
6275 * lisp/files.el (directory-name-p): Modify to recognize
6276 backslashes on MS-Windows and MS-DOS. Adjust the doc string
6277 accordingly. Use '=', not char-equal, for comparison, as
6278 letter-case cannot possibly be an issue here.
6280 * doc/lispref/files.texi (Directory Names): Move the documentation
6281 of directory-name-p here from "Relative File Names". Update the
6282 description per the changes in implementation.
6284 * etc/NEWS: Move the entry for 'directory-name-p' to its proper
6285 place and mark it documented.
6287 2015-12-02 Eli Zaretskii <eliz@gnu.org>
6289 Minor copyedit in Emacs manual
6291 * doc/emacs/search.texi (Lax Search): Make wording about character
6292 folding by default less definitive. (Bug#22043)
6294 2015-12-02 Eli Zaretskii <eliz@gnu.org>
6296 More emacs-module.c fixes for wide ints
6298 * src/emacs-module.c (value_to_lisp) [WIDE_EMACS_INT]: Use
6299 unsigned data types to manipulate pointers, to avoid sign
6300 extension coming after us with a vengeance.
6302 * modules/mod-test/test.el (mod-test-sum-test): Add tests for
6303 Emacs with wide ints that verify integer values near the critical
6304 value that requires us to switch to a cons cell.
6306 2015-12-02 Stephen Leake <stephen_leake@stephe-leake.org>
6308 Fix bug#22069 in cl-generic.el
6310 * lisp/emacs-lisp/cl-generic.el (cl-no-method): Remove %S; this string is
6311 not run thru `format'.
6313 2015-12-02 Dmitry Gutov <dgutov@yandex.ru>
6315 APPEND etags--xref-backend to xref-backend-functions
6317 * lisp/progmodes/xref.el (xref-backend-functions):
6318 Use APPEND when adding the default element
6319 (http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00061.html).
6321 2015-12-01 Eli Zaretskii <eliz@gnu.org>
6323 More accurate documentation of lax whitespace matching
6325 * lisp/isearch.el (isearch-forward-word, isearch-forward-symbol)
6326 (word-search-backward, word-search-forward)
6327 (word-search-backward-lax, word-search-forward-lax): Mention in
6328 doc strings that toggling lax whitespace matching has no effect on
6331 * doc/emacs/search.texi (Word Search, Symbol Search): Clarify that
6332 lax whitespace matching has no effect on these commands.
6334 2015-12-01 Eli Zaretskii <eliz@gnu.org>
6336 Fix emacs-module.c for wide ints
6338 * src/emacs-module.c (lisp_to_value): Compare the produced value
6339 with the original Lisp object, not with the one potentially
6340 converted into a Lisp_Cons. Fixes assertion violations when
6341 working with integers larger than fit into a 32-bit value.
6343 * modules/mod-test/test.el (mod-test-sum-test): Add tests for
6344 large integers, to test --with-wide-int.
6346 2015-12-01 Eli Zaretskii <eliz@gnu.org>
6348 Document 'directory-files-recursively'
6350 * lisp/files.el (directory-files-recursively): Doc fix. Rename
6351 the argument MATCH to REGEXP, to be more explicit about its form.
6353 * doc/lispref/files.texi (Contents of Directories): Improve the
6354 documentation of 'directory-files-recursively'. Add
6357 * etc/NEWS: Move the entry for 'directory-files-recursively' to
6358 its place and mark it documented.
6360 2015-12-01 Eli Zaretskii <eliz@gnu.org>
6362 Document 'inhibit-read-only' property
6364 * doc/lispref/text.texi (Special Properties): Describe the new
6365 'inhibit-read-only' text property. Add cross-reference to where
6366 read-only buffers are described.
6367 * doc/lispref/buffers.texi (Read Only Buffers): Mention that
6368 'inhibit-read-only' property exempts text from being read-only.
6369 Add cross-reference to "Special Properties".
6371 * etc/NEWS: Move the entry about 'inhibit-read-only' property to
6372 its place and mark it documented.
6374 2015-12-01 Artur Malabarba <bruce.connor.am@gmail.com>
6376 * lisp/emacs-lisp/package.el: Update header comments
6378 2015-12-01 Artur Malabarba <bruce.connor.am@gmail.com>
6380 * lisp/character-fold.el: Add back multi-char matching
6382 (character-fold-to-regexp): Uncomment recently commented code
6383 and make the algorithm "dummer" by not checking every possible
6384 combination. This will miss some possible matches, but it
6385 greatly reduces regexp size.
6387 * test/automated/character-fold-tests.el
6388 (character-fold--test-fold-to-regexp): Comment out test of
6389 functionality no longer supported.
6391 2015-12-01 Xue Fuqiao <xfq.free@gmail.com>
6393 * doc/emacs/ack.texi (Acknowledgments): Update.
6395 2015-12-01 Michael Albinus <michael.albinus@gmx.de>
6397 Check `file-remote-p' over absolute files names in files.el
6399 * lisp/files.el (directory-files-recursively)
6400 (get-free-disk-space): Check `file-remote-p' over absolute files names.
6402 2015-12-01 Andreas Schwab <schwab@linux-m68k.org>
6404 * src/lread.c (syms_of_lread): Doc fix.
6406 2015-12-01 Dmitry Gutov <dgutov@yandex.ru>
6408 Don't mistake certain JS method calls for keywords
6410 * lisp/progmodes/js.el (js--ctrl-statement-indentation):
6411 Braceless keyword can't come after a period (bug#22063).
6413 2015-12-01 David Reitter <david.reitter@gmail.com>
6415 Read frame_title_format from buffer-local variable for NS port
6417 * src/nsfns.m (x_implicitly_set_name): Read frame-title-format and
6418 icon-title-format variables from buffer in appropriate window.
6421 2015-12-01 Juri Linkov <juri@linkov.net>
6423 * lisp/replace.el (occur-engine): Count matches in empty lines.
6427 2015-11-30 Aurélien Aptel <aurelien.aptel@gmail.com>
6429 * src/emacs-module.h: Fix finalizer typedef for C++11
6431 C++11 standard doesn't allow exception-specification in typedef.
6432 The workaround is to declare a dummy function prototype and use
6435 2015-11-30 Eli Zaretskii <eliz@gnu.org>
6439 * src/emacs-module.c (lisp_to_value, value_to_lisp)
6440 [WIDE_EMACS_INT]: Avoid compiler warnings.
6442 2015-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
6444 Rely on conservative stack scanning to find "emacs_value"s
6446 * src/emacs-module.c (struct emacs_value_tag)
6447 (struct emacs_value_frame, struct emacs_value_storage): Remove.
6448 (value_frame_size): Remove constant.
6449 (struct emacs_env_private): Use Lisp_Object for non_local_exit info.
6450 (lisp_to_value): Remove first arg.
6451 (module_nil): New constant.
6452 Use it instead of NULL when returning an emacs_value.
6453 (module_make_function): Adjust to new calling convention of
6454 Qinternal_module_call.
6455 (DEFUN): Receive args in an array rather than a list.
6456 Use SAFE_ALLOCA rather than xnmalloc. Skip the lisp_to_value loop when
6457 we don't have WIDE_EMACS_INT. Adjust to new type of non_local_exit info.
6458 (module_non_local_exit_signal_1, module_non_local_exit_throw_1):
6459 Adjust to new type of non_local_exit info.
6460 (ltv_mark) [WIDE_EMACS_INT]: New constant.
6461 (value_to_lisp, lisp_to_value): Rewrite.
6462 (initialize_frame, initialize_storage, finalize_storage): Remove functions.
6463 (allocate_emacs_value): Remove function.
6464 (mark_modules): Gut it.
6465 (initialize_environment): Don't initialize storage any more.
6466 Keep the actual env object on Vmodule_environments.
6467 (finalize_environment): Don't finalize storage any more.
6468 (syms_of_module): Initialize ltv_mark and module_nil.
6470 * src/emacs-module.h (emacs_value): Make it more clear that this type
6471 is really opaque, including the fact that NULL may not be valid.
6473 * modules/mod-test/mod-test.c (Fmod_test_signal, Fmod_test_throw):
6474 Don't assume that NULL is a valid emacs_value.
6476 2015-11-30 Eli Zaretskii <eliz@gnu.org>
6478 Yet another doc improvement for search commands
6480 * doc/emacs/search.texi (Word Search, Symbol Search)
6481 (Regexp Search): Document commands that don't support lax
6482 whitespace matching or character folding.
6483 (Nonincremental Search): Mention the search commands that can be
6484 invoked from the menu bar.
6486 * lisp/isearch.el (isearch-define-mode-toggle-word)
6487 (isearch-define-mode-toggle-symbol)
6488 (isearch-define-mode-toggle-character-fold): Note in the doc
6489 string that turning these on exits the regexp mode.
6490 (isearch-forward-regexp, isearch-forward-word)
6491 (isearch-forward-symbol, isearch-backward-regexp)
6492 (word-search-backward, word-search-forward)
6493 (word-search-backward-lax, word-search-forward-lax): State in the
6494 doc string which commands don't support character folding and/or
6495 lax-whitespace matching.
6497 2015-11-30 Martin Rudalics <rudalics@gmx.at>
6499 Run `window-size-change-functions' also when reading from minibuffer
6501 * src/xdisp.c (redisplay_internal): Run `window-size-change-functions'
6502 also when reading from minibuffer.
6504 2015-11-30 Ulf Jasper <ulf.jasper@web.de>
6506 Fix scrambling of html-rendered item buffers
6508 * lisp/net/newst-treeview.el (newsticker--treeview-render-text): Fix
6509 scrambling of contents by wrapping call to html-renderer in
6510 save-selected-window.
6512 2015-11-30 Paul Eggert <eggert@cs.ucla.edu>
6514 Fix font typo in previous doc fix.
6516 2015-11-30 Paul Eggert <eggert@cs.ucla.edu>
6518 A bit more security doc, esp. file local vars
6520 * doc/emacs/emacs.texi (Top):
6521 * doc/emacs/misc.texi (Miscellaneous Commands):
6522 Refer to new Host Security section.
6523 (Host Security): New section.
6524 * doc/lispref/os.texi (Security Considerations):
6525 Mention file local variables.
6527 2015-11-30 Artur Malabarba <bruce.connor.am@gmail.com>
6529 * lisp/character-fold.el: Comment out branching code
6531 (character-fold-to-regexp): Comment out code that uses multi-char
6532 table. The branching caused by this induces absurdly long regexps,
6533 up to 10k chars for as little as 25 input characters.
6535 2015-11-30 Paul Eggert <eggert@cs.ucla.edu>
6537 Spelling and grammar fixes
6539 2015-11-30 Dmitry Gutov <dgutov@yandex.ru>
6541 Make lisp-completion-at-point a wrapper instead of an alias
6543 * lisp/progmodes/elisp-mode.el (lisp-completion-at-point):
6544 Turn into an obsolete wrapper around elisp-completion-at-point
6547 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
6549 * lisp/isearch.el (isearch-search-fun-default): Nicer error
6551 message when the search fails.
6553 2015-11-29 Dmitry Gutov <dgutov@yandex.ru>
6555 Update menu-bar-goto-uses-etags-p for the current xref API
6557 * lisp/menu-bar.el (menu-bar-goto-uses-etags-p): Consult
6558 xref-backend-functions, instead of now-nonexistent
6561 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
6563 * lisp/isearch.el (isearch-define-mode-toggle): Advertise binding
6565 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
6567 * lisp/menu-bar.el: Use folding in searches
6569 (nonincremental-search-forward): Use `isearch-search-fun-default'
6570 to determine the search function.
6571 (nonincremental-search-backward)
6572 (nonincremental-repeat-search-forward)
6573 (nonincremental-repeat-search-backward): Use it.
6575 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
6577 * lisp/menu-bar.el (menu-bar-goto-uses-etags-p): Fix a warning
6579 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
6581 * lisp/character-fold.el (character-fold-to-regexp): Be careful
6583 not to return huge regexps.
6585 2015-11-29 Eli Zaretskii <eliz@gnu.org>
6587 Improve documentation of string-collate-* functions
6589 * doc/lispref/strings.texi (Text Comparison): Improve wording and
6590 indexing of 'string-collate-equalp' and 'string-collate-lessp'.
6592 * etc/NEWS: Move the entry of 'string-collate-equalp' and
6593 'string-collate-lessp' to "Lisp Changes" section and mark it as
6596 2015-11-29 Eli Zaretskii <eliz@gnu.org>
6598 Document truncate-string-ellipsis
6600 * doc/lispref/display.texi (Size of Displayed Text): Document
6601 'truncate-string-ellipsis'.
6603 * lisp/international/mule-util.el (truncate-string-ellipsis): Doc fix.
6604 (truncate-string-to-width): Mention in the doc string that the
6605 default for ELLIPSIS comes from 'truncate-string-ellipsis'.
6607 * etc/NEWS: Move the 'truncate-string-ellipsis' entry to the "Lisp
6610 2015-11-29 Eli Zaretskii <eliz@gnu.org>
6612 Fix confusion wrt character folding in the Emacs manual
6614 * doc/emacs/search.texi (Nonincremental Search, Regexp Search):
6615 Document that invoking search-forward/backward and
6616 re-search-forward/backward supports only case folding, but not the
6617 rest of the lax-search features. Reported by Mike Kupfer
6620 2015-11-29 Ken Brown <kbrown@cornell.edu>
6622 Update mod-test-sum-test
6624 * modules/mod-test/test.el (mod-test-sum-test): Update to
6625 accommodate the lack of dladdr on Cygwin.
6627 2015-11-29 Alan Mackenzie <acm@muc.de>
6629 Byte compiler: Catch missing argument to `funcall'. Fixes bug#22051.
6631 * lisp/emacs-lisp/bytecomp.el (byte-compile-funcall): When there's no argument
6632 to `funcall', (i) Output an error message; (ii) Generate code to signal a
6633 `wrong-number-of-arguments' error.
6635 2015-11-29 Martin Rudalics <rudalics@gmx.at>
6637 * lisp/window.el (split-window): Don't sanitize sizes when SIZE is non-nil.
6639 2015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
6641 * lisp/character-fold.el (character-fold-to-regexp)
6643 Warn about using long strings.
6645 * test/automated/character-fold-tests.el
6646 (character-fold--test-lax-whitespace)
6647 (character-fold--test-consistency): Reduce string size for tests.
6649 2015-11-28 Eli Zaretskii <eliz@gnu.org>
6651 Document renaming of x-select-enable-* variables
6653 * doc/emacs/killing.texi (Clipboard): Rename
6654 x-select-enable-clipboard to select-enable-clipboard and
6655 x-select-enable-primary to select-enable-primary. Update index
6658 * etc/NEWS: Mark entry as documented.
6660 2015-11-28 Eli Zaretskii <eliz@gnu.org>
6662 Document the shorthand hints displayed by M-x
6664 * doc/emacs/m-x.texi (M-x): Document the numeric meaning of
6665 suggest-key-bindings. Document the shorthand hints for commands
6666 that have no key bindings. Document that M-x completion ignores
6669 * etc/NEWS: Move the M-x entry to "Editing Changes" and mark it as
6672 2015-11-28 Eli Zaretskii <eliz@gnu.org>
6674 Update docs of character folding
6676 * doc/emacs/search.texi (Lax Search): Update the description of
6677 character folding for the latest changes.
6679 2015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
6681 * lisp/character-fold.el: Also play nice with case-folding
6683 (character-fold-to-regexp): Take `case-fold-search' into account.
6685 2015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
6687 * lisp/character-fold.el: Add support for multi-char matches
6689 (character-fold-table): Now has an extra-slot. This is a second
6690 char-table that holds multi-character matches. See docstring for
6692 (character-fold-to-regexp): Can build branching regexps when a
6693 character's entry the extra slot of `character-fold-table' matches the
6694 characters that succeed it.
6696 2015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
6698 * lisp/character-fold.el: Code simplifications
6700 (character-fold-table): Reduce the scope of a variable.
6701 (character-fold-to-regexp): Change logic to work directly on the
6702 input string. It's a little easier to understand, probably
6703 faster, and sets us up for implementing multi-char matches.
6705 * test/automated/character-fold-tests.el
6706 (character-fold--test-fold-to-regexp): New test.
6708 2015-11-28 Eli Zaretskii <eliz@gnu.org>
6710 Document changes in "C-h l"
6712 * doc/emacs/help.texi (Misc Help): Document the changes in "C-h l".
6714 * etc/NEWS: mark "C-h l" changes as documented.
6716 2015-11-28 Eli Zaretskii <eliz@gnu.org>
6718 Finalize documentation of 'custom-prompt-customize-unsaved-options'
6720 * doc/emacs/custom.texi (Saving Customizations): Index the new
6721 function 'custom-prompt-customize-unsaved-options'.
6723 * etc/NEWS: Mention when 'custom-prompt-customize-unsaved-options'
6726 2015-11-28 Eli Zaretskii <eliz@gnu.org>
6728 Document 'comment-line'
6730 * doc/emacs/programs.texi (Comment Commands): Document
6733 * etc/NEWS: Move the entry for 'comment-line' into "Editing Changes".
6735 2015-11-28 Eli Zaretskii <eliz@gnu.org>
6737 Document new checkdoc features
6739 * doc/lispref/tips.texi (Tips, Library Headers): Document the
6740 keyword-checking features of checkdoc and the commands
6741 'checkdoc-file' and 'checkdoc-current-buffer'.
6743 * etc/NEWS: Move the checkdoc-related entries to their own
6746 2015-11-28 Philipp Stephani <p.stephani2@gmail.com>
6748 Simplify the prologue of emacs-module.c functions
6750 * src/emacs-module.c (MODULE_FUNCTION_BEGIN): New macro.
6751 (module_make_global_ref)
6752 (module_free_global_ref, module_make_function, module_funcall)
6753 (module_intern, module_type_of, module_extract_integer)
6754 (module_make_integer, module_extract_float, module_make_float)
6755 (module_copy_string_contents, module_make_string)
6756 (module_make_user_ptr, module_get_user_ptr, module_set_user_ptr)
6757 (module_get_user_finalizer, module_set_user_finalizer)
6758 (module_vec_set, module_vec_get, module_vec_size): Use new helper
6759 macro MODULE_FUNCTION_BEGIN.
6761 2015-11-28 Eli Zaretskii <eliz@gnu.org>
6763 Don't reject module calls with no arguments
6765 * src/emacs-module.c (Finternal_module_call): Allow ARGLIST be nil.
6767 2015-11-28 Philipp Stephani <p.stephani2@gmail.com>
6769 Make module-call be visible from Lisp
6771 * src/emacs-module.c (module_make_function): Use internal--module-call.
6772 (Finternal_module_call): Renamed from Fmodule_call. Add safety
6774 (syms_of_module): DEFSYM save-value-p and save-pointer-p. Do
6775 defsubr internal--module-call.
6777 2015-11-28 Eli Zaretskii <eliz@gnu.org>
6779 Add etags tests for the recent Lua-related bugfix
6781 * test/etags/lua-src/test.lua: New file, tests the issues raised
6783 * test/etags/Makefile (LUASRC): Add test.lua.
6784 * test/etags/ETAGS.good_1:
6785 * test/etags/ETAGS.good_2:
6786 * test/etags/ETAGS.good_3:
6787 * test/etags/ETAGS.good_4:
6788 * test/etags/ETAGS.good_5:
6789 * test/etags/ETAGS.good_6:
6790 * test/etags/CTAGS.good: Adapt to the new Lua test. Also, an old
6791 regression fix, resolved around 25 May 2015, required changes to
6792 the "good" ETAGS files.
6794 2015-11-28 Eli Zaretskii <eliz@gnu.org>
6796 Fix Lua tags when a function name includes '.' or ':'
6798 * lib-src/etags.c (Lua_functions): Add a tag for the last element
6799 of a function name after a dot or a colon. (Bug#21934)
6801 2015-11-28 Eli Zaretskii <eliz@gnu.org>
6803 Improve documentation of search and replace commands
6805 * doc/emacs/search.texi (Replacement and Lax Matches): Document
6806 which commands are affected by 'replace-character-fold'.
6807 (Lax Search): Add a cross reference to "Replacement and Lax
6808 Matches". Improve wording. Fix lost extra whitespace.
6809 (Search Customizations): Improve wording. (Bug#22036)
6810 See also comments in
6811 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02376.html.
6813 * lisp/replace.el (query-replace, query-replace-regexp)
6814 (query-replace-regexp-eval, replace-string, replace-regexp):
6815 Mention 'replace-character-fold' in the doc strings.
6817 2015-11-28 Paul Eggert <eggert@cs.ucla.edu>
6819 Fix minor problems found by static checking
6821 * src/undo.c (prepare_record): Add proper prototype for C.
6823 2015-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6825 * src/emacs-module.c (struct env_storage): Delete
6827 (struct emacs_runtime_private): Keep an emacs_env instead.
6828 (Fmodule_load, Fmodule_call): Declare emacs_env_private separately.
6829 (initialize_environment): Split the arg in two. Adjust all callers.
6830 Only store the private part in Vmodule_environments.
6831 (finalize_environment): Change the arg to only be the private env.
6834 2015-11-27 Eli Zaretskii <eliz@gnu.org>
6836 Improve documentation of 'replace-character-fold'
6838 * lisp/replace.el (replace-character-fold): Clarify which commands
6839 are affected by this variable.
6841 2015-11-27 Mark Oteiza <mvoteiza@udel.edu>
6843 Backport: Add interactive seek command.
6845 * lisp/mpc.el (mpc-cmd-seekcur): New function.
6846 (mpc-seek-current): New command.
6847 (mpc-mode-menu): Add entry for mpc-seek-current
6848 (mpc-mode-map): Bind mpc-seek-current to "g"
6850 2015-11-27 Dmitry Gutov <dgutov@yandex.ru>
6852 Autoload etags when using its xref backend
6854 * lisp/progmodes/xref.el (xref--etags-backend):
6855 Rename to etags--xref-backend. Move to etags.el. Autoload.
6858 2015-11-27 Artur Malabarba <bruce.connor.am@gmail.com>
6860 * lisp/character-fold.el: Allow complex chars to match their decomposition
6862 (character-fold-table): When a character's decomposition does not
6863 involve a formatting tag (i.e., if it has an "exact" description via
6864 other characters), then this character is allowed to match the
6867 2015-11-27 Artur Malabarba <bruce.connor.am@gmail.com>
6869 * lisp/character-fold.el: More descriptive variable names
6871 (character-fold-table): Rename a lot of the lexical variables to
6872 make the code easier to read.
6874 2015-11-27 Artur Malabarba <bruce.connor.am@gmail.com>
6876 * lisp/isearch.el: Ensure we still support `isearch-new-word'
6878 (isearch-new-regexp-function): Define variable.
6879 (isearch-new-word): Define as an obsolete alias. (Bug#22018)
6881 2015-11-27 Eli Zaretskii <eliz@gnu.org>
6883 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
6885 2015-11-27 Lee Bochicchio <lboc.home@gmail.com>
6887 * test/automated/abbrev-tests.el: Define more tests
6889 (abbrev-table-name-test, kill-all-abbrevs-test)
6890 (clear-abbrev-table-test): New tests.
6892 2015-11-27 Eli Zaretskii <eliz@gnu.org>
6894 Add module tests for wrong-type-argument
6896 * modules/mod-test/test.el (mod-test-sum-test): Add tests for
6897 wrong-type-argument.
6899 2015-11-27 Eli Zaretskii <eliz@gnu.org>
6901 Improve handling of signals and 'throw' in modules
6903 * src/emacs-module.c: Add commentary explaining how to write
6904 functions in this file.
6905 (module_make_global_ref, module_free_global_ref)
6906 (module_non_local_exit_signal, module_non_local_exit_throw)
6907 (module_make_function, module_funcall, module_intern)
6908 (module_type_of, module_is_not_nil, module_eq)
6909 (module_extract_integer, module_make_integer)
6910 (module_extract_float, module_make_float)
6911 (module_copy_string_contents, module_make_string)
6912 (module_make_user_ptr, module_get_user_ptr, module_set_user_ptr)
6913 (module_get_user_finalizer, module_set_user_finalizer)
6914 (module_vec_set, module_vec_get, module_vec_size)
6915 (module_non_local_exit_signal_1, module_non_local_exit_throw_1):
6916 Do nothing and return with failure indication immediately, if some
6917 previous module call signaled an error or wants to throw. See
6918 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02133.html
6919 for the relevant discussions.
6921 2015-11-27 Eli Zaretskii <eliz@gnu.org>
6923 Add ':version' tag to 'checkdoc-package-keywords-flag'
6925 * lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag):
6926 Add a ':version' tag.
6928 2015-11-27 Eli Zaretskii <eliz@gnu.org>
6930 Improve documentation of 'eval-buffer' and 'eval-region'
6932 * src/lread.c (Feval_buffer, Feval_region): Doc fixes. (Bug#22023)
6934 * doc/lispref/eval.texi (Eval): Mention narrowing to clarify
6935 "accessible portion of buffer".
6937 2015-11-27 Eli Zaretskii <eliz@gnu.org>
6939 Unbreak the Cygwin w32 build
6941 * src/emacs.c (main): Call w32_init_main_thread in the Cygwin w32
6942 build as well. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
6944 2015-11-27 Eli Zaretskii <eliz@gnu.org>
6946 Improve commentary in character-fold.el
6948 * lisp/character-fold.el (character-fold-to-regexp): Move detailed
6949 description from commit log message to comments. (Bug#22019)
6951 2015-11-26 Alan Mackenzie <acm@muc.de>
6953 Byte Compiler: generate code to adjust stack count after call to `signal'.
6955 Corrects change from earlier today.
6957 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): supply the current value of
6958 `byte-compile--for-effect' as argument to `byte-compile-form'.
6960 2015-11-26 Eli Zaretskii <eliz@gnu.org>
6962 Improve commentary of prepare_to_modify_buffer_1
6964 * src/insdel.c (prepare_to_modify_buffer_1): Mention in commentary
6965 that this function runs Lisp. Suggested by Richard Stallman
6968 2015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
6970 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
6972 2015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
6974 Fix regression after merge.
6976 * src/undo.c (prepare_record): Remove call to run_undoable_change.
6978 2015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
6980 After delete, record point location in undo.
6982 Addresses Bug #21968.
6984 * lisp/simple.el (undo-auto--add-boundary): Clean up code to
6985 better support intercalating calls.
6986 * src/keyboard.c, src/keyboard.h (command_loop_1): Store value of
6987 point and current buffer before each command.
6988 * src/undo.c (record_point): Now only record the point.
6989 * src/undo.c (prepare_record): Functionality removed form
6991 * src/undo.c (record_delete): Check if point needs recording.
6992 * src/undo.c (undo-boundary): Record value of point before each
6994 * test/automated/simple-test.el: New tests.
6999 2015-11-26 Eli Zaretskii <eliz@gnu.org>
7001 Fix compiler warnings in w32.c
7003 * src/w32.c (sys_socket): In case of error, use -1 as return
7004 value, not INVALID_SOCKET, which causes compiler warnings.
7005 (maybe_load_unicows_dll): Cast the return value of GetProcAddress
7006 to the appropriate function signature, to avoid compiler errors.
7007 Reported by Andy Moreton <andrewjmoreton@gmail.com>. (Bug#21953)
7009 2015-11-26 Dmitry Gutov <dgutov@yandex.ru>
7011 Check if the file exists on disk before producing the revert diff
7013 * lisp/vc/vc-dispatcher.el (vc-buffer-sync): Check if the file
7014 exists on disk (bug#20558).
7016 2015-11-26 Alan Mackenzie <acm@muc.de>
7018 Byte compiler: on setq with an odd number of arguments, generate a `signal'
7020 * lisp/emacs-lisp/cconv.el (cconv-convert): Don't transform `setq' form when
7021 it has an odd number of arguments, to allow bytecomp to handle the error.
7023 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): In a `setq' form with an
7024 odd number of arguments, generate a `signal' instead of the normal code.
7026 2015-11-26 Dmitry Gutov <dgutov@yandex.ru>
7028 Use find-tag-default for xref-backend-identifier-at-point
7030 * lisp/progmodes/etags.el (find-tag-tag)
7031 (tags-completion-at-point-function): Extract common code as
7033 (xref-backend-identifier-at-point): Define in terms of the new
7036 2015-11-26 Paul Eggert <eggert@cs.ucla.edu>
7038 * src/undo.c (record_property_change): Remove now-unused local.
7040 2015-11-25 Phillip Lord <phillip.lord@russet.org.uk>
7042 run_undoable_changes now called from insdel.
7044 The original calls from inside undo.c are not always at a safe position
7045 to call lisp, as they originate in varied positions within insdel.c.
7046 Calling them directly from prepare_to_modify_buffer_1 ensures that they
7047 are always run at the same point.
7049 * src/undo.c (run_undoable_changes,syms_of_undo): Remove function
7051 * src/insdel.c (run_undoable_changes): Add function and symbol.
7053 2015-11-25 Eli Zaretskii <eliz@gnu.org>
7055 Improve and update documentation of search commands
7057 * doc/emacs/search.texi (Lax Search): Renamed from "Search Case";
7058 all references changed. Move the description of lax-whitespace
7059 here. Add description of the new character folding features and
7060 additional customizable options.
7061 (Isearch Yank): Move before "Error in Search".
7062 (Basic Isearch): Improve wording. Add index entries. Add short
7063 description of how to abandon search, making this subsection a
7064 complete introduction to search basics.
7065 (Repeat Isearch): Add index entries. Describe additional
7066 customizable options. Describe mouse clicks.
7067 (Isearch Yank): Add index entries. Describe mouse-2 click in echo
7068 area. Describe more customizable options.
7069 (Error in Isearch): Add index entries.
7070 (Special Isearch): Move actual description of some isearch
7071 commands to other sections, leaving here just the summary of the
7072 commands. Add command that toggles character folding. Describe
7073 commands, like "C-h C-h", that were previously omitted for some
7075 (Not Exiting Isearch): Describe search-exit-option. Add index
7077 (Word Search): Describe eww-search-word and eww-search-prefix.
7078 (Symbol Search): Add index entries.
7079 (Regexp Search): Describe regexp-search-ring-max.
7080 (Replacement and Lax Matches): Renamed from "Replacement and
7081 Case"; all references changed. Describe lax-whitespace matching
7082 in replace commands and related options. Describe character
7083 folding in replace commands and related options.
7084 (Query Replace): Describe query-replace-from-to-separator and the
7085 new history features. Add index entries for highlighted text.
7086 Describe query-replace-skip-read-only. Describe more keys
7087 accepted by query-replace.
7088 (Other Repeating Search): More index entries for Occur. Describe
7089 list-matching-lines-default-context-lines.
7090 (Search Customizations): New section, documents customizable
7091 options that were not documented until now.
7092 * doc/emacs/glossary.texi (Glossary): Add "Case Folding" and
7093 "Character Folding".
7095 * etc/NEWS: Move search- and replace-related entries to a single
7098 * lisp/replace.el (query-replace-show-replacement): Doc fix.
7099 * lisp/isearch.el (search-nonincremental-instead)
7100 (isearch-hide-immediately): Doc fixes.
7102 2015-11-25 Katsumi Yamaoka <yamaoka@jpl.org>
7104 Remove nnml-retrieve-groups that is unnecessary and somewhat problematic
7106 * lisp/gnus/nnml.el (nnml-retrieve-groups): Remove. See:
7107 <http://thread.gmane.org/gmane.emacs.gnus.general/86308> and
7108 <http://thread.gmane.org/gmane.emacs.gnus.general/86321>
7110 2015-11-25 Paul Eggert <eggert@cs.ucla.edu>
7112 Fix module_format_fun_env when dynlib_addr fails
7114 * src/emacs-module.c (module_format_fun_env):
7115 exprintf doesn’t support %p, so use %x. Reported by Eli Zaretskii in:
7116 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02122.html
7118 2015-11-25 Paul Eggert <eggert@cs.ucla.edu>
7120 Disambiguate variable help a bit better
7122 * lisp/help-fns.el (describe-variable): Quote the
7123 variable’s value if it is a symbol other than t or nil.
7125 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02147.html
7127 2015-11-25 Dmitry Gutov <dgutov@yandex.ru>
7129 Pass SVN commit message through log-edit-extract-headers
7131 * lisp/vc/vc-svn.el (vc-svn-checkin): Pass COMMENT through
7132 log-edit-extract-headers (bug#18954).
7134 2015-11-24 Alan Mackenzie <acm@muc.de>
7136 CC Mode: Eliminate compiler warning messages.
7138 * lisp/progmodes/cc-mode.el (top level): remove compile time declaration of
7139 `font-lock-syntactic-keywords' (which CC Mode doesn't use).
7140 * lisp/progmodes/cc-awk.el (awk-mode-syntax-table)
7141 (c-awk-set-syntax-table-properties): Clarify comments about
7142 `font-lock-syntactic-keywords'.
7144 * lisp/progmodes/cc-bytecomp.el (cc-bytecomp-load): Create a dummy declaration
7145 of this before the real (interpreted) one, to satisfy the byte compiler.
7147 2015-11-24 Simen Heggestøyl <simenheg@gmail.com>
7149 Extend the test suite for json.el
7151 * lisp/json.el (json-plist-p): Clarify docstring.
7153 * test/automated/json-tests.el (json-tests--with-temp-buffer): New
7155 (test-json-join, test-json-alist-p)
7156 (test-json-plist-p, test-json-advance, test-json-peek)
7157 (test-json-pop, test-json-skip-whitespace)
7158 (test-json-read-keyword, test-json-encode-keyword)
7159 (test-json-read-number, test-json-encode-number)
7160 (test-json-read-escaped-char, test-json-read-string)
7161 (test-json-encode-string, test-json-encode-key)
7162 (test-json-new-object, test-json-add-to-object)
7163 (test-json-read-object, test-json-encode-list)
7164 (test-json-read-array, test-json-encode-array)
7165 (test-json-read, test-json-read-from-string)
7166 (test-json-encode): New tests.
7167 (json-read-simple-alist): Merged into `test-json-read-object'.
7168 (json-encode-string-with-special-chars): Merged into
7169 `test-json-encode-string'.
7170 (json-read-string-with-special-chars): Split into
7171 `test-json-encode-string' and `test-json-read-from-string'.
7173 2015-11-24 Anders Lindgren <andlind@gmail.com>
7175 Fixed bug#18283: Enable applescript in NextStep.
7177 * nextstep/templates/Info.plist.in: Set NSAppleScriptEnabled to YES.
7179 2015-11-24 Eli Zaretskii <eliz@gnu.org>
7181 Allow completion on dynamic module files in load-library
7183 * lisp/files.el (load-library): Bind completion-ignored-extensions
7184 to nil, to allow completion on dynamic modules typed as file
7185 names. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7187 2015-11-24 Alan Mackenzie <acm@muc.de>
7189 CC Mode: eliminate almost all byte compilation warnings
7191 * lisp/progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): Remove.
7192 (cc-require): Remove the crude hack that saved and restored
7193 byte-compile-noruntime-functions.
7194 (cc-conditional-require, cc-conditional-require-after-load): New macros.
7196 * lisp/progmodes/cc-defs.el (top level): Reformulate code which loaded
7197 cc-fix.el using the new macros in cc-bytecomp.el.
7199 * lisp/progmodes/cc-langs.el (c++-template-syntax-table)
7200 (c-no-parens-syntax-table): Add extra "(eval ..)"s around "'(lambda ..)"
7201 forms to remove the superflous quotes.
7203 2015-11-24 Eli Zaretskii <eliz@gnu.org>
7205 Add one more mod-test test
7207 * modules/mod-test/test.el (mod-test-sum-test): Test the error
7208 signaled when the function is invoked with a wrong number of
7211 2015-11-24 Philipp Stephani <phst@google.com>
7213 * modules/mod-test/mod-test.c (Fmod_test_sum): Verify there are 2 args.
7215 2015-11-24 Eli Zaretskii <eliz@gnu.org>
7217 Implement dynlib_addr for MS-Windows
7219 * src/dynlib.c [WINDOWSNT]: Include w32common.h.
7220 <g_b_init_get_module_handle_ex> [WINDOWSNT]: New static variable.
7221 (GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS)
7222 (GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT) [WINDOWSNT]: Define
7224 (dynlib_reset_last_error): Reset g_b_init_get_module_handle_ex to
7226 (dynlib_addr) [WINDOWSNT]: Non-trivial implementation to report
7227 the full file name of the module for a given address.
7229 2015-11-24 Alan Mackenzie <acm@muc.de>
7231 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
7233 2015-11-24 Alan Mackenzie <acm@muc.de>
7235 Squashed commit of the following:
7237 commit e1ecf76585bef2eb87995f7a7f92cc12003a6f70
7238 Author: Alan Mackenzie <acm@muc.de>
7239 Date: Tue Nov 24 16:50:09 2015 +0000
7241 Byte compile: minor amendments.
7243 * lisp/emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
7244 add a comment to explain the binding of variables around a subsidiary
7246 (byte-compile-new-defuns): Amend the doc string.
7248 commit c537bfed1dda1593d218956ff00c6105a3ff0316
7249 Author: Alan Mackenzie <acm@muc.de>
7250 Date: Sat Nov 21 18:43:57 2015 +0000
7252 Byte compiler: fix spurious warnings "might not be defined at runtime".
7254 Also initialize byte-compile-noruntime-functions between runs.
7256 * lisp/emacs-lisp/bytecomp.el (byte-compile-new-defuns): New variable.
7257 (byte-compile-initial-macro-environment): For eval-when-compile: bind
7258 byte-compile-unresolved-functions and byte-compile-new-defuns around
7259 byte-compile-top-level, to prevent spurious entries being made.
7260 (byte-compile-warn-about-unresolved-functions): Check whether function is
7261 in byte-compile-new-defuns before emitting a warning about it.
7262 (byte-compile-from-buffer): Initialize new variable and
7263 byte-compile-noruntime-functions to nil.
7264 (byte-compile-file-form-require): record all new functions defined by a
7265 `require' in byte-compile-new-defuns.
7266 (byte-compile-file-form-defmumble): record the new alias in
7267 byte-compile-new-defuns.
7269 2015-11-24 Eli Zaretskii <eliz@gnu.org>
7271 Fix crash at startup related to GC of font entities
7273 * src/font.h (GC_FONT_SPEC_P, GC_FONT_ENTITY_P)
7274 (GC_FONT_OBJECT_P, GC_XFONT_SPEC, GC_XFONT_ENTITY)
7275 (GC_XFONT_OBJECT): New macros, for use in garbage collector.
7276 * src/alloc.c (compact_font_cache_entry, compact_font_caches):
7277 Don't ifdef away font cache compaction on NT_GUI, as the problems
7278 which led to that seem to have been solved.
7279 (compact_font_cache_entry): Use GC_FONT_SPEC_P, GC_XFONT_SPEC,
7280 GC_XFONT_ENTITY, and GC_XFONT_OBJECT, instead of their non-GC_
7281 cousins. (Bug#21999)
7283 2015-11-24 Alan Mackenzie <acm@muc.de>
7285 Byte compile: Output an error, not a warning, for odd number of args to setq
7287 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): Amend.
7289 2015-11-24 Ken Raeburn <raeburn@raeburn.org>
7291 Fix kbd_buffer iteration loop in readable_events
7293 * src/keyboard.c (readable_events): Wrap the event pointer back to the
7294 start of the kbd_buffer array inside the top of the loop instead of
7295 right before checking the loop condition, since kbd_fetch_ptr and
7296 kbd_store_ptr point past the end of the array to mean that element 0
7297 is next. (bug#21935)
7299 2015-11-24 Paul Eggert <eggert@cs.ucla.edu>
7301 Improve text-quoting-style doc again
7303 * doc/lispref/help.texi (Keys in Documentation):
7304 Omit overkill discussion of ‘setq’. Mention Emacs versions
7305 where ‘grave’ style was standard.
7307 2015-11-24 Paul Eggert <eggert@cs.ucla.edu>
7309 Improve text-quoting-style doc
7311 2015-11-24 Paul Eggert <eggert@cs.ucla.edu>
7313 Simplify module_make_function
7315 * src/emacs-module.c (module_make_function):
7316 Simplify by calling build_unibyte_string.
7318 2015-11-24 Paul Eggert <eggert@cs.ucla.edu>
7320 Port better to FreeBSD’s dlfunc vs dlsym
7322 This avoids warnings when converting between void * and
7323 function pointers, which strict C11 does not allow.
7324 * configure.ac (dlfunc): Check for existence.
7325 * src/dynlib.c (dlfunc) [!HAVE_DLFUNC]: New macro.
7326 (dynlib_func): New function.
7327 * src/dynlib.h (dynlib_function_ptr, dynlib_func): New decls.
7328 * src/emacs-module.c (Fmodule_load): Use dynlib_func, not
7329 dynlib_sym, for function pointers.
7331 2015-11-24 Paul Eggert <eggert@cs.ucla.edu>
7333 Simplify use of emacs_finalizer_function type
7335 * src/emacs-module.h (emacs_finalizer_function):
7336 Now EMACS_NOEXCEPT. All users simplified to omit EMACS_NOEXCEPT.
7337 (struct emacs_env_25): Use emacs_finalizer_function where applicable.
7339 2015-11-24 Paul Eggert <eggert@cs.ucla.edu>
7341 module_format_fun_env fixes
7343 * src/doprnt.c (exprintf) [HAVE_MODULES]: Also define in this case.
7344 * src/emacs-module.c (module_format_fun_env):
7345 Convert path and sym to UTF-8.
7346 Don’t use VLAs, as the C11 standard says they’re optional,
7347 and anyway they can cause core dumps with large allocations.
7348 Use exprintf rather than snprintf, as exprintf handles arbitrarily
7349 long strings. Simplify the code a bit.
7351 2015-11-23 Dmitry Gutov <dgutov@yandex.ru>
7353 Don't use package-user-dir in elisp-library-roots if it's not bound
7355 * lisp/progmodes/elisp-mode.el (elisp-library-roots): Don't
7356 use package-user-dir if it's not bound (bug#19759).
7358 2015-11-23 Anders Lindgren <andlind@gmail.com>
7360 New visible-bell for NextStep (OS X El Capitan compatible).
7362 Instead of inverting a rectangle in the middle of the frame, use
7363 the standard NextStep image "caution", represented using an
7364 warning sign with an exclamation mark. (Bug#21662)
7366 Implemented based on a suggestion drafted by Mustafa Kocaturk.
7368 * src/nsterm.m (EmacsBell): New class for managing the caution
7369 image. Support multiple active bells, the image is removed once
7370 all bells have timed out.
7371 (ns_timeout): Removed, no longer used.
7372 (ns_ring_bell): Reimplemented to use EmacsBell.
7374 2015-11-23 Johan Bockgård <bojohan@gnu.org>
7376 * lisp/emacs-lisp/nadvice.el (add-function): Fix debug spec.
7378 (remove-function): Ditto. (Bug#20376)
7380 2015-11-23 Mark Oteiza <mvoteiza@udel.edu>
7382 * lisp/leim/quail/tamil-dvorak.el: Add necessary escapes.
7384 2015-11-23 Eli Zaretskii <eliz@gnu.org>
7386 Improve how non-ASCII strings are accepted from modules
7388 * src/emacs-module.c (module_make_function, module_make_string):
7389 Build a unibyte Lisp string and then decode it by UTF-8, instead
7390 of building a multibyte string without decoding. This is more
7391 tolerant to deviations from UTF-8.
7393 2015-11-23 Paul Eggert <eggert@cs.ucla.edu>
7395 Port recent module changes to pickier compilers
7397 * src/emacs-module.c (module_make_function)
7398 (module_make_string): Add casts to fix pointer signedness issues.
7400 2015-11-23 Philipp Stephani <phst@google.com>
7402 Fix how strings are accepted from modules
7404 * src/emacs-module.c (module_make_function, module_make_string): Use
7405 make_multibyte_string.
7406 (module_copy_string_contents): Encode before reading the byte
7407 size. Return false if and only if an error occurred.
7409 2015-11-23 Eli Zaretskii <eliz@gnu.org>
7411 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
7413 2015-11-23 Shakthi Kannan <shakthimaan@gmail.com>
7415 Add the tamil-dvorak input method
7417 * lisp/leim/quail/tamil-dvorak.el: New file. (Bug#21768)
7419 * etc/NEWS: Mention the new input method.
7421 2015-11-23 Martin Rudalics <rudalics@gmx.at>
7423 Move setting FRAME_WINDOW_SIZES_CHANGED to resize_frame_windows.
7425 * src/frame.c (adjust_frame_size): Don't set
7426 FRAME_WINDOW_SIZES_CHANGED here ...
7427 * src/window.c (resize_frame_windows): ... but here, as suggested
7428 by Stefan Monnier. Also remove some dead code along the way.
7430 2015-11-23 Alan Mackenzie <acm@muc.de>
7432 * etc/NEWS (Incompatible Lisp Changes): Also `setf' needs an even # of args.
7434 2015-11-23 Alan Mackenzie <acm@muc.de>
7436 Signal an error when `setf' gets an odd number of arguments.
7438 * lisp/emacs-lisp/gv.el (setf): Amend.
7440 2015-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
7442 * lisp/emacs-lisp/smie.el (smie-backward-sexp): Handle BOB better.
7444 2015-11-23 Alan Mackenzie <acm@muc.de>
7446 * etc/NEWS (Incompatible Lisp Changes): Document new restriction on `setq'.
7448 2015-11-23 Alan Mackenzie <acm@muc.de>
7450 Expunge occurrences of `setq' with an odd number of arguments.
7452 * lisp/apropos.el (apropos-documentation):
7453 * lisp/obsolete/complete.el (PC-include-file-all-completions):
7454 * lisp/progmodes/compile.el (compilation-goto-locus):
7455 * lisp/vc/vc-cvs.el (vc-cvs-parse-root): (twice)
7456 Insert missing nil at end of `setq' forms.
7458 * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-autoload): Remove an
7459 erroneous trailing variable name from a setq, thus allowing a compilation
7460 properly to track functions not defined at runtime.
7462 2015-11-23 John Wiegley <johnw@newartisans.com>
7464 Add a note about a questionable use of bool in xdisp.c
7466 2015-11-23 Alan Mackenzie <acm@muc.de>
7468 Issue a warning from the byte compiler on a malformed `setq' form.
7470 Partly fixes bug#20241.
7471 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): Issue a warning when a
7472 `setq' form with an odd number of arguments is compiled.
7474 2015-11-23 Alan Mackenzie <acm@muc.de>
7476 Don't let cconv_convert insert a nil argument into a `setq' form.
7479 * lisp/emacs-lisp/cconv.el (cconv-convert): Don't silently insert a nil last
7480 argument into a `setq' when there're an odd number of args. This enables the
7481 byte compiler to issue a message in this case.
7483 2015-11-23 Alan Mackenzie <acm@muc.de>
7485 Signal an error when `setq' has an odd number of arguments. Fixes bug#20241.
7487 * src/eval.c (Fsetq): Signal an error on an odd number of arguments.
7488 (syms_of_eval): Add a DEFSYM for Qsetq.
7490 2015-11-23 Martin Rudalics <rudalics@gmx.at>
7492 * doc/lispref/windows.texi (Window Sizes): Fix indices and references.
7494 * src/frame.c (adjust_frame_size): Set FRAME_WINDOW_SIZES_CHANGED (Bug#21975).
7496 2015-11-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
7498 Add EUDC BBDB 3 entry in NEWS
7500 * NEWS: Mention EUDC BBDB backend support for BBDB 3.
7502 2015-11-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
7504 Improve EUDC to BBDB 3 export
7506 * lisp/net/eudc-vars.el (eudc-ldap-bbdb-conversion-alist): Change phone
7507 entry to single item. Add company conversion.
7508 * lisp/net/eudc-export.el (eudc-bbdbify-company): New function.
7509 (bbdb-parse-phone): Declare function.
7510 (eudc-bbdbify-phone): Add BBDB 3 support.
7513 2015-11-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
7515 Add BBDB 3 support for EUDC export
7517 * lisp/net/eudc.el: Add bbdb-version defvar.
7518 (eudc--using-bbdb-3-or-newer-p): New function.
7519 * lisp/net/eudc-export.el (eudc-create-bbdb-record): Add support for
7520 bbdb-create-internal argument list changes introduced in BBDB 3.
7521 * lisp/net/eudcb-bbdb.el: Remove bbdb-version defvar.
7522 (eudc-bbdb-field): Call eudc--using-bbdb-3-or-newer-p.
7525 2015-11-22 Eli Zaretskii <eliz@gnu.org>
7527 Allow loading modules by 'load-file'
7529 * src/lread.c (Fload): Call 'unbind_to' with 'Fmodule_load' as the
7530 2nd arg, to avoid the "binding stack not balanced" error.
7531 (syms_of_lread) <module-file-suffix>: New Lisp variable.
7533 * lisp/files.el (module-file-suffix): Declare.
7534 (load-file): Remove 'module-file-suffix' from
7535 'completion-ignored-extensions', to allow completion on modules.
7537 * etc/NEWS: Mention 'module-file-suffix'.
7539 2015-11-22 Eli Zaretskii <eliz@gnu.org>
7541 Fix unoptimized builds
7543 * src/lisp.h (XTYPE): Move before XSYMBOL, to fix unoptimized
7546 2015-11-22 Dmitry Gutov <dgutov@yandex.ru>
7548 Work around the asynchronous-empty-diff problem
7550 * lisp/vc/vc-rcs.el (vc-rcs-diff):
7551 * lisp/vc/vc-mtn.el (vc-mtn-diff):
7552 * lisp/vc/vc-hg.el (vc-hg-diff):
7553 * lisp/vc/vc-git.el (vc-git-diff): Ignore the ASYNC argument,
7554 do a synchronous process call (bug#21969).
7556 2015-11-22 Karl Fogel <kfogel@red-bean.com>
7558 Finish excising electric indent from `open-line'
7560 * lisp/simple.el (open-line): Remove INTERACTIVE argument.
7562 * test/automated/simple-test.el (open-line-indent, open-line-hook):
7565 This change finishes what my commit of Thu Nov 19 17:32:37 2015 -0600
7566 (git commit c59353896) started. It turns out that having INTERACTIVE
7567 cause `post-self-insert-hook' to run (via `newline') meant `open-line'
7568 still had the electric indent behavior, as `post-self-insert-hook'
7569 normally contains `electric-indent-post-self-insert-function' ever
7570 since `electric-indent-mode' has been on by default. Tracing the code
7571 change in `open-line' is mildly twisty, because Artur Malabarba's
7572 earliest two commits of 24 Oct 2015 first removed the `interactive'
7573 form entirely (git commit 6939896e2) and then restored it with the new
7574 extra "p" already added (git commit bd4f04f86), such that there is no
7575 single-commit diff in which one sees the second "p" appear. Thus this
7576 change is effectively a reversion of parts of each of those commits.
7578 This could close bug#21884, at least until further discussion.
7580 2015-11-22 Dmitry Gutov <dgutov@yandex.ru>
7582 Adhere closer to the "implicit tag name" definition
7584 * lisp/progmodes/etags.el (etags-tags-completion-table):
7585 Adhere closer to the "implicit tag name" definition. Simplify
7586 the regexp. Search for the explicit tag name first, and when
7587 not found, search locally for the implicit one. (Bug#21934)
7589 2015-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7591 Unrevert most of regexp reentrancy abort patch
7594 * src/syntax.c (update_syntax_table_forward): Propertize even when truncated
7595 which is hence not unreverted.
7597 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
7598 (UPDATE_SYNTAX_TABLE_FAST): Re-introduce.
7599 All callers in regex.c changed back to the _FAST versions.
7601 * test/automated/message-mode-tests.el: Tweak the test to rely on auto
7602 propertization in backward-sexp.
7604 2015-11-21 Paul Eggert <eggert@cs.ucla.edu>
7606 Revert regexp reentrancy abort patch
7608 Although the patch does fix Bug#21688 and prevents a core dump,
7609 it also makes the message-mode-propertize test fail; see:
7610 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01667.html
7611 Perhaps someone else can come up with a better fix some day.
7612 * src/syntax.c (update_syntax_table_forward):
7613 Propertize even when truncated.
7614 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
7615 (UPDATE_SYNTAX_TABLE_FAST): Remove.
7616 All callers changed back to the non-_FAST versions.
7618 2015-11-21 Paul Eggert <eggert@cs.ucla.edu>
7620 Add a few safety checks when ENABLE_CHECKING
7622 This was motivated by the recent addition of module code,
7623 which added some ENABLE_CHECKING-enabled checks that are
7624 useful elsewhere too.
7625 * src/alloc.c (compact_font_cache_entry):
7626 * src/fns.c (sweep_weak_table):
7627 * src/lread.c (oblookup):
7628 Use gc_asize rather than doing it by hand.
7629 * src/emacs-module.c (module_make_global_ref)
7630 (module_free_global_ref, module_vec_size):
7631 Omit assertions that lisp.h now checks.
7632 * src/lisp.h (XFASTINT, ASIZE): In functional implementations,
7633 check that the result is nonnegative. Use eassume, as this
7634 info can help a bit when optimizing production code.
7635 (XSYMBOL) [!USE_LSB_TAG]: Assert that argument is a symbol,
7636 to be consistent with the USE_LSB_TAG case.
7637 (gc_asize): New function, when ASIZE is needed in the gc.
7639 (HASH_TABLE_P): Move definition up, so that it can be used ...
7640 (XHASH_TABLE): ... here, to assert that the arg is a hash table.
7642 2015-11-21 Eli Zaretskii <eliz@gnu.org>
7644 Simplify recording of main thread's ID on MS-Windows
7646 * src/w32term.c (w32_initialize):
7647 * src/w32console.c (initialize_w32_display):
7648 * src/w32fns.c (globals_of_w32fns): Don't record the main thread
7649 ID independently for each type of session (GUI, TTY, batch).
7650 * src/w32term.c (w32_init_main_thread): New function, records the
7651 main thread's thread ID.
7652 * src/w32term.h: Add prototype for w32_init_main_thread.
7653 * src/emacs.c (main) [WINDOWSNT]: Call w32_init_main_thread.
7655 * src/emacs-module.c [WINDOWSNT]: Rename main_thread_id to
7656 main_thread, for consistency with other threading libraries. All
7657 users changed. Include w32term.h.
7658 (check_main_thread) [WINDOWSNT]: Simplify the test: no need to
7659 make sure the main thread is alive, as we hold a handle on it
7660 opened by w32_init_main_thread.
7661 (module_init) [WINDOWSNT]: Reuse the thread ID recorded by
7662 w32_init_main_thread, instead of calling the requisite APIs once
7665 2015-11-21 Mark Oteiza <mvoteiza@udel.edu>
7667 Backport: Fix issue where a new tempfile was created every refresh
7669 * lisp/mpc.el (mpc-format): Leave dir as relative path
7671 2015-11-21 Eli Zaretskii <eliz@gnu.org>
7673 Call 'window-size-change-functions' for mini-windows
7675 * src/window.c (grow_mini_window, shrink_mini_window): Set the
7676 frame's 'window_sizes_changed' flag.
7677 * src/xdisp.c (redisplay_internal): Call the hooks on
7678 'window-size-change-functions' if the call to 'echo_area_display'
7679 sets the frame's 'window_sizes_changed' flag.
7680 (syms_of_xdisp) <window-size-change-functions>:
7681 Update doc string to indicate the mini-window resizes trigger a
7682 call to the hooks, and don't promise that will happen "before
7683 redisplay". (Bug#19576, Bug#21333)
7685 * doc/lispref/windows.texi (Window Hooks): Update the description
7686 of 'window-size-change-functions'.
7688 2015-11-21 Eli Zaretskii <eliz@gnu.org>
7690 Improve documentation of dynamic modules
7692 * src/fns.c (Frequire): Doc fix to include the dynamic module
7694 * src/lread.c (Fload, Vload_suffixes): Doc fixes to include the
7695 dynamic module support.
7696 (Fload): Treat the module suffix the same as '*.el' and '*.elc'
7697 wrt the MUST-SUFFIX argument.
7699 * etc/NEWS: Expand documentation of dynamically loaded modules.
7701 2015-11-21 Philipp Stephani <phst@google.com> (tiny change)
7703 Initial documentation for dynamic modules
7705 * etc/NEWS: Mention the new support for dynamically loaded modules.
7707 2015-11-21 Dmitry Gutov <dgutov@yandex.ru>
7709 Add xref--etags-backend to xref-backing-functions using add-hook
7711 * lisp/progmodes/xref.el (xref-backend-functions): Move the
7712 default value into a separate `add-hook' call (bug#21964).
7714 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
7715 Don't declare the xref-backend-functions variable.
7716 It doesn't make any difference.
7718 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
7720 Fix double-decrement bug when freeing global refs
7722 * src/emacs-module.c (module_free_global_ref): Add a FIXME
7723 comment about error reporting. Fix a recently-introduced typo
7724 that double-decremented the refcount.
7726 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
7728 Declare emacs_module_init in the module API
7730 * src/emacs-module.h (emacs_module_init): New decl.
7731 Without it, GCC might complain about a module that defines
7732 emacs_module_init without using it. This also checks the
7735 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
7737 Fix module test to use ptrdiff_t nargs too
7739 * modules/mod-test/mod-test.c (Fmod_test_return_t)
7740 (Fmod_test_sum, Fmod_test_signal, Fmod_test_throw)
7741 (Fmod_test_non_local_exit_funcall, Fmod_test_globref_make)
7742 (Fmod_test_string_a_to_b, Fmod_test_userptr_make)
7743 (Fmod_test_userptr_get, Fmod_test_vector_fill)
7744 (Fmod_test_vector_eq): Arg counts are ptrdiff_t, not int.
7745 (finalizer): Remove; no longer used.
7747 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
7749 Fix reindent-introduced typo in module code
7751 * src/emacs-module.c (MODULE_SETJMP_1): Fix typo that I
7752 introduced while reindenting the code earlier, and add a
7753 comment explaining the unusual use of do-while here.
7755 2015-11-20 Anders Lindgren <andlind@gmail.com>
7757 Fixed bug#19576: `write-file' saves wrong buffer.
7759 If a function on the hook `window-size-change-functions' doesn't
7760 restore the current buffer, functions that save and restore the
7761 current window configuration (like `y-or-no-p') could silently
7762 change the current buffer. When `write-file' asked the user
7763 confirmation to overwrite a file, `y-or-no-p' changed the current
7764 buffer, and the wrong buffer was saved to the file.
7766 * lisp/follow.el (follow-windows-start-end): Call `select-frame'
7767 using the `norecord' parameter.
7768 (follow-window-size-change): Restore current buffer. Call
7769 `select-frame' using the `norecord' parameter. Cleanup.
7771 2015-11-20 John Wiegley <johnw@newartisans.com>
7773 Correct a documentation error in frames.texi
7775 2015-11-20 Stephen Leake <stephen_leake@stephe-leake.org>
7777 * lisp/cedet/mode-local.el: Delete obsolete comment
7779 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
7781 Module function arg counts are ptrdiff_t, not int
7783 * src/emacs-module.c (struct module_fun_env)
7784 (module_make_function, module_funcall, Fmodule_call):
7785 * src/emacs-module.h (struct emacs_runtime, struct emacs_env_25):
7786 Use ptrdiff_t, not int, for arg counts.
7787 * src/emacs-module.c (module_make_function): Don’t bother
7788 checking arity against MOST_POSITIVE_FIXNUM, as that’s
7789 unnecessary here. Make the checking clearer by negating it.
7790 (module_make_function, Fmodule_call): No need to use xzalloc
7791 since the storage doesn’t need to be cleared.
7792 (module_funcall): Don’t use VLA, since C11 doesn’t guarantee support
7793 for it, and many implementations are buggy with large VLAs anyway.
7794 Use SAFE_ALLOCA_LISP instead.
7795 (module_vec_set): Don’t crash if i < 0.
7796 (module_vec_get): Don’t crash if i < MOST_NEGATIVE_FIXNUM.
7797 (module_vec_set, module_vec_get): Do fixnum checks only when
7798 i is out of array bounds, for efficiency in the usual case.
7799 (Fmodule_load): Simplify fixnum range check.
7800 (Fmodule_call): Simplify arity check. Use xnmalloc to detect
7801 integer overflow in array allocation size.
7803 2015-11-20 Eli Zaretskii <eliz@gnu.org>
7805 Minor improvements in module test
7807 * modules/mod-test/mod-test.c: Include stdlib.h, to avoid warnings
7808 about missing prototype of malloc.
7809 * modules/mod-test/Makefile (CFLAGS): Add -std=gnu99, to avoid
7812 2015-11-20 Eli Zaretskii <eliz@gnu.org>
7814 Improve MS-Windows implementation in dynlib.c
7816 * src/dynlib.c [WINDOWSNT]: Include errno.h, lisp.h, and w32.h.
7817 No need to include windows.h, as w32.h already does that.
7818 <dynlib_last_err>: New static variable.
7819 (dynlib_reset_last_error): New function.
7820 (dynlib_open): Convert forward slashes to backslashes. Convert
7821 file names from UTF-8 to either UTF-16 or the current ANSI
7822 codepage, and call either LoadLibraryW or LoadLibraryA. If the
7823 argument is NULL, return a handle to the main module, like
7824 'dlopen' does. Record the error, if any, for use by dynlib_error.
7825 (dynlib_sym): Check the handle for validity. Record the error, if
7826 any, for use by dynlib_error.
7827 (dynlib_error): Call w32_strerror to produce the error string, and
7828 zero out the last error code, like dlerror does.
7829 (dynlib_close): Check the handle for validity. Record the error,
7830 if any, for use by dynlib_error. Don't call FreeLibrary with a
7831 handle for the main module.
7832 * src/w32.c (globals_of_w32): Call dynlib_reset_last_error.
7834 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
7836 Include-file tweaks for modules
7838 * src/dynlib.c, src/emacs-module.c: Include <config.h> first.
7839 * src/dynlib.h: Do not include config.h.
7840 It’s every .c file’s responsibility to include config.h first.
7841 * src/emacs-module.c: Include emacs-module.h immediately after
7842 config.h, to test that emacs-module.h doesn’t depend on
7843 include files other than config.h.
7845 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
7847 Simplify push_handler and profile its malloc
7849 * src/lisp.h (PUSH_HANDLER): Remove.
7850 All callers changed to use push_handler directly.
7851 * src/eval.c (internal_condition_case)
7852 (internal_condition_case_1, internal_condition_case_2)
7853 (internal_condition_case_n):
7854 Use same pattern as for other invokers of push_handler.
7855 (push_handler, push_handler_nosignal): Use call-by-value
7856 instead of call-by-reference. All uses changed.
7857 (push_handler): Simplify by rewriting in terms of
7858 push_handler_nosignal.
7859 (push_handler_nosignal): Profile any newly allocated memory.
7861 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
7863 * src/emacs-module.h: Include stddef.h, not stdlib.h.
7865 2015-11-20 Juanma Barranquero <lekktu@gmail.com>
7867 Discover repository version in linked worktrees (bug#21930)
7869 * lisp/version.el (emacs-repository--version-git-1): Do not assume
7870 HEAD is at .git/HEAD, it can also be at .git/worktrees/<branch>/HEAD.
7871 (emacs-repository-get-version): Grok linked worktrees when EXTERNAL
7874 2015-11-20 Juri Linkov <juri@linkov.net>
7876 * lisp/replace.el (occur-regexp-descr): New function.
7877 (occur-1, occur-engine): Use it.
7879 * lisp/isearch.el (isearch-occur): Propertize regexp with
7880 isearch-string and isearch-regexp-function-descr for
7881 occur-regexp-descr to display the correct description
7882 message in the header (bug#21176, bug#21180).
7884 2015-11-20 Karl Fogel <kfogel@red-bean.com>
7886 Revert `open-line' electric-indent sensitivity
7888 * lisp/simple.el (open-line): Remove electric indent code.
7889 (electric-indent-just-newline): Don't declare.
7891 * test/automated/simple-test.el (open-line-indent): Adjust test.
7893 This partly reverts Artur Malabarba's change that added electric
7894 indent sensitivity to `open-line' (Oct 24 22:26:27 2015 +0100, git
7895 commit bd4f04f86), and adjusts a new test he added right afterwards
7896 (Sat Oct 24 23:43:06 2015 +0100, git commit 207f235e3) accordingly.
7897 However, the new INTERACTIVE argument to `open-line', which he also
7898 added in the first commit, is not reverted here.
7900 See the thread "Questioning the new behavior of `open-line'." on the
7901 Emacs Devel mailing list, and in particular this message:
7903 From: Artur Malabarba
7904 Subject: Re: Questioning the new behavior of `open-line'.
7906 Cc: David Kastrup, Pierpaolo Bernardi, emacs-devel
7907 Date: Wed, 18 Nov 2015 21:03:58 +0000
7909 <CAAdUY-KN06pvCMy5bt3+Buk3yeKjf6n9iB2FaSTTOPpCqPwyhA@mail.gmail.com>
7911 https://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01707.html
7913 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
7915 Omit unnecessary clear in Fmodule_load
7917 * src/emacs-module.c (Fmodule_load):
7918 Simplify and avoid unnecessary initialization of priv member to 0.
7920 * src/emacs-module.c: (module_vec_set, module_vec_get, module_vec_size)
7922 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
7924 Prefer signed integer types in module code
7926 Generally speaking, at the C level the Emacs source code prefers
7927 signed types like ‘ptrdiff_t’ to unsigned types like ‘size_t’,
7928 partly to avoid the usual signedness confusion when comparing values.
7929 Change the module API to follow this convention.
7930 Use ‘int’ for small values that can’t exceed INT_MAX.
7931 * modules/mod-test/mod-test.c (Fmod_test_globref_make)
7932 (Fmod_test_string_a_to_b, Fmod_test_vector_fill)
7933 (Fmod_test_vector_eq):
7934 * src/emacs-module.c (struct emacs_value_frame)
7935 (module_make_global_ref, module_free_global_ref)
7936 (module_copy_string_contents, module_make_string)
7937 (module_vec_set, module_vec_get, module_vec_size):
7938 * src/emacs-module.h (struct emacs_runtime, struct emacs_env_25):
7939 * src/lread.c (suffix_p):
7940 Prefer signed to unsigned integer types.
7942 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
7944 Omit ‘const’ on locals
7946 Remove ‘const’ qualifier from locals that were newly added.
7947 We don’t normally bother declaring locals with ‘const’ even
7948 though they are not modified, for the same reason we don’t
7949 bother declaring them with ‘register’ even though their
7950 addresses are not taken; the advantage in compile-time
7951 checking isn’t worth the loss of readability.
7952 * modules/mod-test/mod-test.c (Fmod_test_non_local_exit_funcall)
7953 (Fmod_test_vector_fill, Fmod_test_vector_eq):
7954 * src/emacs-module.c (MODULE_SETJMP_1)
7955 (module_make_global_ref, module_free_global_ref)
7956 (module_non_local_exit_get, module_make_function)
7957 (module_extract_integer, module_extract_float)
7958 (module_get_user_ptr, module_set_user_ptr)
7959 (module_get_user_finalizer, module_set_user_finalizer)
7960 (module_vec_get, Fmodule_call)
7961 (module_non_local_exit_signal_1)
7962 (module_non_local_exit_throw_1, lisp_to_value)
7963 (finalize_storage, allocate_emacs_value, mark_modules)
7964 (module_handle_signal, module_handle_throw)
7965 (module_format_fun_env):
7966 * src/eval.c (push_handler, push_handler_nosignal)
7968 * src/lread.c (suffix_p):
7969 Omit unnecessary ‘const’.
7971 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
7973 Prefer intmax_t to int64_t in module code
7975 * modules/mod-test/mod-test.c (sum, Fmod_test_sum):
7976 * src/emacs-module.c (module_extract_integer)
7977 (module_make_integer):
7978 * src/emacs-module.h (struct emacs_env_25):
7979 Prefer intmax_t to int64_t. This doesn’t change the generated
7980 code on any of the machines Emacs currently ports to, but it’s
7981 at least in theory more future-proof as C99 doesn’t guarantee
7982 that int64_t exists.
7984 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
7986 Rename module.c to emacs-module.c, etc.
7988 * src/emacs-module.c: Rename from src/module.c.
7989 * src/emacs-module.h: Rename from src/module.h.
7992 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
7994 Fix minor module problems found by static checking
7996 * src/dynlib.c (dynlib_close): #ifdef out for now, as it’s not used.
7997 * src/eval.c, src/lisp.h (lisp_eval_depth): Now static.
7998 * src/emacs-module.c (Fmodule_load): Fix pointer signedness bug.
7999 (Fmodule_call): Tell GCC that the default case is unreachable.
8001 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
8003 Style fixes for indenting etc. in module code
8005 This is mostly indenting and spacing changes. Also, remove
8006 some unnecessary static decls instead of bothering to reindent them.
8007 * src/emacs-module.h (EMACS_EXTERN_C_BEGIN): Remove, and do this inline,
8008 as most other Emacs files do for this sort of thing.
8010 2015-11-19 Eli Zaretskii <eliz@gnu.org>
8012 Minor improvements in modules testing Makefile
8014 * modules/mod-test/Makefile (EMACS, SO): New variables.
8015 (CFLAGS): When SO = dll, don't use -fPIC.
8016 (check): New target, runs the test.
8018 2015-11-19 Eli Zaretskii <eliz@gnu.org>
8020 * .gitignore: Add "*.dll".
8022 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
8024 Migrate modules/.gitignore into .gitignore
8026 * .gitignore: Add former contents of modules/.gitignore.
8027 * modules/.gitignore: Remove.
8029 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
8031 Add copyright notices to module code
8033 Put them in the usual format for GNU Emacs copyright notices.
8035 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
8037 Rename emacs_module.h to module.h
8039 * src/module.h: Rename from src/emacs_module.h.
8042 2015-11-19 Juanma Barranquero <lekktu@gmail.com>
8044 * src/module.c (Fmodule_load): Remove unused vars `doc_name', `args'
8046 * src/lread.c (Fload): Remove unused variable `size'
8048 2015-11-19 Alan Mackenzie <acm@muc.de>
8050 src/keyboard.c (pre-command-hook): Fix typo in doc string: "pre" -> "post".
8052 2015-11-19 Dmitry Gutov <dgutov@yandex.ru>
8054 Prioritize looking inside vc-parent-buffer over log-view-mode fallback
8056 * lisp/vc/vc.el (vc-deduce-fileset): Prioritize looking inside
8057 vc-parent-buffer over log-view-mode fallback (bug#21955).
8059 2015-11-18 Alan Mackenzie <acm@muc.de>
8061 lisp/isearch.el: Eliminate macro isearch-call-message, replacing with funcall.
8063 2015-11-18 Ken Brown <kbrown@cornell.edu>
8065 * configure.ac (LIBMODULES): Don’t define on Cygwin
8067 2015-11-18 Eli Zaretskii <eliz@gnu.org>
8069 Fix MS-Windows build --with-modules
8071 * src/module.c: Reformat copyright commentary.
8072 (module_vec_get): Use explicit cast to size_t to avoid compiler
8073 warning in 32-bit builds.
8074 (check_main_thread) [WINDOWSNT]: Fix letter-case in Windows APIs.
8075 Compare thread IDs directly, as GetThreadId is not available
8076 before Windows Vista.
8077 (check_main_thread) [WINDOWSNT]: Duplicate the thread handle
8078 without using APIs and constants not available on XP and older
8079 systems. Obtain and store the thread ID as well.
8081 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
8082 Philipp Stephani <phst@google.com>
8084 Add dynamic module test and helper script
8086 Add 'modhelp.py' script (python2) to automate module testing and
8089 To build and test all modules in the modules/ dir
8092 To generate a module from template code (good starting point)
8093 $ ./modhelp init mynewtestmodule
8095 See the script -h option for more documentation.
8097 * modules/modhelp.py: New module helper script.
8098 * modules/mod-test/Makefile: New file. Makefile for the test module.
8099 * modules/mod-test/mod-test.c: New file. Test module source file.
8100 * modules/mod-test/test.el: New file. ert test suite for the test module.
8101 * modules/.gitignore: New file. Local .gitignore file.
8103 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
8105 Make 'Fload' look for modules
8107 'Fload' can now load dynamic modules. This also makes 'require' work.
8110 (suffix_p): New function.
8111 (Fload): Use 'suffix_p'. Call 'Fmodule_load' when we try to load a file
8112 with a module suffix.
8113 (syms_of_lread): Append module suffix to 'Vload_suffixes'.
8115 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
8116 Philipp Stephani <phst@google.com>
8118 Add dynamic module module support
8120 * configure.ac: Add '--with-modules' option. Conditionally add
8121 dynlib.o and module.o to the list of objects. Add any system
8122 specific flags to the linker flags to support dynamic libraries.
8123 * m4/ax_gcc_var_attribute.m4: Add autoconf extension to test gcc
8125 * src/Makefile.in: Conditionally add module objects and linker flags.
8126 * src/alloc.c (garbage_collect_1): protect module local values from
8128 * src/lisp.h: Add 'module_init' and 'syms_of_module' prototypes.
8129 * src/emacs-module.h: New header file included by modules. Public
8131 * src/emacs-module.c: New module implementation file.
8133 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
8135 Add new User Pointer (User_Ptr) type
8137 * src/lisp.h: Add new Lisp_Misc_User_Ptr type.
8138 (XUSER_PTR): New User_Ptr accessor.
8139 * src/alloc.c (make_user_ptr): New function.
8140 (mark_object, sweep_misc): Handle Lisp_Misc_User_Ptr.
8141 * src/data.c (Ftype_of): Return 'user-ptr' for user pointer.
8142 (Fuser-ptrp): New user pointer type predicate function.
8143 (syms_of_data): New 'user-ptrp', 'user-ptr' symbol. New 'user-ptrp'
8145 * src/print.c (print_object): Add printer for User_Ptr type.
8147 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
8148 Philipp Stephani <phst@google.com>
8150 Add portable layer for dynamic loading
8152 * src/dynlib.h: New file.
8153 * src/dynlib.c: New file.
8155 2015-11-18 Philipp Stephani <phst@google.com>
8157 Add catch-all & no-signal version of PUSH_HANDLER
8159 Ground work for modules. Add a non-signaling version of PUSH_HANDLER and
8160 a new "catch-all" handler type.
8162 * src/eval.c (init_handler, push_handler, push_handler_nosignal): New
8164 * src/fns.c (hash_remove_from_table): Expose function public.
8165 * src/lisp.h: New handler type, define macro to push_handler call.
8167 2015-11-18 Ken Brown <kbrown@cornell.edu>
8169 Silence byte-compiler warning
8171 * lisp/server.el (server-process-filter): Silence byte-compiler
8174 2015-11-18 Paul Eggert <eggert@cs.ucla.edu>
8176 Quote symbols in docstrings using `'
8178 Be more systematic about quoting symbols `like-this' rather than
8179 `like-this or 'like-this' in docstrings. This follows up Artur
8180 Malabarba's email in:
8181 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01647.html
8183 2015-11-18 Peder O. Klingenberg <peder@klingenberg.no>
8185 Fix savegames in dunnet
8187 * lisp/play/dunnet.el (dun-rot13): Use the standard rot13-region instead
8188 of separate implementation.
8190 2015-11-18 Artur Malabarba <bruce.connor.am@gmail.com>
8192 * lisp/emacs-lisp/package.el (package--with-response-buffer):
8194 Ensure we're at the start of the buffer before searching for
8197 2015-11-18 Xue Fuqiao <xfq.free@gmail.com>
8199 * admin/release-process: Improve wording.
8201 2015-11-18 Xue Fuqiao <xfq.free@gmail.com>
8203 Backport: * CONTRIBUTE: Remove information about feature freeze.
8205 (cherry picked from commit ae0653b5ab9ee223751ec389b87011963e1cbbef)
8207 2015-11-18 Xue Fuqiao <xfq.free@gmail.com>
8209 Backport: Document the release process
8211 * admin/notes/versioning: Add information about RC releases.
8212 * admin/release-process: Document the release process.
8213 * admin/authors.el (authors-ignored-files):
8214 * admin/README: Change FOR-RELEASE to release-process.
8216 * admin/notes/bugtracker: Don't mention FOR-RELEASE.
8218 (cherry picked from commit 9a4aa0f5945a03611ae29c516025dbd353bd26ab)
8220 2015-11-18 Xue Fuqiao <xfq.free@gmail.com>
8222 Backport: * admin/release-process: Rename from admin/FOR-RELEASE.
8224 (cherry picked from commit f8cc14b59700e51a4e31139c0a65c8154995e055)
8226 2015-11-18 Xue Fuqiao <xfq.free@gmail.com>
8228 Backport: Mention CONTRIBUTE in README
8230 Mention CONTRIBUTE in README, since it was moved from etc/ to root.
8231 * etc/TODO: Remove the reference to `etc/CONTRIBUTE'.
8232 * README: Mention CONTRIBUTE.
8234 (cherry picked from commit ed2e7e20ae0945288c98091f308f5460c3453873)
8236 2015-11-18 Paul Eggert <eggert@cs.ucla.edu>
8238 Fix docstring quoting problems with ‘ '’
8240 Problem reported by Artur Malabarba in:
8241 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01513.html
8242 Most of these fixes are to documentation; many involve fixing
8243 longstanding quoting glitches that are independent of the
8244 recent substitute-command-keys changes. The changes to code are:
8245 * lisp/cedet/mode-local.el (mode-local-augment-function-help)
8246 (describe-mode-local-overload):
8247 Substitute docstrings before displaying them.
8248 * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
8249 Quote the generated docstring for later substitution.
8251 2015-11-17 Eli Zaretskii <eliz@gnu.org>
8253 Improve configure --help text for wide ints
8255 * configure.ac (wide-int): Clarify user-level advantages and
8258 2015-11-17 Stephen Leake <stephen_leake@stephe-leake.org>
8262 * lisp/progmodes/xref.el (xref-backend-references): Improve doc string.
8264 2015-11-17 Paul Eggert <eggert@cs.ucla.edu>
8266 eval_sub followed dangling pointer when debugging
8268 Problem reported by Pip Cet (Bug#21245).
8269 This bug could occur in eval_sub if the C compiler reused
8270 storage associated with the ‘argvals’ local after ‘argvals’
8271 went out of scope, and if the Elisp debugger stopped on Elisp
8272 function exit and accessed ‘argvals’. It could also occur if
8273 a variadic function was called with so many arguments (over
8274 2048 args on x86-64) that SAFE_ALLOCA_LISP called malloc, then
8275 SAFE_FREE freed the arguments, then the memory manager used
8276 the storage for other purposes, then the debugger accessed the
8278 * src/eval.c (eval_sub): Declare ‘argvals’ at top level of
8279 function body. Simplify local decls.
8280 When allocating args via SAFE_ALLOCA, call
8281 debugger before invoking SAFE_FREE, as the debugger needs
8283 (eval_sub, apply_lambda): Rework to avoid need for
8284 set_backtrace_debug_on_exit hack. This is cleaner,
8285 and should work better with buggy custom debuggers.
8287 2015-11-17 Daiki Ueno <ueno@gnu.org>
8289 * lisp/image-mode.el: Support encrypted file
8291 (image-toggle-display-image): Read content from the buffer instead
8292 of the file, if the buffer holds a decrypted data. (Bug#21870)
8294 2015-11-17 Paul Eggert <eggert@cs.ucla.edu>
8296 ELF unexec: align section header
8298 This ports the recent unexelf.c changes to Fedora x86-64
8299 when configured with GCC’s -fsanitize=undefined option.
8300 * src/unexelf.c (unexec): Align new_data2_size to a multiple
8301 of ElfW (Shdr)’s alignment, so that NEW_SECTION_H returns a
8302 pointer aligned appropriately for its type.
8304 2015-11-17 Andreas Schwab <schwab@linux-m68k.org>
8306 Do more checks on bytecode objects (Bug#21929)
8308 * src/eval.c (funcall_lambda): Check size of compiled function
8310 (Ffetch_bytecode): Likewise.
8312 2015-11-16 Johan Bockgård <bojohan@gnu.org>
8314 pcase.el: Fix edebugging of backquoted cons patterns
8316 * lisp/emacs-lisp/pcase.el (pcase-QPAT): Fix edebugging of backquoted
8317 cons patterns. (Bug#21920)
8319 2015-11-16 Paul Eggert <eggert@cs.ucla.edu>
8321 Improve fix for regex reentrancy abort
8323 Suggested by Stefan Monnier (Bug#21688).
8324 * src/syntax.c (update_syntax_table_forward):
8325 Remove recently-added PROPERTIZE arg, and assume it is true.
8326 All callers changed.
8327 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
8328 Invoke update_syntax_table directly.
8330 2015-11-16 Artur Malabarba <bruce.connor.am@gmail.com>
8332 * lisp/faces.el (faces--attribute-at-point): Use `face-list-p'
8334 * lisp/emacs-lisp/package.el (package--with-response-buffer): Missing require
8336 * lisp/emacs-lisp/nadvice.el (add-function): Escape quote
8338 2015-11-16 Vasily Korytov <vasily.korytov@yahoo.com>
8340 Recognize .rbw and .pyw files (bug#18753)
8342 * lisp/progmodes/python.el (auto-mode-alist):
8343 Recognize .pyw files.
8345 * lisp/progmodes/ruby-mode.el (auto-mode-alist):
8346 Recognize .rbw files.
8348 2015-11-16 Dmitry Gutov <dgutov@yandex.ru>
8350 Fix ruby-mode auto-mode-alist entry
8352 * lisp/progmodes/ruby-mode.el (auto-mode-alist): Add grouping
8353 around the extensions (bug#21257).
8355 2015-11-15 Dmitry Gutov <dgutov@yandex.ru>
8357 Fix etags completion near eob
8359 * lisp/progmodes/etags.el (tags-completion-at-point-function):
8360 Use `goto-char', to avoid the end-of-buffer error (bug#20061).
8362 2015-11-15 Alan Mackenzie <acm@muc.de>
8364 De-pessimize detection of C++ member initialization lists.
8366 list/progmodes/cc-engine.el (c-back-over-list-of-member-inits): New macro.
8367 (c-back-over-member-initializers): Reformulate such that c-at-toplevel-p
8368 is only called when a construct "looks right" rather than continually.
8369 (c-guess-basic-syntax, CASE 5R): Add a check for the mode being C++ Mode.
8371 2015-11-15 Artur Malabarba <bruce.connor.am@gmail.com>
8373 Backport: * lisp/emacs-lisp/package.el: Fix a decoding issue.
8375 * lisp/url/url-handlers.el (url-insert-file-contents): Move some code to
8376 `url-insert-buffer-contents'.
8377 (url-insert-buffer-contents): New function
8379 (package--with-response-buffer): Use `url-insert-buffer-contents'.
8380 The previous code had some issues with decoding. Refactoring that
8381 function allows us to use the decoding from url-handlers while still
8382 treating both sync and async requests the same.
8384 2015-11-15 Stephen Leake <stephen_leake@stephe-leake.org>
8386 Improve a few doc strings, comments
8388 * lisp/cedet/cedet-global.el (cedet-gnu-global-expand-filename):
8389 * lisp/cedet/ede/locate.el (ede-locate-base):
8390 * lisp/cedet/semantic/symref.el (semantic-symref-calculate-rootdir):
8391 * src/fns.c (Fdelq): Improve doc string.
8393 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Add FIXME.
8395 2015-11-15 Anders Lindgren <andlind@gmail.com>
8397 Enhance NSTRACE (trace output for NextStep).
8399 Trace can be disabled for groups of functions. By default, event
8400 functions and functions that generate lots of output are disabled.
8402 Trace output of Objective-C functions now use the "[ClassName
8405 * src/nsterm.h (NSTRACE_ALL_GROUPS, NSTRACE_GROUP_EVENTS)
8406 (NSTRACE_GROUP_UPDATES, NSTRACE_GROUP_FRINGE, NSTRACE_GROUP_COLOR)
8407 (NSTRACE_GROUP_GLYPHS, NSTRACE_GROUP_FOCUS): New macros,
8408 controlling in which function groups trace should be active.
8409 (NSTRACE_WHEN): Support for silencing a function, this also
8410 silencing all called functions.
8411 (NSTRACE_UNSILENCE): New macro, used to re-enable trace.
8412 (NSTRACE_FMT_FSTYPE, NSTRACE_ARG_FSTYPE): New macros, used to
8413 print the full screen state in NSTRACE functions.
8415 * src/nsterm.m (nstrace_depth, nstrace_num): Made volatile as they
8416 can be accessed from multiple threads.
8417 (nstrace_enabled_global): New variable, when FALSE, trace is
8419 (nstrace_restore_global_trace_state): New function, used to
8420 restore `nstrace_enabled_global' at end of block.
8421 ([EmacsView setFrame:], [EmacsWindow setFrame:display:])
8422 ([EmacsWindow setFrame:display:animation:])
8423 ([EmacsWindow setFrameTopLeftPoint:]): New functions, print trace
8424 and call corresponding super function.
8425 (Many functions): Add or enhance trace output.
8427 * src/nsimage.m (ns_image_from_file): Enhanced trace output.
8429 * src/nsfns.m (x_set_tool_bar_lines): Add trace output.
8431 * src/nsmenu.m ([EmacsToolbar setVisible:]): New function, print trace
8432 and call corresponding super function.
8434 2015-11-15 Anders Lindgren <andlind@gmail.com>
8436 Fixed a toolbar related issue on OS X.
8438 Earlier, when toggling the tool-bar in a maximized frame, the
8439 frame size didn't match the number of text lines, leaving an
8440 unused area at the bottom of the frame.
8442 * src/nsfns.m (x_set_tool_bar_lines): Exit maximized and full height
8443 fullscreen modes when tool bar is disabled.
8445 2015-11-15 Anders Lindgren <andlind@gmail.com>
8447 Fixed OS X 10.6.8 build issue (bug#21862).
8449 * src/nsterm.h (EmacsView): Add missing declarations.
8450 * src/nsterm.m ([EmacsView windowDidBecomeKey]): New method, like
8451 the standard method but without the notification parameter.
8452 Intended to be used for direct calls.
8453 ([EmacsView windowDidEnterFullScreen]): Call the non-notification
8454 version of `windowDidBecomeKey'. Made the notification method call
8455 the non-notification method instead of the vice versa.
8456 (NSWindowDidEnterFullScreenNotification): Deleted, no longer
8459 2015-11-15 Artur Malabarba <bruce.connor.am@gmail.com>
8461 * lisp/faces.el (faces--attribute-at-point): Fix an issue
8463 Previous code would signal an error when the face at point was
8464 a manually built list of attributes such as '(:foregroud "white").
8466 * test/automated/faces-tests.el (faces--test-color-at-point): Add a test
8468 2015-11-15 Paul Eggert <eggert@cs.ucla.edu>
8470 Fix regex abort when it tries to reenter itself
8472 Problem reported by Ken Raeburn.
8473 Solution suggested by Stefan Monnier (Bug#21688).
8474 * src/regex.c (re_match_2_internal):
8475 Use new _FAST functions to avoid regex code reentering itself.
8476 * src/syntax.c (update_syntax_table_forward): New arg PROPERTIZE.
8477 All callers changed.
8478 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST)
8479 (UPDATE_SYNTAX_TABLE_FAST): New inline functions.
8481 2015-11-15 Dmitry Gutov <dgutov@yandex.ru>
8483 Improve Ruby 1.9-style keyword keys highlighting
8485 * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords):
8486 Handle required keyword arguments (bug#21367).
8487 And highlight the colon together with the name.
8489 2015-11-15 Dmitry Gutov <dgutov@yandex.ru>
8491 Unify the absolutely equal xref-backend-references implementations
8493 * lisp/progmodes/elisp-mode.el (xref-backend-references):
8496 * lisp/progmodes/etags.el (xref-backend-references):
8499 * lisp/progmodes/xref.el (xref-backend-references):
8500 Define the default implementation.
8502 2015-11-15 Dmitry Gutov <dgutov@yandex.ru>
8504 Update project-find-regexp for the new xref API
8506 * lisp/progmodes/project.el (project--read-regexp):
8507 Update to use the new xref API methods.
8509 * lisp/progmodes/xref.el (xref-find-backend): Autoload.
8511 2015-11-15 Dmitry Gutov <dgutov@yandex.ru>
8513 Fix replacing a match with a shorter string
8515 In effect, partially reverting fe973fc.
8517 * lisp/progmodes/xref.el (xref-query-replace): Store the end
8518 of each match as a marker again, instead of length.
8519 (xref--query-replace-1): Update accordingly.
8521 2015-11-14 Artur Malabarba <bruce.connor.am@gmail.com>
8523 * lisp/progmodes/xref.el (xref-pop-marker-stack): Downgrade errors
8525 Signal user-errors instead.
8527 2015-11-14 Eli Zaretskii <eliz@gnu.org>
8529 Document 'describe-symbol'
8531 * doc/emacs/help.texi (Help Summary): Mention "C-h o".
8532 (Name Help): Document "C-h o" and describe-symbol.
8534 * lisp/help-fns.el (describe-symbol): Doc fix.
8536 2015-11-14 Paul Eggert <eggert@cs.ucla.edu>
8538 Change test name to avoid spellcheck issue.
8540 2015-11-14 Eli Zaretskii <eliz@gnu.org>
8542 Avoid signaling an error in 'describe-symbol'
8544 * lisp/help-fns.el (describe-symbol): Avoid errors when the symbol
8545 exists as a function/variable/face/etc., but is undocumented.
8547 * test/automated/help-fns.el (help-fns-test-describe-symbol): New
8550 2015-11-14 Eli Zaretskii <eliz@gnu.org>
8552 * INSTALL (--with-cairo): Document this new configure option.
8554 2015-11-14 Eli Zaretskii <eliz@gnu.org>
8556 Document that GNU Make >= 3.81 is required to build Emacs
8558 * doc/lispref/internals.texi (Building Emacs): Document that GNU
8559 Make 3.81 or later is now required.
8561 2015-11-14 Artur Malabarba <bruce.connor.am@gmail.com>
8563 Backport: * lisp/emacs-lisp/package.el: Refactor -with-work-buffer-async.
8565 (package--with-work-buffer-async): Reimplement as
8566 `package--with-response-buffer'.
8567 (package--with-work-buffer): Mark obsolete.
8568 (package--with-response-buffer): New macro. This is a more self
8569 contained and less contrived version of
8570 `package--with-work-buffer-async'. It uses keyword arguments,
8571 doesn't have async on the name, doesn't fallback on
8572 `package--with-work-buffer', and has _much_ simpler error
8573 handling. On master, this macro will soon be part of another
8574 library (either standalone or inside url.el), which is why this
8575 commit is not to be merged back.
8577 (package--check-signature, package--download-one-archive)
8578 (package-install-from-archive, describe-package-1): Use it.
8580 (package--download-and-read-archives): Let
8581 `package--download-one-archive' take care of calling
8582 `package--update-downloads-in-progress'.
8584 2015-11-14 Eli Zaretskii <eliz@gnu.org>
8586 * CONTRIBUTE (Branches): Improve wording for back-ported commits.
8588 2015-11-14 Dmitry Gutov <dgutov@yandex.ru>
8590 Merge branch 'master' into emacs-25
8592 2015-11-14 Dmitry Gutov <dgutov@yandex.ru>
8594 Use generic dispatch for xref backends
8596 * lisp/progmodes/xref.el (xref-backend-functions):
8598 (xref-find-function): Remove.
8600 (xref--etags-backend): New functions.
8601 (xref-identifier-at-point-function)
8602 (xref-identifier-completion-table-function): Remove.
8603 (xref-backend-definitions, xref-backend-references)
8604 (xref-backend-apropos, xref-backend-identifier-at-point)
8605 (xref-backend-identifier-completion-table):
8606 New generic functions.
8608 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add
8609 `elisp--xref-backend' to the beginning of
8610 `xref-backend-functions', locally. Delete references to
8611 removed functions and vars.
8612 (elisp-xref-find): Remove.
8613 (elisp--xref-backend): New function.
8614 (elisp--xref-find-references, elisp--xref-find-apropos)
8615 (elisp--xref-identifier-completion-table):
8616 Turn into appropriately named generic methods.
8618 * lisp/progmodes/etags.el (etags-xref-find): Remove.
8619 (xref-backend-identifier-completion-table)
8620 (xref-backend-references, xref-backend-definitions)
8621 (xref-backend-apropos): New generic methods.
8623 2015-11-14 Juri Linkov <juri@linkov.net>
8625 Support rectangular regions for more commands
8627 * lisp/simple.el (region-extract-function): Handle the arg value ‘bounds’.
8628 (region-insert-function): New function.
8629 (shell-command-on-region): Add arg ‘region-noncontiguous-p’.
8630 If non-nil, operate on multiple chunks.
8631 (region-noncontiguous-p): New function.
8633 * lisp/rect.el: Add function rectangle--insert-region
8634 around region-insert-function.
8635 (extract-rectangle-bounds): New function.
8636 (rectangle--extract-region): Handle the arg value ‘bounds’.
8637 (rectangle--insert-region): New function.
8639 * lisp/emulation/cua-rect.el: Add function cua--insert-rectangle
8640 around region-insert-function.
8641 (cua--extract-rectangle-bounds): New function.
8642 (cua--rectangle-region-extract): Handle the arg value ‘bounds’.
8644 * lisp/replace.el (query-replace, query-replace-regexp): Add arg
8645 ‘region-noncontiguous-p’. Use ‘use-region-p’.
8646 (query-replace-regexp-eval, map-query-replace-regexp)
8647 (replace-string, replace-regexp): Use ‘use-region-p’.
8648 (keep-lines, flush-lines, how-many): Use ‘use-region-p’.
8649 (perform-replace): Add arg ‘region-noncontiguous-p’.
8650 If non-nil, operate on multiple chunks.
8652 * src/casefiddle.c (Fdowncase_region): Add arg ‘region-noncontiguous-p’.
8653 If non-nil, operate on multiple chunks. (Bug#19829)
8655 2015-11-14 Dmitry Gutov <dgutov@yandex.ru>
8657 Handle multiple matches on the same line; add highlighting
8659 * lisp/progmodes/xref.el (xref-location-marker): Interpret the
8660 column value in characters.
8661 (xref--collect-matches): Rename from `xref--collect-match'.
8662 Search for all matches in the hit line. Add `highlight' face to
8663 the matched region in the summary. Update both callers.
8665 2015-11-14 Dmitry Gutov <dgutov@yandex.ru>
8667 Replace xref-match-bounds with xref-match-length
8669 Relying on xref-location-marker to point to the beginning of the match
8671 * lisp/progmodes/xref.el (xref-match-bounds): Remove.
8672 (xref-match-length): Add.
8673 (xref-make-match): Change the arguments.
8674 (xref--match-buffer-bounds): Remove.
8675 (xref-match-item): Store length, instead of end-column.
8676 (xref-pulse-momentarily)
8677 (xref--collect-match)
8678 (xref--query-replace-1): Update accordingly.
8679 (xref-query-replace): Ditto. And check that the search results
8682 2015-11-13 John Wiegley <johnw@newartisans.com>
8684 Merge remote-tracking branch 'origin/master' into emacs-25
8686 2015-11-13 l3thal <kwhite@gnu.org>
8688 Merge branch 'erc-async-reconnect' into emacs-25
8690 Reconnect asynchronously.
8692 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
8697 2015-11-13 xalloc-oversized: improve performance with GCC 5
8698 * lib/xalloc-oversized.h: Copy from gnulib.
8700 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
8702 Spruce up ftfont.c memory allocation
8704 * src/ftfont.c (setup_otf_gstring):
8705 Avoid O(N**2) behavior when reallocating.
8706 (ftfont_shape_by_flt): Prefer xpalloc to xrealloc when
8707 reallocating buffers; this simplifies the code. Do not trust
8708 mflt_run to leave the output areas unchanged on failure, as
8709 this isn’t part of its interface spec.
8711 2015-11-13 Eli Zaretskii <eliz@gnu.org>
8713 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
8715 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
8717 Port recent XCB changes to 64-bit ‘long int’
8719 For historical reasons, libX11 represents 32-bit values like Atoms as
8720 ‘long int’ even on platforms where ‘long int’ is 64 bits. XCB doesn’t
8721 do that, so adapt the recent XCB code to behave properly on 64-bit
8722 platforms. Also, fix what appears to be a bug in the interpretation
8723 of xcb_get_property_value_length, at least on my Fedora platform
8724 which is running libxcb-1.11-5.fc21.
8725 * src/xfns.c (x_real_pos_and_offsets):
8726 * src/xterm.c (get_current_wm_state):
8727 xcb_get_property_value_length returns a byte count, not a word count.
8728 For 32-bit quantities, xcb_get_property_value returns a vector
8729 of 32-bit words, not of (possibly 64-bit) long int.
8733 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
8735 * src/undo.c (run_undoable_change): Now static.
8739 2015-11-13 Eli Zaretskii <eliz@gnu.org>
8741 Remove support for ':timeout' from w32 tray notifications
8743 * src/w32fns.c (Fw32_notification_notify): Delete the code that
8744 supports ':timeout'.
8745 (syms_of_w32fns): Don't DEFSYM ':timeout'. This avoids clashes
8746 with dbusbind.c when D-Bus is compiled in.
8748 * doc/lispref/os.texi (Desktop Notifications): Don't mention
8753 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
8755 * test/automated/simple-test.el: Add test for bug#20698 (bug#21885)
8757 (simple-test--transpositions): New macro.
8758 (simple-transpose-subr): New test.
8762 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
8764 * lisp/progmodes/elisp-mode.el: Declare function `project-roots'
8768 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
8770 * src/undo.c: Small fixes for previous change
8772 (run_undoable_change): Mark void argument list.
8773 (record_property_change): Remove unused variable `boundary'.
8777 2015-11-13 Eli Zaretskii <eliz@gnu.org>
8779 Add a few more variables to redisplay--variables
8781 * lisp/frame.el (redisplay--variables): Add bidi-paragraph-direction
8782 and bidi-display-reordering to the list.
8786 2015-11-13 Eli Zaretskii <eliz@gnu.org>
8788 * lisp/loadup.el: Enlarge the size of the hash table to 80000.
8792 2015-11-13 Eli Barzilay <eli@barzilay.org>
8794 Fix point positioning after transposing with negative arg
8796 * lisp/simple.el (transpose-subr): When invoked with a negative
8797 argument, move point to after the transposed text, like we do
8798 when invoked with a positive argument. (Bug#21885)
8802 2015-11-13 Eli Zaretskii <eliz@gnu.org>
8804 Fix last change in shr.el
8806 * lisp/net/shr.el (shr--have-one-fringe-p): Rename from
8807 have-fringes-p. All callers changed. Doc fix. (Bug#21895)
8811 2015-11-13 Eli Zaretskii <eliz@gnu.org>
8815 * src/w32fns.c (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]:
8816 Don't DEFSYM tray notification symbols if D-Bus is being used.
8820 2015-11-13 Eli Zaretskii <eliz@gnu.org>
8822 Another fix for MinGW64 and Cygwin builds due to notifications
8824 * src/w32fns.c: Ifdef away tray notification code if D-Bus is
8825 being compiled into Emacs.
8826 (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]: Don't defsubr
8827 Sw32_notification_notify and Sw32_notification_close if the code
8828 is not compiled. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8832 2015-11-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8834 Remove intern calls and XXX comments from Fx_export_frames
8836 * src/xfns.c (Fx_export_frames): Use Qpdf, Qpng, Qpostscript, and
8837 Qsvg instead of intern calls. Use "postscript" instead of "ps"
8838 for consistency with image types. Remove XXX comments.
8839 (syms_of_xfns) <Qpdf>: DEFSYM it.
8843 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
8845 Port recent XCB changes to 64-bit ‘long int’
8847 For historical reasons, libX11 represents 32-bit values like Atoms as
8848 ‘long int’ even on platforms where ‘long int’ is 64 bits. XCB doesn’t
8849 do that, so adapt the recent XCB code to behave properly on 64-bit
8850 platforms. Also, fix what appears to be a bug in the interpretation
8851 of xcb_get_property_value_length, at least on my Fedora platform
8852 which is running libxcb-1.11-5.fc21.
8853 * src/xfns.c (x_real_pos_and_offsets):
8854 * src/xterm.c (get_current_wm_state):
8855 xcb_get_property_value_length returns a byte count, not a word count.
8856 For 32-bit quantities, xcb_get_property_value returns a vector
8857 of 32-bit words, not of (possibly 64-bit) long int.
8859 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
8861 * src/undo.c (run_undoable_change): Now static.
8863 2015-11-13 Michael Albinus <michael.albinus@gmx.de>
8865 Adapt Tramp version, do not merge with master
8867 * doc/misc/trampver.texi (trampver):
8868 * lisp/net/trampver.el (tramp-version): Set to "2.2.13-25.1".
8870 2015-11-13 Eli Zaretskii <eliz@gnu.org>
8872 Remove support for ':timeout' from w32 tray notifications
8874 * src/w32fns.c (Fw32_notification_notify): Delete the code that
8875 supports ':timeout'.
8876 (syms_of_w32fns): Don't DEFSYM ':timeout'. This avoids clashes
8877 with dbusbind.c when D-Bus is compiled in.
8879 * doc/lispref/os.texi (Desktop Notifications): Don't mention
8882 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
8884 * test/automated/simple-test.el: Add test for bug#20698 (bug#21885)
8886 (simple-test--transpositions): New macro.
8887 (simple-transpose-subr): New test.
8889 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
8891 * lisp/progmodes/elisp-mode.el: Declare function `project-roots'
8893 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
8895 * src/undo.c: Small fixes for previous change
8897 (run_undoable_change): Mark void argument list.
8898 (record_property_change): Remove unused variable `boundary'.
8900 2015-11-13 Eli Zaretskii <eliz@gnu.org>
8902 Add a few more variables to redisplay--variables
8904 * lisp/frame.el (redisplay--variables): Add bidi-paragraph-direction
8905 and bidi-display-reordering to the list.
8907 2015-11-13 Eli Zaretskii <eliz@gnu.org>
8909 * lisp/loadup.el: Enlarge the size of the hash table to 80000.
8911 2015-11-13 Eli Barzilay <eli@barzilay.org>
8913 Fix point positioning after transposing with negative arg
8915 * lisp/simple.el (transpose-subr): When invoked with a negative
8916 argument, move point to after the transposed text, like we do
8917 when invoked with a positive argument. (Bug#21885)
8919 2015-11-13 Eli Zaretskii <eliz@gnu.org>
8921 Fix last change in shr.el
8923 * lisp/net/shr.el (shr--have-one-fringe-p): Rename from
8924 have-fringes-p. All callers changed. Doc fix. (Bug#21895)
8926 2015-11-13 Eli Zaretskii <eliz@gnu.org>
8930 * src/w32fns.c (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]:
8931 Don't DEFSYM tray notification symbols if D-Bus is being used.
8933 2015-11-13 Eli Zaretskii <eliz@gnu.org>
8935 Another fix for MinGW64 and Cygwin builds due to notifications
8937 * src/w32fns.c: Ifdef away tray notification code if D-Bus is
8938 being compiled into Emacs.
8939 (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]: Don't defsubr
8940 Sw32_notification_notify and Sw32_notification_close if the code
8941 is not compiled. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8943 2015-11-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8945 Remove intern calls and XXX comments from Fx_export_frames
8947 * src/xfns.c (Fx_export_frames): Use Qpdf, Qpng, Qpostscript, and
8948 Qsvg instead of intern calls. Use "postscript" instead of "ps"
8949 for consistency with image types. Remove XXX comments.
8950 (syms_of_xfns) <Qpdf>: DEFSYM it.
8952 2015-11-13 Eric Hanchrow <eric.hanchrow@gmail.com>
8954 shr: don't invoke unbound function (Bug#21895)
8956 * lisp/net/shr.el (have-fringes-p): New function.
8957 (shr-insert-document, shr-fill-text): Use it.
8959 2015-11-12 Juanma Barranquero <lekktu@gmail.com>
8961 * test/automated/keymap-tests.el: Fix test to make it repeatable
8963 (keymap-store_in_keymap-FASTINT-on-nonchars): Reset Buffer-menu-mode-map
8964 entry to its initial value to make the test repeatable in interactive
8965 sessions (assuming it doesn't fail and crashes Emacs, of course).
8967 2015-11-13 Artur Malabarba <bruce.connor.am@gmail.com>
8969 * test/automated/cl-lib-tests.el (cl-lib-struct-constructors): Small fix
8971 2015-11-12 Phillip Lord <phillip.lord@russet.org.uk>
8973 : Tests for undo-auto functionality.
8975 2015-11-12 Phillip Lord <phillip.lord@newcastle.ac.uk>
8977 The heuristic that Emacs uses to add an `undo-boundary' has been
8978 reworked, as it interacts poorly with functions on `post-command-hook'
8979 or `after-change-functions'.
8981 * lisp/simple.el: New section added.
8982 * src/cmds.c (remove_excessive_undo_boundaries): Now in lisp.
8983 (self_insert_command): Calls simple.el to amalgamate.
8984 (delete_char): Calls simple.el to amalgamate.
8985 * src/keyboard.c (last_undo_boundary): Removed.
8986 * src/undo.c (run_undoable_change): New function.
8988 2015-11-12 Juri Linkov <juri@linkov.net>
8990 Bind [?\S-\ ] to previous line command in Dired-like modes.
8992 * lisp/arc-mode.el (archive-mode-map):
8993 * lisp/dired.el (dired-mode-map):
8994 * lisp/proced.el (proced-mode-map):
8995 * lisp/vc/vc-dir.el (vc-dir-mode-map):
8996 Bind [?\S-\ ] to previous line command.
8999 2015-11-12 Eli Zaretskii <eliz@gnu.org>
9001 Fix the MinGW64 and Cygwin-w32 builds
9003 * src/w32fns.c (MYNOTIFYICONDATAW_V1_SIZE)
9004 (MYNOTIFYICONDATAW_V2_SIZE, MYNOTIFYICONDATAW_V3_SIZE): Define and
9005 use instead of the corresponding NOTIFYICONDATAW_Vn_SIZE macros,
9006 which cause trouble with MinGW42 headers. Ifdef away tray
9007 notifications code for Cygwin. Reported by Andy Moreton
9008 <andrewjmoreton@gmail.com>.
9010 2015-11-12 Simen Heggestøyl <simenheg@gmail.com>
9012 Enable sorting of JSON object keys when encoding
9014 * lisp/json.el (json-encoding-object-sort-predicate): New variable for
9015 specifying a sorting predicate for JSON objects during encoding.
9016 (json--plist-to-alist): New utility function.
9017 (json-encode-hash-table): Re-use `json-encode-alist' when object keys
9019 (json-encode-alist): Sort output by
9020 `json-encoding-object-sort-predicate, when set.
9021 (json-encode-plist): Re-use `json-encode-alist' when object keys are
9023 (json-pretty-print-buffer-ordered): New command to pretty print the
9024 buffer with object keys sorted alphabetically.
9025 (json-pretty-print-ordered): New command to pretty print the region with
9026 object keys sorted alphabetically.
9028 * test/automated/json-tests.el (test-json-plist-to-alist)
9029 (test-json-encode-plist, test-json-encode-hash-table)
9030 (test-json-encode-alist-with-sort-predicate)
9031 (test-json-encode-plist-with-sort-predicate): New tests.
9033 * etc/NEWS: Add an entry for the new commands.
9035 2015-11-12 Juanma Barranquero <lekktu@gmail.com>
9037 * test/automated/keymap-tests.el: New test file
9039 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
9041 Speed up x_real_pos_and_offsets using XCB
9043 * src/xfns.c (x_real_pos_and_offsets) [USE_XCB]: Add XCB flavors of
9044 all X calls, and pipeline requests when possible, collecting results
9045 later. Eliminate use of x_catch_errors (and thus XSync) in XCB case.
9047 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
9049 Enable use of XCB for checking window manager state
9051 * src/xterm.c (get_current_wm_state) [USE_XCB]: Use XCB calls instead
9052 of XGetWindowProperty plus error-catching, since we can explicitly
9053 check for errors in the XCB version. This eliminates 3 XSync calls on
9054 top of the round-trip actually fetching the information.
9056 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
9058 Detect XCB and save a connection handle
9060 * configure.ac: If using X11, check for XCB libraries and header.
9061 * src/Makefile.in (XCB_LIBS): Define.
9062 (LIBX_EXTRA): Include it.
9064 * src/xterm.h [USE_XCB]: Include X11/Xlib-xcb.h.
9065 (struct x_display_info) [USE_XCB]: Add an XCB connection handle field.
9066 * src/xterm.c (x_term_init) [USE_XCB]: Initialize the new field.
9068 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
9070 Reduce some data dependencies between X calls
9072 Gains nothing in the traditional-Xlib code, but more closely aligns
9073 with how the XCB version will work.
9075 * src/xfns.c (x_real_pos_and_offsets): When translating coordinates,
9076 send coordinates (0,0) to the X server and add in the real coordinates
9077 after getting the response. Move XGetGeometry for outer window inside
9078 error-trapping block. Use DPY variable more, since it's available.
9080 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
9082 Use color cache for creating bitmap
9084 * src/image.c (x_create_bitmap_from_xpm_data) [ALLOC_XPM_COLORS]: Set
9085 attributes to use the caching color allocator. Initialize and free
9088 2015-11-12 Eli Barzilay <eli@barzilay.org>
9090 Add "^" to the interactive specs of `dired-next/previous-line'
9092 * lisp/dired.el (dired-next-line, dired-previous-line): It makes sense
9093 to bind these commands to the arrow keys, and that means that they work
9094 better with a "^" in the `interactive' declaration so selection works
9097 2015-11-12 Thomas Fitzsimmons <fitzsim@fitzsim.org>
9099 Sync with soap-client repository, version 3.0.2
9101 * lisp/net/soap-client.el: Bump version to 3.0.2.
9103 * lisp/net/soap-client.el (soap-warning): Use format, not format-message.
9105 * lisp/net/soap-client.el: Add cl-lib to Package-Requires. Require cl-lib.
9106 (soap-validate-xs-simple-type): Use cl-labels instead of cl-flet.
9108 * lisp/net/soap-client.el: Support Emacs versions that do not have
9111 * lisp/net/soap-inspect.el: Remove version header.
9113 * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Fix first line header
9116 2015-11-11 Alan Mackenzie <acm@muc.de>
9118 CC Mode: Respect users' settings of open-paren-in-column-0-is-defun-start.
9120 lisp/progmodes/cc-engine.el (c-backward-single-comment, c-backward-comments)
9121 (c-invalidate-state-cache-1, c-parse-state-1, c-guess-basic-syntax):
9122 remove bindings of open-paren-in-column-0-is-defun-start to nil.
9123 (c-get-fallback-scan-pos): "New" function (existed several years ago).
9124 (c-parse-state-get-strategy): Reintroduce the 'BOD strategy, using
9125 c-get-fallback-scan-pos.
9126 (c-parse-state-1): Handle 'BOD strategy.
9128 lisp/progmodes/cc-mode.el (c-before-change, c-after-change)
9129 c-font-lock-fontify-region): remove bindings of
9130 open-paren-in-column-0-is-defun-start to nil.
9132 cc-mode.texi (Performance Issues, Limitations and Known Bugs): Fix mix up
9133 between @chapter and @appendix.
9135 2015-11-11 Artur Malabarba <bruce.connor.am@gmail.com>
9137 * lisp/obarray.el: Fix shadowed variables
9139 (obarray-map, obarray-remove, obarray-put, obarray-get):
9140 Change OBARRAY arg to OB to avoid shadowing ‘obarray’.
9142 2015-11-11 Eli Zaretskii <eliz@gnu.org>
9144 Avoid error in submitting a form with EWW
9146 * lisp/gnus/mm-url.el (mm-url-form-encode-xwfu): Allow argument
9147 CHUNK to be nil. (Bug#21881)
9149 2015-11-11 Nicolas Petton <nicolas@petton.fr>
9151 Rename seq-p and map-p to seqp and mapp
9153 * lisp/emacs-lisp/seq.el (seqp): New name.
9154 * lisp/emacs-lisp/map.el (mapp): New name.
9155 * doc/lispref/sequences.texi: Update the documentation for seqp.
9156 * test/automated/map-tests.el: Update the tests for mapp.
9158 2015-11-11 Nicolas Petton <nicolas@petton.fr>
9160 Rename obarray-p to obarrayp
9162 * lisp/obarray.el (obarrayp): New name.
9163 * test/automated/obarray-tests.el: Update the tests.
9165 2015-11-11 Nicolas Petton <nicolas@petton.fr>
9167 Rename obarray-foreach to obarray-map
9169 * lisp/obarray.el (obarray-map): New name.
9170 * test/automated/obarray-tests.el: Update the corresponding tests.
9172 2015-11-11 Przemysław Wojnowski <esperanto@cumego.com>
9174 New file with obarray functions.
9176 * lisp/obarray.el: basic obarray functions extracted from abbrev.el
9177 * test/automated/obarray-tests.el: new file
9179 2015-11-11 Eli Zaretskii <eliz@gnu.org>
9181 Implement tray notifications for MS-Windows
9183 * src/w32fns.c (MY_NOTIFYICONDATAW): New typedef.
9184 (NOTIFYICONDATAW_V1_SIZE, NOTIFYICONDATAW_V2_SIZE)
9185 (NOTIFYICONDATAW_V3_SIZE, NIF_INFO, NIIF_NONE, NIIF_INFO)
9186 (NIIF_WARNING, NIIF_ERROR, EMACS_TRAY_NOTIFICATION_ID)
9187 (EMACS_NOTIFICATION_MSG): New macros.
9188 (NI_Severity): New enumeration.
9189 (get_dll_version, utf8_mbslen_lim, add_tray_notification)
9190 (delete_tray_notification, Fw32_notification_notify)
9191 (Fw32_notification_close): New functions.
9192 (syms_of_w32fns): Defsubr functions exposed to Lisp. DEFSYM
9193 keywords used by w32-notification-notify.
9195 * doc/lispref/os.texi (Desktop Notifications): Describe the native
9196 w32 tray notifications.
9198 2015-11-11 Alan Mackenzie <acm@muc.de>
9200 First commit to scratch/follow. Make Isearch work with Follow Mode, etc.
9202 doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
9203 Windows" and new @defun selected-window-group.
9204 (Window Start and End): Describe new &optional parameter GROUP and
9205 ...-group-function for window-start, window-end, set-window-start, and
9206 pos-visible-in-window-p.
9207 (Textual Scrolling) Describe the same for recenter.
9208 doc/lispref/positions.texi (Screen Lines): Describe the same for
9209 move-to-window-line.
9211 src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
9212 (Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
9213 new optional parameter "group". At the beginning of each, check whether the
9214 corresponding ...-group-function is set to a function, and if so execute this
9215 function in place of the normal processing.
9216 (syms_of_window): Define symbols for the six new variables below.
9217 (window-start-group-function, window-end-group-function)
9218 (set-window-start-group-function, recenter-group-function)
9219 (pos-visible-in-window-p-group-function, move-to-window-line-group-function):
9220 New permanent local buffer local variables.
9221 src/keyboard.c (Fposn_at_point): Add extra parameter in call to
9222 Fpos_visible_in_window_p.
9224 lisp/window.el (selected-window-group-function): New permanent local buffer
9226 (selected-window-group): New function.
9228 lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
9229 enable, kill them at mode disable. Add/remove follow-after-change to/from
9230 after-change-functions.
9231 (follow-start-end-invalid): New variable.
9232 (follow-redisplay): Manipulate follow-start-end-invalid.
9233 (follow-after-change, follow-window-start, follow-window-end)
9234 (follow-set-window-start, follow-pos-visible-in-window-p)
9235 (follow-move-to-window-line, follow-sit-for): New functions.
9237 lisp/isearch.el (isearch-call-message): New macro.
9238 (isearch-update, with-isearch-suspended, isearch-del-char)
9239 (isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
9240 (with-isearch-suspended): Rearrange code such that isearch-call-message is
9241 invoked before point is moved.
9242 (isearch-message): Add comment about where point must be at function call.
9243 (isearch-search): Remove call to isearch-message.
9244 (isearch-lazy-highlight-window-group): New variable.
9245 (isearch-lazy-highlight-new-loop): Unconditionally start idle timer. Move
9246 the battery of tests to ...
9247 (isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
9248 Note: (sit-for 0) is still called.
9249 (isearch-lazy-highlight-update): Check membership of
9250 isearch-lazy-highlight-window-group. Don't set the `window' overlay
9252 (isearch-update, isearch-done, isearch-string-out-of-window)
9253 (isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
9254 (isearch-lazy-highlight-search, isearch-lazy-highlight-update)
9255 (isearch-lazy-highlight-update): Call the six amended primitives (see
9256 src/window.c above) with the new `group' argument set to t, to cooperate
9259 2015-11-11 Michael Albinus <michael.albinus@gmx.de>
9261 Optimize `file-equal-p' and `file-in-directory-p' in Tramp
9263 * lisp/net/tramp.el (tramp-handle-file-equal-p)
9264 (tramp-handle-file-in-directory-p): New defuns. Suggested by
9265 Harvey Chapman <hchapman@3gfp.com>
9267 * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9268 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9269 * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9270 * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use them.
9272 2015-11-10 Karl Fogel <kfogel@red-bean.com>
9274 * CONTRIBUTE: Encourage adding tests.
9276 Based on this post from John Wiegley:
9278 From: "John Wiegley" <johnw@newartisans.com>
9279 Subject: Re: [Emacs-diffs] master 1f02cbe: Fix bug#21766 and add test
9280 To: Juanma Barranquero <lekktu@gmail.com>
9281 Cc: emacs-diffs@gnu.org, bruce.connor.am@gmail.com,
9282 emacs-devel <emacs-devel@gnu.org>
9283 Date: Wed, 28 Oct 2015 18:45:29 -0700
9284 Message-ID: <m2y4emqwg6.fsf@newartisans.com>
9286 https://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02372.html
9288 2015-11-10 David Reitter <david.reitter@gmail.com>
9290 Avoid creating notification objects when possible
9292 * src/nsterm.m (windowWillEnterFullScreen, windowWillExitFullScreen:,
9293 windowDidEnterFullScreen, windowDidExitFullScreen): provide
9294 convenience functions that do not require a notification object. When
9295 needed, define NSWindowDidEnterFullScreenNotification to allow for
9296 compilation on OS X 10.6.8.
9298 2015-11-10 Paul Eggert <eggert@cs.ucla.edu>
9300 Move INTEGER_TO_CONS body out of .h file
9302 * src/data.c (INTBIG_TO_LISP): New macro, with most
9303 of the contents of the old INTEGER_TO_CONS.
9304 (intbig_to_lisp, uintbig_to_lisp): New functions.
9305 * src/lisp.h (INTEGER_TO_CONS):
9306 Simplify by using EXPR_SIGNED and the new functions.
9307 This shrinks code size a bit, and makes it easier to
9308 put a breakpoint on handling of large integers.
9310 2015-11-10 Paul Eggert <eggert@cs.ucla.edu>
9315 2015-11-10 intprops: new public macro EXPR_SIGNED
9316 2015-11-10 intprops: fix typo in clang port
9317 * lib/intprops.h: Copy from gnulib.
9319 2015-11-10 Paul Eggert <eggert@cs.ucla.edu>
9323 * lisp/net/soap-inspect.el (soap-inspect-xs-simple-type):
9324 Fix misspelling in output.
9326 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
9328 * doc/lispref/variables.texi (Directory Local Variables):
9330 Document dir-locals wildcards
9332 * lisp/files.el (dir-locals-file): Point to Info node.
9334 * doc/emacs/custom.texi (Directory Variables):
9335 Document dir-locals wildcards.
9337 * etc/NEWS: Document new functionality.
9339 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
9341 * lisp/files.el: Don't allow customization of dir-locals sorting
9343 In retrospect, this is not a good idea for the same reason that
9344 `dir-locals-file' is a defconst, because it is important that this
9345 behaviour be "uniform across different environments and users".
9346 Sure, the user can still change the sorting with a hack, but we
9347 shouldn't encourage them to change it.
9349 (dir-locals--all-files): Return list in the order returned by
9350 `file-expand-wildcards'.
9351 (file-expand-wildcards): Document the sorting predicate used.
9352 (dir-locals-sort-predicate): Delete variable.
9354 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
9356 * lisp/files.el (dir-locals-read-from-file): Better handle errors
9358 * lisp/isearch.el (search-default-regexp-mode): change default value
9360 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
9362 * lisp/files.el (dir-locals-find-file): Don't stop at unreadable files
9364 `locate-dominating-file' will now keep looking if the files it finds in
9365 a given directory are unreadable (or not files).
9367 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
9369 * lisp/files.el (dir-locals-file): Allow wildcards
9371 (dir-locals-find-file, dir-locals-collect-variables)
9372 (dir-locals-read-from-file): Update accordingly.
9373 (hack-dir-local-variables): Rename a local variable.
9375 * lisp/files-x.el (modify-dir-local-variable): Update accordingly
9377 * lisp/help-fns.el (describe-variable): Update accordingly
9379 * .gitignore: Add .dir-locals?.el
9381 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
9383 * lisp/emacs-lisp/map.el (map-merge-with): New function
9385 * test/automated/map-tests.el (test-map-merge-with): New test
9387 2015-11-10 Karl Fogel <kfogel@red-bean.com>
9389 Fix some recently-perturbed bookmark autoloads
9391 * lisp/bookmark.el (bookmark-set-internal): Remove unnecessary autoload.
9392 (bookmark-set): Restore autoload.
9393 (bookmark-set-no-overwrite): Add autoload.
9395 Thanks to Juanma Barranquero for noticing the autoload problems
9396 introduced by my recent commit adding/changing the above functions
9397 (Sun Nov 8 14:16:43 2015 -0500, git commit 3812e17978).
9399 2015-11-10 Noah Friedman <friedman@splode.com>
9401 (ydump-buffer): Handle case where gap is at the start of buffer.
9402 I don't recall if older versions of gdb were less strict but you
9403 cannot dump a 0-length range in gdb 7.9.1.
9405 2015-11-10 Dmitry Gutov <dgutov@yandex.ru>
9407 * lisp/progmodes/project.el: Update Commentary.
9409 Merge branch 'project-next'
9411 2015-11-10 Dmitry Gutov <dgutov@yandex.ru>
9413 Fold `project-ask-user' into `project-current'
9415 * lisp/progmodes/project.el (project-find-functions): Remove
9417 (project-ask-user): Remove function and the corresponding
9418 `project-roots' implementation.
9419 (project-current): Add a new argument, MAYBE-PROMPT. Prompt the
9420 user in case there's no project in the current directory. Update
9423 2015-11-09 Karl Fogel <kfogel@red-bean.com>
9425 When VC detects a conflict, specify which file
9427 * lisp/vc/vc.el (vc-message-unresolved-conflicts): New function.
9428 * lisp/vc/vc-svn.el (vc-svn-find-file-hook):
9429 * lisp/vc/vc-hg.el (vc-hg-find-file-hook):
9430 * lisp/vc/vc-bzr.el (vc-bzr-find-file-hook):
9431 * lisp/vc/vc-git.el (vc-git-find-file-hook): Use above new function
9432 to display a standard message that specifies the conflicted file.
9434 Before this change, the message VC used for indicating a conflicted
9435 file was just "There are unresolved conflicts in this file" without
9436 naming the file (and this language was duplicated in several places).
9437 After this change, it's "There are unresolved conflicts in file FOO"
9438 (and this language is now centralized in one function in vc.el).
9440 Justification: It's important for the message to name the conflicted
9441 file because the moment when VC realizes a file is conflicted does not
9442 always come interactively. For example, some people automatically
9443 find a set of Org Mode files on startup, and may keep those .org files
9444 under version control. If any of the files are conflicted, the user
9445 just sees some messages fly by, and might later check the "*Messages*"
9446 buffer to find out what files were conflicted. I'm not saying this
9447 happened to me or anything; it's a purely hypothetical example.
9449 2015-11-09 Eli Zaretskii <eliz@gnu.org>
9451 Fix assertion violation in define-key
9453 * src/keymap.c (store_in_keymap): Don't use XFASTINT on non-character
9454 objects. Reported by Drew Adams <drew.adams@oracle.com>
9455 and Juanma Barranquero <lekktu@gmail.com>.
9457 2015-11-09 Dima Kogan <dima@secretsauce.net>
9459 Fix a memory leak in GC of font cache
9461 * src/alloc.c (compact_font_cache_entry): Don't GC unmarked font
9462 entities if some of the fonts it references are marked. This
9463 plugs a memory leak. (Bug#21556)
9465 2015-11-09 Paul Eggert <eggert@cs.ucla.edu>
9467 Use INT_ADD_WRAPV etc. to check integer overflow
9469 * src/alloc.c (xnmalloc, xnrealloc, xpalloc, Fmake_string):
9470 * src/buffer.c (record_overlay_string, overlay_strings):
9471 * src/casefiddle.c (casify_object):
9472 * src/ccl.c (Fccl_execute_on_string):
9473 * src/character.c (char_width, c_string_width, lisp_string_width)
9474 (count_size_as_multibyte, string_escape_byte8):
9475 * src/coding.c (coding_alloc_by_realloc, produce_chars):
9476 * src/data.c (arith_driver):
9477 * src/dispnew.c (realloc_glyph_pool, init_display):
9478 * src/editfns.c (styled_format):
9479 * src/fns.c (Ffillarray):
9480 * src/ftfont.c (ftfont_shape_by_flt):
9481 * src/gnutls.c (gnutls_hex_string):
9482 * src/gtkutil.c (get_utf8_string):
9483 * src/image.c (x_to_xcolors, x_detect_edges, png_load_body):
9484 * src/keymap.c (Fkey_description):
9485 * src/lisp.h (SAFE_ALLOCA_LISP):
9486 * src/term.c (encode_terminal_code):
9487 * src/tparam.c (tparam1):
9488 * src/xselect.c (x_property_data_to_lisp):
9489 * src/xsmfns.c (smc_save_yourself_CB):
9490 * src/xterm.c (x_term_init):
9491 When checking for integer overflow, prefer INT_MULTIPLY_WRAPV to
9492 more-complicated code involving division and/or
9493 INT_MULTIPLY_OVERFLOW, and similarly for INT_ADD_WRAPV and
9494 subtraction and/or INT_ADD_OVERFLOW.
9495 * src/casefiddle.c (casify_object): Simplify multibyte size check.
9496 * src/character.c: Remove some obsolete ‘#ifdef emacs’s.
9497 * src/data.c (arith_driver): Also check for division overflow,
9498 as that’s now possible given that the accumulator can now contain
9500 * src/lisp.h (lisp_word_count): Remove; no longer used.
9502 2015-11-09 Dmitry Gutov <dgutov@yandex.ru>
9504 Make sure that the ignore file exists
9506 * lisp/vc/vc.el (vc-default-ignore-completion-table):
9507 Make sure that the ignore file exists.
9509 2015-11-09 Michael Sperber <mike@xemacs.org>
9511 * lisp/gnus-sum.el (gnus-summary-backend-map): Bind B-backspace to
9512 `gnus-summary-delete-article` in a way that also works on XEmacs.
9514 2015-11-08 Simen Heggestøyl <simenheg@gmail.com>
9516 Add support for retrieving paths to JSON elements
9518 Add support for retrieving the path to a JSON element. This can for
9519 instance be useful to retrieve paths in deeply nested JSON
9522 * lisp/json.el (json-pre-element-read-function)
9523 (json-post-element-read-function): New variables to hold pre- and post
9524 read callback functions for `json-read-array' and `json-read-object'.
9525 (json--path): New variable used internally by `json-path-to-position'.
9526 (json--record-path, json--check-position): New functions used
9527 internally by `json-path-to-position'.
9528 (json-path-to-position): New function for retrieving the path to a
9529 JSON element at a given position.
9530 (json-read-object, json-read-array): Call
9531 `json-pre-element-read-function' and `json-post-element-read-function'
9534 * test/automated/json-tests.el (test-json-path-to-position-with-objects)
9535 (test-json-path-to-position-with-arrays)
9536 (test-json-path-to-position-no-match): New tests for
9537 `json-path-to-position'.
9539 2015-11-08 Karl Fogel <kfogel@red-bean.com>
9541 * etc/NEWS: Mention new `bookmark-set-no-overwrite'.
9543 This really should been part of my previous commit
9544 (Sun Nov 8 14:16:43 2015 -0500, git commit 3812e17978).
9546 2015-11-08 Karl Fogel <kfogel@red-bean.com>
9548 Offer non-overwrite bookmark setter (Bug#15746)
9550 * lisp/bookmark.el (bookmark-set-internal): New helper function to do
9551 what `bookmark-set' used to do, but with more choices for overwrite
9552 vs push, and with minor changes to the interactive prompt format.
9553 (bookmark-set): Rewrite as wrapper around above.
9554 If overwriting, inform the user of that in the prompt.
9555 (bookmark-set-no-overwrite): New function, also done as wrapper.
9556 Bind to "M" in `ctl-x-r-map' autoloads.
9557 (bookmark-map): Similarly bind "M" here.
9559 2015-11-08 Paul Eggert <eggert@cs.ucla.edu>
9561 * src/unexelf.c (NEW_PROGRAM_H): Remove unused macro (Bug#20614).
9563 2015-11-08 Alan Modra <amodra@gmail.com>
9565 ELF unexec: Don't insert a new section
9567 Reuse the .bss section instead, making it SHT_PROGBITS. This way we
9568 don't need to mess with symbol st_shndx, or section sh_link and
9571 This does lead to eu-elflint complaints about symbols defined in .bss
9572 with a needed version, because normally it is undefined symbols that
9573 have needed versions; Defined symbols have version definitions.
9574 The exception is symbols defined by the linker in .dynbss for
9575 variables copied from a shared library in order to avoid text
9576 relocations, with copy relocs to copy their initial values from the
9577 shared library. These symbols are both defined and have needed
9578 versions, and eu-elflink only expects to see them in SHT_NOBITS
9579 sections. Of course there is no real problem with having such symbols
9580 in SHT_PROGBITS sections. glibc ld.so handles them fine.
9582 * src/unexelf.c: Delete outdated comments.
9583 (PATCH_INDEX): Delete.
9584 (find_section): Delete.
9585 (unexec): Don't add a new section. Instead reuse the last bss
9586 section, extending it to cover dumped data. Make bss sections
9587 SHT_PROGBITS. Remove all patching of sh_link, sh_info and
9588 st_shndx. Rename bss sections.
9590 2015-11-08 Alan Modra <amodra@gmail.com>
9592 ELF unexec: Drive from PT_LOAD header rather than sections
9594 This rewrites bss handling in the ELF unexec code. Finding bss
9595 sections by name results in complicated code that
9596 - does not account for all names of possible bss sections,
9597 - assumes specific ordering of bss sections,
9598 - can wrongly choose a SHT_NOBITS section not in the bss segment,
9599 - incorrectly calculates bss size (no accounting for alignment gaps),
9600 - assumes .data and .bss are in the same segment.
9602 All of these problems and more are solved by finding the bss segment
9603 in PT_LOAD headers, ie. the address range included in p_memsz but not
9604 p_filesz of the last PT_LOAD header, then matching SHT_NOBITS sections
9605 in that address range.
9607 * src/unexelf.c: Delete old ppc comment.
9608 (OLD_PROGRAM_H): Define.
9610 (unexec): Don't search for bss style sections by name. Instead,
9611 use the last PT_LOAD header address range covered by p_memsz
9612 but not p_filesz and match any SHT_NOBITS section in that
9613 address range. Simplify initialisation of section header vars.
9614 Don't assume that section headers are above bss segment. Move
9615 copying of bss area out of section loop. Align .data2 section
9616 to 1, since it now covers the entire bss area. For SHT_NOBITS
9617 sections in the bss segment, leave sh_addr and sh_addralign
9618 unchanged, but correct sh_offset. Clear memory corresponding
9619 to SHT_NOBITS .plt section. Delete comment and hacks for
9620 sections partly overlapping bss range now that the full range
9621 is properly calculated. Delete now dead .sbss code.
9624 2015-11-08 Alan Modra <amodra@gmail.com>
9626 ELF unexec: R_*_NONE relocs
9628 These should be ignored on all targets.
9630 * src/unexelf.c (unexec): Ignore R_*_NONE relocs for any target,
9631 not just Alpha. Comment on reloc size assumption.
9633 2015-11-08 Alan Modra <amodra@gmail.com>
9635 ELF unexec: _OBJC_ symbols in bss sections
9637 This code assumed that there was only one bss section. Rather than
9638 checking for a particular index, check the section type. Also, handle
9639 the possibility that the section was SHT_NOBITS originally and is
9640 unchanged, in which case no clearing is needed (and sh_offset isn't
9641 necessarily valid, which can lead to a wild memset).
9643 * src/unexelf.c (unexec): Properly handle _OBJC_ symbols in bss sections.
9645 2015-11-08 Alan Modra <amodra@gmail.com>
9647 ELF unexec: Symbol table patching
9649 No st_shndx value larger than SHN_LORESERVE should be changed.
9650 * src/unexelf.c (unexec): Don't adjust any st_shndx larger than
9651 SHN_LORESERVE. Error on SHN_XINDEX.
9653 2015-11-08 Alan Modra <amodra@gmail.com>
9655 ELF unexec: Merge Alpha and MIPS COFF debug handling
9657 * src/unexelf.c (unexec): Merge Alpha and MIPS COFF debug handling.
9658 Don't find .mdebug section index, find the section in the loop.
9659 Allow for unlikely possibility that .mdebug is located at sh_offset
9660 before bss segment, by calculating move from difference in
9661 sh_offset rather than just assuming new_data2_size. Simplify
9662 cbLineOffset handling.
9664 2015-11-08 Alan Modra <amodra@gmail.com>
9666 ELF unexec: Tidy code
9668 Separate out some of the more mechanical changes so following patches
9671 * src/unexelf.c (unexec): Rearrange initialisation of program
9672 header vars. Use pointer vars in loops rather than indexing
9673 section header array via macros. Simplify _OBJC_ sym code
9674 and reloc handling code.
9676 2015-11-08 Alan Modra <amodra@gmail.com>
9678 ELF unexec: Correct section header index
9680 First a small fix. The code incorrectly uses "NEW_SECTION_H (n)" when
9681 it should have been using "NEW_SECTION_H (nn)" to find the name of the
9682 section currently being processed. Of course, before the bss
9683 sections, n and nn have the same value, so this doesn't matter except
9684 in the case of .sbss. For .sbss this probably meant .bss (most likely
9685 the next section) was copied from memory. A later patch removes the
9686 bogus .sbss handling anyway.
9688 * src/unexelf.c (unexec): Use correct index to look up names.
9690 2015-11-08 Michael Albinus <michael.albinus@gmx.de>
9694 * lisp/filenotify.el (file-notify--rm-descriptor):
9695 Use `descriptor' instead of computing its value.
9696 (file-notify--descriptor): Additional argument FILE. Adapt all callees.
9697 (file-notify-rm-watch): Use `descriptor' when calling file name handler.
9700 2015-11-08 Dmitry Gutov <dgutov@yandex.ru>
9702 Remove dirs in vc project roots from the the vc project library roots
9704 * lisp/progmodes/project.el (project-library-roots): Remove
9705 directories inside the project roots from the result.
9706 (http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00536.html)
9708 2015-11-08 Dmitry Gutov <dgutov@yandex.ru>
9710 Move and rename xref-find-regexp to the project package
9712 * lisp/progmodes/project.el (project-find-regexp)
9713 (project--read-regexp)
9714 (project--find-regexp-in): New functions.
9716 * lisp/progmodes/xref.el (xref--find-xrefs): Extract from
9717 xref--show-xrefs. Use in existing callers in place of that
9719 (xref--show-xrefs): Only do the "show" part.
9720 (xref-find-regexp): Rename, more or less, to
9721 project-or-libraries-find-regexp.
9723 2015-11-06 Dmitry Gutov <dgutov@yandex.ru>
9725 Abolish temporary buffer management for xref
9727 * lisp/progmodes/xref.el (xref--temporary-buffers)
9729 (xref--inhibit-mark-current)
9730 (xref--mark-selected): Remove. Remove all references.
9731 (xref--show-xrefs): Do not construct the
9732 list of the temporary buffers, nor pass it along.
9734 2015-11-06 Dmitry Gutov <dgutov@yandex.ru>
9736 Rename "search path" to "library roots"
9738 * lisp/emacs-lisp/cl-seq.el (cl-set-difference): Retain the order
9739 of the elements from CL-LIST1.
9741 * test/automated/cl-lib-tests.el (cl-lib-test-set-functions):
9742 Update WRT to the above change.
9744 * lisp/progmodes/project.el (project-search-path-function): Rename
9745 to project-library-roots-function, update the documentation and
9747 (project-search-path): Likewise, to project-library-roots.
9748 (project-roots): Clarify documentation.
9749 (project-vc-search-path): Likewise, to project-vc-library-roots.
9750 (project-library-roots): In addition to the renames, thread the
9751 results through file-name-as-directory.
9752 (project-prune-directories): Accept a variable number of
9753 arguments. Rename to project-combine-directories.
9754 (project-subtract-directories): New function.
9756 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references):
9757 Append project-roots and project-library-roots together.
9759 * lisp/progmodes/etags.el (etags--xref-find-references): Ditto.
9761 2015-11-08 Paul Eggert <eggert@cs.ucla.edu>
9763 Prefer xpalloc to doubling buffers by hand
9765 * src/lread.c (grow_read_buffer): New function, which uses xpalloc.
9766 (read1): Use it for simplicity.
9767 * src/macros.c (store_kbd_macro_char):
9768 * src/minibuf.c (read_minibuf_noninteractive):
9769 * src/term.c (encode_terminal_code):
9770 * src/xrdb.c (magic_db):
9771 Prefer xpalloc to growing buffers by hand.
9772 This doesn’t fix any bugs, but simplifies the code a bit.
9774 2015-11-08 Paul Eggert <eggert@cs.ucla.edu>
9779 2015-11-05 timespec-sub: fix overflow bug; add tests
9780 2015-11-04 intprops: revise _WRAPV macros, revert _OVERFLOW
9781 2015-11-03 intprops: add parentheses
9782 * lib/intprops.h, lib/timespec-add.c, lib/timespec-sub.c:
9785 2015-11-07 David Reitter <david.reitter@gmail.com>
9787 Provide NS notification objects where required to eliminate warnings
9789 * src/nsterm.m (windowDidResize:, toggleFullScreen:):
9790 Call notification functions with notification objects
9791 as per delegate APIs.
9793 2015-11-07 Noam Postavsky <npostavs@users.sourceforge.net>
9795 Add test for bug #21824
9797 * test/automated/buffer-tests.el: New file.
9798 (overlay-modification-hooks-message-other-buf): New test.
9800 2015-11-07 Kelvin White <kwhite@gnu.org>
9802 * lisp/erc/erc-pcomplete.el (pcomplete-erc-nicks): Fix bug#18771.
9804 2015-11-07 David Reitter <david.reitter@gmail.com>
9806 Ignore fullscreen exit notifications on NS when frame is dead
9808 * src/nsterm.m (windowDidResize:, windowWillExitFullScreen:)
9809 (windowDidExitFullScreen:): Return if frame is dead.
9810 These functions may be called when a fullscreen frame
9811 is closed; they are called before, not after.
9813 May address Bug#21428.
9815 2015-11-07 Eli Zaretskii <eliz@gnu.org>
9817 Speed up lookup in redisplay--variables
9819 * lisp/frame.el (redisplay--variables): Make it a hash-table.
9821 * src/xdisp.c (maybe_set_redisplay): Access redisplay--variables
9822 as a hash-table. This speeds up this function by an order of
9823 magnitude: where previously a setq was slowed down by 100% by
9824 introducing the maybe_set_redisplay test, it is now only 5%
9826 (syms_of_xdisp) <redisplay--variables>: Doc fix.
9828 2015-11-07 Artur Malabarba <bruce.connor.am@gmail.com>
9830 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Fix a bug.
9832 The defsubst was being created as:
9833 (cl-defsubst name (args) ("DOC") ...)
9835 * test/automated/cl-lib-tests.el (cl-lib-struct-constructors):
9838 2015-11-07 Mihai Olteanu <mihai_olteanu@fastmail.fm> (tiny change)
9840 Update doc string of hexl-mode
9842 * lisp/hexl.el (hexl-mode): Doc fix. (Bug#21800)
9844 2015-11-07 Eli Zaretskii <eliz@gnu.org>
9846 Fix error in copy-abbrev-table
9848 * lisp/abbrev.el (define-abbrev): Don't erase the :abbrev-table-modiff
9849 property of the abbrev-table. (Bug#21828)
9851 * test/automated/abbrev-tests.el: New file.
9853 2015-11-07 Michael Albinus <michael.albinus@gmx.de>
9855 Add test to auto-revert-tests.el for Bug#21841
9857 * test/automated/auto-revert-tests.el
9858 (auto-revert-test01-auto-revert-several-files): New test.
9859 (auto-revert-test02-auto-revert-tail-mode)
9860 (auto-revert-test03-auto-revert-mode-dired): Rename them.
9862 2015-11-07 Martin Rudalics <rudalics@gmx.at>
9864 * doc/lispref/windows.texi (Coordinates and Windows): Fix typo.
9866 2015-11-07 Martin Rudalics <rudalics@gmx.at>
9868 In x_consider_frame_title don't set title of tooltip frames
9870 * src/xdisp.c (x_consider_frame_title): Return immediately for
9871 tooltip frames to avoid displaying empty tooltips.
9873 2015-11-06 Anders Lindgren <andlind@gmail.com>
9875 Fixed NextStep fullscreen problem (bug#21770).
9877 * src/nsterm.m (ns_constrain_all_frames): Don't constrain
9880 2015-11-06 Eli Zaretskii <eliz@gnu.org>
9882 Ensure redisplay after evaluation
9884 * lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp):
9886 * lisp/frame.el (redisplay--variables): Populate the
9887 redisplay--variables list.
9888 * src/xdisp.c (maybe_set_redisplay): New function.
9889 (syms_of_xdisp) <redisplay--variables>: New variable.
9890 * src/window.h (maybe_set_redisplay): Declare prototype.
9891 * src/data.c (set_internal): Call maybe_set_redisplay. (Bug#21835)
9893 2015-11-06 Artur Malabarba <bruce.connor.am@gmail.com>
9895 * test/automated/subr-tests.el (subr-test-when): Fix again.
9897 2015-11-06 Eli Zaretskii <eliz@gnu.org>
9899 Don't invoke overlay modification hooks in wrong buffer
9901 * src/buffer.c (report_overlay_modification): When called with
9902 AFTER non-zero, don't invoke overlay modification hooks if the
9903 buffer recorded in last_overlay_modification_hooks is different
9904 from the current buffer. (Bug#21824)
9906 2015-11-06 Juanma Barranquero <lekktu@gmail.com>
9908 * admin/notes/repo: Fix a few obsolete references to Bazaar.
9910 2015-11-06 Artur Malabarba <bruce.connor.am@gmail.com>
9912 * test/automated/subr-tests.el (subr-test-when): Fix test.
9914 2015-11-06 Martin Rudalics <rudalics@gmx.at>
9916 Avoid division by zero crash observed by Yuan MEI
9918 See http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00194.html.
9920 * src/dispnew.c (required_matrix_height, required_matrix_width):
9921 Avoid division by zero.
9922 * src/xterm.c (x_term_init): Init dpyinfo->smallest_font_height and
9923 dpyinfo->smallest_char_width to 1.
9925 2015-11-06 Eli Zaretskii <eliz@gnu.org>
9927 Ensure redisplay after "C-x C-e"
9929 * lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp): Make sure
9930 redisplay happens to account for any side effects of the evaluated
9933 2015-11-06 Michael Albinus <michael.albinus@gmx.de>
9935 Skip some file notification tests for cygwin
9937 * test/automated/file-notify-tests.el (file-notify--test-with-events):
9938 Remove argument TIMEOUT. Adapt all callees.
9939 (file-notify-test02-events, file-notify-test04-file-validity):
9940 Skip for cygwin. (Bug#21804)
9942 2015-11-05 Stephen Leake <stephen_leake@stephe-leake.org>
9944 * lisp/progmodes/xref.el: Require semantic/symref during compilation.
9946 2015-11-05 Daiki Ueno <ueno@gnu.org>
9948 Suppress redundant Pinentry startup messages
9950 * lisp/net/pinentry.el (pinentry-start): Add optional QUIET argument.
9951 * lisp/epg.el: Declare `pinentry-start'.
9952 (epg--start): Call `pinentry-start' with QUIET argument set.
9954 2015-11-05 Xue Fuqiao <xfq.free@gmail.com>
9956 * doc/emacs/ack.texi (Acknowledgments): Updates.
9958 2015-11-05 Juanma Barranquero <lekktu@gmail.com>
9960 * test/automated/elisp-mode-tests.el: Silence some run-time warnings.
9961 (xref-elisp-deftest): Bind `find-file-suppress-same-file-warnings' to t.
9963 2015-11-05 Tassilo Horn <tsdh@gnu.org>
9965 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
9966 Add prettification support for \times.
9968 2015-11-05 Juanma Barranquero <lekktu@gmail.com>
9970 * test/automated/process-tests.el: Skip tests when bash is unavailable.
9971 (process-test-sentinel-accept-process-output)
9972 (process-test-sentinel-sit-for): skip-unless bash executable found.
9974 2015-11-05 Eli Zaretskii <eliz@gnu.org>
9976 Add test for bug #21831
9978 * test/automated/process-tests.el
9979 (start-process-should-not-modify-arguments): New test. (Bug#21831)
9980 Suggested by Nicolas Richard <youngfrog@members.fsf.org>
9982 2015-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
9984 * lisp/emacs-lisp/eieio-compat.el: Typo caught by tests.
9986 (eieio--generic-static-object-generalizer): Fix typo.
9987 * test/automated/eieio-tests.el: Byte-compile it again. It looks
9988 like the underlying cause of bug#17852 was fixed in the mean time.
9990 2015-11-04 Artur Malabarba <bruce.connor.am@gmail.com>
9992 Revert "* lisp/subr.el (when): Use `macroexp-progn'"
9994 This reverts commit 8e843831eaf271801836b7a3e4dd3b4fb0bb72b8.
9995 It breaks bootstrapping (duh).
9997 2015-11-04 Artur Malabarba <bruce.connor.am@gmail.com>
9999 * lisp/files.el (report-errors): Obsolete.
10001 (normal-mode, hack-local-variables, dir-locals-find-file):
10002 Use `with-demoted-errors' instead.
10004 2015-11-04 Artur Malabarba <bruce.connor.am@gmail.com>
10006 * lisp/subr.el (when): Use `macroexp-progn'.
10008 * test/automated/subr-tests.el (subr-test-when): New test.
10010 2015-11-04 Juanma Barranquero <lekktu@gmail.com>
10012 * lisp/progmodes/xref.el: Doc fixes.
10013 (xref-make-file-location, xref-make-buffer-location, xref-make)
10014 (xref-make-bogus-location, xref-make-match): Add cross-references.
10015 (xref--insert-xrefs): Fix typo in docstring.
10017 2015-11-04 Anders Lindgren <andlind@gmail.com>
10019 Render fringe bitmaps correctly on NextStep (bug#21301)
10021 The fringe bitmaps were inverted, the background was not transparent,
10022 the image data was horizontally mirrored, and periodic fringe bitmaps
10023 were not supported.
10025 * src/nsimage.m ([EmacsImage initFromXBM:width:height:fg:bg:]):
10026 When both background and foreground colors are 0, set the background
10027 alpha channel to 0 (making the background transparent). When
10028 copying the image data, do this from the most significant bit
10029 (leftmost) to the least (rightmost), to avoid mirroring.
10030 * src/nsterm.m (ns_draw_fringe_bitmap): Don't invert the image bits.
10031 Add support for periodic images (e.g. the empty line indicator).
10033 2015-11-03 Michael Heerdegen <michael_heerdegen@web.de>
10035 * lisp/emacs-lisp/pcase.el (pcase): Tweak docstring.
10037 2015-11-03 Nicolas Petton <nicolas@petton.fr>
10039 * admin/MAINTAINERS: Add seq-tests.el, map-tests.el, and thunk-tests.el.
10041 * admin/MAINTAINERS: Add thunk.el.
10043 2015-11-03 Jay Belanger <jay.p.belanger@gmail.com>
10045 * lisp/calc/calc.el (calc-bug-address): Change maintainer address.
10047 2015-11-03 Michael Albinus <michael.albinus@gmx.de>
10049 Fix a stupid error in gfilenotify.c
10051 * src/gfilenotify.c (dir_monitor_callback): Cancel monitor only,
10052 if we've got a `deleted' signal AND the file name is the watched one.
10054 2015-11-03 Stephen Leake <stephen_leake@stephe-leake.org>
10056 Fix Bug#21816; case insensitive file system in elisp-mode-tests.el
10058 * test/automated/elisp-mode-tests.el (xref-elisp-test-run):
10059 Use case-insensitive string compare for file names.
10060 (emacs-test-dir): Add 'downcase' to cause case differences (at
10061 least on my system).
10063 2015-11-02 Juanma Barranquero <lekktu@gmail.com>
10065 flymake-tests.el (warning-predicate-rx-gcc): Fix check
10067 * test/automated/flymake-tests.el (warning-predicate-rx-gcc):
10068 Also check that "make" is available, not just "gcc".
10070 2015-11-02 Ken Brown <kbrown@cornell.edu>
10072 Document behavior of collation on Cygwin
10074 * test/automated/fns-tests.el (fns-tests-collate-sort): Mark as
10075 expected failure on Cygwin.
10076 * doc/lispref/strings.texi (Text Comparison): Document that
10077 punctuation and whitespace are not ignored for sorting on Cygwin.
10079 2015-11-02 Dani Moncayo <dmoncayo@gmail.com>
10081 * build-aux/msys-to-w32: Prevent double slashes in w32 path list.
10083 2015-11-01 Glenn Morris <rgm@gnu.org>
10085 * lisp/progmodes/f90.el (f90-no-block-limit): Add associate.
10087 * test/automated/f90.el (f90-test-bug21794): New test.
10089 2015-11-01 Juanma Barranquero <lekktu@gmail.com>
10091 Fix incompatibility with TCC in test for bug#18745
10093 * test/automated/process-tests.el (process-test-quoted-batfile):
10094 Remove spaces unrelated to the bug being tested.
10096 2015-11-01 Michael Albinus <michael.albinus@gmx.de>
10098 Improve completion in tramp-gvfs.el
10100 * lisp/net/tramp-gvfs.el (tramp-zeroconf-parse-device-names):
10101 Rename from `tramp-zeroconf-parse-service-device-names'.
10102 (tramp-zeroconf-parse-webdav-device-names): Remove. Code merged
10103 with `tramp-zeroconf-parse-device-names'.
10104 (tramp-gvfs-parse-device-names): New defun.
10105 (top): Use it when `tramp-zeroconf-parse-device-names' is not
10108 * lisp/net/tramp.el (tramp-set-completion-function): The argument
10109 could also be a zeroconf service type.
10111 2015-10-31 Thomas Fitzsimmons <fitzsim@fitzsim.org>
10113 * lisp/net/ntlm.el: Change version to 2.0.0.
10115 2015-10-31 Juanma Barranquero <lekktu@gmail.com>
10118 * lisp/progmodes/python.el (python-syntax-closing-paren-p): Check with
10119 `eql' instead of `=' to accommodate the case that (syntax-after (point))
10121 * test/automated/python-tests.el (python-indent-inside-paren-7):
10124 2015-10-31 Juanma Barranquero <lekktu@gmail.com>
10126 * test/automated/python-tests.el: Avoid warnings.
10127 (python-tests-with-temp-buffer, python-tests-with-temp-file):
10128 Bind `python-indent-guess-indent-offset' to nil.
10130 2015-10-31 Juanma Barranquero <lekktu@gmail.com>
10132 * src/alloc.c: Silence compiler warnings.
10133 (pointers_fit_in_lispobj_p, mmap_lisp_allowed_p): #ifdef DOUG_LEA_MALLOC.
10135 2015-10-31 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
10137 * etc/NEWS: Fix js-jsx-mode entry punctuation.
10139 2015-10-31 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
10141 Add JSX indentation via js-jsx-mode (Bug#21799)
10143 * lisp/progmodes/js.el: Add JSX indentation support.
10144 (js--jsx-end-tag-re)
10145 (js--jsx-after-tag-re): New variables.
10146 (js--jsx-find-before-tag)
10147 (js--jsx-indented-element-p)
10149 (js--expression-in-sgml-indent-line)
10150 (js-jsx-indent-line)
10151 (js-jsx-mode): New functions.
10152 * test/indent/js-jsx.js: New file.
10153 * etc/NEWS: Add information about js-jsx-mode.
10155 2015-10-31 Michael Albinus <michael.albinus@gmx.de>
10157 Minor fix in filenotify.el
10159 * lisp/filenotify.el (file-notify--event-file-name)
10160 (file-notify--event-file1-name): Normalize result with
10161 `directory-file-name'.
10163 2015-10-31 Eli Zaretskii <eliz@gnu.org>
10165 Avoid errors in redisplay--pre-redisplay-functions
10167 * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Don't
10168 use 'bobp', instead compare window-point with 1. (Bug#21730)
10170 2015-10-30 Paul Eggert <eggert@cs.ucla.edu>
10175 2015-10-30 intprops: add WRAPV and const flavors for GCC 5
10176 2015-10-25 stdalign: port to Sun C 5.9
10177 * doc/misc/texinfo.tex, lib/intprops.h, lib/stdalign.in.h:
10180 2015-10-30 Eli Zaretskii <eliz@gnu.org>
10182 * src/w32proc.c (_NLSCMPERROR): Fix a typo in the name of this macro.
10183 (w32_compare_strings): Adjust for the correction.
10185 2015-10-30 Michael Albinus <michael.albinus@gmx.de>
10187 * test/automated/vc-tests.el (vc-test--state)
10188 (vc-test--working-revision, vc-test--checkout-model):
10189 Add result messages.
10191 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
10193 * test/automated/faces-tests.el: Add another test
10195 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
10197 * lisp/faces.el (faces--attribute-at-point): Fix bug
10198 introduced by previous commit.
10200 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
10202 * test/automated/faces-tests.el: New file.
10204 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
10206 * lisp/faces.el: Refactor common code and fix a bug.
10207 (faces--attribute-at-point): New function. Fix a bug when the
10208 face at point is a list of faces and the desired attribute is not
10210 (foreground-color-at-point, background-color-at-point): Use it.
10212 2015-10-30 Przemysław Wojnowski <esperanto@cumego.com>
10214 * etc/tutorials/TUTORIAL.translators: Fix PL names.
10216 2015-10-30 Juanma Barranquero <lekktu@gmail.com>
10218 * lisp/character-fold.el: Provide `character-fold'.
10220 2015-10-30 Tassilo Horn <tsdh@gnu.org>
10222 * etc/themes/tsdh-dark-theme.el (tsdh-dark): Add more faces
10225 2015-10-30 Michael Albinus <michael.albinus@gmx.de>
10227 Some minor fixes for tramp-gvfs.el
10229 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
10230 An attribute returned by gvfs-info might be empty. In case of
10231 undetermined uid or gid, return "UNKNOWN" or -1, respectively.
10232 (tramp-zeroconf-parse-service-device-names): New defun.
10233 Derived from `tramp-zeroconf-parse-workstation-device-names'.
10234 (top): Add completion functions for "afp" and "smb" methods.
10236 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
10238 * test/automated/character-fold-tests.el: New file
10240 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
10242 * test/automated/sort-tests.el: New file.
10243 Tests in this file are randomly generated and then tested with
10244 regular, reverse, and case-fold sorting.
10246 2015-10-30 Eli Zaretskii <eliz@gnu.org>
10248 Describe known problems with pinning Emacs to taskbar
10250 * etc/PROBLEMS: Describe the problem with pinning Emacs to taskbar
10251 on Windows 10. For the details, see the discussion starting at
10252 http://lists.gnu.org/archive/html/help-emacs-windows/2015-09/msg00000.html.
10254 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
10256 * lisp/isearch.el: Avoid an error that blocks isearch.
10257 (isearch-update): Don't error if `isearch--current-buffer' has
10260 * test/automated/isearch-tests.el (isearch--test-update):
10263 2015-10-30 Phil Sainty <psainty@orcon.net.nz>
10265 Fix documentation of 'beginning/end-of-buffer'
10267 * lisp/simple.el (beginning-of-buffer, end-of-buffer): Clarify
10268 conditions under which the mark will be pushed at the previous
10269 position. (Bug#21748)
10271 2015-10-30 Tassilo Horn <tsdh@gnu.org>
10273 Add RefTeX feature idea: editing RefTeX TOC buffers
10275 More face defs for ivy, swiper, ace-window, eshell
10277 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
10279 * lisp/gnus/auth-source.el: Silence lexical-binding warnings.
10280 (auth-source-netrc-use-gpg-tokens): Simplify (symbol-value 'VAR) to
10282 (auth-source-backend-parse): Use make-instance.
10283 (auth-source-search): Remove unused key args.
10284 Remove unused vars `accessor-key' and `backend'. Avoid `eval'.
10285 (auth-source-search-backends): Use slot names rather than their initarg.
10286 (auth-source-netrc-create):
10287 (auth-source-delete):
10288 (auth-source-secrets-create, auth-source-plstore-search)
10289 (auth-source-macos-keychain-create, auth-source-macos-keychain-search)
10290 (auth-source-plstore-create, auth-source-netrc-search)
10291 (auth-source-netrc-parse): Remove unused key args.
10292 (auth-source-forget+): Simplify the arglist.
10293 (auth-source-macos-keychain-search-items)
10294 (auth-source-token-passphrase-callback-function): Mark unused args.
10295 (auth-source-epa-extract-gpg-token): Remove unused var `plain'.
10296 (pp-escape-newlines): Declare.
10297 (auto-source--symbol-keyword): New function.
10298 (auth-source-plstore-create, auth-source-netrc-create)
10299 (auth-source-netrc-normalize): Use it.
10300 (auth-source-netrc-search): Don't pass :delete to
10301 auth-source-netrc-parse since it doesn't use it.
10302 (auth-source-plstore-create, auth-source-netrc-create): Use plist-get
10303 symbol-value to index in keyword args.
10304 (auth-source-macos-keychain-result-append): Avoid setq.
10305 (auth-source-netrc-create): Remove unused vars `file' and `add'.
10306 (auth-source-user-or-password): Remove unused var `cname'.
10308 2015-10-29 Juri Linkov <juri@linkov.net>
10310 * lisp/dired.el (dired-unmark-all-files-query): Declare.
10311 (dired-unmark-all-files): Let-bind it and use instead of ‘query’.
10314 2015-10-29 Juri Linkov <juri@linkov.net>
10316 * lisp/ielm.el (ielm-indent-line): Use non-nil arg of comint-bol
10317 to go to the beginning of text line instead of command line.
10318 http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02360.html
10320 2015-10-29 Eli Zaretskii <eliz@gnu.org>
10322 Fix encoding of saving *Help* buffers
10324 * lisp/help-fns.el (describe-function-1): If we use curved quotes,
10325 set help buffer's buffer-file-coding-system to UTF-8. (Bug#21780)
10327 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
10329 * lisp/emacs-lisp/cl-generic.el: Add (major-mode MODE) context.
10330 (cl--generic-derived-specializers): New function.
10331 (cl--generic-derived-generalizer): New generalizer.
10332 (cl-generic-generalizers): New specializer (derived-mode MODE).
10333 (cl--generic-split-args): Apply the rewriter, if any.
10334 (cl-generic-define-context-rewriter): New macro.
10335 (major-mode): Use it to define a new context-rewriter, so we can write
10336 `(major-mode MODE)' instead of `(major-mode (derived-mode MODE))'.
10338 * lisp/frame.el (window-system): New context-rewriter so we can write
10339 `(window-system VAL)' instead of (window-system (eql VAL)).
10340 (cl--generic-split-args): Apply the rewriter, if any.
10341 (frame-creation-function): Use the new syntax.
10343 * lisp/term/x-win.el (window-system-initialization)
10344 (handle-args-function, frame-creation-function)
10345 (gui-backend-set-selection, gui-backend-selection-owner-p)
10346 (gui-backend-selection-exists-p, gui-backend-get-selection):
10347 * lisp/term/w32-win.el (window-system-initialization)
10348 (handle-args-function, frame-creation-function)
10349 (gui-backend-set-selection, gui-backend-get-selection)
10350 (gui-backend-selection-owner-p, gui-backend-selection-exists-p):
10351 * lisp/term/pc-win.el (gui-backend-get-selection)
10352 (gui-backend-selection-exists-p, gui-backend-selection-owner-p)
10353 (gui-backend-set-selection, window-system-initialization)
10354 (frame-creation-function, handle-args-function):
10355 * lisp/term/ns-win.el (window-system-initialization)
10356 (handle-args-function, frame-creation-function)
10357 (gui-backend-set-selection, gui-backend-selection-exists-p)
10358 (gui-backend-get-selection):
10359 * lisp/startup.el (handle-args-function):
10360 * lisp/term/xterm.el (gui-backend-get-selection)
10361 (gui-backend-set-selection): Use the new syntax.
10363 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
10365 * test/indent/css-mode.css: Add tests for url(...) syntax.
10367 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
10369 * lisp/emacs-lisp/smie.el: Use `declare' for `pure'.
10370 (smie-precs->prec2, smie-merge-prec2s, smie-bnf->prec2)
10371 (smie-prec2->grammar): Use `declare'.
10373 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
10375 * lisp/emacs-lisp/cl-generic.el: Accommodate future changes.
10376 (cl--generic-generalizer): Add `name' field.
10377 (cl-generic-make-generalizer): Add corresponding `name' argument.
10378 (cl-generic-define-generalizer): New macro.
10379 (cl--generic-head-generalizer, cl--generic-eql-generalizer)
10380 (cl--generic-struct-generalizer, cl--generic-typeof-generalizer)
10381 (cl--generic-t-generalizer): Use it.
10382 (cl-generic-ensure-function): Add `noerror' argument.
10383 (cl-generic-define): Use it so we don't follow aliases.
10384 (cl-generic-define-method): Preserve pre-existing ordering of methods.
10385 (cl--generic-arg-specializer): New function.
10386 (cl--generic-cache-miss): Use it.
10387 (cl-generic-generalizers): Only fset a temporary definition
10389 (cl--generic-struct-tag, cl--generic-struct-specializers):
10390 Allow extra arguments.
10392 * lisp/emacs-lisp/eieio-compat.el
10393 (eieio--generic-static-symbol-generalizer)
10394 (eieio--generic-static-object-generalizer):
10395 Use cl-generic-define-generalizer.
10396 (eieio--generic-static-symbol-specializers): Allow extra arguments.
10398 * lisp/emacs-lisp/eieio-core.el (eieio--generic-generalizer)
10399 (eieio--generic-subclass-generalizer):
10400 Use cl-generic-define-generalizer.
10401 (eieio--generic-subclass-specializers): Allow extra arguments.
10403 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
10405 * lisp/emacs-lisp/bytecomp.el (compile-defun): Add defvars in scope.
10407 2015-10-29 Michael Albinus <michael.albinus@gmx.de>
10409 Add "afp" method to Tramp
10411 * doc/misc/tramp.texi (GVFS based methods): Describe `afp' method.
10413 * lisp/net/tramp-gvfs.el (tramp-gvfs-methods): Add "afp" method.
10414 (tramp-gvfs-handle-expand-file-name)
10415 (tramp-gvfs-handler-mounted-unmounted)
10416 (tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec)
10417 (tramp-gvfs-maybe-open-connection): Support also "afp".
10418 (tramp-gvfs-handle-file-attributes): Handle the case of empty
10419 "owner::user" and "owner::group" entries.
10421 2015-10-29 Andy Moreton <andrewjmoreton@gmail.com>
10423 Handle negative coordinates in ‘x_calc_absolute_position’
10425 * src/w32term.c (x_calc_absolute_position): Find display origin to
10426 allow for negative coordinates.
10428 2015-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10430 (internal--syntax-propertize): Save match-data here (bug#21766)
10432 * lisp/emacs-lisp/syntax.el (internal--syntax-propertize): Save match-data.
10433 * lisp/simple.el (delete-trailing-whitespace): Undo last change.
10435 2015-10-28 Dmitry Gutov <dgutov@yandex.ru>
10437 Don't require default-directory to end with a slash
10439 * doc/lispref/files.texi (Magic File Names): Document the change
10440 in unhandled-file-name-directory.
10442 * lisp/url/url-handlers.el
10443 (url-handler-unhandled-file-name-directory): Update accordingly.
10445 * src/buffer.c (default-directory): Update the docsting.
10447 * src/fileio.c (unhandled-file-name-directory): Default to calling
10448 `file-name-as-directory'
10449 (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02294.html).
10451 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
10453 * lisp/isearch.el: Delete some outdated comments.
10455 2015-10-28 Vibhav Pant <vibhavp@gmail.com>
10457 Fix eshell/clear not working if the output has a small line count
10459 * lisp/eshell/esh-mode.el (eshell/clear): Use (window-size) as the
10460 number of newlines to be inserted. This fixes the issue where
10461 eshell/clear wouldn't work if the prompt was not at the bottom of the
10462 window, and the output wasn't too long.
10464 2015-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10466 * lisp/files.el (write-file): Use vc-refresh-state.
10468 * lisp/autorevert.el (auto-revert-handler): Use vc-refresh-state.
10470 * lisp/vc/pcvs.el (cvs-revert-if-needed): Use vc-refresh-state.
10472 2015-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10474 * lisp/emacs-lisp/macroexp.el: Tweak macroexp-if optimizations.
10475 (macroexp-unprogn): Make sure we never return an empty list.
10476 (macroexp-if): Remove unused (and unsafe) optimization.
10477 Optimize (if A T (if B T E)) into (if (or A B) T E) instead, which does
10478 occur occasionally.
10480 2015-10-28 Juanma Barranquero <lekktu@gmail.com>
10482 Fix bug#21766 and add test
10483 * lisp/simple.el (delete-trailing-whitespace): Save match data when
10484 calling `skip-syntax-backward'.
10485 * test/automated/simple-test.el (simple-delete-trailing-whitespace):
10488 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
10490 * doc/lispref/sequences.texi (Sequence Functions): Fix typo.
10492 2015-10-28 Paul Eggert <eggert@cs.ucla.edu>
10494 * src/dispnew.c (init_display): Simplify overflow checking.
10496 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
10498 * lisp/character-fold.el (character-fold-to-regexp): Fix case
10499 where string ends in space
10501 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
10503 * lisp/emacs-lisp/seq.el (seq-mapn): New function.
10505 * doc/lispref/sequences.texi (Sequence Functions): Document seq-mapn.
10507 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
10509 * lisp/character-fold.el: Make compatible with lax-whitespace.
10510 (character-fold-to-regexp): Rework internals to play nice with
10513 When the user types a space, we want to match the table entry for
10514 ?\s, which is generally a regexp like "[ ...]". However, the
10515 `search-spaces-regexp' variable doesn't "see" spaces inside these
10516 regexp constructs, so we need to use "\\( \\|[ ...]\\)" instead (to
10517 manually expose a space).
10519 Furthermore, the lax search engine acts on a bunch of spaces, not
10520 on individual spaces, so if the string contains sequential spaces
10521 like " ", we need to keep them grouped together like this:
10522 "\\( \\|[ ...][ ...]\\)".
10524 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
10526 * lisp/isearch.el: Refactor momentary messages.
10527 (isearch--momentary-message): New function.
10528 (isearch-toggle-lax-whitespace, isearch-toggle-case-fold)
10529 (isearch-toggle-invisible): Use it.
10531 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
10533 * lisp/isearch.el: Define all toggles with `isearch-define-mode-toggle'.
10534 (isearch-define-mode-toggle): New macro.
10535 (isearch-toggle-invisible): Rename to
10536 `isearch-define-mode-toggle'.
10537 (isearch-toggle-case-fold, isearch-toggle-invisible)
10538 (isearch-toggle-regexp, isearch-toggle-lax-whitespace): Define
10539 with `isearch-define-mode-toggle'.
10541 2015-10-28 Michael Albinus <michael.albinus@gmx.de>
10543 Avoid using `add-to-list' on a let-local var in tramp-smb.el
10545 * lisp/net/tramp-compat.el (tramp-compat-delete-dups): New defun.
10546 * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files): Use it.
10548 2015-10-28 Michael Albinus <michael.albinus@gmx.de>
10550 * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files):
10551 Revert 692bce5b9eccfae19ae2a5a23a9ccd8d6bf86076, `delete-dups'
10552 does not exist in XEmacs 21.4.
10554 2015-10-28 Anders Lindgren <andlind@gmail.com>
10556 Fixed OS X startup crash
10558 Input events started to arrive before ns_term_init() was finished.
10559 Solved by blocking input. This also seems to correct the "You
10560 can't open the application "Emacs" because it may be damaged or
10561 incomplete" error issued when double-clicking on the Emacs
10564 * src/nsterm.m (ns_constrain_all_frames, ns_init_term): Block input.
10565 * src/nsterm.m (ns_send_appdefined, EmacsApp): Trace output.
10567 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
10569 * src/process.c (Fget_buffer_process): Improve docstring.
10570 Document the fact that it doesn't return dead processes.
10572 2015-10-28 Anders Lindgren <andlind@gmail.com>
10574 Fix incorrect NextStep tool-bar-mode -- wrong number of rows in frame.
10576 * src/nsterm.h (struct ns_output): New flag, in_animation.
10577 * src/nsfns.m (Fx_create_frame): Initialize in_animation flag.
10578 * src/nsmenu.m (free_frame_tool_bar, update_frame_tool_bar): Set
10579 in_animation flag around call to "setVisible". Set new tool bar
10580 height before call to setVisible.
10581 * src/nsterm.m (x_set_window_size): Don't call [view setRow:
10582 andColumns:] as this fools the subsequent call to updateFrameSize
10583 from performing the real resize.
10584 (windowDidResize): Don't update anything when in_animation is
10589 * src/nsmenu.m (free_frame_tool_bar, update_frame_tool_bar)
10591 * src/nsterm.m (x_set_window_size, updateFrameSize)
10592 ([EmacsView setRows: andColumns:])
10594 2015-10-28 Nicolas Petton <nicolas@petton.fr>
10596 * lisp/emacs-lisp/thunk.el (thunk-delay): Fix the macro.
10598 2015-10-28 Tassilo Horn <tsdh@gnu.org>
10600 Prettify TeX macros not ending in a word char
10602 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
10603 Prettify macros which don't end in a word character.
10605 2015-10-27 Dmitry Gutov <dgutov@yandex.ru>
10607 Pipe Hg commit descriptions through 'tabindent'
10609 * lisp/vc/vc-hg.el (vc-hg-log-format): Pipe commit description
10610 through 'tabindent'.
10611 (vc-hg-log-view-mode): Set tab-width to 2 locally.
10612 (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02259.html)
10614 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
10616 * lisp/net/tramp-smb.el: Avoid using `add-to-list' on a let-local var.
10617 (tramp-smb-handle-directory-files): Use `delete-dups'.
10619 * lisp/net/tramp.el (auto-save-file-name-transforms): Declare.
10621 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
10623 * lisp/international/ccl.el: Use lexical-binding.
10624 (ccl-compile-if): Remove unused var `false-ic'.
10625 (ccl-compile-write-repeat): Remove unused var `i'.
10626 (ccl-compile-map-single): Remove unused var `id'.
10627 (ccl-dump, ccl-dump-binary): Use explicit let-binding to bind the
10628 dynamic var `ccl-code'.
10630 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
10632 * lisp/json.el (json-new-object): Optimize trivial `list' call.
10634 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
10636 * lisp/help.el: Fix bug with incorrect arglist string.
10637 (help-add-fundoc-usage): Don't mistake a mis-formatted string
10640 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
10642 * lisp/gnus/gnus-topic.el: Silence some warnings.
10643 (gnus-topic-prepare-topic): Remove unused var `topic'.
10644 (gnus-topic-remove-topic): Mark unused arg `hide'.
10645 (gnus-tmp-header): Declare.
10646 (gnus-topic-goto-missing-group): Remove unused var `entry'.
10647 (gnus-topic-unmark-topic): Mark unused arg `dummy'.
10648 (gnus-topic-copy-matching): Mark unused arg `copyp'.
10649 Move initialization of `topic' into its declaration.
10651 2015-10-27 Stephen Leake <stephen_leake@stephe-leake.org>
10655 * lisp/cedet/cedet-global.el (cedet-gnu-global-gtags-call):
10656 Handle warnings from gtags about invalid options.
10657 (cedet-gnu-global-create/update-database): Do incremental update
10660 * lisp/cedet/ede/generic.el (ede-enable-generic-projects):
10661 Get monotone root right.
10663 2015-10-27 Michael Albinus <michael.albinus@gmx.de>
10665 Fall back to polling in autorevert when needed
10667 * lisp/autorevert.el (auto-revert-notify-handler): When a
10668 `stopped' event arrives from file notification, fall back to polling.
10670 * test/automated/file-notify-tests.el
10671 (file-notify-test03-autorevert): Extend test for polling when file
10672 notification ceases to work.
10674 2015-10-27 Dmitry Gutov <dgutov@yandex.ru>
10676 Show full commit messages in 'hg log' when appropriate
10678 * lisp/vc/vc-hg.el (vc-hg-log-format): New variable.
10679 (vc-hg-print-log, vc-hg-expanded-log-entry): Use it.
10680 (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02191.html)
10682 2015-10-27 Nicolas Petton <nicolas@petton.fr>
10684 Use a plain SVG file for the icon
10686 * etc/images/icons/hicolor/scalable/apps/emacs.svg: Use a plain SVG
10687 format instead of the Inkscape SVG format.
10689 2015-10-27 Michael Albinus <michael.albinus@gmx.de>
10691 Fix subtle bug in auto-revert-tests.el
10693 * test/automated/auto-revert-tests.el
10694 (auto-revert-test02-auto-revert-mode-dired): Narrow *Messages*
10695 buffer where it belongs to. (Bug#21668)
10697 2015-10-26 Nicolas Petton <nicolas@petton.fr>
10699 * lisp/emacs-lisp/map.el: Better docstrings.
10701 * lisp/emacs-lisp/seq.el: Better docstrings.
10703 * lisp/emacs-lisp/seq.el: Rename all seq arguments to sequence.
10705 2015-10-26 Phillip Lord <phillip.lord@russet.org.uk>
10707 * lisp/emacs-lisp/ert.el: Print results without newline escaping.
10709 2015-10-26 Stephen Leake <stephen_leake@stephe-leake.org>
10711 Clarify that load-path contents should be directory file names
10713 * doc/lispref/files.texi (Directory Names): Define and use "directory
10714 file name". Recommend `expand-file-name'.
10716 * src/lread.c (load-path): Fix doc string; elements are directory file
10719 2015-10-26 Eli Zaretskii <eliz@gnu.org>
10721 Fix simple-test.el test
10723 * test/automated/simple-test.el (simple-test--dummy-buffer):
10724 Make sure indentation doesn't use TABs, otherwise the 6th test
10727 2015-10-26 Mark Oteiza <mvoteiza@udel.edu>
10729 * lisp/net/eww.el (eww-bookmark-prepare): Use truncate-string-to-width.
10730 `substring' does not account for full width characters.
10732 2015-10-26 Michael Albinus <michael.albinus@gmx.de>
10734 Further work on `stopped' events in filenotify.el
10736 * doc/lispref/os.texi (File Notifications): Rework examples.
10738 * lisp/filenotify.el (file-notify--rm-descriptor): Optional parameter.
10739 (file-notify--rm-descriptor, file-notify-callback): Improve check
10740 for sending `stopped' event.
10741 (file-notify-add-watch): Check for more events for `inotify'.
10743 * test/automated/file-notify-tests.el
10744 (file-notify--test-expected-events): New defvar.
10745 (file-notify--test-with-events): Use it.
10746 (file-notify--test-cleanup): Make it more robust when deleting
10748 (file-notify--test-event-test): Check also for watched directories.
10749 (file-notify--test-event-handler): Suppress temporary .#files.
10750 (file-notify-test02-events, file-notify-test04-file-validity):
10751 Rework `stopped' events.
10752 (file-notify-test05-dir-validity): Wait for events when appropriate.
10754 2015-10-26 Artur Malabarba <bruce.connor.am@gmail.com>
10756 * src/keyboard.c (post-command-hook): Shorten docstring.
10758 2015-10-26 Tassilo Horn <tsdh@gnu.org>
10760 Fix infinite loop in sh-script's SMIE code
10762 * lisp/progmodes/sh-script.el (sh-smie-sh-forward-token): Fix infinite
10765 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
10767 * lisp/isearch.el (search-default-regexp-mode): Revert to nil.
10768 Character-fold search _still_ doesn't play well with
10769 lax-whitespace. So disable it by default (again) for now.
10771 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
10773 * lisp/isearch.el: No visual feedback for default search mode.
10774 During an isearch where character-folding is the default, we don't
10775 want to take up minibuffer space just to tell the user that
10776 "Char-fold " is on. The same goes for other modes, if the user
10777 changes the default. In contrast, if the user toggles OFF the
10778 default mode, they should see "Literal", to distinguish it from
10780 (isearch--describe-regexp-mode): Return "" if describing the
10781 default mode, and return "literal " if describing a plain search
10782 and it is not default.
10784 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
10786 * test/automated/simple-test.el: New file.
10787 Define tests for `newline' and `open-line'.
10789 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
10791 * lisp/simple.el (open-line): Integrate with electric-indent-mode.
10792 Also run `post-self-insert-hook' when called interactively.
10794 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
10796 * lisp/simple.el (open-line): Fix docstring.
10797 Also explain apparently redundant line.
10799 2015-10-25 Thomas Fitzsimmons <fitzsim@fitzsim.org>
10800 Alexandru Harsanyi <AlexHarsanyi@gmail.com>
10802 Sync with soap-client repository, version 3.0.1
10804 * lisp/net/soap-client.el, lisp/net/soap-inspect.el:
10805 Bump version to 3.0.1.
10807 * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Update home page.
10809 2015-10-25 Eli Zaretskii <eliz@gnu.org>
10811 * lisp/progmodes/grep.el (grep): Doc fix. (Bug#21754)
10813 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
10815 * src/keyboard.c (post-command-hook): Extend the docstring.
10816 Mainly, explain how to use it without hanging Emacs, or giving the
10817 impression that it is hanging. Also mention `pre-command-hook'.
10818 (pre-command-hook): Mention `post-command-hook'.
10820 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
10822 * lisp/custom.el (custom-declare-variable): Shorten code again.
10823 Without using pcase this time. We can't use pcase because it is
10824 loaded after custom in loadup.el. Also add a comment explaining
10825 this to future dummies like me.
10827 2015-10-25 Michael Albinus <michael.albinus@gmx.de>
10829 * doc/lispref/os.texi (File Notifications): Document `stopped event'.
10831 2015-10-25 Michael Albinus <michael.albinus@gmx.de>
10833 Introduce `stopped' event in file notification
10835 * lisp/filenotify.el (file-notify--rm-descriptor): New defun.
10836 (file-notify-rm-watch): Use it.
10837 (file-notify-callback): Implement `stopped' event.
10838 (file-notify-add-watch): Mention `stopped' in the docstring.
10839 Check, that upper directory exists.
10841 * test/automated/file-notify-tests.el (file-notify-test01-add-watch):
10842 Add two test cases.
10843 (file-notify-test02-events): Handle also `stopped' event.
10844 (file-notify-test04-file-validity): Add another test case.
10846 2015-10-25 Paul Eggert <eggert@cs.ucla.edu>
10848 Revert commit that broke 'make bootstrap'
10850 * lisp/custom.el (custom-declare-variable): Revert commit
10851 79fac080d277fed07b3c192890ad59d36d9f83b6. custom.el needs to work
10852 even when pcase has not been defined yet, when doing bootstrapping.
10854 2015-10-25 Paul Eggert <eggert@cs.ucla.edu>
10856 Port recent inline functions fix to Standard C
10858 * src/lisp.h (LISP_MACRO_DEFUN, LISP_MACRO_DEFUN_VOID): Remove.
10859 All uses rewritten to define the function directly rather than to
10860 use a macro to define the function. This conforms to Standard C,
10861 which does not allow stray semicolons at the top level. I hope it
10862 also avoids the problems with TAGS. Those macros, though clever,
10863 were pretty confusing anyway, and it wasn’t clear they were worth
10864 the aggravation even without the TAGS problem.
10866 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
10868 * lisp/isearch.el: Make character-fold search the default again.
10870 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
10872 * lisp/character-fold.el: Many improvements.
10873 (character-fold-search-forward, character-fold-search-backward):
10875 (character-fold-to-regexp): Remove lax-whitespace hack.
10876 (character-fold-search): Remove variable. Only isearch and
10877 query-replace use char-folding, and they both have their own
10878 variables to configure that.
10880 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
10882 * lisp/isearch.el: Generalize definition of regexp-function toggles.
10883 (isearch-specify-regexp-function): New macro for specifying
10884 possible values of `isearch-regexp-function'.
10885 (isearch-toggle-character-fold, isearch-toggle-symbol)
10886 (isearch-toggle-word): Define with `isearch-specify-regexp-function'.
10888 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
10890 * lisp/isearch.el (search-default-regexp-mode): New variable.
10891 (isearch-mode): Use it.
10893 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
10895 * lisp/isearch.el (search-exit-option, search-slow-window-lines)
10896 (search-slow-speed, search-upper-case)
10897 (search-nonincremental-instead, search-whitespace-regexp)
10898 (search-invisible, isearch-hide-immediately)
10899 (isearch-resume-in-command-history, search-ring-max)
10900 (regexp-search-ring-max, search-ring-update, search-highlight)
10901 (isearch-fail): Delete :group entries.
10903 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
10905 * lisp/custom.el (custom-declare-variable): Shorten code a bit.
10907 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
10909 addpm.c: Silence some warnings.
10911 * nt/addpm.c (DdeCommand): Cast pData argument of DdeClientTransaction
10913 (add_registry): Pass NULL to optional lpClass argument of
10914 RegCreateKeyEx, not an empty string.
10916 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
10918 addpm.c: Do not add obsolete GTK libraries to the path.
10920 * nt/addpm.c (REG_GTK, REG_RUNEMACS_PATH): Delete.
10921 (add_registry): Remove variables `size' and `gtk_key'.
10922 Do not add the GTK DLL directory to the library search path; it is
10923 confusing behavior (in particular, the same Emacs version with and
10924 without invoking addpm will use a different path), and the GTK image
10925 libraries are obsolete anyway.
10927 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
10929 addpm.c: Replace existing registry entries, but do not create new ones
10931 * nt/addpm.c (add_registry): If the Emacs registry key exists, replace
10932 existing values from previous versions, but do not add new ones; the
10933 key could exist for other reasons unrelated to old Emacsen, like X-style
10934 resources, or to set some environment variables like HOME or LANG, and
10935 in that case we don't want to populate it with obsolete values.
10937 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
10939 * nt/addpm.c (add_registry): Do not compute unused return value.
10941 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
10943 addpm.c: Don't pass REG_OPTION_NON_VOLATILE to RegOpenKeyEx
10945 * nt/addpm.c (add_registry): Pass 0 to ulOptions argument of
10946 RegOpenKeyEx, not REG_OPTION_NON_VOLATILE. This doesn't change
10947 current behavior because REG_OPTION_NON_VOLATILE is defined to
10948 be 0L anyway, but that option is actually documented only for
10951 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
10953 * src/w32notify.c (Fw32notify_add_watch): Fix version check.
10955 2015-10-24 Eli Zaretskii <eliz@gnu.org>
10957 Update frame title when redisplay scrolls selected window
10959 * src/xdisp.c (redisplay_window): Reconsider the frame's title
10960 when the mode-line of the frame's selected window needs to be
10963 2015-10-24 Eli Zaretskii <eliz@gnu.org>
10965 Update frame title when scrolling the selected window
10967 * src/window.c (wset_update_mode_line): New function, sets either
10968 the window's update_mode_line flag or the global update_mode_lines
10970 (Fset_window_start, set_window_buffer, window_scroll_pixel_based)
10971 (window_scroll_line_based): Call it instead of only setting the
10972 window's update_mode_line flag.
10974 2015-10-24 Eli Zaretskii <eliz@gnu.org>
10976 An even better fix for bug#21739
10978 * src/window.c (set_window_buffer): If the window is the frame's
10979 selected window, set update_mode_lines, not the window's
10980 update_mode_line flag.
10981 * src/buffer.c (Fkill_buffer): Undo last change.
10982 (set_update_modelines_for_buf): Function deleted.
10984 2015-10-24 Thomas Fitzsimmons <fitzsim@fitzsim.org>
10985 Alexandru Harsanyi <AlexHarsanyi@gmail.com>
10987 Sync with soap-client repository, version 3.0.0
10989 * lisp/net/soap-client.el, lisp/net/soap-inspect.el:
10990 Bump version to 3.0.0.
10992 * lisp/net/soap-inspect.el: Merge in changes from Emacs master branch.
10994 * lisp/net/soap-client.el: Merge in changes from Emacs master branch.
10996 * lisp/net/soap-inspect.el: Shorten first line description.
10998 * lisp/net/soap-client.el: Make a small whitespace fix.
11000 * lisp/net/soap-inspect.el: Update copyright years.
11002 * lisp/net/soap-client.el (soap-encoded-namespaces): Move above
11003 first use in soap-encode-xs-element.
11005 * lisp/net/soap-client.el (soap-type-is-array?): new defun
11006 (soap-encode-xs-element): handle array elements in this function
11007 (soap-encode-xs-complex-type): flag error if asked to encode an
11008 array type, this is handled in `soap-encode-xs-element'
11010 * lisp/net/soap-inspect.el (soap-inspect-xs-attribute-group):
11011 Do not print type for attribute group.
11013 * lisp/net/soap-inspect.el (soap-sample-value-for-xs-attribute-group)
11015 (soap-inspect-xs-attribute-group): Likewise.
11017 * lisp/net/soap-inspect.el
11018 (soap-resolve-references-for-xs-attribute-group): Resolve
11019 references of attributes in an attribute group.
11021 * lisp/net/soap-client.el (soap-decode-xs-attributes): Process attribute
11022 type directly, not through soap-wsdl-get.
11024 * lisp/net/soap-client.el (soap-xs-parse-attribute): Leave reference
11025 nil if reference attribute is nil.
11027 * lisp/net/soap-client.el (soap-resolve-references-for-xs-attribute):
11028 Convert XML schema attributes to xsd:string.
11030 * lisp/net/soap-inspect.el (soap-sample-value-for-xs-attribute):
11032 (soap-sample-value-for-xs-simple-type): Prepend attributes to result.
11033 (soap-sample-value-for-xs-complex-type): Likewise.
11034 (soap-inspect-xs-attribute): New function.
11035 (soap-inspect-xs-simple-type): Print attributes.
11036 (soap-inspect-xs-complex-type): Likewise.
11038 * lisp/net/soap-inspect.el (soap-resolve-references-for-xs-simple-type):
11039 Resolve references for attributes.
11040 (soap-resolve-references-for-xs-complex-type): Likewise.
11042 * lisp/net/soap-client.el (soap-xml-node-find-matching-child):
11043 Rename from soap-xml-node-first-child.
11044 (soap-xs-parse-attribute): Call soap-xml-node-find-matching-child.
11045 (soap-xs-parse-simple-type): Likewise.
11047 * lisp/net/soap-client.el (soap-invoke-async): Add error checking.
11049 * lisp/net/soap-client.el (soap-invoke-internal): New function.
11050 (soap-invoke-async): Call soap-invoke-internal.
11051 (soap-invoke): Likewise.
11053 * lisp/net/soap-client.el (soap-invoke-async): Ensure buffer passed to
11054 url-retrieve callback is killed.
11056 * lisp/net/soap-client.el (soap-parse-wsdl-phase-validate-node):
11058 (soap-parse-wsdl-phase-fetch-imports): Likewise.
11059 (soap-parse-wsdl-phase-parse-schema): Likewise.
11060 (soap-parse-wsdl-phase-fetch-schema): Likewise.
11061 (soap-parse-wsdl-phase-finish-parsing): Likewise.
11062 (soap-parse-wsdl): Update calls.
11064 * lisp/net/soap-client.el (soap-invoke-async): Fix callback invocation.
11066 * lisp/net/soap-client.el (soap-invoke-async): New function.
11067 (soap-invoke): Reimplement using soap-invoke-async.
11069 * lisp/net/soap-client.el (soap-parse-server-response):
11071 (soap-invoke): Inline call to soap-parse-server-response.
11073 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
11074 Prevent incorrect warning.
11076 * lisp/net/soap-client.el (soap-parse-server-response):
11077 Rename soap-process-url-response. Destroy the mime part.
11078 (soap-invoke): Call soap-parse-server-response.
11080 * lisp/net/soap-client.el: Update copyright date.
11082 * lisp/net/soap-client.el: Fix checkdoc issues.
11084 * lisp/net/soap-client.el: Fix indentation and long lines.
11086 * lisp/net/soap-client.el (soap-time-format): Remove variable.
11087 (soap-encode-xs-basic-type): Simplify date-time format detection.
11088 (soap-decode-xs-basic-type): Remove soap-time-format support.
11090 * lisp/net/soap-client.el (soap-process-url-response): New function.
11091 (soap-fetch-xml-from-url): Call soap-process-url-response.
11092 (soap-parse-wsdl-phase-1): New function.
11093 (soap-parse-wsdl-phase-2): Likewise.
11094 (soap-parse-wsdl-phase-3): Likewise.
11095 (soap-parse-wsdl-phase-4): Likewise.
11096 (soap-parse-wsdl-phase-5): Likewise.
11097 (soap-parse-wsdl): Call phase functions.
11099 * lisp/net/soap-client.el (soap-decode-xs-basic-type):
11100 Remove one-argument and call.
11102 * lisp/net/soap-client.el (soap-decode-date-time): Improve docstring.
11104 * lisp/net/soap-client.el (soap-xmlschema-imports): Remove variable.
11105 (soap-parse-schema): Add wsdl argument. Look up XML schema
11107 (soap-load-wsdl): Do not set soap-xmlschema-imports.
11108 (soap-parse-wsdl): Get XML schema imports from wsdl.
11110 * lisp/net/soap-client.el (soap-current-file): Remove variable.
11111 (soap-wsdl): Add current-file slot.
11112 (soap-fetch-xml-from-url): Add wsdl argument. Look up current
11114 (soap-fetch-xml-from-file): Likewise.
11115 (soap-fetch-xml): Likewise.
11116 (soap-load-wsdl): Always create wsdl object first.
11117 (soap-parse-wsdl): Pass wsdl to soap-fetch-xml.
11119 * lisp/net/soap-client.el (soap-xs-element): Add is-group slot.
11120 (soap-xs-parse-element): Set is-group slot.
11121 (soap-resolve-references-for-xs-element): Skip is-group elements.
11122 (soap-xs-complex-type): Add is-group slot.
11123 (soap-xs-parse-complex-type): Set is-group slot.
11124 (soap-xs-parse-sequence): Parse xsd:group elements.
11125 (soap-resolve-references-for-xs-complex-type): Inline elements
11126 from referenced xsd:group nodes.
11127 (soap-parse-schema): Parse xsd:group nodes.
11129 * lisp/net/soap-client.el (soap-invoke):
11130 Don't set url-http-version to 1.0.
11132 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
11133 Allow choice nodes to accept multiple values.
11135 * lisp/net/soap-client.el (soap-encode-body): Check parameters argument
11136 for extra header values.
11138 * lisp/net/soap-client.el (soap-well-known-xmlns):
11139 Add wsa and wsaw tags.
11140 (soap-operation): Add input-action and output-action slots.
11141 (soap-parse-operation): Parse wsaw:Action nodes.
11142 (soap-encode-body): Encode service-url for WS-Addressing.
11143 (soap-create-envelope): Likewise.
11144 (soap-invoke): Update soap-create-envelope call to provide
11145 service-url argument.
11147 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
11148 Support xsi:type override attribute.
11149 (soap-decode-array): Likewise.
11151 * lisp/net/soap-client.el (soap-parse-schema):
11152 Handle location attribute.
11154 * lisp/net/soap-client.el (soap-decode-type): Check that multiRef
11155 matched validation regexp.
11157 * lisp/net/soap-client.el (soap-encode-xs-simple-type):
11158 Encode xsd:list nodes.
11159 (soap-decode-xs-simple-type): Decode xsd:list nodes.
11161 * lisp/net/soap-client.el (soap-get-candidate-elements):
11162 Fix reference handling.
11164 * lisp/net/soap-client.el (soap-xs-simple-type): Add is-list slot.
11165 (soap-xs-parse-simple-type): Call soap-xs-add-list for xsd:list nodes.
11166 (soap-xs-add-list): New function.
11168 * lisp/net/soap-client.el (soap-encode-xs-element): When a boolean is
11169 expected, interpret nil as "false".
11171 * lisp/net/soap-client.el (soap-make-xs-basic-types): Add gYearMonth,
11172 gYear, gMonthDay, gDay and gMonth.
11174 * lisp/net/soap-client.el (soap-time-format): New variable.
11175 (soap-encode-xs-basic-type): Handle dateTime, time, date,
11176 gYearMonth, gYear, gMonthDay, gDay and gMonth.
11177 (soap-decode-date-time): New function.
11178 (soap-decode-xs-basic-type): Use soap-decode-date-time.
11180 * lisp/net/soap-client.el (soap-encode-xs-basic-type): Validate value
11182 (soap-decode-xs-basic-type): Validate value before decoding.
11184 * lisp/net/soap-client.el (soap-validate-xs-basic-type): New function.
11185 (soap-validate-xs-simple-type): Call soap-validate-xs-basic-type.
11187 * lisp/net/soap-client.el (soap-xs-add-union): Append result to base
11188 instead of overwriting it.
11189 (soap-validate-xs-simple-type): Add union support.
11191 * lisp/net/soap-client.el (soap-xs-add-restriction): Translate pattern
11192 to Emacs regexp using xsdre-translate.
11193 (soap-validate-xs-simple-type): Validate value against pattern.
11195 * lisp/net/soap-client.el (soap-xs-add-union): Preserve WSDL order of
11196 inline simpleType nodes.
11197 (soap-decode-type): Handle union types.
11199 * lisp/net/soap-client.el (soap-decode-xs-attributes): Decode basic-type
11202 * lisp/net/soap-client.el (soap-get-xs-attributes-from-groups): Rename
11203 from soap-xs-attribute-group-consolidate, all callers updated
11204 (soap-get-xs-attributes): Rename from
11205 soap-xs-attributes-consolidate, all callers updated
11207 * lisp/net/soap-client.el (soap-xs-type): Add attribute-group slot.
11208 (soap-xs-attribute-group): New type.
11209 (soap-xs-parse-attribute-group): New function.
11210 (soap-resolve-references-for-xs-attribute-group): Likewise.
11211 (soap-xs-add-extension): Handle attribute groups.
11212 (soap-resolve-references-for-xs-simple-type): Likewise.
11213 (soap-xs-parse-complex-type): Likewise.
11214 (soap-xs-parse-extension-or-restriction): Likewise.
11215 (soap-resolve-references-for-xs-complex-type): Likewise.
11216 (soap-xs-attribute-group-consolidate): New function.
11217 (soap-xs-attributes-consolidate): Handle attribute groups.
11218 (soap-parse-schema): Likewise.
11220 * lisp/net/soap-client.el (soap-encode-xs-basic-type):
11221 Fix boolean encoding.
11223 * lisp/net/soap-client.el (soap-encode-xs-complex-type): Print ref
11224 element names in warnings.
11226 * lisp/net/soap-client.el (soap-decode-xs-complex-type): Fix splicing.
11228 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
11229 Eliminate invalid warnings for choice types.
11231 * lisp/net/soap-client.el (soap-encode-xs-complex-type-attributes):
11232 Also encode base type attributes.
11234 * lisp/net/soap-client.el (soap-encode-xs-complex-type): Fix compilation
11235 warning. Print e-name in warnings, or element if e-name is nil.
11237 * lisp/net/soap-client.el (soap-xs-element): Add alternatives slot.
11238 (soap-xs-parse-element): Set substitution-group.
11239 (soap-resolve-references-for-xs-element): Populate alternatives slot.
11240 (soap-get-candidate-elements): New function.
11241 (soap-encode-xs-complex-type): Iterate through all candidate elements.
11242 Handle types with nil type indicator. Fix warning logic.
11244 * lisp/net/soap-client.el (soap-current-wsdl): Move declaration
11245 earlier in the file to prevent compiler warning.
11247 * lisp/net/soap-client.el (soap-node-optional): New function.
11248 (soap-node-multiple): Likewise.
11249 (soap-xs-parse-element): Call soap-node-optional and
11250 soap-node-multiple.
11251 (soap-xs-complex-type): Add optional? and multiple? slots.
11252 (soap-xml-get-children-fq): New function.
11253 (soap-xs-element-get-fq-name): Likewise.
11254 (soap-xs-complex-type-optional-p): Likewise.
11255 (soap-xs-complex-type-multiple-p): Likewise.
11256 (soap-xs-attributes-consolidate): Likewise.
11257 (soap-decode-xs-attributes): Likewise.
11258 (soap-decode-xs-complex-type): Decode types with nil type indicator.
11259 Support children that use local namespaces. Decode attributes.
11260 Add type considerations to optional? and multiple? warnings.
11262 * lisp/net/soap-client.el (soap-xs-parse-extension-or-restriction):
11263 Store parsed attributes.
11264 (soap-encode-xs-complex-type-attributes): Encode custom attributes.
11266 * lisp/net/soap-client.el (soap-encode-xs-complex-type-attributes):
11267 Don't add the xsi:type attribute (Exchange refuses requests which have
11270 * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Convert to lexical binding,
11271 correct compiler warnings about unused function arguments and
11274 * lisp/net/soap-client.el (soap-decode-xs-complex-type): Handle nil
11276 (soap-parse-envelope): Handle response headers.
11277 (soap-parse-response): Likewise. Only return non-nil decoded values.
11279 * lisp/net/soap-client.el (soap-validate-xs-simple-type):
11280 Return validated value.
11282 * lisp/net/soap-client.el (soap-xs-parse-element)
11283 (soap-xs-parse-simple-type)
11284 (soap-xs-parse-complex-type)
11285 (soap-parse-message)
11286 (soap-parse-operation): Add the current namespace to the element
11288 (soap-resolve-references-for-xs-element)
11289 (soap-resolve-references-for-xs-simple-type)
11290 (soap-resolve-references-for-xs-complex-type)
11291 (soap-resolve-references-for-operation): Resolve the namespace to
11293 (soap-make-wsdl): specify a namespace tag when creating the xsd
11294 and soapenc namespaces
11295 (soap-wsdl-resolve-references): don't update namespace tags in
11297 (soap-parse-port-type): bind the urn: to soap-target-xmlns
11298 (soap-encode-body): don't add nil namespace tags to
11299 soap-encoded-namespaces
11301 * lisp/net/soap-inspect.el: Use `soap-make-wsdl` to construct the object
11302 for registering the soap-inspect method. Make debbugs tests pass.
11303 * lisp/net/soap-client.el (soap-decode-any-type): Use soap-l2fq on the
11304 type name, also skip string only nodes when decoding a structure.
11305 (soap-xs-parse-complex-type): (BUG) Dispatch parsing for choice
11307 (soap-encode-body): Grab the header value from the param table.
11309 * lisp/net/soap-client.el (soap-should-encode-value-for-xs-element):
11311 (soap-encode-xs-element): Don't encode nil value unless needed.
11313 * lisp/net/soap-client.el (soap-bound-operation): New slot `soap-body`.
11314 (soap-parse-binding): Parse the message parts required in the body.
11315 (soap-encode-body): Encode only the parts that are declared to be
11318 * lisp/net/soap-client.el (soap-encode-xs-element): use the fq name
11319 when writing out the tag.
11320 (soap-encode-body): Remove hack that inserts the xmlns in the
11321 element attributes list.
11323 * lisp/net/soap-client.el (soap-xs-attribute): Add "default" slot.
11324 (soap-xs-parse-attribute): Default slot is set from the XML
11326 (soap-encode-xs-complex-type-attributes): Encode any attributes
11327 that have a default value. Also, don't put the xsi:nil attribute
11328 when the complex type has no content anyway.
11330 * lisp/net/soap-client.el (soap-well-known-xmlns):
11331 Add the xml namespace.
11332 (soap-local-xmlns): Start with the xml namespace.
11333 (soap-xml-node-first-child): Skip xsd:annotation nodes too.
11334 (soap-make-xs-basic-types): More xsd types added.
11335 (soap-encode-xs-basic-type, soap-decode-xs-basic-type):
11336 Handle "language", "time", "date", "nonNegativeInteger".
11337 (soap-resolve-references-for-xs-element): Don't signal an error if
11338 the element does not have a type.
11339 (soap-xs-parse-simple-type): Subtypes are handled with ecase,
11340 added stum for xsd:list.
11341 (soap-xs-add-union): Call soap-l2fq on all union members.
11342 (soap-xs-add-extension): Call soap-l2fq on the base member.
11343 (soap-resolve-references-for-xs-simple-type): Don't signal an
11344 error if the simple type has no base.
11345 (soap-resolve-references-for-xs-simple-type): Bugfix, call
11346 soap-wsdl-get on each type of the base.
11348 * lisp/net/soap-client.el (soap-resolve-references-for-xs-attribute):
11349 Referenced type can be eiher a simple type or a basic type.
11350 (soap-xs-add-restriction)
11351 (soap-xs-parse-extension-or-restriction): Use `soap-l2fq' on base.
11352 (soap-make-xs-basic-types)
11353 (soap-encode-xs-basic-type, soap-decode-xs-basic-type):
11354 Add support for more XMLSchema basic types.
11355 (soap-current-file, soap-xmlschema-imports): New defvars.
11356 (soap-parse-schema): Add locations from xsd:import tags to
11357 `soap-xmlschema-imports'.
11358 (soap-wsdl): Make destructor private.
11359 (soap-make-wsdl): New defun, SOAP-WSDL object constructor.
11360 (soap-wsdl-add-alias): Check if we try to replace aliases.
11361 (soap-fetch-xml-from-url, soap-fetch-xml-from-file)
11362 (soap-fetch-xml): New defuns.
11363 (soap-load-wsdl): Update to load the WSDL from either a file or
11365 (soap-load-wsdl-from-url): Now an alias to `soap-load-wsdl'.
11366 (soap-parse-wsdl): Process wsdl:import tags and imports from
11367 `soap-xmlschema-imports'.
11368 * lisp/net/soap-client.el (soap-l2wk): Bugfix: call symbolp instead of
11370 (soap-l2fq): Make the name part always a string.
11371 (soap-name-p): New defun, used for name tests.
11373 * lisp/net/soap-inspect.el (soap-sample-value-for-xs-complex-type):
11374 Supply sample values for choice types with a special tag.
11375 * lisp/net/soap-client.el (soap-encode-xs-complex-type):
11376 Handle anonymous elements correctly.
11377 (soap-encode-value): Accept nodes that have no namespace tag.
11379 * lisp/net/soap-client.el (soap-invoke): Encode the string for
11380 `url-request-data' as UTF-8. Fixes issue 16.
11382 2015-10-24 Nicolas Petton <nicolas@petton.fr>
11384 Update the new icon
11386 Move the E slightly to the right in the circle.
11388 * etc/images/icons/hicolor/128x128/apps/emacs.png:
11389 * etc/images/icons/hicolor/16x16/apps/emacs.png:
11390 * etc/images/icons/hicolor/24x24/apps/emacs.png:
11391 * etc/images/icons/hicolor/32x32/apps/emacs.png:
11392 * etc/images/icons/hicolor/48x48/apps/emacs.png:
11393 * etc/images/icons/hicolor/scalable/apps/emacs.svg:
11394 * nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns:
11395 * nt/icons/emacs.ico: New icom update.
11397 2015-10-24 Eli Zaretskii <eliz@gnu.org>
11399 Avoid missing inline functions from lisp.h in TAGS
11401 * src/lisp.h (LISP_MACRO_DEFUN): Mention in the commentary the
11402 need to end each invocation with a semi-colon.
11403 Add a semi-colon at the end of each invocation of LISP_MACRO_DEFUN
11404 and LISP_MACRO_DEFUN_VOID. This is to avoid missing in TAGS
11405 inline functions defined immediately after each invocation, and
11406 also avoid tagging every invocation of these macros.
11408 2015-10-24 Eli Zaretskii <eliz@gnu.org>
11410 A better fix for bug#21739
11412 * src/buffer.c (set_update_modelines_for_buf): New function.
11413 (Fkill_buffer): Use it to set the global variable
11414 update_mode_lines if the killed buffer was displayed in some
11415 window. Don't set windows_or_buffers_changed. This is a better
11416 fix for bug#21739 than the previous fix, since it will cause only
11417 redisplay of mode lines, not of entire windows, but will still
11418 catch attention of x_consider_frame_title in xdisp.c, which
11419 redraws the frame title.
11421 2015-10-24 Tassilo Horn <tsdh@gnu.org>
11423 * lisp/dired-aux.el (dired-compress-files-alist): Add support for
11424 tar.bz2 and tar.xz archives.
11426 2015-10-23 Eli Zaretskii <eliz@gnu.org>
11428 Fix infloop in redisplay introduced by a recent change
11430 * src/xdisp.c (redisplay_internal): Avoid inflooping when
11431 redisplaying the selected window sets the selected frame's
11432 redisplay flag. (Bug#21745)
11434 2015-10-23 Nicolas Petton <nicolas@petton.fr>
11436 * lisp/emacs-lisp/thunk.el: Better documentation.
11438 2015-10-23 Nicolas Petton <nicolas@petton.fr>
11440 Replace the old icon for Windows and Mac OSX
11442 * nt/icons/emacs.ico:
11443 * nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns:
11446 2015-10-23 Stephen Leake <stephen_leake@stephe-leake.org>
11448 * lisp/emacs-lisp/package.el (package-autoload-ensure-default-file):
11449 `load-path' should contain only directory names.
11451 2015-10-23 Nicolas Petton <nicolas@petton.fr>
11453 New library thunk.el
11455 thunk.el is extracted from stream.el in ELPA, with additional tests.
11457 * lisp/emacs-lisp/thunk.el: New file.
11458 * test/automated/thunk-tests.el: New file.
11459 * etc/NEWS: Add information about thunk.el
11461 2015-10-23 Michael Albinus <michael.albinus@gmx.de>
11465 * lisp/filenotify.el (file-notify-rm-watch): Improve check for
11466 calling low-level functions.
11468 * test/automated/file-notify-tests.el (file-notify--test-timeout):
11469 Decrase to 6 seconds for remote directories.
11470 (file-notify-test02-events): Expect different number of
11471 `attribute-changed' events for the local and remote cases. Apply
11472 short delays between the operations, in order to receive all
11473 events in the remote case. Combine `attribute-change' tests.
11476 2015-10-23 Eli Zaretskii <eliz@gnu.org>
11478 Decode the HTML source when displaying it in EWW
11480 * lisp/net/eww.el (eww-view-source): Decode the HTML source
11481 according to its headers.
11483 2015-10-23 Nicolas Petton <nicolas@petton.fr>
11487 * etc/images/icons/hicolor/128x128/apps/emacs23.png:
11488 * etc/images/icons/hicolor/16x16/apps/emacs23.png:
11489 * etc/images/icons/hicolor/24x24/apps/emacs23.png:
11490 * etc/images/icons/hicolor/32x32/apps/emacs23.png:
11491 * etc/images/icons/hicolor/48x48/apps/emacs23.png:
11492 * etc/images/icons/hicolor/scalable/apps/emacs23.svg:
11493 * etc/images/icons/hicolor/scalable/mimetypes/emacs-document23.svg:
11494 Move the old logo files to emacs23.*.
11495 * etc/images/icons/hicolor/128x128/apps/emacs.png:
11496 * etc/images/icons/hicolor/16x16/apps/emacs.png:
11497 * etc/images/icons/hicolor/24x24/apps/emacs.png:
11498 * etc/images/icons/hicolor/32x32/apps/emacs.png:
11499 * etc/images/icons/hicolor/48x48/apps/emacs.png:
11500 * etc/images/icons/hicolor/scalable/apps/emacs.svg:
11501 * etc/images/icons/hicolor/scalable/mimetypes/emacs-document.svg:
11503 * etc/images/icons/README: Update the copyright information.
11505 2015-10-23 Eli Zaretskii <eliz@gnu.org>
11507 Fix redisplay of frame title when current buffer is killed
11509 * src/buffer.c (Fkill_buffer): Set windows_or_buffers_changed to a
11510 non-zero value, to redisplay more than just the affected windows.
11513 2015-10-23 Anders Lindgren <andlind@gmail.com>
11515 NextStep maximization and NSTRACE rewrite
11517 Full-height, full-width, and maximized windows now cover the
11518 entire screen (except the menu bar), including the part where the
11519 system dock is placed. The system zoom animation is no longer
11522 Made NonMaximized->FullWidth->FullHeight->NonMaximized restore the
11525 * src/nsterm.m (ns_menu_bar_height): New function, return height of
11526 the menu bar, or 0 when it's hidden.
11527 (constrain_frame_rect): New function for constraining a frame.
11528 (ns_constrain_all_frames): Set frame size explicitly rather than
11529 relying on the system doing it for us by writing back the current
11531 (windowWillUseStandardFrame): Register non-maximized width or
11532 height as new user size. When entering full width or height,
11533 the other size component is taken from the user size.
11534 (fullscreenState): New method for accessing the fullscreen state.
11535 (constrainFrameRect): Restrict frame to be placed under the menu bar,
11536 if present. The old version, sometimes, restricted the height of a
11537 frame to the screen, this version never does this.
11538 (zoom): Perform zoom by setting the frame to the full size of the
11539 screen (minus the menu bar). The default system function, with the
11540 zoom animation, is no longer used, as the final frame size doesn't
11541 cover the entire screen.
11543 Rework how to constrain resizing to the character grid. The old
11544 system used "resizeIncrements" in NSWindows. However, once a frame
11545 was resized so that it was not aligned to the text grid, it
11546 remained unaligned even after a resize. In addition, it conflicted
11547 when resizing a fullheight window.
11549 * src/nsterm.m (windowWillResize): Restrict frame size to text grid,
11550 unless when pixelwise frame resizing is enabled.
11551 (updateFrameSize, initFrameFromEmacs)
11552 (toggleFullScreen, handleFS): Don't set resizeIncrements.
11554 Redesign the NS trace system. The call structure is represented
11555 using indentations and vertical lines. The NSTRACE macro accepts
11556 printf-style arguments. New macros for printing various
11559 * src/nsterm.h (NSTRACE_ENABLED): Macro to enable trace system.
11560 (NSTRACE, NSTRACE_WHEN, NSTRACE_UNLESS): Macros to start a new
11561 block (typically a function), accept printf-style arguments.
11562 (NSTRACE_MSG): Macro for extra information, accepts
11563 printf-style arguments.
11564 (NSTRACE_what): Macros for printing various types.
11565 (NSTRACE_FMT_what): Macro with printf format string snippets.
11566 (NSTRACE_ARG_what): Macros for passing printf-style arguments,
11567 corresponds to NSTRACE_FMT_what.
11568 (NSTRACE_RETURN): Macro to print return value, accept
11569 printf-style arguments.
11570 (NSTRACE_RETURN_what): Macros to print return value for
11573 * src/nsterm.m: Remove old NSTRACE macro
11574 * src/nsterm.m (nstrace_num): Trace counter.
11575 (nstrace_depth): Current call depth.
11576 (nstrace_leave): NSTRACE support function, called when the
11577 local variable "nstrace_enabled" goes out of scope using the
11578 "cleanup" extension.
11579 (ns_print_fullscreen_type_name): NSTRACE_FSTYPE support function.
11580 (constrain_frame_rect, ns_constrain_all_frames)
11581 (ns_update_auto_hide_menu_bar, ns_update_begin)
11582 (ns_update_window_begin, update_window_end, ns_update_end)
11583 (ns_focus, ns_unfocus, ns_ring_bell, ns_frame_raise_lower)
11584 (ns_frame_rehighlight, x_make_frame_visible)
11585 (x_make_frame_invisible, x_iconify_frame, x_free_frame_resources)
11586 (x_destroy_window, x_set_offset, x_set_window_size)
11587 (ns_fullscreen_hook, ns_lisp_to_color, ns_color_to_lisp)
11588 (ns_defined_color, frame_set_mouse_pixel_position)
11589 (note_mouse_movement, ns_mouse_position, ns_frame_up_to_date)
11590 (ns_define_frame_cursor, x_get_keysym_name, ns_redraw_scroll_bars)
11591 (ns_clear_frame, ns_clear_frame_area, ns_scroll_run)
11592 (ns_after_update_window_line, ns_shift_glyphs_for_insert)
11593 (dumpcursor, ns_draw_vertical_window_border)
11594 (ns_draw_window_divider, ns_draw_relief)
11595 (ns_dumpglyphs_box_or_relief, ns_maybe_dumpglyphs_background)
11596 (ns_dumpglyphs_image, ns_draw_glyph_string, ns_send_appdefined)
11597 (ns_read_socket, ns_select, ns_set_vertical_scroll_bar)
11598 (ns_set_horizontal_scroll_bar, ns_condemn_scroll_bars)
11599 (ns_redeem_scroll_bar, ns_judge_scroll_bars, ns_delete_terminal)
11600 (ns_create_terminal, ns_term_init, sendEvent)
11601 (applicationDidFinishLaunching, applicationDidBecomeActive)
11602 (timeout_handler, fd_handler, EmacsView_dealloc, changeFont)
11603 (acceptsFirstResponder, resetCursorRects, keyDown, mouseDown)
11604 (deltaIsZero, rightMouseDown, otherMouseDown, mouseUp)
11605 (rightMouseUp, otherMouseUp, scrollWheel, mouseMoved)
11606 (mouse_autoselect_window, in_window, mouseDragged)
11607 (rightMouseDragged, otherMouseDragged, windowShouldClose)
11608 (updateFrameSize, windowWillResize, windowDidResize)
11609 (windowDidBecomeKey, windowDidResignKey, windowWillMiniaturize)
11610 (initFrameFromEmacs, windowDidMove, windowDidDeminiaturize)
11611 (windowDidExpose, windowDidMiniaturize, windowWillEnterFullScreen)
11612 (windowDidEnterFullScreen, windowWillExitFullScreen)
11613 (windowDidExitFullScreen, toggleFullScreen, handleFS, setFSValue)
11614 (mouseEntered, mouseExited, menuDown, toolbarClicked, drawRect)
11615 (draggingEntered, performDragOperation, validRequestorForSendType)
11616 (setMiniwindowImage, constrainFrameRect, performZoom, zoom)
11617 (EmacsScroller_initFrame, EmacsScroller_setFrame)
11618 (EmacsScroller_dealloc, condemn, reprieve, judge)
11619 (resetCursorRects, setPosition, EmacsScroller_mouseDown)
11620 (EmacsScroller_mouseDragged, syms_of_nsterm): Use new trace system.
11622 * src/nsfns.m: Remove old NSTRACE macro
11623 * src/nsfns.m (x_set_icon_name, ns_set_name, x_explicitly_set_name)
11624 (x_implicitly_set_name, x_set_title, ns_set_name_as_filename)
11625 (ns_implicitly_set_icon_type, x_set_icon_type): Use new trace system.
11627 * src/nsimage.m: Remove old NSTRACE macro
11628 * src/nsimage.m (ns_image_from_XBM, ns_image_for_XPM)
11629 (ns_image_from_bitmap_file, ns_load_image): Use new trace system.
11631 * src/nsmenu.m: Remove old NSTRACE macro
11632 * src/nsmenu.m (ns_update_menubar, ns_menu_show, ns_popup_dialog):
11633 Use new trace system.
11635 2015-10-22 Katsumi Yamaoka <yamaoka@jpl.org>
11637 No need to use eval-and-compile
11639 * lisp/gnus/auth-source.el: Do require epg (when compiling) before
11640 autoload epg functions.
11642 2015-10-22 Katsumi Yamaoka <yamaoka@jpl.org>
11644 Fix auth-source-epa-make-gpg-token compilation (bug#21724)
11646 * lisp/gnus/auth-source.el: Add eval-and-compile to autoloads for
11647 epg-context-set-passphrase-callback, epg-decrypt-string, and
11648 epg-encrypt-string; require epg when compiling for the setf-method
11649 for epg-context-armor. (bug#21724)
11651 2015-10-22 Eli Zaretskii <eliz@gnu.org>
11653 Include file cleanup for w32 files in src directory
11655 * src/w32xfns.c: Don't include keyboard.h, window.h, charset.h,
11656 fontset.h, blockinput.h.
11657 * src/w32uniscribe.c: Don't include dispextern.h, character.h,
11658 charset.h, fontset.h.
11659 * src/w32term.c: Don't include systty.h, systime.h, charset.h,
11660 character.h, ccl.h, dispextern.h, disptab.h, intervals.h,
11661 process.h, atimer.h, keymap.h, w32heap.h. Include bitmap/gray.xbm
11662 in an ifdef-ed away block.
11663 Include fcntl.h for CYGWIN.
11664 (set_frame_param): Remove unused function.
11665 * src/w32select.c: Don't include charset.h and composite.h.
11666 (setup_config, Fw32_get_clipboard_data): Avoid compiler warnings
11667 due to pointer signedness mismatches.
11668 * src/w32reg.c (w32_get_string_resource): Avoid compiler warnings
11669 due to pointer signedness mismatches.
11670 * src/w32proc.c: Include unistd.h. Don't include systime.h,
11671 process.h, dispextern.h.
11672 (sys_spawnve, Fw32_short_file_name, Fw32_long_file_name)
11673 (Fw32_application_type): Avoid compiler warnings due to pointer
11674 signedness mismatches.
11675 * src/w32menu.c: Don't include keymap.h, termhooks.h, window.h,
11676 character.h, charset.h, dispextern.h.
11677 (simple_dialog_show, add_menu_item): Avoid compiler warnings due
11678 to pointer signedness mismatches.
11679 * src/w32inevt.c: Don't include dispextern.h, window.h,
11680 termhooks.h, w32heap.h.
11681 * src/w32font.c: Don't include dispextern.h, character.h,
11682 charset.h, fontset.h, font.h.
11683 (intern_font_name, add_font_entity_to_list)
11684 (registry_to_w32_charset, w32_to_x_charset, fill_in_logfont)
11685 (list_all_matching_fonts): Avoid compiler warnings due to pointer
11686 signedness mismatches.
11687 * src/w32fns.c: Don't include character.h, intervals.h,
11688 dispextern.h, epaths.h, charset.h, ccl.h, fontset.h, systime.h,
11689 termhooks.h, w32heap.h, bitmap/gray.xbm, font.h, w32font.h.
11690 (w32_color_map_lookup, add_system_logical_colors_to_map)
11691 (x_decode_color, x_set_name, FPRINTF_WM_CHARS, Fxw_color_defined_p)
11692 (Fxw_color_values, x_display_info_for_name, Fset_message_beep)
11693 (x_create_tip_frame, Fx_file_dialog, Fsystem_move_file_to_trash)
11694 (w32_parse_hot_key, Ffile_system_info, w32_kbd_patch_key): Avoid
11695 compiler warnings, mainly due to pointer signedness mismatches.
11696 (unwind_create_frame_1): Remove unused function.
11697 * src/w32console.c: Don't include character.h, disptab.h, frame.h,
11698 window.h, termhooks.h, dispextern.h.
11699 (w32con_write_glyphs, w32con_write_glyphs_with_face): Fix pointer
11700 signedness mismatch.
11701 * src/w32.c: Include c-strcase.h and systty.h. Don't include
11704 2015-10-22 Tassilo Horn <tsdh@gnu.org>
11706 Improve doc-view wrt. auto-revert-mode
11708 * lisp/doc-view.el (doc-view-revert-buffer): Don't revert when file
11709 is corrupted (bug#21729).
11710 (doc-view-mode): Set doc-view-revert-buffer as revert-buffer-function.
11712 2015-10-22 Oleh Krehel <ohwoeowho@gmail.com>
11714 Describe dired-do-compress-to in the manual
11716 * etc/NEWS: Update.
11718 * lisp/dired-aux.el: Fix typo.
11720 * doc/emacs/dired.texi: Add entry.
11722 2015-10-22 Jürgen Hötzel <juergen@archlinux.org>
11724 Further fix for proper locale handling in tramp-gvfs.el
11726 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
11727 Just suppress LC_MESSAGES locale category settings.
11729 2015-10-21 Paul Eggert <eggert@cs.ucla.edu>
11731 New lispref section “Security Considerations”
11733 This attempts to document some of the issues recently discussed
11734 on emacs-devel, and to indicate other such issues. The section
11735 could be a lot longer.
11736 * doc/lispref/os.texi (Security Considerations):
11738 * doc/lispref/elisp.texi (Top):
11739 * doc/lispref/processes.texi (Shell Arguments):
11740 * lisp/subr.el (shell-quote-argument):
11741 * src/callproc.c (syms_of_callproc):
11744 2015-10-21 Paul Eggert <eggert@cs.ucla.edu>
11749 2015-10-18 stdalign: work around pre-4.9 GCC x86 bug
11750 2015-10-18 time_rz: avoid warning from bleeding-edge gcc's -Wnonnull
11751 * doc/misc/texinfo.tex, lib/stdalign.in.h, lib/time_rz.c:
11754 2015-10-21 Katsumi Yamaoka <yamaoka@jpl.org>
11756 * lisp/gnus/mailcap.el (mailcap-mime-data): Remove fboundp checks.
11757 (mailcap-viewer-passes-test): Do it instead. Thanks to Stefan Monnier.
11759 2015-10-21 Ken Brown <kbrown@cornell.edu>
11761 Further include-file cleanup
11763 * src/sheap.c: Include stdlib.h.
11764 * src/unexcw.c: Include string.h.
11766 2015-10-21 Eli Zaretskii <eliz@gnu.org>
11768 Fix logic in 'server-kill-emacs-query-function'
11770 * lisp/server.el (server-kill-emacs-query-function): Correct the
11771 logic that controls whether the user is asked for confirmation.
11774 2015-10-21 Artur Malabarba <bruce.connor.am@gmail.com>
11776 * lisp/isearch.el (isearch-search-fun-default): Simplify logic.
11777 (isearch--lax-regexp-function-p): New function.
11779 2015-10-21 Artur Malabarba <bruce.connor.am@gmail.com>
11781 * lisp/isearch.el: Support lax-whitespace in regexp-function searches.
11782 (isearch-search-fun-default): Let-bind `search-spaces-regexp'
11783 around `isearch-regexp-function'.
11785 2015-10-21 Artur Malabarba <bruce.connor.am@gmail.com>
11787 * lisp/isearch.el: Rename word search to regexp-function search.
11788 `isearch-word' went well beyond its original purpose, and the name
11789 no longer makes sense. It is now called
11790 `isearch-regexp-function', and its value should always be a function
11791 that converts a string to a regexp (though setting it to t is still
11792 supported for now).
11793 (isearch-word): Make obsolete.
11794 (isearch-regexp-function): New variable.
11795 (isearch-mode, isearch-done, isearch--state, isearch--set-state)
11796 (with-isearch-suspended, isearch-toggle-regexp)
11797 (isearch-toggle-word, isearch-toggle-symbol)
11798 (isearch-toggle-character-fold, isearch-query-replace)
11799 (isearch-occur, isearch-highlight-regexp)
11800 (isearch-search-and-update, isearch-message-prefix)
11801 (isearch-search-fun-default, isearch-search)
11802 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
11804 (isearch-lazy-highlight-regexp-function): New var.
11805 (isearch-lazy-highlight-word): Make obsolete.
11806 (isearch--describe-regexp-mode): New function.
11807 (isearch--describe-word-mode): Make obsolete.
11809 * lisp/info.el (Info-isearch-search):
11810 * lisp/replace.el (replace-search, replace-highlight):
11811 * lisp/obsolete/longlines.el (longlines-search-function):
11812 * lisp/hexl.el (hexl-isearch-search-function):
11813 * lisp/cedet/semantic/senator.el (senator-isearch-search-fun):
11816 2015-10-21 Oleh Krehel <ohwoeowho@gmail.com>
11818 Add dired-do-compress-to command bound to "c"
11820 * lisp/dired-aux.el (dired-shell-command): Use the caller's
11821 `default-directory', return the result of `process-file'.
11822 (dired-compress-file-suffixes): Add comment on why "tar -zxf" isn't
11824 (dired-compress-files-alist): New defvar.
11825 (dired-do-compress-to): New command.
11827 * lisp/dired.el (dired-mode-map): Bind `dired-do-compress-to' to "c".
11828 (dired-do-compress-to): Add an autoload entry.
11830 * etc/NEWS: Add two entries.
11832 2015-10-21 Tassilo Horn <tsdh@gnu.org>
11834 Make RefTeX work with LaTeX subfiles package
11836 * lisp/textmodes/reftex.el (reftex-TeX-master-file): Recognize subfiles
11837 document class argument as master file for referencing purposes.
11839 2015-10-21 Katsumi Yamaoka <yamaoka@jpl.org>
11841 * lisp/gnus/mailcap.el (mailcap-mailcap-entry-passes-test): Doc fix.
11843 2015-10-20 Paul Eggert <eggert@cs.ucla.edu>
11845 Include-file cleanup for src directory
11847 Omit ‘#include "foo.h"’ unless the file needs foo.h (Bug#21707).
11848 In a few cases, add ‘#include "foo.h"’ if the file needs foo.h
11849 but does not include it directly. As a general rule, a source
11850 file should include foo.h if it needs the interfaces that foo.h
11852 * src/alloc.c: Don’t include process.h. Include dispextern.h,
11854 * src/atimer.c: Don’t include blockinput.h.
11855 * src/buffer.c: Include coding.h, systime.h. Don’t include
11856 keyboard.h, coding.h.
11857 * src/callint.c: Don’t include commands.h, keymap.h.
11858 * src/callproc.c: Don’t include character.h, ccl.h, composite.h,
11859 systty.h, termhooks.h.
11860 * src/casetab.c: Don’t include character.h.
11861 * src/category.c: Don’t include charset.h, keymap.h.
11862 * src/ccl.h: Don’t include character.h.
11863 * src/character.c: Don’t include charset.h.
11864 * src/charset.c: Don’t include disptab.h.
11865 * src/chartab.c: Don’t include ccl.h.
11866 * src/cm.c: Don’t include frame.h, termhooks.h.
11867 * src/cmds.c: Don’t include window.h, dispextern.h.
11868 * src/coding.c: Don’t include window.h, frame.h.
11869 * src/composite.c: Include composite.h. Don’t include window.h,
11871 * src/data.c: Don’t include syssignal.h, termhooks.h, font.h.
11872 * src/dbusbind.c: Don’t include frame.h.
11873 * src/decompress.c: Don’t include character.h.
11874 * src/dired.c: Don’t include character.h, commands.h, charset.h.
11875 * src/dispnew.c: Don’t include character.h, indent.h, intervals.h,
11876 process.h, timespec.h. Include systime.h.
11877 * src/doc.c: Include coding.h. Don’t include keyboard.h.
11878 * src/editfns.c: Include composite.h. Don’t include frame.h.
11879 * src/emacs.c: Include fcntl.h, coding.h. Don’t include
11880 commands.h, systty.h..
11881 * src/fileio.c: Don’t include intervals.h, dispextern.h.
11882 Include composite.h.
11883 * src/filelock.c: Don’t include character.h, systime.h.
11884 * src/fns.c: Don’t include time.h, commands.h, keyboard.h,
11885 keymap.h, frame.h, blockinput.h, xterm.h. Include composite.h.
11886 * src/font.c: Include termhooks.h.
11887 * src/font.h: Don’t include ccl.h, frame.h. Add forward decls of
11888 struct composition_it, struct face, struct glyph_string.
11889 * src/fontset.c: Don’t include buffer.h, ccl.h, keyboard.h,
11890 intervals.h, window.h, termhooks.h.
11891 * src/frame.c: Don’t include character.h, commands.h, font.h.
11892 * src/frame.h: Don’t include dispextern.h.
11893 * src/fringe.c: Don’t include character.h.
11894 * src/ftcrfont.c: Don’t include dispextern.h, frame.h,
11895 character.h, charset.h, fontset.h.
11896 * src/ftfont.c: Don’t include frame.h, blockinput.h, coding.h,
11898 * src/ftxfont.c: Don’t include dispextern.h, character.h,
11899 charset.h, fontset.h.
11900 * src/gfilenotify.c: Don’t include frame.h, process.h.
11901 * src/gtkutil.c: Include dispextern.h, frame.h, systime.h.
11902 Don’t include syssignal.h, buffer.h, charset.h, font.h.
11903 * src/gtkutil.h: Don’t include frame.h.
11904 * src/image.c: Include fcntl.h and stdio.h instead of sysstdio.h.
11905 Don’t include character.h.
11906 * src/indent.c: Don’t include keyboard.h, termchar.h.
11907 * src/inotify.c: Don’t include character.h, frame.h.
11908 * src/insdel.c: Include composite.h. Don’t include blockinput.h.
11909 * src/intervals.c: Don’t include character.h, keyboard.h.
11910 * src/intervals.h: Don’t include dispextern.h, composite.h.
11911 * src/keyboard.c: Don’t include sysstdio.h, disptab.h, puresize.h.
11913 * src/keyboard.h: Don’t incldue systime.h.
11914 * src/keymap.c: Don’t include charset.h, frame.h.
11915 * src/lread.c: Include dispextern.h and systime.h.
11916 Don’t include frame.h. Include systime.h.
11917 * src/macros.c: Don’t include commands.h, character.h, buffer.h.
11918 * src/menu.c: Include character.h, coding.h. Don’t include
11920 * src/menu.h: Don’t include systime.h.
11921 * src/minibuf.c: Don’t include commands.h, dispextern.h, syntax.h,
11922 intervals.h, termhooks.h.
11923 * src/print.c: Include coding.h. Don’t include keyboard.h,
11924 window.h, dispextern.h, termchar.h, termhooks.h, font.h.
11925 Add forward decl of struct terminal.
11926 * src/process.c: Don’t include termhooks.h, commands.h,
11927 dispextern.h, composite.h.
11928 * src/region-cache.c: Don’t include character.h.
11929 * src/scroll.c: Don’t include keyboard.h, window.h.
11930 * src/search.c: Don’t include category.h, commands.h.
11931 * src/sound.c: Don’t include dispextern.h.
11932 * src/syntax.c: Don’t include command.h, keymap.h.
11933 * src/sysdep.c: Don’t include window.h, dispextern.h.
11934 * src/systime.h: Use ‘#ifdef emacs’, not ‘#ifdef EMACS_LISP_H’,
11935 * src/term.c: Don’t include systty.h, intervals.h, xterm.h.
11936 * src/terminal.c: Include character.h.
11937 Don’t include charset.h, coding.h.
11938 * src/textprop.c: Don’t include character.h.
11939 * src/undo.c: Don’t include character.h, commands.h, window.h.
11940 * src/unexsol.c: Don’t include character.h, charset.h.
11941 * src/widget.c: Include widget.h. Don’t include keyboard.h,
11942 window.h, dispextern.h, blockinput.h, character.h, font.h.
11943 * src/widgetprv.h: Don’t include widget.h.
11944 * src/window.c: Don’t include character.h, menu.h, intervals.h.
11945 * src/xdisp.c: Include composite.h, systime.h. Don’t include
11946 macros.h, process.h.
11947 * src/xfaces.c: Don’t include charset.h, keyboard.h, termhooks.h,
11949 * src/xfns.c: Don’t include menu.h, character.h, intervals.h,
11950 epaths.h, fontset.h, systime.h, atimer.h, termchar.h.
11951 * src/xfont.c: Don’t include dispextern.h, fontset.h, ccl.h.
11952 * src/xftfont.c: Don’t include dispextern.h, character.h, fontset.h.
11953 * src/xgselect.c: Don’t include timespec.h, frame.h.
11955 * src/xgselect.h: Don’t include time.h.
11956 Use a forward decl to struct timespec instead.
11957 * src/xmenu.c: Don’t include keymap.h, character.h, charset.h,
11958 dispextern.h. Include systime.h.
11959 * src/xml.c: Don’t include character.h.
11960 * src/xrdb.c [USE_MOTIF]: Don’t include keyboard.h.
11961 * src/xselect.c: Don’t include dispextern.h, character.h,
11962 buffer.h, process.h.
11963 * src/xsmfns.c: Don’t include systime.h, sysselect.h.
11964 * src/xterm.c: Don’t include syssignal.h, charset.h, disptab.h,
11965 intervals.h process.h, keymap.h, xgselect.h. Include composite.h.
11967 2015-10-20 Paul Eggert <eggert@cs.ucla.edu>
11969 (/ N) now returns the reciprocal of N
11971 This is more compatible with Common Lisp and XEmacs (Bug#21690). See:
11972 http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg01053.html
11973 * lisp/color.el (color-hue-to-rgb, color-hsl-to-rgb)
11974 (color-xyz-to-srgb, color-xyz-to-lab):
11975 * lisp/emacs-lisp/cl-extra.el (cl-float-limits):
11976 * lisp/net/shr-color.el (shr-color-hue-to-rgb)
11977 (shr-color-hsl-to-rgb-fractions):
11978 Exploit the change to simplify the code a bit.
11979 * lisp/emacs-lisp/bytecomp.el (byte-compile-quo):
11980 Don’t complain about single-argument calls to ‘/’.
11981 * src/data.c (arith_driver, float_arith_driver):
11982 Implement the change.
11984 2015-10-20 Dmitry Gutov <dgutov@yandex.ru>
11986 Call vc-dir-refresh after stash operations
11988 * lisp/vc/vc-git.el (vc-git-stash-apply-at-point)
11989 (vc-git-stash-pop-at-point): Call vc-dir-refresh (bug#13960).
11991 * lisp/vc/vc-dir.el (vc-dir-resynch-file): Expand FNAME as well,
11992 since it can be abbreviated (as returned by vc-find-root).
11994 2015-10-20 Dmitry Gutov <dgutov@yandex.ru>
11996 * lisp/vc/vc-svn.el:
11997 * lisp/vc/vc-mtn.el:
11998 * lisp/vc/vc-hg.el:
11999 * lisp/vc/vc-cvs.el:
12000 * lisp/vc/vc-git.el:
12001 * lisp/vc/vc-bzr.el: Don't declare vc-exec-after anymore.
12002 Its usages have been replaced with vc-run-delayed.
12004 2015-10-20 Dima Kogan <dima@secretsauce.net>
12006 Fix memory leak in fontset handling
12008 * src/font.c (copy_font_spec): Make a deep copy of the input
12009 argument FONT. (Bug#21651)
12011 2015-10-20 Michael Sperber <mike@xemacs.org>
12013 * lisp/gnus/mailcap.el (mailcap-mime-data):
12014 Conditonalize `doc-view-mode', which does not exist on XEmacs.
12016 2015-10-20 Oleh Krehel <ohwoeowho@gmail.com>
12018 Update the way directories are compressed
12020 * lisp/dired-aux.el (dired-compress-file-suffixes): Update the recipe
12021 for *.tar.gz decompression to use a pipe.
12022 Add an entry for the default directory compression (to *.tar.g).
12023 (dired-compress-file): Update.
12025 See https://lists.gnu.org/archive/html/emacs-devel/2015-10/msg00949.html.
12027 2015-10-20 Michael Sperber <mike@xemacs.org>
12029 Unbreak `group' option for `mail-sources'
12031 * lisp/gnus/nnml.el (nnml-retrieve-groups, nnml-request-scan):
12032 * lisp/gnus/nnmail.el (nnmail-get-new-mail-per-group)
12033 (nnmail-get-new-mail-1): Unbreak `group' option for `mail-sources'.
12035 2015-10-19 Nicolas Petton <nicolas@petton.fr>
12037 New function seq-position
12039 * lisp/emacs-lisp/seq.el (seq-position): New function.
12040 * test/automated/seq-tests.el: New tests for seq-position.
12041 * doc/lispref/sequences.texi: Add documentation for `seq-position'.
12043 2015-10-19 Ken Brown <kbrown@cornell.edu>
12045 Enable --with-wide-int build on 32-bit Cygwin
12047 * src/sheap.c (STATIC_HEAP_SIZE): Remove distinction between x86
12048 and x86_64 to enable --with-wide-int build on 32-bit Cygwin.
12050 2015-10-19 Glenn Morris <rgm@gnu.org>
12052 * doc/emacs/ack.texi (Acknowledgments): Small, sad, update.
12054 2015-10-19 Eli Zaretskii <eliz@gnu.org>
12056 Resurrect image loading under auto-image-file-mode
12058 * src/image.c (x_find_image_fd): Handle the case of -2 returned by
12059 'openp' specially. This special case was lost in the changes on
12060 2015-08-18. (Bug#21685)
12062 2015-10-19 Eli Zaretskii <eliz@gnu.org>
12064 Fix return value of 'set-file-extended-attributes'
12066 * lisp/files.el (set-file-extended-attributes): Return non-nil
12067 when setting either ACLs or SELinux context succeeds. Document
12068 the return value. (Bug#21699)
12070 * doc/lispref/files.texi (Changing Files): Document the return
12071 value of set-file-extended-attributes.
12073 2015-10-19 Eli Zaretskii <eliz@gnu.org>
12075 Improve documentation of functions that change files
12077 * doc/lispref/files.texi (Changing Files): Document that these
12078 functions signal an error on failure.
12080 2015-10-18 Eli Zaretskii <eliz@gnu.org>
12082 Fix doc string of 'shell-quote-argument'
12084 * lisp/subr.el (shell-quote-argument): Doc fix. (Bug#21702)
12086 2015-10-18 Michael Albinus <michael.albinus@gmx.de>
12088 Some minor Tramp changes
12090 * doc/misc/tramp.texi (Obtaining Tramp): Add http git cloning.
12092 * lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
12093 Expand `tramp-auto-save-directory'.
12095 2015-10-18 Michael Albinus <michael.albinus@gmx.de>
12097 Minor edits in Tramp
12099 * lisp/net/tramp-adb.el (directory-listing-before-filename-regexp):
12102 * lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
12103 Remove declaration.
12105 2015-10-17 Mark Oteiza <mvoteiza@udel.edu>
12107 * lisp/emacs-lisp/eldoc.el: Add back-to-indentation to the command list.
12109 2015-10-17 Eli Zaretskii <eliz@gnu.org>
12111 Avoid crashes when redisplayng a window changes faces or fonts
12113 * src/xdisp.c (redisplay_internal): If redisplaying the selected
12114 window or one of the frames turns on the frame's 'redisplay' flag,
12115 redisplay again. (Bug#21428)
12117 * src/frame.c (x_set_font): Set the frame's 'fonts_changed' flag.
12119 2015-10-17 Michael Albinus <michael.albinus@gmx.de>
12121 Solve timimg issues in file-notify-tests.el
12123 * test/automated/file-notify-tests.el (file-notify-test02-events):
12124 Rectify `attribute-change' tests. There are timing issues with
12125 gfilenotify. (Bug#21669)
12127 2015-10-16 Paul Eggert <eggert@cs.ucla.edu>
12129 Fix quoting of data within htmlfontify doc
12131 * doc/misc/htmlfontify.texi (Data Structures, Customization):
12132 Fix quoting of data structures. A Lisp quote is needed only
12133 when data appears within Lisp code.
12135 2015-10-16 Artur Malabarba <bruce.connor.am@gmail.com>
12137 * lisp/emacs-lisp/package.el: Reload archive-contents if
12139 (package--old-archive-priorities): New variable.
12140 (package-read-all-archive-contents, package-menu--refresh): Use it
12141 to decide when the `package-archive-contents' needs to be read
12144 2015-10-16 Paul Eggert <eggert@cs.ucla.edu>
12146 Make src headers idempotent and standalone
12148 Redo src/*.h so that each include file is idempotent (that is, can
12149 be included multiple times with the latter inclusions having no
12150 effect) and standalone (that is, can be included by itself,
12151 with no include file other than config.h needed as a prerequisite).
12152 This is standard practice in GNU programs nowadays.
12153 * lwlib/lwlib-widget.h, src/buffer.h, src/category.h, src/character.h:
12154 * src/charset.h, src/coding.h, src/commands.h, src/disptab.h:
12155 * src/fontset.h, src/gnutls.h, src/indent.h, src/keymap.h, src/macros.h:
12156 * src/regex.h [emacs]:
12157 * src/syntax.h, src/systty.h, src/termhooks.h:
12158 Include lisp.h, for Lisp_Object.
12159 * src/buffer.h, src/category.h, src/cm.h, src/commands.h, src/disptab.h:
12160 * src/indent.h, src/intervals.h, src/keyboard.h, src/macros.h:
12161 * src/process.h, src/puresize.h, src/region-cache.h, src/syntax.h:
12162 * src/syssignal.h, src/sysstdio.h, src/systty.h, src/termchar.h:
12163 * src/termopts.h, src/tparam.h, src/unexec.h:
12164 Protect against multiple inclusion.
12165 * src/buffer.h: Include character.h, for STRING_CHAR.
12166 * src/emacsgtkfixed.h (struct frame):
12167 * src/fontset.h (struct face):
12168 * src/region-cache.h (struct buffer):
12169 * src/termhooks.h (struct glyph):
12170 * src/xsettings.h (struct x_display_info):
12171 Add possibly-forward decl.
12172 * src/syntax.h: Include buffer.h, for BVAR.
12173 * src/sysselect.h: Include lisp.h, for eassume.
12174 * src/termchar.h: Include <stdio.h>, for FILE.
12175 * src/widget.h: Include <X11/IntrinsicP.h>, for Widget.
12176 * src/xsettings.h: Include <X11/Xlib.h>, for XEvent.
12178 2015-10-16 Jürgen Hötzel <juergen@archlinux.org>
12180 Handle symlink targets containing spaces in tramp-gvfs.el
12182 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
12183 Handle symlink targets containing spaces.
12185 2015-10-16 Artur Malabarba <bruce.connor.am@gmail.com>
12187 * lisp/custom.el (custom-theme-load-path): Demote to defvar.
12189 `custom-theme-load-path' was a defcustom, but it shouldn't be for the
12190 same reason that `load-path' shouldn't. Setting it via the customize
12191 interface is a trap for the user.
12193 Installed themes commonly add themselves to this variable, which means
12194 its value is not fit for being saved (it will permanently remember dirs
12195 that don't exist anymore).
12197 This is aggravated by the fact that Emacs always applies the `user'
12198 theme on top of any theme that's loaded, since this will apply the old
12199 variable value and remove any new directories that had been recently
12200 added by themes themselves.
12202 Not to mention, we already have `custom-theme-directory', which is safe
12205 2015-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
12207 * lisp/mpc.el: Rename the new toggling commands.
12208 (mpc-toggle-consume, mpc-toggle-repeat, mpc-toggle-single)
12209 (mpc-toggle-shuffle): Add "-toggle" in the name.
12211 2015-10-16 Eli Zaretskii <eliz@gnu.org>
12213 Improve the doc string of 'completion-boundaries'
12215 * lisp/minibuffer.el (completion-boundaries): Rename the argument
12216 TABLE to COLLECTION, for consistency with other high-level
12217 completion functions. Document how COLLECTION is called if it
12218 is a function. (Bug#21644)
12220 2015-10-16 Oleh Krehel <ohwoeowho@gmail.com>
12222 * lisp/dired-aux.el (dired-shell-command): Fix compile warning.
12224 2015-10-16 Oleh Krehel <ohwoeowho@gmail.com>
12226 Make dired-do-compress work for *.zip files
12228 * lisp/dired-aux.el (dired-check-process): Transform the top-level
12229 comment into a docstring.
12230 (dired-shell-command): New command. This mirrors
12231 `dired-check-process', but is more user-friendly for passing
12233 (dired-compress-file-suffixes): Allow to specify the command switches
12234 along with input (%i) and output (%o) inside the PROGRAM part.
12235 Add an entry for *.zip files, and update the entry for *.tar.gz files
12236 to the new style. Update the docstring.
12237 (dired-compress-file): When PROGRAM matches %i or %o, use the new
12239 (dired-update-file-line): Avoid an error when at end of buffer.
12243 2015-10-16 Eli Zaretskii <eliz@gnu.org>
12245 Minor improvement in documentation of internals
12247 * doc/lispref/internals.texi (Writing Emacs Primitives): Document QUIT.
12249 2015-10-16 Eli Zaretskii <eliz@gnu.org>
12251 Improve documentation of COLLECTION in completion functions
12253 * doc/lispref/minibuf.texi (Minibuffer Completion): Add a
12254 cross-reference to "Programmed Completion".
12256 * src/minibuf.c (Fcompleting_read): Improve the doc string.
12259 2015-10-16 Eli Zaretskii <eliz@gnu.org>
12261 Add more release info to etc/HISTORY
12263 * etc/HISTORY: Add more release information about 19.x and 20.x
12266 2015-10-15 Paul Eggert <eggert@cs.ucla.edu>
12268 New file etc/HISTORY
12270 * admin/FOR-RELEASE: Procedure for etc/HISTORY.
12271 * etc/HISTORY: New file.
12272 * etc/NEWS: Mention it.
12274 2015-10-15 Dmitry Gutov <dgutov@yandex.ru>
12276 js-mode: Don't misindent generator methods
12278 * lisp/progmodes/js.el (js--looking-at-operator-p): Distinguish
12279 generator methods from multiplication operator
12280 (https://github.com/mooz/js2-mode/issues/275).
12282 2015-10-15 Paul Eggert <eggert@cs.ucla.edu>
12284 Fix animation timeout delay calculation
12286 * lisp/image.el (image-animate-timeout):
12287 Don’t assume speed is floating-point.
12289 2015-10-15 Mark Oteiza <mvoteiza@udel.edu>
12291 Add commands for controlling MPD modes
12293 * lisp/mpc.el (mpc-cmd-consume, mpc-cmd-random, mpc-cmd-repeat)
12294 (mpc-cmd-single): New functions.
12295 (mpc-consume, mpc-repeat, mpc-single, mpc-shuffle): New commands.
12296 (mpc-mode-menu): Add new commands as menu items.
12298 2015-10-15 Dmitry Gutov <dgutov@yandex.ru>
12300 Refer to `(elisp)Basic Completion' in completing-read docstring
12302 * src/minibuf.c (Fcompleting_read): Refer to `(elisp)Basic
12303 Completion' in the docstring (bug#21644).
12305 2015-10-14 Mark Oteiza <mvoteiza@udel.edu>
12307 * lisp/mpc.el (mpc-format): Always push form to pred
12309 2015-10-14 Paul Eggert <eggert@cs.ucla.edu>
12313 * configure.ac (bitmapdir): Fix misspelling of bmd_acc.
12314 * test/automated/coding-tests.el (ert-test-coding-bogus-coding-systems):
12315 Fix misspelling of nonexistent file name.
12317 2015-10-14 Mark Oteiza <mvoteiza@udel.edu>
12319 * lisp/mpc.el (mpc-mode-menu, mpc-toggle-play): Fix docstrings
12321 2015-10-14 Michael Albinus <michael.albinus@gmx.de>
12323 Some editing fixes in Tramp
12325 * lisp/net/tramp-gvfs.el:
12326 * doc/misc/tramp.texi: "customer option" -> "custom option".
12328 * lisp/net/tramp.el (tramp-completion-function-alist): Fix docstring.
12330 2015-10-14 Jürgen Hötzel <juergen@archlinux.org>
12332 Use proper localization in tramp-gvfs.el
12334 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
12335 Suppress localized settings in order to proper parse gfvs output.
12337 2015-10-14 Warren Lynn <wrn.lynn@gmail.com> (tiny change)
12339 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12340 Quote argument in proper order. (Bug#21562)
12342 2015-10-14 Nicolas Petton <nicolas@petton.fr>
12344 Fix typos in docstrings
12346 * lisp/emacs-lisp/map.el:
12347 * lisp/emacs-lisp/seq.el: Fix typos in the docstrings of the pcase
12350 2015-10-14 Mark Oteiza <mvoteiza@udel.edu>
12352 * lisp/mpc.el (mpc-volume-refresh): Check if buffer is live.
12354 2015-10-14 Oleh Krehel <ohwoeowho@gmail.com>
12356 Make dired-jump work with tar-subfile-mode
12358 * lisp/dired-x.el (dired-jump): When in `tar-subfile-mode', instead of
12359 emitting an error, switch to `tar-superior-buffer'.
12361 2015-10-14 Juanma Barranquero <lekktu@gmail.com>
12363 * .gitignore: Add build-aux/ar-lib.
12365 2015-10-14 Nicolas Petton <nicolas@petton.fr>
12367 Better docstrings in seq.el and map.el
12369 * lisp/emacs-lisp/map.el:
12370 * lisp/emacs-lisp/seq.el: Improve the docstring for the pcase patterns.
12372 2015-10-14 Paul Eggert <eggert@cs.ucla.edu>
12377 2015-10-13 binary-io, u64, unistd: port to strict C
12378 2015-09-26 c-ctype: do not worry about EBCDIC + char signed
12379 2015-09-25 c-ctype: port better to z/OS EBCDIC
12380 2015-09-25 gnulib-common.m4: fix gl_PROG_AR_RANLIB/AM_PROG_AR clash
12381 * doc/misc/texinfo.tex, lib/binary-io.c, lib/c-ctype.h, lib/u64.c:
12382 * lib/unistd.c, m4/gnulib-common.m4, m4/gnulib-comp.m4:
12385 2015-10-14 Paul Eggert <eggert@cs.ucla.edu>
12389 * src/alloc.c (PURE_POINTER_P): Remove.
12390 All uses replaced with PURE_P.
12391 (XPNTR_OR_SYMBOL_OFFSET): New function.
12392 (XPNTR): Move here from lisp.h.
12393 Reimplement in terms of XPNTR_OR_SYMBOL_OFFSET.
12394 (mark_maybe_object, valid_lisp_object_p, survives_gc_p):
12395 Remove unnecessary cast.
12396 (purecopy): Use XPNTR_OR_SYMBOL_OFFSET instead of XPNTR,
12397 to avoid an unnecessary runtime test for symbols.
12398 * src/lisp.h (lisp_h_XPNTR, XPNTR): Remove, moving XPNTR to alloc.c.
12399 Only alloc.c needs XPNTR now.
12401 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
12403 Add MPC play/pause command
12405 * lisp/mpc.el (mpc-toggle-play): New command.
12406 (mpc-mode-map): Bind it to "s".
12407 (mpc-mode-menu): Add corresponding menu item.
12409 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
12411 Add bindings and menu items for prev and next tracks
12413 * lisp/mpc.el (mpc-mode-map): Bind ">" to mpc-next,
12415 (mpc-mode-menu): Add corresponding menu items
12417 2015-10-13 Ken Raeburn <raeburn@raeburn.org>
12419 Reduce face-related consing during frame creation.
12421 * lisp/faces.el (face--attributes-unspecified): Compute the "unspecified"
12422 attribute list once.
12423 (face-spec-reset-face): Use it instead of building the list.
12425 2015-10-13 Ken Raeburn <raeburn@permabit.com>
12427 Do process ConfigureNotify events indicating size changes.
12429 * src/xterm.c (handle_one_xevent): If consecutive ConfigureNotify
12430 events don't have the same size, process each one.
12432 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
12434 Derive mpc-mode from special-mode
12436 lisp/mpc.el (mpc-mode-map): Make from sparse keymap. Unbind g.
12437 (mpc-mode): Derive from special mode.
12438 (mpc-songs-mode-map): Don't set parent keymap.
12440 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
12442 Fix error messages for when covers are not found.
12444 The last change to mpc-format let the binding to file call
12445 mpc-file-local-copy with nil argument. Instead, employ if-let here
12446 so nil bindings don't result in needless computation and errors.
12447 * lisp/mpc.el: Require 'subr-x at compile time.
12448 * lisp/mpc.el (mpc-format): Use if-let.
12450 2015-10-13 Oleh Krehel <ohwoeowho@gmail.com>
12452 Make dired-do-compress work for *.tar.gz files
12454 * lisp/dired-aux.el (dired-compress-file-suffixes): Associate
12455 "tar -zxvf" to *.tar.gz; update docstring.
12457 (dired-compress-file): Allow to specify switches after the command in
12458 `dired-compress-file-suffixes'.
12460 2015-10-13 Oleh Krehel <ohwoeowho@gmail.com>
12462 Make dired-do-compress work for directories
12464 * lisp/dired-aux.el (dired-compress-file): When FILE is a directory,
12465 instead of emitting an error, call "tar -czf FILE.tar.gz FILE".
12466 Also convert the top comment into a docstring.
12468 2015-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12470 * lisp/mpc.el (mpc-songs-refresh): Don't side-effect `active'
12472 ... since it might come straight from the memoizing table.
12474 2015-10-13 Juanma Barranquero <lekktu@gmail.com>
12476 * src/w32fns.c (x_change_tool_bar_height): Remove unused variable frame.
12478 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
12480 Use special-mode in eww list modes
12482 * lisp/net/eww.el (eww-bookmark-mode, eww-history-mode)
12483 (eww-buffers-mode): Derive from special-mode and remove redundant
12484 setting of buffer-read-only.
12485 (eww-mode-map): Remove redundant keymap parent setting.
12486 (eww-bookmark-mode-map, eww-history-mode-map, eww-buffers-mode-map):
12487 Remove redundant keymap suppressions and mappings.
12489 2015-10-13 Martin Rudalics <rudalics@gmx.at>
12491 Allow setting frame pixel sizes from frame parameters (Bug#21415)
12493 Also fix some misfeatures in frame (re-)sizing code, add more
12494 debugging information and remove some dead code.
12496 * lisp/frame.el (frame-notice-user-settings, make-frame): Change
12497 parameter names when setting `frame-size-history'.
12498 (frame--size-history): New function.
12500 * src/frame.c (frame_inhibit_resize): If frame has not been made
12501 yet, return t if inhibit_horizontal_resize or
12502 inhibit_vertical_resize bit have been set.
12503 (adjust_frame_size): Simplify.
12504 (make_frame): Initialize inhibit_horizontal_resize,
12505 inhibit_vertical_resize, tool_bar_redisplayed, tool_bar_resized.
12506 (Fframe_after_make_frame): Reset inhibit_horizontal_resize and
12507 inhibit_vertical_resize slots.
12508 (x_set_frame_parameters): Handle `text-pixels' specification for
12509 width and height parameters. Don't consider new_height or
12510 new_width changes. Call adjust_frame_size instead of
12512 (x_figure_window_size): Two new arguments x_width and y_width
12513 returning frame's figures width and height. Calculate tool bar
12514 height before frame sizes so SET_FRAME_HEIGHT can pick it up.
12515 Handle `text-pixels' specification for width and height
12517 (Qtext_pixels, Qx_set_frame_parameters, Qset_frame_size)
12518 (Qx_set_window_size_1, Qx_set_window_size_2)
12519 (Qx_set_window_size_3, Qx_set_menu_bar_lines)
12520 (Qupdate_frame_menubar, Qfree_frame_menubar_1)
12521 (Qfree_frame_menubar_2): New symbols.
12522 * src/frame.h (structure frame): New booleans
12523 tool_bar_redisplayed, tool_bar_resized,
12524 inhibit_horizontal_resize, inhibit_vertical_resize.
12525 (x_figure_window_size): Update external declaration.
12526 * src/gtkutil.c (xg_frame_set_char_size): Set size hints before
12527 calling gtk_window_resize.
12528 (update_frame_tool_bar): Make inhibiting of frame resizing more
12529 discriminative. Set tool_bar_resized bit.
12530 * src/nsfns.m (x_set_tool_bar_lines): Make inhibiting of frame
12531 resizing more discriminative. Call adjust_frame_size instead of
12533 (Fx_create_frame): Handle x_width and x_height if
12534 set by x_figure_window_size.
12535 * src/nsterm.m (x_set_window_size): For GNUSTEP build don't
12536 subtract 3 from tool bar height.
12537 (x_set_window_size): Add frame_size_history_add call.
12538 (x_new_font): Call adjust_frame_size instead of
12540 * src/w32fns.c (x_change_tool_bar_height): Reset
12541 tool_bar_redisplayed and tool_bar_resized bits when adding tool
12542 bar. Make inhibiting of frame resizing more discriminative.
12543 (w32_wnd_proc): Remove dead code in WM_WINDOWPOSCHANGING case.
12544 (Fx_create_frame): Handle x_width and x_height if set by
12545 x_figure_window_size. Set size hints before adjusting frame size.
12546 (x_create_tip_frame): Adjust x_figure_window_size call.
12547 * src/w32term.c (x_set_window_size): Add frame_size_history_add
12549 * src/widget.c (set_frame_size): Remove dead code. Add
12550 frame_size_history_add call. When frame_resize_pixelwise is t
12551 use FRAME_PIXEL_WIDTH and FRAME_PIXEL_HEIGHT instead of
12552 pixel_width and pixel_height.
12553 (update_various_frame_slots): Remove dead code.
12554 (EmacsFrameResize): Add more information in
12555 frame_size_history_add call.
12556 (EmacsFrameQueryGeometry): Round only when frame_resize_pixelwise
12558 * src/xdisp.c (redisplay_tool_bar): Set tool_bar_redisplayed bits.
12559 * src/xfns.c (x_set_menu_bar_lines): Change argument name.
12560 (x_change_tool_bar_height): Reset tool_bar_redisplayed and
12561 tool_bar_resized bits when adding tool bar. Make inhibiting of
12562 frame resizing more discriminative.
12563 (Fx_create_frame): Handle x_width and x_height if set by
12564 x_figure_window_size. Set size hints before adjusting frame size.
12565 (x_create_tip_frame): Adjust x_figure_window_size call.
12566 * src/xmenu.c (update_frame_menubar): Don't handle Lucid specially.
12567 (set_frame_menubar): On Lucid never add core-border-width to
12568 avoid that adding XtNinternalBorderWidth adds it again.
12569 (free_frame_menubar): Handle frame_inhibit_resize true for Motif.
12570 * src/xterm.c (x_new_font): In non-toolkit case handle size
12571 change of menu bar.
12572 (x_set_window_size_1): Fix calls to frame_size_history_add.
12573 (x_wm_set_size_hint): Remove dead code. Set
12574 size_hints.min_width and size_hints.min_height to base_width and
12577 2015-10-13 Michael Albinus <michael.albinus@gmx.de>
12579 * test/automated/file-notify-tests.el (file-notify--test-timeout):
12580 Add docstring. Increase to 10 seconds for remote
12581 directories. (Bug#21669)
12583 2015-10-12 Paul Eggert <eggert@cs.ucla.edu>
12585 Unmacroize ebrowse.c and etags.c a bit
12587 * lib-src/ebrowse.c (READ_CHUNK_SIZE): Now an enum constant.
12588 (streq, filename_eq, set_flag, has_flag): Now inline functions.
12589 (set_flag): First arg is now an address, not an lvalue.
12590 All callers changed.
12591 (filename_eq, set_flag, has_flag):
12592 Rename from FILENAME_EQ, SET_FLAG, HAS_FLAG.
12593 All callers changed.
12594 * lib-src/etags.c (streq, strcaseeq, strneq, strncaseeq):
12595 Now inline functions. Remove asserts that are unnecessary these
12596 days (and in some cases were too-generous anyway).
12598 2015-10-12 Mark Oteiza <mvoteiza@udel.edu>
12600 Use highlight for current items
12602 * lisp/mpc.el (mpc-select-make-overlay, mpc-tagbrowser-all-select):
12603 Apply highlight face instead of region face.
12605 2015-10-12 Mark Oteiza <mvoteiza@udel.edu>
12607 Search for more cover image names in MPC
12609 * lisp/mpc.el (mpc-format): Also look for .folder.jpg or folder.jpg
12612 2015-10-12 Juanma Barranquero <lekktu@gmail.com>
12614 Remove or comment out unused variables
12616 * src/w32fns.c (x_set_mouse_color): Comment out variables cursor,
12617 nontext_cursor, mode_cursor, hand_cursor and count.
12618 (x_change_tool_bar_height): Remove variable old_text_height.
12619 (deliver_wm_chars): Remove variable strip_Alt.
12620 (Fw32_shell_execute): Remove variable document_a.
12621 (Fw32_frame_geometry): Remove variable fullboth.
12622 * src/w32term.c (w32_setup_relief_color): Comment out variable
12624 (w32_horizontal_scroll_bar_handle_click): Remove variables start, end.
12625 (w32_read_socket): Comment out variables rows, columns.
12626 * src/w32uniscribe.c (uniscribe_check_otf_1): Remove variable rest.
12628 2015-10-12 Juanma Barranquero <lekktu@gmail.com>
12630 * src/w32proc.c (sys_select): Fix bitwise test.
12632 2015-10-12 Eli Zaretskii <eliz@gnu.org>
12634 Minor typo corrections in doc strings
12636 * lisp/menu-bar.el (popup-menu, popup-menu-normalize-position):
12639 2015-10-12 Eli Zaretskii <eliz@gnu.org>
12641 * nt/INSTALL: Recommend MSYS Automake/Autoconf from ezwinports.
12643 2015-10-12 Eli Zaretskii <eliz@gnu.org>
12645 Attempt to avoid crashes in plist-member
12647 * src/fns.c (Fplist_member): Don't call QUIT between a CONSP test
12648 and a call to XCDR. (Bug#21655)
12650 2015-10-12 Mike FABIAN <mfabian@redhat.com>
12652 * lisp/select.el (gui-get-primary-selection): In
12653 gui-get-primary-selection use gui--selection-value-internal (Bug#20906)
12655 2015-10-12 Tassilo Horn <tsdh@gnu.org>
12657 Support RTF in doc-view
12659 * lisp/doc-view.el (doc-view-set-doc-type): Add entry for RTF extension.
12661 2015-10-12 Juanma Barranquero <lekktu@gmail.com>
12663 * src/w32fns.c (get_wm_chars): Increment counter, not pointer.
12665 2015-10-11 Nicolas Petton <nicolas@petton.fr>
12667 Replace the usage of an obsolete function in auth-source.el
12669 * lisp/gnus/auth-source.el (auth-source-epa-make-gpg-token):
12670 Replace an usage of `epg-context-set-armor' with `setf'.
12672 2015-10-11 Nicolas Petton <nicolas@petton.fr>
12674 * lisp/gnus/auth-source.el: Use sharp-quoting with functions.
12676 2015-10-11 Jay Belanger <jay.p.belanger@gmail.com>
12678 Have calc-yank recognize numbers in different bases.
12680 * lisp/calc/calc-yank.el (math-number-regexp): New function.
12681 (calc-yank): Use `math-number-regexp' to recognize numbers.
12683 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
12685 Handle an opaque-move X11 window manager operation more efficiently
12687 * src/xterm.c (handle_one_xevent): If a ConfigureNotify event is
12688 followed by more ConfigureNotify events for the same window, process
12691 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
12693 Fix cursor setting for tip frame; re-enable cursor generation
12695 * src/xfns.c (x_create_tip_frame): Include the cursor in the window
12696 attributes sent when creating the new X window. Don't skip setting
12697 the pointerColor parameter.
12699 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
12701 Rewrite x_set_mouse_color to sync less
12703 We can track serial numbers of X requests and correlate error events
12704 with the associated requests. This way we can identify errors for
12705 specific calls without having to use XSync after every one.
12707 * src/xfns.c (enum mouse_cursor): New type.
12708 (struct mouse_cursor_types, struct mouse_cursor_data): New types.
12709 (mouse_cursor_types): New array listing the Lisp variables and default
12710 cursor appearances for each cursor type.
12711 (x_set_mouse_color_handler): New function; checks error event serial
12712 number against submitted requests.
12713 (x_set_mouse_color): Updated to use the new error handler callback,
12714 and to be more table-driven, to simplify repetitious code.
12716 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
12718 Add x_catch_errors_with_handler
12720 * src/xterm.c (struct x_error_message_stack): Add new fields for a
12721 callback function and associated data pointer.
12722 (x_error_catcher): If the callback function is set, call it after
12723 saving the error message string.
12724 (x_catch_errors_with_handler): Renamed from x_catch_errors but now
12725 accepts a callback function and data pointer.
12726 (x_catch_errors): Now a wrapper function.
12727 * src/xterm.h (x_special_error_handler): New typedef.
12728 (x_catch_errors_with_handler): Declare.
12730 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
12732 Introduce x_uncatch_errors_after_check to reduce XSync calls
12734 Both x_had_errors_p and x_check_errors call XSync, so if they're
12735 immediately followed by x_uncatch_errors, its XSync call will be
12736 redundant, resulting in a wasted round trip to the X server.
12738 * src/xterm.c (x_uncatch_errors_after_check): New routine; a copy of
12739 x_uncatch_errors without the XSync call.
12740 (XTmouse_position, x_wm_supports):
12741 * src/xfns.c (x_set_mouse_color):
12742 * src/xmenu.c (Fx_menu_bar_open_internal):
12743 * src/xselect.c (x_own_selection, x_get_foreign_selection):
12744 (Fx_get_atom_name): Call it instead of x_uncatch_errors.
12745 * src/xterm.h (x_uncatch_errors_after_check): Declare.
12747 2015-10-10 Jay Belanger <jay.p.belanger@gmail.com>
12749 Document the optional prefix to `calc-yank'
12751 * doc/misc/calc.texi (Yanking into the Stack): Document the optional
12752 prefix to `calc-yank'.
12753 * lisp/calc/calc-yank.el (calc-yank): Ensure that things killed from
12754 the Calc buffer are yanked back unchanged.
12756 2015-10-10 Mark Oteiza <mvoteiza@udel.edu>
12758 * lisp/calendar/calendar.el: Display buffer before executing body.
12760 In each use of this macro, the modeline is derived from a window width
12761 calculation, which will be wrong if (display-buffer) splits the window
12764 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
12766 Use ‘echo’ safely with ‘\’ or leading ‘-’
12768 POSIX says that ‘echo FOO’ produces implementation-defined output
12769 if FOO contains leading ‘-’, or ‘\’ anywhere, so don’t assume GNU
12770 behavior in that case.
12771 * Makefile.in (removenullpaths): Remove.
12772 (epaths-force): Rewrite to avoid the need for ‘echo’.
12773 (install-etc): Be clearer about escaping the shell metacharacters
12775 * Makefile.in (install-arch-indep, install-etcdoc):
12776 * admin/charsets/mapconv, admin/merge-gnulib, admin/merge-pkg-config:
12777 * admin/quick-install-emacs, build-aux/gitlog-to-emacslog:
12778 * configure.ac, lib-src/rcs2log, make-dist:
12779 * src/Makefile.in (lisp.mk):
12780 Don’t assume ‘echo’ outputs ‘\’ and leading ‘-’ unscathed.
12781 For example, use ‘printf '%s\n' "$foo"’ rather than ‘echo "$foo"’
12782 if $foo can contain arbitrary characters.
12783 * lisp/Makefile.in (TAGS): Use ‘ls’, not ‘echo’, to avoid ‘\’ issues.
12784 * doc/lispref/two-volume.make (vol1.pdf):
12785 * test/etags/make-src/Makefile (web ftp publish):
12786 Use ‘printf’ rather than ‘echo -e’.
12788 2015-10-10 Kaushal Modi <kaushal.modi@gmail.com>
12790 Allow numbers with different radixes to be yanked.
12792 * lisp/calc/calc-yank.el (calc-yank): Allow radixes besides the
12795 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
12797 Improve CHECK_IMPURE and PURE_P speedup
12799 * src/data.c (Faset): Use XVECTOR and XSTRING rather than XPNTR.
12801 2015-10-10 Jay Belanger <jay.p.belanger@gmail.com>
12803 Use events instead of chars to keep track of steps.
12805 * lisp/calc/calc-prog.el (calc-kbd-loop): Use events instead of chars
12806 to keep track of steps.
12808 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
12810 Fix --enable-gcc-warnings problem with older GCC
12812 * src/puresize.h: Add INLINE_HEADER_BEGIN, INLINE_HEADER_END.
12813 This is for building with --enable-gcc-warnings with
12814 GCC 4.6 through 5.0.
12816 2015-10-10 Eli Zaretskii <eliz@gnu.org>
12818 Fix vertical-motion in truncated lines that end in a stretch
12820 * src/indent.c (Fvertical_motion): Expect overshoot when point is
12821 beyond window margin and lines are truncated, even if we have a
12822 stretch at point. (Bug#21468)
12824 2015-10-10 Eli Zaretskii <eliz@gnu.org>
12826 Avoid link-time errors due to inline functions
12828 * src/emacs.c: Include puresize.h, to avoid link-time errors in
12829 unoptimized builds due to PURE_P and CHECK_IMPURE, which are now
12832 2015-10-10 Andreas Schwab <schwab@linux-m68k.org>
12834 * src/data.c (Faset): Fix last change.
12836 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
12838 CHECK_IMPURE and PURE_P speedup
12840 * src/intervals.c (create_root_interval):
12841 Do CHECK_IMPURE only for strings; not needed for buffers.
12842 Prefer ! STRINGP to BUFFERP, for a tad more speed.
12843 * src/puresize.h (CHECK_IMPURE, PURE_P):
12844 Now inline functions instead of macros.
12845 (PURE_P): Don’t use XPNTR; that is now the caller’s responsibility.
12846 All callers changed.
12847 (CHECK_IMPURE): New argument PTR, to save us the work of running XPNTR.
12848 All callers changed.
12850 2015-10-09 Noah Friedman <friedman@splode.com>
12852 (tramp-open-connection-setup-interactive-shell): Send -onlcr as well.
12854 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
12856 * lisp/progmodes/cc-mode.el (c-after-font-lock-init): Only *move*
12858 our after-change-function, rather than re-adding it if it was removed.
12860 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
12862 * lisp/cedet/ede: Silence some compiler warnings
12864 * lisp/cedet/ede.el: Require cl-lib. Silence some compiler warnings.
12865 (ede-menu-obj-of-class-p): Use cl-some rather than `eval'.
12866 (ede-apply-object-keymap, ede-reset-all-buffers)
12867 (ede-auto-add-to-target): Use dolist.
12868 (ede-new, ede-flush-deleted-projects, ede-global-list-sanity-check):
12869 Use field names rather than initarg names in `oref'.
12870 (ede-load-project-file): Remove unused var `file'.
12871 (ede-map-any-target-p): Use cl-some rather than ede-map-targets.
12872 (ede-set): Remove unused var `a'.
12874 * lisp/cedet/ede/emacs.el: Silence some compiler warnings.
12875 (ede-project-autoload): Avoid the old-style "name" argument.
12876 (ede-emacs-find-matching-target): Use field names rather than initarg
12879 * lisp/cedet/ede/linux.el: Silence some compiler warnings.
12880 (ede-linux-load, ede-project-autoload): Avoid the old-style
12882 (ede-linux-find-matching-target): Use field names rather than initarg
12885 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
12887 * lisp/textmodes/reftex.el: Silence byte-compiler warnings.
12889 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
12891 * lisp/progmodes/prolog.el (prolog-smie-rules): Try and avoid
12892 indenting too far after ":-".
12894 2015-10-09 Eli Zaretskii <eliz@gnu.org>
12896 Update case-table and categories of recently added characters
12898 * lisp/international/characters.el: Update information about Latin
12899 Extended-C, Latin Extended-D, Latin Extended-E, Cyrillic Extended,
12900 Georgian, Glagolitic, Deseret, Old Hungarian, and Warang Citi
12901 blocks. (Byug#21654)
12903 2015-10-09 Martin Rudalics <rudalics@gmx.at>
12905 * src/frame.c (adjust_frame_size): In minibuffer-only windows
12906 don't count minibuffer height twice. (Bug#21643)
12908 2015-10-09 Eli Zaretskii <eliz@gnu.org>
12910 Avoid inflooping in font-lock
12912 * lisp/font-lock.el (font-lock-extend-region-wholelines): Bind
12913 inhibit-field-text-motion around the call to
12914 line-beginning-position, to avoid inflooping. (Bug#21615)
12916 2015-10-09 Tassilo Horn <tsdh@gnu.org>
12918 Refactor duplicated code; ensure default is in completions
12920 * lisp/textmodes/reftex-cite.el (reftex--query-search-regexps):
12922 (reftex-extract-bib-entries): Use it.
12923 (reftex-extract-bib-entries-from-thebibliography): Use it.
12925 2015-10-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
12927 * doc/misc/autotype.texi (Skeletons as Abbrevs): "if" -> "ifst"
12930 2015-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
12932 * lisp/calc/calc.el: Silence byte-compiler warnings.
12933 (calc-scan-for-dels): Use ignore-errors.
12934 (calc-dispatch, calc-do-dispatch): Make unused arg optional.
12935 (calc-read-key-sequence): Remove unused var `prompt2'.
12936 (calc-kill-stack-buffer): Remove unused var `buflist'.
12937 (calc): Remove unused var `oldbuf'.
12938 (calc-refresh): Use inhibit-read-only.
12939 (calc-can-abbrev-vectors): Declare.
12940 (calc-record): Remove unused var `mainbuf'.
12941 (math-sub-bignum): Remove unused var `sum'.
12942 (math-svo-c, math-svo-wid, math-svo-off): Declare.
12944 2015-10-08 Daiki Ueno <ueno@gnu.org>
12946 Use g_clear_error instead of g_error_free
12948 * src/image.c: Define g_clear_error instead of g_error_free.
12949 (init_svg_functions): Resolve symbol g_clear_error instead of
12951 (svg_load_image): Use g_clear_error instead of g_error_free, to
12952 suppress GLib warnings when ERR is not set. See bug#21641.
12954 2015-10-08 Paul Eggert <eggert@cs.ucla.edu>
12956 * src/image.c (image_size_error): Simplify.
12958 2015-10-08 Paul Eggert <eggert@cs.ucla.edu>
12960 Fix problems caught with --enable-gcc-warnings
12962 * src/image.c (lookup_rgb_color):
12963 * src/xfns.c (x_defined_color):
12964 * src/xterm.c (x_parse_color):
12965 Remove unused locals.
12967 2015-10-08 Jay Belanger <jay.p.belanger@gmail.com>
12969 * lisp/calc/calc.el (calc-digit-start-entry): Fix typo.
12971 2015-10-08 Jay Belanger <jay.p.belanger@gmail.com>
12973 Format initial input uniformly
12975 * lisp/calc/calc.el (calc-digit-start-entry): New function.
12976 * lisp/calc/calc.el (calcDigit-start):
12977 * lisp/calc/calc-aent.el (calc-alg-digit-entry):
12978 Use `calc-digit-start-entry' to format input.
12980 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
12982 Disable non-working pointerColor setting for X tooltip frame
12984 It generates a bunch of server traffic, but there's some bug wherein
12985 the new mouse cursor settings don't seem to get used. In most
12986 situations the cursor isn't likely to be seen anyway, so it's not
12989 * src/xfns.c (x_create_tip_frame): Don't set pointerColor.
12991 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
12993 Reduce some unnecessary X calls
12995 * src/xfns.c (x_real_pos_and_offsets): Remove a redundant XGetGeometry
12996 call. If border width is wanted, get it from the XGetGeometry call
12997 instead of calling XGetWindowAttributes on the same window. Skip some
12998 X calls if we've already detected an error from the X server.
12999 * src/xterm.c (x_wm_supports): Delete x_sync before x_had_errors_p.
13000 (handle_one_xevent): Delete XSync call before x_uncatch_errors.
13002 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
13004 Reduce color allocation/query traffic in the TrueColor case
13006 When working with an X visual with TrueColor class, pixel values can
13007 be generated from the RGB values according to mask value provided by
13008 the server on connection. Some of the image-handling code was already
13011 * src/xterm.h (x_make_truecolor_pixel): New function; code taken from
13013 (x_mutable_colormap): New function.
13014 * src/image.c (lookup_rgb_color): Move pixel composition code to
13015 x_make_truecolor_pixel.
13016 (x_kill_gs_process): Call x_mutable_colormap.
13017 * src/xfaces.c (x_free_colors, x_free_dpy_colors): Call
13018 x_mutable_colormap.
13019 * src/xftfont.c (xftfont_get_colors): Call x_query_colors.
13020 * src/xterm.c (x_query_colors): For a TrueColor display, decompose the
13021 pixel value into RGB values directly, and don't send a request to the
13023 (x_alloc_nearest_color): For a TrueColor display, construct the pixel
13024 value with x_make_truecolor_pixel.
13025 (x_copy_color): For an immutable color map, just return the provided
13028 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
13030 Cache XParseColor results in the X display info structure
13032 With repeated lookups of foreground and background colors for multiple
13033 faces per frame, we issue a lot of redundant color name lookups to the
13034 X server, waiting every time for the response. On a remote network
13035 with, say, 30ms round-trip time, this can add nearly a full second to
13036 creation of a new frame.
13038 * src/gtkutil.c (xg_check_special_colors): Call x_parse_color.
13039 * src/image.c (get_spec_bg_or_alpha_as_argb):
13040 (xpm_init_color_cache, xpm_lookup_color):
13041 * src/xfns.c (x_defined_color):
13042 * src/xterm.c (x_parse_color): New function; caches color names not
13043 starting with "#" in the display-info structure.
13044 (x_delete_display): Delete the cache content.
13045 * src/xterm.h (struct color_name_cache_entry): New type.
13046 (x_parse_color): Declare.
13047 (struct x_display_info): Add a new field for the cache.
13049 2015-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
13051 * src/syntax.c (syms_of_syntax): Make syntax-propertize--done local.
13053 2015-10-07 Eli Zaretskii <eliz@gnu.org>
13055 Fix segfault in image_size_error
13057 * src/image.c (image_size_error): Pass a Lisp string to
13058 image_error, not a C string. (Bug#21641)
13060 2015-10-07 Simen Heggestøyl <simenheg@gmail.com>
13062 Highlight CSS variable definitions
13064 * lisp/textmodes/css-mode.el (css-nmstart-re): Tweak regexp to accept
13065 CSS variables. (Bug#21638)
13067 2015-10-07 Artur Malabarba <bruce.connor.am@gmail.com>
13069 * test/automated/tabulated-list-test.el: New file.
13070 Test bug#21639 and some basic functionality.
13072 2015-10-07 Artur Malabarba <bruce.connor.am@gmail.com>
13074 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-sort):
13075 Check if column can be sorted before trying. (Bug#21639)
13077 2015-10-07 Nicolas Richard <youngfrog@members.fsf.org>
13079 Add test for `self-insert-command' (bug#21633)
13081 * test/automated/cmds-tests.el: New file.
13083 2015-10-07 Martin Rudalics <rudalics@gmx.at>
13085 * src/window.c (resize_frame_windows): Don't set root window's
13086 top position when resizing horizontally.
13088 2015-10-07 Artur Malabarba <bruce.connor.am@gmail.com>
13090 * lisp/progmodes/prog-mode.el (prettify-symbols-alist):
13091 Document more possible values.
13093 2015-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
13095 * lisp/textmodes/tex-mode.el: Use lexical-binding.
13097 2015-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
13099 * lisp/indent.el (indent--default-inside-comment): New function.
13100 (indent-for-tab-command): Use it for `noindent' indentation.
13102 2015-10-06 Paul Eggert <eggert@cs.ucla.edu>
13104 Fix bug in GC_CHECK_MARKED_OBJECTS check
13106 * src/alloc.c (mark_object): Fix bug in checking code.
13107 When GC_CHECK_MARKED_OBJECTS is defined, the bug caused
13108 CHECK_ALLOCATED_AND_LIVE_SYMBOL to repeatedly do the
13109 CHECK_ALLOCATED and CHECK_LIVE tests for the first symbol in each
13110 bucket. The bug did not affect behavior either in the normal case
13111 where GC_CHECK_MARKED_OBJECTS is not defined, or where Emacs does
13112 not have an internal error that a properly-written
13113 CHECK_ALLOCATED_AND_LIVE_SYMBOL would detect.
13115 2015-10-06 Tassilo Horn <tsdh@gnu.org>
13117 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
13118 Add prettified version for \\Bbb{Q}.
13120 2015-10-06 Artur Malabarba <bruce.connor.am@gmail.com>
13122 * test/automated/package-test.el (package-test-install-single):
13123 Add a test for bug#21625.
13125 2015-10-06 Aaron Ecay <aaronecay@gmail.com>
13127 * lisp/emacs-lisp/package.el (package-install): Fix error when pkg is
13128 not a package-desc object. Also clarify documentation. (Bug#21625)
13130 2015-10-06 Eli Zaretskii <eliz@gnu.org>
13132 Fix display of characters adjacent to ZWJ and ZWNJ
13134 * src/bidi.c (bidi_resolve_neutral): Treat all Bn (a.k.a. "control")
13135 characters the same as directional formatting controls.
13136 (bidi_level_of_next_char): Include all Bn characters in rule L1,
13137 as mandated by the UBA.
13139 2015-10-06 Andreas Schwab <schwab@suse.de>
13141 * src/cmds.c (Fself_insert_command): Don't use XFASTINT on a negative
13142 number. (Bug#21633)
13144 2015-10-05 Xue Fuqiao <xfq.free@gmail.com>
13146 * doc/lispref/objects.texi (Window Type): Add a cross reference.
13148 * src/buffer.c (syms_of_buffer): Typo fix. (Bug#21622)
13150 2015-10-05 Eli Zaretskii <eliz@gnu.org>
13152 * lisp/language/misc-lang.el (composition-function-table):
13153 Fix entries for Arabic and Syriac.
13155 2015-10-05 Damien Cassou <damien@cassou.me>
13157 Add first unit tests for auth-source.el
13159 * test/automated/auth-source-tests.el: New file.
13161 2015-10-05 Eli Zaretskii <eliz@gnu.org>
13163 Remove redundant redisplay code
13165 * src/xdisp.c (redisplay_internal, try_cursor_movement)
13166 (try_window_reusing_current_matrix, try_window_id): Remove
13167 redundant restrictions on redisplay optimizations based on the
13168 frame's 'redisplay' flag. See
13169 http://osdir.com/ml/general/2015-10/msg02110.html for the relevant
13172 2015-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
13174 * src/xdisp.c (windows_or_buffers_changed): Improve docstring.
13176 2015-10-04 Xue Fuqiao <xfq.free@gmail.com>
13178 Update tutorials/TUTORIAL.cn
13180 * etc/tutorials/TUTORIAL.cn: Improve translation.
13182 2015-10-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13184 * src/macfont.m (macfont_encode_char, syms_of_macfont):
13185 Remove unused vars.
13187 2015-10-04 Stefan Merten <stefan@merten-home.de>
13189 Pull in version numbers from rst.el upstream release.
13191 * lisp/textmodes/rst.el (rst-cvs-header, rst-svn-rev)
13192 (rst-svn-timestamp, rst-official-version)
13193 (rst-official-cvs-rev, rst-package-emacs-version-alist):
13194 Update version numbers.
13196 2015-10-04 Eli Zaretskii <eliz@gnu.org>
13198 * test/automated/coding-tests.el: New file.
13200 2015-10-04 Michael Albinus <michael.albinus@gmx.de>
13202 Improve XEmacs compatibility of Tramp
13204 * lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
13205 Declare if it doesn't exist.
13206 (file-remote-p): Remove defalias, which was necessary for GNU Emacs 21.
13207 (redisplay): Make it an alias if it doesn't exist.
13209 * lisp/net/tramp.el (tramp-get-remote-tmpdir): Don't use
13210 `file-remote-p' (due to XEmacs compatibility).
13212 * lisp/net/trampver.el (locate-dominating-file)
13213 (tramp-compat-replace-regexp-in-string): Autoload.
13214 (tramp-repository-get-version): Do not dupe byte-compiler.
13216 2015-09-02 K. Handa <handa@gnu.org>
13218 fix for the case that M17N_FLT_USE_NEW_FEATURE is not defined
13220 * src/ftfont.c (ftfont_drive_otf) [not M17N_FLT_USE_NEW_FEATURE]:
13221 Adjusted for the change of type of elements in the array
13222 MFLTGlyphString.glyphs.
13224 2015-10-04 Eli Zaretskii <eliz@gnu.org>
13225 Michael Heerdegen <michael_heerdegen@web.de>
13227 shr: fix too long lines in rendered buffers (Bug#21012)
13229 * lisp/net/shr.el (shr-insert-document, shr-fill-text):
13230 Correct calculation of available width.
13231 (shr-find-fill-point): Don't overflow window edge if shr-kinsoku-shorten
13234 2015-10-04 Vincent Belaïche <vincentb1@users.sourceforge.net>
13236 Restore blank line before next section, erroneously erased
13237 in my previous commit
13239 * etc/compilation.txt (symbol ant): Add an additional trailing blank
13240 line to this section, so that there are two of them immediately before
13243 2015-10-04 Vincent Belaïche <vincentb1@users.sourceforge.net>
13245 Support MSW filename style for ant compilation error regexp
13247 * etc/compilation.txt (symbol ant):
13248 * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
13249 Support MSW filename style.
13251 2015-10-03 Paul Eggert <eggert@cs.ucla.edu>
13253 * nt/INSTALL: Minor spelling and quote fixes.
13255 * lisp/ibuffer.el: Fix docstring length (Bug#21541).
13257 2015-10-03 Simen Heggestøyl <simenheg@gmail.com>
13259 Maintain ordering of JSON object keys by default
13261 * lisp/json.el (json-object-type): Mention order handling in doc-string.
13262 (json--plist-reverse): New utility function.
13263 (json-read-object): Maintain ordering for alists and plists.
13264 (json-pretty-print): Ensure that ordering is maintained.
13266 * test/automated/json-tests.el (test-json-plist-reverse): New test for
13267 `json--plist-reverse'.
13268 (json-read-simple-alist): Update test to accommodate for changes in
13269 `json-read-object'.
13271 * etc/NEWS: Document the new behavior of the pretty printing functions.
13273 2015-10-03 Andreas Schwab <schwab@linux-m68k.org>
13275 * src/coding.c (complement_process_encoding_system): Revert last change.
13277 2015-10-03 Ulf Jasper <ulf.jasper@web.de>
13279 * admin/MAINTAINERS: Add entry for Ulf Jasper.
13281 2015-10-03 Xue Fuqiao <xfq.free@gmail.com>
13283 Doc fix for `defmacro'
13285 * doc/lispref/objects.texi (Macro Type): `defmacro' is a macro now.
13287 2015-10-03 Andreas Schwab <schwab@linux-m68k.org>
13289 More validatation of coding systems
13291 * src/fileio.c (Finsert_file_contents): Remove redundant
13292 coding-system check.
13293 (choose_write_coding_system): Likewise.
13294 * src/coding.c (complement_process_encoding_system): Check argument
13295 for valid coding system.
13297 2015-10-03 Eli Zaretskii <eliz@gnu.org>
13299 Avoid crashes in coding_inherit_eol_type
13301 * src/coding.c (coding_inherit_eol_type): Check the validity of
13302 the arguments. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
13305 2015-10-03 Eli Zaretskii <eliz@gnu.org>
13307 More validatation of coding system in 'write-region'
13309 * src/coding.c (choose_write_coding_system): More validation of
13310 coding-system from various sources. Suggested by Andreas Schwab
13311 <schwab@linux-m68k.org>. (Bug#21602)
13313 2015-10-03 Eli Zaretskii <eliz@gnu.org>
13315 Avoid crashes due to invalid coding-system
13317 * src/fileio.c (choose_write_coding_system)
13318 (Finsert_file_contents): Check validity of coding-system-for-write
13319 and coding-system-for-read bound by the caller. (Bug#21602)
13321 2015-10-03 Tassilo Horn <tsdh@gnu.org>
13323 Adapt to new prettify-symbols-unprettify-at-point default
13325 * etc/NEWS: Mention that unprettication of symbol at point is off
13328 2015-10-03 Tassilo Horn <tsdh@gnu.org>
13330 Revert my two recent process.c changes
13332 Revert "Improve last commit to process.c" and "Remove callback-handled
13333 channels from Available set" because they did not fix bug#21313.
13335 This reverts commits bfa1aa8e2bdaf14adbbf1e9e824051d3f740694c and
13336 27f871907cc24f33a7d12ac3a4ab71a88f0bc554.
13338 2015-10-02 Markus Triska <triska@metalevel.at>
13340 * lisp/progmodes/prolog.el: Update and extend operator table.
13341 (prolog-smie-grammar): Add multifile, public etc.
13343 2015-10-02 Paul Eggert <eggert@cs.ucla.edu>
13345 Allow autogen even when Git is not installed
13347 * autogen.sh: Test ‘git status’ before trying to use Git.
13349 2015-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13351 * lisp/vc/vc-git.el (vc-git-region-history): Handle local changes.
13352 Adjust lto/lfrom when we have uncommitted changes.
13354 2015-10-02 Paul Eggert <eggert@cs.ucla.edu>
13356 Fix problems found by clang 3.5.0
13358 * src/cmds.c (Fdelete_char): Don’t assume XINT returns int.
13359 * src/font.c (font_parse_family_registry):
13360 Use &"str"[X] instead of "str"+X, to pacify clang -Wstring-plus-int.
13362 2015-10-02 Eli Zaretskii <eliz@gnu.org>
13364 * nt/INSTALL: Update instructions for running autogen.sh.
13366 * nt/INSTALL: Point to ezwinports for libXpm binaries.
13368 2015-10-02 Daniel Colascione <dancol@dancol.org>
13370 Fix winner in cl-lib not loaded case
13372 * lisp/winner.el (winner-change-fun): Don't use cl-lib functions
13373 without requiring CL
13375 2015-10-02 Paul Eggert <eggert@cs.ucla.edu>
13377 Fix a few problems with directed quotes
13379 This is in response to a problem report by Kaushal Modi in:
13380 http://bugs.gnu.org/21588#25
13381 * lisp/cedet/mode-local.el (describe-mode-local-overload):
13382 * lisp/emacs-lisp/bytecomp.el (byte-compile-fix-header):
13383 * lisp/info-xref.el (info-xref-check-all-custom):
13384 * lisp/mail/emacsbug.el (report-emacs-bug-hook):
13385 Prefer directed to undirected single quotes in diagnostics.
13387 2015-10-01 Eli Zaretskii <eliz@gnu.org>
13389 Revert "Attempt to fix slow redisplay caused by last changes"
13391 * src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
13392 (try_cursor_movement): Don't relax requirements for redisplay
13393 optimizations for the selected frame. (Bug#21597)
13395 This reverts commit c4c1fb97727ff52bcfa83ad5ed94a64a93d12e59.
13397 2015-10-01 Eli Zaretskii <eliz@gnu.org>
13399 Fix slow redisplay when daemon frame exists
13401 * src/xdisp.c (redisplay_internal): Don't consider daemon frames
13402 when looking for frames that need to be redisplayed. (Bug#21597)
13404 2015-10-01 Eli Zaretskii <eliz@gnu.org>
13406 Attempt to fix slow redisplay caused by last changes
13408 * src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
13409 (try_cursor_movement): Relax requirements for redisplay
13410 optimizations for the selected frame. (Bug#21597)
13412 2015-10-01 Stephen Leake <stephen_leake@stephe-leake.org>
13414 * src/dired.c (Ffile_name_completion, Ffile_name_all_completions):
13415 Improve doc string.
13417 2015-10-01 Stephen Leake <stephen_leake@stephe-leake.org>
13419 * lisp/minibuffer.el (minibuffer-completion-help):
13420 Set default base-size, in case completion table does not set it.
13422 2015-10-01 Eli Zaretskii <eliz@gnu.org>
13424 Fix GUD display of GDB output with non-ASCII text
13426 * lisp/progmodes/gdb-mi.el (gdb-mi-decode-strings): New defcustom.
13427 (gdb-mi-decode): New function.
13428 (gud-gdbmi-marker-filter): If gdb-mi-decode-strings is non-nil,
13429 decode octal escapes in GDB output. (Bug#21572)
13431 2015-10-01 Eli Zaretskii <eliz@gnu.org>
13433 * nt/INSTALL: Document where to find XPM support files.
13435 2015-10-01 Tassilo Horn <tsdh@gnu.org>
13437 Un- and re-prettification are not exclusive
13439 * lisp/progmodes/prog-mode.el (prettify-symbols--post-command-hook):
13440 Re-apply prettification to previous symbol also when unprettifying
13443 2015-10-01 Tassilo Horn <tsdh@gnu.org>
13445 Don't unprettify symbol at point by default
13447 * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
13448 Default to disabled (nil).
13450 2015-09-30 Artur Malabarba <bruce.connor.am@gmail.com>
13452 * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
13453 Support unprettifying when point is after a symbol.
13455 * etc/NEWS: Document `prettify-symbols-unprettify-at-point'.
13457 2015-09-30 Eli Zaretskii <eliz@gnu.org>
13459 Avoid assertion violations in push_prefix_prop
13461 * src/xdisp.c (push_prefix_prop): Avoid assertion violations when
13462 a line that has a line-prefix defined starts with an image. (Bug#21428)
13464 2015-09-30 Eli Zaretskii <eliz@gnu.org>
13466 Disable some display optimizations when frames need redisplay
13468 These optimizations were previously disabled by the
13469 windows_or_buffers_changed flag, which now is not set
13470 when only some frames need to be redrawn.
13471 * src/xdisp.c (redisplay_internal): Redisplay any frame whose
13472 'redisplay' flag is set.
13473 (try_window_reusing_current_matrix, try_window_id)
13474 (try_cursor_movement): Disable these optimizations when the
13475 frame's 'redisplay' flag is set.
13477 2015-09-30 Tassilo Horn <tsdh@gnu.org>
13479 Don't modify buffer by unprettification
13481 * lisp/progmodes/prog-mode.el (prettify-symbols--compose-symbol):
13482 (prettify-symbols--post-command-hook, prettify-symbols-mode): Don't
13483 modify buffer when setting/removing custom prettify-symbols-start/end
13484 text properties. Add them to font-lock-extra-managed-props, too.
13486 2015-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
13488 Try to avoid redisplaying all frames when creating a new one
13490 * src/xfns.c (x_set_menu_bar_lines, x_change_tool_bar_height):
13491 * src/xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face)
13492 (Finternal_set_lisp_face_attribute, update_face_from_frame_parameter):
13493 * src/frame.c (x_set_screen_gamma): Set the specific frame's
13494 `redisplay' bit rather than windows_or_buffers_changed.
13496 * src/window.c (apply_window_adjustment): Remove redundant setting of
13497 windows_or_buffers_changed.
13499 * src/xdisp.c (redisplay_internal): Set the specific frame's
13500 `redisplay' bit rather than update_mode_lines in response to
13501 cursor_type_changed.
13502 (syms_of_xdisp): Use hash-tables for redisplay_*_cause tables.
13503 (AINC): Adjust accordingly.
13505 2015-09-30 Tassilo Horn <tsdh@gnu.org>
13507 Implement unprettification of symbol at point
13509 * lisp/progmodes/prog-mode.el: Implement feature for unprettifying the
13511 (prettify-symbols--current-symbol-bounds): New variable.
13512 (prettify-symbols--post-command-hook): New function.
13513 (prettify-symbols-unprettify-at-point): New defcustom.
13514 (prettify-symbols-mode): Use it.
13515 (prettify-symbols--compose-symbol): Use them.
13517 2015-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13519 * src/macfont.m (mac_font_descriptor_supports_languages):
13520 Regard "zh" as synonym of "zh-Hans".
13522 2015-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13524 Work around crash when displaying etc/HELLO on OS X 10.11
13526 * src/macfont.m (mac_font_get_weight)
13527 (mac_font_descriptor_get_adjusted_weight): New functions.
13528 (macfont_store_descriptor_attributes): Adjust weight.
13530 2015-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13532 * src/macfont.m: Fix compilation with USE_CT_GLYPH_INFO.
13534 2015-09-30 Nicolas Petton <nicolas@petton.fr>
13536 * lisp/arc-mode.el (archive-rar-summarize): Better alignment
13539 2015-09-30 Nicolas Petton <nicolas@petton.fr>
13541 Use unar and lsar to handle RAR archives in arc-mode
13543 * lisp/arc-mode.el (archive-rar-extract, archive-extract-by-file): Rely
13544 on unar and lsar instead of unrar-free for RAR archives (bug#17663).
13546 2015-09-30 Wieland Hoffmann <themineo@gmail.com> (tiny change)
13548 Clarify :create in auth-source's docs
13550 * lisp/gnus/auth-source.el (auth-source-search):
13551 Clarify :create's meaning.
13553 2015-09-30 Phil Sainty <psainty@orcon.net.nz>
13555 Avoid empty -path arguments in rgrep
13557 * lisp/progmodes/grep.el (rgrep-default-command): Remove nil from
13558 the list produced according to grep-find-ignored-directories,
13559 before passing it to Find/Grep invocation. (Bug#21548)
13561 2015-09-30 Eli Zaretskii <eliz@gnu.org>
13563 Clarify documentation of pos-visible-in-window-p
13565 * src/window.c (Fpos_visible_in_window_p): Clarify the meaning of
13567 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg01040.html
13568 for the original report.
13570 * doc/lispref/windows.texi (Window Start and End): Clarify the
13571 meaning of t for the POSITION argument of pos-visible-in-window-p.
13573 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
13575 * lisp/progmodes/prolog.el: Fix various indentation cases.
13576 (prolog-operator-chars): New const (add \\).
13577 (prolog-smie-forward-token, prolog-smie-backward-token): Use it.
13578 (prolog-smie-rules): Add rules according to bug#21526.
13580 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
13582 * lisp/progmodes/sh-script.el: Old "dumb" continued line indent.
13583 (sh-indent-after-continuation): Add new value `always' (bug#17620)
13584 (sh-smie-sh-rules): Remove old handling of continued lines.
13585 (sh-smie--indent-continuation): New function.
13586 (sh-set-shell): Use it.
13588 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
13590 * lisp/progmodes/octave.el: Use grammar more; Handle enumeration fun.
13591 Remove redundant :group keyword args.
13592 (octave-begin-keywords, octave-else-keywords, octave-end-keywords):
13594 (octave-operator-table, octave-smie-bnf-table): Use let-when-compile to
13595 turn them into compile-time variables.
13596 Auto-generate the "foo ... end" rules from the "foo ... endfoo" rules.
13597 Add rules for break, continue, return, global, and persistent.
13598 Refine the rule for "until".
13599 (octave-smie--funcall-p, octave-smie--end-index-p)
13600 (octave-smie--in-parens-p): New functions.
13601 (octave-smie-backward-token, octave-smie-forward-token): Use them to
13602 distinguish the "enumeration" function and the "end" index from
13603 their corresponding keywords.
13604 (octave--block-offset-keywords): New constant.
13605 (octave-smie-rules): Use it. Adjust rules for new global/persistent
13607 (octave-reserved-words): Redefine using octave-smie-grammar.
13608 (octave-font-lock-keywords): Use octave-smie--funcall-p and
13609 octave-smie--end-index-p.
13611 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
13613 * lisp/emacs-lisp/lisp-mode.el (let-when-compile): Work like let*.
13615 2015-09-29 Eli Zaretskii <eliz@gnu.org>
13617 * nt/INSTALL: Remove references to GTK site.
13618 That site no longer offers Windows downloads.
13620 2015-09-29 Eli Zaretskii <eliz@gnu.org>
13622 * nt/INSTALL: Add instructions for installing Git.
13624 2015-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
13626 * lisp/net/shr.el (shr-colorize-region): Allow 88-color tty to
13627 use colors. Suggested by Eli Zaretskii.
13629 2015-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
13631 * lisp/net/shr.el (shr-colorize-region): Don't do it on a system
13632 not supporting 256 above colors (bug#21557).
13634 2015-09-28 Dmitry Gutov <dgutov@yandex.ru>
13636 Revert "Don't rely on defaults in decoding UTF-8 encoded Lisp files"
13638 This reverts commit db828f62f6f17414fbbc3206dac123dc73dd6055.
13640 2015-09-28 Nicolas Petton <nicolas@petton.fr>
13642 Add documentation for seq.el
13644 * doc/lispref/sequences.texi: Add documentation regarding extending
13645 seq.el, as well as missing documentation for seq-elt, seq-length, seq-p,
13646 seq-do and seq-map.
13648 2015-09-28 Nicolas Petton <nicolas@petton.fr>
13650 Better documentation for seq-some
13652 * doc/lispref/sequences.texi:
13653 * lisp/emacs-lisp/seq.el: Update the documentation of seq-some to
13654 guarantee that the returned value is the first non-nil value that
13655 resulted from applying the predicate.
13657 2015-09-28 Nicolas Petton <nicolas@petton.fr>
13659 * lisp/arc-mode.el: Sharp-quote function arguments.
13661 2015-09-28 Eli Zaretskii <eliz@gnu.org>
13663 Avoid redisplay error in ediff-regions-wordwise
13665 * lisp/vc/ediff-util.el
13666 (ediff-clone-buffer-for-region-comparison): Make sure the mark is
13667 set before activating it. (Bug#21567)
13669 2015-09-28 Eli Zaretskii <eliz@gnu.org>
13671 Another attempt to fix crashes due to prematurely freed faces
13673 * src/xdisp.c (redisplay_internal): Inhibit freeing of realized
13674 faces for as long as we might have desired matrices that reference
13675 those faces. (Bug#21428)
13677 2015-09-28 Tassilo Horn <tsdh@gnu.org>
13679 Add auctex development list email address
13681 2015-09-28 Tassilo Horn <tsdh@gnu.org>
13683 * admin/MAINTAINERS: Add entries for AUCTeX team and myself.
13685 2015-09-28 Arash Esbati <esbati@gmx.de> (tiny change)
13687 Improve wrapfig package support and caption parsing
13689 * lisp/textmodes/reftex-vars.el (reftex-label-alist-builtin):
13690 Correct description string and add wraptable environment.
13691 (reftex-default-context-regexps): Improve caption regexp.
13693 2015-09-28 Anders Lindgren <andlind@gmail.com>
13695 Respect value of frame_resize_pixelwise when handling fullscreen state
13697 * src/nsterm.m (handleFS): Respect frame_resize_pixelwise when
13698 setting size increments.
13700 2015-09-27 Michael Albinus <michael.albinus@gmx.de>
13702 * src/gfilenotify.c (Fgfile_add_watch): Cleanup temporary variable.
13704 2015-09-27 Simen Heggestøyl <simenheg@gmail.com>
13706 Add prettify-symbols-alist for js-mode
13708 * lisp/progmodes/js.el (js--prettify-symbols-alist): New defconst.
13711 2015-09-27 Eli Zaretskii <eliz@gnu.org>
13713 * nt/subdirs.el: File deleted (no longer used).
13715 2015-09-26 Alan Mackenzie <acm@muc.de>
13717 Fix follow-scroll-up/down, making them replacements for scroll-up/down
13719 1. Allow point to move between follow windows in scroll operations.
13720 2. Fix bug where `right-char' just before EOB caused spurious scrolling,
13721 when EOB was isolated in the last follow window.
13723 * lisp/follow.el (follow-fixed-window): New variable.
13724 (follow-get-scrolled-point): New function.
13725 (follow-scrol-up, follow-scroll-down): Add autoload cookies.
13726 Reformulate the code. Put `scroll-command' properties on the functions.
13727 Correct minor errors in ...-down's doc string and code.
13728 (follow-calc-win-end): Amend incomplete doc string. Use
13729 `pos-visible-in-window-p' to check whether EOB is in the window.
13730 (follow-estimate-first-window-start): Correct an off-by-1 error.
13731 (follow-adjust-window): Add handling for explicit scrolling operations.
13733 2015-09-26 Paul Eggert <eggert@cs.ucla.edu>
13735 * admin/MAINTAINERS: Add self, plus list some more files
13738 2015-09-26 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
13740 New DWIM commands for changing letter-case
13742 * lisp/simple.el (upcase-dwim, downcase-dwim, capitalize-dwim):
13743 New functions. (Bug#21501)
13745 2015-09-26 Eli Zaretskii <eliz@gnu.org>
13747 * etc/PROBLEMS: Document problems with pasting on MS-Windows.
13749 2015-09-26 Eli Zaretskii <eliz@gnu.org>
13751 Make face realization be more frame-specific
13753 * src/frame.h (struct f): New flag face_change.
13754 * src/xfaces.c (Finternal_make_lisp_face)
13755 (Finternal_copy_lisp_face, Finternal_set_lisp_face_attribute)
13756 (update_face_from_frame_parameter): Set the face_change flag only
13757 for the frame whose faces are affected.
13758 * src/xdisp.c (init_iterator): If a frame's face_change flag is
13759 set, free faces only on that frame.
13760 (redisplay_internal): Disable "display optimization 1" if the
13761 frame's face_change flag is set.
13762 (redisplay_window): Don't allow skipping a window's redisplay if
13763 its frame's face_change flag is set.
13764 * src/frame.c (x_set_screen_gamma): Instead of calling
13765 Fclear_face_cache, call clear_face_cache and set
13766 windows_or_buffers_changed to a non-zero value. This avoids
13767 setting the global face_change flag that triggers face realization
13768 on all frames and thorough redisplay of all of them.
13770 * lisp/term/tty-colors.el (tty-register-default-colors): Don't
13771 clear face cache if the selected frame is a GUI frame.
13773 2015-09-26 Tassilo Horn <tsdh@gnu.org>
13775 Remove font-latex specific check
13777 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
13778 Use syntax-ppss data to identify verbatim contents.
13780 2015-09-25 Tassilo Horn <tsdh@gnu.org>
13782 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
13783 Fix some false negatives.
13785 2015-09-25 Eli Zaretskii <eliz@gnu.org>
13787 Reorder Windows version in Emacs manifests
13789 * nt/emacs-x64.manifest:
13790 * nt/emacs-x86.manifest: Reorder Windows version from lowest to
13793 2015-09-25 Eli Zaretskii <eliz@gnu.org>
13795 Update Emacs manifest files for Windows 10
13797 * nt/emacs-x86.manifest:
13798 * nt/emacs-x64.manifest: Declare compatibility with Windows 10.
13800 2015-09-25 Eli Zaretskii <eliz@gnu.org>
13802 Avoid non-ASCII decoding errors in C src files
13807 * src/doprnt.c: Add 'coding' cookies -- these files include
13808 Unicode characters and should be decoded as UTF-8.
13810 2015-09-25 Alan Mackenzie <acm@muc.de>
13812 Resurrect edebug-set-initial-mode, repurposing it to set the global mode
13814 * lisp/emacs-lisp/edebug.el (edebug-initial-mode-alist): Uncomment, and
13815 amend to match current modes and functions.
13816 (edebug-set-initial-mode): Uncomment and change from setting a defun's
13817 `edebug-initial-mode''s property to setting the variable
13818 `edebug-initial-mode'.
13819 (top level): Create new binding C-x C-a C-m for
13820 `edebug-set-initial-mode'.
13822 * doc/lispref/edebug.texi (Edebug Execution Modes): Document
13823 `edebug-set-initial-mode' and its new key binding.
13824 (Edebug Options): Mention the new command in the pertinent place.
13826 * etc/NEWS: Write entry for this change.
13828 2015-09-25 Eli Zaretskii <eliz@gnu.org>
13830 Avoid non-ASCII decoding errors in Texinfo files
13832 * doc/misc/tramp.texi:
13833 * doc/lispref/strings.texi:
13834 * doc/lispref/positions.texi:
13835 * doc/lispref/help.texi:
13836 * doc/lispref/functions.texi:
13837 * doc/lispintro/emacs-lisp-intro.texi:
13838 * doc/emacs/text.texi:
13839 * doc/emacs/modes.texi:
13840 * doc/emacs/mini.texi:
13841 * doc/emacs/display.texi:
13842 * doc/emacs/custom.texi:
13843 * doc/emacs/basic.texi: Add 'coding' cookies -- these files use
13844 Unicode characters and should be decoded as UTF-8.
13845 * doc/lispref/frames.texi (Size Parameters): Don't use a non-ASCII
13846 apostrophe unnecessarily.
13848 2015-09-25 Paul Eggert <eggert@cs.ucla.edu>
13853 2015-09-25 c-ctype: rewrite to use inline functions
13854 2015-09-24 maint: add coding cookies to non-ASCII sources
13855 2015-09-24 gitlog-to-changelog: trim only trailing whitespaces
13856 * build-aux/gitlog-to-changelog, doc/misc/texinfo.tex:
13857 * lib/acl-internal.c, lib/acl-internal.h, lib/c-ctype.c:
13858 * lib/c-ctype.h, lib/get-permissions.c, lib/qcopy-acl.c:
13859 * lib/set-permissions.c:
13862 2015-09-24 Paul Eggert <eggert@cs.ucla.edu>
13864 Update publicsuffix.txt from upstream
13866 * etc/publicsuffix.txt: Update from
13867 https://publicsuffix.org/list/effective_tld_names.dat
13868 dated 2015-09-24 17:29:21 UTC.
13870 2015-09-24 Eli Zaretskii <eliz@gnu.org>
13872 Prevent timers from messing up TTY menus
13874 * src/term.c (tty_menu_activate): Inhibit redisplay for as long as
13875 the TTY menu is open. (Bug#21530)
13877 2015-09-24 Paul Eggert <eggert@cs.ucla.edu>
13879 No need to mention K&R C in c-mode intro
13881 2015-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
13883 Fix recent bootstrap problems
13885 * src/syntax.c (parse_sexp_propertize): Fix last fix.
13886 * lisp/nxml/nxml-mode.el (nxml-comment-quote-nested): Fix paren typo.
13887 * lisp/emacs-lisp/lisp-mode.el: Require cl-lib for cl-progv.
13889 2015-09-24 Michael Albinus <michael.albinus@gmx.de>
13891 * src/gfilenotify.c (Fgfile_add_watch): Decrease polling rate.
13893 2015-09-23 Ivan Andrus <darthandrus@gmail.com>
13895 Properly quote nested xml comments (Bug#6267) (Bug#20001)
13897 * lisp/nxml/nxml-mode.el (nxml-comment-quote-nested): New function.
13898 (nxml-mode): Set comment-quote-nested-function.
13900 2015-09-23 Ivan Andrus <darthandrus@gmail.com>
13902 Allow major-modes full control over quoting nested comments
13904 * lisp/newcomment.el (comment-quote-nested-function): New variable.
13905 (comment-quote-nested-default): New function.
13906 (comment-quote-nested): Use `comment-quote-nested-function'.
13908 2015-09-23 Paul Eggert <eggert@cs.ucla.edu>
13910 Prefer CALLN in a few more places
13912 * src/macfont.m (macfont_set_family_cache):
13913 * src/nsterm.m (append2):
13914 * src/xterm.c (x_cr_export_frames):
13915 Prefer CALLN to allocating the arg arrays by hand.
13917 2015-09-23 Michael Albinus <michael.albinus@gmx.de>
13919 Adapt file-notify-test02-events test case
13921 * test/automated/file-notify-tests.el (file-notify-test02-events):
13922 Create a new watch for every test.
13924 2015-09-23 Michael Albinus <michael.albinus@gmx.de>
13926 Continue gfilenotify.c implementation of missing parts
13928 * lisp/filenotify.el (file-notify-add-watch): Append `flags' to
13929 `gfile-add-watch' call.
13930 (file-notify-rm-watch): Modify `file-notify-descriptors' only
13931 after calling the low level functions.
13933 * src/gfilenotify.c (dir_monitor_callback): Check, whether
13934 event_type is expected.
13935 (Fgfile_add_watch): Allow also `change'and `attribute-change' for FLAGS.
13936 (Fgfile_rm_watch): Fix typo.
13937 (syms_of_gfilenotify): Declare Qchange and Qattribute_change.
13939 2015-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13941 * src/syntax.c (parse_sexp_propertize): Handle spurious
13942 e_property_truncated flag.
13943 (update_syntax_table_forward): Remove invalid assertion.
13945 2015-09-23 Eli Zaretskii <eliz@gnu.org>
13947 * src/xdisp.c (produce_stretch_glyph): Support ':relative-width'
13948 space display spec on text-mode terminals, by calling
13949 PRODUCE_GLYPHS instead of x_produce_glyphs. Remove the
13950 HAVE_WINDOW_SYSTEM guards from the supporting code, as well as the
13951 test for a GUI frame.
13953 2015-09-23 Oleh Krehel <ohwoeowho@gmail.com>
13955 Move let-when-compile to lisp-mode.el
13957 This fixes the bootstrapping problem of `let-when-compile' using
13958 `cl-progv' while being in subr.el (i.e. before cl stuff was loaded).
13960 2015-09-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
13962 * lisp/url/url-http.el (url-http-parse-headers): Do not
13963 automatically include Authorization header in redirect.
13966 2015-09-22 Eli Zaretskii <eliz@gnu.org>
13968 Clarify documentation of ':relative-width'
13970 * doc/lispref/display.texi (Specified Space): Document that
13971 ':relative-width' is only supported on GUI frames.
13973 2015-09-22 Eli Zaretskii <eliz@gnu.org>
13975 Fix 'current-column' in presence of :relative-width
13977 * src/indent.c (check_display_width): Support ':relative-width'
13978 in a display spec that specifies a stretch glyph. (Bug#21533)
13980 2015-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13982 Reformat the pdbtrack remote-file fix ChangeLog.2 entry
13984 ... to conform better to CONTRIBUTE guidelines.
13986 2015-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
13988 * lisp/progmodes/prolog.el: Fix indentation of empty line
13990 * lisp/emacs-lisp/smie.el (smie-rules-function): Document new
13991 `empty-line-token' element.
13992 (smie-indent-empty-line): New function.
13993 (smie-indent-functions): Add it.
13995 * lisp/progmodes/prolog.el (prolog-smie-rules): Fix :list-intro
13996 behavior and use the new `empty-line-token' element (bug#21526).
13997 (prolog-mode-variables): Fix comment-start-skip setting to match
14000 * test/indent/prolog.prolog: Add nested indentation tests.
14002 * lisp/newcomment.el (comment-normalize-vars): Fix default value of
14003 comment-start-skip not to misuse submatch 1.
14005 2015-09-22 Alan Mackenzie <acm@muc.de>
14007 Make description of `edebug-initial-mode' user friendly
14011 * doc/lispref/edebug.texi (Edebug Execution Modes): Change the
14012 description of `edebug-initial-mode' from that of its implementation
14013 to that of its visual effect and use. Move the paragraph higher up.
14015 2015-09-22 Eli Zaretskii <eliz@gnu.org>
14017 lisp/progmodes/gud.el (gud-format-command): Fix last commit
14019 * lisp/progmodes/gud.el (gud-format-command): Don't use Tramp internal
14020 functions 'tramp-file-name-localname' and 'tramp-dissect-file-name'.
14022 2015-09-22 Tassilo Horn <tsdh@gnu.org>
14024 Improve last commit to process.c
14026 2015-09-22 Michael Albinus <michael.albinus@gmx.de>
14028 Implement gfile-valid-p
14030 * lisp/filenotify.el (file-notify-callback): Fix typo.
14031 (gfile-valid-p): Remove defalias.
14033 * src/gfilenotify.c (dir_monitor_callback): Cancel the monitor if
14034 the file or directory to be watched is deleted.
14035 (Fgfile_add_watch): Make watch_object a triple.
14036 (Fgfile_rm_watch): Check, whether watch is cancelled already.
14037 (Fgfile_valid_p): New defun.
14038 (syms_of_gfilenotify): Declare Sgfile_valid_p.
14040 2015-09-22 Tassilo Horn <tsdh@gnu.org>
14042 Remove callback-handled channels from Available set
14044 * src/process.c (wait_reading_process_output): Remove channel from
14045 Available set if it is handled by a callback, e.g., dbus or
14046 inotify (bug#21313).
14048 2015-09-21 Mark Oteiza <mvoteiza@udel.edu>
14050 Use lunate epsilon for TeX \epsilon
14052 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
14053 Add \varepsilon using GREEK SMALL LETTER EPSILON, and change
14054 \epsilon to use GREEK LUNATE EPSILON SYMBOL
14056 2015-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14058 * lisp/progmodes/prolog.el: Fix nested electric if-then-else
14060 * lisp/progmodes/prolog.el (prolog-find-unmatched-paren): Use innermost
14061 rather than outermost paren (bug#21526).
14063 2015-09-21 Paul Eggert <eggert@cs.ucla.edu>
14065 Improve git diff hunk headers for .el, .texi
14067 Problem reported by Alan Mackenzie in:
14068 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00826.html
14069 * .gitattributes (*.el, *.texi): New patterns.
14070 * autogen.sh: Configure diff.elisp.xfuncname and
14071 diff.texinfo.xfuncname if using Git.
14073 2015-09-21 Eli Zaretskii <eliz@gnu.org>
14075 Don't rely on defaults in decoding UTF-8 encoded Lisp files
14078 * lisp/textmodes/rst.el:
14079 * lisp/whitespace.el: Add an explicit UTF-8 encoding tag.
14081 2015-09-21 Paul Eggert <eggert@cs.ucla.edu>
14083 Clarify or replace a few \u escapes
14085 * doc/lispref/nonascii.texi (Character Properties)
14086 More-detailed commentary for \u escapes.
14087 * lisp/progmodes/python.el (python--prettify-symbols-alist):
14088 * lisp/replace.el (query-replace-from-to-separator):
14089 * lisp/textmodes/rst.el (rst-bullets, rst-re-alist-def)
14090 (rst-mode-syntax-table):
14091 * lisp/whitespace.el (whitespace-display-mappings):
14092 Prefer actual character to \u escape when this makes the code
14093 easier to follow in the usual case where Unicode chars can be
14096 2015-09-21 Paul Eggert <eggert@cs.ucla.edu>
14098 Pacify GCC -Wmaybe-uninitialized in xdisp.c
14100 * src/xdisp.c (face_before_or_after_it_pos): Use do-while rather
14101 than while loop to avoid GCC -Wmaybe-uninitialized diagnostic with
14102 charpos. The loop should always execute at least once anyway.
14104 2015-09-21 Tassilo Horn <tsdh@gnu.org>
14106 Signal error on invalid regexp
14108 * lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries):
14109 Signal an error when the user tries searching with a regexp
14110 matching the empty string.
14112 2015-09-21 Eli Zaretskii <eliz@gnu.org>
14114 Another fix of file-notify-tests for w32notify
14116 * test/automated/file-notify-tests.el (file-notify-test02-events):
14117 Further adaptation for w32notify: reduce the number of expected
14118 'changed' events. (Bug#21435)
14120 2015-09-21 Michael Albinus <michael.albinus@gmx.de>
14122 Adapt tests and manual for w32notify
14124 * doc/lispref/os.texi (File Notifications): w32notify does not
14125 send `attribute-changed' events.
14127 * test/automated/file-notify-tests.el (file-notify--test-with-events):
14128 Simplify parameters. Adapt all callees.
14129 (file-notify-test02-events): w32notify does not send
14130 `attribute-changed' events.
14131 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
14132 Do not skip in case of w32notify. Simply ignore this part of the test.
14134 2015-09-21 Dima Kogan <dima@secretsauce.net>
14136 Fix setting breakpoints when remote-debugging
14138 * lisp/progmodes/gud.el (gud-format-command): Send localized file
14139 names to the debugger running on the remote. (Bug#13304)
14141 2015-09-21 Nicolas Petton <nicolas@petton.fr>
14143 Better docstring and parameter name for seq-find
14145 * lisp/emacs-lisp/seq.el (seq-find): Improve the docstring and rename
14146 the parameter `sentinel' to `default'.
14148 * doc/lispref/sequences.texi (Sequence Functions): Update the
14149 documentation for `seq-find' accordingly.
14151 2015-09-21 Eli Zaretskii <eliz@gnu.org>
14153 Avoid infinite recursion while displaying box face
14155 * src/xdisp.c (face_before_or_after_it_pos): Fix calculation of
14156 the previous string/buffer character position under bidi
14157 iteration. (Bug#21428)
14159 2015-09-21 Anders Lindgren <andlind@gmail.com>
14161 Keep upper edge unchanged when changing size of NS frame
14163 * src/nsterm.m (x_set_window_size): Keep upper frame edge unchanged
14166 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14168 * lisp/progmodes/prolog.el: Improve handling of if/then/else.
14169 (prolog-smie-rules): Accommodate standard if/then/else special
14171 (prolog-mode): Add . to electric-indent-chars.
14172 (prolog-electric--if-then-else): Re-indent the line before adding space
14173 after the new char (bug#21526).
14175 2015-09-20 Mark Oteiza <mvoteiza@udel.edu>
14177 Add prettify symbols to python-mode
14179 * lisp/progmodes/python.el (python-prettify-symbols-alist):
14181 (python-mode): Use it
14183 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14185 * lisp/emacs-lisp/syntax.el (syntax-begin-function): Make obsolete.
14187 2015-09-20 Jostein Kjønigsen <jostein@secure.kjonigsen.net> (tiny change)
14189 (compilation-error-regexp-alist-alist): Tone down guile-file
14191 * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
14192 Make guile-file a bit less enthusiastic (bug#21496).
14194 2015-09-20 Drew Csillag <drew@thecsillags.com>
14196 * lisp/progmodes/m4-mode.el (m4-font-lock-keywords):
14197 Fix m4_* highlighting.
14199 * lisp/progmodes/m4-mode.el (m4-font-lock-keywords): Fix recognition
14200 of commands when they have a "m4_" prefix.
14202 2015-09-20 Paul Eggert <eggert@cs.ucla.edu>
14204 '.' -> `.' in doc string
14206 * lisp/emacs-lisp/timer.el (run-at-time): In doc string, quote
14207 individual chars with grave quotes instead of straight quotes, as
14208 this works better when they are translated to curved quotes.
14210 2015-09-20 Michael Albinus <michael.albinus@gmx.de>
14212 Improve file notifications, especially for Tramp
14214 * doc/lispref/files.texi (Magic File Names):
14215 Mention `file-notify-valid-p'.
14217 * doc/lispref/os.texi (File Notifications):
14218 Describe `file-notify-valid-p'.
14220 * etc/NEWS: Add `file-notify-valid-p'.
14222 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch):
14223 Improve implementation.
14224 (tramp-gvfs-monitor-file-process-filter): Rename from
14225 `tramp-gvfs-file-gvfs-monitor-file-process-filter'. Delete
14226 process if appropriate.
14228 * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
14229 Improve implementation.
14230 (tramp-sh-gvfs-monitor-dir-process-filter): Rename from
14231 `tramp-sh-file-gvfs-monitor-dir-process-filter'. Delete process
14233 (tramp-sh-inotifywait-process-filter): Rename from
14234 `tramp-sh-file-inotifywait-process-filter'. Delete process if
14237 * lisp/net/tramp.el (tramp-handle-file-notify-rm-watch):
14238 Use `delete-process'.
14239 (tramp-handle-file-notify-valid-p): Check also, that file or
14240 directory to be watched still exists.
14242 * test/automated/file-notify-tests.el (file-notify--test-timeout):
14243 New defun. Use it at all places a timeout is needed.
14244 (file-notify--test-cleanup): Delete directories recursively.
14245 Cleanup also Tramp connections.
14246 (file-notify-test02-events): Add tests for `attribute-change'.
14247 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
14248 Add tests for `file-notify-rm-watch'.
14250 2015-09-20 Paul Eggert <eggert@cs.ucla.edu>
14252 Use %s to format strings instead of splicing them
14254 If FOO might contain quotes that are part of a file or variable
14255 name, the quotes should not be translated when showing FOO’s name
14256 in a diagnostic. So, for example, (message (concat (FOO ": bar")))
14257 is not quite right, as it would translate FOO’s quotes.
14258 Change it to (message "%s: bar" FOO) instead.
14259 * lisp/allout.el (allout-process-exposed):
14260 * lisp/calc/calc-ext.el (calc-do-prefix-help):
14261 * lisp/calc/calc-store.el (calc-store-into):
14262 * lisp/calendar/todo-mode.el (todo-category-completions):
14263 * lisp/cedet/semantic/complete.el (semantic-completion-message):
14264 * lisp/org/ob-latex.el (convert-pdf):
14265 * lisp/org/org-crypt.el (org-crypt-check-auto-save):
14266 * lisp/org/ox-latex.el (org-latex-compile):
14267 * lisp/org/ox-man.el (org-man-compile):
14268 * lisp/org/ox-odt.el (org-odt--export-wrap):
14269 * lisp/org/ox-texinfo.el (org-texinfo-compile):
14270 * lisp/progmodes/ruby-mode.el (ruby-in-ppss-context-p):
14271 * lisp/progmodes/verilog-mode.el (verilog-batch-execute-func)
14272 (verilog-signals-combine-bus, verilog-read-defines)
14273 (verilog-getopt-file, verilog-expand-dirnames)
14274 (verilog-modi-lookup, verilog-modi-modport-lookup-one):
14275 * lisp/term/ns-win.el (ns-spi-service-call):
14276 Use %s to avoid translating quotes of file names etc. in diagnostics.
14278 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14280 * lisp/progmodes/js.el (js--syntax-begin-function): Remove.
14281 (js-mode): Don't set syntax-begin-function.
14283 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14285 * lisp/font-lock.el (font-lock-compile-keywords): Don't assume
14286 syntax-begin-function is a symbol.
14288 2015-09-20 Eli Zaretskii <eliz@gnu.org>
14290 Improve documentation of 'run-at-time'
14291 * lisp/emacs-lisp/timer.el (run-at-time): Improve the doc string.
14292 In particular, don't refer to 'diary-entry-time', because it is
14293 unavailable until diary-lib is loaded. Also, refer to
14294 'timer-duration-words', not 'timer-duration', as the latter's doc
14295 string says nothing about the accepted strings.
14297 2015-09-19 Jay Belanger <jay.p.belanger@gmail.com>
14299 * lisp/calc/calc-ext.el (calc-do-prefix-help): Tidy up error message.
14301 2015-09-19 Ken Manheimer <ken.manheimer@gmail.com>
14303 Repair pdbtrack remote file tracking
14304 * lisp/progmodes/python.el (python-pdbtrack-set-tracked-buffer):
14305 Rectify pdbtrack so it follows transitions from one remote source
14308 2015-09-19 Artur Malabarba <bruce.connor.am@gmail.com>
14310 * lisp/emacs-lisp/timer.el (run-at-time): Docstring formatting.
14312 2015-09-19 Eli Zaretskii <eliz@gnu.org>
14314 Adapt vc-src to the old-new vc-checkin API
14315 * lisp/vc/vc-src.el (vc-src-checkin): Accept and ignore an
14316 additional optional parameter.
14318 2015-09-19 Simen Heggestøyl <simenheg@gmail.com>
14320 Add overflow module to CSS property list
14321 * lisp/textmodes/css-mode.el (css-property-ids): Add properties
14322 from CSS Overflow Module Level 3.
14324 2015-09-19 Eli Zaretskii <eliz@gnu.org>
14326 Fix documentation of "C-u C-x v v"
14327 * doc/emacs/maintaining.texi (Advanced C-x v v): Make the
14328 documentation of "C-u C-x v v" match what the code does.
14330 Resurrect the ability to specify a revision in vc-next-action
14331 * lisp/vc/vc-bzr.el (vc-bzr-checkin):
14332 * lisp/vc/vc-dav.el (vc-dav-checkin):
14333 * lisp/vc/vc-git.el (vc-git-checkin):
14334 * lisp/vc/vc-hg.el (vc-hg-checkin):
14335 * lisp/vc/vc-mtn.el (vc-mtn-checkin): Accept and silently ignore
14336 an additional optional argument, the revision to checkin.
14337 * lisp/vc/vc-sccs.el (vc-sccs-checkin):
14338 * lisp/vc/vc-cvs.el (vc-cvs-checkin):
14339 * lisp/vc/vc-rcs.el (vc-rcs-checkin): Allow to optionally specify
14340 a revision to checkin.
14341 * lisp/vc/vc.el (vc-next-action): Allow to optionally specify the
14342 revision when checking in files.
14343 See http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00688.html
14346 2015-09-18 Wilson Snyder <wsnyder@wsnyder.org>
14348 * lisp/progmodes/verilog-mode.el (verilog-forward-sexp-function)
14349 (verilog-decls-princ, verilog-modport-princ)
14350 (verilog-modi-modport-lookup-one): Fix checkdoc warnings.
14352 2015-09-17 Jay Belanger <jay.p.belanger@gmail.com>
14354 Fix the routine for help on Calc's prefixes
14355 * lisp/calc/calc-ext.el (calc-prefix-help-retry): New variable.
14356 (calc-do-prefix-help): Use `read-char' to determine the next Calc
14359 2015-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
14361 * lisp/font-lock.el (font-lock-beginning-of-syntax-function): Remove.
14362 (font-lock-fontify-block): Don't let-bind it.
14363 (font-lock-compile-keywords): Don't use it.
14364 (font-lock-set-defaults): Don't set it. Allow the variable alist to
14365 start one slot earlier, instead.
14366 * lisp/emacs-lisp/syntax.el (font-lock-beginning-of-syntax-function):
14368 (syntax-ppss): Don't use it either.
14369 * lisp/font-core.el (font-lock-defaults): Remove SYNTAX-BEGIN
14371 * doc/emacs/display.texi (Font Lock): Don't mention
14372 font-lock-beginning-of-syntax-function.
14373 * doc/lispref/modes.texi (Font Lock Basics): Update description of
14374 font-lock-defaults.
14375 (Syntactic Font Lock): Remove font-lock-beginning-of-syntax-function.
14376 * lisp/loadhist.el (unload-feature-special-hooks):
14377 Remove font-lock-beginning-of-syntax-function.
14378 * lisp/obsolete/lazy-lock.el (lazy-lock-fontify-region):
14379 * lisp/emacs-lisp/lisp.el (beginning-of-defun-raw): Don't let-bind
14380 font-lock-beginning-of-syntax-function.
14382 2015-09-17 Paul Eggert <eggert@cs.ucla.edu>
14384 Backslash cleanup in Elisp source files
14385 This patch should not change behavior. It typically omits backslashes
14386 where they are redundant (e.g., in the string literal "^\$").
14387 In a few places, insert backslashes where they make regular
14388 expressions clearer: e.g., replace "^\*" (equivalent to "^*") with
14389 "^\\*", which has the same effect as a regular expression.
14390 Also, use ‘\ %’ instead of ‘\%’ when avoiding confusion with SCCS IDs,
14391 and similarly use ‘\ $’ instead of ‘\$’ when avoiding confusion with
14392 RCS IDs, as that makes it clearer that the backslash is intended.
14394 Some more minor backslash fixes
14395 * test/automated/compile-tests.el (compile-tests--test-regexps-data):
14396 * test/automated/info-xref.el (info-xref-test-write-file):
14397 Double backslashes in strings.
14399 Fix several backslash typos in Elisp strings
14400 * lisp/calendar/todo-mode.el (todo-files, todo-rename-file)
14401 (todo-find-filtered-items-file, todo-reset-nondiary-marker)
14402 (todo-reset-done-string, todo-reset-comment-string)
14403 (todo-reset-highlight-item):
14404 * lisp/erc/erc-networks.el (erc-networks-alist):
14405 * lisp/gnus/gnus-art.el (gnus-button-handle-library):
14406 * lisp/gnus/gnus-group.el (gnus-read-ephemeral-gmane-group-url):
14407 * lisp/gnus/nntp.el (nntp-via-shell-prompt)
14408 (nntp-telnet-shell-prompt):
14409 * lisp/gnus/spam-report.el (spam-report-gmane-regex):
14410 * lisp/image-dired.el (image-dired-rotate-original):
14411 (image-dired-get-exif-file-name):
14412 * lisp/international/latin1-disp.el (latin1-display-ucs-per-lynx):
14413 * lisp/mail/undigest.el (rmail-digest-parse-rfc1153strict):
14414 * lisp/mh-e/mh-letter.el (mh-file-is-vcard-p):
14415 * lisp/mh-e/mh-mime.el (mh-file-mime-type-substitutions):
14416 * lisp/net/shr-color.el (shr-color->hexadecimal):
14417 * lisp/org/org-bibtex.el (org-bibtex-fields):
14418 * lisp/org/org-docview.el (org-docview-export):
14419 * lisp/org/org-entities.el (org-entities):
14420 * lisp/org/ox-icalendar.el (org-icalendar-cleanup-string):
14421 * lisp/progmodes/cperl-mode.el (cperl-indent-exp):
14422 * lisp/progmodes/ebnf2ps.el (ebnf-file-suffix-regexp)
14423 (ebnf-style-database):
14424 * lisp/progmodes/idlw-help.el (idlwave-do-context-help1):
14425 * lisp/progmodes/ruby-mode.el (ruby-imenu-create-index-in-block):
14426 * lisp/progmodes/sql.el (sql-product-alist):
14427 * lisp/progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist)
14428 (verilog-error-font-lock-keywords)
14429 (verilog-assignment-operator-re):
14430 * lisp/progmodes/vhdl-mode.el (vhdl-compiler-alist):
14431 * lisp/textmodes/reftex-parse.el (reftex-parse-from-file):
14432 * lisp/vc/add-log.el (change-log-version-number-regexp-list):
14433 Fix typo by replacing ‘\’ with ‘\\’ in a string literal.
14434 For example, to get the regular expression ‘\.’ use the string
14435 literal "\\.", not "\." (which is equivalent to ".").
14436 * lisp/emulation/viper-util.el (viper-glob-unix-files):
14437 Remove stray ‘\j’ from string.
14438 * lisp/gnus/nntp.el (nntp-via-shell-prompt)
14439 (nntp-telnet-shell-prompt):
14440 Treat > like $ when matching a shell prompt.
14441 * lisp/progmodes/make-mode.el (makefile-browse):
14442 Properly quote a diagnostic.
14444 Fix minor quoting problems in diagnostics
14445 * lisp/tutorial.el (tutorial--describe-nonstandard-key):
14446 * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
14447 Follow text-quoting-style in diagnostic, and quote a file name.
14449 2015-09-17 Eli Zaretskii <eliz@gnu.org>
14451 * doc/lispref/frames.texi (Cursor Parameters):
14452 Document 'x-stretch-cursor'.
14454 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
14456 Omit unnecessary \ before paren in C docstrings
14457 Although \( is needed in docstrings in Elisp code, it is not needed in
14458 docstrings in C code, since C function definitiions do not start with
14459 a parenthesis. The backslashes made the docstrings a bit harder to
14460 read and to format in columns. Also, some C docstrings had ( in
14461 column 1 and this did not appear to be causing any problems. So,
14462 simplify C docstrings by replacing \( with ( and \) with ).
14464 A few more minor quoting fixes in a script and a text file
14466 Minor quoting fixes in scripts and doc
14467 Prefer straight quotes in random script files, as they are not
14468 converted. Prefer grave quotes in a couple of places in the manual
14469 that were missed earlier, as these quotes are converted.
14471 Minor backslash fixes in manuals and scripts
14472 * Makefile.in (install-arch-indep):
14473 * admin/charsets/compact.awk:
14474 * admin/charsets/gb180302.awk (gb_to_index):
14475 * admin/charsets/gb180304.awk (gb_to_index):
14476 Avoid undefined behavior in Awk regular expression backslashes.
14477 * doc/misc/efaq.texi (Matching parentheses):
14478 Omit unnecessary backslashes.
14479 * doc/misc/gnus-faq.texi (FAQ 5-8):
14480 Avoid undefined behavior in suggested sed backslash usage.
14482 Add -Wswitch to --enable-gcc-warnings
14483 Make --enable-gcc-warnings a bit pickier, by also using -Wswitch.
14484 * configure.ac (WERROR_CFLAGS): Don’t add -Wno-switch.
14485 * lib-src/etags.c (main, consider_token, C_entries):
14486 * src/coding.c (encode_invocation_designation):
14487 * src/data.c (Ftype_of):
14488 * src/eval.c (Fdefvaralias, default_toplevel_binding)
14489 (Fbacktrace__locals, mark_specpdl):
14490 * src/lisp.h (record_xmalloc):
14491 * src/syntax.c (scan_lists, scan_sexps_forward):
14492 * src/window.c (window_relative_x_coord):
14493 * src/xdisp.c (push_it, pop_it):
14494 * src/xterm.c (xg_scroll_callback, x_check_fullscreen):
14495 Error out or do nothing (as appropriate) if a switch statement
14496 with an enum value does not cover all of the enum.
14497 * src/dispextern.h (struct iterator_stack_entry.u.comp):
14498 Remove unused member discovered by using -Wswitch.
14499 * src/lisp.h (record_xmalloc): Add a ‘+ 0’ to pacify -Wswitch.
14500 * src/vm-limit.c (check_memory_limits):
14501 Simplify warning-diagnostic computation by using a table.
14503 etags ‘fatal’ function is now printf-like
14504 * lib-src/etags.c (fatal): Now printf-like. All callers changed.
14505 Also, now static; not clear why it needed to be extern.
14506 (verror): New function, with most of the old contents of ‘error’.
14507 (fatal, error): Use it.
14509 2015-09-16 Eli Zaretskii <eliz@gnu.org>
14511 More adaptations in file-notify-tests.el
14512 * test/automated/file-notify-tests.el
14513 (file-notify-test05-dir-validity): Skip for w32notify in
14514 batch-mode. (Bug#21432)
14516 2015-09-16 Michael Albinus <michael.albinus@gmx.de>
14518 Adapt test in file-notify-tests.el
14519 * test/automated/file-notify-tests.el
14520 (file-notify-test04-file-validity): Skip for w32notify in
14521 batch-mode. Add test lost last commit.
14523 2015-09-16 Dima Kogan <dima@secretsauce.net>
14525 winner no longer holds on to dead frames
14526 * lisp/winner.el (winner-change-fun): Cull dead frames.
14527 This prevents a potentially massive memory leak. See:
14528 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00619.html
14530 2015-09-16 Michael Albinus <michael.albinus@gmx.de>
14532 Use common report_file_notify_error function
14533 * src/fileio.c (report_file_notify_error): New function.
14534 * src/inotify.c (report_inotify_error): Remove function.
14535 (inotify_callback, symbol_to_inotifymask, Finotify_add_watch)
14536 (Finotify_rm_watch): Use report_file_notify_error.
14537 * src/lisp.h (report_file_notify_error): Declare external function.
14538 * src/w32notify.c (report_w32notify_error): Remove function.
14539 (Fw32notify_add_watch, Fw32notify_rm_watch):
14540 Use report_file_notify_error.
14542 2015-09-16 Jay Belanger <jay.p.belanger@gmail.com>
14545 * doc/misc/calc.texi (Single-Variable Statistics): Fix the wording of
14546 the documentation of the root mean square.
14548 2015-09-16 Martin Rudalics <rudalics@gmx.at>
14550 Remove tool_bar_redisplayed_once and associated code.
14551 * src/frame.h (tool_bar_redisplayed_once): Remove slot.
14552 * src/frame.c (make_frame, x_set_font): Remove initialization of
14553 f->tool_bar_redisplayed_once.
14554 * src/w32fns.c (x_change_tool_bar_height):
14555 * src/xfns.c (x_change_tool_bar_height): Don't check for
14556 f->tool_bar_redisplayed_once.
14557 * src/xdisp.c (redisplay_internal): Remove handling of
14558 f->tool_bar_redisplayed_once.
14560 2015-09-16 Eli Zaretskii <eliz@gnu.org>
14562 Restore some of the quoting in the manuals
14563 * doc/lispref/windows.texi (Coordinates and Windows)
14564 (Coordinates and Windows):
14565 * doc/lispref/variables.texi (Lexical Binding)
14566 (File Local Variables):
14567 * doc/lispref/text.texi (Format Properties):
14568 * doc/lispref/symbols.texi (Symbol Components):
14569 * doc/lispref/strings.texi (Creating Strings):
14570 * doc/lispref/sequences.texi (Sequence Functions):
14571 * doc/lispref/searching.texi (Regexp Special, Regexp Search)
14572 (Search and Replace):
14573 * doc/lispref/processes.texi (Bindat Spec):
14574 * doc/lispref/os.texi (Idle Timers):
14575 * doc/lispref/objects.texi (Basic Char Syntax):
14576 * doc/lispref/numbers.texi (Float Basics, Random Numbers):
14577 * doc/lispref/nonascii.texi (Character Properties):
14578 * doc/lispref/modes.texi (Major Mode Conventions, Mode Hooks)
14579 (Mode Line Variables):
14580 * doc/lispref/minibuf.texi (Text from Minibuffer):
14581 * doc/lispref/loading.texi (Autoload):
14582 * doc/lispref/keymaps.texi (Controlling Active Maps):
14583 * doc/lispref/frames.texi (Frame Layout, Size and Position)
14584 (Size Parameters, Implied Frame Resizing):
14585 * doc/lispref/files.texi (Changing Files, Magic File Names):
14586 * doc/lispref/eval.texi (Self-Evaluating Forms):
14587 * doc/lispref/display.texi (Progress, Abstract Display)
14588 (Abstract Display Example, Bidirectional Display):
14589 * doc/lispref/commands.texi (Event Mod):
14590 * doc/emacs/windows.texi (Displaying Buffers):
14591 * doc/emacs/trouble.texi (Bug Criteria, Checklist):
14592 * doc/emacs/text.texi (Enriched Text):
14593 * doc/emacs/programs.texi (MixedCase Words):
14594 * doc/emacs/picture-xtra.texi (Insert in Picture)
14596 * doc/emacs/misc.texi (Emacs Server, Printing):
14597 * doc/emacs/mini.texi (Minibuffer History):
14598 * doc/emacs/maintaining.texi (Old Revisions, VC Change Log)
14599 (Pulling / Pushing):
14600 * doc/emacs/killing.texi (Yanking, Cut and Paste, Clipboard):
14601 * doc/emacs/help.texi (Help, Help Echo):
14602 * doc/emacs/glossary.texi (Glossary):
14603 * doc/emacs/frames.texi (Mouse Commands, Creating Frames)
14605 * doc/emacs/files.texi (Reverting, Saving, Directories):
14606 * doc/emacs/entering.texi (Exiting):
14607 * doc/emacs/emacs.texi (Top):
14608 * doc/emacs/cmdargs.texi (Window Size X, Icons X):
14609 * doc/emacs/anti.texi (Antinews): Restore quoting of text where
14610 appropriate or replace quoting with @dfn.
14611 * doc/misc/ediff.texi (Window and Frame Configuration):
14612 * doc/lispref/processes.texi (Network Feature Testing):
14613 * doc/lispref/display.texi (Display Margins): Quote the phrase
14614 after "a.k.a." where appropriate.
14616 2015-09-16 Tassilo Horn <tsdh@gnu.org>
14618 Clarify reftex-extra-bindings docs
14619 * lisp/textmodes/reftex-vars.el (reftex-extra-bindings):
14620 * doc/misc/reftex.texi (Key Bindings): Document that the variable
14621 only has an effect at load-time.
14623 2015-09-16 Daniel McClanahan <danieldmcclanahan@gmail.com> (tiny change)
14625 * lisp/emacs-lisp/lisp-mode.el (lisp--el-match-keyword): Fix
14626 search argument. (Bug#21492) (Bug#21493)
14628 2015-09-16 Tassilo Horn <tsdh@gnu.org>
14630 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
14631 Add pretty symbols for \qquad and \varrho.
14633 2015-09-15 Jay Belanger <jay.p.belanger@gmail.com>
14635 Add new functions for the root mean square of a (Calc) vector
14636 * lisp/calc/calc-stat.el (calcFunc-rms, calc-vector-rms):
14638 * lisp/calc/calc-ext.el (calc-init-extensions): Add keybinding for
14639 `calc-vector-rms', add autoloads for `calc-vector-rms' and
14641 * lisp/calc/calc-map.el (calc-u-oper-keys): Add entry for
14643 * lisp/calc/calc-menu.el (calc-vectors-menu): Add entry for
14645 * doc/misc/calc.texi (Single-Variable Statistics): Document the rms
14648 2015-09-15 Stephen Leake <stephen_leake@stephe-leake.org>
14650 Add monotone EDE generic project
14651 * lisp/cedet/ede/generic.el (ede-enable-generic-projects):
14652 Add monotone generic project.
14654 Revert premature commit
14655 * doc/lispref/files.texi: Revert premature commit of change to
14656 file-name-all-completions.
14658 Fix a bug in elisp--xref-find-definitions related to cl-generic defaults
14659 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Fix bug
14660 with cl-generic defaults.
14661 (elisp--xref-find-references): Add doc string.
14662 * test/automated/elisp-mode-tests.el (xref-elisp-generic-*): Improve
14665 Fix bugs in eieio-oref-default related to class symbols
14666 * lisp/emacs-lisp/eieio-core.el (class-p): Handle symbol properly.
14667 (eieio-oref-default): Handle class properly.
14669 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
14671 Quote “fullboth” when defining it
14672 * doc/lispref/frames.texi (Size Parameters): Use @dfn for “fullboth”
14673 and rewrite the containing paragraph, which was awkward. (Bug#21472).
14675 2015-09-15 Eli Zaretskii <eliz@gnu.org>
14677 Minor doc fix in emacs/ack.texi
14678 * doc/emacs/ack.texi (Acknowledgments): Fix an xref missing the
14681 2015-09-15 Michael Albinus <michael.albinus@gmx.de>
14683 Adapt tests in auto-revert-tests.el
14684 * test/automated/auto-revert-tests.el (auto-revert--timeout):
14685 Make it a defconst.
14686 (auto-revert--wait-for-revert): New defun.
14687 (auto-revert-test00-auto-revert-mode)
14688 (auto-revert-test01-auto-revert-tail-mode)
14689 (auto-revert-test02-auto-revert-mode-dired): Use it.
14691 2015-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
14693 * lisp/emacs-lisp/lisp-mode.el (lisp-mode-symbol-regexp): New const.
14694 Use it everywhere "\\(\\sw\\|\\s_\\|\\\\.\\)+" was used.
14695 (cl-lib-fdefs): Add defgeneric.
14696 (cl-kw): Add all elements of eieio-kw and cl-lib-kw.
14697 (eieio-kw, cl-lib-kw, el-kw): Remove.
14699 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
14701 Quote less in manuals
14702 The manuals often used quotes ``...'' when it is better to use @dfn or
14703 @code or capitalized words or no quoting at all. For example, there is
14704 no need for the `` and '' in “if a variable has one effect for
14705 @code{nil} values and another effect for ``non-@code{nil}'' values”.
14706 Reword the Emacs, Lisp intro, and Lisp reference manuals to eliminate
14707 unnecessary quoting like this, and to use @dfn etc. instead when called
14710 2015-09-15 Mark Oteiza <mvoteiza@udel.edu>
14712 * lisp/custom.el (load-theme): Only compute hash when needed.
14714 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
14716 Pacify --enable-gcc-warnings
14717 * src/inotify.c (report_inotify_error): Declare it _Noreturn.
14719 2015-09-15 Michael Albinus <michael.albinus@gmx.de>
14721 Improve error reports in inotify.c
14722 * src/inotify.c (report_inotify_error): New function. Clone of
14723 report_w32notify_error.
14724 (inotify_callback, symbol_to_inotifymask, Finotify_add_watch)
14725 (Finotify_rm_watch): Use it.
14727 2015-09-15 Eli Zaretskii <eliz@gnu.org>
14729 Fix the file-notify tests for watch validation on w32
14730 * test/automated/file-notify-tests.el
14731 (file-notify-test04-file-validity): Move the directory deletion
14732 out of the file-notify--test-with-events macro.
14733 (file-notify-test04-file-validity)
14734 (file-notify-test05-dir-validity): Enlarge the timeout of
14735 read-event to 0.5, as 0.1 is borderline on w32. (Bug#21432)
14737 2015-09-15 Tassilo Horn <tsdh@gnu.org>
14739 Use OPEN BOX instead of space for \quad.
14740 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Use OPEN BOX
14741 character for \quad instead of a space.
14743 2015-09-15 Eli Zaretskii <eliz@gnu.org>
14745 Add missing *.pbm images
14746 * etc/images/connect.pbm: New file.
14747 * etc/images/custom/down-pushed.pbm: New file.
14748 * etc/images/custom/down.pbm: New file.
14749 * etc/images/custom/right-pushed.pbm: New file.
14750 * etc/images/custom/right.pbm: New file.
14751 * etc/images/describe.pbm: New file.
14752 * etc/images/disconnect.pbm: New file.
14753 * etc/images/ezimage/bits.pbm: New file.
14754 * etc/images/ezimage/bitsbang.pbm: New file.
14755 * etc/images/ezimage/box-minus.pbm: New file.
14756 * etc/images/ezimage/box-plus.pbm: New file.
14757 * etc/images/ezimage/box.pbm: New file.
14758 * etc/images/ezimage/checkmark.pbm: New file.
14759 * etc/images/ezimage/dir-minus.pbm: New file.
14760 * etc/images/ezimage/dir-plus.pbm: New file.
14761 * etc/images/ezimage/dir.pbm: New file.
14762 * etc/images/ezimage/doc-minus.pbm: New file.
14763 * etc/images/ezimage/doc-plus.pbm: New file.
14764 * etc/images/ezimage/doc.pbm: New file.
14765 * etc/images/ezimage/info.pbm: New file.
14766 * etc/images/ezimage/key.pbm: New file.
14767 * etc/images/ezimage/label.pbm: New file.
14768 * etc/images/ezimage/lock.pbm: New file.
14769 * etc/images/ezimage/mail.pbm: New file.
14770 * etc/images/ezimage/page-minus.pbm: New file.
14771 * etc/images/ezimage/page-plus.pbm: New file.
14772 * etc/images/ezimage/page.pbm: New file.
14773 * etc/images/ezimage/tag-gt.pbm: New file.
14774 * etc/images/ezimage/tag-minus.pbm: New file.
14775 * etc/images/ezimage/tag-plus.pbm: New file.
14776 * etc/images/ezimage/tag-type.pbm: New file.
14777 * etc/images/ezimage/tag-v.pbm: New file.
14778 * etc/images/ezimage/tag.pbm: New file.
14779 * etc/images/ezimage/unlock.pbm: New file.
14780 * etc/images/gnus/important.pbm: New file.
14781 * etc/images/gnus/mail-send.pbm: New file.
14782 * etc/images/gnus/receipt.pbm: New file.
14783 * etc/images/gnus/toggle-subscription.pbm: New file.
14784 * etc/images/gnus/unimportant.pbm: New file.
14785 * etc/images/gud/all.pbm: New file.
14786 * etc/images/gud/rcont.pbm: New file.
14787 * etc/images/gud/recstart.pbm: New file.
14788 * etc/images/gud/recstop.pbm: New file.
14789 * etc/images/gud/rfinish.pbm: New file.
14790 * etc/images/gud/rnext.pbm: New file.
14791 * etc/images/gud/rnexti.pbm: New file.
14792 * etc/images/gud/rstep.pbm: New file.
14793 * etc/images/gud/rstepi.pbm: New file.
14794 * etc/images/gud/thread.pbm: New file.
14795 * etc/images/lock-broken.pbm: New file.
14796 * etc/images/lock-ok.pbm: New file.
14797 * etc/images/lock.pbm: New file.
14798 * etc/images/mail/copy.pbm: New file.
14799 * etc/images/mail/forward.pbm: New file.
14800 * etc/images/mail/not-spam.pbm: New file.
14801 * etc/images/mail/outbox.pbm: New file.
14802 * etc/images/mail/preview.pbm: New file.
14803 * etc/images/mail/save-draft.pbm: New file.
14804 * etc/images/mh-logo.pbm: New file.
14805 * etc/images/mpc/add.pbm: New file.
14806 * etc/images/mpc/ffwd.pbm: New file.
14807 * etc/images/mpc/next.pbm: New file.
14808 * etc/images/mpc/pause.pbm: New file.
14809 * etc/images/mpc/play.pbm: New file.
14810 * etc/images/mpc/prev.pbm: New file.
14811 * etc/images/mpc/rewind.pbm: New file.
14812 * etc/images/mpc/stop.pbm: New file.
14813 * etc/images/redo.pbm: New file.
14814 * etc/images/smilies/braindamaged.pbm: New file.
14815 * etc/images/smilies/cry.pbm: New file.
14816 * etc/images/smilies/dead.pbm: New file.
14817 * etc/images/smilies/evil.pbm: New file.
14818 * etc/images/smilies/forced.pbm: New file.
14819 * etc/images/smilies/grin.pbm: New file.
14820 * etc/images/smilies/indifferent.pbm: New file.
14821 * etc/images/sort-ascending.pbm: New file.
14822 * etc/images/sort-column-ascending.pbm: New file.
14823 * etc/images/sort-criteria.pbm: New file.
14824 * etc/images/sort-descending.pbm: New file.
14825 * etc/images/sort-row-ascending.pbm: New file.
14826 * etc/images/unchecked.pbm: New file.
14827 * etc/images/zoom-in.pbm: New file.
14828 * etc/images/README: Update instructions for PBM files.
14830 Add separator.pbm tool-bar image
14831 * etc/images/separator.pbm: New file. Having it avoids the side
14832 effect of changing the tool-bar height when the default font's size
14833 changes and XPM image support is not available, due to the SPC
14834 characters that are left in the Lisp string used to display the tool
14835 bar, because there are no images to display instead of those SPC
14838 Make show-paren-match face visible on mono-color displays
14839 * lisp/faces.el (show-paren-match): Use the underline face for
14840 mono-color displays. (Bug#21481)
14842 2015-09-14 Paul Eggert <eggert@cs.ucla.edu>
14844 Don’t double-encode non-ASCII mail clipboard
14845 * lisp/mail/mailclient.el (mailclient-send-it):
14846 Also fix the case when mailclient-place-body-on-clipboard-flag
14847 is non-nil. Problem reported by Eli Zaretskii (Bug#21471#37).
14849 2015-09-14 Michael Albinus <michael.albinus@gmx.de>
14851 Adapt file-notify-tests.el test cases
14852 * lisp/filenotify.el (file-notify-rm-watch): Ignore `file-notify-error'.
14853 * src/inotify.c (Finotify_valid_p): Adapt docstring.
14854 * test/automated/file-notify-tests.el
14855 (file-notify-test03-autorevert)
14856 (file-notify-test04-file-validity)
14857 (file-notify-test04-file-validity-remote)
14858 (file-notify-test05-dir-validity)
14859 (file-notify-test05-dir-validity-remote): Adapt docstring.
14860 (file-notify-test04-file-validity): Let events arrive before
14861 calling final `file-notify-valid-p'. Do not ignore errors.
14862 (file-notify-test05-dir-validity): Do not manipulate
14863 `temporary-file-directory', it isn't necessary. Let events arrive
14864 before calling final `file-notify-valid-p'. Do not ignore errors.
14866 2015-09-14 Paul Eggert <eggert@cs.ucla.edu>
14868 Don’t double-encode non-ASCII for mail client
14869 * lisp/mail/mailclient.el (mailclient-encode-string-as-url):
14870 Use RFC 6068’s list of unreserved characters.
14871 (mailclient-send-it): When encoding the body as a URL,
14872 first decode it as per Content-Type: and Content-Transfer-Encoding:,
14873 as URLs must use percent-encoded UTF-8 (Bug#21471).
14874 * doc/misc/url.texi (mailto): Update RFC number.
14876 2015-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14878 * lisp/progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use dolist.
14880 2015-09-14 Alan Mackenzie <acm@muc.de>
14882 Replace `cadar' with `cadr/car', since `cadar' is problematic on Emacs
14883 (c-make-init-lang-vars-fun): Replace two occurrences of `cadar' with
14886 2015-09-14 Eli Zaretskii <eliz@gnu.org>
14888 Clarify documentation of char-table extra slots
14889 * doc/lispref/sequences.texi (Char-Tables): Clarify that extra
14890 slot numbers are zero-based. (Bug#21467)
14892 2015-09-14 Alan Mackenzie <acm@muc.de>
14894 Elisp mode: Make font-lock and imenu handle escaped characters in symbols
14896 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression)
14897 (lisp--el-match-keyword, lisp-el-font-lock-keywords-1)
14898 (lisp-cl-font-lock-keywords-1, lisp-el-font-lock-keywords-2)
14899 (lisp-cl-font-lock-keywords-2, lisp-string-in-doc-position-p):
14900 Insert "\\|\\\\." into regexps which match symbols.
14902 2015-09-14 Eli Zaretskii <eliz@gnu.org>
14904 Improve the doc string of w32notify-valid-p
14905 * src/w32notify.c (Fw32notify_valid_p): Mention in the doc string
14906 that removing a watch makes its object invalid.
14908 2015-09-14 Tassilo Horn <tsdh@gnu.org>
14910 Fix tests for file-notify-valid-p
14911 * test/automated/file-notify-tests.el (file-notify--test-cleanup):
14912 Use delete-directory to delete file-notify--test-tmpfile if it is
14913 a directory. Likewise for file-notify--test-tmpfile1.
14914 (file-notify-test04-file-validity)
14915 (file-notify-test05-dir-validity): Delete the parent directory of
14916 the test. Ignore errors when cleaning up after the test.
14918 2015-09-14 Eli Zaretskii <eliz@gnu.org>
14920 Report file-notify-error in w32notify.c
14921 * src/w32notify.c (report_w32notify_error): New function.
14922 (Fw32notify_add_watch, Fw32notify_rm_watch): Use it to report
14923 errors, instead of calling report_file_error. (Bug#21432)
14925 Implement w32notify-valid-p
14926 * src/w32notify.c (Fw32notify_valid_p): New function. (Bug#21432)
14927 * lisp/filenotify.el (w32notify-valid-p): No longer an alias for
14930 2015-09-14 Tassilo Horn <tsdh@gnu.org>
14932 Test file-notify-valid-p
14933 * test/automated/file-notify-tests.el
14934 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
14937 2015-09-13 Eli Zaretskii <eliz@gnu.org>
14939 Fix markup in ELisp manual
14940 * doc/lispref/frames.texi (Font and Color Parameters): Fix markup
14941 of the 'alpha' parameter value. (Bug#21470)
14943 2015-09-13 Michael Albinus <michael.albinus@gmx.de>
14945 Introduce `file-notify-valid-p'
14946 * lisp/filenotify.el (file-notify-valid-p): New defun.
14947 (gfile-valid-p, w32notify-valid-p): Make them an alias to `identity'.
14948 * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist)
14949 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
14950 * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist)
14951 * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist)
14952 <file-notify-valid-p>: Add handler.
14953 * lisp/net/tramp.el (tramp-file-name-for-operation):
14954 Add `file-notify-valid-p'.
14955 (tramp-handle-file-notify-valid-p): New defun.
14956 * src/inotify.c (Finotify_valid_p): New defun.
14957 (syms_of_inotify): Declare Sinotify_valid_p.
14959 2015-09-13 Paul Eggert <eggert@cs.ucla.edu>
14961 Port Unicode char detection to FreeBSD+svgalib
14962 Problem reported by Ashish SHUKLA in:
14963 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00531.html
14964 * configure.ac: Check for struct unipair.unicode instead of for
14965 <linux/kd.h>, since that’s more specific to what the code
14967 * src/terminal.c: Use HAVE_STRUCT_UNIPAIR_UNICODE, not HAVE_LINUX_KD_H.
14969 * src/indent.c (Fvertical_motion): Simplify bugfix (Bug#21468).
14971 2015-09-13 Eli Zaretskii <eliz@gnu.org>
14973 Fix vertical cursor motion across overlay strings with newlines
14974 * src/indent.c (Fvertical_motion): Don't leave point in the middle
14975 of an overlay string with newlines, as that will position the
14976 cursor after the string at whatever column is there. (Bug#21468)
14978 2015-09-12 Michael Albinus <michael.albinus@gmx.de>
14980 Fix tests in file-notify-tests.el
14981 * test/automated/file-notify-tests.el: Remove Tramp declarations.
14982 (file-notify-test00-availability): Print remote command w/o Tramp
14983 internal functions.
14984 (file-notify-test02-events, file-notify-test02-events-remote):
14986 (file-notify-test03-autorevert): Use `format-message' when
14987 inspecting *Messages* buffer.
14989 2015-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14991 Bind inhibit-modification-hooks rather than a/b-c-f
14992 * lisp/wid-edit.el (widget-editable-list-insert-before)
14993 (widget-editable-list-delete-at):
14994 * lisp/progmodes/cperl-mode.el (cperl-find-pods-heres)
14995 (cperl-font-lock-unfontify-region-function):
14996 * lisp/progmodes/antlr-mode.el (save-buffer-state-x):
14997 * lisp/obsolete/longlines.el (longlines-mode):
14998 * lisp/obsolete/fast-lock.el (save-buffer-state):
14999 * lisp/mouse.el (mouse-save-then-kill-delete-region):
15000 * lisp/gnus/message.el (message-hide-headers):
15001 * lisp/eshell/esh-mode.el (eshell-send-input, eshell-output-filter):
15002 * lisp/ibuffer.el (ibuffer-update-title-and-summary)
15003 (ibuffer-redisplay-engine): Bind inhibit-modification-hooks to t rather
15004 than after/before-change-functions to nil.
15006 2015-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15008 (jit-lock-deferred-fontify): Pay attention to skipped redisplays
15009 * lisp/jit-lock.el (jit-lock-deferred-fontify): Make sure we refresh
15010 the buffers, even if the forced redisplay is interrupted.
15012 * lisp/emacs-lisp/eieio-core.el (class-p): Accept class objects
15014 Merge syntax-propertize--done and parse-sexp-propertize-done
15015 * lisp/emacs-lisp/syntax.el (syntax-propertize--done): Remove.
15016 (syntax-propertize): Set syntax-propertize--done even if
15017 syntax-propertize-function is nil. Avoid recursive invocations.
15018 (syntax-propertize-chunks): New var.
15019 (internal--syntax-propertize): Use it. Rename from syntax--jit-propertize.
15021 (parse-sexp-propertize-function): Don't set any more.
15022 * src/syntax.c (SETUP_SYNTAX_TABLE): Call parse_sexp_propertize as needed.
15023 (parse_sexp_propertize): Don't assume charpos is not yet propertized.
15024 Call Qinternal__syntax_propertize instead of
15025 Vparse_sexp_propertize_function. Truncate e_property if needed.
15026 (update_syntax_table_forward): Streamline.
15027 (syms_of_syntax): Define Qinternal__syntax_propertize.
15028 (syntax_propertize__done): Rename from parse_sexp_propertize_done.
15030 2015-09-11 Paul Eggert <eggert@cs.ucla.edu>
15032 Prefer straight quoting in some text files
15033 Mostly this just changes ` to ' in static text. Some exceptions:
15034 * INSTALL.REPO: Use curved quotes, as the diagnostic in question
15035 typically does that now.
15036 * admin/quick-install-emacs (TRY, top level):
15037 Use straight quoting in diagnostics.
15038 * src/README: Fix working-directory confusion.
15040 * CONTRIBUTE: Move send-email here from git-workflow.
15042 2015-09-11 Michael Albinus <michael.albinus@gmx.de>
15044 Improve file notifications in Tramp
15045 * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
15046 Set proper events to watch for.
15047 (tramp-sh-file-gvfs-monitor-dir-process-filter): Report only
15050 2015-09-11 Eli Zaretskii <eliz@gnu.org>
15052 Fix NS build with --enable-checking='glyphs'
15053 * src/nsfns.m (unwind_create_frame): Make the preprocessor
15054 conditionals for referencing 'dpyinfo' consistent throughout the
15055 function. (Bug#21426)
15057 2015-09-10 Nicolas Petton <nicolas@petton.fr>
15060 This function is similar to `seq-some' but returns the found element.
15061 In the cases where nil can be the found element, a sentinel optional
15062 argument can be provided to avoid ambiguities.
15063 * lisp/emacs-lisp/seq.el (seq-find): New function.
15064 * test/automated/seq-tests.el (test-seq-find): Add tests for `seq-find'.
15065 * doc/lispref/sequences.texi (Sequence Functions): Add documentation for
15068 2015-09-10 Tassilo Horn <tsdh@gnu.org>
15070 Document file-notify--test-with-events.
15071 * test/automated/file-notify-tests.el (file-notify--test-with-events):
15074 2015-09-10 Michael Albinus <michael.albinus@gmx.de>
15076 Report used native library in file-notify-tests.el
15077 * test/automated/file-notify-tests.el
15078 (tramp-get-remote-gvfs-monitor-dir)
15079 (tramp-get-remote-inotifywait): Declare them.
15080 (file-notify-test00-availability): Print used native library.
15082 2015-09-10 Mark Oteiza <mvoteiza@udel.edu>
15084 * lisp/mpc.el (mpc--proc-connect): Use file-name-absolute-p.
15085 (mpc-file-local-copy): Check for absolute path. Check more config
15088 2015-09-10 Eli Zaretskii <eliz@gnu.org>
15090 Improve documentation of categories
15091 * doc/lispref/syntax.texi (Categories): Clarify the example of
15092 using define-category and modify-category-entry. (Bug#21448)
15094 2015-09-10 Paul Eggert <eggert@cs.ucla.edu>
15096 Revert some stray curved quotes I missed earlier
15097 Problem reported by David Kastrup in:
15098 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00440.html
15099 * lisp/international/mule-cmds.el (leim-list-header):
15100 Use format-message with an ASCII-only format.
15102 Prefer NUMBERP to spelling it out
15103 * src/editfns.c (styled_format):
15104 * src/frame.h (NUMVAL):
15105 * src/image.c (parse_image_spec):
15106 * src/lisp.h (CHECK_NUMBER_OR_FLOAT)
15107 (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER):
15108 * src/process.c (Fsignal_process):
15109 * src/xdisp.c (calc_pixel_width_or_height, on_hot_spot_p):
15110 * src/xfaces.c (check_lface_attrs):
15111 * src/xselect.c (x_fill_property_data, x_send_client_event):
15112 Use NUMBERP rather than INTEGERP || FLOATP.
15114 2015-09-10 Tassilo Horn <tsdh@gnu.org>
15116 Improve file-notify-tests
15117 * test/automated/file-notify-tests.el: Use lexical-binding.
15118 (file-notify--test-cleanup): New function.
15119 (file-notify-test00-availability, file-notify-test01-add-watch)
15120 (file-notify-test02-events, file-notify-test03-autorevert): Use it.
15121 (file-notify--test-with-events): New macro.
15122 (file-notify-test02-events): Use it.
15124 2015-09-10 Paul Eggert <eggert@cs.ucla.edu>
15126 Add patch-sending instructions to git-workflow
15127 From a suggestion by Mitchel Humpherys in:
15128 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00421.html
15129 * admin/notes/git-workflow (Sending patches): New section.
15131 Port to GIFLIB 5.0.6 and later
15132 Problem reported by Mitchel Humpherys in:
15133 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00420.html
15134 * src/image.c (HAVE_GIFERRORSTRING) [HAVE_GIF]: New macro.
15135 (GifErrorString, init_gif_functions) [HAVE_GIF && WINDOWSNT]:
15136 (gif_load) [HAVE_GIF]: Use it.
15138 2015-09-10 Glenn Morris <rgm@gnu.org>
15140 * lisp/cedet/ede/auto.el (ede-project-autoload): Doc fix.
15142 2015-09-09 Glenn Morris <rgm@gnu.org>
15144 * test/automated/file-notify-tests.el (file-notify-test02-events):
15147 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
15149 Refix movemail GCC pacification
15150 Problem reported by Ken Brown in:
15151 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00406.html
15152 * lib-src/movemail.c (main): Fix previous change.
15154 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
15156 * lisp/calendar/time-date.el (time-to-seconds, time-less-p):
15157 Mark unused vars with underscore.
15159 * src/syntax.c (SETUP_SYNTAX_TABLE): Move truncation...
15160 (parse_sexp_propertize): ...from here.
15162 * lisp/filenotify.el: Use lexical-binding
15163 (file-notify-add-watch): Avoid add-to-list.
15165 2015-09-09 Tassilo Horn <tsdh@gnu.org>
15167 Start checking event types in file-notify tests
15168 * test/automated/file-notify-tests.el (file-notify--test-events):
15170 (file-notify--test-event-handler): Append received event to
15171 file-notify--test-events for later analysis.
15172 (file-notify-test02-events): Assert that the expected notifications have
15173 arrived in the expected order.
15175 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
15177 Merge from gnulib and texinfo
15179 2015-08-03 Improve port of stdalign to C++11
15180 * lib/stdalign.in.h: Copy from gnulib.
15181 * doc/misc/texinfo.tex: Copy from texinfo.
15183 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
15185 Make syntax.c call syntax-propertize on demand
15186 * lisp/emacs-lisp/syntax.el (syntax--jit-propertize): New function.
15187 (parse-sexp-propertize-function): Use it.
15188 (syntax-propertize): Disable parse-sexp-propertize-function.
15189 * src/syntax.c (parse_sexp_propertize, update_syntax_table_forward):
15191 (syms_of_syntax): New vars `parse-sexp-propertize-done' and
15192 `parse-sexp-propertize-function'.
15193 * src/syntax.h (struct gl_state_s): Add `e_property_truncated' field.
15194 (UPDATE_SYNTAX_TABLE_FORWARD): Use update_syntax_table_forward.
15195 (SETUP_BUFFER_SYNTAX_TABLE): Set e_property_truncated.
15196 * lisp/progmodes/elisp-mode.el (elisp-byte-code-syntax-propertize):
15197 Don't assume `point' is set.
15199 2015-09-09 Eli Zaretskii <eliz@gnu.org>
15201 Fix indentation of an @example in ELisp manual
15202 * doc/lispref/syntax.texi (Categories): Untabify the example.
15205 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
15207 Define internal-char-font even if --without-x
15208 The function is used now even in non-graphical environments.
15209 Problem reported by Glenn Morris in:
15210 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00401.html
15211 * src/font.c (Finternal_char_font): Move here ...
15212 * src/fontset.c (Finternal_char_font): ... from here.
15214 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
15216 * lisp/emacs-lisp/cl-generic.el (cl-generic-generalizers):
15219 2015-09-09 Eli Zaretskii <eliz@gnu.org>
15221 Fix display of complex local data types in GDB-MI
15222 * lisp/progmodes/gdb-mi.el (gdb-locals-handler-custom): If a
15223 variable has no value, display "<complex data type>" as a
15224 placeholder, instead of a confusing "nil". (Bug#21438)
15226 2015-09-09 Oleh Krehel <ohwoeowho@gmail.com>
15228 Remove redundant redefinition of seq-drop-while from seq.el
15229 * lisp/emacs-lisp/seq.el (seq-drop-while): Define only once.
15231 2015-09-09 Phil Sainty <psainty@orcon.net.nz>
15233 * lisp/emacs-lisp/package.el (package--ensure-init-file):
15234 More robust check for `package-initialize' calls in init file.
15235 This function accepts an optional argument, but calls passing
15236 an argument would not have been detected.
15238 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
15240 Port movemail to RHEL 6 with --enable-gcc-warnings
15241 * lib-src/movemail.c (main): Declare local only if needed.
15243 Port recent Linux console changes to RHEL 6
15244 * src/terminal.c [HAVE_LINUX_KD_H]: Include <sys/ioctl.h>.
15246 Improvements for curved quotes on Linux consule
15247 This should help Emacs work better out-of-the-box on Linux consoles,
15248 which have only limited support for displaying Unicode characters.
15249 Also, undo the recent change that caused text-quoting-style to
15250 affect quote display on terminals, so that the two features are
15251 independent. See Alan Mackenzie in:
15252 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00244.html
15253 Finally, add a style parameter to startup--setup-quote-display,
15254 so that this function can also be invoked after startup, with
15255 different styles depending on user preference at the time.
15256 * configure.ac: Check for linux/kd.h header.
15257 * doc/emacs/display.texi (Text Display): Document quote display.
15258 * doc/lispref/display.texi (Active Display Table):
15260 * lisp/startup.el (startup--setup-quote-display, command-line):
15261 text-quoting-style no longer affects quote display.
15262 * doc/lispref/frames.texi (Terminal Parameters): Fix typo.
15263 * lisp/international/mule-util.el (char-displayable-p):
15264 * lisp/startup.el (startup--setup-quote-display):
15265 On a text terminal supporting glyph codes, use the reported
15266 glyph codes instead of the terminal coding system, as this
15267 is more accurate on the Linux console.
15268 * lisp/startup.el (startup--setup-quote-display):
15269 New optional arg STYLE.
15270 * src/fontset.c (Finternal_char_font):
15271 Report glyph codes for a text terminal, if they are available.
15272 Currently this is supported only for the Linux console.
15273 * src/termhooks.h (struct terminal): New member glyph-code-table.
15274 * src/terminal.c [HAVE_LINUX_KD_H]: Include <errno.h>, <linux/kd.h>.
15275 (calculate_glyph_code_table) [HAVE_LINUX_KD_H]: New function.
15276 (terminal_glyph_code): New function.
15278 2015-09-08 Juri Linkov <juri@linkov.net>
15280 * lisp/info.el (Info-fontify-node): Don't stop at the non-title
15281 underline. (Bug#21433)
15283 2015-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
15285 * lisp/calendar/time-date.el (with-decoded-time-value): Fix debug spec.
15287 2015-09-08 Tassilo Horn <tsdh@gnu.org>
15289 Fix double-reporting of rename events with inotify
15290 * lisp/filenotify.el (file-notify-callback): Fix double-reporting
15291 of rename events with inotify (bug#21435).
15293 2015-09-08 Vasilij Schneidermann <v.schneidermann@gmail.com> (tiny change)
15295 * lisp/play/tetris.el (tetris-move-down): New command (bug#21360).
15296 (tetris-mode-map): Use it.
15298 2015-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
15300 Remove a few simple cases of global redisplay
15301 * src/dispnew.c (redraw_frame): Don't redisplay all frames.
15302 * src/xdisp.c (echo_area_display): Set the frame's `redisplay' bit
15303 rather than returning a "resized_p" boolean.
15304 (redisplay_internal): Adjust call accordingly.
15305 * src/xfaces.c (free_realized_faces): Don't redisplay all frames.
15306 (free_all_realized_faces): Set windows_or_buffers_changed so as to ease
15307 tracking of this undesirable situation.
15309 * src/process.c (status_notify): Avoid global redisplay (bug#11822)
15310 * src/process.c (status_notify): Only set the update_mode_line on the
15311 relevant buffers rather than setting it globally.
15313 2015-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
15315 * lisp/electric.el (electric-quote-post-self-insert-function):
15316 Don't use syntax-ppss if comment-use-syntax is nil (e.g. message-mode).
15317 (electric-quote-mode): Activate everywhere in message-mode.
15319 2015-09-07 Paul Eggert <eggert@cs.ucla.edu>
15321 Go back to grave quoting in source-code docstrings etc.
15322 This reverts almost all my recent changes to use curved quotes
15323 in docstrings and/or strings used for error diagnostics.
15324 There are a few exceptions, e.g., Bahá’í proper names.
15325 * admin/unidata/unidata-gen.el (unidata-gen-table):
15326 * lisp/abbrev.el (expand-region-abbrevs):
15327 * lisp/align.el (align-region):
15328 * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet)
15329 (outlineify-sticky):
15330 * lisp/apropos.el (apropos-library):
15331 * lisp/bookmark.el (bookmark-default-annotation-text):
15332 * lisp/button.el (button-category-symbol, button-put)
15333 (make-text-button):
15334 * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
15335 * lisp/calc/calc-embed.el (calc-do-embedded):
15336 * lisp/calc/calc-ext.el (calc-user-function-list):
15337 * lisp/calc/calc-graph.el (calc-graph-show-dumb):
15338 * lisp/calc/calc-help.el (calc-describe-key)
15339 (calc-describe-thing, calc-full-help):
15340 * lisp/calc/calc-lang.el (calc-c-language)
15341 (math-parse-fortran-vector-end, math-parse-tex-sum)
15342 (math-parse-eqn-matrix, math-parse-eqn-prime)
15343 (calc-yacas-language, calc-maxima-language, calc-giac-language)
15344 (math-read-giac-subscr, math-read-math-subscr)
15345 (math-read-big-rec, math-read-big-balance):
15346 * lisp/calc/calc-misc.el (calc-help, report-calc-bug):
15347 * lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
15348 (calc-auto-recompute):
15349 * lisp/calc/calc-prog.el (calc-fix-token-name)
15350 (calc-read-parse-table-part, calc-user-define-invocation)
15351 (math-do-arg-check):
15352 * lisp/calc/calc-store.el (calc-edit-variable):
15353 * lisp/calc/calc-units.el (math-build-units-table-buffer):
15354 * lisp/calc/calc-vec.el (math-read-brackets):
15355 * lisp/calc/calc-yank.el (calc-edit-mode):
15356 * lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
15357 * lisp/calendar/appt.el (appt-display-message):
15358 * lisp/calendar/diary-lib.el (diary-check-diary-file)
15359 (diary-mail-entries, diary-from-outlook):
15360 * lisp/calendar/icalendar.el (icalendar-export-region)
15361 (icalendar--convert-float-to-ical)
15362 (icalendar--convert-date-to-ical)
15363 (icalendar--convert-ical-to-diary)
15364 (icalendar--convert-recurring-to-diary)
15365 (icalendar--add-diary-entry):
15366 * lisp/calendar/time-date.el (format-seconds):
15367 * lisp/calendar/timeclock.el (timeclock-mode-line-display)
15368 (timeclock-make-hours-explicit, timeclock-log-data):
15369 * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
15370 (todo-item-mark, todo-check-format)
15371 (todo-insert-item--next-param, todo-edit-item--next-key)
15373 * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
15374 * lisp/cedet/mode-local.el (describe-mode-local-overload)
15375 (mode-local-print-binding, mode-local-describe-bindings-2):
15376 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
15377 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
15378 * lisp/cus-start.el (standard):
15379 * lisp/cus-theme.el (describe-theme-1):
15380 * lisp/custom.el (custom-add-dependencies, custom-check-theme)
15381 (custom--sort-vars-1, load-theme):
15382 * lisp/descr-text.el (describe-text-properties-1, describe-char):
15383 * lisp/dired-x.el (dired-do-run-mail):
15384 * lisp/dired.el (dired-log):
15385 * lisp/emacs-lisp/advice.el (ad-read-advised-function)
15386 (ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
15387 (ad-disable-advice, ad-remove-advice, ad-set-argument)
15388 (ad-set-arguments, ad--defalias-fset, ad-activate)
15390 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
15391 (byte-compile-unfold-lambda, byte-optimize-form-code-walker)
15392 (byte-optimize-while, byte-optimize-apply):
15393 * lisp/emacs-lisp/byte-run.el (defun, defsubst):
15394 * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
15395 (byte-compile-log-file, byte-compile-format-warn)
15396 (byte-compile-nogroup-warn, byte-compile-arglist-warn)
15397 (byte-compile-cl-warn)
15398 (byte-compile-warn-about-unresolved-functions)
15399 (byte-compile-file, byte-compile--declare-var)
15400 (byte-compile-file-form-defmumble, byte-compile-form)
15401 (byte-compile-normal-call, byte-compile-check-variable)
15402 (byte-compile-variable-ref, byte-compile-variable-set)
15403 (byte-compile-subr-wrong-args, byte-compile-setq-default)
15404 (byte-compile-negation-optimizer)
15405 (byte-compile-condition-case--old)
15406 (byte-compile-condition-case--new, byte-compile-save-excursion)
15407 (byte-compile-defvar, byte-compile-autoload)
15408 (byte-compile-lambda-form)
15409 (byte-compile-make-variable-buffer-local, display-call-tree)
15410 (batch-byte-compile):
15411 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use):
15412 * lisp/emacs-lisp/chart.el (chart-space-usage):
15413 * lisp/emacs-lisp/check-declare.el (check-declare-scan)
15414 (check-declare-warn, check-declare-file)
15415 (check-declare-directory):
15416 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
15417 (checkdoc-message-text-engine):
15418 * lisp/emacs-lisp/cl-extra.el (cl-parse-integer)
15419 (cl--describe-class):
15420 * lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
15421 (cl--generic-describe, cl-generic-generalizers):
15422 * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
15423 (cl-symbol-macrolet):
15424 * lisp/emacs-lisp/cl.el (cl-unload-function, flet):
15425 * lisp/emacs-lisp/copyright.el (copyright)
15426 (copyright-update-directory):
15427 * lisp/emacs-lisp/edebug.el (edebug-read-list):
15428 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
15429 * lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
15431 * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
15432 * lisp/emacs-lisp/eieio-speedbar.el:
15433 (eieio-speedbar-child-make-tag-lines)
15434 (eieio-speedbar-child-description):
15435 * lisp/emacs-lisp/eieio.el (defclass, change-class):
15436 * lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
15437 (elint-init-form, elint-check-defalias-form)
15438 (elint-check-let-form):
15439 * lisp/emacs-lisp/ert.el (ert-get-test, ert-results-mode-menu)
15440 (ert-results-pop-to-backtrace-for-test-at-point)
15441 (ert-results-pop-to-messages-for-test-at-point)
15442 (ert-results-pop-to-should-forms-for-test-at-point)
15443 (ert-describe-test):
15444 * lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
15445 (find-function-library):
15446 * lisp/emacs-lisp/generator.el (iter-yield):
15447 * lisp/emacs-lisp/gv.el (gv-define-simple-setter):
15448 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
15449 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
15450 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
15451 * lisp/emacs-lisp/nadvice.el (advice--make-docstring)
15452 (advice--make, define-advice):
15453 * lisp/emacs-lisp/package-x.el (package-upload-file):
15454 * lisp/emacs-lisp/package.el (package-version-join)
15455 (package-disabled-p, package-activate-1, package-activate)
15456 (package--download-one-archive)
15457 (package--download-and-read-archives)
15458 (package-compute-transaction, package-install-from-archive)
15459 (package-install, package-install-selected-packages)
15460 (package-delete, package-autoremove, describe-package-1)
15461 (package-install-button-action, package-delete-button-action)
15462 (package-menu-hide-package, package-menu--list-to-prompt)
15463 (package-menu--perform-transaction)
15464 (package-menu--find-and-notify-upgrades):
15465 * lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
15466 * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
15467 * lisp/emacs-lisp/ring.el (ring-previous, ring-next):
15468 * lisp/emacs-lisp/rx.el (rx-check, rx-anything)
15469 (rx-check-any-string, rx-check-any, rx-check-not, rx-=)
15470 (rx-repeat, rx-check-backref, rx-syntax, rx-check-category)
15472 * lisp/emacs-lisp/smie.el (smie-config-save):
15473 * lisp/emacs-lisp/subr-x.el (internal--check-binding):
15474 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
15475 * lisp/emacs-lisp/testcover.el (testcover-1value):
15476 * lisp/emacs-lisp/timer.el (timer-event-handler):
15477 * lisp/emulation/viper-cmd.el (viper-toggle-parse-sexp-ignore-comments)
15478 (viper-toggle-search-style, viper-kill-buffer)
15479 (viper-brac-function):
15480 * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
15481 * lisp/env.el (setenv):
15482 * lisp/erc/erc-button.el (erc-nick-popup):
15483 * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login, english):
15484 * lisp/eshell/em-dirs.el (eshell/cd):
15485 * lisp/eshell/em-glob.el (eshell-glob-regexp)
15486 (eshell-glob-entries):
15487 * lisp/eshell/em-pred.el (eshell-parse-modifiers):
15488 * lisp/eshell/esh-opt.el (eshell-show-usage):
15489 * lisp/facemenu.el (facemenu-add-new-face)
15490 (facemenu-add-new-color):
15491 * lisp/faces.el (read-face-name, read-face-font, describe-face)
15492 (x-resolve-font-name):
15493 * lisp/files-x.el (modify-file-local-variable):
15494 * lisp/files.el (locate-user-emacs-file, find-alternate-file)
15495 (set-auto-mode, hack-one-local-variable--obsolete)
15496 (dir-locals-set-directory-class, write-file, basic-save-buffer)
15497 (delete-directory, copy-directory, recover-session)
15498 (recover-session-finish, insert-directory)
15499 (file-modes-char-to-who, file-modes-symbolic-to-number)
15500 (move-file-to-trash):
15501 * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer):
15502 * lisp/find-cmd.el (find-generic, find-to-string):
15503 * lisp/finder.el (finder-commentary):
15504 * lisp/font-lock.el (font-lock-fontify-buffer):
15505 * lisp/format.el (format-write-file, format-find-file)
15506 (format-insert-file):
15507 * lisp/frame.el (get-device-terminal, select-frame-by-name):
15508 * lisp/fringe.el (fringe--check-style):
15509 * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
15510 * lisp/help-fns.el (help-fns--key-bindings)
15511 (help-fns--compiler-macro, help-fns--parent-mode)
15512 (help-fns--obsolete, help-fns--interactive-only)
15513 (describe-function-1, describe-variable):
15514 * lisp/help.el (describe-mode)
15515 (describe-minor-mode-from-indicator):
15516 * lisp/image.el (image-type):
15517 * lisp/international/ccl.el (ccl-dump):
15518 * lisp/international/fontset.el (x-must-resolve-font-name):
15519 * lisp/international/mule-cmds.el (prefer-coding-system)
15520 (select-safe-coding-system-interactively)
15521 (select-safe-coding-system, activate-input-method)
15522 (toggle-input-method, describe-current-input-method)
15523 (describe-language-environment):
15524 * lisp/international/mule-conf.el (code-offset):
15525 * lisp/international/mule-diag.el (describe-character-set)
15526 (list-input-methods-1):
15527 * lisp/mail/feedmail.el (feedmail-run-the-queue):
15528 * lisp/mouse.el (minor-mode-menu-from-indicator):
15529 * lisp/mpc.el (mpc-playlist-rename):
15530 * lisp/msb.el (msb--choose-menu):
15531 * lisp/net/ange-ftp.el (ange-ftp-shell-command):
15532 * lisp/net/imap.el (imap-interactive-login):
15533 * lisp/net/mairix.el (mairix-widget-create-query):
15534 * lisp/net/newst-backend.el (newsticker--sentinel-work):
15535 * lisp/net/newst-treeview.el (newsticker--treeview-load):
15536 * lisp/net/rlogin.el (rlogin):
15537 * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
15538 * lisp/obsolete/otodo-mode.el (todo-more-important-p):
15539 * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
15540 * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
15541 * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
15542 * lisp/org/ob-core.el (org-babel-goto-named-src-block)
15543 (org-babel-goto-named-result):
15544 * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
15545 * lisp/org/ob-ref.el (org-babel-ref-resolve):
15546 * lisp/org/org-agenda.el (org-agenda-prepare):
15547 * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
15548 (org-clock-resolve):
15549 * lisp/org/org-ctags.el (org-ctags-ask-rebuild-tags-file-then-find-tag):
15550 * lisp/org/org-feed.el (org-feed-parse-atom-entry):
15551 * lisp/org/org-habit.el (org-habit-parse-todo):
15552 * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
15553 (org-mouse-context-menu):
15554 * lisp/org/org-table.el (org-table-edit-formulas):
15555 * lisp/org/ox.el (org-export-async-start):
15556 * lisp/proced.el (proced-log):
15557 * lisp/progmodes/ada-mode.el (ada-get-indent-case)
15558 (ada-check-matching-start, ada-goto-matching-start):
15559 * lisp/progmodes/ada-prj.el (ada-prj-display-page):
15560 * lisp/progmodes/ada-xref.el (ada-find-executable):
15561 * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
15562 * lisp/progmodes/etags.el (etags-tags-apropos-additional):
15563 * lisp/progmodes/flymake.el (flymake-parse-err-lines)
15564 (flymake-start-syntax-check-process):
15565 * lisp/progmodes/python.el (python-shell-get-process-or-error)
15566 (python-define-auxiliary-skeleton):
15567 * lisp/progmodes/sql.el (sql-comint):
15568 * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
15569 * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate):
15570 * lisp/recentf.el (recentf-open-files):
15571 * lisp/replace.el (query-replace-read-from)
15572 (occur-after-change-function, occur-1):
15573 * lisp/scroll-bar.el (scroll-bar-columns):
15574 * lisp/server.el (server-get-auth-key):
15575 * lisp/simple.el (execute-extended-command)
15576 (undo-outer-limit-truncate, list-processes--refresh)
15577 (compose-mail, set-variable, choose-completion-string)
15578 (define-alternatives):
15579 * lisp/startup.el (site-run-file, tty-handle-args, command-line)
15581 * lisp/subr.el (noreturn, define-error, add-to-list)
15582 (read-char-choice, version-to-list):
15583 * lisp/term/common-win.el (x-handle-xrm-switch)
15584 (x-handle-name-switch, x-handle-args):
15585 * lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
15586 * lisp/textmodes/reftex-ref.el (reftex-label):
15587 * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
15588 * lisp/textmodes/two-column.el (2C-split):
15589 * lisp/tutorial.el (tutorial--describe-nonstandard-key)
15590 (tutorial--find-changed-keys):
15591 * lisp/type-break.el (type-break-noninteractive-query):
15592 * lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
15593 (wdired-do-perm-changes):
15594 * lisp/whitespace.el (whitespace-report-region):
15595 Prefer grave quoting in source-code strings used to generate help
15597 * lisp/faces.el (face-documentation):
15598 No need to convert quotes, since the result is a docstring.
15599 * lisp/info.el (Info-virtual-index-find-node)
15600 (Info-virtual-index, info-apropos):
15601 Simplify by generating only curved quotes, since info files are
15602 typically that ways nowadays anyway.
15603 * lisp/international/mule-diag.el (list-input-methods):
15604 Don’t assume text quoting style is curved.
15605 * lisp/org/org-bibtex.el (org-bibtex-fields):
15606 Revert my recent changes, going back to the old quoting style.
15608 2015-09-07 Artur Malabarba <bruce.connor.am@gmail.com>
15610 * lisp/emacs-lisp/package.el: Reduce autoloading before compiling.
15611 (package--autoloads-file-name)
15612 (package--activate-autoloads-and-load-path): New function.
15613 (package-activate-1): Delegate autoloading and load-path
15614 configuration to `package--activate-autoloads-and-load-path'.
15615 (package--compile): Before compilation, call
15616 `package--activate-autoloads-and-load-path' instead of
15617 `package-activate-1'.
15619 2015-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
15621 * src/keyboard.c (read_key_sequence): Complete last fix (bug#21403).
15623 2015-09-07 Eli Zaretskii <eliz@gnu.org>
15625 Fix deletion of symlinks to directories on MS-Windows
15626 * src/w32.c (sys_unlink): If 'unlink' fails, and the argument is a
15627 symlink to a directory, try again with 'rmdir'.
15628 (is_symlink): If the argument is a symlink to a directory, set a
15629 bit in the return value to indicate that fact.
15631 2015-09-07 Artur Malabarba <bruce.connor.am@gmail.com>
15633 * lisp/emacs-lisp/package.el (package-initialize): Set enable-at-startup
15634 When `package-initialize' is called as part of loading the init file,
15635 the user probably doesn't want it to be called again afterwards.
15636 In this situation, `package-initialize' now sets
15637 `package-enable-at-startup' to nil to prevent that. The user can have
15638 the old behavior by setting this variable to t after the call to
15639 `package-initialize'. (Bug#21423)
15640 * doc/emacs/package.texi (Package Installation): Document it.
15641 * doc/lispref/package.texi (Packaging Basics): Document it.
15642 * etc/NEWS: Document it.
15644 2015-09-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
15646 Bump version of ntlm.el to 2.00
15647 * lisp/net/ntlm.el: Bump version to 2.00. New maintainer.
15650 2015-09-06 Adam Sjøgren <asjo@koldfront.dk>
15652 * doc/misc/gnus.texi (Mail Source Specifiers):
15653 Allow :mailbox to be a list.
15655 2015-09-06 Dmitry Gutov <dgutov@yandex.ru>
15657 * lisp/progmodes/etags.el (etags-tags-completion-table):
15658 Allow even one non-regular character before the implicit tag name.
15659 Reported at http://emacs.stackexchange.com/questions/15269/.
15661 2015-09-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
15663 Add support for NTLMv2 authentication
15664 * lisp/net/ntlm.el (ntlm): New customization group.
15665 (ntlm-compatibility-level): New defcustom.
15666 (ntlm-compute-timestamp): New function.
15667 (ntlm-generate-nonce): Likewise.
15668 (ntlm-build-auth-response): Add support for NTLMv2 authentication.
15670 2015-09-06 Artur Malabarba <bruce.connor.am@gmail.com>
15672 * lisp/emacs-lisp/package.el: Rename custom faces.
15673 All of the recently introduced faces, like `package-name-face', have
15674 been renamed to no end in `-face' to comply with the convention
15675 described in (info "(elisp) Defining Faces").
15676 (package-name, package-description)
15677 (package-status-built-in, package-status-external)
15678 (package-status-available, package-status-new)
15679 (package-status-held, package-status-disabled)
15680 (package-status-installed, package-status-dependency)
15681 (package-status-unsigned, package-status-incompat)
15682 (package-status-avail-obso): New faces.
15683 (package-menu--print-info-simple): Use them.
15685 2015-09-06 Adam Sjøgren <asjo@koldfront.dk>
15687 mail-source.el: Make the imap mail-source's :mailbox handle a list
15688 * lisp/gnus/mail-source.el (mail-source-fetch-imap):
15689 Allow :mailbox to be a list.
15691 2015-09-06 Eric Abrahamsen <eric@ericabrahamsen.net>
15693 nnimap.el: Handle nil arg to nnimap-request-group
15694 * lisp/gnus/nnimap.el (nnimap-request-group): Handle nil "info" arg.
15695 This arg isn't always passed in, check it's not nil before making it
15696 into a list. The active arg will also be nil if the group is new,
15699 2015-09-06 Michael Albinus <michael.albinus@gmx.de>
15701 File notifications: Support renaming over directory boundaries
15702 * lisp/filenotify.el (file-notify-handle-event):
15703 (file-notify--pending-event): Adapt docstring.
15704 (file-notify--descriptor, file-notify-callback): Reimplement in
15705 order to support renaming over directory boundaries.
15706 (file-notify-add-watch): Adapt `file-notify--descriptor' call.
15707 * doc/lispref/os.texi (File Notifications): Remove limitation of
15708 file renaming to the same directory.
15710 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
15712 Spelling fix (Bug#21420)
15714 2015-09-05 Nicolas Petton <nicolas@petton.fr>
15716 Improve the semantic of map-some
15717 Update map-some to return the returned by the predicate, similar to
15719 * lisp/emacs-lisp/map.el (map-some): Update the function to return the
15720 return value of the predicate.
15721 * test/automated/map-tests.el (test-map-some): Update the test to check
15722 for non-nil values only.
15724 Rename map-contains-key-p and map-some-p
15725 Remove the "-p" suffix from both function names.
15726 * lisp/emacs-lisp/map.el (map-contains-key, map-some):
15727 Rename the functions.
15728 * test/automated/map-tests.el (test-map-contains-key, test-map-some):
15729 Update both test functions.
15731 Improve the semantic of seq-some
15732 Update seq-some to return non-nil if the predicate returns non-nil for
15733 any element of the seq, in which case the returned value is the one
15734 returned by the predicate.
15735 * lisp/emacs-lisp/seq.el (seq-some): Update the function and its
15737 * test/automated/seq-tests.el (test-seq-some): Add a regression test.
15738 * doc/lispref/sequences.texi (Sequence Functions): Update the
15739 documentation for seq-some.
15741 Rename seq-some-p to seq-some and seq-contains-p to seq-contains
15742 * lisp/emacs-lisp/seq.el (seq-some, seq-contains): Rename the functions
15743 without the "-p" prefix.
15744 * test/automated/seq-tests.el (test-seq-some, test-seq-contains): Update
15745 the tests accordingly.
15746 * doc/lispref/sequences.texi (Sequence Functions): Update the
15747 documentation for seq.el.
15749 2015-09-05 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
15751 text-quoting-style for usage of fn names with ‘’
15752 * lisp/help.el (help--docstring-quote): Don’t assume
15753 text-quoting-style is ‘curve’ when generating usage strings for
15754 functions whose names contain curved quotes.
15756 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
15758 Fix fix for describe-function keybinding confusion
15759 This fixes a bug introduced by the previous patch.
15760 * lisp/help-fns.el (help-fns--signature):
15761 Last arg of help-fns--signature is now a buffer, or nil if a
15762 raw signature is wanted. All callers changed.
15763 (describe-function-1): Use this to do the right thing with signatures.
15765 2015-09-05 Johan Bockgård <bojohan@gnu.org>
15767 * doc/lispref/frames.texi (Mouse Tracking): Fix typo.
15769 Use PAT rather than UPAT in pcase macros
15770 * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
15771 * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>: Use PAT rather
15774 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
15776 Fix describe-function keybinding confusion
15777 * lisp/help-fns.el (describe-function-1): Compute signature
15778 in the original buffer, not in standard-output, so that
15779 substitute-command-keys uses the proper keybindings.
15780 This fixes Bug#21412, introduced in commit
15781 2015-06-11T10:23:46-0700!eggert@cs.ucla.edu.
15783 2015-09-05 Xue Fuqiao <xfq.free@gmail.com>
15785 * doc/emacs/programs.texi (Program Modes): Remove an index entry.
15787 2015-09-05 Robert Pluim <rpluim@gmail.com> (tiny change)
15789 Avoid read error messages from 'inotify'
15790 * src/process.c (wait_reading_process_output): Add a
15791 'tls_available' set and manipulate it instead of 'Available' when
15792 checking TLS inputs. Assign the value to 'Available' only if we
15793 find any TLS data waiting to be read. This avoids error messages
15794 from 'inotify' that tries to read data it shouldn't. (Bug#21337)
15796 2015-09-05 Eli Zaretskii <eliz@gnu.org>
15798 Avoid errors in thing-at-point with 2nd argument non-nil
15799 * lisp/thingatpt.el (thing-at-point): Only call 'length' on
15800 sequences. (Bug#21391)
15802 2015-09-05 Philip <pipcet@gmail.com> (tiny change)
15804 Fix segfaults due to using a stale face ID
15805 * src/xdisp.c (forget_escape_and_glyphless_faces): New function.
15806 (display_echo_area_1, redisplay_internal): Call it to avoid
15807 reusing stale face IDs for 'escape-glyph' and 'glyphless-char'
15808 faces, which could case a segfault if the frame's face cache was
15809 freed since the last redisplay. (Bug#21394)
15810 * src/xfaces.c (free_realized_faces):
15811 Call forget_escape_and_glyphless_faces.
15812 * src/dispextern.h (forget_escape_and_glyphless_faces): Add prototype.
15814 2015-09-04 Paul Eggert <eggert@cs.ucla.edu>
15816 Fix minor problems with " in manual
15818 2015-09-04 Michael Albinus <michael.albinus@gmx.de>
15820 * doc/misc/tramp.texi (Frequently Asked Questions): New item for ad-hoc
15823 2015-09-04 Paul Eggert <eggert@cs.ucla.edu>
15825 Support automated ‘make check’ in non-C locale
15826 This lets the builder optionally test Emacs behavior in other locales.
15827 The C locale is still the default for tests.
15828 * test/automated/Makefile.in (TEST_LOCALE): New macro.
15830 * test/automated/flymake-tests.el (flymake-tests--current-face):
15831 Use C locale for subprocesses so that tests behave as expected.
15832 * test/automated/python-tests.el:
15833 (python-shell-prompt-validate-regexps-1)
15834 (python-shell-prompt-validate-regexps-2)
15835 (python-shell-prompt-validate-regexps-3)
15836 (python-shell-prompt-validate-regexps-4)
15837 (python-shell-prompt-validate-regexps-5)
15838 (python-shell-prompt-validate-regexps-6)
15839 (python-shell-prompt-set-calculated-regexps-1):
15840 Adjust expected output to match locale.
15841 * test/automated/tildify-tests.el (tildify-test--test)
15842 (tildify-space-test--test, tildify-space-undo-test--test):
15843 This test assumes UTF-8 encoding.
15845 2015-09-03 Paul Eggert <eggert@cs.ucla.edu>
15847 Fix some more docstring etc. quoting problems
15848 Mostly these fixes prevent the transliteration of apostrophes
15849 that should stay apostrophes. Also, prefer curved quotes in
15850 Bahá’í proper names, as that’s the preferred Bahá’í style and
15851 these names are chock-full of non-ASCII characters anyway.
15852 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-autoload)
15853 (eieio-defclass-internal):
15854 * lisp/emacs-lisp/eieio.el (defclass):
15855 * lisp/hi-lock.el (hi-lock-mode):
15856 Don’t transliterate Lisp apostrophes when generating a
15857 doc string or diagnostic.
15858 * lisp/international/mule-diag.el (list-coding-systems-1):
15859 * lisp/international/ogonek.el (ogonek-jak, ogonek-how):
15860 * lisp/mail/sendmail.el (sendmail-query-user-about-smtp):
15861 * lisp/vc/ediff-mult.el (ediff-redraw-registry-buffer):
15862 * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
15863 Substitute quotes before putting them in the help buffer.
15865 2015-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
15867 Re-add the notion of echo_prompt lost in the translation
15868 * src/keyboard.h (struct kboard): Replace echo_after_prompt with new
15869 echo_prompt which contains the actual string. Update all uses.
15870 * src/keyboard.c (kset_echo_prompt): New function.
15871 (echo_update): Add echo_prompt at the very beginning.
15872 (read_char): Remove workaround for bug#19875, not needed any more.
15873 (read_key_sequence): Set echo_prompt rather than echo_string
15875 (mark_kboards): Mark echo_prompt.
15877 Fix disassembly of non-compiled lexical functions (bug#21377)
15878 * lisp/emacs-lisp/bytecomp.el (byte-compile): Handle `closure' arg.
15879 * lisp/emacs-lisp/disass.el: Use lexical-binding.
15880 (disassemble): Recognize `closure's as well.
15881 (disassemble-internal): Use indirect-function and
15882 help-function-arglist, and accept `closure's.
15883 (disassemble-internal): Use interactive-form.
15884 (disassemble-1): Use functionp.
15886 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
15887 Don't compose inside verbatim blocks!
15889 2015-09-03 Mark Oteiza <mvoteiza@udel.edu>
15891 * lisp/thingatpt.el (thing-at-point-uri-schemes): Add "man:"
15894 * lisp/mpc.el (mpc--proc-connect): Handle unix sockets (bug#19394).
15896 2015-09-03 Dmitry Gutov <dgutov@yandex.ru>
15898 vc-git-mode-line-string: Explicitly re-apply the face
15899 * lisp/vc/vc-git.el (vc-git-mode-line-string): Explicitly re-apply
15900 the face (bug#21404).
15902 2015-09-02 Paul Eggert <eggert@cs.ucla.edu>
15904 Treat initial-scratch-message as a doc string
15905 * doc/emacs/building.texi (Lisp Interaction):
15906 * doc/lispref/os.texi (Startup Summary):
15907 * etc/NEWS: Document this.
15908 * lisp/startup.el (initial-scratch-message):
15909 Look up find-file’s key rather than hardcoding it.
15910 (command-line-1): Substitute the doc string.
15911 This also substitutes the quotes, which will help test display
15912 quoting at startup.
15914 Fix describe-char bug with glyphs on terminals
15915 * lisp/descr-text.el (describe-char): Terminals can have glyphs in
15916 buffers too, so don’t treat them differently from graphic displays.
15917 Without this fix, describe-char would throw an error on a terminal
15918 if given a glyph with a non-default face.
15920 Follow text-quoting-style in display table init
15921 This attempts to fix a problem reported by Alan Mackenzie in:
15922 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00112.html
15923 * doc/lispref/display.texi (Active Display Table):
15924 Mention how text-quoting-style affects it.
15925 * doc/lispref/help.texi (Keys in Documentation):
15926 Say how to set text-quoting-style in ~/.emacs.
15927 * etc/NEWS: Document the change.
15928 * lisp/startup.el (startup--setup-quote-display):
15929 Follow user preference if text-quoting-style is set.
15930 (command-line): Setup quote display again if user expresses
15931 a preference in .emacs.
15933 2015-09-02 K. Handa <handa@gnu.org>
15936 * src/ftfont.c (ftfont_drive_otf): otf_positioning_type_components_mask
15937 -> OTF_positioning_type_components_mask.
15939 Fix previous change
15940 * src/ftfont.c (ftfont_drive_otf): Remember some bits of
15941 OTF_Glyph->positioning_type in MFLTGlyphFT->libotf_positioning_type.
15943 2015-09-01 David Caldwell <david@porkrind.org> (tiny change)
15945 * lisp/vc/vc-hooks.el (vc-refresh-state): New command.
15946 Rename from vc-find-file-hook and make interactive.
15947 (vc-find-file-hook): Redefine as obsolete alias.
15949 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
15951 Escape ` and ' in doc
15952 Escape apostrophes and grave accents in docstrings if they are
15953 are supposed to stand for themselves and are not quotes. Remove
15954 apostrophes from docstring examples like ‘'(calendar-nth-named-day
15955 -1 0 10 year)’ that confuse source code with data. Do some other
15956 minor docstring fixups as well, e.g., insert a missing close quote.
15958 2015-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
15960 Generalize the prefix-command machinery of C-u
15961 * lisp/simple.el (prefix-command-echo-keystrokes-functions)
15962 (prefix-command-preserve-state-hook): New hooks.
15963 (internal-echo-keystrokes-prefix): New function.
15964 (prefix-command--needs-update, prefix-command--last-echo): New vars.
15965 (prefix-command-update, prefix-command-preserve): New functions.
15966 (reset-this-command-lengths): New compatibility definition.
15967 (universal-argument--mode): Call prefix-command-update.
15968 (universal-argument, universal-argument-more, negative-argument)
15969 (digit-argument): Call prefix-command-preserve-state.
15970 * src/keyboard.c: Call internal-echo-keystrokes-prefix to build
15971 the "prefix argument" to echo.
15972 (this_command_key_count_reset, before_command_key_count)
15973 (before_command_echo_length): Delete variables.
15974 (echo_add_key): Always add a space.
15975 (echo_char): Remove.
15976 (echo_dash): Don't give up when this_command_key_count is 0, since that
15977 is now the case after a prefix command.
15978 (echo_update): New function, extracted from echo_now.
15979 (echo_now): Use it.
15980 (add_command_key, read_char, record_menu_key): Remove old disabled code.
15981 (command_loop_1): Don't refrain from pushing an undo boundary when
15982 prefix-arg is set. Remove other prefix-arg special case, now handled
15983 directly in the prefix commands instead. But call echo_now if there's
15984 a prefix state to echo.
15985 (read_char, record_menu_key): Use echo_update instead of echo_char.
15986 (read_key_sequence): Use echo_now rather than echo_dash/echo_char.
15987 (Freset_this_command_lengths): Delete function.
15988 (syms_of_keyboard): Define Qinternal_echo_keystrokes_prefix.
15989 (syms_of_keyboard): Don't defsubr Sreset_this_command_lengths.
15990 * lisp/simple.el: Use those new hooks for C-u.
15991 (universal-argument--description): New function.
15992 (prefix-command-echo-keystrokes-functions): Use it.
15993 (universal-argument--preserve): New function.
15994 (prefix-command-preserve-state-hook): Use it.
15995 (command-execute): Call prefix-command-update if needed.
15996 * lisp/kmacro.el (kmacro-step-edit-prefix-commands)
15997 (kmacro-step-edit-prefix-index): Delete variables.
15998 (kmacro-step-edit-query, kmacro-step-edit-insert): Remove ad-hoc
15999 support for prefix arg commands.
16000 (kmacro-step-edit-macro): Don't bind kmacro-step-edit-prefix-index.
16001 * lisp/emulation/cua-base.el (cua--prefix-override-replay)
16002 (cua--shift-control-prefix): Use prefix-command-preserve-state.
16003 Remove now unused arg `arg'.
16004 (cua--prefix-override-handler, cua--prefix-repeat-handler)
16005 (cua--shift-control-c-prefix, cua--shift-control-x-prefix):
16006 Update accordingly.
16007 (cua--prefix-override-timeout): Don't call reset-this-command-lengths
16009 (cua--keep-active, cua-exchange-point-and-mark): Don't set mark-active
16010 if the mark is not set.
16012 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
16014 Rework quoting in Emacs Lisp Introduction
16015 * doc/lispintro/emacs-lisp-intro.texi (Sample let Expression)
16016 (if in more detail, type-of-animal in detail, else): Rework the
16017 early example to use " rather than ' so that we don’t burden
16018 complete novices with the low-priority detail of text quoting style.
16019 (Complete zap-to-char, kill-region, Complete copy-region-as-kill)
16020 (kill-new function, kill-ring-yank-pointer)
16021 (Complete forward-sentence, Loading Files)
16022 (Code for current-kill, Code for current-kill, yank):
16023 Resurrect the Emacs 22 versions of the code, which uses grave
16024 quoting style in doc strings.
16025 (Complete zap-to-char): Mention how quoting works in doc strings.
16027 Setup quote display only if interactive
16028 * lisp/startup.el (command-line):
16029 Skip call to startup--setup-quote-display if noninteractive.
16030 Without this change, python-shell-prompt-validate-regexps-1
16031 fails in test/automated/python-tests.el when run in an
16032 en_US.utf8 locale on Fedora.
16034 2015-09-01 Katsumi Yamaoka <yamaoka@jpl.org>
16036 Use defalias at the top level
16037 * lisp/gnus/gnus-util.el (gnus-format-message):
16038 * lisp/net/tls.el (tls-format-message): Use defalias at the top level
16039 so as to make eval-and-compile unnecessary. Thanks to Stefan Monnier.
16041 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
16043 terminal-init-w32console mimicks command-line
16044 Problem reported by Eli Zaretskii.
16045 * lisp/startup.el (startup--setup-quote-display):
16046 New function, refactored from a part of ‘command-line’.
16047 (command-line): Use it.
16048 * lisp/term/w32console.el (terminal-init-w32console):
16049 Use it, so that this function stays consistent with ‘command-line’.
16051 Display replacement quotes with shadow glyphs
16052 * lisp/startup.el (command-line): When displaying ASCII
16053 replacements for curved quotes, use a shadow glyph instead of a
16054 regular one, to avoid ambiguity.
16056 2015-09-01 Michael Albinus <michael.albinus@gmx.de>
16058 * lisp/net/tramp-sh.el (tramp-methods) <sudo>: Mask "Password:".
16060 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
16062 Docstring fixes re quotes in C code
16063 Fix some docstring quoting problems, mostly by escaping apostrophe.
16065 2015-09-01 Michael Albinus <michael.albinus@gmx.de>
16067 Some Tramp password fixes
16068 * lisp/net/tramp.el (tramp-clear-passwd): Clear also the passwords
16070 * lisp/net/tramp-sh.el (tramp-methods) <sudo>: Move "-p" "Password:"
16071 at the beginning of the command. Otherwise, it could be
16072 interpreted as password prompt if the remote host echoes the
16074 (tramp-remote-coding-commands): Add "openssl enc -base64".
16076 2015-09-01 Dmitry Gutov <dgutov@yandex.ru>
16078 Make vc-git-working-revision always return the commit hash
16079 * lisp/vc/vc-git.el (vc-git-working-revision):
16080 Return the commit hash (bug#21383).
16081 (vc-git--symbolic-ref): New function, extracted from above.
16082 (vc-git-mode-line-string): Use it.
16084 2015-09-01 K. Handa <handa@gnu.org>
16086 Use the new type MFLTGlyphFT for MFLTGlyphString.glyphs
16087 * src/ftfont.c (MFLTGlyphFT): New type.
16088 (ftfont_get_glyph_id, ftfont_get_metrics, ftfont_drive_otf)
16089 (ftfont_shape_by_flt): Make MFLTGlyphFT the actual type of
16090 elements in the array MFLTGlyphString.glyphs.
16092 2015-09-01 Stephen Leake <stephen_leake@stephe-leake.org>
16094 Improve comments in elisp-mode.el, elisp-mode-tests.el
16095 * lisp/progmodes/elisp-mode.el: Clean up FIXMEs, comments.
16097 Delete Emacs 25 test in mode-local.el
16098 * lisp/cedet/mode-local.el (describe-mode-local-overload):
16099 Fix missed an edit in previous commit.
16101 Show all known mode-local overrides in *Help*
16102 * lisp/cedet/mode-local.el (describe-mode-local-overload):
16103 Assume Emacs 25. Add all known mode-local overrides.
16105 2015-09-01 Katsumi Yamaoka <yamaoka@jpl.org>
16107 * lisp/gnus/gnus-sum.el (gnus-summary-search-article):
16108 Ensure that the article where the search word is found is displayed
16109 and pointed to in the summary buffer.
16111 2015-08-31 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
16113 * lisp/newcomment.el (comment-dwim): Use `use-region-p'.
16114 When the region is active, but is empty (length 0), act as though
16115 the region was not active; that is, put a comment at the end of
16116 the line. (Bug#21119)
16118 2015-08-31 Katsumi Yamaoka <yamaoka@jpl.org>
16120 Port tls.el to older Emacs
16121 * lisp/net/tls.el (tls-format-message):
16122 Alias to format-message, or format if not available.
16123 (open-tls-stream): Use it.
16125 2015-08-31 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
16127 hideif.el: Recognize .h++ as C++ header
16128 * lisp/progmodes/hideif.el (hide-ifdef-header-regexp): Add .h++.
16130 isearch: Document character folding mode
16131 * lisp/isearch.el (isearch-forward):
16132 Mention `isearch-toggle-character-fold' in doc string.
16134 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
16136 Quoting fixes in ERC and Eshell
16137 * lisp/erc/erc-autoaway.el (erc-autoaway-set-away):
16138 * lisp/erc/erc-backend.el (define-erc-response-handler):
16139 * lisp/erc/erc-fill.el (erc-fill-static-center):
16140 * lisp/eshell/em-dirs.el (eshell-save-some-last-dir):
16141 * lisp/eshell/em-glob.el (eshell-glob-entries):
16142 * lisp/eshell/em-hist.el (eshell-save-some-history):
16143 * lisp/eshell/em-unix.el (eshell-remove-entries, eshell/rm)
16144 (eshell-shuffle-files):
16145 * lisp/eshell/esh-cmd.el (eshell-do-eval):
16146 * lisp/eshell/esh-proc.el (eshell-process-interact)
16147 (eshell-query-kill-processes):
16148 Respect ‘text-quoting-style’ in diagnostics and doc strings.
16150 Quoting fixes in Gnus
16151 * lisp/gnus/gnus-agent.el:
16152 (gnus-agent-possibly-synchronize-flags-server):
16153 * lisp/gnus/gnus-art.el (gnus-article-browse-delete-temp-files):
16154 * lisp/gnus/gnus-eform.el (gnus-edit-form):
16155 * lisp/gnus/gnus-group.el (gnus-group-edit-group)
16156 (gnus-group-nnimap-edit-acl):
16157 * lisp/gnus/gnus-topic.el (gnus-topic-edit-parameters):
16158 * lisp/gnus/mail-source.el (mail-source-delete-old-incoming):
16159 * lisp/gnus/message.el (message-strip-subject-encoded-words)
16160 (message-check-recipients, message-send-form-letter):
16161 * lisp/gnus/mm-decode.el (mm-display-part):
16162 * lisp/gnus/mm-uu.el (mm-uu-pgp-signed-extract-1):
16163 * lisp/gnus/mml-smime.el (mml-smime-get-dns-cert)
16164 (mml-smime-get-ldap-cert):
16165 * lisp/gnus/spam-report.el (spam-report-process-queue):
16166 Respect ‘text-quoting-style’ in diagnostics.
16167 * lisp/gnus/gnus-art.el (article-display-face)
16168 * lisp/gnus/gnus-fun.el (gnus-display-x-face-in-from):
16169 Use straight quoting in email.
16170 * lisp/gnus/rfc2231.el (rfc2231-decode-encoded-string):
16171 Escape apostrophes in doc strings.
16173 Quoting fixes in lisp mail, mh-e, net, url
16174 * lisp/mail/emacsbug.el (report-emacs-bug)
16175 (report-emacs-bug-hook): Use straight quotes in outgoing email,
16176 * lisp/mail/feedmail.el (feedmail-message-action-help-blat):
16177 * lisp/mail/rmail.el (rmail-unknown-mail-followup-to):
16178 * lisp/mail/rmailout.el (rmail-output-read-file-name):
16179 * lisp/net/imap.el (imap-interactive-login):
16180 * lisp/net/tls.el (open-tls-stream):
16181 * lisp/url/url-auth.el (url-register-auth-scheme):
16182 Respect ‘text-quoting-style’ in diagnostics.
16183 * lisp/mh-e/mh-e.el (mh-sortm-args):
16184 Quote docstring example using text quotes, not as a Lisp quote.
16186 2015-08-31 Stephen Leake <stephen_leake@stephe-leake.org>
16188 Fix some byte-compiler warnings in EDE
16189 This fixes a bug that caused ede-generic-new-autoloader to overwrite the
16190 existing autoloader list, rather than add to it.
16191 * lisp/cedet/ede/auto.el (ede-project-class-files): Delete obsolete name
16192 argument to eieio class constructor.
16193 (ede-show-supported-projects): New.
16194 (ede-add-project-autoload): Replace obsolete `eieio-object-name-string'
16195 with (oref ... name).
16196 (ede-auto-load-project): Use slot name, not initarg key.
16197 * lisp/cedet/ede/generic.el (ede-generic-load)
16198 (ede-generic-find-matching-target): Use slot name, not initarg key.
16199 (ede-find-target): Use oref-default on class name.
16200 (ede-generic-new-autoloader): Delete obsolete name argument to eieio
16202 (ede-enable-generic-projects): Make project type names unique.
16204 2015-08-31 Eli Zaretskii <eliz@gnu.org>
16206 Fix directory accessibility tests for w32 network volumes
16207 * src/w32.c (faccessat): Don't fail with network volumes without a
16209 (w32_accessible_directory_p): Handle network volumes without a
16212 Fix handling long file names in readdir on MS-Windows
16213 * src/w32.c (sys_readdir): Append "\*" to the directory after
16214 converting it to UTF-16/ANSI, not before, to avoid overflowing the
16215 260-character limit on file names in filename_to_utf16/ansi.
16217 Make file-accessible-directory-p reliable on MS-Windows
16218 * src/w32.c (w32_accessible_directory_p): New function.
16219 * src/w32.h (w32_accessible_directory_p): Add prototype.
16220 * src/fileio.c (file_accessible_directory_p) [WINDOWSNT]: Call
16221 w32_accessible_directory_p to test a directory for accessibility
16222 by the current user. (Bug#21346)
16223 (Ffile_accessible_directory_p): Remove the w32 specific caveat
16224 from the doc string.
16226 2015-08-31 Martin Rudalics <rudalics@gmx.at>
16228 Don't call do_pending_window_change in signal handlers (Bug#21380)
16229 * src/gtkutil.c (xg_frame_resized):
16230 * src/xterm.c (x_set_window_size):
16231 * src/w32term.c (x_set_window_size): Don't call
16232 do_pending_window_change.
16234 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
16236 Quoting fixes in lisp/org
16237 * lisp/org/org-agenda.el (org-search-view, org-todo-list)
16239 * lisp/org/org-capture.el (org-capture-mode)
16240 * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
16241 (org-ctags-ask-append-topic):
16242 * lisp/org/org.el (org-time-string-to-time)
16243 (org-time-string-to-absolute):
16244 * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
16245 (org-ctags-ask-append-topic):
16246 * lisp/org/org.el (org-time-string-to-time)
16247 (org-time-string-to-absolute):
16248 Respect ‘text-quoting-style’ in diagnostics.
16249 * lisp/org/org-agenda.el (org-agenda-custom-commands)
16250 (org-agenda-dim-blocked-tasks): Plural of TODO is TODOs, not TODO’s.
16251 * lisp/org/org-capture.el (org-capture-fill-template):
16252 Avoid contraction in output file that might be ASCII.
16253 * lisp/org/org-compat.el (format-message):
16254 Define if not already defined, for backward compatibility.
16255 * lisp/org/org-src.el (org-edit-src-save):
16256 * lisp/org/org.el (org-cycle, org-ctrl-c-ctrl-c):
16257 Escape apostrophes in diagnostics.
16259 Treat “instead” strings as docstrings
16260 * lisp/emacs-lisp/bytecomp.el (byte-compile-form):
16261 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
16262 Substitute quotes in instead strings.
16264 2015-08-31 Nicolas Petton <nicolas@petton.fr>
16266 Better documentation of seq-let
16267 * doc/lispref/sequences.texi (Sequence Functions): Rephrase the
16268 documentation of seq-let.
16270 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
16272 * lisp/international/ccl.el: Fix quoting.
16274 Quoting fixes in lisp/international and lisp/leim
16275 * lisp/international/ccl.el (ccl-dump, ccl-dump-call):
16276 * lisp/international/ja-dic-utl.el (skkdic-lookup-key):
16277 * lisp/international/mule-cmds.el:
16278 (select-safe-coding-system-interactively, leim-list-file-name):
16279 * lisp/international/quail.el (quail-use-package, quail-help):
16280 * lisp/international/titdic-cnv.el (tit-process-header)
16282 Respect text quoting style in doc strings and diagnostics.
16283 * lisp/international/quail.el (lisp/international/quail.el):
16284 * lisp/leim/quail/ethiopic.el ("ethiopic"):
16285 Escape apostrophes in doc strings.
16287 Make ‘text-quoting-style’ a plain defvar
16288 It doesn’t need customization, as it’s likely useful only by experts.
16289 Suggested by Stefan Monnier in:
16290 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg01020.html
16291 * lisp/cus-start.el: Remove doc.c section for builtin customized vars.
16293 Quoting fixes in lisp/textmodes
16294 * lisp/textmodes/bibtex.el (bibtex-validate)
16295 (bibtex-validate-globally, bibtex-search-entries):
16296 * lisp/textmodes/ispell.el (ispell-command-loop):
16297 * lisp/textmodes/page-ext.el (search-pages, pages-directory):
16298 * lisp/textmodes/texinfmt.el (texinfmt-version)
16299 (texinfo-format-region, texinfo-format-buffer-1):
16300 * lisp/textmodes/two-column.el (2C-split):
16301 Respect text quoting style in doc strings and diagnostics.
16302 * lisp/textmodes/conf-mode.el (conf-mode-map, conf-quote-normal):
16303 * lisp/textmodes/sgml-mode.el (sgml-specials, sgml-mode):
16304 Escape apostrophes in doc strings.
16306 Documentation fixes re quotes
16307 Prefer curved quotes in examples if users will typically see
16308 curved quotes when the examples run.
16309 Mention format-message when appropriate.
16310 Don’t use @code in examples.
16311 Quote an apostrophe with @kbd.
16313 Quoting fixes in lisp/progmodes
16314 * lisp/progmodes/cc-engine.el (c-bos-report-error):
16315 * lisp/progmodes/cpp.el (cpp-edit-reset):
16316 * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
16317 * lisp/progmodes/etags.el (etags-tags-apropos-additional)
16318 (etags-tags-apropos, list-tags, tags-apropos):
16319 * lisp/progmodes/executable.el (executable-set-magic):
16320 * lisp/progmodes/octave.el (octave-sync-function-file-names)
16321 (octave-help, octave-find-definition-default-filename)
16322 (octave-find-definition):
16323 Respect text quoting style in doc strings and diagnostics.
16324 * lisp/progmodes/cc-langs.el (c-populate-syntax-table):
16325 * lisp/progmodes/verilog-mode.el (verilog-auto-reset-widths):
16326 * lisp/progmodes/vhdl-mode.el (vhdl-electric-quote):
16327 Escape apostrophes in doc strings.
16328 * lisp/progmodes/cmacexp.el (c-macro-expansion):
16329 Use straight quoting in ASCII comment.
16330 * lisp/progmodes/idlwave.el (idlwave-auto-fill-split-string)
16331 (idlwave-pad-keyword):
16332 * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate)
16333 (vhdl-electric-open-bracket, vhdl-electric-close-bracket):
16334 (vhdl-electric-semicolon, vhdl-electric-comma)
16335 (vhdl-electric-period, vhdl-electric-equal):
16336 Use directed quotes in diagnostics and doc strings.
16338 2015-08-30 Xue Fuqiao <xfq.free@gmail.com>
16340 Minor documentation and NEWS tweak
16341 * doc/lispintro/emacs-lisp-intro.texi (fwd-para let):
16342 Add an index entry.
16343 * etc/NEWS: Fix a typo in character-fold-to-regexp.
16345 2015-08-30 Michael Albinus <michael.albinus@gmx.de>
16347 * lisp/net/tramp-sh.el (tramp-convert-file-attributes):
16348 Revert patch from 2015-08-24. Tramp shall behave like for local files.
16349 * test/automated/tramp-tests.el (tramp-test18-file-attributes):
16352 2015-08-30 Paul Eggert <eggert@cs.ucla.edu>
16354 Text quoting fixes in cedet, emulation, emacs-lisp
16355 * lisp/cedet/ede.el (ede-check-project-directory):
16356 * lisp/cedet/semantic/analyze/debug.el
16357 (semantic-analyzer-debug-insert-include-summary):
16358 * lisp/cedet/semantic/bovine/c.el (semantic-c-describe-environment):
16359 * lisp/cedet/semantic/decorate/include.el
16360 (semantic-decoration-unknown-include-describe)
16361 (semantic-decoration-all-include-summary):
16362 * lisp/cedet/semantic/ia.el (semantic-ia-fast-jump):
16363 * lisp/emulation/edt.el (edt-load-keys):
16364 * lisp/emulation/viper-cmd.el
16365 (viper-display-current-destructive-command)
16366 (viper-query-replace, viper-brac-function):
16367 * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-compile):
16368 * lisp/emulation/viper-macs.el (viper-unrecord-kbd-macro):
16369 Respect text quoting style in doc string or diagnostic.
16370 * lisp/cedet/mode-local.el (describe-mode-local-overload):
16371 Use format-message to avoid overtranslating quotes.
16372 * lisp/emacs-lisp/checkdoc.el (checkdoc-in-sample-code-p):
16373 Escape an apostrophe in a docstring.
16374 * lisp/emacs-lisp/warnings.el (lwarn): Fix doc string.
16376 2015-08-29 Daniel Colascione <dancol@dancol.org>
16378 Fix which-func for curly quotes: look for symbol, not message
16379 * lisp/progmodes/which-func.el (which-func-ff-hook): Look for new
16380 imenu-unavailable error symbol instead of trying to match message
16382 * lisp/imenu.el (imenu-unavailable): New error.
16383 (imenu-unavailable-error): New function.
16385 2015-08-29 Eli Zaretskii <eliz@gnu.org>
16387 Fix Python tests on MS-Windows
16388 * test/automated/python-tests.el
16389 (python-shell-calculate-command-1): Run python-shell-interpreter
16390 through shell-quote-argument before comparing with what
16391 python-shell-calculate-command returns.
16392 (python-shell-calculate-pythonpath-1)
16393 (python-shell-calculate-pythonpath-2)
16394 (python-shell-calculate-process-environment-2): Use path-separator
16395 instead of a literal ':'.
16396 (python-shell-calculate-exec-path-2)
16397 (python-shell-calculate-exec-path-3)
16398 (python-shell-calculate-exec-path-4)
16399 (python-shell-with-environment-1)
16400 (python-shell-with-environment-2): Run "/env/bin" through
16401 expand-file-name before comparing with exec-path. (Bug#21375)
16403 2015-08-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16405 Use Core Text types/functions/variables/enumerators directly
16406 * src/macfont.h (FontDescriptorRef, FontRef, FontSymbolicTraits)
16407 (CharacterCollection): Remove typedefs. All uses replaced with
16409 (MAC_FONT_NAME_ATTRIBUTE, MAC_FONT_FAMILY_NAME_ATTRIBUTE)
16410 (MAC_FONT_TRAITS_ATTRIBUTE, MAC_FONT_SIZE_ATTRIBUTE)
16411 (MAC_FONT_CASCADE_LIST_ATTRIBUTE)
16412 (MAC_FONT_CHARACTER_SET_ATTRIBUTE, MAC_FONT_LANGUAGES_ATTRIBUTE)
16413 (MAC_FONT_FORMAT_ATTRIBUTE, MAC_FONT_SYMBOLIC_TRAIT)
16414 (MAC_FONT_WEIGHT_TRAIT, MAC_FONT_WIDTH_TRAIT)
16415 (MAC_FONT_SLANT_TRAIT): Remove macros. All uses replaced with
16417 (MAC_FONT_TRAIT_ITALIC, MAC_FONT_TRAIT_BOLD)
16418 (MAC_FONT_TRAIT_MONO_SPACE, MAC_FONT_TRAIT_COLOR_GLYPHS)
16419 (MAC_FONT_FORMAT_BITMAP)
16420 (MAC_CHARACTER_COLLECTION_IDENTITY_MAPPING)
16421 (MAC_CHARACTER_COLLECTION_ADOBE_JAPAN1): Remove enumerators.
16422 All uses replaced with definitions.
16423 (kCTFontTraitItalic, kCTFontTraitBold, kCTFontTraitMonoSpace)
16424 (kCTFontTraitColorGlyphs, kCTCharacterCollectionIdentityMapping)
16425 (kCTCharacterCollectionAdobeJapan1 kCTFontOrientationDefault):
16426 Add compatibility enumerators for older versions.
16427 (mac_font_descriptor_create_with_attributes)
16428 (mac_font_descriptor_create_matching_font_descriptors)
16429 (mac_font_descriptor_create_matching_font_descriptor)
16430 (mac_font_descriptor_copy_attribute)
16431 (mac_font_descriptor_supports_languages)
16432 (mac_font_create_with_name, mac_font_get_size)
16433 (mac_font_copy_family_name, mac_font_copy_character_set)
16434 (mac_font_get_glyphs_for_characters, mac_font_get_ascent)
16435 (mac_font_get_descent, mac_font_get_leading)
16436 (mac_font_get_underline_position)
16437 (mac_font_get_underline_thickness, mac_font_copy_graphics_font)
16438 (mac_font_copy_non_synthetic_table): Remove macros. All uses
16439 replaced with definitions.
16440 (mac_font_create_preferred_family_for_attributes)
16441 (mac_font_get_advance_width_for_glyph)
16442 (mac_font_get_bounding_rect_for_glyph)
16443 (mac_font_create_available_families, mac_font_shape):
16444 Remove macros for renamed functions.
16445 (mac_nsctfont_copy_font_descriptor): Remove unused macro.
16446 * src/macfont.m (mac_font_descriptor_supports_languages):
16447 Rename from mac_ctfont_descriptor_supports_languages.
16448 (mac_font_create_preferred_family_for_attributes): Rename from
16449 mac_ctfont_create_preferred_family_for_attributes.
16450 (mac_font_get_advance_width_for_glyph): Rename from
16451 mac_ctfont_get_advance_width_for_glyph.
16452 Use kCTFontOrientationDefault also for older versions.
16453 (mac_font_get_bounding_rect_for_glyph): Rename from
16454 mac_ctfont_get_bounding_rect_for_glyph.
16455 Use kCTFontOrientationDefault also for older versions.
16456 (mac_font_create_available_families): Rename from
16457 mac_ctfont_create_available_families.
16458 (mac_font_equal_in_postscript_name): Rename from
16459 mac_ctfont_equal_in_postscript_name. All uses changed.
16460 (mac_font_create_line_with_string_and_font): Rename from
16461 mac_ctfont_create_line_with_string_and_font. All uses changed.
16462 (mac_font_shape): Rename from mac_ctfont_shape.
16463 (mac_font_family_compare): Remove unused declaration.
16465 2015-08-29 Paul Eggert <eggert@cs.ucla.edu>
16467 Fix minor text quoting in calc, calendar, vc
16468 * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
16469 * lisp/calc/calc-help.el (calc-j-prefix-help):
16470 * lisp/calc/calc-misc.el (calc-help):
16471 * lisp/calc/calc.el (calc-algebraic-mode, calc-mode):
16472 Escape an apostrophe in a docstring.
16473 * lisp/calc/calc-forms.el (calc-hms-notation):
16474 * lisp/calc/calc-mode.el (calc-display-raw, calc-algebraic-mode):
16475 Escape an apostrophe in a diagnostic.
16476 * lisp/calc/calc-misc.el (calc-help):
16477 * lisp/calendar/diary-lib.el (diary-include-files):
16478 * lisp/calendar/todo-mode.el (todo-prefix, todo-item-mark):
16479 * lisp/vc/diff-mode.el (diff-delete-trailing-whitespace):
16480 * lisp/vc/ediff-diff.el (ediff-same-contents):
16481 * lisp/vc/ediff-merg.el (ediff-re-merge):
16482 * lisp/vc/ediff-ptch.el (ediff-patch-file-internal):
16483 * lisp/vc/ediff-util.el (ediff-test-save-region)
16484 (ediff-status-info):
16485 * lisp/vc/ediff.el (ediff-merge-revisions)
16486 (ediff-merge-revisions-with-ancestor):
16487 * lisp/vc/pcvs.el (cvs-mode-checkout, cvs-vc-command-advice):
16488 * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
16489 Respect text quoting style in doc string or diagnostic.
16490 * lisp/calc/calc-prog.el (calc-kbd-push, calc-kbd-pop):
16491 * lisp/vc/add-log.el (change-log-goto-source):
16492 Avoid double-formatting.
16493 * lisp/vc/ediff-init.el (format-message):
16494 New backward-compatibility alias.
16496 2015-08-28 Paul Eggert <eggert@cs.ucla.edu>
16498 Fix minor text quoting problems in lisp top level
16499 * lisp/apropos.el (apropos-describe-plist):
16500 * lisp/cus-theme.el (customize-themes):
16501 * lisp/dired.el (dired-log):
16502 * lisp/help-fns.el (describe-variable):
16503 * lisp/hexl.el (hexl-insert-multibyte-char):
16504 * lisp/info.el (Info-finder-find-node):
16505 * lisp/json.el (json-read-string):
16506 * lisp/novice.el (disabled-command-function)
16507 (disabled-command-function):
16508 * lisp/startup.el (normal-mouse-startup-screen):
16509 * lisp/woman.el (WoMan-log, WoMan-warn):
16510 Respect text quoting style in doc string or diagnostic.
16511 * lisp/replace.el (replace-character-fold):
16512 * src/syntax.c (Fmodify_syntax_entry):
16513 Escape an apostrophe in a docstring.
16514 * lisp/tempo.el (tempo-define-template):
16515 Remove confusing apostrophe from docstring.
16516 * lisp/whitespace.el (whitespace-mark-x):
16517 Use directed quotes in docstring.
16519 2015-08-28 Simen Heggestøyl <simenheg@gmail.com>
16521 Fix indentation rule in css-mode
16522 * lisp/textmodes/css-mode.el (css-smie-rules): Fix indentation of
16523 brackets in presence of pseudo-selectors. (Bug#21328)
16525 2015-08-28 Eli Zaretskii <eliz@gnu.org>
16527 Fix a bug in recording a macro while flyspell-mode is active
16528 * lisp/subr.el (sit-for): Don't call read-event when recording a
16531 2015-08-27 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
16533 Tweak startup screen quoting
16534 * lisp/startup.el (normal-splash-screen): Use standard
16535 "M-" abbrevation rather than a confusingly-different one.
16536 (normal-no-mouse-startup-screen): Follow ‘text-quoting-style’.
16538 2015-08-27 Paul Eggert <eggert@cs.ucla.edu>
16540 Add test case for ‘format’ bug and refactor
16541 * src/editfns.c (styled_format): Refactor internally, mostly by
16542 moving declarations closer to uses. This should not affect behavior.
16543 * test/automated/textprop-tests.el (textprop-tests-format): New test.
16545 Fix ‘format’ bug with property offsets
16546 * src/editfns.c (styled_format): Fix recently-introduced ‘format’
16547 bug in calculating string property offsets (Bug#21351).
16549 Use straight quotes in lib-src diagnostics
16550 These auxiliary programs can’t use Emacs’s text-quoting-style,
16551 and it’s too much trouble to redo that mechanism by hand.
16552 So just use straight quotes for now.
16553 * lib-src/ebrowse.c (main):
16554 * lib-src/emacsclient.c (decode_options, main):
16555 * lib-src/etags.c (Ada_help, default_C_help, Cplusplus_help)
16556 (Forth_help, HTML_help, Lisp_help, Makefile_help, Objc_help)
16557 (Perl_help, PHP_help, Python_help, Scheme_help, TeX_help, auto_help)
16558 (none_help, print_language_names, print_help, add_regex)
16559 (suggest_asking_for_help):
16560 * lib-src/make-docfile.c (write_c_args, scan_c_stream):
16561 Use straight quotes in diagnostics.
16563 ‘text-quoting-style’ fixes for admin
16564 * admin/admin.el (cusver-scan, cusver-check):
16565 * admin/authors.el (authors-canonical-file-name):
16566 * admin/bzrmerge.el (bzrmerge-missing):
16567 Respect ‘text-quoting-style’ in diagnostics.
16569 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
16571 Assume GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS
16572 This removes the need for GCPRO1 etc. Suggested by Stefan Monnier in:
16573 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00918.html
16574 * doc/lispref/internals.texi (Writing Emacs Primitives):
16576 Document the change.
16577 * src/alloc.c (gcprolist, dump_zombies, MAX_ZOMBIES, zombies)
16578 (nzombies, ngcs, avg_zombies, max_live, max_zombies, avg_live)
16579 (Fgc_status, check_gcpros, relocatable_string_data_p, gc-precise):
16580 * src/bytecode.c (mark_byte_stack) [BYTE_MARK_STACK]:
16581 * src/eval.c (gcpro_level) [DEBUG_GCPRO]:
16582 * src/lisp.h (struct handler.gcpro, struct gcpro, GC_MARK_STACK)
16583 (GC_USE_GCPROS_AS_BEFORE, GC_MAKE_GCPROS_NOOPS)
16584 (GC_MARK_STACK_CHECK_GCPROS, GC_USE_GCPROS_CHECK_ZOMBIES)
16585 (BYTE_MARK_STACK, GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, GCPRO6)
16586 (GCPRO7, UNGCPRO, RETURN_UNGCPRO):
16587 Remove. All uses removed. The code now assumes
16588 GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS.
16589 * src/bytecode.c (relocate_byte_stack):
16590 Rename from unmark_byte_stack, since it now only relocates.
16591 All callers changed.
16592 * src/frame.c (make_frame): Add an IF_LINT to pacify GCC 5.2
16593 with GCPROs removed.
16594 * src/systime.h: Use EMACS_LISP_H as the canary instead of GCPRO1.
16595 * test/automated/finalizer-tests.el (finalizer-basic)
16596 (finalizer-circular-reference, finalizer-cross-reference)
16598 * test/automated/generator-tests.el (cps-test-iter-close-finalizer):
16599 Remove tests, as they depend on gc-precise.
16601 2015-08-26 Nicolas Petton <nicolas@petton.fr>
16603 Improve seq-concatenate for new sequence types
16604 Use the new `seq-into-sequence' in seqs passed to `seq-concatenate' to
16605 ensure that concatenation happens on sequences only. This makes it
16606 possible to use `seq-concatenate' for new types of seqs.
16607 * lisp/emacs-lisp/seq.el (seq-into-sequence, seq-concatenate):
16608 New function used in `seq-concatenate'.
16609 * test/automated/seq-tests.el (test-seq-into-sequence): New unit test
16610 for seq-into-sequence.
16612 2015-08-26 Stephen Leake <stephen_leake@stephe-leake.org>
16614 Add mode local overrides to xref-find-definitions
16615 * lisp/cedet/mode-local.el (xref-mode-local--override-present)
16616 (xref-mode-local-overload): New; add mode local overrides to
16617 xref-find-definitions.
16618 * test/automated/elisp-mode-tests.el: Add mode local override tests.
16619 (xref-elisp-test-run): Handle indented defuns.
16620 (xref-elisp-generic-*): Improve doc strings.
16621 * lisp/progmodes/elisp-mode.el (elisp-xref-find-def-functions): New.
16622 (elisp--xref-find-definitions): Use it.
16624 Add mode local overrides to describe-function
16625 * lisp/cedet/mode-local.el (describe-mode-local-overload):
16626 New; add mode local overrides to describe-function.
16627 * etc/NEWS: Document change.
16629 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
16631 Prefer straight quoting in some etc text files
16632 These files are plain text and might be used by non-Emacs apps.
16633 They’re mostly ASCII, so just use straight quotes.
16635 Fix quoting in ‘message_with_string’
16636 * src/nsfont.m (nsfont_open): Use directed quotes in format; they
16638 * src/xdisp.c (message_to_stderr): New function, refactored from
16639 part of ‘message3_nolog’.
16640 (message3_nolog): Use it.
16641 (message_with_string): Use it. Don’t mishandle NUL bytes when
16642 noninteractive. Prefer AUTO_STRING when it’s most likely faster.
16643 Use ‘format-message’, not ‘format’, so that quotes are translated.
16645 2015-08-26 Eli Zaretskii <eliz@gnu.org>
16647 Mention false positives of file-accessible-directory on w32
16648 * src/fileio.c (Ffile_accessible_directory_p): Doc fix.
16651 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
16653 Treat error strings as help
16654 * src/print.c (print_error_message): Translate quotes and command
16655 keys in errmsg so that users see, e.g., "Symbol’s value as
16656 variable is void: foo" when text-quoting-style is curved.
16658 2015-08-26 Michael Albinus <michael.albinus@gmx.de>
16660 * lisp/net/tramp-cache.el (top): Use `message', not `format-message'.
16662 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
16664 Top-level elisp files respect ‘text-quoting-style’
16665 In top-level elisp files, use format-message in diagnostic formats,
16666 so that they follow user preference as per ‘text-quoting-style’
16667 rather than being hard-coded to quote `like this'.
16668 * lisp/allout.el (allout-get-configvar-values):
16669 * lisp/apropos.el (apropos-symbols-internal):
16670 * lisp/dired-aux.el (dired-do-shell-command, dired-create-files)
16671 (dired-do-create-files-regexp, dired-create-files-non-directory):
16672 * lisp/dired-x.el (dired-do-run-mail):
16673 * lisp/dired.el (dired-log, dired-dnd-handle-local-file):
16674 * lisp/disp-table.el (standard-display-european):
16675 * lisp/find-dired.el (find-dired):
16676 * lisp/forms.el (forms-mode):
16677 * lisp/ido.el (ido-buffer-internal):
16678 * lisp/info.el (Info-index-next):
16679 * lisp/outline.el (outline-invent-heading):
16680 * lisp/printing.el (pr-ps-outfile-preprint, pr-i-ps-send):
16681 * lisp/proced.el (proced-log):
16682 * lisp/ps-print.el (ps-print-preprint, ps-get-size):
16683 * lisp/recentf.el (recentf-open-files, recentf-save-list):
16684 * lisp/savehist.el (savehist-save):
16685 * lisp/server.el (server-ensure-safe-dir):
16686 * lisp/ses.el (ses-rename-cell):
16687 * lisp/simple.el (list-processes--refresh):
16688 * lisp/startup.el (command-line):
16689 * lisp/strokes.el (strokes-unset-last-stroke)
16690 (strokes-execute-stroke):
16691 Use format-message so that quotes are restyled.
16692 * lisp/cus-edit.el (custom-raised-buttons, customize-browse):
16693 Don’t quote ‘raised’.
16694 * lisp/descr-text.el (describe-char):
16695 * lisp/dirtrack.el (dirtrack-debug-message):
16696 * lisp/hexl.el (hexl-insert-multibyte-char):
16697 Apply substitute-command-keys to help string.
16698 * lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
16699 (wdired-do-perm-changes):
16700 Let dired-log do the formatting.
16702 2015-08-25 Paul Eggert <eggert@cs.ucla.edu>
16704 Go back to grave quoting in Tramp
16705 * lisp/net/tramp-adb.el:
16706 * lisp/net/tramp-cache.el:
16707 * lisp/net/tramp-compat.el:
16708 * lisp/net/tramp-gvfs.el:
16709 * lisp/net/tramp-gw.el:
16710 * lisp/net/tramp-sh.el:
16711 * lisp/net/tramp-smb.el:
16712 * lisp/net/tramp.el:
16713 Stick with grave quoting in diagnostics strings. This is more
16714 portable to older Emacs, desirable for Tramp.
16715 * lisp/net/tramp-cache.el: Use ‘format-message’, not ‘format’,
16716 for diagnostic that needs requoting.
16717 * lisp/net/tramp-compat.el (format-message):
16718 Fall back on simple ‘format’, since that’s good enough now.
16720 Go back to grave quoting in Gnus
16721 * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
16722 * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
16723 (gnus-agent-fetch-headers):
16724 * lisp/gnus/gnus-int.el (gnus-start-news-server):
16725 * lisp/gnus/gnus-registry.el:
16726 (gnus-registry--split-fancy-with-parent-internal)
16727 (gnus-registry-post-process-groups):
16728 * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
16729 * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
16730 * lisp/gnus/gnus-topic.el (gnus-topic-rename):
16731 * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
16732 * lisp/gnus/spam.el (spam-check-blackholes):
16733 Stick with grave quoting in diagnostics strings. This is more
16734 portable to older Emacs, desirable for Gnus.
16736 Fix customization of text-quoting-style
16737 * lisp/cus-edit.el (custom-guess-type, custom-variable-documentation):
16738 * lisp/wid-edit.el (widget-docstring):
16739 Get raw docstring here since it’s cooked later and should not be
16741 * lisp/cus-edit.el (custom-group-value-create):
16742 Cook the docstring before inserting it.
16743 * lisp/cus-start.el (text-quoting-style): Quote the customization
16744 docstrings according to the new rules. Give curved examples.
16746 format-message now curves ` and '
16747 That way, the caller doesn’t have to use curved quotes to
16748 get diagnostics that match the text-quoting-style preferences.
16749 Suggested by Dmitry Gutov in:
16750 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00893.html
16751 This means we no longer need %qs, so remove that format.
16752 While we’re at it, fix an unlikely bug and lessen the pressure
16753 on the garbage collector by processing the string once rather
16754 than twice in the usual case.
16755 * doc/lispref/strings.texi (Formatting Strings):
16756 * etc/NEWS: Document this.
16757 * lisp/subr.el (format-message): Remove; now done in C.
16758 * src/callint.c (Fcall_interactively):
16759 * src/editfns.c (Fmessage, Fmessage_box):
16760 Use Fformat_message instead of Finternal__text_restyle
16761 followed by Fformat.
16762 * src/doc.c (LSQM, RSQM): Remove; all uses changed to use
16764 (Fsubstitute_command_keys): Prefer AUTO_STRING to build_string
16765 when pure ASCII now suffices. Fix unlikely bug when parsing
16766 unibyte string containing non-ASCII bytes. Use inline code
16767 rather than memcpy, as it’s a tiny number of bytes.
16768 (Finternal__text_restyle): Remove; no longer used.
16769 (syms_of_doc): Don’t declare it.
16770 * src/editfns.c (Fformat): Rewrite in terms of new function
16772 (Fformat_message): New function, moved here from subr.el.
16773 (styled_format): New function, with the old guts of Fformat,
16774 except it now optionally transliterates quotes, and it transliterates
16775 traditional grave accent and apostrophe quoting as well.
16776 Remove recently-added q flag; no longer needed or used.
16777 (syms_of_editfns): Define format-message.
16778 * src/lisp.h (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
16779 Remove; no longer need to be global symbols.
16780 * src/xdisp.c (vadd_to_log): Use Fformat_message, not Fformat,
16781 so that callers can use `%s'.
16782 * src/image.c (image_size_error, xbm_load_image, xbm_load)
16783 (xpm_load, pbm_load, png_load_body, jpeg_load_body, tiff_load)
16784 (gif_load, imagemagick_load_image, imagemagick_load, svg_load)
16785 (svg_load_image, gs_load, x_kill_gs_process):
16786 * src/lread.c (load_warn_old_style_backquotes):
16787 * src/xfaces.c (load_pixmap):
16788 * src/xselect.c (x_clipboard_manager_error_1):
16789 Use `%s' instead of %qs in formats.
16791 2015-08-25 Eli Zaretskii <eliz@gnu.org>
16793 Minor fixes in doc/emacs/search.texi
16794 * doc/emacs/search.texi (Basic Isearch): Fix a typo.
16795 (Special Isearch): Use @w{} to generate several consecutive spaces
16796 with Texinfo 6. (Bug#21345)
16798 2015-08-25 Michael Albinus <michael.albinus@gmx.de>
16800 * lisp/net/tramp-sh.el (tramp-awk-encode, tramp-awk-decode)
16801 (tramp-awk-coding-test): New defconsts.
16802 (tramp-remote-coding-commands): Use them.
16803 (tramp-find-inline-encoding): Check for Perl only if necessary.
16805 2015-08-25 Xue Fuqiao <xfq.free@gmail.com>
16807 * doc/lispintro/emacs-lisp-intro.texi (Run a Program): Add some
16808 index entries for the special form `quote'.
16810 2015-08-25 Paul Eggert <eggert@cs.ucla.edu>
16814 Gnus format-message typo fix
16815 * lisp/gnus/gnus-util.el (gnus-format-message):
16816 Fix typo when running in older Emacs.
16818 Prefer directed to neutral quotes in docstings and diagnostics.
16819 In docstrings, escape apostrophes that would otherwise be translated
16820 to curved quotes using the newer, simpler rules.
16821 * admin/unidata/unidata-gen.el (unidata-gen-table):
16822 * lisp/align.el (align-region):
16823 * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet):
16824 * lisp/bookmark.el (bookmark-default-annotation-text):
16825 * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
16826 * lisp/calc/calc-lang.el (math-read-giac-subscr)
16827 (math-read-math-subscr):
16828 * lisp/calc/calc-misc.el (report-calc-bug):
16829 * lisp/calc/calc-prog.el (calc-fix-token-name)
16830 (calc-read-parse-table-part):
16831 * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
16832 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
16833 * lisp/dabbrev.el (dabbrev-expand):
16834 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
16835 * lisp/emacs-lisp/elint.el (elint-get-top-forms):
16836 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
16837 * lisp/emulation/viper-cmd.el (viper-toggle-search-style):
16838 * lisp/erc/erc-button.el (erc-nick-popup):
16839 * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login):
16840 * lisp/eshell/em-dirs.el (eshell/cd):
16841 * lisp/eshell/em-glob.el (eshell-glob-regexp):
16842 * lisp/eshell/em-pred.el (eshell-parse-modifiers):
16843 * lisp/eshell/esh-arg.el (eshell-parse-arguments):
16844 * lisp/eshell/esh-opt.el (eshell-show-usage):
16845 * lisp/files-x.el (modify-file-local-variable):
16846 * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer)
16847 (filesets-update-pre010505):
16848 * lisp/find-cmd.el (find-generic, find-to-string):
16849 * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
16850 * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
16851 (gnus-agent-fetch-headers):
16852 * lisp/gnus/gnus-int.el (gnus-start-news-server):
16853 * lisp/gnus/gnus-registry.el:
16854 (gnus-registry--split-fancy-with-parent-internal):
16855 * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
16856 * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
16857 * lisp/gnus/gnus-topic.el (gnus-topic-rename):
16858 * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
16859 * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
16860 * lisp/gnus/spam.el (spam-check-blackholes):
16861 * lisp/mail/feedmail.el (feedmail-run-the-queue):
16862 * lisp/mpc.el (mpc-playlist-rename):
16863 * lisp/net/ange-ftp.el (ange-ftp-shell-command):
16864 * lisp/net/mairix.el (mairix-widget-create-query):
16865 * lisp/net/tramp-cache.el:
16866 * lisp/obsolete/otodo-mode.el (todo-more-important-p):
16867 * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
16868 * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
16869 * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
16870 * lisp/org/ob-core.el (org-babel-goto-named-src-block)
16871 (org-babel-goto-named-result):
16872 * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
16873 * lisp/org/ob-ref.el (org-babel-ref-resolve):
16874 * lisp/org/org-agenda.el (org-agenda-prepare):
16875 * lisp/org/org-bibtex.el (org-bibtex-fields):
16876 * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
16877 (org-clock-resolve):
16878 * lisp/org/org-feed.el (org-feed-parse-atom-entry):
16879 * lisp/org/org-habit.el (org-habit-parse-todo):
16880 * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
16881 (org-mouse-context-menu):
16882 * lisp/org/org-table.el (org-table-edit-formulas):
16883 * lisp/org/ox.el (org-export-async-start):
16884 * lisp/play/dunnet.el (dun-score, dun-help, dun-endgame-question)
16885 (dun-rooms, dun-endgame-questions):
16886 * lisp/progmodes/ada-mode.el (ada-goto-matching-start):
16887 * lisp/progmodes/ada-xref.el (ada-find-executable):
16888 * lisp/progmodes/antlr-mode.el (antlr-options-alists):
16889 * lisp/progmodes/flymake.el (flymake-parse-err-lines)
16890 (flymake-start-syntax-check-process):
16891 * lisp/progmodes/python.el (python-define-auxiliary-skeleton):
16892 * lisp/progmodes/sql.el (sql-comint):
16893 * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
16894 * lisp/server.el (server-get-auth-key):
16895 * lisp/subr.el (version-to-list):
16896 * lisp/textmodes/reftex-ref.el (reftex-label):
16897 * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
16898 * lisp/vc/ediff-diff.el (ediff-same-contents):
16899 * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
16900 * test/automated/tramp-tests.el (tramp-test33-asynchronous-requests):
16901 Use directed rather than neutral quotes in diagnostics.
16903 Treat ' like ’ even when not matching `
16904 This is simpler and easier to explain, and should encourage better
16905 typography. Do this in Electric Quote mode and when translating
16906 quotes in docstrings. Inspired by a suggestion by Dmitry Gutov in:
16907 https://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00806.html
16908 * doc/emacs/text.texi (Quotation Marks):
16909 * doc/lispref/help.texi (Keys in Documentation):
16912 * lisp/electric.el (electric-quote-post-self-insert-function):
16913 * src/doc.c (Fsubstitute_command_keys):
16914 Always treat ' like ’ even when not matched by an open quote.
16916 2015-08-25 Glenn Morris <rgm@gnu.org>
16918 * doc/emacs/cal-xtra.texi (Holiday Customizing): Fix typo in example.
16919 * lisp/calendar/holidays.el (calendar-holidays): Fix doc typo.
16921 2015-08-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16923 * src/macfont.m (macfont_create_family_with_symbol):
16924 Accept localized names.
16926 2015-08-24 Paul Eggert <eggert@cs.ucla.edu>
16928 Tramp diagnostics as per ‘text-quoting-style’
16929 * lisp/net/tramp-adb.el (tramp-adb-handle-file-truename)
16930 (tramp-adb-get-ls-command, tramp-adb-handle-make-directory)
16931 (tramp-adb-handle-delete-directory)
16932 (tramp-adb-handle-delete-file)
16933 (tramp-adb-handle-file-local-copy)
16934 (tramp-adb-handle-write-region, tramp-adb-handle-copy-file)
16935 (tramp-adb-send-command-and-check, tramp-adb-wait-for-output)
16936 (tramp-adb-maybe-open-connection):
16937 * lisp/net/tramp-cache.el:
16938 * lisp/net/tramp-compat.el (tramp-compat-temporary-file-directory)
16939 (tramp-compat-octal-to-decimal)
16940 (tramp-compat-coding-system-change-eol-conversion):
16941 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler)
16942 (tramp-gvfs-do-copy-or-rename-file)
16943 (tramp-gvfs-handle-delete-directory)
16944 (tramp-gvfs-handle-delete-file)
16945 (tramp-gvfs-handle-expand-file-name)
16946 (tramp-gvfs-handle-file-local-copy)
16947 (tramp-gvfs-handle-file-notify-add-watch)
16948 (tramp-gvfs-handle-make-directory)
16949 (tramp-gvfs-handle-write-region, tramp-gvfs-url-file-name):
16950 * lisp/net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
16951 (tramp-gw-aux-proc-sentinel, tramp-gw-open-connection):
16952 * lisp/net/tramp-sh.el (tramp-sh-handle-file-truename)
16953 (tramp-sh-handle-set-visited-file-modtime)
16954 (tramp-sh-handle-set-file-modes)
16955 (tramp-sh-handle-file-name-all-completions)
16956 (tramp-sh-handle-add-name-to-file, tramp-do-copy-or-rename-file)
16957 (tramp-do-copy-or-rename-file-directly)
16958 (tramp-do-copy-or-rename-file-out-of-band)
16959 (tramp-sh-handle-make-directory)
16960 (tramp-sh-handle-delete-directory, tramp-sh-handle-delete-file)
16961 (tramp-sh-handle-insert-directory, tramp-process-sentinel)
16962 (tramp-sh-handle-start-file-process)
16963 (tramp-sh-handle-file-local-copy)
16964 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
16965 (tramp-sh-handle-file-notify-add-watch, tramp-maybe-send-script)
16966 (tramp-find-file-exists-command, tramp-open-shell)
16968 (tramp-open-connection-setup-interactive-shell)
16969 (tramp-find-inline-encoding, tramp-find-inline-compress)
16970 (tramp-compute-multi-hops, tramp-maybe-open-connection)
16971 (tramp-wait-for-output, tramp-send-command-and-check)
16972 (tramp-send-command-and-read, tramp-get-remote-path)
16973 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
16974 (tramp-get-ls-command-with-quoting-style)
16975 (tramp-get-test-command, tramp-get-remote-ln)
16976 (tramp-get-remote-perl, tramp-get-remote-stat)
16977 (tramp-get-remote-readlink, tramp-get-remote-trash)
16978 (tramp-get-remote-touch, tramp-get-remote-gvfs-monitor-dir)
16979 (tramp-get-remote-inotifywait, tramp-get-remote-id)
16980 (tramp-get-remote-python):
16981 * lisp/net/tramp-smb.el (tramp-smb-errors)
16982 (tramp-smb-handle-add-name-to-file, tramp-smb-handle-copy-file)
16983 (tramp-smb-handle-delete-directory)
16984 (tramp-smb-handle-delete-file)
16985 (tramp-smb-handle-file-local-copy)
16986 (tramp-smb-handle-make-directory)
16987 (tramp-smb-handle-make-directory-internal)
16988 (tramp-smb-handle-make-symbolic-link)
16989 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-acl)
16990 (tramp-smb-handle-set-file-modes)
16991 (tramp-smb-handle-write-region, tramp-smb-get-file-entries):
16992 * lisp/net/tramp.el (tramp-debug-message, tramp-error)
16993 (tramp-process-actions):
16994 Generate diagnostics according to ‘text-quoting-style’, by
16995 using curved quotes in format strings and ‘format-message’
16997 * lisp/net/tramp-compat.el (format-message):
16998 Define a replacement, if it’s an older version of Emacs
16999 that doesn’t have it already.
17001 * etc/NEWS: Clarify text-quoting-style and electric-quote-mode.
17003 2015-08-24 Xue Fuqiao <xfq.free@gmail.com>
17005 Fix documentation for `save-excursion'
17006 * doc/lispref/positions.texi (Excursions):
17007 * doc/lispintro/emacs-lisp-intro.texi (save-excursion)
17008 (Template for save-excursion, Point and mark): `save-excursion'
17009 does not save&restore the mark any more.
17011 2015-08-24 Michael Albinus <michael.albinus@gmx.de>
17013 * lisp/net/tramp-sh.el (tramp-stat-marker, tramp-stat-quoted-marker):
17015 (tramp-do-file-attributes-with-stat)
17016 (tramp-do-directory-files-and-attributes-with-stat): Use them.
17017 (tramp-convert-file-attributes): Remove double slashes in symlinks.
17018 * test/automated/tramp-tests.el (tramp-test18-file-attributes):
17019 Handle symlinks with "//" in the file name.
17021 Revert fbb5531fa11d13854b274d28ccd329c9b6652cfc for tramp.el.
17023 2015-08-24 Nicolas Petton <nicolas@petton.fr>
17025 Fix cl-subseq and cl-concatenate
17026 * lisp/emacs-lisp/cl-extra.el (cl-subseq, cl-concatenate): Do not use
17028 * lisp/emacs-lisp/seq.el (seq-concatenate): Call cl-concatenate in
17031 2015-08-24 Pip Cet <pipcet@gmail.com> (tiny change)
17033 Fix full-screen code when there is no window manager (Bug#21317)
17034 * src/xterm.h (x_wm_supports): Declare external.
17035 * src/xterm.c (wm_suppports): Rename to `x_wm_supports', export.
17036 (do_ewmh_fullscreen, x_ewmh_activate_frame): Adjust for rename.
17037 (x_check_fullscreen): Call `x_wm_set_size_hint', restore
17038 `fullscreen' frame parameter.
17039 * src/gtkutil.c (x_wm_set_size_hint): Set size hints when running
17040 without a window manager.
17042 2015-08-24 Glenn Morris <rgm@gnu.org>
17044 * lisp/version.el (emacs-version): No longer include build host.
17045 * doc/lispref/intro.texi (Version Info): Update example.
17047 2015-08-24 Paul Eggert <eggert@cs.ucla.edu>
17049 * doc/lispref/elisp.texi: Fix typo in previous change.
17051 More-conservative ‘format’ quote restyling
17052 Instead of restyling curved quotes for every call to ‘format’,
17053 create a new function ‘format-message’ that does the restyling,
17054 and using the new function instead of ‘format’ only in contexts
17055 where this seems appropriate.
17056 Problem reported by Dmitry Gutov and Andreas Schwab in:
17057 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00826.html
17058 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00827.html
17059 * doc/lispref/commands.texi (Using Interactive):
17060 * doc/lispref/control.texi (Signaling Errors, Signaling Errors):
17061 * doc/lispref/display.texi (Displaying Messages, Progress):
17062 * doc/lispref/elisp.texi:
17063 * doc/lispref/help.texi (Keys in Documentation):
17064 * doc/lispref/minibuf.texi (Minibuffer Misc):
17065 * doc/lispref/strings.texi (Formatting Strings):
17067 Document the changes.
17068 * lisp/abbrev.el (expand-region-abbrevs):
17069 * lisp/apropos.el (apropos-library):
17070 * lisp/calc/calc-ext.el (calc-record-message)
17071 (calc-user-function-list):
17072 * lisp/calc/calc-help.el (calc-describe-key, calc-full-help):
17073 * lisp/calc/calc-lang.el (math-read-big-balance):
17074 * lisp/calc/calc-store.el (calc-edit-variable):
17075 * lisp/calc/calc-units.el (math-build-units-table-buffer):
17076 * lisp/calc/calc-yank.el (calc-edit-mode):
17077 * lisp/calendar/icalendar.el (icalendar-export-region)
17078 (icalendar--add-diary-entry):
17079 * lisp/cedet/mode-local.el (mode-local-print-binding)
17080 (mode-local-describe-bindings-2):
17081 * lisp/cedet/semantic/complete.el (semantic-completion-message):
17082 * lisp/cedet/semantic/edit.el (semantic-parse-changes-failed):
17083 * lisp/cedet/semantic/wisent/comp.el (wisent-log):
17084 * lisp/cedet/srecode/insert.el (srecode-insert-show-error-report):
17085 * lisp/descr-text.el (describe-text-properties-1, describe-char):
17086 * lisp/dframe.el (dframe-message):
17087 * lisp/dired-aux.el (dired-query):
17088 * lisp/emacs-lisp/byte-opt.el (byte-compile-log-lap-1):
17089 * lisp/emacs-lisp/bytecomp.el (byte-compile-log)
17090 (byte-compile-log-file, byte-compile-warn, byte-compile-form):
17091 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
17092 (cconv-analyze-form):
17093 * lisp/emacs-lisp/check-declare.el (check-declare-warn):
17094 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
17095 * lisp/emacs-lisp/cl-macs.el (cl-symbol-macrolet):
17096 * lisp/emacs-lisp/edebug.el (edebug-format):
17097 * lisp/emacs-lisp/eieio-core.el (eieio-oref):
17098 * lisp/emacs-lisp/eldoc.el (eldoc-minibuffer-message)
17100 * lisp/emacs-lisp/elint.el (elint-file, elint-log):
17101 * lisp/emacs-lisp/find-func.el (find-function-library):
17102 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
17103 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
17104 * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
17105 * lisp/emacs-lisp/package.el (package-compute-transaction)
17106 (package-install-button-action, package-delete-button-action)
17107 (package-menu--list-to-prompt):
17108 * lisp/emacs-lisp/timer.el (timer-event-handler):
17109 * lisp/emacs-lisp/warnings.el (lwarn, warn):
17110 * lisp/emulation/viper-cmd.el:
17111 (viper-toggle-parse-sexp-ignore-comments)
17112 (viper-kill-buffer, viper-brac-function):
17113 * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
17114 * lisp/facemenu.el (facemenu-add-new-face):
17115 * lisp/faces.el (face-documentation, read-face-name)
17116 (face-read-string, read-face-font, describe-face):
17117 * lisp/files.el (find-alternate-file, hack-local-variables)
17118 (hack-one-local-variable--obsolete, write-file)
17119 (basic-save-buffer, delete-directory):
17120 * lisp/format.el (format-write-file, format-find-file)
17121 (format-insert-file):
17122 * lisp/help-fns.el (help-fns--key-bindings)
17123 (help-fns--compiler-macro, help-fns--obsolete)
17124 (help-fns--interactive-only, describe-function-1)
17125 (describe-variable):
17126 * lisp/help.el (describe-mode):
17127 * lisp/info-xref.el (info-xref-output):
17128 * lisp/info.el (Info-virtual-index-find-node)
17129 (Info-virtual-index, info-apropos):
17130 * lisp/international/kkc.el (kkc-error):
17131 * lisp/international/mule-cmds.el:
17132 (select-safe-coding-system-interactively)
17133 (select-safe-coding-system, describe-input-method):
17134 * lisp/international/mule-conf.el (code-offset):
17135 * lisp/international/mule-diag.el (describe-character-set)
17136 (list-input-methods-1):
17137 * lisp/international/quail.el (quail-error):
17138 * lisp/minibuffer.el (minibuffer-message):
17139 * lisp/mpc.el (mpc--debug):
17140 * lisp/msb.el (msb--choose-menu):
17141 * lisp/net/ange-ftp.el (ange-ftp-message):
17142 * lisp/net/gnutls.el (gnutls-message-maybe):
17143 * lisp/net/newst-backend.el (newsticker--sentinel-work):
17144 * lisp/net/newst-treeview.el (newsticker--treeview-load):
17145 * lisp/net/nsm.el (nsm-query-user):
17146 * lisp/net/rlogin.el (rlogin):
17147 * lisp/net/soap-client.el (soap-warning):
17148 * lisp/net/tramp.el (tramp-debug-message):
17149 * lisp/nxml/nxml-outln.el (nxml-report-outline-error):
17150 * lisp/nxml/nxml-parse.el (nxml-parse-error):
17151 * lisp/nxml/rng-cmpct.el (rng-c-error):
17152 * lisp/nxml/rng-match.el (rng-compile-error):
17153 * lisp/nxml/rng-uri.el (rng-uri-error):
17154 * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
17155 * lisp/org/org-ctags.el:
17156 (org-ctags-ask-rebuild-tags-file-then-find-tag):
17157 * lisp/proced.el (proced-log):
17158 * lisp/progmodes/ebnf2ps.el (ebnf-log):
17159 * lisp/progmodes/flymake.el (flymake-log):
17160 * lisp/progmodes/vhdl-mode.el (vhdl-warning-when-idle):
17161 * lisp/replace.el (occur-1):
17162 * lisp/simple.el (execute-extended-command)
17163 (undo-outer-limit-truncate, define-alternatives):
17164 * lisp/startup.el (command-line):
17165 * lisp/subr.el (error, user-error, add-to-list):
17166 * lisp/tutorial.el (tutorial--describe-nonstandard-key)
17167 (tutorial--find-changed-keys):
17168 * src/callint.c (Fcall_interactively):
17169 * src/editfns.c (Fmessage, Fmessage_box):
17170 Restyle the quotes of format strings intended for use as a
17171 diagnostic, when restyling seems appropriate.
17172 * lisp/subr.el (format-message): New function.
17173 * src/doc.c (Finternal__text_restyle): New function.
17174 (syms_of_doc): Define it.
17176 2015-08-23 Paul Eggert <eggert@cs.ucla.edu>
17178 * etc/NEWS: The new ‘q’ flag is not an incompatible change.
17180 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
17182 python.el: Fix python-shell-buffer-substring on indented code
17184 * lisp/progmodes/python.el (python-shell-buffer-substring):
17185 Respect current line indentation when calculating string.
17186 * test/automated/python-tests.el
17187 (python-shell-buffer-substring-10)
17188 (python-shell-buffer-substring-11)
17189 (python-shell-buffer-substring-12): New tests.
17191 2015-08-23 Paul Eggert <eggert@cs.ucla.edu>
17193 Fix minor glitches from ‘format’ reversion
17194 * doc/lispref/strings.texi (Formatting Strings):
17195 After reversion, ‘text-quoting-style’ is documented in ‘Keys in
17196 Documentation’, not below.
17197 * src/syntax.c (Finternal_describe_syntax_value):
17198 Prefer AUTO_STRING to build_string where either will do, as
17199 AUTO_STRING is a bit faster.
17201 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
17203 python.el: Defer shell setup code until first interactive prompt
17204 * lisp/progmodes/python.el
17205 (python-shell-comint-watch-for-first-prompt-output-filter):
17207 (inferior-python-mode): Use it.
17208 (python-shell-first-prompt-hook): New hook.
17209 (python-shell-send-setup-code)
17210 (python-shell-completion-native-turn-on-maybe-with-msg): Attach to
17211 this hook instead of inferior-python-hook.
17213 2015-08-23 Nicolas Petton <nicolas@petton.fr>
17215 Remove the calls to `seq-into` from `seq-concatenate`
17216 Since most new types of seq would have to be defined as sequences (cons
17217 cells or CL structs, mostly), there is no need to convert the seqs to
17218 sequences (which can be a fairly expensive operation).
17219 * lisp/emacs-lisp/seq.el (seq-concatenate): Do not ensure that seqs are
17222 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
17224 python.el: Fix completion for pdb interactions
17225 * lisp/progmodes/python.el (python-shell-completion-setup-code):
17226 Simplify. Toggle print_mode for native wrapped completer.
17227 (python-shell-completion-native-setup): Ensure process buffer.
17228 Add print_mode attribute to completer wrapper to toggle returning
17229 or printing candidates.
17230 (python-shell-completion-native-get-completions): Cleanup.
17231 (python-shell-completion-get-completions): Cleanup.
17232 (python-shell-completion-at-point): Perform prompt checks.
17233 Force fallback completion in pdb interactions.
17235 2015-08-23 Nicolas Petton <nicolas@petton.fr>
17237 Make seq.el more extensible by using cl-defmethod
17238 * lisp/emacs-lisp/seq.el: Define seq.el functions using cl-defmethod to
17239 make it easier to extend seq.el with new "seq types".
17240 * test/automated/seq-tests.el (test-setf-seq-elt): New test.
17241 * lisp/emacs-lisp/cl-extra.el (cl-subseq): Move back the definition of
17242 subseq in cl-extra.el, and use it in seq.el.
17244 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
17246 python.el: Fix prompt detection with user overridden interpreter
17247 * lisp/progmodes/python.el (python-shell-prompt-detect):
17248 Honor buffer local python-shell-interpreter and
17249 python-shell-interpreter-interactive-arg.
17251 2015-08-23 Eli Zaretskii <eliz@gnu.org>
17253 Support exec-directory with non-ASCII characters on Windows
17254 * src/w32proc.c (sys_spawnve): Make sure exec-directory is encoded
17255 in the system's ANSI codepage, when it is used for invoking
17258 2015-08-23 Andreas Schwab <schwab@linux-m68k.org>
17260 Revert "Extend ‘format’ to translate curved quotes"
17261 This reverts commit 244c801689d2f7a80480d83cd7d092d4762ebe08.
17263 Revert "Prefer ‘format’ to ‘substitute-command-keys’"
17264 This reverts commit 6af5aad26411ffe21c3fe4bc5438347110910111.
17266 2015-08-23 Xue Fuqiao <xfq.free@gmail.com>
17268 * doc/lispintro/emacs-lisp-intro.texi (Switching Buffers):
17269 Clarify "invisible window".
17271 2015-08-23 Xue Fuqiao <xfq.free@gmail.com>
17273 * doc/emacs/modes.texi (Choosing Modes): Minor doc fix for
17274 magic-fallback-mode-alist.
17276 2015-08-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
17278 python.el: fallback completion, ffap and eldoc setup enhancements
17279 Setup codes are now sent continuously so that the current frame is
17280 always taken into account. This allows working within debuggers
17281 and always keeping a fresh version of setup codes that will return
17283 * lisp/progmodes/python.el (python-shell-setup-codes): Cleanup.
17284 (python-shell-send-setup-code): Send code only when
17285 python-shell-setup-codes is non-nil.
17286 (python-shell-completion-string-code): Cleanup trailing newline.
17287 (python-shell-completion-get-completions): Always use
17288 python-shell-completion-setup-code.
17289 (python-ffap-setup-code): Work with any object, not only modules.
17290 (python-ffap-string-code): Cleanup trailing newline.
17291 (python-ffap-module-path): Always use python-ffap-setup-code.
17292 (python-eldoc-string-code): Cleanup trailing newline.
17293 (python-eldoc--get-doc-at-point): Always use
17294 python-eldoc-setup-code. Return non-nil only if docstring is
17297 python.el: Increase native completion robustness
17298 * lisp/progmodes/python.el (python-shell-completion-native-setup):
17299 Make completer print real candidates and just return dummy ones to
17300 avoid input modification.
17301 (python-shell-completion-native-get-completions): Set
17302 comint-redirect-insert-matching-regexp to non-nil and make
17303 comint-redirect-finished-regexp match the last dummy candidate.
17304 Use python-shell-accept-process-output to wait for the full list
17307 2015-08-22 Eli Zaretskii <eliz@gnu.org>
17309 Fix invocation of programs via cmdproxy.exe
17310 * src/w32proc.c (sys_spawnve): Use exec-directory, not
17311 invocation-directory, for finding cmdproxy.exe. When Emacs is
17312 run from the source tree, look for cmdproxy.exe in the same source
17315 2015-08-22 Simen Heggestøyl <simenheg@gmail.com>
17317 Handle comments inside unquoted URIs in css-mode
17318 * lisp/textmodes/css-mode.el (css--uri-re): New defconst.
17319 (css-syntax-propertize-function): New defconst.
17320 (css--font-lock-keywords): Handle parens around unquoted URIs.
17321 (css-mode): Set `syntax-propertize-function'.
17323 2015-08-22 Eli Zaretskii <eliz@gnu.org>
17325 Support invocation of Hunspell with multiple dictionaries
17326 * lisp/textmodes/ispell.el (ispell-parse-hunspell-affix-file):
17327 Support lists of dictionaries of the form "DICT1,DICT2,...".
17328 (ispell-hunspell-add-multi-dic): New command. (Bug#20495)
17330 Minor formatting changes in ispell.el
17331 * lisp/textmodes/ispell.el (ispell-create-debug-buffer)
17332 (ispell-print-if-debug, ispell-aspell-find-dictionary)
17333 (ispell-aspell-add-aliases, ispell-hunspell-dict-paths-alist)
17334 (ispell-hunspell-dictionary-alist)
17335 (ispell-hunspell-fill-dictionary-entry)
17336 (ispell-find-hunspell-dictionaries, ispell-send-replacement)
17337 (ispell-buffer-with-debug, ispell-complete-word)
17338 (ispell-current-dictionary, ispell-current-personal-dictionary)
17339 (ispell-accept-output, ispell-minor-mode)
17340 (ispell-personal-dictionary, ispell-dictionary-alist)
17341 (ispell-really-aspell, ispell-really-hunspell)
17342 (ispell-encoding8-command, ispell-aspell-supports-utf8)
17343 (ispell-aspell-dictionary-alist, ispell-set-spellchecker-params):
17344 Fix whitespace, inconsistent capitalization, and arguments in doc
17347 2015-08-22 Martin Rudalics <rudalics@gmx.at>
17349 * lisp/window.el (adjust-window-trailing-edge): Fix bug where this
17350 function refused to resize a size-preserved window.
17352 2015-08-22 Eli Zaretskii <eliz@gnu.org>
17354 * doc/lispref/windows.texi (Selecting Windows): Improve
17355 documentation and indexing of 'window-use-time'.
17357 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
17359 * lisp/progmodes/cc-vars.el, lisp/progmodes/cc-styles.el:
17360 * lisp/progmodes/cc-mode.el, lisp/progmodes/cc-menus.el:
17361 * lisp/progmodes/cc-langs.el, lisp/progmodes/cc-guess.el:
17362 * lisp/progmodes/cc-fonts.el, lisp/progmodes/cc-engine.el:
17363 * lisp/progmodes/cc-defs.el, lisp/progmodes/cc-cmds.el:
17364 * lisp/progmodes/cc-bytecomp.el, lisp/progmodes/cc-awk.el:
17365 * lisp/progmodes/cc-align.el, lisp/net/soap-client.el:
17366 Fix up commenting style.
17368 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
17370 text-quoting-style in emacs-lisp diagnostics
17371 * lisp/emacs-lisp/advice.el (ad-read-advised-function)
17372 (ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
17373 (ad-disable-advice, ad-remove-advice, ad-set-argument)
17374 (ad-set-arguments):
17375 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
17376 (byte-compile-unfold-lambda, byte-optimize-form-code-walker)
17377 (byte-optimize-while, byte-optimize-apply):
17378 * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
17379 (byte-compile-log-file, byte-compile-format-warn)
17380 (byte-compile-nogroup-warn, byte-compile-arglist-warn)
17381 (byte-compile-cl-warn)
17382 (byte-compile-warn-about-unresolved-functions)
17383 (byte-compile-file, byte-compile-fix-header)
17384 (byte-compile--declare-var, byte-compile-file-form-defmumble)
17385 (byte-compile-form, byte-compile-normal-call)
17386 (byte-compile-variable-ref, byte-compile-variable-set)
17387 (byte-compile-subr-wrong-args, byte-compile-setq-default)
17388 (byte-compile-negation-optimizer)
17389 (byte-compile-condition-case--old)
17390 (byte-compile-condition-case--new, byte-compile-save-excursion)
17391 (byte-compile-defvar, byte-compile-autoload)
17392 (byte-compile-lambda-form)
17393 (byte-compile-make-variable-buffer-local, display-call-tree)
17394 (batch-byte-compile):
17395 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
17396 (cconv-analyze-form):
17397 * lisp/emacs-lisp/chart.el (chart-space-usage):
17398 * lisp/emacs-lisp/check-declare.el (check-declare-scan)
17399 (check-declare-warn, check-declare-file)
17400 (check-declare-directory):
17401 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
17402 (checkdoc-message-text-engine):
17403 * lisp/emacs-lisp/cl-extra.el (cl-parse-integer):
17404 * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
17405 (cl-symbol-macrolet):
17406 * lisp/emacs-lisp/cl.el (cl-unload-function, flet):
17407 * lisp/emacs-lisp/copyright.el (copyright)
17408 (copyright-update-directory):
17409 * lisp/emacs-lisp/edebug.el (edebug-read-list):
17410 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
17411 * lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
17412 (eieio-oref, eieio-oset-default):
17413 * lisp/emacs-lisp/eieio-speedbar.el:
17414 (eieio-speedbar-child-make-tag-lines)
17415 (eieio-speedbar-child-description):
17416 * lisp/emacs-lisp/eieio.el (defclass, change-class):
17417 * lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
17418 (elint-init-form, elint-check-defalias-form)
17419 (elint-check-let-form):
17420 * lisp/emacs-lisp/ert.el (ert-get-test):
17421 * lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
17422 (find-function-library):
17423 * lisp/emacs-lisp/generator.el (iter-yield):
17424 * lisp/emacs-lisp/gv.el (gv-define-simple-setter):
17425 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
17426 * lisp/emacs-lisp/package-x.el (package-upload-file):
17427 * lisp/emacs-lisp/package.el (package-version-join)
17428 (package-disabled-p, package-activate-1, package-activate)
17429 (package--download-one-archive)
17430 (package--download-and-read-archives)
17431 (package-compute-transaction, package-install-from-archive)
17432 (package-install, package-install-selected-packages)
17433 (package-delete, package-autoremove)
17434 (package-install-button-action, package-delete-button-action)
17435 (package-menu-hide-package, package-menu--list-to-prompt)
17436 (package-menu--perform-transaction)
17437 (package-menu--find-and-notify-upgrades):
17438 * lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
17439 * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
17440 * lisp/emacs-lisp/ring.el (ring-next, ring-previous):
17441 * lisp/emacs-lisp/rx.el (rx-check, rx-anything):
17442 * lisp/emacs-lisp/smie.el (smie-config-save):
17443 * lisp/emacs-lisp/subr-x.el (internal--check-binding):
17444 * lisp/emacs-lisp/testcover.el (testcover-1value):
17445 Use curved quotes in diagnostic format strings.
17447 2015-08-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
17449 python.el: Ensure remote process-environment on non-interactive processes
17450 * lisp/progmodes/python.el
17451 (python-shell-tramp-refresh-process-environment): New function.
17452 (python-shell-with-environment): Use it.
17453 * test/automated/python-tests.el (python-shell-with-environment-2):
17456 python.el: Enhancements to process environment setup.
17457 * lisp/progmodes/python.el (python-shell-process-environment)
17458 (python-shell-extra-pythonpaths, python-shell-exec-path)
17459 (python-shell-virtualenv-root): Update docstring. Remove :safe.
17460 (python-shell-setup-codes): Remove :safe.
17461 (python-shell-remote-exec-path): New defcustom.
17462 (python-shell--add-to-path-with-priority): New macro.
17463 (python-shell-calculate-pythonpath): Give priority to
17464 python-shell-extra-pythonpaths. Update docstring.
17465 (python-shell-calculate-process-environment): Give priority to
17466 python-shell-process-environment. Update docstring.
17467 (python-shell-calculate-exec-path): Give priority to
17468 python-shell-exec-path and calculated virtualenv bin directory.
17470 (python-shell-tramp-refresh-remote-path): New function.
17471 (python-shell-with-environment): Use it when working remotely and
17472 do not modify tramp-remote-path. Allow nesting.
17473 (python-shell-calculate-command): Remove useless
17474 python-shell-with-environment call.
17475 * test/automated/python-tests.el (python-shell-calculate-pythonpath-1)
17476 (python-shell-calculate-pythonpath-2)
17477 (python-shell-calculate-process-environment-6)
17478 (python-shell-calculate-process-environment-7)
17479 (python-shell-calculate-process-environment-8)
17480 (python-shell-calculate-exec-path-3)
17481 (python-shell-calculate-exec-path-4)
17482 (python-shell-calculate-exec-path-5)
17483 (python-shell-calculate-exec-path-6)
17484 (python-shell-with-environment-3): New tests.
17485 (python-shell-calculate-process-environment-2)
17486 (python-shell-calculate-process-environment-3)
17487 (python-shell-calculate-process-environment-4)
17488 (python-shell-calculate-process-environment-5)
17489 (python-shell-calculate-exec-path-1)
17490 (python-shell-calculate-exec-path-2)
17491 (python-shell-with-environment-1)
17492 (python-shell-with-environment-2): Update and simplify.
17494 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
17496 Avoid hard-coding "M-x command" in docstrings
17497 * lisp/calendar/todo-mode.el (todo-mode):
17498 * lisp/desktop.el (desktop-save-mode):
17499 * lisp/edmacro.el (edit-kbd-macro):
17500 * lisp/emacs-lisp/package.el (package-menu-execute):
17501 * lisp/emulation/viper-cmd.el (viper-ask-level):
17502 * lisp/emulation/viper-init.el (viper-expert-level):
17503 * lisp/filesets.el (filesets-add-buffer):
17504 * lisp/follow.el (follow-mode):
17505 * lisp/gnus/auth-source.el (auth-sources):
17506 * lisp/international/ogonek.el (ogonek-informacja)
17507 (ogonek-information):
17508 * lisp/net/tramp.el (tramp-process-actions):
17509 * lisp/org/org-gnus.el (org-gnus-no-new-news):
17510 * lisp/org/org.el (org-ellipsis):
17511 * lisp/progmodes/python.el (python-shell-get-process-or-error):
17512 * lisp/progmodes/vhdl-mode.el (vhdl-mode):
17513 * lisp/server.el (server-start):
17514 * lisp/type-break.el (type-break-noninteractive-query):
17515 * lisp/userlock.el (ask-user-about-supersession-help):
17516 * lisp/whitespace.el (whitespace-report-region):
17517 Prefer (substitute-command-keys "`\\[foo-command]'")
17518 to "`M-x foo-command'" in docstrings and the like.
17520 2015-08-21 Tassilo Horn <tsdh@gnu.org>
17522 Use add-function for prettify-symbols-compose-predicate
17523 * lisp/textmodes/tex-mode.el (tex-common-initialization): Set
17524 prettify-symbols-compose-predicate in terms of add-function.
17525 * etc/NEWS: Mention prettify-symbols-compose-predicate and
17526 prettify-symbols-mode support in tex-mode.
17528 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
17530 * lisp/emacs-lisp/smie.el (smie-indent-current-column): New fun.
17531 (smie-indent-exps, smie-indent-keyword): Use it.
17532 * test/indent/css-mode.css: Test alignment with leading comment.
17534 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
17536 Respect text-quoting-style in (*Finder*) menus
17537 * lisp/info.el (info--prettify-description):
17538 Treat description as a docstring, so that it's requoted as
17539 per text-quoting-style.
17541 2015-08-21 Martin Rudalics <rudalics@gmx.at>
17543 Document `window-use-time' in Elisp manual
17544 * doc/lispref/windows.texi (Selecting Windows): Document
17547 2015-08-21 Eli Zaretskii <eliz@gnu.org>
17549 * src/w32uniscribe.c (_WIN32_WINNT): Define to 0x0600.
17550 This is a cleaner fix for Bug#21260 than the previous change.
17552 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
17554 Respect text-quoting-style in calc
17555 In calc, tespect text-quoting-style preference in diagnostic
17556 formats and fix a few similar problems in docstrings.
17557 * lisp/calc/calc-aent.el (math-read-factor):
17558 * lisp/calc/calc-embed.el (calc-do-embedded):
17559 * lisp/calc/calc-ext.el (calc-user-function-list)
17560 * lisp/calc/calc-graph.el (calc-graph-show-dumb):
17561 * lisp/calc/calc-help.el (calc-describe-key)
17562 (calc-describe-thing):
17563 * lisp/calc/calc-lang.el (calc-c-language)
17564 (math-parse-fortran-vector-end, math-parse-tex-sum)
17565 (math-parse-eqn-matrix, math-parse-eqn-prime)
17566 (calc-yacas-language, calc-maxima-language, calc-giac-language)
17567 (math-read-big-rec, math-read-big-balance):
17568 * lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
17569 (calc-auto-recompute):
17570 * lisp/calc/calc-prog.el (calc-user-define-invocation)
17571 (math-do-arg-check):
17572 * lisp/calc/calc-store.el (calc-edit-variable):
17573 * lisp/calc/calc-units.el (math-build-units-table-buffer):
17574 * lisp/calc/calc-vec.el (math-read-brackets):
17575 * lisp/calc/calc-yank.el (calc-edit-mode):
17576 * lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
17577 Use curved quotes in diagnostic format strings.
17578 * lisp/calc/calc-help.el (calc-describe-thing):
17579 Format docstrings with substitute-command-keys.
17580 * lisp/calc/calc-help.el (calc-j-prefix-help):
17581 * lisp/calc/calc-misc.el (calc-help):
17582 * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
17583 Escape a docstring "`".
17585 2015-08-21 Eli Zaretskii <eliz@gnu.org>
17587 Fix documentation of 'menu-set-font' and 'set-frame-font'
17588 * lisp/menu-bar.el (menu-set-font): Doc fix. (Bug#21303)
17589 * doc/lispref/frames.texi (Frame Font): Document that
17590 set-frame-font with the last argument 't' will also make the font
17591 the default for the future GUI frames.
17593 Document '--create-frame' option to emacsclient
17594 * doc/emacs/misc.texi (emacsclient Options): Document the
17595 '--create-frame' option. (Bug#21308)
17597 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
17599 * lisp/progmodes/js.el (js-mode): Don't eagerly syntax propertize.
17601 2015-08-21 Eli Zaretskii <eliz@gnu.org>
17603 Document 'get-mru-window' in the ELisp manual
17604 * doc/lispref/windows.texi (Cyclic Window Ordering): Document
17605 'get-mru-window'. (Bug#21306)
17607 Clarify documentation of 'get-buffer-window-list'
17608 * doc/lispref/windows.texi (Buffers and Windows): Mention that the
17609 current window, if relevant, will be the first in the list
17610 returned by 'get-buffer-window-list'.
17611 * lisp/window.el (get-buffer-window-list): Doc fix. (Bug#21305)
17613 2015-08-21 Vasilij Schneidermann <v.schneidermann@gmail.com>
17615 In `ielm' use `pop-to-buffer-same-window' (Bug#20848)
17616 * lisp/ielm.el (ielm): Use `pop-to-buffer-same-window' instead of
17617 `switch-to-buffer'.
17619 2015-08-21 Kaushal Modi <kaushal.modi@gmail.com> (tiny change)
17621 In woman.el use `display-buffer' instead of `switch-to-buffer' (Bug#21047)
17622 * lisp/woman.el (woman-really-find-file, WoMan-find-buffer): Use
17623 `display-buffer' instead of `switch-to-buffer'.
17625 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
17627 Follow user preference in calendar diagnostics
17628 Respect text-quoting-style preference in diagnostic formats by
17629 using curved quotes (which are translated as per text-quoting-style)
17630 instead of grave accent and apostrophe (which are not).
17631 * lisp/calendar/appt.el (appt-display-message):
17632 * lisp/calendar/diary-lib.el (diary-check-diary-file)
17633 (diary-mail-entries, diary-from-outlook):
17634 * lisp/calendar/icalendar.el (icalendar-export-region)
17635 (icalendar--convert-float-to-ical)
17636 (icalendar--convert-date-to-ical)
17637 (icalendar--convert-ical-to-diary)
17638 (icalendar--convert-recurring-to-diary)
17639 (icalendar--add-diary-entry):
17640 * lisp/calendar/time-date.el (format-seconds):
17641 * lisp/calendar/timeclock.el (timeclock-mode-line-display)
17642 (timeclock-make-hours-explicit):
17643 * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
17644 (todo-item-mark, todo-check-format)
17645 (todo-insert-item--next-param, todo-edit-item--next-key)
17647 Use curved quotes in diagnostic format strings.
17648 * lisp/calendar/icalendar.el (icalendar-import-format-sample):
17649 * test/automated/icalendar-tests.el (icalendar--import-format-sample):
17650 Just use straight quoting for simple test case.
17652 2015-08-21 Michael Albinus <michael.albinus@gmx.de>
17654 * src/gfilenotify.c (Fgfile_add_watch):
17655 Handle errors from g_file_monitor.
17657 2015-08-21 Martin Rudalics <rudalics@gmx.at>
17659 In frames.texi use "minibuffer-less frame" instead of "non-minibuffer frame"
17660 * doc/lispref/frames.texi (Frame Layout): Use "minibuffer-less
17661 frame" instead of "non-minibuffer frame".
17663 Fix frame geometry related text
17664 * doc/lispref/frames.texi (Frame Layout):
17665 Rename `x-frame-geometry' to `frame-geometry'.
17666 * doc/lispref/frames.texi (Mouse Position):
17667 * doc/lispref/windows.texi (Coordinates and Windows):
17668 Use `set-mouse-absolute-pixel-position' instead of
17669 `x-set-mouse-absolute-pixel-position'.
17671 Sanitize frame geometry related functions
17672 * src/nsfns.m (Fx_frame_geometry): Rename to Fns_frame_geometry.
17673 (Fx_frame_edges): Rename to Fns_frame_edges.
17674 * src/w32fns.c (Fx_frame_geometry): Rename to Fw32_frame_geometry.
17675 (Fx_frame_edges): Rename to Fw32_frame_edges.
17676 (Fx_mouse_absolute_pixel_position): Rename to
17677 Fw32_mouse_absolute_pixel_position.
17678 (Fx_set_mouse_absolute_pixel_position): Rename to
17679 Fw32_set_mouse_absolute_pixel_position.
17680 * lisp/frame.el (x-frame-geometry, w32-frame-geometry)
17681 (ns-frame-geometry, x-frame-edges, w32-frame-edges)
17682 (ns-frame-edges, w32-mouse-absolute-pixel-position)
17683 (x-mouse-absolute-pixel-position)
17684 (w32-set-mouse-absolute-pixel-position)
17685 (x-set-mouse-absolute-pixel-position): Declare.
17686 (frame-geometry, mouse-absolute-pixel-position)
17687 (set-mouse-absolute-pixel-position): New functions.
17688 (frame-edges): Rewrite in terms of x-/w32-/ns-frame-edges.
17690 2015-08-21 Eli Zaretskii <eliz@gnu.org>
17692 Fix MinGW64 build broken by latest w32uniscribe.c changes
17693 * src/w32uniscribe.c (UNISCRIBE_OPENTYPE): Define to 0x0100, for
17694 MinGW64. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
17697 2015-08-21 Tassilo Horn <tsdh@gnu.org>
17699 Add TeX defaults for prettify-symbol-mode
17700 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
17701 Rename from tex-prettify-symbols-alist.
17702 (tex--prettify-symbols-compose-p): New function.
17703 (tex-common-initialization): Use them as prettify-symbols-alist
17704 and prettify-symbols-compose-predicate.
17706 Generalize prettify-symbols to arbitrary modes
17707 * lisp/progmodes/prog-mode.el
17708 (prettify-symbols-default-compose-p): New function.
17709 (prettify-symbols-compose-predicate): New variable.
17710 (prettify-symbols--compose-symbol): Use it.
17712 2015-08-20 Paul Eggert <eggert@cs.ucla.edu>
17714 Don't quote symbols 'like-this' in docstrings etc.
17715 * admin/unidata/uvs.el (uvs-insert-fields-as-bytes):
17716 * lisp/allout-widgets.el (allout-widgets-count-buttons-in-region):
17717 * lisp/allout.el (allout-add-resumptions, allout-mode):
17718 * lisp/calculator.el (calculator-operators):
17719 * lisp/cedet/data-debug.el (dd-propertize):
17720 * lisp/cedet/ede/proj-prog.el (ede-proj-target-makefile-program):
17721 * lisp/cedet/semantic/analyze/debug.el:
17722 (semantic-analyzer-debug-global-miss-text):
17723 * lisp/cedet/semantic/lex-spp.el:
17724 (semantic-lex-spp-replace-or-symbol-or-keyword):
17725 * lisp/cedet/semantic/symref.el:
17726 (semantic-symref-cleanup-recent-buffers-fcn):
17727 * lisp/cedet/semantic/tag.el (semantic-tag-class):
17728 * lisp/cedet/srecode/el.el (srecode-semantic-handle-:el-custom):
17729 * lisp/gnus/nnmairix.el (nnmairix-propagate-marks-upon-close):
17730 * lisp/gnus/pop3.el (pop3-authentication-scheme):
17731 * lisp/help-fns.el (describe-function-orig-buffer):
17732 * lisp/imenu.el (imenu--history-list):
17733 * lisp/mail/feedmail.el (feedmail-confirm-outgoing)
17734 (feedmail-display-full-frame, feedmail-deduce-bcc-where)
17735 (feedmail-queue-default-file-slug)
17736 (feedmail-queue-buffer-file-name):
17737 * lisp/net/mairix.el (mairix-searches-mode-map):
17738 * lisp/net/newst-backend.el (newsticker-retrieval-method)
17739 (newsticker-auto-mark-filter-list):
17740 * lisp/obsolete/vi.el (vi-mode):
17741 * lisp/progmodes/cc-engine.el (c-literal-type):
17742 * lisp/progmodes/cpp.el (cpp-face):
17743 * lisp/progmodes/ebrowse.el (ebrowse-electric-list-looper):
17744 * lisp/progmodes/elisp-mode.el (elisp--xref-make-xref):
17745 * lisp/progmodes/pascal.el (pascal-auto-lineup):
17746 * lisp/progmodes/prog-mode.el (prog-widen):
17747 * lisp/progmodes/verilog-mode.el (verilog-regexp-words)
17748 (verilog-auto-lineup, verilog-auto-reset-widths)
17749 (verilog-auto-arg-format, verilog-auto-inst-template-numbers):
17750 * lisp/textmodes/flyspell.el (flyspell-maybe-correct-transposition)
17751 (flyspell-maybe-correct-doubling):
17752 * lisp/textmodes/table.el (table-justify, table-justify-cell)
17753 (table-justify-row, table-justify-column, table-insert-sequence)
17754 (table--justify-cell-contents):
17755 * lisp/url/url-auth.el (url-get-authentication):
17756 * lisp/window.el (display-buffer-record-window):
17757 * lisp/xml.el (xml-parse-file, xml-parse-region):
17758 * src/gfilenotify.c (Fgfile_add_watch):
17759 Don't quote symbols with apostrophes in doc strings.
17760 Use asymmetric quotes instead.
17761 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
17762 Likewise for symbol in diagnostic.
17763 * lisp/image.el (image-extension-data):
17764 * lisp/register.el (frame-configuration-to-register):
17765 * src/buffer.c (syms_of_buffer):
17766 Remove bogus apostrophes after symbols.
17767 * lisp/thumbs.el (thumbs-conversion-program):
17768 Quote Lisp string values using double-quotes, not apostrophes.
17770 2015-08-20 Martin Rudalics <rudalics@gmx.at>
17772 Describe frame geometry and related functions in Elisp manual
17773 * doc/lispref/display.texi (Size of Displayed Text, Line Height)
17774 (Showing Images): Update references.
17775 * doc/lispref/elisp.texi (Top): Update node listing.
17776 * doc/lispref/frames.texi (Frame Geometry): New node.
17777 Move `Size and Position' section here.
17778 (Size Parameters): Update references.
17779 (Mouse Position): Update references and nomenclature.
17780 Describe new functions `x-mouse-absolute-pixel-position' and
17781 `x-set-mouse-absolute-pixel-position'.
17782 * doc/lispref/windows.texi (Window Sizes): Update references.
17783 (Resizing Windows): Update references. Move description of
17784 `fit-frame-to-buffer' here.
17785 (Coordinates and Windows): Update nomenclature and references.
17786 Describe new arguments of `window-edges'. Comment out
17787 descriptions of `window-left-column', `window-top-line',
17788 `window-pixel-left' and `window-pixel-top'. Describe
17789 `window-absolute-pixel-position'.
17791 2015-08-20 Alan Mackenzie <acm@muc.de>
17793 Handling of `c-parse-state'. Fix low level bug.
17794 * lisp/progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
17795 Add "CASE 3.5" to handle `cache-pos' being only slightly before `here'.
17797 2015-08-20 Andreas Politz <politza@hochschule-trier.de>
17799 * lisp/wid-edit.el (widget-color--choose-action): Quit *Color*
17800 window instead of deleting it.
17802 2015-08-20 Martin Rudalics <rudalics@gmx.at>
17804 In w32fns.c's Fx_frame_geometry rewrite check whether frame has a titlebar
17805 * src/w32fns.c (Fx_frame_geometry): Use title_bar.rgstate[0] to
17806 determine whether frame has a titlebar.
17807 Suggested by Eli Zaretskii <eliz@gnu.org>
17809 2015-08-20 Tassilo Horn <tsdh@gnu.org>
17811 Add a prettify-symbols-alist for (La)TeX
17812 * lisp/textmodes/tex-mode.el (tex-prettify-symbols-alist):
17813 New variable holding an alist suitable as prettify-symbols-alist in
17816 2015-08-19 Alan Mackenzie <acm@muc.de>
17818 Make electric-pair-mode, delete-selection-mode and CC Mode cooperate.
17819 Fixes debbugs#21275.
17820 In Emacs >= 25, let electric-pair-mode take precedence over
17821 delete-selection-mode.
17822 * lisp/delsel.el (delete-selection-uses-region-p): New function,
17823 previously a lambda expression in a property value for
17824 `self-insert-command'.
17825 (top-level): Set the `delete-selection' property of
17826 `self-insert-command' to `delete-selection-uses-region-p'.
17827 * lisp/progmodes/cc-cmds.el (top-level): Give the `delete-selection'
17828 property for c-electric-\(brace\|paren\) the value
17829 `delete-selection-uses-region-p' when the latter function exists.
17831 2015-08-19 Paul Eggert <eggert@cs.ucla.edu>
17833 Fix key binding quoting in tutorial *Help*
17834 * lisp/tutorial.el (tutorial--describe-nonstandard-key):
17835 When generating help for custom key bindings, use the user-preferred
17836 quoting style rather than hardcoding the grave style.
17838 2015-08-19 Eli Zaretskii <eliz@gnu.org>
17840 Improve and future-proof OTF fonts support in w32uniscribe.c
17841 * src/w32uniscribe.c (uniscribe_otf_capability): Add commentary
17842 about the expected results and why the new Uniscribe APIs are not
17843 used in this function.
17844 (ScriptGetFontScriptTags_Proc, ScriptGetFontLanguageTags_Proc)
17845 (ScriptGetFontFeatureTags_Proc): New function typedefs.
17846 (uniscribe_new_apis): New static variable.
17847 (uniscribe_check_features): New function, implements OTF features
17848 verification while correctly accounting for features in the list
17849 after the nil member, if any.
17850 (uniscribe_check_otf_1): New function, retrieves the features
17851 supported by the font for the requested script and language using
17852 the Uniscribe APIs available from Windows Vista onwards.
17853 (uniscribe_check_otf): If the new Uniscribe APIs are available,
17854 use them in preference to reading the font data directly. Call
17855 uniscribe_check_features to verify that the requested features are
17856 supported, replacing the original incomplete code.
17857 (syms_of_w32uniscribe): Initialize function pointers for the new
17858 Uniscribe APIs. (Bug#21260)
17859 (otf_features): Scan the script, langsys, and feature arrays back
17860 to front, so that the result we return has them in alphabetical
17861 order, like ftfont.c does.
17862 * src/w32fns.c (syms_of_w32fns) <w32-disable-new-uniscribe-apis>:
17863 New variable for debugging w32uniscribe.c code.
17865 2015-08-19 Artur Malabarba <bruce.connor.am@gmail.com>
17867 * lisp/isearch.el (isearch-search-fun-default): Revert a5bdb87
17868 Remove usage of `isearch-lax-whitespace' inside the `iearch-word'
17869 clause of `isearch-search-fun-default'. That lax variable does not
17870 refer to lax-whitespacing. Related to (bug#21777).
17871 This reverts commit a5bdb872edb9f031fe041faf9a8c0be432e5f64c.
17872 * lisp/character-fold.el (character-fold-search): Set to nil.
17873 Default to nil for now, until someone implements proper
17874 lax-whitespacing with char-fold searching.
17876 2015-08-19 Martin Rudalics <rudalics@gmx.at>
17878 Fix doc-string of `help-mode-finish'.
17879 * lisp/help-mode.el (help-mode-finish): Fix doc-string.
17881 In nsimage.m include coding.h (Bug#21292)
17882 * src/nsimage.m (top-level): Include coding.h (Bug#21292).
17884 Move window edge functions to Elisp.
17885 * src/window.c (Fwindow_edges, Fwindow_pixel_edges)
17886 (Fwindow_absolute_pixel_edges, Fwindow_inside_edges)
17887 (Fwindow_inside_pixel_edges, Fwindow_inside_absolute_pixel_edges):
17889 (calc_absolute_offset): Remove.
17890 * lisp/frame.el (frame-edges): New function.
17891 * lisp/window.el (window-edges, window-pixel-edges)
17892 (window-absolute-pixel-edges): Move here from window.c.
17893 (window-body-edges, window-body-pixel-edges)
17894 (window-absolute-body-pixel-edges): Move here from window.c and
17895 rename "inside" to "body". Keep old names as aliases.
17896 (window-absolute-pixel-position): New function.
17898 2015-08-19 Katsumi Yamaoka <yamaoka@jpl.org>
17900 [Gnus]: Use overlay functions directly
17901 * lisp/gnus/gnus-art.el (gnus-mime-inline-part, gnus-mm-display-part)
17902 (gnus-insert-mime-button, gnus-mime-buttonize-attachments-in-header)
17903 (gnus-article-highlight-signature, gnus-article-extend-url-button)
17904 (gnus-article-add-button, gnus-insert-prev-page-button)
17905 (gnus-insert-next-page-button, gnus-insert-mime-security-button):
17906 * lisp/gnus/gnus-cite.el (gnus-cite-delete-overlays)
17907 (gnus-cite-add-face):
17908 * lisp/gnus/gnus-html.el (gnus-html-wash-tags):
17909 * lisp/gnus/gnus-salt.el (gnus-tree-read-summary-keys)
17910 (gnus-tree-recenter, gnus-highlight-selected-tree):
17911 * lisp/gnus/gnus-sum.el (gnus-summary-show-all-threads)
17912 (gnus-summary-show-thread, gnus-summary-hide-thread)
17913 (gnus-highlight-selected-summary):
17914 * lisp/gnus/gnus-util.el (gnus-put-overlay-excluding-newlines):
17915 * lisp/gnus/message.el (message-fix-before-sending)
17916 (message-toggle-image-thumbnails):
17917 * lisp/gnus/mm-decode.el (mm-convert-shr-links):
17918 * lisp/gnus/sieve.el (sieve-highlight, sieve-insert-scripts):
17919 Use overlay functions directly instead of using gnus-overlay-*,
17920 message-overlay-*, and sieve-overlay-*.
17921 * lisp/gnus/gnus-sum.el (gnus-remove-overlays):
17922 * lisp/gnus/gnus.el (gnus-make-overlay, gnus-copy-overlay)
17923 (gnus-delete-overlay, gnus-overlay-get, gnus-overlay-put)
17924 (gnus-move-overlay, gnus-overlay-buffer, gnus-overlay-start)
17925 (gnus-overlay-end, gnus-overlays-at, gnus-overlays-in):
17926 * lisp/gnus/message.el (message-delete-overlay, message-make-overlay)
17927 (message-overlay-get, message-overlay-put, message-overlays-in):
17928 * lisp/gnus/sieve.el (sieve-make-overlay, sieve-overlay-put)
17929 (sieve-overlays-at): Remove.
17931 2015-08-19 Martin Rudalics <rudalics@gmx.at>
17933 In w32fns.c condition TITLEBAR_INFO declaration on WINDOWS version
17934 * src/w32fns.c (TITLEBAR_INFO): Make it a typedef so MinGW64
17935 builds can use the declaration from the system headers.
17936 (GetTitleBarInfo_Proc, Fx_frame_geometry): Adapt to new
17937 definition of TITLEBAR_INFO.
17938 Suggested by Eli Zaretskii <eliz@gnu.org>
17940 2015-08-19 Glenn Morris <rgm@gnu.org>
17942 * lisp/gnus/nnmaildir.el (nnmaildir-flag-mark-mapping): Add "P".
17944 2015-08-19 Paul Eggert <eggert@cs.ucla.edu>
17946 Use new q ‘format’ flag when fixing quotes in C
17947 * src/image.c (image_size_error): New function. All uses of
17948 image_error with "Invalid image size ..." changed to use it.
17949 * src/image.c (image_size_error, xbm_load_image, xbm_load)
17950 (xpm_load, xpm_load_image, xpm_load, pbm_load, png_load_body)
17951 (jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
17952 (imagemagick_load, svg_load, svg_load_image, gs_load)
17953 (x_kill_gs_process):
17954 * src/lread.c (load_warn_old_style_backquotes):
17955 * src/xfaces.c (load_pixmap):
17956 * src/xselect.c (x_clipboard_manager_error_1):
17957 Use %qs, not uLSQM and uRSQM.
17958 * src/syntax.c (Finternal_describe_syntax_value):
17959 Prefer Fsubstitute_command_keys to Fformat, as this lets
17960 us use AUTO_STRING.
17961 * src/xdisp.c (vadd_to_log): Use AUTO_STRING on the format argument,
17962 as it's now guaranteed to be ASCII.
17963 * src/xselect.c (x_clipboard_manager_error_2):
17964 Avoid grave accent in low-level stderr diagnostic.
17966 2015-08-19 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
17968 New q flag for ‘format’
17969 * doc/lispref/processes.texi (Sentinels):
17970 Don't hardwire grave quoting style in example.
17971 * doc/lispref/strings.texi (Formatting Strings):
17973 Document new q flag.
17974 * src/editfns.c (Fformat): Implement it.
17976 2015-08-18 Daiki Ueno <ueno@gnu.org>
17978 pinentry.el: Add debugging support
17979 * lisp/net/pinentry.el (pinentry-debug): New variable.
17980 (pinentry-debug-buffer): New variable.
17981 (pinentry--process-filter): Send input to the debug buffer, if
17982 `pinentry-debug' is set.
17984 pinentry.el: Improve multiline prompt
17985 * lisp/net/pinentry.el (pinentry--prompt): Simplify the interface.
17986 (pinentry--process-filter): Use `pinentry--prompt' for CONFIRM
17989 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
17991 Fix multibyte confusion in diagnostics
17992 * src/print.c (print_error_message):
17993 Don't assume that the caller's name is unibyte.
17994 * src/xdisp.c (vadd_to_log):
17995 Don't assume that the formatted diagnostic is unibyte.
17997 Fix file name encodings in diagnostics
17998 Also, close some minor races when opening image files, by opening
17999 them once instead of multiple times.
18000 * src/gtkutil.c (xg_get_image_for_pixmap):
18001 * src/image.c (xpm_load, tiff_load, gif_load, imagemagick_load)
18003 * src/nsimage.m (allocInitFromFile:):
18004 * src/xfns.c (xg_set_icon):
18005 Encode file name, since x_find_image_file no longer does that.
18006 * src/image.c (x_find_image_fd): New function.
18007 (x_find_image_file): Use it. Do not encode resulting file name,
18008 since callers sometimes need it decoded.
18009 (slurp_file): File arg is now a fd, not a file name.
18010 All callers changed. This saves us having to open the file twice.
18011 (xbm_load, xpm_load, pbm_load, png_load_body, jpeg_load_body)
18013 Use x_find_image_fd and fdopen to save a file-open.
18014 Report file name that failed.
18015 * src/lread.c (openp): If PREDICATE is t, open the file in binary mode.
18017 2015-08-18 Dmitry Gutov <dgutov@yandex.ru>
18019 Allow blink-matching-paren to jump off screen
18020 * doc/emacs/programs.texi (Matching): Mention the
18021 `blink-matching-paren' value `jump-offscreen'.
18022 * lisp/simple.el (blink-matching-paren): New possible value.
18023 (blink-matching-paren-on-screen): Clarify the docstring.
18024 (blink-matching-open): Handle `jump-offscreen' (bug#21286).
18026 Refine the previous change
18027 * lisp/simple.el (blink-matching-open): Use minibuffer-message
18028 outside of save-excursion (bug#21286).
18030 2015-08-18 Martin Rudalics <rudalics@gmx.at>
18032 Rewrite and add frame geometry related functions.
18033 * src/frame.c (Fframe_position): New function.
18034 (Fset_frame_position): Rename parameters and rewrite doc-string.
18035 (syms_of_frame): Remove Qframe_position, Qframe_outer_size,
18036 Qtitle_height and Qframe_inner_size. Add Qouter_edges,
18037 Qouter_position, Qouter_size, Qnative_edges, Qinner_edges,
18039 * src/nsfns.m (frame_geometry): New function.
18040 (Fx_frame_geometry): Call frame_geometry.
18041 (Fx_frame_edges): New function.
18042 * src/w32fns.c (C_CHILDREN_TITLEBAR, TITLEBAR_INFO)
18043 (GetTitleBarInfo_Proc): Define these so we can use the
18044 GetTitleBarInfo API.
18045 (Fw32_frame_menu_bar_size, Fw32_frame_rect): Remove.
18046 (Fx_frame_geometry): Rewrite.
18047 (Fx_frame_edges, Fx_mouse_absolute_pixel_position)
18048 (Fx_set_mouse_absolute_pixel_position): New functions.
18049 * src/xfns.c (frame_geometry): New function.
18050 (Fx_frame_geometry): Call frame_geometry.
18051 (Fx_frame_edges, Fx_mouse_absolute_pixel_position)
18052 (Fx_set_mouse_absolute_pixel_position): New functions.
18054 2015-08-18 Michael Albinus <michael.albinus@gmx.de>
18056 Improve Tramp's compatibility
18057 * lisp/net/tramp.el (tramp-get-method-parameter):
18058 * lisp/net/tramp-adb.el (tramp-adb-parse-device-names)
18059 (tramp-adb-get-device):
18060 * lisp/net/trampver.el (tramp-repository-get-version):
18061 Use `tramp-compat-replace-regexp-in-string'.
18063 2015-08-18 Pierre Téchoueyres <pierre.techoueyres@free.fr> (tiny change)
18065 * lisp/net/tramp-cmds.el (tramp-reporter-dump-variable):
18066 Encode/decode string.
18068 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
18070 Clarify what happens to match data on failure
18071 Problem reported by Ernesto Alfonso (Bug#21279).
18072 * doc/lispref/searching.texi (Regexp Search, Simple Match Data):
18073 Document more carefully what happens to match data after a failed
18075 * src/search.c (Fmatch_beginning, Fmatch_end): Document that
18076 the return value is undefined if the last search failed.
18077 (Fmatch_data): Simplify doc string line 1.
18079 2015-08-18 Daiki Ueno <ueno@gnu.org>
18081 Revert "pinentry.el: Support external passphrase cache"
18082 This reverts commit e086e55a664ec27fbca7b3231c4b32cb78a89337.
18083 pinentry.el shouldn't directly interact with the secrets service,
18084 but ask the caller to cache the passphrase.
18086 2015-08-17 Xue Fuqiao <xfq.free@gmail.com>
18088 * doc/emacs/sending.texi (Mail Misc): Fix two index entries for
18089 Message mode hooks.
18091 2015-08-17 Daiki Ueno <ueno@gnu.org>
18093 epg.el: Make gpgconf output parsing future proof
18094 * lisp/epg.el (epg--start): Count the number of fields in "gpgconf
18095 --list-options" output.
18097 pinentry.el: Support external passphrase cache
18098 * lisp/net/pinentry.el (pinentry-use-secrets): New user option.
18099 (pinentry--allow-external-password-cache): New local variable.
18100 (pinentry--key-info): New local variable.
18101 (secrets-enabled, secrets-search-items, secrets-get-secret):
18103 (pinentry--send-passphrase): New function, split from
18104 `pinentry--process-filter'.
18105 (pinentry--process-filter): Use secrets.el to retrieve passphrase
18106 from login keyring.
18108 pinentry.el: Popup window for multiline prompt
18109 * lisp/net/pinentry.el (pinentry): New custom group.
18110 (pinentry-popup-prompt-window): New user option.
18111 (pinentry-prompt-window-height): New user option.
18112 (pinentry--prompt-buffer): New variable.
18113 (pinentry-prompt-mode-map): New variable.
18114 (pinentry-prompt-mode): New function.
18115 (pinentry--prompt): New function.
18116 (pinentry--process-filter): Use `pinentry--prompt' instead of
18117 `read-passwd' and `y-or-n-p'.
18119 2015-08-17 Katsumi Yamaoka <yamaoka@jpl.org>
18121 message.el: Silent the byte compiler
18122 * lisp/gnus/message.el (message-overlay-put, message-make-overlay)
18123 (message-kill-all-overlays, message-overlays-in, message-overlay-get)
18124 (message-delete-overlay, message-window-inside-pixel-edges):
18125 Declare before using.
18127 * lisp/gnus/message.el (message-overlay-get, message-overlays-in)
18128 (message-window-inside-pixel-edges): XEmacs compatible functions.
18130 2015-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18132 * lisp/gnus/message.el (message-toggle-image-thumbnails): New command.
18134 2015-08-17 Noah Friedman <friedman@splode.com>
18136 * lisp/simple.el (blink-matching-open): Restore point before
18137 calling minibuffer-message.
18139 2015-08-17 Ronnie Schnell <ronnie@driver-aces.com>
18141 * lisp/play/dunnet.el: Update version number in header (now
18144 2015-08-17 Paul Eggert <eggert@cs.ucla.edu>
18146 Curved quotes in --batch diagnostics in non-UTF-8
18147 When run with --batch, check that curved quotes are compatible with
18148 the system locale before outputting them in diagnostics.
18149 Problem reported by Eli Zaretskii in:
18150 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00594.html
18151 * lisp/startup.el (command-line): Set internal--text-quoting-flag
18152 after the standard display table is initialized.
18153 * src/doc.c (default_to_grave_quoting_style): New function.
18154 (text_quoting_style): Use it.
18155 (text_quoting_flag): New static var, visible to Lisp as
18156 internal--text-quoting-flag.
18157 * src/emacs.c: Include <wchar.h> if available.
18158 (using_utf8): New function.
18159 (main): Use it to initialize text_quoting_flag.
18160 * src/regex.h (btowc) [WIDE_CHAR_SUPPORT && emacs]:
18161 Don't define, as it's not needed and it clashes with wchar.h.
18163 2015-08-17 Glenn Morris <rgm@gnu.org>
18165 * doc/misc/tramp.texi (Configuration): Reword to avoid warning
18166 from makeinfo about spurious "Note:" cross-reference, and for grammar.
18168 2015-08-17 Ilya Zakharevich <ilya@math.berkeley.edu>
18170 Minor change in variable initialization on MS-Windows
18171 * src/w32fns.c <after_dead_key>: Initialize to -1.
18172 (deliver_wm_chars): If after_deadkey is zero, don't set after_dead
18175 Fix a bug with LWindow key remapping on MS-Windows
18176 * src/w32fns.c (deliver_wm_chars): Fix a typo. (Bug#21276)
18178 2015-08-17 Eli Zaretskii <eliz@gnu.org>
18180 Improve fontset support for latest OTF script tags
18181 * lisp/international/fontset.el (otf-script-alist): Add some
18182 missing script tags.
18183 (setup-default-fontset): Include settings for v2 versions of the
18184 script tags used by some modern OTF/TTF fonts.
18186 2015-08-17 Paul Eggert <eggert@cs.ucla.edu>
18190 2015-08-16 Paul Eggert <eggert@cs.ucla.edu>
18192 Use curved quotes in core elisp diagnostics
18193 In the core elisp files, use curved quotes in diagnostic formats,
18194 so that they follow user preference as per ‘text-quoting-style’
18195 rather than being hard-coded to quote `like this'.
18196 * lisp/abbrev.el (expand-region-abbrevs):
18197 * lisp/button.el (button-category-symbol, button-put)
18198 (make-text-button):
18199 * lisp/cus-start.el:
18200 * lisp/custom.el (custom-add-dependencies, custom-check-theme)
18201 (custom--sort-vars-1, load-theme):
18202 * lisp/emacs-lisp/byte-run.el (defun, defsubst):
18203 * lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
18204 (cl-generic-generalizers):
18205 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
18206 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
18207 * lisp/emacs-lisp/nadvice.el (advice--make-docstring)
18208 (advice--make, define-advice):
18209 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
18210 * lisp/emacs-lisp/timer.el (timer-event-handler):
18211 * lisp/env.el (setenv):
18212 * lisp/facemenu.el (facemenu-add-new-face)
18213 (facemenu-add-new-color):
18214 * lisp/faces.el (face-documentation, read-face-name)
18215 (face-read-string, read-face-font, face-spec-set-match-display)
18216 (read-color, x-resolve-font-name):
18217 * lisp/files.el (locate-user-emacs-file, find-alternate-file)
18218 (set-auto-mode, hack-local-variables)
18219 (hack-one-local-variable--obsolete)
18220 (dir-locals-set-directory-class, write-file)
18221 (basic-save-buffer, delete-directory, copy-directory)
18222 (recover-session, recover-session-finish, insert-directory)
18223 (file-modes-char-to-who, file-modes-symbolic-to-number)
18224 (move-file-to-trash):
18225 * lisp/font-lock.el (font-lock-fontify-buffer):
18226 * lisp/format.el (format-write-file, format-find-file)
18227 (format-insert-file):
18228 * lisp/frame.el (get-device-terminal, select-frame-by-name):
18229 * lisp/fringe.el (fringe--check-style):
18230 * lisp/help.el (describe-minor-mode-from-indicator):
18231 * lisp/image.el (image-type):
18232 * lisp/international/fontset.el (x-must-resolve-font-name):
18233 * lisp/international/mule-cmds.el (prefer-coding-system)
18234 (select-safe-coding-system-interactively)
18235 (select-safe-coding-system, activate-input-method)
18236 (toggle-input-method, describe-current-input-method):
18237 * lisp/international/mule-conf.el (code-offset):
18238 * lisp/mouse.el (minor-mode-menu-from-indicator):
18239 * lisp/replace.el (query-replace-read-from)
18240 (occur-after-change-function, occur-1):
18241 * lisp/scroll-bar.el (scroll-bar-columns):
18242 * lisp/simple.el (execute-extended-command)
18243 (undo-outer-limit-truncate, compose-mail, set-variable)
18244 (choose-completion-string, define-alternatives):
18245 * lisp/startup.el (site-run-file, tty-handle-args)
18246 (command-line, command-line-1):
18247 * lisp/subr.el (noreturn, define-error, add-to-list)
18248 (read-char-choice):
18249 * lisp/term/common-win.el (x-handle-xrm-switch)
18250 (x-handle-name-switch, x-handle-args):
18251 * lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
18252 Use curved quotes in diagnostics.
18253 * lisp/international/mule.el (find-auto-coding):
18254 Use " to quote in a diagnostic, to be consistent with the rest of
18257 Convert lisp/term/x-win.el to UTF-8
18258 * lisp/term/x-win.el: Convert to UTF-8. This doesn't affect
18259 runtime behavior, and the file is multilingual so compile-time
18260 appearance shouldn't be an issue.
18261 * admin/notes/unicode: Document this.
18263 2015-08-16 Wilson Snyder <wsnyder@wsnyder.org>
18265 Update verilog-mode.el to 2015-05-14-6232468-vpo-GNU.
18266 * lisp/progmodes/verilog-mode.el: Fix some non-automated indent
18267 issues and comments, bug#943.
18268 (verilog-type-font-keywords): Cycle delay operators like ##1 and
18269 ##[0:$] are now highlighted in their entirety similarly to the #
18270 delay-control operator. Likewise, the followed-by operators #-#
18271 and #=# are no longer partially highlighed.
18272 (verilog-backward-syntactic-ws-quick)
18273 (verilog-skip-backward-comments): Minor performance improvements
18274 to buffer traversal functions for reduced latency.
18275 (verilog-calc-1, verilog-in-deferred-immediate-final-p): When the
18276 keyword 'final' follows 'assert/assume/cover', then it is part of
18277 a deferred immediate assertion item and should not be treated as a
18278 final construct for indentation. Reported by Yuri Sugihara.
18279 (verilog-do-indent): Virtual task/function/class definition lines
18280 should not be considered as declarations. Reported by Enzo Chi.
18281 (verilog-do-indent): Do not falsely indent to '=' of
18282 property/sequence operators on subsequent lines of a multi-line
18284 (verilog-assignment-operator-re): Fix '!==' operator and add
18285 support for '<->', ':/', '#-#', and '#=#' operators.
18286 (verilog-calculate-indent, verilog-label-be): Enable
18287 case-sensitive regular expression parsing when looking for
18289 (verilog-calc-1): Detect 'pure virtual method' declarations which
18290 exist in abstract classes. Reported by Enzo Chi and Kaushal Modi.
18291 (verilog-backward-ws&directives): When moving back to the start of
18292 a line and the preceeding line ended with an escaped-newline, then
18293 jump up one line. This properly consumes a multi-line
18294 pre-processor directive. Reported by Kaushal Modi.
18295 (verilog-dpi-import-export-re, verilog-extended-complete-re)
18296 (verilog-calc-1): Teach verilog-mode to properly indent after a
18297 DPI import/export statement that resides outside of a module.
18298 Reported by Kaushal Modi.
18299 (verilog-extended-complete-re): Update regexp to match both
18300 "DPI-C" and "DPI". Reported by Kaushal Modi.
18302 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
18304 substitute-command-keys a few more doc strings
18305 * lisp/allout.el (outlineify-sticky):
18306 * lisp/files.el (hack-one-local-variable--obsolete):
18307 * lisp/help-fns.el (help-fns--obsolete, describe-variable):
18308 Use substitute-command-keys on some doc strings so that
18309 they don't use hard-coded key bindings or quoting styles.
18311 Fix quoting in Fformat calls
18312 * src/image.c (xbm_read_bitmap_data, xbm_load_image, xbm_load)
18313 (xpm_load, xpm_load_image, pbm_load, png_load_body)
18314 (jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
18315 (imagemagick_load, svg_load, svg_load_image, gs_load)
18316 (x_kill_gs_process):
18317 * src/lread.c (load_warn_old_style_backquotes):
18318 * src/xfaces.c (load_pixmap):
18319 * src/xselect.c (x_clipboard_manager_error_1):
18320 Quote diagnostics according to user preference when calling
18321 Fformat or its derivatives.
18323 2015-08-15 Glenn Morris <rgm@gnu.org>
18325 * admin/admin.el (set-version, set-copyright): Remove deleted files.
18327 2015-08-15 Stephen Leake <stephen_leake@stephe-leake.org>
18329 Allow describe-function helpers to access buffer-local values
18330 This will be used by cedet/mode-local.el `describe-mode-local-override'
18331 on `help-fns-describe-function-functions' in upstream CEDET.
18332 * lisp/help-fns.el (describe-function-orig-buffer): New, let-bound in
18333 `describe-function'.
18334 (describe-function): Bind it, save it on the help xref stack.
18336 Handle pulse-background being nil
18337 * lisp/cedet/pulse.el (pulse-lighten-highlight): Inherit
18338 pulse-background, handle it being nil.
18340 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
18342 Fix "\`" confusion in Lisp strings
18343 * admin/authors.el (authors-canonical-author-name):
18344 Fix typo by using "\\`" not "\`" in string RE.
18345 * lisp/obsolete/complete.el (PC-complete-as-file-name):
18346 * lisp/obsolete/vi.el (vi-backward-blank-delimited-word):
18347 * lisp/progmodes/verilog-mode.el (verilog-mode-map):
18348 Use plain "`", not the equivalent-but-confusing "\`", in strings.
18349 * lisp/textmodes/texinfmt.el: Fix comment likewise.
18351 2015-08-15 Dani Moncayo <dmoncayo@gmail.com>
18353 * nt/zipdist.bat: Remove -- no longer used.
18355 2015-08-15 Jürgen Hötzel <juergen@archlinux.org>
18357 * lisp/net/tramp-sh.el (tramp-remote-selinux-p): Use "selinuxenabled"
18358 rather than "getenforce".
18359 (tramp-sh-handle-set-file-selinux-context): Do not
18360 cache SELinux context if not all context components are given.
18362 2015-08-15 Eli Zaretskii <eliz@gnu.org>
18364 Add doc strings to 2 help-mode.el functions
18365 * lisp/help-mode.el (help-mode-setup, help-mode-finish): Add doc
18366 strings. (Bug#21263)
18368 Remove files used by the old MS-Windows specific build procedure
18369 * admin/unidata/makefile.w32-in:
18370 * doc/emacs/makefile.w32-in:
18371 * doc/lispintro/makefile.w32-in:
18372 * doc/lispref/makefile.w32-in:
18373 * doc/misc/makefile.w32-in:
18374 * leim/makefile.w32-in:
18375 * lib-src/makefile.w32-in:
18376 * lib/makefile.w32-in:
18377 * lisp/makefile.w32-in:
18380 * nt/emacs-src.tags:
18383 * nt/makefile.w32-in:
18384 * nt/multi-install-info.bat:
18387 * src/makefile.w32-in: Files deleted.
18388 * nt/configure.bat: Remove everything except the blurb about the
18389 new build procedure.
18390 * make-dist: Remove references to makefile.w32-in in various
18391 directories, and to files in nt/ that were deleted.
18392 * etc/NEWS: Mention the fact that the files were dropped.
18394 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
18396 * doc/emacs/mule.texi (Charsets): Give fuller title for ISO-IR.
18399 2015-08-14 Paul Eggert <eggert@cs.ucla.edu>
18401 Default to inotify instead of gfile
18402 * configure.ac (with_file_notification): Fix typo that
18403 prevented suppression of file notification if HAVE_NS.
18404 (NOTIFY_OBJ): Prefer inotify to gfile if both exist and
18405 with_file_notification is 'yes' (Bug#21241).
18406 * etc/NEWS: Mention this.
18408 Fix broken URLs for ISO-IR
18409 * doc/emacs/mule.texi (Charsets):
18410 * lisp/international/mule-conf.el:
18411 Fix broken URL (Bug#21248).
18413 Low-level diagnostics now use ‘text-quoting-style’
18414 * src/doprnt.c (doprnt):
18415 Format ` and ' as per ‘text-quoting-style’.
18416 * src/xdisp.c (vmessage, message): Mention that the format should
18417 not contain ` or '.
18419 Prefer ‘format’ to ‘substitute-command-keys’
18420 * src/character.h (uLSQM, uRSQM): Move here ...
18421 * src/doc.c (uLSQM, uRSQM): ... from here.
18422 * src/doc.c (Fsubstitute_command_keys):
18423 * src/syntax.c (Finternal_describe_syntax_value):
18424 * lisp/cedet/mode-local.el (mode-local-print-binding)
18425 (mode-local-describe-bindings-2):
18426 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
18427 * lisp/cus-theme.el (describe-theme-1):
18428 * lisp/descr-text.el (describe-text-properties-1, describe-char):
18429 * lisp/emacs-lisp/cl-extra.el (cl--describe-class):
18430 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
18431 * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
18432 * lisp/emacs-lisp/package.el (describe-package-1):
18433 * lisp/faces.el (describe-face):
18434 * lisp/help-fns.el (help-fns--key-bindings)
18435 (help-fns--compiler-macro, help-fns--parent-mode)
18436 (help-fns--obsolete, help-fns--interactive-only)
18437 (describe-function-1, describe-variable):
18438 * lisp/help.el (describe-mode):
18439 Prefer ‘format’ to ‘substitute-command-keys’ when either will do
18440 to implement quoting style. This generally makes the code simpler.
18442 Extend ‘format’ to translate curved quotes
18443 This is a followup to the recent doc string change, and deals with
18444 diagnostics and the like. This patch is more conservative than
18445 the doc string change, in that the behavior of ‘format’ changes
18446 only if its first arg contains curved quotes and the user prefers
18447 straight or grave quotes. (Come to think of it, perhaps we should
18448 be similarly conservative with doc strings too, but that can wait.)
18449 The upside of this conservatism is that existing usage is almost
18450 surely unaffected. The downside is that we'll eventually have to
18451 change Emacs's format strings to use curved quotes in places where
18452 the user might want curved quotes, but that's a simple and
18453 mechanical translation that I'm willing to do later. (Bug#21222)
18454 * doc/lispref/help.texi (Keys in Documentation):
18455 Move description of text-quoting-style from here ...
18456 * doc/lispref/strings.texi (Formatting Strings):
18457 ... to here, and describe new behavior of ‘format’.
18458 * etc/NEWS: Describe new behavior.
18459 * lisp/calc/calc-help.el (calc-describe-thing):
18460 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
18461 * lisp/info.el (Info-find-index-name):
18462 Use ‘concat’ rather than ‘format’ to avoid misinterpretation
18463 of recently-added curved quotes.
18464 * src/doc.c (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
18466 * src/lisp.h: ... to here.
18467 * src/doc.c (text_quoting_style): New function.
18468 (Fsubstitute_command_keys): Use it.
18469 * src/editfns.c (Fformat): Implement new behavior.
18470 * src/lisp.h (enum text_quoting_style): New enum.
18472 2015-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
18474 * src/keyboard.c: Use false/true instead of 0/1 for booleans.
18475 * src/keyboard.h (struct kboard): Mark kbd_queue_has_data as boolean.
18477 2015-08-14 Michael Albinus <michael.albinus@gmx.de>
18479 * lisp/net/tramp-sh.el (tramp-sh-handle-file-acl): Do not redirect
18480 stderr to /dev/null, this is done in `tramp-send-command-and-check'.
18482 2015-08-14 Jürgen Hötzel <juergen@archlinux.org>
18484 Flush file properties in Tramp
18485 * lisp/net/tramp-sh.el (tramp-sh-handle-set-file-modes)
18486 (tramp-sh-handle-set-file-times):
18487 * lisp/net/tramp-adb.el (tramp-adb-handle-set-file-modes)
18488 (tramp-adb-handle-set-file-times): Flush the file properties of
18491 2015-08-14 Ronnie Schnell <ronnie@driver-aces.com>
18493 * doc/emacs/misc.texi (Amusements): Fixed typo.
18495 2015-08-14 Eli Zaretskii <eliz@gnu.org>
18497 Don't miss warnings about removing string text properties while dumping
18498 * src/alloc.c (purecopy): Warn about removing a string's text
18499 properties even when the same string was already pure-copied
18501 * lisp/progmodes/elisp-mode.el (elisp--xref-format)
18502 (elisp--xref-format-extra): Fix the commentary.
18504 2015-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
18506 * lisp/progmodes/sh-script.el (sh-mode): Handle .cshrc (bug#21049).
18508 2015-08-13 Magnus Henoch <magnus.henoch@gmail.com>
18510 * lisp/progmodes/compile.el: Use lexical-binding.
18511 (compilation-move-to-column): Assume 8-wide TABs (bug#21038).
18513 2015-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
18515 (uniquify-ask-about-buffer-names-p): Remove, unused (bug#21037)
18516 * lisp/uniquify.el: Remove redundant `:group's.
18518 2015-08-13 Jürgen Hötzel <juergen@archlinux.org>
18520 * lisp/net/tramp-adb.el
18521 (tramp-adb-handle-directory-files-and-attributes): Make a copy of
18522 result to prevent modification of the tramp-cache by side effects.
18523 Use the correct cache key.
18525 2015-08-13 Paul Eggert <eggert@cs.ucla.edu>
18527 Make add_to_log varargs
18528 * src/alloc.c (run_finalizer_handler):
18529 * src/charset.c (load_charset_map_from_vector):
18530 * src/nsimage.m (ns_load_image):
18531 * src/xfaces.c (load_pixmap, load_color2):
18532 Simplify, now that add_to_log has a variable number of args.
18533 * src/image.c (image_error): Take a variable number of args.
18534 Callers simplified.
18535 * src/lisp.h (add_to_log, vadd_to_log): Adjust to new APIs.
18536 * src/xdisp.c (format_nargs, vadd_to_log): New functions.
18537 (add_to_log): Make varargs, and reimplement in terms of vadd_to_log.
18538 * src/xfaces.c (merge_face_ref): Fix typo that omitted color name.
18540 Optional args for holiday-greek-orthodox-easter
18541 * etc/NEWS: Document this.
18542 * lisp/calendar/holidays.el (holiday-greek-orthodox-easter):
18543 Add optional args N and STRING, mimicking the API and code of
18544 ‘holiday-easter-etc’. From suggestion by Foivos S. Zakkak (Bug#21256).
18546 2015-08-13 Stephen Leake <stephen_leake@stephe-leake.org>
18548 xref-find-definitions: Exclude more generic function items.
18549 * lisp/emacs-lisp/cl-generic.el (cl--generic-search-method):
18551 (cl--generic-find-defgeneric-regexp): New.
18552 (find-function-regexp-alist): Add it.
18553 * lisp/emacs-lisp/find-func.el (find-feature-regexp): Move here from
18554 elisp-mode.el, change to search for ";;; Code:"
18555 (find-alias-regexp): Move here from elisp-mode.el, cleaned up.
18556 (find-function-regexp-alist): Add them.
18557 * lisp/progmodes/elisp-mode.el:
18558 (elisp--xref-format, elisp--xref-format-extra): Change back to
18559 defvar due to bug#21237.
18560 (elisp--xref-find-definitions): Exclude co-located default methods for
18561 generic functions. Also exclude implicitly declared defgeneric.
18562 (elisp--xref-find-definitions): Handle C source properly. Exclude minor
18563 mode variables defined by 'define-minor-mode'.
18564 * test/automated/elisp-mode-tests.el: Declare generic functions, add
18566 (xref-elisp-test-run): Fix bug.
18567 (emacs-test-dir): Improve initial value.
18568 (find-defs-defun-defvar-el): Don't expect defvar.
18569 (find-defs-feature-el): Match change to find-feature-regexp.
18571 2015-08-13 Eli Zaretskii <eliz@gnu.org>
18573 Improve warning about purecopy of strings with properties
18574 * src/alloc.c (purecopy): Show the offending string with the
18575 warning about removing its text properties.
18577 2015-08-12 Alan Mackenzie <acm@muc.de>
18579 Introduce new macros to cover Emacs's new names in cl-lib.el
18580 This also eliminates `mapcan' warnings in XEmacs.
18581 * lisp/progmodes/cc-defs.el (c--mapcan-status): New variable to
18582 characterise [X]Emacs versions.
18583 (top-level): Require either 'cl or 'cl-lib, depending on
18585 Change this back to cc-external-require from an eval-when-compile
18587 (c--mapcan, c--set-difference, c--intersection, c--macroexpand-all)
18588 (c--delete-duplicates): New macros which expand into either old or new
18590 (c-make-keywords-re, c-lang-defconst, c-lang-const): Use the new macros
18591 rather than the old names.
18592 * lisp/progmodes/cc-engine.el (c-declare-lang-variables): Use c--mapcan
18593 rather than mapcan.
18594 * lisp/progmodes/cc-fonts.el (c-compose-keywords-list): Use c--mapcan.
18595 * lisp/progmodes/cc-langs.el (top-level): Require either 'cl or 'cl-lib,
18596 depending on c--mapcan-status.
18597 (c-filter-ops, c-all-op-syntax-tokens, c-assignment-op-regexp)
18598 (c-type-start-kwds, c-prefix-spec-kwds, c-specifier-key)
18599 (c-not-decl-init-keywords, c-not-primitive-type-keywords)
18600 (c-paren-any-kwds, c-<>-sexp-kwds, c-block-stmt-kwds, c-expr-kwds)
18601 (c-decl-block-key, c-keywords, c-keywords-obarray)
18602 (c-regular-keywords-regexp, c-primary-expr-regexp)
18603 (c-primary-expr-regexp, c-block-prefix-disallowed-chars)
18604 (c-known-type-key, c-nonlabel-token-key)
18605 (c-make-init-lang-vars-fun): Use the new macros rather than the old
18608 2015-08-12 Oleh Krehel <ohwoeowho@gmail.com>
18610 loadhist.el (read-feature): Conform to completing-read
18611 * lisp/loadhist.el (read-feature): According to `completing-read'
18612 documentation, if collection is a list, then it must be a list of
18613 strings, not a list of symbols like before.
18615 2015-08-12 David Kastrup <dak@gnu.org>
18617 Deal gracefully with up-events (Bug#19746)
18618 * src/keyboard.c (apply_modifiers_uncached, parse_solitary_modifier)
18619 (parse_modifiers_uncached): React gracefully to "up-" modifiers:
18620 those may easily be injected by user-level Lisp code.
18621 (read_key_sequence): Discard unbound up-events like unbound
18622 down-events: they are even more likely only relevant for special
18624 While Emacs will not produce up-events on its own currently (those are
18625 converted to drag or click events before being converted to
18626 Lisp-readable structures), the input queue can be made to contain them
18627 by synthesizing events to `unread-command-events'. Emacs should deal
18628 consistently with such events.
18630 2015-08-12 Eli Zaretskii <eliz@gnu.org>
18632 Fix display of thin lines whose newline has line-height property of t
18633 * src/xdisp.c (append_space_for_newline): Don't try to fix ascent
18634 and descent values of non-empty glyph rows, since they could have
18635 forced low values deliberately. (Bug#21243)
18637 2015-08-12 Richard Stallman <rms@gnu.org>
18639 Offer to combine multiple To or CC fields.
18640 * lisp/mail/sendmail.el (mail-combine-fields): New function.
18641 (mail-send): Call 'mail-combine-fields'.
18643 Don't decrypt encrypted files.
18644 * lisp/mail/mail-utils.el (mail-file-babyl-p): Bind epa-inhibit to t.
18646 Handle encrypted mbox files.
18647 * lisp/mail/rmailout.el (rmail-output-as-mbox): Decrypt and reencrypt
18648 the mbox file if necessary.
18650 Re-enable mime processing after decryption. Add 'decrypt' keyword.
18651 * lisp/mail/rmail.el (rmail-epa-decrypt-1): New subroutine.
18652 (rmail-epa-decrypt): rmail-epa-decrypt-1 broken out.
18653 In a mime message, reenable Mime and show the parts that
18655 Add keyword "decrypt" if anything decrypted.
18657 epa-inhibit inhibits auto-recognition of .gpg files
18658 * lisp/epa-file.el (epa-inhibit): New variable.
18659 (epa-file-handler): Check epa-inhibit.
18661 2015-08-12 Artur Malabarba <bruce.connor.am@gmail.com>
18663 * lisp/emacs-lisp/lisp-mnt.el (lm-header): Add save-excursion.
18665 2015-08-11 Fabián Ezequiel Gallina <fgallina@gnu.org>
18667 Respect python.el imenu when semantic-mode is off
18669 * lisp/cedet/semantic/wisent/python.el: Do not force
18670 wisent-python-default-setup on python-mode-hook.
18672 2015-08-11 Paul Eggert <eggert@cs.ucla.edu>
18674 Give names to Unicode code points in C code
18675 * src/character.h (NO_BREAK_SPACE, SOFT_HYPHEN)
18676 (ZERO_WIDTH_NON_JOINER, ZERO_WIDTH_JOINER, HYPHEN)
18677 (NON_BREAKING_HYPHEN, LEFT_SINGLE_QUOTATION_MARK)
18678 (RIGHT_SINGLE_QUOTATION_MARK, PARAGRAPH_SEPARATOR)
18679 (LEFT_POINTING_ANGLE_BRACKET, RIGHT_POINTING_ANGLE_BRACKET)
18680 (LEFT_ANGLE_BRACKET, RIGHT_ANGLE_BRACKET)
18681 (OBJECT_REPLACEMENT_CHARACTER):
18682 New named constants for Unicode code points.
18683 * src/bidi.c (bidi_fetch_char, CANONICAL_EQU):
18684 * src/composite.c (char_composable_p):
18685 * src/lread.c (readevalloop, read1):
18686 * src/xdisp.c (get_next_display_element):
18688 * src/doc.c (LEFT_SINGLE_QUOTATION_POINT):
18689 Remove; now in character.h.
18691 2015-08-11 Stephen Leake <stephen_leake@stephe-leake.org>
18693 elisp--xref-find-definitions handle cl-defstuct default constructor
18694 * lisp/progmodes/elisp-mode.el (elisp-xref-find): Add FIXME.
18695 (elisp--xref-format-extra): Rename from elisp--xref-format-cl-defmethod.
18696 (elisp--xref-find-definitions): Handle cl-defstuct default constructor.
18697 * test/automated/elisp-mode-tests.el (xref-elisp-test-run): Split out
18698 from xref-elisp-test for ease of debugging.
18699 (xref-elisp-deftest): Rename from xref-elisp-test.
18700 (find-defs-constructor): New test.
18701 (find-defs-defgeneric-el): Match batch test config.
18702 (compile): Required for find-defs compilation-minor-mode test.
18703 (find-defs-defvar-el): Match code change.
18704 (find-defs-face-el): Match code change.
18705 * lisp/progmodes/xref.el (xref-find-function, xref-find-definitions):
18706 Improve doc string.
18708 2015-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
18710 * lisp/replace.el (perform-replace): Document `replacements'.
18711 (perform-replace): Move the description of the format of `replacements'
18712 from the body's comment to the doc string.
18714 2015-08-11 Jürgen Hötzel <juergen@archlinux.org>
18716 * lisp/net/tramp-adb.el (tramp-adb-prompt): Match leading escape
18717 sequence. Recent adb version send initial escape sequences, even
18718 when terminal type is set to TERM=dumb.
18720 2015-08-10 Stephen Leake <stephen_leake@stephe-leake.org>
18722 Rewrite elisp--xref-find-definitions to handle many more cases; add tests
18723 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
18725 (elisp--xref-format-cl-defmethod): New defconst.
18726 (find-feature-regexp, find-alias-regexp): New defcustoms.
18727 (elisp--xref-make-xref): New function.
18728 (elisp--xref-find-definitions): Rewrite using the above, handle many
18729 more cases. Always output all available definitions.
18730 (xref-location-marker): No need for special cases.
18731 * test/automated/elisp-mode-tests.el: Add more tests of
18732 elisp--xref-find-definitions, improve current tests.
18734 2015-08-10 Eli Zaretskii <eliz@gnu.org>
18736 Fix recording of events pushed onto unread-command-events
18737 * src/keyboard.c (read_char): Make sure events read from
18738 unread-command-events and unread-post-input-method-events are
18739 always recorded by record_char. Reported by David Kastrup
18741 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00193.html.
18743 2015-08-10 Samer Masterson <samer@samertm.com>
18745 Set file buffer as current for "--file"
18746 * lisp/startup.el (command-line-1): Set file buffer as current before
18747 it is displayed so it can be used with options like "--eval".
18750 2015-08-10 Eli Zaretskii <eliz@gnu.org>
18752 Avoid setting LC_NUMERIC on MS-Windows to anything but "C"
18753 * src/emacs.c (synchronize_locale) [WINDOWSNT]: Call fixup_locale
18754 after setting LC_ALL to the desired locale, to avoid affecting how
18755 numbers are read and printed. (Bug#21223)
18757 2015-08-10 Alan Mackenzie <acm@muc.de>
18759 Fix "Invalid search bound (wrong side of point)" in fontification
18760 * lisp/progmodes/cc-fonts.el (c-font-lock-declarators): After skipping
18761 an initialization expression, check point is not beyond the
18762 fontification limit.
18764 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
18766 Fix DPI calculation when Xft/DPI is default
18767 * src/xsettings.c (parse_settings): Don't use Xft/DPI default
18768 value of -1, which evaluates to 2**32 - 1 (Bug#21152).
18769 Remove unnecessary cast while we're in the neighborhood.
18771 2015-08-09 Dmitry Gutov <dgutov@yandex.ru>
18773 Add project-vc-search-path and project-vc-ignores
18774 * lisp/progmodes/project.el (project-vc): New group.
18775 (project-vc-search-path, project-vc-ignores): New variables.
18776 (project--value-in-dir): Utility function.
18777 (project-search-path, project-ignores): Use them.
18778 * lisp/progmodes/xref.el (xref--rgrep-command): Only replace `./'
18779 at bos. Don't add extra `/'. Don't prepend with `*' if replaced.
18781 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
18783 Fix some minor quoting issues with grave accent
18784 * src/dispnew.c (add_window_display_history) [GLYPH_DEBUG]:
18785 Remove redundant quotes.
18786 * src/doc.c (uLSQM, uRSQM): New macros.
18787 * src/doc.c (Fsubstitute_command_keys):
18788 * src/syntax.c (Finternal_describe_syntax_value): Follow the user
18789 preference for quotes rather than hardcoding the ‘grave’ style.
18790 * src/regex.c (PUSH_FAILURE_POINT, POP_FAILURE_POINT)
18791 (re_match_2_internal) [DEBUG]: In debugging output, quote C
18792 strings with "...", not `...'.
18794 ChangeLog.2 ignores remote-tracking merges
18795 * build-aux/gitlog-to-emacslog: Ignore commit logs matching
18796 "Merge remote-tracking branch '.*'" too. See Eli Zaretskii in:
18797 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00384.html
18799 2015-08-09 Nicolas Richard <youngfrog@members.fsf.org>
18801 Use kpsewhich in ffap-latex-mode, if available
18802 * lisp/ffap.el (ffap-latex-guess-rules): New variable.
18803 (ffap-latex-mode): Use kpsewhich if available.
18805 ffap: disallow braces in filenames for tex modes
18806 * lisp/ffap.el (ffap-string-at-point-mode-alist): Don't allow
18807 braces in tex-related modes.
18809 Remove useless backslashes from ffap-string-at-point-mode-alist
18810 * lisp/ffap.el (ffap-string-at-point-mode-alist): Remove useless and
18811 misleading backslashes from default value.
18813 Augment docstring of ffap-string-at-point-mode-alist
18814 * lisp/ffap.el (ffap-string-at-point-mode-alist): Describe how BEG
18815 and END are handled.
18817 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
18819 * lisp/org/org-src.el (org-edit-src-code)
18820 (org-edit-fixed-width-region):
18821 * lisp/simple.el (completion-setup-function):
18822 Remove calls to substitute-command-keys that always just return
18825 2015-08-09 Daiki Ueno <ueno@gnu.org>
18827 * lisp/epa.el (epa-exit-buffer-function): Set to `quit-window'.
18830 2015-08-09 Ivan Kanis <ivan@kanis.fr>
18832 Fix link to source code in help window
18833 * lisp/help-fns.el (find-lisp-object-file-name): Remove code that
18834 will never work due to Glenn Morris change a6d63d9 on Apr 20 2013
18835 'No longer include timestamp in header of .elc files'. Add code
18836 that will return .el source file in load-path.
18838 2015-08-09 Artur Malabarba <bruce.connor.am@gmail.com>
18840 * lisp/isearch.el (isearch-search-fun-default): (Bug#21164)
18841 Respect `isearch-lax-whitespace' when searching through
18844 2015-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
18846 * test/automated/ert-tests.el (ert-test-deftest): Add FIXME.
18848 * lisp/org/org.el: Fix up some lexical scoping warnings, and use dolist
18849 * lisp/org/org.el (org-set-regexps-and-options-for-tags, org-goto-map)
18850 (org-set-regexps-and-options, org-assign-fast-keys)
18851 (org-contextualize-keys, org-contextualize-validate-key)
18852 (org-notes-order-reversed-p, org-local-logging, org-map-entries)
18853 (org-find-olp, org-find-exact-heading-in-directory)
18854 (org-cycle-agenda-files, org-release-buffers, org-fill-template)
18855 (org-agenda-prepare-buffers, org-occur-in-agenda-files)
18856 (org-replace-escapes): Use dolist.
18857 (org-mode): Optimize away XEmacs-only code.
18858 (org-refile-get-targets): Remove unused var `f'.
18859 (org-fast-todo-selection): Remove unused var `e'.
18860 (org-make-tags-matcher): Use dolist. Remove unused var `term'.
18861 (org-fast-tag-selection): Use dolist. Remove unused var `e'.
18862 (org-format-latex): Use dolist. Remove unused var `e'.
18863 (org-toggle-heading): Access vars lexically rather than dynamically.
18864 (org-backward-sentence, org-forward-sentence, org-meta-return)
18865 (org-kill-line): Mark arg as unused.
18866 (org-submit-bug-report): Silence compiler warning.
18867 (org-occur-in-agenda-files): Don't use add-to-list on local vars.
18868 (org-get-cursor-date): Remove unused var `tm'.
18869 (org-comment-or-uncomment-region): Use standard name `_'.
18870 (reftex-docstruct-symbol, reftex-cite-format): Declare to
18871 silence byte-compiler.
18872 (org-reftex-citation): Add `org--' prefix to dynamically scoped
18875 2015-08-08 Paul Eggert <eggert@cs.ucla.edu>
18877 Electric quote if coding is undecided or no conv
18878 * lisp/electric.el (electric--insertable-p): Also say that a
18879 string is insertable if the buffer file coding system is undecided
18880 or uses no conversion, as curved quotes will work in either case.
18882 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Simplify configuration.
18884 2015-08-08 Eli Zaretskii <eliz@gnu.org>
18886 Fix overlay string display regressions introduced in Emacs 24.5
18887 * src/xdisp.c (pop_it): Reset the flag to ignore overlays at this
18888 buffer position, if we move the iterator to a new position as
18889 result of jumping over text covered by a "replacing" display
18891 * test/redisplay-testsuite.el (test-redisplay-4): Add 2 new tests.
18893 Support recovery from C stack overflow on MS-Windows
18894 * src/w32fns.c (w32_reset_stack_overflow_guard)
18895 (stack_overflow_handler): New functions for handling C stack
18896 overflow exceptions.
18897 (my_exception_handler): Handle EXCEPTION_STACK_OVERFLOW exceptions
18898 specially, and zero out except_addr if we do.
18899 (globals_of_w32fns): Initialize dwMainThreadId in non-interactive
18901 * src/sysdep.c [HAVE_STACK_OVERFLOW_HANDLING]: Add !WINDOWSNT to
18902 the condition, as HAVE_STACK_OVERFLOW_HANDLING is now defined for
18903 the MinGW build, but the code guarded by that is for Posix hosts.
18904 * src/keyboard.c (command_loop) [WINDOWSNT]:
18905 Call w32_reset_stack_overflow_guard.
18906 * nt/inc/ms-w32.h (sigjmp_buf): New typedef.
18907 (sigsetjmp): New macro.
18908 (w32_reset_stack_overflow_guard): Declare the prototype.
18909 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Set to 1 for MinGW.
18911 2015-08-07 Phillip Lord <phillip.lord@newcastle.ac.uk>
18913 Improve error signalling for seq-subseq
18914 * lisp/emacs-lisp/seq.el (seq-subseq): The existing behavior is to error
18915 when indexes are too large, but to silently ignore numbers which
18916 are too negative for lists. String and vector handling errors in
18917 both cases. This has been regularized. Error signaling behavior
18918 has been explicitly added to the doc string.
18920 * lisp/cl-extra.el (cl-subseq): Defers to (seq-subseq) and is
18921 therefore also impacted by this change. Update the doc string
18924 * test/automated/seq-tests.el (test-seq-subseq): Tests have been
18925 added for these exceptional cases, as well as one non exceptional
18928 2015-08-07 Jürgen Hötzel <juergen@archlinux.org>
18930 Improve error checking in tramp-adb.el
18931 * lisp/net/tramp-adb.el (tramp-adb-ls-output-name-less-p):
18932 Improve error checking. "ls -l" on Android in Enforcing mode can
18933 print "lstat './FILENAME failed: Permission denied".
18935 2015-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
18937 * lisp/emacs-lisp/cl-generic.el (cl--generic-struct-tag): Don't burp on
18938 non-struct vectors.
18940 2015-08-07 Stephen Leake <stephen_leake@stephe-leake.org>
18942 Fix typo in lisp/window.el, more `display-buffer-use-some-frame'
18943 * lisp/window.el: Fix typo that broke build.
18944 (display-buffer--action-function-custom-type):
18945 Add `display-buffer-use-some-frame'.
18946 (display-buffer): Add `display-buffer-use-some-frame' to doc string.
18948 Add support for 'inhibit-same-window in 'display-buffer-use-some-frame'
18949 * lisp/window.el (display-buffer-use-some-frame): Add support for
18950 'inhibit-same-window in alist.
18951 * doc/lispref/windows.texi (display-buffer-use-some-frame):
18952 Doc support for 'inhibit-same-window in alist.
18954 2015-08-07 Eli Zaretskii <eliz@gnu.org>
18956 Avoid infinite loop in display of invisible text in strings
18957 * src/xdisp.c (handle_invisible_prop): If the next change of
18958 invisibility spec does not mean the beginning of a visible text,
18959 update the string position from which to start the search for the
18960 next invisibility change. This avoids an infinite loop when we
18961 have more than one invisibility spec that are made inactive by
18962 buffer-invisibility-spec. Simplify code. (Bug#21200)
18963 * test/redisplay-testsuite.el (test-redisplay-4): Add a test case
18964 for the situation that caused bug #21200.
18966 2015-08-06 Artur Malabarba <bruce.connor.am@gmail.com>
18968 * lisp/emacs-lisp/package.el: Simplify describe-package-1
18969 (package-help-section-name-face): New face.
18970 (package--print-help-section): New function.
18971 (describe-package-1): Refactor section printing.
18972 (package-make-button): Use face instead of font-lock-face, which
18973 doesn't work on buttons.
18975 * lisp/emacs-lisp/package.el: Define custom faces
18976 (package-name-face, package-description-face)
18977 (package-status-built-in-face, package-status-external-face)
18978 (package-status-available-face, package-status-new-face)
18979 (package-status-held-face, package-status-disabled-face)
18980 (package-status-installed-face, package-status-dependency-face)
18981 (package-status-unsigned-face, package-status-incompat-face)
18982 (package-status-avail-obso-face): New faces.
18983 (package-menu--print-info-simple): Use them.
18985 2015-08-05 Paul Eggert <eggert@cs.ucla.edu>
18987 Fix some confusion with ‘format’
18988 * lisp/allout-widgets.el (allout-widgets-before-change-handler)
18989 (allout-graphics-modification-handler):
18990 Protect arbitrary string in a format context with "%s" format.
18992 * lisp/cedet/semantic/bovine/scm.el: Fix comment.
18993 * lisp/calendar/icalendar.el (icalendar--convert-sexp-to-ical):
18994 * lisp/erc/erc-button.el (erc-button-beats-to-time):
18995 * lisp/gnus/message.el (message-send-form-letter):
18996 * lisp/org/ob-core.el (org-babel-check-evaluate)
18997 (org-babel-confirm-evaluate):
18998 * lisp/org/ob-fortran.el (org-babel-fortran-var-to-fortran):
18999 * lisp/org/ox-latex.el (org-latex-compile):
19000 * lisp/org/ox-man.el (org-man-compile):
19001 * lisp/org/ox-odt.el (org-odt-template):
19002 * lisp/org/ox-texinfo.el (org-texinfo-compile):
19003 * lisp/progmodes/prolog.el (prolog-help-info)
19004 (prolog-view-predspec):
19005 * lisp/progmodes/ruby-mode.el (ruby-parse-partial):
19006 * lisp/progmodes/verilog-mode.el (verilog-showscopes):
19007 * lisp/textmodes/rst.el (rst-replace-lines):
19008 Change (message (format ...)) to (message ...), and likewise
19009 for ‘error’. This lessens the probability of confusion when the
19010 output of ‘format’ contains ‘%’.
19012 2015-08-05 Artur Malabarba <bruce.connor.am@gmail.com>
19014 * lisp/replace.el (replace-character-fold): Default to nil.
19016 * lisp/character-fold.el: Fix lax whitespace.
19017 (character-fold-table): Don't make space match other whitespace chars.
19018 (character-fold-to-regexp): Simplify lax behavior.
19020 2015-08-05 Dmitry Gutov <dgutov@yandex.ru>
19022 Preserve window point in xref-find-definitions-other-window
19023 Fix the problem reported by Ingo Logmar in
19024 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00152.html
19025 * lisp/progmodes/xref.el (xref--goto-char): Extract from
19026 xref--goto-location.
19027 (xref--pop-to-location): Use it. Replace xref--goto-location with
19028 a direct xref-location-marker call.
19029 (xref--show-location): Likewise.
19030 (xref--display-position): Use xref--goto-char.
19032 * lisp/progmodes/project.el: Add a paragraph to the front matter.
19034 2015-08-04 David Kastrup <dak@gnu.org>
19036 * lisp/vc/emerge.el (emerge-show-file-name):
19037 * lisp/progmodes/vhdl-mode.el (vhdl-electric-dash)
19038 (vhdl-comment-insert, vhdl-hooked-abbrev):
19039 * lisp/progmodes/octave.el (inferior-octave-dynamic-list-input-ring):
19040 * lisp/progmodes/fortran.el (fortran-window-create-momentarily):
19041 * lisp/progmodes/ebrowse.el (ebrowse-hack-electric-buffer-menu):
19042 * lisp/progmodes/cperl-mode.el (cperl-putback-char):
19043 * lisp/obsolete/vip.el (vip-escape-to-emacs)
19044 (vip-prefix-arg-value, vip-prefix-arg-com):
19045 * lisp/obsolete/terminal.el (te-escape-extended-command-unread):
19046 * lisp/leim/quail/tibetan.el (quail-tibetan-update-translation)
19047 (quail-tibkey-update-translation):
19048 * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
19049 * lisp/leim/quail/lao.el (quail-lao-update-translation):
19050 * lisp/leim/quail/japanese.el (quail-japanese-update-translation)
19051 (quail-japanese-self-insert-and-switch-to-alpha):
19052 * lisp/leim/quail/hangul.el (hangul2-input-method)
19053 (hangul3-input-method, hangul390-input-method):
19054 * lisp/language/hanja-util.el (hangul-to-hanja-char):
19055 * lisp/international/robin.el (robin-input-method):
19056 * lisp/international/quail.el (quail-start-translation)
19057 (quail-start-conversion):
19058 * lisp/gnus/gnus-art.el (gnus-article-describe-key)
19059 (gnus-article-describe-key-briefly):
19060 * lisp/eshell/em-hist.el (eshell-list-history):
19061 * lisp/term.el (term-dynamic-list-input-ring)
19062 (term-dynamic-list-completions):
19063 * lisp/subr.el (momentary-string-display):
19064 * lisp/simple.el (read-quoted-char):
19065 * lisp/pcomplete.el (pcomplete-show-completions):
19066 * lisp/kmacro.el (kmacro-repeat-on-last-key):
19067 * lisp/info.el (Info-summary):
19068 * lisp/ehelp.el (electric-help-command-loop):
19069 * lisp/ebuff-menu.el (electric-buffer-list)
19070 (Electric-buffer-menu-exit):
19071 * lisp/double.el (double-translate-key):
19072 * lisp/comint.el (comint-dynamic-list-input-ring)
19073 (comint-dynamic-list-completions): Do not overwrite preexisting
19074 contents of `unread-command-events' when putting new events into it.
19076 2015-08-04 Daniel Colascione <dancol@dancol.org>
19078 Improve ansi-color filtering of unrecognized escape sequences
19079 * lisp/ansi-color.el (ansi-color-drop-regexp): Recognize mode-setting
19081 (ansi-color-filter-apply, ansi-color-apply): Filter out
19082 unrecognized escape sequences.
19084 2015-08-04 Artur Malabarba <bruce.connor.am@gmail.com>
19086 * lisp/emacs-lisp/package.el (package-menu-mode-map): Convert menu
19087 definitions to `easy-menu-define', improve a couple to account for
19088 async, and add a couple of new commands.
19090 2015-08-03 Jürgen Hötzel <juergen@archlinux.org>
19092 * lisp/net/tramp-cache.el (tramp-set-file-property): Fix code typo.
19094 2015-08-03 Ingo Lohmar <i.lohmar@gmail.com>
19096 Add new 'calendar-weekend-days' option
19097 Make the days receiving the 'calendar-weekend-header' face freely
19098 customizable, as they differ by region/culture.
19099 * doc/emacs/calendar.texi (Move to Beginning or End): Document the
19101 * lisp/calendar/calendar.el (calendar-generate-month): New variable
19102 calendar-weekend-days to customize day header fontification.
19104 2015-08-03 Paul Eggert <eggert@cs.ucla.edu>
19106 Redo text-quoting-style variable
19107 Rename help-quote-translation to text-quoting-style,
19108 and use symbols rather than characters as values.
19109 This follows suggestions along these lines by Alan Mackenzie in:
19110 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00343.html
19111 and by Drew Adams in:
19112 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00048.html
19113 * doc/lispref/help.texi (Keys in Documentation)
19115 * lisp/cus-start.el (standard):
19116 * src/doc.c (Fsubstitute_command_keys, syms_of_doc):
19117 Document and/or implement the new behavior instead of the old.
19118 (syms_of_doc): New symbols 'grave' and 'straight'.
19120 2015-08-03 Nikolaus Rath <Nikolaus@rath.org>
19122 nnimap.el: Use IMAP MOVE extension if available
19123 * lisp/gnus/nnimap.el (nnimap-request-move-article)
19124 (nnimap-process-expiry-targets, nnimap-split-incoming-mail):
19125 Use MOVE extension if available.
19127 nnimap.el: Explicitly ask for server capabilities
19128 * lisp/gnus/nnimap.el (nnimap-open-connection-1): Don't assume full
19129 capabilities will be returned in the login-result.
19131 2015-08-02 Paul Eggert <eggert@cs.ucla.edu>
19133 Treat help strings like other doc strings
19134 * doc/lispref/text.texi (Special Properties), etc/NEWS: Document this.
19135 * lisp/epa.el (epa--select-keys): Remove no-longer-needed calls to
19136 substitute-command-keys.
19137 * src/keyboard.c (show_help_echo, parse_menu_item): Call
19138 substitute-command-keys on the help string before displaying it.
19140 Also mention "curly quotes"
19141 See Drew Adams's email in:
19142 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00040.html
19143 * doc/lispref/help.texi (Keys in Documentation):
19144 Add index entry "curly quotes".
19145 * etc/NEWS: Use the phrase "curly quotes" too.
19147 ede-proj-target-makefile docstring tweaks
19148 * lisp/cedet/ede/proj.el (ede-proj-target-makefile):
19149 Consistently use "all:" to describe the all: target,
19150 replacing three different and confusingly-quoted usages.
19152 2015-08-02 Evgeny Fraimovitch <johnlen7@gmail.com> (tiny change)
19154 Don't abort emacsclientw when -a was specified
19155 * lib-src/emacsclient.c (set_tcp_socket) [WINDOWSNT]: Don't error
19156 out if we are in emacsclientw and -a was specified.
19158 2015-08-02 Eli Zaretskii <eliz@gnu.org>
19160 Fix handling of 1st keystroke on MS-Windows
19161 * src/w32fns.c (globals_of_w32fns): Initialize after_deadkey to -1.
19162 This is needed to correctly handle the session's first keystroke,
19163 if it has any modifiers. (Bug#19994)
19165 2015-08-02 Paul Eggert <eggert@cs.ucla.edu>
19167 Substitute some customization etc. doc strings
19168 These changes apply substitute-command-keys to some
19169 doc strings that were going through untranslated
19170 when creating customization or other widgets.
19171 * lisp/cus-edit.el (custom-group-value-create):
19172 * lisp/wid-edit.el (widget-default-create):
19173 (widget-push-button-value-create):
19174 Treat the widget tag as a doc string.
19175 * lisp/emacs-lisp/cl-extra.el (cl--describe-class-slot):
19176 Treat the :documentation value as a doc string.
19177 * lisp/wid-edit.el (widget-choose):
19178 Treat the choice names as doc strings.
19179 (widget-default-create): Treat the :doc value as a doc string.
19180 (widget-toggle-value-create): Treat the :on and :off values
19182 (widget-documentation-string-value-create):
19183 Substitute the doc string.
19185 2015-08-01 Dmitry Gutov <dgutov@yandex.ru>
19187 Add a second argument to project-ignores
19188 * lisp/progmodes/project.el (project-ignores): Add a second
19190 * lisp/progmodes/project.el (project-ignores): Only include the VC
19191 ignores if DIR is the VC root.
19192 * lisp/progmodes/xref.el (xref-find-regexp): Update accordingly.
19194 2015-08-01 Eli Zaretskii <eliz@gnu.org>
19196 Prevent incorrect display when 'line-spacing' variable is set
19197 * src/xdisp.c (try_window_id): Give up this optimization if the
19198 buffer has its 'line-spacing' variable set non-nil.
19200 2015-08-01 Dmitry Gutov <dgutov@yandex.ru>
19202 Don't pass NOVISIT to find-file
19203 * lisp/progmodes/etags.el (next-file):
19204 Don't pass NOVISIT to find-file (bug#21175).
19206 Ignore buffer restriction for tags-loop-eval
19207 * lisp/progmodes/etags.el (tags-loop-continue): Ignore buffer
19208 restriction (bug#21167).
19210 2015-08-01 Eli Zaretskii <eliz@gnu.org>
19212 Fix a thinko in 'ffap-gopher-at-point'
19213 * lisp/ffap.el (ffap-gopher-at-point): Fix last change. (Bug#21168)
19215 Honor 'line-spacing' for empty lines
19216 * src/xdisp.c (append_space_for_newline): Honor 'line-height'
19217 property and 'line-spacing' frame parameter or variable or
19218 property for empty lines, by doing the same processing as in
19219 x_produce_glyph for newline characters. (Bug#21165)
19221 2015-08-01 Paul Eggert <eggert@cs.ucla.edu>
19223 Simplify by assuming C99 integer division
19224 * src/floatfns.c (ceiling2, floor2, truncate2):
19225 Assume C99 (i.e., Fortran) semantics for integer division.
19226 This simplifies the code.
19228 2015-07-31 Paul Eggert <eggert@cs.ucla.edu>
19230 Don't overflow if computing approximate percentage
19231 * lisp/align.el (align-region):
19232 * lisp/cedet/semantic.el (semantic-repeat-parse-whole-stream):
19233 * lisp/cedet/semantic/wisent.el (wisent-parse-region):
19234 * lisp/cus-edit.el (custom-buffer-create-internal):
19235 * lisp/emacs-lisp/checkdoc.el (checkdoc-interactive-ispell-loop)
19236 (checkdoc-message-interactive-ispell-loop, checkdoc-next-error)
19237 (checkdoc-next-message-error):
19238 * lisp/emacs-lisp/eieio-opt.el (eieio-display-method-list):
19239 * lisp/epa.el (epa-progress-callback-function):
19240 * lisp/erc/erc-dcc.el (erc-dcc-do-LIST-command):
19241 * lisp/ffap.el (ffap-menu-rescan):
19242 * lisp/gnus/nnbabyl.el (nnbabyl-retrieve-headers):
19243 * lisp/gnus/nndiary.el (nndiary-retrieve-headers):
19244 * lisp/gnus/nneething.el (nneething-retrieve-headers):
19245 * lisp/gnus/nnmbox.el (nnmbox-retrieve-headers):
19246 * lisp/gnus/nnmh.el (nnmh-retrieve-headers):
19247 * lisp/gnus/nnml.el (nnml-retrieve-headers):
19248 * lisp/gnus/nnspool.el (nnspool-retrieve-headers):
19249 * lisp/gnus/nntp.el (nntp-retrieve-headers)
19250 (nntp-retrieve-articles):
19251 * lisp/imenu.el (imenu--relative-position):
19252 * lisp/international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
19253 (skkdic-convert-okuri-nasi):
19254 * lisp/net/ange-ftp.el (ange-ftp-process-handle-hash):
19255 * lisp/nxml/rng-valid.el (rng-compute-mode-line-string):
19256 * lisp/org/org-list.el (org-update-checkbox-count):
19257 * lisp/org/org.el (org-table-map-tables)
19258 (org-update-parent-todo-statistics):
19259 * lisp/play/decipher.el (decipher-insert-frequency-counts)
19260 (decipher-analyze-buffer):
19261 * lisp/profiler.el (profiler-format-percent):
19262 * lisp/progmodes/cc-cmds.el (c-progress-update):
19263 * lisp/progmodes/cpp.el (cpp-highlight-buffer):
19264 * lisp/progmodes/idlwave.el (idlwave-convert-xml-system-routine-info)
19265 (idlwave-list-load-path-shadows):
19266 * lisp/progmodes/opascal.el (opascal-step-progress):
19267 * lisp/progmodes/vhdl-mode.el (vhdl-update-progress-info)
19268 (vhdl-scan-directory-contents):
19269 * lisp/textmodes/bibtex.el (bibtex-progress-message):
19270 * lisp/textmodes/flyspell.el (flyspell-small-region)
19271 (flyspell-external-point-words):
19272 * lisp/textmodes/table.el (table-recognize):
19273 Prefer (floor (* 100.0 NUMERATOR) DENOMINATOR) when calculating
19274 progress-report percentages and the like. This avoids problems
19275 if (* 100 NUMERATOR) would overflow.
19276 * lisp/gnus/gnus-registry.el (gnus-registry-import-eld):
19277 * lisp/gnus/registry.el (registry-reindex):
19278 Use (* 100.0 ...) rather than (* 100 ...) to avoid int overflow issues.
19279 * lisp/descr-text.el (describe-char):
19280 * lisp/org/org-colview.el (org-nofm-to-completion):
19281 * lisp/ps-print.el (ps-plot):
19282 * lisp/simple.el (what-cursor-position):
19283 Prefer (round (* 100.0 NUMERATOR) DENOMINATOR) to a
19284 more-complicated and less-accurate approximation.
19286 Fix some int overflows in profiler.c
19287 * src/profiler.c (make_log): Make args EMACS_INT, not int,
19288 to avoid unwanted behavior on 'int' overflow.
19289 (make_log, evict_lower_half, record_backtrace):
19290 Use ptrdiff_t, not int, for object indexes.
19292 Port to pedantic memcpy
19293 * src/keyboard.c (menu_bar_items, tool_bar_items):
19294 * src/xrdb.c (magic_db):
19295 Port to pedantic memcpy implementations that reject memcpy (0, 0, 0).
19299 2015-07-29 time_rz: port to pedantic memcpy
19300 * lib/time_rz.c: Copy from gnulib.
19302 2015-07-31 Artur Malabarba <bruce.connor.am@gmail.com>
19304 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
19305 When updating the very last entry, tabulated-list-print would
19306 erase it and then try to look at the next one (which obviously
19309 2015-07-31 Eli Zaretskii <eliz@gnu.org>
19311 Allow to use the old key processing code on MS-Windows
19312 * src/w32fns.c (syms_of_w32fns) <w32-use-fallback-wm-chars-method>:
19314 (w32_wnd_proc): Use it to invoke the old code that processed
19315 character keys, as fallback, when this variable is non-nil.
19316 Fix typos in comments. (Bug#19994)
19318 2015-07-31 Ilya Zakharevich <ilya@math.berkeley.edu>
19320 Improve handling of Unicode keyboard input on MS-Windows
19321 * src/w32fns.c (get_wm_chars, deliver_wm_chars): New functions.
19322 (FPRINTF_WM_CHARS) [DEBUG_WM_CHARS]: New macro for debugging.
19323 (w32_wnd_proc): Call deliver_wm_chars to process non-special keys
19324 upon receiving WM_KEYDOWN or WM_SYSKEYDOWN messages. If that is
19325 successful, don't call TranslateMessage. (Bug#19994)
19327 2015-07-30 Dmitry Gutov <dgutov@yandex.ru>
19329 Fix default-directory in changeset diffs after vc-print-log
19330 * lisp/vc/log-view.el (log-view-diff-common): Move the
19331 revision-granularity check back into log-view-diff-changeset.
19332 (log-view-diff-changeset): Bind default-directory to the current
19335 Rename project-directories to project-roots
19336 * lisp/progmodes/project.el (project-search-path-function)
19337 (project-search-path): Update the docstring.
19338 (project-directories): Rename to `project-roots', update all
19339 callers and implementations accordingly.
19340 (project-root): Remove.
19341 * lisp/progmodes/xref.el (xref-find-regexp): Use * instead of *.*
19342 as the default file mask.
19344 2015-07-30 Eli Zaretskii <eliz@gnu.org>
19346 Support long URLs in w32-shell-execute
19347 * src/w32fns.c (Fw32_shell_execute): Don't use filename_to_utf16
19348 and filename_to_ansi to convert the DOCUMENT argument, as it could
19349 be a URL that is not limited to MAX_PATH characters. Instead, use
19350 MultiByteToWideChar directly, and allocate heap storage as
19351 required to accommodate the converted string. Likewise with
19352 non-Unicode operation. Ensure OPERATION is null-terminated, even
19353 if it is longer than 32K bytes. (Bug#21158)
19355 2015-07-30 Stephen Leake <stephen_leake@stephe-leake.org>
19357 * lisp/vc/vc-mtn.el (vc-mtn-find-revision): Handle null rev.
19359 2015-07-29 Stephen Leake <stephen_leake@stephe-leake.org>
19361 Add docs for display-buffer action display-buffer-use-some-frame
19362 * lisp/window.el (display-buffer-use-some-frame): Improve doc string.
19363 * doc/lispref/windows.texi (Display Action Functions):
19364 Add display-buffer-use-some-frame.
19365 * etc/NEWS: Mention display-buffer-use-some-frame.
19367 Add display-buffer action display-buffer-use-some-frame
19368 * lisp/window.el (display-buffer-use-some-frame): New.
19370 Handle vc-mtn error more gently
19371 * lisp/vc/vc-mtn.el (vc-mtn-mode-line-string): Return "" when
19374 2015-07-29 Michael Albinus <michael.albinus@gmx.de>
19376 Fix Tramp problems with multihops, and nc
19377 * lisp/net/tramp-cache.el (tramp-get-file-property)
19378 (tramp-set-file-property, tramp-flush-file-property)
19379 (tramp-get-connection-property, tramp-set-connection-property)
19380 (tramp-flush-connection-property): Remove hop from vector.
19381 * lisp/net/tramp-gw.el (tramp-gw-process-filter): Ignore errors.
19382 * lisp/net/tramp-sh.el (tramp-methods) <nc>: Separate STDERR.
19383 (tramp-do-copy-or-rename-file-out-of-band): Increase timeout of
19385 (tramp-sh-handle-start-file-process): Do not show hops in prompt.
19386 * lisp/net/tramp.el (tramp-handle-file-name-as-directory)
19387 (tramp-handle-file-name-directory, tramp-handle-file-remote-p):
19388 Keep hop in result.
19389 * test/automated/tramp-tests.el (tramp-test02-file-name-dissect):
19392 2015-07-29 Eli Zaretskii <eliz@gnu.org>
19394 Resurrect highlighting of repeated words by Flyspell Mode
19395 * lisp/textmodes/flyspell.el (flyspell-word): Leave some non-word
19396 characters between point and the doublon candidate, so that
19397 flyspell-word-search-backward finds it. (Bug#21157)
19399 Fix redisplay of large images on expose events
19400 * src/xdisp.c (expose_window, expose_area): Avoid comparisons
19401 between signed negative values and unsigned values. This
19402 prevented redisplay on expose events when the window showed a very
19405 2015-07-29 Paul Eggert <eggert@cs.ucla.edu>
19407 Remove unnecessary stack overflow dependency
19408 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING):
19409 Don't worry about $ac_cv_header_sys_resource_h and
19410 $ac_cv_func_getrlimit, as they're no longer needed for this.
19411 Problem reported by Eli Zaretskii in:
19412 http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00443.html
19414 2015-07-28 Andy Moreton <andrewjmoreton@gmail.com> (tiny change)
19416 Pacify compilation -Wincompatible-pointer-types warnings
19417 * src/w32proc.c (Fw32_get_codepage_charset): Avoid compilation
19419 (CompareStringW_Proc): New typedef.
19420 (w32_compare_strings): Use it, to pacify compiler warnings under
19421 "-Wincompatible-pointer-types".
19422 * src/w32fns.c (GetDiskFreeSpaceExW_Proc)
19423 (GetDiskFreeSpaceExA_Proc): New typedefs.
19424 (Ffile_system_info): Use them, to pacify compiler warnings under
19425 "-Wincompatible-pointer-types".
19427 2015-07-28 Paul Eggert <eggert@cs.ucla.edu>
19429 Fix subscript error in calculate_direct_scrolling
19430 Use slightly-longer cost vectors. Without this change,
19431 calculate_direct_scrolling can have a subscript violation when
19432 FRAME_LINES (frame) <= delta.
19433 * src/scroll.c (calculate_scrolling, calculate_direct_scrolling)
19434 (line_ins_del, do_line_insertion_deletion_costs):
19435 Allocate and use slightly-larger cost vectors, ones based on
19436 FRAME_TOTAL_LINES instead of FRAME_LINES.
19438 Fix uninitalized value in encode_coding_object
19439 * src/coding.c (encode_coding_object): Also initialize
19440 coding->src_pos and coding->src_pos_byte when NILP (src_object).
19441 This avoids later use of uninitialized storage.
19443 2015-07-27 Xue Fuqiao <xfq.free@gmail.com>
19445 * doc/lispref/variables.texi (Variable Aliases): Typo fix.
19448 2015-07-27 Paul Eggert <eggert@cs.ucla.edu>
19452 2015-07-27 time_rz: port better to MinGW
19453 2015-07-27 time: port __need_time_t to MinGW
19454 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
19455 * lib/strftime.c, lib/time.in.h, lib/time_rz.c: Copy from gnulib.
19456 * lib/time-internal.h: New file, from gnulib.
19458 2015-07-27 Eli Zaretskii <eliz@gnu.org>
19460 Handle NULL pointers in w32heap.c allocation routines
19461 * src/w32heap.c (FREEABLE_P): Consider a NULL pointer "not
19463 (realloc_after_dump, realloc_before_dump, free_before_dump):
19464 Handle NULL pointers gracefully, as Emacs now seems to expect that.
19466 Fix Cairo build without PNG
19467 * src/image.c: Define PNG function when USE_CAIRO is defined, even
19468 if HAVE_PNG is not. (Bug#21133)
19470 MS-Windows follow-up for recent TZ-related changes
19471 * nt/mingw-cfg.site (ac_cv_header_pthread_h)
19472 (gl_cv_sys_struct_timespec_in_pthread_h): Force to "no", to avoid
19473 picking up 'struct timespec' from pthread.h, if it is installed on
19474 the user's system. We want either the definitions from MinGW
19475 system headers, if available, or the Gnulib replacements if not.
19476 * nt/inc/ms-w32.h <struct timespec>: Don't define, as we now use
19478 * lib/time.in.h: Don't let __need_* symbols affect what happens on
19479 MinGW. These symbols are defined by MinGW system headers, but we
19480 don't want that to affect whether Gnulib portions of the header
19481 are or aren't used.
19483 2015-07-26 Paul Eggert <eggert@cs.ucla.edu>
19485 * src/ftfont.c (ftfont_close): Add comment re Bug#20890.
19487 New optional ZONE arg for format-time-string etc.
19488 This simplifies time conversions in other time zones.
19489 It also prevents display-time-world tampering with TZ (Bug#21020).
19490 * admin/admin.el (add-release-logs):
19491 Use improved add-log-time-format API.
19492 * admin/merge-gnulib (GNULIB_MODULES): Add time_rz, timegm.
19493 (GNULIB_TOOL_FLAGS): Avoid flexmember, setenv, unsetenv.
19494 * configure.ac (tzalloc): Remove test for this, since
19495 Emacs no longer uses HAVE_TZALLOC directly.
19496 * doc/lispref/os.texi (Time of Day, Time Conversion)
19498 * etc/NEWS: Document the new behavior.
19499 Merge from gnulib, incorporating:
19500 2015-07-25 strftime: fix newly-introduced bug on Solaris
19501 2015-07-23 fprintftime, strftime: use timezone_t args
19502 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
19503 * lib/strftime.c, lib/strftime.h, lib/time.in.h, m4/sys_time_h.m4:
19505 Update from gnulib.
19506 * lib/time_rz.c, lib/timegm.c, m4/time_rz.m4, m4/timegm.m4:
19507 New files from gnulib.
19508 * lisp/time-stamp.el (time-stamp-string):
19509 * lisp/time.el (display-time-world-list)
19510 (display-time-world-display):
19511 Use new API, with time zone arg.
19512 * lisp/time.el (display-time-world-display):
19513 Fix race when current-time advances while we're running.
19514 * lisp/vc/add-log.el (add-log-iso8601-time-zone)
19515 (add-log-iso8601-time-string): Accept optional time zone arg.
19516 * lisp/vc/add-log.el (add-change-log-entry):
19517 * lisp/vc/log-edit.el (log-edit-changelog-ours-p): Use new arg.
19518 * nt/gnulib.mk: Propagate lib/gnulib.mk changes here.
19519 Add rules for the time module, since they're now needed
19521 * src/conf_post.h (getenv_TZ, setenv_TZ): New macros.
19522 (emacs_getenv_TZ, emacs_setenv_TZ): New decls.
19523 * src/editfns.c: Include errno.h.
19524 (set_time_zone_rule): Omit unnecessary forward decl.
19525 (initial_tz): Remove, replacing with ...
19526 (local_tz, wall_clock_tz, utc_tz): New static vars and constants.
19527 (tzeqlen): New constant; prefer it to (sizeof "TZ=" - 1).
19528 (emacs_localtime_rz, emacs_mktime_z, xtzalloc, xtzfree)
19529 (tzlookup): New static functions.
19530 (init_editfns): New arg DUMPING. All uses changed.
19531 (init_editfns): Omit most initialization if dumping, not if
19532 !initialized. Initialize wall_clock_tz and local_tz.
19533 (emacs_nmemftime, format_time_string): Time zone argument can now
19534 be any time zone, not just a boolean for UTC or local time. All
19536 (Fformat_time_string, Fencode_time, Fcurrent_time_string)
19537 (Fcurrent_time_zone): New optional arg ZONE.
19538 (Fdecode_time, Fset_time_zone_rule): ZONE arg can now also take
19539 the same form as with the other new additions.
19540 (decode_time_zone): Remove; no longer needed.
19541 (tzvalbuf): Now file-scope.
19542 (emacs_getenv_TZ, emacs_setenv_TZ): New functions.
19543 (syms_of_editfns): Define Qwall.
19544 * src/editfns.c (mktime_z) [!HAVE_TZALLOC]:
19545 * src/systime.h (mktime_z, timezone_t, tzalloc, tzfree)
19547 Remove; now supplied by gnulib.
19548 * src/emacs.c (main):
19549 * src/lisp.h (init_editfns): Adjust to init_editfns API change.
19551 2015-07-26 Shigeru Fukaya <shigeru.fukaya@gmail.com>
19553 Fix infinite loop in delete-consecutive-dups
19554 * lisp/subr.el (delete-consecutive-dups): Work even if the last
19555 element is nil (Bug#20588). Avoid rescan of a circular list in
19556 deletion of last element.
19558 2015-07-26 Martin Rudalics <rudalics@gmx.at>
19560 Have `x-frame-geometry' return nil for terminal and initial
19562 * src/nsfns.m (Fx_frame_geometry):
19563 * src/xfns.c (Fx_frame_geometry): Return nil for initial and
19565 * src/w32fns.c (Fw32_frame_menu_bar_size, Fw32_frame_rect)
19566 (Fx_frame_geometry): Return nil for terminal frames
19568 2015-07-26 HOSOYA Kei <hosoyakei.free@gmail.com> (tiny change)
19570 * etc/tutorials/TUTORIAL.ja: Improve translation.
19572 2015-07-25 Eli Zaretskii <eliz@gnu.org>
19574 Avoid crashes when w32 GUI functions are called in -batch
19575 * src/w32fns.c (Fx_frame_geometry, Fw32_frame_rect)
19576 (Fw32_frame_menu_bar_size, Fw32_send_sys_command): Don't call
19577 FRAME_W32_WINDOW for initial frame. (Bug#21132)
19579 Fix flyspell-check-previous-highlighted-word
19580 * lisp/textmodes/flyspell.el
19581 (flyspell-check-previous-highlighted-word): Really accept a
19582 numeric argument, as the doc string describes. Fix an off-by-one
19583 error in looking up overlays, so invocation with point immediately
19584 after a word would check that word. Clarify the doc string as
19585 Suggested by N. Jackson <nljlistbox2@gmail.com>. (Bug#21129)
19587 2015-07-24 Michael Albinus <michael.albinus@gmx.de>
19589 Minor cleanup in tramp-tests.el
19590 * test/automated/tramp-tests.el (tramp-test31-*, tramp-test32-*):
19591 Implement using the documented interface
19592 `tramp-connection-properties', rather than with internal functions.
19594 2015-07-24 Harald Hanche-Olsen <hanche@math.ntnu.no> (tiny change)
19596 Pass lambdas to `skeleton-read'
19597 * lisp/skeleton.el (skeleton-read): Allow PROMPT to be a function.
19598 * lisp/textmodes/sgml-mode.el (sgml-attributes, sgml-value): Pass
19599 lambdas to `skeleton-read' (bug#20386).
19601 2015-07-24 Eli Zaretskii <eliz@gnu.org>
19603 * INSTALL (DETAILED BUILDING AND INSTALLATION):
19604 Mention --without-imagemagick.
19606 Don't require GUI frames and mouse for Flyspell menus
19607 * lisp/textmodes/flyspell.el (flyspell-correct-word-before-point)
19608 (flyspell-emacs-popup): Require neither a GUI frame nor mouse
19609 support, since pop-up menus work with text terminals and can be
19610 controlled via the keyboard.
19612 Improve documentation of Flyspell commands
19613 * doc/emacs/fixit.texi (Spelling): Mention Flyspell commands that
19614 can be invoked via the keyboard. Mention those commands by name
19615 and add them to the fn index. (Bug#21125)
19617 2015-07-23 Michael Albinus <michael.albinus@gmx.de>
19619 Fix some Tramp problems with HP-UX
19620 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
19621 Add "tab0" to stty call.
19622 * test/automated/tramp-tests.el (tramp-persistency-file-name):
19624 (tramp--test-hpux-p): New defun.
19625 (tramp--test-utf8): Use it.
19627 2015-07-22 Glenn Morris <rgm@gnu.org>
19629 * build-aux/update-subdirs: Put "no-update-autoloads: t" in output.
19631 2015-07-22 Eli Zaretskii <eliz@gnu.org>
19633 Fix point positioning in ffap-next-guess
19634 * lisp/ffap.el (ffap-url-at-point): Set ffap-string-at-point-region,
19635 as our callers expect. This was clobbered as part of fixing
19636 bug#5673. (Bug#21107)
19637 (ffap-gopher-at-point): Set ffap-string-at-point-region.
19639 2015-07-22 Martin Rudalics <rudalics@gmx.at>
19641 * lisp/window.el (even-window-sizes): Fix customization type.
19643 Optionally even widths of `display-buffer' windows. (Bug#21100)
19644 * lisp/window.el (quit-restore-window): Restore width if
19646 (display-buffer-record-window): Record width when window is
19647 reused and horizontally combined.
19648 (even-window-sizes): New option to allow evening window widths.
19649 (even-window-heights): Defalias to `even-window-sizes'.
19650 (window--even-window-heights): Rename to
19651 `window--even-window-sizes'. Handle side-by-side windows.
19652 (display-buffer-use-some-window): Call `window--even-window-sizes'
19653 instead of `window--even-window-heights'.
19654 * lisp/help.el (resize-temp-buffer-window): Fix indentation.
19655 * doc/lispref/windows.texi (Choosing Window Options): Describe
19656 `even-window-sizes'.
19657 (Coordinates and Windows): Fix typo.
19659 2015-07-22 Stephen Leake <stephen_leake@stephe-leake.org>
19661 Add file name to autoload error messages
19662 * lisp/emacs-lisp/autoload.el (autoload-save-buffers):
19663 Add condition-case to add file name to error message.
19665 2015-07-22 Michael Albinus <michael.albinus@gmx.de>
19667 * lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options):
19668 Use 0.0.0.1 as test host.
19670 2015-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
19672 (advice--called-interactively-skip): Fix inf-loop (bug#21083)
19673 * lisp/emacs-lisp/nadvice.el (advice--called-interactively-skip):
19674 Fix inf-loop (bug#21083).
19676 2015-07-21 Glenn Morris <rgm@gnu.org>
19678 * test/automated/package-test.el (package-test-signed):
19679 Update for recent changes.
19681 * test/automated/elisp-mode-tests.el
19682 (elisp-xref-finds-both-function-and-variable)
19683 (elisp-xref-finds-only-function-for-minor-mode):
19684 Update for recent xref name changes.
19686 2015-07-21 Dmitry Gutov <dgutov@yandex.ru>
19688 Make eldoc timer non-repeatable
19689 * lisp/emacs-lisp/eldoc.el (eldoc-schedule-timer): Make the timer
19690 non-repeatable. Since it's on post-command hook, that just wasted
19693 2015-07-21 Michael Albinus <michael.albinus@gmx.de>
19695 Mention `tramp-connection-properties' in NEWS
19697 Sync with Tramp repository
19698 * doc/misc/tramp.texi (Configuration): Note, that Tramp must be
19699 required prior changing its configuration.
19700 (Connection caching, Predefined connection information)
19701 (Remote shell setup): Fix typos.
19702 (Predefined connection information): Describe, how to overwrite
19703 parameters of `tramp-methods'.
19704 (Remote programs, Remote processes, Traces and Profiles):
19706 (Remote programs): Remove superfluous comment.
19707 * doc/misc/trampver.texi: Update release number.
19708 * lisp/net/tramp-cache.el (tramp-connection-properties):
19710 * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file): New defun.
19711 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file): Use it.
19712 (tramp-gvfs-handle-make-directory): Reimplement PARENTS handling,
19713 "gvfs-mkdir -p ..." does not work robust.
19714 (tramp-gvfs-maybe-open-connection):
19715 Adapt `tramp-get-method-parameter' call.
19716 * lisp/net/tramp-sh.el (tramp-methods):
19717 Add `tramp-remote-shell-login' parameter where it fits.
19718 (tramp-get-remote-path): Use it.
19719 (tramp-make-copy-program-file-name): Fix quoting for "psftp" method.
19720 (all): Adapt `tramp-get-method-parameter' calls.
19721 * lisp/net/tramp.el (tramp-methods): Adapt docstring.
19722 (tramp-get-method-parameter): Replace argument METHOD by VEC.
19723 Check also for hits in `tramp-connection-properties'. Adapt docstring.
19724 (tramp-get-remote-tmpdir): Cache only the local name of tmpdir.
19725 (all): Adapt `tramp-get-method-parameter' calls.
19726 * lisp/net/trampver.el: Update release number.
19727 * test/automated/tramp-tests.el (tramp--instrument-test-case):
19728 Add "^make-symbolic-link not supported$" to `debug-ignored-errors'.
19729 (tramp-test13-make-directory, tramp--test-adb-p)
19730 (tramp--test-smb-or-windows-nt-p): Simplify.
19731 (tramp--test-ftp-p, tramp--test-gvfs-p): New defuns.
19732 (tramp--test-special-characters): Fix docstring. Add gvfs and
19734 (tramp--test-utf8): Fix docstring.
19736 2015-07-20 Dmitry Gutov <dgutov@yandex.ru>
19738 Add new xref-query-replace command
19739 * lisp/progmodes/xref.el (xref--match-buffer-bounds):
19740 New function, extracted from xref-pulse-momentarily.
19741 (xref-query-replace): New command.
19742 (xref--query-replace-1): New helper function.
19743 (xref--xref-buffer-mode-map): Add `r' binding.
19745 2015-07-20 Paul Eggert <eggert@cs.ucla.edu>
19747 Simplify icalendar decoding of Z dates
19748 * lisp/calendar/icalendar.el (icalendar--decode-isodatetime):
19749 Simplify calculation of time strings with trailing "Z".
19751 2015-07-19 Dmitry Gutov <dgutov@yandex.ru>
19753 Do not corrupt grep-find-ignored-files
19754 * lisp/progmodes/project.el (project-ignores): Change the order of
19755 the arguments to nconc, in order not to corrupt grep-find-ignored-files.
19757 Add xref-match-item, and use it
19758 * lisp/progmodes/xref.el (xref-match-bounds): New generic function.
19759 (xref-file-location): Add reader for the column slot.
19760 (xref-match-item): New class.
19761 (xref-match-bounds): A method implementation for it.
19762 (xref-make-match): New constructor function.
19763 (xref--current-item): New private variable.
19764 (xref-pulse-momentarily): Use it.
19765 (xref--pop-to-location): Change the first argument to an xref
19766 item, instead of location, bind xref--current-item.
19767 Update all callers.
19768 (xref-next-line, xref-prev-line, xref--next-error-function)
19769 (xref--mouse-2): Look for the property `xref-item',
19770 instead of `xref-location'.
19771 (xref--item-at-point): Likewise. This function replaces
19772 `xref-location-at-point'. Update all callers.
19773 (xref--insert-xrefs): Add the `xref-item' text property, instead
19774 of `xref-location'.
19775 (xref--collect-match): Use xref-make-match.
19777 * lisp/progmodes/xref.el (xref-item): Rename from `xref--xref'.
19778 Update all references.
19780 * lisp/progmodes/xref.el (xref--xref): Rename the `description'
19783 vc-hg: Perform the print-log call asynchronously
19784 * lisp/vc/vc-hg.el (vc-hg-print-log): Perform the call
19785 asynchronously (bug#21067).
19787 Add xref-after-jump-hook and xref-after-return-hook
19788 * lisp/progmodes/xref.el (xref-after-jump-hook)
19789 (xref-after-return-hook): New hooks.
19790 (xref-pulse-on-jump): Remove, in favor of the above.
19791 (xref-pulse-momentarily): Rename from xref--maybe-pulse.
19792 (xref--pop-to-location, xref--display-position)
19793 (xref-pop-marker-stack): Use the new hooks, as requested in
19794 http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00213.html
19796 2015-07-19 Bozhidar Batsov <bozhidar@batsov.com>
19798 * lisp/progmodes/js.el (js-mode): Correct the lighter.
19800 2015-07-19 Leo Liu <sdl.web@gmail.com>
19802 Fix a bug in cfengine3-mode
19803 * lisp/progmodes/cfengine.el (cfengine3-mode): Handle nil
19804 eldoc-documentation-function.
19806 2015-07-18 Julien Danjou <julien@danjou.info>
19808 sieve-mode: support "body" test command
19809 * lisp/gnus/sieve-mode.el (sieve-font-lock-keywords):
19810 Add missing "body" test command.
19812 2015-07-18 Eli Zaretskii <eliz@gnu.org>
19814 Fix info-apropos when the default encoding is Latin-N
19815 * lisp/info.el (Info-find-node-2): Reset the buffer's encoding to
19816 'undecided', so that it is set to the encoding of the Info file we
19817 are about to insert. Otherwise, 'info-apropos' will fail to find
19818 some index nodes in some UTF-8 encoded files, if the buffer's
19819 previous encoding is Latin-N or some such.
19821 2015-07-18 Ivan Andrus <darthandrus@gmail.com>
19823 * lisp/epg.el (epg--start): Check that gpgconf can be found
19826 Expose more file types to OS X that Emacs understands
19827 * nextstep/Cocoa/Emacs.base/Contents/Info.plist: Add editor role for
19828 sty, dtx, json, and org files. Export UTIs for el, elc, and org files.
19830 2015-07-18 Eli Zaretskii <eliz@gnu.org>
19832 Fix visual-order cursor movement when lines are truncated
19833 * src/xdisp.c (Fmove_point_visually): When lines are truncated,
19834 simulate display in a window of infinite width, to allow move_it_*
19835 functions reach positions outside of normal window dimensions.
19836 Remove code that tried to handle a subset of these situations by
19837 manual iteration of buffer text. (Bug#17777)
19839 Fix following Info cross-references to anchors
19840 * lisp/info.el (Info-read-subfile): Add to the returned value the
19841 length of subfile preamble, after converting it to file's byte
19842 offset, as expected by the caller. Use bufferpos-to-filepos.
19843 (Info-find-node-2): If searching for a node with a
19844 1000-character slop fails, try again with a 10000-character slop,
19845 to account for known bugs in Texinfo 5.0 and 5.1. (Bug#21055)
19846 * lisp/international/mule-util.el (bufferpos-to-filepos): New
19848 * etc/NEWS: Mention bufferpos-to-filepos.
19850 Fix scrolling backwards on TTY frames under scroll-conservatively
19851 * src/xdisp.c (move_it_vertically_backward): Fix off-by-one error
19852 in moving backwards on TTY frames. (Bug#21080)
19854 2015-07-17 Dmitry Gutov <dgutov@yandex.ru>
19856 Consider a jsdoc tag to be a beginning of a paragraph as well
19857 * lisp/progmodes/js.el (js-mode): Change c-paragraph-start to
19858 consider a jsdoc tag to be a beginning of a paragraph as well.
19860 2015-07-17 Artur Malabarba <bruce.connor.am@gmail.com>
19862 * lisp/emacs-lisp/package.el: Fix warnings.
19864 * lisp/emacs-lisp/package.el (package-buffer-info):
19865 Add author and maintainers to `package-buffer-info'.
19867 * lisp/emacs-lisp/package.el: Many small changes.
19868 Replace all instances of 'face with 'font-lock-face.
19869 (describe-package-1): Improve some strings and move the summary
19871 (package-install-file): Update docstring.
19872 (package-menu-hide-package): Bind to `H'.
19874 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
19875 Fix error handling.
19877 2015-07-17 Paul Eggert <eggert@cs.ucla.edu>
19879 Fix hang with large yanks This should fix the bug fixed by Mike
19881 https://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00106.html
19882 A problem in this area has been reported by several users; see
19883 Bug#16737, Bug#17101, Bug#17026, Bug#17172, Bug#19320, Bug#20283.
19884 This fix differs from Mike Crowe's patch in that it should avoid a
19885 race condition that could lose SIGIO signals. ignore_sigio dates
19886 back to the 1980s when some platforms couldn't block signals, and
19887 could only ignore them, which led to races when signals arrived
19888 while being ignored. We shouldn't have to worry about those old
19890 * src/dispextern.h, src/sysdep.c (ignore_sigio): Remove.
19891 * src/emacs.c (shut_down_emacs):
19892 Don't call ignore_sigio; unrequest_sigio should suffice.
19893 * src/keyboard.c (kbd_buffer_store_buffered_event):
19894 Use unrequest_sigio, not ignore_sigio.
19895 (kbd_buffer_get_event):
19896 Call request_sigio when getting the ball rolling again.
19898 2015-07-17 Artur Malabarba <bruce.connor.am@gmail.com>
19900 * lisp/obsolete/longlines.el (longlines-search-function):
19901 Fallback on `isearch-search-fun-default'.
19903 2015-07-17 Tassilo Horn <tsdh@gnu.org>
19906 * lisp/net/rcirc.el (rcirc-completion-at-point): Support completion
19907 of mentions/messages with @nick instead of just nick.
19909 2015-07-16 Michael Albinus <michael.albinus@gmx.de>
19912 * lisp/autorevert.el (auto-revert-handler): Do not check for
19913 `buffer-modified-p'.
19914 * lisp/files.el (buffer-stale--default-function): Check for
19915 `buffer-modified-p'.
19916 * test/automated/auto-revert-tests.el
19917 (auto-revert-test02-auto-revert-mode-dired): Adapt test.
19919 2015-07-16 Ari Roponen <ari.roponen@gmail.com>
19921 Fix delete-dups bug on long lists
19922 * lisp/subr.el (delete-dups):
19923 Don't mistakenly keep some dups when applied to long lists.
19925 2015-07-16 Paul Eggert <eggert@cs.ucla.edu>
19927 Better heuristic for C stack overflow
19928 Improve the heuristic for distinguishing stack overflows from
19929 other SIGSEGV causes (Bug#21004). Corinna Vinschen explained that
19930 the getrlimit method wasn't portable to Cygwin; see:
19931 https://www.cygwin.com/ml/cygwin/2015-07/msg00092.html
19932 Corinna suggested pthread_getattr_np but this also has problems.
19933 Instead, replace the low-level system stuff with a simple
19934 heuristic based on known good stack addresses.
19935 * src/eval.c, src/lisp.h (near_C_stack_top): New function.
19936 * src/sysdep.c: Don't include <sys/resource.h>.
19937 (stack_direction): Remove. All uses removed.
19938 (stack_overflow): New function.
19939 (handle_sigsegv): Use it instead of incorrect getrlimit heuristic.
19940 Make SEGV fatal in non-main threads.
19942 2015-07-16 Daiki Ueno <ueno@gnu.org>
19944 epg: Automatically start pinentry server
19945 * lisp/epg-config.el (epg-gpgconf-program): New variable.
19946 * lisp/epg.el (epg--start): Call `pinentry-start' if
19947 allow-emacs-pinentry is set in ~/.gnupg/gpg-agent.conf.
19949 2015-07-15 Katsumi Yamaoka <yamaoka@jpl.org>
19951 * lisp/gnus/nnimap.el: Fix my last bogus change.
19952 Reinstall Stefan Monnier's change that was made in
19953 <83d824bc4041332f338ad7e5e830f443535aa300>.
19955 2015-07-15 Paul Eggert <eggert@cs.ucla.edu>
19959 2015-07-05 acl-permissions: Document FreeBSD ACL_TYPE_NFS4 acls
19960 2015-07-05 acl-permissions: Fix on FreeBSD
19961 2015-07-05 file-has-acl, acl-permissions: fix some more HP-UX typos
19962 * lib/acl-internal.c, lib/acl-internal.h, lib/get-permissions.c:
19963 * lib/set-permissions.c: Copy from gnulib.
19965 Port to stricter C99
19966 * src/keyboard.h (kbd_buffer_store_event_hold):
19967 Don't return a void expression.
19969 2015-07-15 Xue Fuqiao <xfq.free@gmail.com>
19971 * doc/emacs/frames.texi (Creating Frames):
19972 Fix the command `C-x 5 m' runs.
19974 2015-07-14 Michael Albinus <michael.albinus@gmx.de>
19976 New autorevert tests
19977 * test/automated/auto-revert-tests.el: New file.
19979 2015-07-14 Paul Eggert <eggert@cs.ucla.edu>
19981 Clear gcprolist etc. after stack overflow
19982 After stack overflow, command_loop calls init_eval, and this needs to
19983 clear gcprolist and byte_stack_list (Bug#20996).
19984 * src/alloc.c (init_alloc):
19985 Move gcprolist and byte_stack_list initialization from here ...
19986 * src/eval.c (init_eval): ... to here.
19988 2015-07-13 Xue Fuqiao <xfq.free@gmail.com>
19990 * doc/emacs/windows.texi (Pop Up Window): Fix the description
19993 2015-07-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
19995 Avoid deprecated enums in mac-ct font backend driver
19996 * src/macfont.m (mac_font_copy_default_descriptors_for_language)
19997 (mac_ctfont_get_advance_width_for_glyph)
19998 (mac_ctfont_get_bounding_rect_for_glyph): Avoid deprecated enums.
20000 Cache font family in mac-ct font backend driver
20001 * src/macfont.m (macfont_family_cache): New variable.
20002 (syms_of_macfont): Initialize it.
20003 (macfont_available_families_cache): New variable.
20004 (macfont_invalidate_family_cache, macfont_get_family_cache_if_present)
20005 (macfont_set_family_cache, macfont_invalidate_available_families_cache)
20006 (macfont_handle_font_change_notification)
20007 (macfont_init_font_change_handler)
20008 (macfont_copy_available_families_cache): New functions.
20009 (macfont_create_family_with_symbol): Use font family caches.
20010 (macfont_list, macfont_list_family):
20011 Use macfont_copy_available_families_cache instead of
20012 mac_font_create_available_families.
20014 2015-07-12 Dmitry Gutov <dgutov@yandex.ru>
20016 Show the default value in the prompt
20017 * lisp/progmodes/xref.el: Add `M-?' binding for
20018 xref-find-references. Declare functions `grep-read-files' and
20019 `grep-expand-template'.
20020 (xref--read-identifier): Show the default value in the prompt.
20022 * lisp/progmodes/xref.el (xref-find-regexp): When called with
20023 prefix argument, ask for file patterns to search as well. When
20024 prompting for the directory, require an existing one.
20025 (xref-collect-matches): Add a new argument, FILES. Use it in the
20028 Add `project-ignores'
20029 * lisp/progmodes/project.el (project-ignores): New generic
20030 function, and an implementation for the VC project type.
20031 * lisp/progmodes/xref.el (xref--rgrep-command): Split, as a
20032 variant of rgrep-default-command that handles a generic list of
20034 (xref-collect-matches): Use it, and pass through to it the value
20035 of the newly added argument.
20036 (xref-find-regexp): Handle ignored paths within the project.
20037 Remove outdated comment.
20038 * lisp/vc/vc.el (vc-default-ignore-completion-table):
20039 Skip the comments and the empty lines.
20041 2015-07-12 Xue Fuqiao <xfq.free@gmail.com>
20043 * doc/emacs/buffers.texi (Misc Buffer): Add a cross reference.
20045 2015-07-11 Eric Abrahamsen <eric@ericabrahamsen.net>
20047 gnus-registry.el: Correct function argument order
20048 * lisp/gnus/gnus-registry.el (gnus-registry--set/remove-mark):
20049 Reverse the order of function arguments.
20051 2015-07-11 Dmitry Gutov <dgutov@yandex.ru>
20053 Bind grep-highlight-matches to nil
20054 * lisp/progmodes/xref.el (xref-collect-matches):
20055 Bind grep-highlight-matches to nil (bug#20728).
20057 2015-07-11 Nikolaus Rath <Nikolaus@rath.org>
20059 nnimap.el: Fix IMAP message size parsing
20060 * lisp/gnus/nnimap.el (nnimap-transform-headers):
20061 Don't assume that UID comes before RFC822.SIZE.
20063 2015-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
20065 * lisp/gnus/nnimap.el: Clean up "unused var" warnings
20066 (auth-source-creation-prompts): Declare.
20067 (nnimap-retrieve-headers, nnimap-status-message)
20068 (nnimap-request-create-group, nnimap-request-delete-group)
20069 (nnimap-close-group, nnimap-request-move-article)
20070 (nnimap-request-accept-article, nnimap-request-newgroups)
20071 (nnimap-request-post, nnimap-dummy-active-number)
20072 (nnimap-save-mail-spec, nnimap-get-groups): Add _ to unused vars.
20073 (nnimap-parse-flags): Remove unused var `p'.
20074 (nnimap-retrieve-group-data-early): Remove unused var `groups'.
20075 (nnimap-flags-to-marks): Remove unused var `totalp'.
20077 2015-07-10 Andy Moreton <andrewjmoreton@gmail.com> (tiny change)
20079 * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 20MB.
20081 2015-07-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20083 * src/macfont.m (macfont_list): Ignore font families lacking
20086 2015-07-09 Dmitry Gutov <dgutov@yandex.ru>
20088 Don't check the exit status, it can be misleading
20089 * lisp/progmodes/xref.el (xref-collect-matches): Don't check the
20090 exit status, it can be misleading.
20092 Introduce a Project API
20093 * lisp/progmodes/project.el: New file.
20094 * lisp/cedet/ede.el (project-try-ede): New function.
20095 (project-root): New implementation.
20096 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
20097 Set project-search-path-function.
20098 (elisp--xref-find-references): Delegate some logic to
20099 project-search-path.
20100 (elisp-search-path): New function.
20101 (elisp-xref-find): Don't implement `matches' anymore.
20102 * lisp/progmodes/etags.el: Don't implement `matches'.
20103 Delegate some logic to project-search-path.
20104 (etags-search-path): New function.
20105 * lisp/progmodes/xref.el (xref-find-function):
20106 Remove `matches' from the API.
20107 (xref-find-regexp): Move whatever common logic was in elisp and
20108 etags implementations, and search the directories returned by
20109 project-directories and project-search-path.
20111 2015-07-09 Nicolas Petton <nicolas@petton.fr>
20113 * test/automated/map-tests.el (test-map-delete-return-value):
20116 Add support for gv.el in map.el
20117 * lisp/emacs-lisp/map.el (map-elt, map-delete): Declare a gv-expander.
20118 * lisp/emacs-lisp/map.el (map-put): Refactor using `setf' and `map-elt'.
20119 * test/automated/map-tests.el: Update tests to work with the new
20120 implementations of map-elt and map-put.
20122 2015-07-09 Glenn Morris <rgm@gnu.org>
20124 * lisp/emacs-lisp/debug.el (debug-help-follow): Use describe-symbol.
20126 2015-07-09 Dmitry Gutov <dgutov@yandex.ru>
20128 Syntax-propertize until the end of the line first
20129 * lisp/progmodes/xref.el (xref--collect-match): Syntax-propertize
20130 until the end of the line first.
20132 2015-07-09 Xue Fuqiao <xfq.free@gmail.com>
20134 * doc/emacs/files.texi (File Archives): Add a cross reference.
20136 2015-07-08 Nikolaus Rath <Nikolaus@rath.org>
20138 nnimap.el: Handle plain value for nnimap-stream
20139 * lisp/gnus/nnimap.el (nnimap-open-connection-1): Always query
20140 capabilities, so that a 'plain value for the `nnimap-stream' server
20141 variable is handled correctly.
20142 * doc/misc/gnus.texi (Customizing the IMAP Connection):
20143 Document the 'plain option.
20145 2015-07-08 Leo Liu <sdl.web@gmail.com>
20147 Fix bug in thing-at-point--bounds-of-well-formed-url
20148 * lisp/thingatpt.el (thing-at-point--bounds-of-well-formed-url): Make
20149 sure boundary contains current point.
20151 2015-07-08 Dmitry Gutov <dgutov@yandex.ru>
20153 * lisp/progmodes/xref.el (xref-collect-matches): Use `nreverse'
20156 Declare whitespace-line-column a safe file-local
20157 * lisp/whitespace.el (whitespace-line-column): Declare to be a
20158 safe file-local when the value is an integer.
20160 2015-07-08 Eric Abrahamsen <eric@ericabrahamsen.net>
20162 gnus-group.el: Check if group names are already strings
20163 * lisp/gnus/gnus-group.el (gnus-group-group-name):
20164 The group name may already be a string.
20165 Specifically, in the group list reached from the *Server* buffer,
20166 the 'gnus-group text property returns a string. Everywhere else
20167 it returns a symbol.
20169 nnimap.el: Remove unused let variables
20170 * lisp/gnus/nnimap.el (nnimap-request-group): Variables are not used.
20172 2015-07-08 Eli Zaretskii <eliz@gnu.org>
20174 Support "maximized" property of runemacs's shortcut
20175 * nt/runemacs.c (WinMain): If runemacs is invoked "maximized", pass
20176 the '--maximized' switch to Emacs.
20178 Support "minimized" property of runemacs's shortcut
20179 * nt/runemacs.c (WinMain): If runemacs is invoked "minimized",
20180 pass the '--iconic' switch to Emacs. (Bug#20991)
20182 2015-07-08 Xue Fuqiao <xfq.free@gmail.com>
20185 * doc/emacs/files.texi (Diff Mode): Fix the description of `C-c
20187 * doc/emacs/arevert-xtra.texi (Auto Reverting the Buffer Menu):
20188 Add a cross reference.
20190 2015-07-08 Nicolas Richard <youngfrog@members.fsf.org>
20192 * lisp/obsolete/landmark.el: Add Obsolete-since header.
20194 2015-07-07 Glenn Morris <rgm@gnu.org>
20196 * test/automated/ert-tests.el (ert-test-deftest):
20197 Update for recent changes.
20199 2015-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
20201 (gv-setter, gv-synthetic-place, gv-delay-error): New funs/macros
20202 * lisp/emacs-lisp/gv.el (gv-setter): New function.
20203 (gv-invalid-place): New error.
20204 (gv-get): Use them.
20205 (gv-synthetic-place, gv-delay-error): New places.
20206 * lisp/emacs-lisp/cl-generic.el (cl--generic-setf-rewrite): Remove.
20207 (cl-defgeneric, cl-defmethod): Use gv-setter.
20209 2015-07-07 Fabrice Popineau <fabrice.popineau@gmail.com>
20211 Make vc-tests work with MSYS svn program
20212 * lisp/vc/vc-svn.el (vc-svn-create-repo): Fix the file:// URL when
20213 svn is an MSYS program.
20215 2015-07-07 Ken Brown <kbrown@cornell.edu>
20217 Improve recent change to emacsclient on Cygwin
20218 * lisp/server.el (server-process-filter): Remove redundant check
20219 that 'cygwin-convert-file-name-from-windows' is defined as a
20220 function on Cygwin. Don't call that function unless its argument
20221 starts with a drive letter.
20223 2015-07-07 Artur Malabarba <bruce.connor.am@gmail.com>
20225 * lisp/emacs-lisp/package.el (package-compute-transaction):
20226 Fix void variable due to `found-something' being in the wrong `let'.
20228 2015-07-07 Nicolas Richard <theonewiththeevillook@yahoo.fr>
20230 * lisp/play/landmark.el: Move to lisp/obsolete/.
20232 2015-07-07 Martin Rudalics <rudalics@gmx.at>
20234 Have `x-show-tip' handle `right' and `bottom' frame parameters
20235 * src/nsfns.m (compute_tip_xy, Fx_show_tip)
20236 * src/w32fns.c (compute_tip_xy, Fx_show_tip)
20237 * src/xfns.c (compute_tip_xy, Fx_show_tip): Allow aligning
20238 tooltips also via `right' and `bottom' frame parameters.
20240 2015-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
20242 Add online-help support to describe types
20243 * lisp/help-fns.el (describe-symbol-backends): Move to help-mode.el.
20244 (describe-symbol): Improve the selection of default.
20245 * lisp/help-mode.el: Require cl-lib.
20246 (describe-symbol-backends): Move from help-fns.el.
20247 (help-make-xrefs): Use it.
20248 * lisp/emacs-lisp/cl-extra.el (describe-symbol-backends): Add entry
20250 (cl--typedef-regexp): New const.
20251 (find-function-regexp-alist): Add entry for types.
20252 (cl-help-type, cl-type-definition): New buttons.
20253 (cl-find-class): New function.
20254 (cl-describe-type): New command.
20255 (cl--describe-class, cl--describe-class-slot)
20256 (cl--describe-class-slots): New functions, moved from eieio-opt.el.
20257 * lisp/emacs-lisp/cl-generic.el (cl--generic-method-documentation)
20258 (cl--generic-all-functions, cl--generic-specializers-apply-to-type-p):
20259 New functions. Moved from eieio-opt.el.
20260 (cl--generic-class-parents): New function, extracted from
20261 cl--generic-struct-specializers.
20262 (cl--generic-struct-specializers): Use it.
20263 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Use pcase-dolist.
20264 Improve constructor's docstrings.
20265 (cl-struct-unknown-slot): New error.
20266 (cl-struct-slot-offset): Use it.
20267 * lisp/emacs-lisp/cl-preloaded.el (cl-struct-define): Record the type
20268 definition in current-load-list.
20269 * lisp/emacs-lisp/eieio-core.el (eieio--known-slot-names): New var.
20270 (eieio--add-new-slot): Set it.
20271 (eieio-defclass-internal): Use new name for current-load-list.
20272 (eieio-oref): Add compiler-macro to warn about unknown slots.
20273 * lisp/emacs-lisp/eieio.el (defclass): Update eieio--known-slot-names
20274 as compile-time as well. Improve constructor docstrings.
20275 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
20276 (eieio--help-print-slot, eieio-help-class-slots): Move to cl-extra.el.
20277 (eieio-class-def): Remove button.
20278 (eieio-help-constructor): Use new name for load-history element.
20279 (eieio--specializers-apply-to-class-p, eieio-all-generic-functions)
20280 (eieio-method-documentation): Move to cl-generic.el.
20281 (eieio-display-method-list): Use new names.
20282 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
20283 Add "define-linline".
20284 (lisp-fdefs): Remove "defsubst".
20285 (el-fdefs): Add "defsubst", "cl-defsubst", and "define-linline".
20286 * lisp/emacs-lisp/macroexp.el (macroexp--warned): New var.
20287 (macroexp--warn-and-return): Use it to avoid inf-loops.
20288 Add `compile-only' argument.
20290 2015-07-06 Fabián Ezequiel Gallina <fgallina@gnu.org>
20292 python.el: Fix local/remote shell environment setup
20293 * lisp/progmodes/python.el (python-shell-with-environment):
20294 Fix remote/local environment setup.
20295 * test/automated/python-tests.el (python-shell-with-environment-1)
20296 (python-shell-with-environment-2): New tests.
20298 2015-07-06 Glenn Morris <rgm@gnu.org>
20300 * lisp/simple.el (set-variable): Tweak recent doc fix.
20302 2015-07-06 Ken Brown <kbrown@cornell.edu>
20304 * src/sysdep.c (handle_sigsegv) [CYGWIN]: Increase STACK_DANGER_ZONE.
20306 2015-07-06 Glenn Morris <rgm@gnu.org>
20308 * lisp/simple.el (set-variable): Use user-error for type mismatch.
20310 2015-07-06 Ken Brown <kbrown@cornell.edu>
20312 * src/emacs.c (main): Don't increase the stack size on Cygwin.
20314 2015-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
20316 (describe-symbol): Rewrite describe-function-or-variable
20317 * lisp/help-fns.el (describe-symbol-backends): New var.
20318 (help-xref-stack-item): Declare.
20319 (describe-symbol): Rename from describe-function-or-variable.
20320 Rewrite using describe-symbol-backends instead of help-xref-interned.
20321 * lisp/help.el (help-map): Use it.
20322 * lisp/help-mode.el (help-symbol, help-follow-symbol): Use it.
20323 (help-xref-interned): Make it into an obsolete alias.
20325 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-save): Don't ignore
20326 `file' arg (bug#20972). Always use utf-8-emacs. Use with-temp-buffer
20329 2015-07-06 Wolfgang Jenkner <wjenkner@inode.at>
20331 Fix parsing glitches in dired-mark-sexp (bug#13575)
20332 * lisp/dired-x.el (dired-x--string-to-number): New function.
20333 (dired-mark-sexp): Use it. Tweak dired-re-inode-size. Fix usage
20334 of directory-listing-before-filename-regexp. Consider
20335 forward-word harmful and replace it. Add more verbiage in
20336 comments and doc string.
20338 2015-07-06 Fabián Ezequiel Gallina <fgallina@gnu.org>
20340 python.el: Respect process environment for remote shells
20341 * lisp/progmodes/python.el
20342 (python-shell-calculate-process-environment): Calculate
20343 process-environment or tramp-remote-process-environment depending
20344 whether current file is remote.
20345 (python-shell-calculate-exec-path): Calculate exec-path or
20346 tramp-remote-path depending whether current file is remote.
20347 (python-shell-with-environment): New macro.
20348 (python-shell-prompt-detect, python-shell-calculate-command)
20349 (python-shell-make-comint, python-check): Use it.
20351 python.el: Avoid making let-bound defvars buffer local (Bug#18244)
20352 * lisp/progmodes/python.el (python-shell--interpreter)
20353 (python-shell--interpreter-args): New vars.
20354 (inferior-python-mode, python-shell-make-comint): Use them.
20356 python.el: Fixes for IPython 3.x (Bug#20580)
20357 * lisp/progmodes/python.el:
20358 (python-shell-completion-native-setup): Fix IPython 3.x setup.
20359 (python-shell-completion-native-get-completions): Fix timeout
20362 python.el: Fix mark-defun behavior (Bug#19665)
20363 * lisp/progmodes/python.el (python-mark-defun): New function.
20364 * test/automated/python-tests.el (python-mark-defun-1)
20365 (python-mark-defun-2, python-mark-defun-3): New tests.
20367 2015-07-05 Glenn Morris <rgm@gnu.org>
20369 * lisp/progmodes/f90.el (f90-type-def-re): Handle attribute lists
20370 such as "extends(parent), private". (Bug#20969)
20371 * test/automated/f90.el (f90-test-bug20969, f90-test-bug20969b):
20374 2015-07-05 Paul Eggert <eggert@cs.ucla.edu>
20376 Avoid duplicate calls to current_timespec
20377 * src/process.c (wait_reading_process_output):
20378 Cache current_timespec results as long as we're not waiting.
20380 2015-07-05 Ian Kelling <ian@iankelling.org>
20382 Avoid returning early reading process output due to SIGIO
20383 * src/process.c (wait_reading_process_output): Extend the behavior of
20384 not breaking due to not finding output when a timer has lowered the
20385 timeout to include when SIGIO lowers the timeout.
20387 Don't return as fast reading any process output
20388 * src/process.c (wait_reading_process_output):
20389 The patch for Bug#17647 returns too fast sometimes when reading
20390 from any processes. Revert part of it, and limit the timeout more
20391 sensibly (Bug#20978).
20393 Refactor timeouts in wait_reading_process_output
20394 * src/process.c (wait_reading_process_output):
20395 Simplify timeouts with an enum. Remove a redundant condition.
20398 Remove ADAPTIVE_READ_BUFFERING ifdef
20399 * src/process.c (make-process, make-pipe-process, deactivate_process)
20400 (wait_reading_process_output, read_process_output, send_process)
20401 (init_process_emacs): ifdef ADAPTIVE_READ_BUFFERING was originally
20402 added in case there was an operating system in which it was not
20403 useful. That was 11 years ago and it hasn't happened. Make
20404 development easier by not considering the effect of changes on a
20405 theoretical OS where this is disabled (Bug#20978).
20407 2015-07-05 Glenn Morris <rgm@gnu.org>
20409 * lisp/simple.el (set-variable): Doc fix.
20411 * lisp/progmodes/fortran.el (fortran-line-length): Doc fix.
20413 2015-07-05 Ian Kelling <ian@iankelling.org>
20415 accept-process-output fix
20416 This is a followon to the fix for bug#17647 (Bug#20976).
20417 * src/process.c (status_notify): Fix too high return in some cases.
20419 2015-07-05 Artur Malabarba <bruce.connor.am@gmail.com>
20421 * lisp/character-fold.el (character-fold-table):
20422 Only fold decompositions if at least one character is non-spacing.
20425 2015-07-05 Paul Eggert <eggert@cs.ucla.edu>
20429 2015-07-04 file-has-acl, acl-permissions: fix HP-UX typos
20430 2015-07-03 set-permissions.c: adjust acl_from_mode's cpp guard
20431 2015-07-02 update-copyright: fix test failure with perl >= 5.22
20432 2015-07-01 gnulib-common.m4: change the ARFLAGS default to 'cr'
20433 2015-07-01 acl: fix definition of acl_from_mode on FreeBSD
20434 * build-aux/update-copyright, doc/misc/texinfo.tex, lib/acl-internal.h:
20435 * lib/set-permissions.c, m4/gnulib-common.m4: Copy from gnulib.
20437 2015-07-05 Christoph Wedler <christoph.wedler@sap.com>
20439 Respect `prog-indentation-context' in python.el
20440 * lisp/progmodes/python.el (python-indent-guess-indent-offset)
20441 (python-indent-context, python-indent--calculate-indentation)
20442 (python-info-current-defun)
20443 (python-info-dedenter-opening-block-message)
20444 (python-info-line-ends-backslash-p)
20445 (python-info-beginning-of-backslash)
20446 (python-info-continuation-line-p): Use `prog-widen'.
20447 (python-indent--calculate-indentation)
20448 (python-indent--calculate-levels)
20449 (python-indent-calculate-indentation): Use `prog-first-column'.
20450 (python-indent--calculate-levels): Simplify.
20451 Ignore also initial empty lines for syntax calculation.
20452 * lisp/progmodes/python.el (python-indent-context): Return
20453 :no-indent for first non-empty line, not just in line 1.
20454 * test/automated/python-tests.el (python-indent-base-case)
20455 (python-indent-inside-paren-1, python-indent-inside-paren-2)
20456 (python-indent-inside-paren-3, python-indent-inside-paren-4)
20457 (python-indent-inside-paren-5, python-indent-inside-paren-6)
20458 (python-indent-after-backslash-1)
20459 (python-indent-after-backslash-2)
20460 (python-indent-after-backslash-3)
20461 (python-indent-after-backslash-4, python-indent-inside-string-1):
20462 Expect :no-indent for first non-empty line.
20464 2015-07-04 Daniel Colascione <dancol@dancol.org>
20466 Factor isearch word description into new function
20467 * lisp/isearch.el (isearch--describe-word-mode): New function.
20468 (isearch-message-prefix, isearch-query-replace): Use it.
20470 2015-07-04 Eli Zaretskii <eliz@gnu.org>
20472 Fix mouse pointer on w32 when a menu is active
20473 * src/w32fns.c (w32_wnd_proc): Don't change the mouse pointer
20474 shape while a menu is in use. This started happening since we now
20475 send WM_EMACS_SHOWCURSOR messages when the mouse moves.
20477 2015-07-04 Martin Rudalics <rudalics@gmx.at>
20479 Fix processing of alpha parameter for Windows tip frames (Bug#17344)
20480 * src/w32fns.c (x_create_tip_frame): Fix processing alpha
20481 parameter. (Bug#17344)
20483 Have `compilation-set-window' use right window for getting fringes
20485 * lisp/progmodes/compile.el (compilation-set-window):
20486 Take `window-fringes' from argument window.
20488 2015-07-03 Glenn Morris <rgm@gnu.org>
20490 Update eieio tests for recent eieio-core change.
20491 * test/automated/eieio-test-persist.el (persist-test-save-and-compare):
20492 * test/automated/eieio-tests.el
20493 (eieio-test-32-slot-attribute-override-2):
20494 Replace the deleted eieio--class-v with cl--find-class.
20496 2015-07-03 Martin Rudalics <rudalics@gmx.at>
20498 Fix some issues with `window-divider-mode'
20499 * lisp/frame.el (window-divider-default-places): New option.
20500 (window-divider-mode): Remove option.
20501 (window-divider-mode): Make it a "regular" minor mode.
20502 (window-divider-width-valid-p): Drop frame- prefix.
20503 (window-divider-mode-apply): New argument ENABLE. Drop frame-
20504 prefix. Handle `window-divider-default-places'.
20505 (frame--window-divider-mode-set-and-apply): Remove.
20506 (window-divider-default-bottom-width)
20507 (window-divider-default-right-width): Drop :group entries.
20508 * lisp/menu-bar.el (menu-bar-bottom-and-right-window-divider)
20509 (menu-bar-right-window-divider, menu-bar-bottom-window-divider)
20510 (menu-bar-no-window-divider): Set `window-divider-default-places'
20511 and call `window-divider-mode'.
20512 * doc/emacs/frames.texi (Window Dividers): Document
20513 `window-divider-default-places'.
20515 2015-07-02 Xue Fuqiao <xfq.free@gmail.com>
20517 * doc/emacs/display.texi (Displaying Boundaries):
20518 * doc/emacs/search.texi (Word Search): Add cross references.
20520 2015-07-02 Paul Eggert <eggert@cs.ucla.edu>
20522 -batch should not affect ‘’ -> `' display
20523 * lisp/startup.el (command-line): Do the ‘’ -> `' check even if
20524 -batch (Bug#20926).
20526 2015-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
20528 * lisp/emacs-lisp/eieio-core.el (eieio--class-v): Remove
20529 * lisp/emacs-lisp/eieio-core.el, lisp/emacs-lisp/eieio.el:
20530 * lisp/emacs-lisp/eieio-opt.el, lisp/emacs-lisp/eieio-compat.el:
20531 Use cl--find-class instead.
20533 * lisp/term/xterm.el (xterm--query): Fix paren typo (bug#20951).
20535 2015-07-02 Martin Rudalics <rudalics@gmx.at>
20537 Some further fixes in Change Window node (Bug#20183)
20538 * doc/emacs/windows.texi (Change Window): Replace "rearranging"
20539 by "resizing" in section title. Add some concept indices.
20540 Suggested by N. Jackson (Bug#20183).
20542 * doc/emacs/windows.texi (Change Window): Reference window
20545 Document new `window-divider-mode'.
20546 * lisp/frame.el (window-divider-mode): Fix doc-string.
20547 * doc/emacs/frames.texi (Window Dividers): New section.
20549 Improve accessibility of window dividers (Bug#20183)
20550 * lisp/faces.el (window-divider)
20551 (window-divider-first-pixel, window-divider-last-pixel): Change
20552 membership from `frames' to `window-divider' customization group.
20553 * lisp/frame.el (window-divider): New customization group.
20554 (window-divider-mode): New minor mode.
20555 (window-divider-default-bottom-width)
20556 (window-divider-default-right-width): New options.
20557 (frame--window-divider-previous-mode): New variable.
20558 (frame-window-divider-width-valid-p)
20559 (frame--window-divider-mode-apply)
20560 (frame--window-divider-mode-set-and-apply): New functions.
20561 * lisp/menu-bar.el (menu-bar-options-save): Save
20562 window-divider-mode settings.
20563 (menu-bar-window-divider-customize)
20564 (menu-bar-bottom-and-right-window-divider)
20565 (menu-bar-right-window-divider, menu-bar-bottom-window-divider)
20566 (menu-bar-no-window-divider): New functions.
20567 (menu-bar-showhide-window-divider-menu): New variable.
20568 (menu-bar-showhide-menu): Show/hide window divider menu.
20569 * lisp/mouse.el (mouse-split-window-vertically)
20570 (mouse-split-window-horizontally): Replace `error' by
20571 `user-error'. Bind `window-combination-resize' to nil.
20572 (top-level): Add/reorder mouse key bindings on mode- and
20575 2015-07-02 Paul Eggert <eggert@cs.ucla.edu>
20577 Don't display ‘’ as `' under X in en_GB
20578 The curved quote setup code invokes (char-displayable-p ?‘),
20579 but this isn’t reliable until after the X frame replaces the
20580 terminal frame (Bug#20926).
20581 * lisp/international/mule-cmds.el (set-locale-environment):
20582 Move curved quote setup code from here ...
20583 * lisp/startup.el (command-line): ... to here, after creating
20586 2015-07-01 Nicolas Richard <youngfrog@members.fsf.org>
20588 * lisp/emacs-lisp/seq.el (seq-difference): Fix typo in docstring.
20590 * lisp/ido.el (ido-restrict-to-matches): Add an optional argument
20591 to reverse the meaning (Bug#15631).
20593 2015-07-01 Eli Zaretskii <eliz@gnu.org>
20595 Be more tolerant to fonts named "Foobar-12"
20596 * src/frame.c (x_set_font): If font_spec_from_name returns nil,
20597 don't barf; instead, request a new fontset to be generated. This
20598 avoids unnecessarily rejecting fonts named against XLFD rules. See
20599 http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html,
20600 for the description of the original problem.
20601 * lisp/faces.el (set-face-attribute): Don't be fooled too easily
20602 by a hyphen in a font's name.
20604 Fix value of posn-at-pont in R2L lines
20605 * src/keyboard.c (Fposn_at_x_y, Fposn_at_point): Allow X pixel
20606 coordinate of -1, for a newline in a right-to-left line that
20607 overflowed into the left fringe.
20609 2015-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20611 (cl--copy-slot-descriptor): Copy the `props' alist as well
20612 * lisp/emacs-lisp/cl-preloaded.el (cl--copy-slot-descriptor-1):
20613 Rename from cl--copy-slot-descriptor.
20614 (cl--copy-slot-descriptor): New function. Copy the alist (bug#20914).
20616 2015-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
20618 * lisp/term/xterm.el (xterm--query): Avoid generating garbage
20619 (xterm-query-timeout): New var.
20620 (xterm--query): Use it. Fallback on async method if we timeout before
20621 getting the first byte of the reply (bug#12354).
20623 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
20626 * lisp/character-fold.el (character-fold-search):
20627 * lisp/emacs-lisp/package.el (package-hidden-regexps):
20630 2015-06-30 Xue Fuqiao <xfq.free@gmail.com>
20632 * doc/emacs/frames.texi (Frame Commands): Typo fix. (Bug#20946)
20634 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
20636 In strings, prefer plain ` and ' to \` and \'
20637 * lisp/allout.el (allout-insert-listified):
20638 * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
20639 * lisp/ls-lisp.el (ls-lisp-UCA-like-collation)
20640 (ls-lisp-string-lessp):
20641 * lisp/menu-bar.el (menu-bar-open):
20642 * lisp/obsolete/otodo-mode.el (todo-top-priorities):
20643 * lisp/progmodes/compile.el (compile):
20644 * lisp/progmodes/etags.el (tags-loop-scan):
20645 * lisp/progmodes/make-mode.el (makefile-browser-insert-continuation):
20646 * lisp/subr.el (posn-actual-col-row):
20647 * lisp/term/pc-win.el (x-list-fonts):
20648 * lisp/textmodes/texinfmt.el (texinfmt-version):
20649 * lisp/textmodes/texnfo-upd.el (texinfo-master-menu):
20650 * lisp/time.el (display-time-world-list):
20651 * lisp/tmm.el (tmm-menubar):
20652 * src/buffer.c (syms_of_buffer):
20653 * src/fileio.c (syms_of_fileio):
20654 Omit unnecessary and confusing backslash before quote.
20655 * lisp/erc/erc.el (erc-cmd-LASTLOG):
20656 * lisp/progmodes/flymake.el (flymake-fix-file-name):
20657 * lisp/progmodes/vhdl-mode.el (vhdl-in-extended-identifier-p):
20658 Fix string that was intended to escape a backslash and not a quote.
20660 2015-06-30 Glenn Morris <rgm@gnu.org>
20662 * leim/Makefile.in, lisp/Makefile.in: Add missing EXEEXT definition.
20664 * lisp/Makefile.in (MH_E_SRC, TRAMP_SRC, CAL_SRC):
20665 Replace hard-coded lists with wildcard + filter-out.
20667 * configure.ac (system-configuration-features): Add X11, NS.
20669 Improve reproducibility of generated loaddefs file
20670 * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
20671 Make the return value the modtime of the input file (if no autoloads).
20672 (update-directory-autoloads): In the "no autoloads" section,
20673 use "most recent modtime" rather than "current time".
20675 2015-06-30 Artur Malabarba <bruce.connor.am@gmail.com>
20677 * lisp/emacs-lisp/package.el (package--remove-hidden): Fix logic.
20680 2015-06-30 Nicolas Petton <nicolas@petton.fr>
20682 * doc/lispref/sequences.texi: Add documentation for seq-min and seq-max.
20684 Add seq-min and seq-max
20685 Bump version number.
20686 * lisp/emacs-lisp/seq.el (seq-min, seq-max): New functions.
20687 * test/automated/seq-tests.el: Add tests for seq-min and seq-max.
20689 2015-06-30 Eli Zaretskii <eliz@gnu.org>
20691 Make sure sleep-for always delays for as long as it's told
20692 * src/dispnew.c (Fsleep_for): Call wait_reading_process_output in
20693 a loop, to ensure we always wait exactly the required amount of
20696 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
20698 Fix pointer signedness glitch
20699 * src/font.c (font_load_for_lface): Use SSDATA, not SDATA.
20701 2015-06-30 Eli Zaretskii <eliz@gnu.org>
20703 Don't block changes in mouse pointer inside 'track-mouse'
20705 * doc/lispref/frames.texi (Mouse Tracking): Document the special
20706 effect of setting 'track-mouse' to 'dragging'.
20707 * lisp/textmodes/artist.el (artist-mouse-draw-continously):
20708 * lisp/ruler-mode.el (ruler-mode-mouse-drag-any-column-iteration):
20709 * lisp/mouse-drag.el (mouse-drag-throw):
20710 * lisp/mouse.el (mouse-drag-line): Set 'track-mouse' to 'dragging'
20711 to avoid changes in the shape of the mouse pointer.
20712 * src/xdisp.c (define_frame_cursor1): Don't change the mouse
20713 pointer shape when do_mouse_tracking has the value of 'dragging',
20714 not just any non-nil value. (Bug#20934)
20715 (syms_of_xdisp): DEFSYM 'dragging'.
20717 2015-06-30 Artur Malabarba <bruce.connor.am@gmail.com>
20719 * lisp/isearch.el (isearch-toggle-word): Fix toggle.
20721 * lisp/emacs-lisp/package.el (package-compute-transaction):
20722 Don't assume version sorting.
20724 * lisp/emacs-lisp/package.el (package--save-selected-packages):
20725 Don't save before init time, to avoid overwriting configurations.
20728 2015-06-30 Xue Fuqiao <xfq.free@gmail.com>
20730 * doc/emacs/display.texi (Standard Faces, Fringes): Add cross
20733 2015-06-29 Ted Zlatanov <tzz@lifelogs.com>
20735 Update for the upcoming CFEngine 3.7 release: support macros and
20736 quoted context strings; reformat JSON; indent promise attributes 2
20737 units by default; give function parameter descriptions in the eldoc
20739 * lisp/progmodes/cfengine.el: Update version and docs and fix name.
20740 Autoload `json-pretty-print'. Support new features in 3.7.
20741 (cfengine-parameters-indent): Set default promise attribute indent to
20742 2 more than the promise itself.
20743 (cfengine3-macro-regex): New variable to match the new macro syntax.
20744 (cfengine3-font-lock-keywords): Use it to highlight macros.
20745 (cfengine3-indent-line): Use it to indent macros to column 0.
20746 (cfengine3-class-selector-regex): Update for the new quoted strings
20748 (cfengine3-reformat-json-string): New function to reformat a JSON
20749 string using `json-pretty-print'.
20750 (cfengine3-format-function-docstring): Use function parameter
20751 description if it's provided by the cf-promises syntax dump.
20753 2015-06-29 Michael R. Mauger <michael@mauger.com>
20755 Cygwin emacsclient handles w32 file names
20756 * lisp/server.el (server-process-filter): Allow Cygwin's
20757 emacsclient to be used as a file handler on MS-Windows.
20759 2015-06-29 Katsumi Yamaoka <yamaoka@jpl.org>
20761 * lisp/isearch.el (isearch-exit): Don't call isearch-done twice
20764 2015-06-29 Eli Zaretskii <eliz@gnu.org>
20766 * doc/lispref/text.texi (Sticky Properties): Improve wording.
20769 Allow font names that end in "-NN", where NN is a number
20770 * src/font.c (font_load_for_lface): If the font-spec didn't match
20771 any available fonts, try again without interpreting trailing "-NN"
20772 as the font size. For the description of the original problem, see
20773 http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html
20775 .gdbinit followup to changes in !USE_LSB_TAG
20776 * src/.gdbinit (xgetsym): Don't left-shift $ptr even under
20777 !USE_LSB_TAG, as Emacs no longer does.
20779 2015-06-29 Wolfgang Jenkner <wjenkner@inode.at>
20781 * lisp/calc-store.el (calc-insert-permanent-variable): Heed case.
20782 Otherwise `s p' of f and F will stomp on each other's value.
20785 2015-06-29 Artur Malabarba <bruce.connor.am@gmail.com>
20787 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
20788 Don't block remember-pos if buffer isn't displayed. (Bug#20921)
20790 2015-06-29 Nicolas Richard <theonewiththeevillook@yahoo.fr>
20792 * lisp/emacs-lisp/package.el (describe-package): Use symbol-at-point
20793 as additional guess.
20795 * lisp/emacs-lisp/package.el (describe-package): Convert the guess
20798 2015-06-28 Paul Eggert <eggert@cs.ucla.edu>
20800 apropos-library quoting fix
20801 * lisp/apropos.el (apropos-library): Quote library consistently
20802 with the rest of the quoting used by apropos.
20804 Clarify interpreter-mode-alist doc
20805 * lisp/files.el (interpreter-mode-alist):
20806 Reword to avoid confusing quoting that wasn't working anyway.
20808 2015-06-28 Michael Albinus <michael.albinus@gmx.de>
20810 Sync with Tramp 2.2.12
20811 * doc/misc/trampver.texi:
20812 * lisp/net/trampver.el: Update release number.
20813 * test/automated/tramp-tests.el (tramp-test13-make-directory):
20816 2015-06-28 Artur Malabarba <bruce.connor.am@gmail.com>
20818 * lisp/isearch.el (isearch-mode): Don't char-fold regexps (bug#20913).
20820 2015-06-27 Dmitry Gutov <dgutov@yandex.ru>
20822 Bind grep-highlight-matches around the rgrep call
20823 * lisp/progmodes/grep.el (zrgrep): Bind grep-highlight-matches
20824 around the rgrep call (bug#20728).
20826 Put "--color" before the other options in grep-command
20827 * lisp/progmodes/grep.el (grep-compute-defaults): Put "--color"
20828 before the other options in grep-command (bug#20912).
20830 Add --color Grep option to the command dynamically
20831 * lisp/progmodes/grep.el (grep-template, grep-find-template):
20832 Update the description for <C>. (Bug#20728)
20833 (grep-compute-defaults): Don't add the --color option to
20834 grep-options. Only add it to grep-command.
20835 (grep-expand-keywords): Expand the env value opts into <C>.
20836 (grep-expand-template): Replace cf in the env with the opts list,
20837 that can include -i and --color.
20838 * lisp/progmodes/xref.el (xref-collect-matches): Do not remove
20839 "--color=always" from the template, because we don't have to.
20841 2015-06-27 Paul Eggert <eggert@cs.ucla.edu>
20843 cl-extra fixes for most-negative-fixnum
20844 * lisp/emacs-lisp/cl-extra.el (cl-gcd, cl-lcm, cl-random):
20845 Don't mishandle an argument equal to most-negative-fixnum,
20846 whose absolute value equals itself.
20847 (cl-gcd, cl-lcm): Use dolist rather than doing it by hand.
20849 Initialize cl--gensym-counter to 0
20850 Previously it was initialized to a random value, which made it
20851 harder to reproduce earlier Emacs runs. The need for a random
20852 value went away when Emacs introduced and used the #: syntax for
20853 uninterned symbols (Bug#20862).
20854 * doc/misc/cl.texi (Creating Symbols, Common Lisp Compatibility):
20855 Document that cl--gensym-counter now starts with 0.
20856 * lisp/emacs-lisp/cl-lib.el (cl--gensym-counter): Remove.
20857 (cl--random-time): Move to near only remaining use.
20858 * lisp/emacs-lisp/cl-macs.el (cl--gensym-counter): Initialize to 0.
20860 Improve docstring for macroexp-let2
20861 * lisp/emacs-lisp/macroexp.el (macroexp-let2):
20862 Improve as per suggestion by RMS in:
20863 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00621.html
20864 Also, rename args to match new doc string.
20866 2015-06-27 Eli Zaretskii <eliz@gnu.org>
20868 Fix VC test suite on MS-Windows
20869 * lisp/vc/vc-svn.el (vc-svn-create-repo): Make sure the file: URL
20870 always starts with 3 slashes after the colon.
20871 * test/automated/vc-tests.el (vc-test--create-repo-function): Use
20872 'w32-application-type' to invoke CVS on MS-Windows with properly
20873 formatted CVSROOT directory name.
20875 Add a new function w32-application-type
20876 * src/w32proc.c (Fw32_application_type): New function.
20878 Avoid error in TLS connections due to incorrect format
20879 * src/gnutls.c (Fgnutls_boot): Use the %x conversion specifier in
20880 the call to 'error', instead of the unsupported %u. Reported by
20881 lo2net <fangtao0901@gmail.com>. (Bug#20908)
20883 2015-06-26 Artur Malabarba <bruce.connor.am@gmail.com>
20885 * lisp/replace.el (replace-search): Fix regexp case (bug#20901).
20887 2015-06-26 Leo Liu <sdl.web@gmail.com>
20889 * lisp/emacs-lisp/cl-indent.el: Fix indentation for
20890 `with-output-to-string' in elisp.
20892 Revert "lisp/emacs-lisp/cl-indent.el: Fix indent of
20893 with-output-to-string".
20894 This reverts commit 659199f2ca5f283fb246faa78a244e5ca25f53dd.
20896 2015-06-26 Eli Zaretskii <eliz@gnu.org>
20898 Minor corrections in ELisp manual
20899 * doc/lispref/nonascii.texi (Character Properties): Correct
20900 inaccuracies in description of values of the Unicode properties.
20902 Fix invisible mouse pointers on Windows.
20903 * src/w32fns.c: Include windowsx.h.
20904 (w32_wnd_proc): If the mouse moved and the mouse pointer is
20905 invisible, make it visible again even when the main (Lisp)
20907 * src/w32term.c (w32_toggle_invisible_pointer): Rather then
20908 garbaging the frame have the input thread call SetCursor.
20910 2015-06-26 Martin Rudalics <rudalics@gmx.at>
20912 Provide invisible mouse pointers on Windows (Bug#6105) (Bug#12922)
20913 * src/w32fns.c (w32_wnd_proc): Handle f->pointer_invisible
20914 for WM_SETCURSOR and WM_EMACS_SETCURSOR cases.
20915 * src/w32term.c (w32_hide_hourglass): Handle f->pointer_invisible.
20916 (w32_toggle_invisible_pointer): New function.
20917 (w32_create_terminal): Add w32_toggle_invisible_pointer as
20918 toggle_invisible_pointer_hook for this terminal.
20920 2015-06-25 Xue Fuqiao <xfq.free@gmail.com>
20922 Doc fix for deletion commands
20923 'delete-char' does not respect the value of 'delete-active-region'.
20924 * doc/emacs/killing.texi (Deletion):
20925 Fix documentation for some single-char deletion commands.
20927 * doc/emacs/help.texi (Apropos):
20928 Improve documentation of 'apropos-do-all'.
20930 * doc/emacs/help.texi (Help Summary):
20931 Improve documentation of 'describe-mode'.
20933 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
20935 Fix submake dependency bug with .h files
20936 * src/Makefile.in ($(libsrc)/make-docfile$(EXEEXT)):
20937 Depend on $(lib)/libgnu.a, so that we build $(lib)/*/*.h
20938 before the submake in $(libsrc) would spin off a subsubmake
20939 for $(lib) in parallel with our submake for $(lib) (Bug#20894).
20941 2015-06-25 Artur Malabarba <bruce.connor.am@gmail.com>
20943 * lisp/character-fold.el (character-fold-table): Reuse `table'.
20945 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
20947 Translate undisplayable ‘ to `
20948 * doc/lispref/help.texi (Keys in Documentation):
20949 * lisp/international/mule-cmds.el (set-locale-environment):
20950 * lisp/term/w32console.el (terminal-init-w32console):
20951 * src/doc.c (Fsubstitute_command_keys, Vhelp_quote_translation):
20952 If ‘ is not displayable, transliterate it to `, not to '. See:
20953 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00542.html
20955 Fix C99 incompatibilities in Cairo code
20956 * src/image.c (xpm_load) [USE_CAIRO]:
20957 * src/xterm.c (x_cr_accumulate_data) [USE_CAIRO]:
20958 Fix pointer signedness problem.
20960 2015-06-25 Oleh Krehel <ohwoeowho@gmail.com>
20962 lisp/emacs-lisp/cl-indent.el: Fix indent of with-output-to-string
20963 * lisp/emacs-lisp/cl-indent.el (common-lisp-indent-function):
20964 `with-output-to-string' should have the same indent as `progn'.
20965 This is in line with the declaration of `with-output-to-string'.
20967 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
20969 Get ‘./configure; make -C src emacs’ to work
20970 Without this fix, lib/fcntl.h isn't built in time (Bug#20894).
20971 * lib-src/Makefile.in (../lib/libgnu.a):
20972 * src/Makefile.in ($(lib)/libgnu.a): Build all, not libgnu.a.
20974 2015-06-24 Paul Eggert <eggert@cs.ucla.edu>
20976 Fix GC bugs --with-wide-int and Qnil == 0
20977 Use the same alignment for the !USE_LSB_TAG case as for the
20978 more-typical USE_LSB_TAG case. The attempt to support arbitrary
20979 alignments with !USE_LSB_TAG had subtle bugs in garbage collection
20980 once we changed the representation of symbols so that Qnil == 0.
20981 Problem reported by Eli Zaretskii (Bug#20862).
20982 * src/alloc.c (XMALLOC_HEADER_ALIGNMENT) [XMALLOC_OVERRUN_CHECK]:
20983 * src/alloc.c (vector_alignment, union aligned_Lisp_Symbol)
20984 (union aligned_Lisp_Misc, maybe_lisp_pointer, pure_alloc):
20985 Use same alignment for !USE_LSB_TAG as for USE_LSB_TAG.
20986 * src/alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS): Remove.
20987 This optimization in the !USE_LSB_TAG case is no longer valid when
20988 symbols are represented via offsets. Change the only use to
20989 assume that pointers might hide in objects.
20990 * src/lisp.h (alignas) [!USE_LSB_TAG]:
20991 Require support in this case, too.
20992 (TAG_SYMOFFSET, XSYMBOL) [!USE_LSB_TAG]: Do not shift the offset.
20993 This is OK, because the !USE_LSB_TAG case now applies only when
20994 Lisp_Object is wider than void *, so there's no longer any need
20995 to shift the offset. Not shifting the offset means that
20996 symbol representations have the same alignment as pointers,
20997 which the GC assumes.
20999 2015-06-24 Xue Fuqiao <xfq.free@gmail.com>
21001 * doc/lispintro/emacs-lisp-intro.texi (Data types):
21002 Improve documentation of 'substring'.
21004 2015-06-24 Artur Malabarba <bruce.connor.am@gmail.com>
21006 * lisp/character-fold.el (character-fold-table): Fix table generation.
21008 2015-06-24 Glenn Morris <rgm@gnu.org>
21010 * nextstep/Makefile.in (all): Make it the first target.
21011 (../src/emacs${EXEEXT}): Add rule for making it.
21013 2015-06-24 Artur Malabarba <bruce.connor.am@gmail.com>
21015 * etc/NEWS: Fix mention to old function name.
21017 * lisp/character-fold.el: New file (Bug#20887)
21018 (character-fold-to-regexp): New function.
21019 * lisp/replace.el (replace-search): Check value of
21020 `character-fold-search'.
21021 * lisp/isearch.el: Move character-folding code to
21023 (isearch-toggle-character-fold): New command.
21024 (isearch-mode-map): Bind it to "\M-sf".
21025 (isearch-mode): Check value of `character-fold-search'.
21027 2015-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
21029 lisp/subr.el (remove-from-invisibility-spec): Handle the t case
21030 * lisp/subr.el (remove-from-invisibility-spec): Make sure `element'
21031 is visible even if it's not yet in buffer-invisibility-spec (bug#20468).
21033 * lisp/progmodes/xref.el (xref-location-group, xref-location-marker)
21034 (xref--insert-xrefs, xref-collect-references): Avoid init-args in oref.
21036 2015-06-24 Glenn Morris <rgm@gnu.org>
21038 * Makefile.in (install-arch-dep): Don't set sticky bit on the binary.
21040 2015-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
21042 lisp/gnus/nnmaildir.el: Silence lexical warnings
21043 * lisp/gnus/nnmaildir.el (nnmaildir--prepare): Use a more
21045 (nnmaildir--update-nov): Remove unused var `numdir'.
21046 (nnmaildir-request-type, nnmaildir--scan, nnmaildir-request-newgroups)
21047 (nnmaildir-request-group, nnmaildir-request-create-group)
21048 (nnmaildir-request-post, nnmaildir-request-move-article)
21049 (nnmaildir-request-accept-article, nnmaildir-active-number):
21051 (nnmaildir-get-new-mail, nnmaildir-group-alist)
21052 (nnmaildir-active-file): Declare.
21053 (nnmaildir-request-scan): Remove unused vars `group' and `grp-dir'.
21054 (nnmaildir-request-update-info): Remove unused vars `dotfile', `num',
21055 `mark', `end', `new-mark', and `mark-sym'.
21056 (nnmaildir-retrieve-headers): Remove unused args `srv-dir', `dir',
21058 (nnmaildir-request-expire-articles):
21059 Remove unused vars `article', `stop' and `nlist2'.
21060 (nnmaildir-request-set-mark): Remove unused vars `begin', `article' and
21061 `end'. Use nnmaildir--article when dyn-binding is needed.
21062 Give the value directly in the `let' for `del-mark', `del-action',
21063 `add-action', and `set-action'. Don't use `add-to-list' on a local var.
21064 (nnmaildir-close-server): Declare those local vars that need to be
21067 2015-06-24 Paul Eggert <eggert@cs.ucla.edu>
21069 * src/keyboard.h (kbd_buffer_store_event_hold): Remove unused local.
21071 Port selection info fix to clang
21072 * src/keyboard.h (kbd_buffer_store_event_hold):
21073 Don't assume C11 semantics for alignof (Bug#20756).
21075 Fix bug that munged selection info
21076 On some optimizing C compilers, copying a structure did not
21077 copy the padding bytes between elements, and the type punning
21078 between struct input_data and struct selection_input_data did
21079 not work. Change the C code to use a proper union type instead.
21080 Problem reported by YAMAMOTO Mitsuharu (Bug#20756).
21081 * src/keyboard.c (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr)
21082 (readable_events, discard_mouse_events, kbd_buffer_events_waiting)
21083 (kbd_buffer_get_event, process_special_events, stuff_buffered_input)
21085 Use union buffered_input_event, not struct input_event.
21086 (clear_event, deliver_input_available_signal, process_special_events):
21087 Remove unnecessary forward decls.
21088 (kbd_buffer_store_buffered_event): New function, mostly just the
21089 old kbd_buffer_store_event_hold, except its argument is of type
21090 union buffered_input_event, not struct input_event.
21091 (kbd_buffer_unget_event): Define only if HAVE_X11, since it's
21092 not needed otherwise. Argument is now of type
21093 struct selection_input_event *, not struct input_event *.
21094 All callers changed.
21095 (clear_event): Arg is now of type union buffered_input_event *,
21096 not struct input_event *. All callers changed.
21097 * src/keyboard.h [HAVE_X11]: Include "xterm.h".
21098 (union buffered_input_event): New type.
21099 (kbd_buffer_store_event_hold): Now an inline function,
21101 * src/termhooks.h (EVENT_KIND_WIDTH): New constant.
21102 (struct input_event): Use it.
21103 * src/xselect.c (struct selection_event_queue):
21104 Make elements be of type struct selection_input_event,
21105 not struct input_event.
21106 (selection_input_event_equal): New static function.
21107 (x_queue_event): Use it.
21108 (x_queue_event, x_decline_selection_request)
21109 (x_selection_current_request, x_reply_selection_request)
21110 (x_handle_selection_request, x_handle_selection_clear)
21111 (x_handle_selection_event): Use struct selection_input_event,
21112 not struct input_event. All callers changed.
21113 (x_convert_selection): Omit unused first arg. All callers changed.
21114 (Fx_disown_selection_internal): Omit unnecessary union.
21115 * src/xterm.c (handle_one_xevent): Use new union buffered_input_event
21116 rather than rolling our own equivalent. Prefer sie.kind when
21117 setting up that kind of structure.
21118 Call kbd_buffer_store_buffered_event, not kbd_buffer_store_event_hold.
21119 * src/xterm.h (struct selection_input_event: Use EVENT_KIND_WIDTH.
21120 (SELECTION_EVENT_DISPLAY, SELECTION_EVENT_DPYINFO)
21121 (SELECTION_EVENT_REQUESTOR, SELECTION_EVENT_SELECTION)
21122 (SELECTION_EVENT_TARGET, SELECTION_EVENT_PROPERTY)
21123 (SELECTION_EVENT_TIME, x_handle_selection_event):
21124 Arg is now of type struct selection_input_event *)
21125 not struct input_event *. All callers changed.
21127 2015-06-23 Glenn Morris <rgm@gnu.org>
21129 * Makefile.in (install-arch-dep): Simplify with Make conditionals.
21131 2015-06-23 Artur Malabarba <bruce.connor.am@gmail.com>
21133 * lisp/isearch.el: Fold many unicode characters to ASCII.
21134 (isearch-character-fold-search, isearch--character-fold-extras)
21135 (isearch--character-fold-table): New variable.
21136 (isearch--character-folded-regexp): New function.
21137 (isearch-search-fun-default): Use them.
21138 * lisp/replace.el (replace-character-fold): New variable.
21139 (replace-search): Use it.
21140 * etc/NEWS: Document it.
21142 2015-06-23 Glenn Morris <rgm@gnu.org>
21144 Check for an input event before showing a dialog box. (Bug#20813)
21145 * lisp/subr.el (y-or-n-p):
21146 * src/fns.c (Fyes_or_no_p): Check last-input-event as well
21147 as last-nonmenu-event.
21149 2015-06-23 Jürgen Hartmann <juergen_hartman_@hotmail.com> (tiny change)
21151 Respect ‘switch-to-visible-buffer’ more rigidly. (Bug#20861)
21152 * lisp/window.el (switch-to-visible-buffer): Doc adjustment.
21153 (switch-to-prev-buffer, switch-to-next-buffer): Respect
21154 switch-to-visible-buffer independent of the windows history.
21156 2015-06-23 Paul Eggert <eggert@cs.ucla.edu>
21158 * src/keyboard.c (last_timer_event): Remove unused var.
21160 2015-06-23 Artur Malabarba <bruce.connor.am@gmail.com>
21162 * test/automated/package-test.el (package-test-update-listing):
21165 2015-06-23 Glenn Morris <rgm@gnu.org>
21167 Revert 2014-06-25 nextstep/Makefile change.
21168 * nextstep/Makefile.in (${ns_appbindir}): Remove rule.
21169 (${ns_appbindir}/Emacs, links): Create ns_appbindir in the rule,
21170 not as an order-only prerequisite.
21172 * configure.ac (--with-ns): Enable by default on OS X.
21174 2015-06-23 Leo Liu <sdl.web@gmail.com>
21176 Fix shell-for/backward-command to exclude spaces
21177 * lisp/shell.el (shell-forward-command, shell-backward-command):
21178 Handle the 'move case from re-search-forward/backward.
21179 fixes debbugs:20873
21181 2015-06-22 Juri Linkov <juri@linkov.net>
21183 * lisp/replace.el (query-replace-read-from): Add separator to
21184 the local binding of text-property-default-nonsticky. (Bug#20690)
21186 * lisp/simple.el (shell-command-on-region): Replace 'error' with 'user-error'.
21189 2015-06-22 Ken Brown <kbrown@cornell.edu>
21191 Enable CPU profiling on Cygwin
21192 * src/syssignal.h [CYGWIN] (PROFILER_CPU_SUPPORT): Revert previous
21193 change that undefined this.
21194 (SIGEV_SIGNAL): Ensure that this is defined as a macro.
21195 * src/profiler.c [CYGWIN] (timer_getoverrun): Define as a macro on
21198 Improve diagnostics of profiler-cpu-start
21199 * src/profiler.c (setup_cpu_timer): Change return type to 'int';
21200 return -1 if the sampling interval is invalid.
21201 (Fprofiler_cpu_start): Improve error message if 'setup_cpu_timer'
21204 2015-06-22 Artur Malabarba <bruce.connor.am@gmail.com>
21206 * lisp/emacs-lisp/package.el: Exclude packages by name.
21207 (package-hidden-regexps): New variable.
21208 (package-menu--refresh): Use it.
21209 (package-menu-hide-package): New command.
21211 * lisp/emacs-lisp/package.el: Rename hide-obsolete to toggle-hiding.
21213 2015-06-22 Eli Zaretskii <eliz@gnu.org>
21215 Fix debug-timer-check on systems without HAVE_TIMERFD
21216 * src/atimer.c (Fdebug_timer_check) [!HAVE_TIMERFD]: Actively run
21217 the expired timers, since wait_reading_process_output doesn't.
21218 (debug_timer_callback): Enlarge the tolerance to 20 msec.
21220 Fix RCS crashes in vc-test
21221 * lisp/vc/vc-rcs.el (vc-rcs-register): Avoid crashes with some old
21222 ports of 'ci' on MS-Windows by always passing the -t- switch.
21224 2015-06-22 Glenn Morris <rgm@gnu.org>
21226 * doc/emacs/package.texi (Packages):
21227 * doc/emacs/trouble.texi (Known Problems): Remove faq cross-references.
21229 * doc/misc/efaq-w32.texi (Downloading): Copyedits. (Bug#20851)
21231 2015-06-22 Paul Eggert <eggert@cs.ucla.edu>
21233 Port tests to help-quote-translation
21234 * test/automated/ert-x-tests.el (ert-test-describe-test):
21235 * test/automated/package-test.el (package-test-describe-package)
21236 (package-test-signed): Allow straight quotes, too.
21238 2015-06-22 Dmitry Gutov <dgutov@yandex.ru>
21240 Make find-function-on-key use the current window
21241 * lisp/emacs-lisp/find-func.el (find-function-on-key-do-it):
21242 Extract from `find-function-on-key', add a second argument.
21243 (find-function-on-key): Use it (bug#19679).
21244 (find-function-on-key-other-window)
21245 (find-function-on-key-other-frame): New commands.
21247 2015-06-21 Nicolas Petton <nicolas@petton.fr>
21249 Revert "Define `map-elt' as a generalized variable"
21250 This reverts commit 8b6d82d3ca86f76ed964063b3941a7c6ab0bf1c6.
21252 2015-06-21 Ken Brown <kbrown@cornell.edu>
21254 Drop support for CPU profiling on Cygwin
21255 * src/syssignal.h (PROFILER_CPU_SUPPORT): Don't define on Cygwin.
21258 2015-06-21 Paul Eggert <eggert@cs.ucla.edu>
21260 Fix some “nested” quoting confusion in doc strings
21261 * lisp/emacs-lisp/advice.el (ad-map-arglists):
21262 * lisp/kermit.el (kermit-clean-on):
21263 * lisp/mh-e/mh-comp.el (mh-repl-group-formfile):
21264 * src/keyboard.c (Frecursive_edit):
21265 Use curved quotes when quoting text containing apostrophe,
21266 so that the apostrophe isn't curved in the output.
21268 2015-06-21 Nicolas Petton <nicolas@petton.fr>
21270 Define `map-elt' as a generalized variable
21271 * lisp/emacs-lisp/map.el (map-elt): Define a gv-expander.
21272 * lisp/emacs-lisp/map.el (map--dispatch): Tighten the code.
21273 * lisp/emacs-lisp/map.el (map-put): Redefine it as a function using a
21274 `setf' with `map-elt'.
21275 * test/automated/map-tests.el: Comment out `test-map-put-literal'.
21277 2015-06-21 Michael Albinus <michael.albinus@gmx.de>
21279 Improve error handling in tramp-adb.el
21280 * lisp/net/tramp-adb.el (tramp-adb-handle-file-local-copy):
21281 Improve error handling.
21283 2015-06-21 Nicolas Petton <nicolas@petton.fr>
21285 Reuse `alist-get' in map.el
21286 * lisp/emacs-lisp/map.el (map-elt): Use `alist-get' to retrieve alist
21289 2015-06-21 Eli Zaretskii <eliz@gnu.org>
21291 Fix bytecomp-tests--warnings when $TMPDIR has a long name
21292 * test/automated/bytecomp-tests.el (bytecomp-tests--warnings):
21293 Allow the warning to begin on the 3rd, not only 2nd line, which
21294 happens if temporary-file-directory has a very long name.
21296 Expect 2 icalendar tests to fail on MS-Windows
21297 * test/automated/icalendar-tests.el (icalendar-import-with-timezone)
21298 (icalendar-real-world): Make them expected failures on MS-Windows.
21300 2015-06-20 Paul Eggert <eggert@cs.ucla.edu>
21302 Improve port of settings UI to older displays
21303 * lisp/cus-start.el (standard): Don't assume curved quotes are
21304 easily distinguishable when users are tinkering with a setting
21305 that affects how curved quotes are generated.
21307 Fix quoting in electric-quote-mode doc string
21308 * lisp/electric.el (electric-quote-mode): Fix quoting.
21309 This is a fallout from the recent change introducing
21310 ‘help-quote-translation’.
21314 * doc/misc/texinfo.tex, lib/set-permissions.c: Merge from gnulib.
21316 * src/doc.c (syms_of_doc): Remove unused symbols.
21318 2015-06-20 Martin Rudalics <rudalics@gmx.at>
21320 * lisp/window.el (window-state-put): Undedicate target window
21321 before putting STATE into it. (Bug#20848)
21323 2015-06-19 Paul Eggert <eggert@cs.ucla.edu>
21325 Merge from origin/emacs-24
21326 a5e6f33 Fixes: debbugs:20832
21327 b9f02cf Fixes: debbugs:20832
21329 2015-06-19 Eli Zaretskii <eliz@gnu.org>
21331 Fix file-in-directory-p when the directory is UNC
21332 * lisp/files.el (file-in-directory-p): Support files and
21333 directories that begin with "//". (Bug#20844)
21335 2015-06-19 Stephen Berman <stephen.berman@gmx.net>
21337 * lisp/calendar/todo-mode.el (todo-show): Don't visit todo file
21338 in the minibuffer. (Bug#20832)
21340 2015-06-19 Nicolas Richard <youngfrog@members.fsf.org>
21342 * lisp/calendar/todo-mode.el (todo-show): Signal an error if buffer
21343 for adding new todo file is empty but modified. (Bug#20832)
21345 2015-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
21347 (filepos-to-bufferpos): Further tweaks to the utf-16 code
21348 * lisp/international/mule-util.el (filepos-to-bufferpos):
21349 Fix typo. Move non-exact check to the utf-16 branch (the only one
21350 affected). Don't use byte-to-position for the utf-16 case.
21352 2015-06-19 Eli Zaretskii <eliz@gnu.org>
21354 Minor fixes in filepos-to-bufferpos
21355 * lisp/international/mule-util.el (filepos-to-bufferpos): Remove
21356 test for utf-8-emacs. Exempt single-byte encodings from the
21357 'use-exact' path when QUALITY is 'exact'. Test UTF-16 encodings
21358 for BOM before subtracting 2 bytes. Use 'identity' when adjusting
21359 UTF-16 encoded files for CR-LF EOLs.
21361 2015-06-19 Paul Eggert <eggert@cs.ucla.edu>
21363 Improve the optional translation of quotes
21364 Fix several problems with the recently-added custom variable
21365 help-quote-translation where the code would quote inconsistently
21366 in help buffers. Add support for quoting 'like this', which
21367 is common in other GNU programs in ASCII environments. Change
21368 help-quote-translation to use more mnemonic values: values are now the
21369 initial quoting char, e.g., (setq help-quote-translation ?`) gets the
21370 traditional Emacs help-buffer quoting style `like this'. Change the
21371 default behavior of substitute-command-keys to match what's done in
21372 set-locale-environment, i.e., quote ‘like this’ if displayable,
21373 'like this' otherwise.
21374 * doc/lispref/help.texi (Keys in Documentation): Document
21375 new behavior of substitute-command-keys, and document
21376 help-quote-translation.
21377 * doc/lispref/tips.texi (Documentation Tips):
21378 Mention the effect of help-quote-translation.
21379 * etc/NEWS: Mention new behavior of substitute-command-keys,
21380 and merge help-quote-translation news into it.
21381 When talking about doc strings, mention new ways to type quotes.
21382 * lisp/cedet/mode-local.el (overload-docstring-extension):
21383 Revert my recent change to this function, which shouldn't be
21384 needed as the result is a doc string.
21385 * lisp/cedet/mode-local.el (mode-local-print-binding)
21386 (mode-local-describe-bindings-2):
21387 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
21388 * lisp/cus-theme.el (describe-theme-1):
21389 * lisp/descr-text.el (describe-text-properties-1, describe-char):
21390 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
21391 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
21392 (eieio-help-constructor):
21393 * lisp/emacs-lisp/package.el (describe-package-1):
21394 * lisp/faces.el (describe-face):
21395 * lisp/help-fns.el (help-fns--key-bindings)
21396 (help-fns--compiler-macro, help-fns--parent-mode)
21397 (help-fns--obsolete, help-fns--interactive-only)
21398 (describe-function-1, describe-variable):
21399 * lisp/help.el (describe-mode):
21400 Use substitute-command-keys to ensure a more-consistent quoting
21401 style in help buffers.
21402 * lisp/cus-start.el (standard):
21403 Document new help-quote-translation behavior.
21404 * lisp/emacs-lisp/lisp-mode.el (lisp-fdefs):
21405 * lisp/help-mode.el (help-xref-symbol-regexp, help-xref-info-regexp)
21406 (help-xref-url-regexp):
21407 * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
21408 * lisp/wid-edit.el (widget-documentation-link-regexp):
21409 Also match 'foo', in case we're in a help buffer generated when
21410 help-quote-translation is ?'.
21411 * src/doc.c: Include disptab.h, for DISP_CHAR_VECTOR.
21412 (LEFT_SINGLE_QUOTATION_MARK, uLSQM0, uLSQM1, uLSQM2, uRSQM0)
21413 (uRSQM1, uRSQM2, LSQM, RSQM): New constants.
21414 (Fsubstitute_command_keys): Document and implement new behavior.
21415 (Vhelp_quote_translation): Document new behavior.
21417 2015-06-18 Glenn Morris <rgm@gnu.org>
21419 * lisp/cus-start.el (help-quote-translation): Add :version.
21421 * src/doc.c (Fsubstitute_command_keys): Make previous change compile.
21423 2015-06-18 Alan Mackenzie <acm@muc.de>
21425 Make translation of quotes to curly in doc strings optional.
21426 * src/doc.c (traditional, prefer-unicode): New symbols.
21427 (help-quote-translation): New variable.
21428 (Fsubstitute_command_keys): Make translation of quotes dependent on
21429 `help-quote-translation'; also translate curly quotes back to ASCII
21431 * lisp/cus-start.el (top-level): Add a customization entry for
21432 `help-quote-translation'.
21434 2015-06-18 Artur Malabarba <bruce.connor.am@gmail.com>
21436 * lisp/emacs-lisp/package.el: Don't always propagate async errors
21437 (package--with-work-buffer-async): Only propagate the error if the
21438 callback returns non-nil.
21439 (package--download-one-archive): Return nil on the signature
21440 checking callback if we accept unsigned.
21441 (package--download-and-read-archives): Return non-nil on the
21442 archive download callback.
21444 2015-06-18 Martin Rudalics <rudalics@gmx.at>
21446 Set image_cache_refcount before x_default_parameter calls. (Bug#20802)
21447 * src/nsfns.m (Fx_create_frame):
21448 * src/xfns.c (Fx_create_frame, x_create_tip_frame): Move setting
21449 image_cache_refcount before first x_default_parameter call.
21451 2015-06-18 Eli Zaretskii <eliz@gnu.org>
21453 Improve and extend filepos-to-bufferpos
21454 * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
21455 Don't barf if F returns nil for some argument.
21456 (filepos-to-bufferpos): Expand to support UTF-16 and not assume
21457 that every encoding of type 'charset' is single-byte.
21459 2015-06-18 Artur Malabarba <bruce.connor.am@gmail.com>
21461 * lisp/emacs-lisp/package.el (package-menu--perform-transaction):
21462 Properly delete packages. (Bug#20836)
21464 2015-06-18 Eli Zaretskii <eliz@gnu.org>
21466 Update data files from just-released Unicode 8.0
21467 * etc/NEWS: Update wording since Unicode 8.0 is no longer in draft
21469 * test/BidiCharacterTest.txt: Update from Unicode 8.0.
21470 * admin/unidata/BidiMirroring.txt:
21471 * admin/unidata/BidiBrackets.txt:
21472 * admin/unidata/UnicodeData.txt: Update from Unicode 8.0.
21474 2015-06-18 Paul Eggert <eggert@cs.ucla.edu>
21476 Document curved quotes a bit better
21477 * doc/emacs/basic.texi (Inserting Text):
21478 Mention C-x 8. Change example to use curved quote rather
21479 than infinity, as this lets us give more ways to do it.
21480 * doc/emacs/mule.texi (International Chars): Mention C-x 8 shortcuts
21481 and quotation marks.
21482 * doc/emacs/text.texi (Quotation Marks):
21483 * doc/lispref/tips.texi (Documentation Tips):
21484 Add "curly quotes" and "curved quotes" to the index.
21485 * doc/emacs/text.texi (Quotation Marks):
21486 Give the C-x 8 shorthands for curved quotes.
21487 Cross-reference to "Quotation Marks".
21489 2015-06-17 Daiki Ueno <ueno@gnu.org>
21491 Add pinentry.el for better GnuPG integration
21492 * lisp/pinentry.el: New file.
21493 * etc/NEWS: Add entry about pinentry.el.
21494 * lisp/epg.el (epg--start): Set INSIDE_EMACS envvar.
21497 2015-06-17 Artur Malabarba <bruce.connor.am@gmail.com>
21499 * lisp/emacs-lisp/package.el: Slightly better error reporting.
21501 2015-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21503 (define-minor-mode): Use setq-default for :global minor modes
21504 * lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
21505 Use setq-default for :global minor modes (bug#20712).
21507 2015-06-17 Eli Zaretskii <eliz@gnu.org>
21509 Avoid infloop in redisplay with tall images
21510 * src/xdisp.c (try_scrolling): Prevent an infloop when scrolling
21511 down near ZV. (Bug#20808)
21512 Call bidi_unshelve_cache to avoid memory leaks. Use IT_CHARPOS
21513 instead of CHARPOS.
21515 2015-06-17 Artur Malabarba <bruce.connor.am@gmail.com>
21517 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
21518 Fix error reporting.
21520 * lisp/emacs-lisp/let-alist.el: Move to lisp/emacs-lisp/let-alist.el
21522 * lisp/emacs-lisp/package.el: Revert buffer after any operation
21523 Call `package-menu--post-refresh' after any operation that changes
21524 the package database (`package-install' and `package-delete'). To
21525 avoid performance issues in large transactions, these functions
21526 add `post-refresh' to `post-command-hook' instead of calling it
21528 (package-menu--mark-or-notify-upgrades): New function.
21529 (list-packages): Add it to `package--post-download-archives-hook'.
21530 (package-menu--post-refresh): Lose the upgrade-checking code, add
21531 code to remove itself from `post-command-hook'.
21532 (package-install, package-delete): Add it to `post-command-hook'.
21533 (package-menu-execute): Don't call `package-menu--post-refresh'.
21535 2015-06-17 Stephen Leake <stephen_leake@stephe-leake.org>
21537 Add missing function xref-location-group for elisp-mode.
21538 * lisp/progmodes/elisp-mode.el: Add missing function xref-location-group.
21540 2015-06-17 Wolfgang Jenkner <wjenkner@inode.at>
21542 * src/editfns.c (Fbyte_to_position): Fix bytepos not at char boundary.
21543 The behavior now matches the description in the manual. (Bug#20783)
21545 2015-06-17 Xue Fuqiao <xfq.free@gmail.com>
21547 * etc/tutorials/TUTORIAL.cn: Update; synchronize with TUTORIAL.
21549 2015-06-17 Glenn Morris <rgm@gnu.org>
21551 Generate char-script-table from Unicode source. (Bug#20789)
21552 * admin/unidata/Makefile.in (AWK): New, set by configure.
21553 (all): Add charscript.el.
21554 (blocks): New variable.
21555 (charscript.el, ${unidir}/charscript.el): New targets.
21556 (extraclean): Also remove generated charscript.el.
21557 * admin/unidata/blocks.awk: New script.
21558 * admin/unidata/Blocks.txt: New data file, from unicode.org.
21559 * lisp/international/characters.el: Load charscript.
21560 * src/Makefile.in (charscript): New variable.
21561 (${charscript}): New target.
21562 (${lispintdir}/characters.elc): Depend on charscript.elc.
21563 (temacs$(EXEEXT)): Depend on charscript.
21565 * lisp/international/characters.el (char-script-table): Tweak
21566 some ranges to better match the source. (Bug#20789#17)
21568 Remove "no-byte-compile: t" from a few files.
21569 * lisp/obsolete/bruce.el, lisp/obsolete/keyswap.el:
21570 * lisp/obsolete/patcomp.el: No reason not to compile these.
21572 2015-06-16 Glenn Morris <rgm@gnu.org>
21574 Fix some typos in copied Unicode data. (Bug#20789)
21575 * lisp/international/characters.el (char-script-table):
21576 * lisp/international/fontset.el (script-representative-chars)
21577 (setup-default-fontset): Fix typos.
21579 * lisp/emacs-lisp/check-declare.el (check-declare-warn):
21580 Don't print filename twice (it's in the prefix now).
21582 * lisp/emacs-lisp/pcase.el (pcase--u1): Revert earlier workaround.
21585 Address a compilation warning.
21586 * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defalias):
21587 Replace 't' with '_' in pcase.
21589 Address some check-declare warnings.
21590 * lisp/simple.el (tabulated-list-print):
21591 * lisp/progmodes/elisp-mode.el (xref-collect-matches):
21592 * lisp/term/ns-win.el (ns-selection-owner-p, ns-selection-exists-p)
21593 (ns-get-selection): Update declarations.
21595 Address some compilation warnings.
21596 * lisp/elec-pair.el (electric-pair-post-self-insert-function):
21597 * lisp/vc/vc-git.el (vc-git-file-type-as-string):
21598 Replace 't' with '_' in pcase.
21600 Address some compilation warnings.
21601 * lisp/face-remap.el (text-scale-adjust):
21602 * lisp/menu-bar.el (popup-menu-normalize-position):
21603 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand):
21604 * lisp/emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
21605 * lisp/emacs-lisp/generator.el (cps--transform-1):
21606 * lisp/emacs-lisp/macroexp.el (macroexp--expand-all):
21607 * lisp/obsolete/vc-arch.el (vc-arch-mode-line-string):
21608 * lisp/progmodes/octave.el (octave-goto-function-definition)
21609 (octave-find-definition-default-filename):
21610 Replace 't' with '_' in pcase.
21612 * lisp/emacs-lisp/pcase.el (pcase--u1):
21613 Paper-over today's bootstrap failure.
21615 2015-06-16 Nicolas Petton <nicolas@petton.fr>
21617 * lisp/emacs-lisp/seq.el: Fix a byte-compiler warnings related to pcase.
21619 * lisp/emacs-lisp/map.el (map-into): Fix a byte-compiler warning.
21621 Better confirmation message in `find-alternate-file' (Bug#20830)
21622 * lisp/files.el (find-alternate-file'): Improve the confirmation
21623 message to show the buffer name.
21625 Better docstring for null. (Bug#20815)
21626 * src/data.c (null): Improves the docstring, saying what null returns
21627 when OBJECT is non-nil.
21629 2015-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
21631 * lisp/net/newst-treeview.el: Use lexical-binding.
21633 (filepos-to-bufferpos): Add missing cases. Make sure it terminates.
21634 * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
21635 New auxiliary function, extracted from filepos-to-bufferpos.
21636 Make sure it terminates.
21637 (filepos-to-bufferpos): Use it to fix the latin-1-dos case.
21638 Add support for the `exact' quality.
21640 2015-06-16 Cédric Chépied <cedric.chepied@gmail.com>
21642 Identify feeds in newsticker treeview with :nt-feed property
21643 * lisp/net/newst-treeview.el:
21644 (newsticker--treeview-nodes-eq): Use property :nt-feed instead of :tag.
21646 2015-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
21648 * lisp/emacs-lisp/pcase.el: Improve docs and error handling.
21649 (pcase--self-quoting-p): Floats aren't self-quoting.
21650 (pcase): Tweak docstring.
21651 (pcase--u1): Deprecate the t pattern. Improve error detection for
21653 (\`): Tweak docstring. Signal an error for unrecognized cases.
21656 2015-06-16 Eli Zaretskii <eliz@gnu.org>
21658 Fix infloop in filepos-to-bufferpos
21659 * lisp/international/mule-util.el (filepos-to-bufferpos): Fix EOL
21660 offset calculation, and make it conditional on the eol-type of the
21661 file's encoding. (Bug#20825)
21663 2015-06-16 Martin Rudalics <rudalics@gmx.at>
21665 Fix handling of image cache refcounts. (Bug#20802)
21666 This backports Eli Zaretskii's solution of this problem for W32
21668 * src/nsfns.m (image_cache_refcount): Define unconditionally.
21669 (unwind_create_frame): If the image cache's reference count
21670 hasn't been updated yet, do that now.
21671 (Fx_create_frame): Set image_cache_refcount unconditionally.
21672 * src/xfns.c (image_cache_refcount): Define unconditionally.
21673 (unwind_create_frame): If the image cache's reference count
21674 hasn't been updated yet, do that now.
21675 (Fx_create_frame, x_create_tip_frame): Set image_cache_refcount
21677 * src/w32fns.c (image_cache_refcount): Make it a ptrdiff_t as on
21680 2015-06-16 Nils Ackermann <nils@ackermath.info>
21682 Improve reftex-label-regexps default value
21683 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Make
21684 keyvals label regexp more strict to better cope with unbalanced
21685 brackets common in math documents.
21687 2015-06-16 Glenn Morris <rgm@gnu.org>
21689 * doc/emacs/calendar.texi (Format of Diary File):
21690 Move "nonmarking" from here...
21691 (Displaying the Diary): ... to here.
21693 * doc/emacs/calendar.texi (Format of Diary File, Displaying the Diary):
21694 Swap the order of these nodes.
21695 * doc/emacs/emacs.texi: Update detailed menu for the above change.
21697 * doc/emacs/calendar.texi (Specified Dates, Special Diary Entries):
21698 Update date of examples.
21699 (Diary, Format of Diary File): Move example from former to latter.
21700 Reduce duplication.
21702 No need for cp51932.el, eucjp-ms.el to not be compiled any more.
21703 * admin/charsets/cp51932.awk, admin/charsets/eucjp-ms.awk:
21704 Don't set no-byte-compile in the outputs.
21705 * lisp/loadup.el: Don't specify uncompiled cp51932, eucjp-ms.
21707 2015-06-15 Glenn Morris <rgm@gnu.org>
21709 * lisp/calendar/calendar.el (diary-file): Use locate-user-emacs-file.
21710 * doc/emacs/calendar.texi (Diary, Format of Diary File):
21711 Update for above diary-file change.
21713 * lisp/macros.el (name-last-kbd-macro, kbd-macro-query)
21714 (apply-macro-to-region-lines): Use user-error.
21716 * lisp/textmodes/page-ext.el (add-new-page, pages-directory)
21717 (pages-directory-for-addresses): Doc fixes.
21719 2015-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21721 * lisp/info.el: Cleanup bytepos/charpos issues
21722 * lisp/international/mule-util.el: Use lexical-binding.
21723 (filepos-to-bufferpos): New function.
21724 * lisp/info.el (Info-find-in-tag-table-1): Use 0-based file positions.
21725 (Info-find-node-2): Use filepos-to-bufferpos (bug#20704).
21726 (Info-read-subfile, Info-search): Use 0-based file positions.
21728 * lisp/progmodes/perl-mode.el: Refine handling of /re/ and y/abc/def/
21729 (perl--syntax-exp-intro-keywords): New var.
21730 (perl--syntax-exp-intro-regexp, perl-syntax-propertize-function): Use it.
21733 2015-06-15 Paul Eggert <eggert@cs.ucla.edu>
21735 Fix quoting when making derived mode docstring
21736 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
21737 Nest regexp-quote inside format, not the reverse.
21738 Problem reported by Artur Malabarba in:
21739 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00206.html
21741 2015-06-15 Eli Zaretskii <eliz@gnu.org>
21743 Fix current-iso639-language on MS-Windows
21744 * lisp/international/mule-cmds.el (set-locale-environment):
21745 Downcase the locale name before interning it. This is so the
21746 'current-iso639-language' on MS-Windows matches the ':lang'
21747 property of font-spec objects.
21749 Limit Symbola usage some more
21750 * lisp/international/fontset.el (setup-default-fontset): Limit
21751 Symbol coverage of Currency Symbols to u+20B6..u+20CF.
21754 2015-06-15 Nicolas Petton <nicolas@petton.fr>
21756 * lisp/emacs-lisp/map.el (map-let): Better docstring.
21758 2015-06-15 Paul Eggert <eggert@cs.ucla.edu>
21760 * test/automated/help-fns.el (abc\\\[universal-argument\]b\`c\'d\\e\"f):
21761 (help-fns-test-funny-names): Spelling fixes.
21763 2015-06-14 Glenn Morris <rgm@gnu.org>
21765 * lisp/version.el (emacs-repository-version-git): Demote errors.
21766 Check result is a hash.
21768 2015-06-14 Artur Malabarba <bruce.connor.am@gmail.com>
21770 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
21771 Catch errors that happen before going async. (Bug#20809)
21773 2015-06-14 Eli Zaretskii <eliz@gnu.org>
21775 Another improvement of documentation of set-fontset-font
21776 * doc/lispref/display.texi (Fontsets): Say explicitly that
21777 CHARACTER can be a single codepoint.
21778 * src/fontset.c (Fset_fontset_font): Doc fix.
21780 Another improvement for symbol and punctuation characters
21781 * lisp/international/fontset.el (setup-default-fontset): Exclude
21782 from Symbola character ranges for symbols and punctuation covered
21783 well by popular Unicode fonts. Prefer fixed-misc Unicode font, if
21784 installed and where its coverage of symbols and punctuation is
21785 known to be good. (Bug#20727)
21787 2015-06-14 Christoph Wedler <christoph.wedler@sap.com>
21789 Some generic support for multi-mode indentation.
21790 * lisp/progmodes/prog-mode.el (prog-indentation-context):
21792 (prog-first-column, prog-widen): New convenience functions.
21794 2015-06-14 Artur Malabarba <bruce.connor.am@gmail.com>
21796 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
21797 Don't assume that `tabulated-list-printer' will leave point at the
21798 end of the buffer. (Bug#20810)
21800 2015-06-13 Glenn Morris <rgm@gnu.org>
21802 Tweaks for getting repository version; a bit more like it was for bzr
21803 * lisp/version.el (emacs-repository-version-git)
21804 (emacs-repository--version-git-1): New functions,
21805 split from emacs-repository-get-version.
21806 (emacs-repository-get-version): Make the second argument meaningful.
21808 * lisp/startup.el (command-line-1): Inform if skipping relative
21809 file names due to deleted PWD.
21811 * src/xsmfns.c (x_session_initialize): Avoid libSM crash
21812 when starup directory is missing. (Bug#18851)
21813 (errno.h): Include it.
21815 2015-06-13 Paul Eggert <eggert@cs.ucla.edu>
21817 Better fix for documenting `X as "`X"
21818 Fix suggested by Stefan Monnier.
21819 * lisp/help-fns.el (help-fns--signature):
21820 Insert "`X", not "(\` X)", when documenting `X (Bug#20759).
21821 * lisp/help.el (help-split-fundoc, help--make-usage-docstring):
21822 Don't treat `X specially, as help-fns--signature now handles this.
21824 2015-06-13 Eli Zaretskii <eliz@gnu.org>
21826 Improve the default fontset when Symbola is not installed
21827 * lisp/international/fontset.el (setup-default-fontset): Only
21828 prepend Symbola and FreeMono font specs for symbols and
21829 punctuation; do not replace the default spec for them. This
21830 should have better results when Symbola/FreeMono are not
21831 installed. (Bug#20727)
21833 Improve documentation of ':lang' in font specs
21834 * src/font.c (Ffont_spec): Doc fix: elaborate on the values and
21835 use of the ':lang' property of the font spec.
21836 * doc/emacs/frames.texi (Fonts): Document the language names that
21837 can be in the STYLE part of XLFD.
21838 * doc/lispref/display.texi (Low-Level Font): Document the ':lang'
21841 * nt/README: Don't advertise the (obsolescent) w32 FAQ.
21843 * nt/README.W32: Don't advertise the (obsolescent) w32 FAQ.
21845 Revert last change in fontset.el
21846 * lisp/international/fontset.el (setup-default-fontset): Revert
21847 the change "Configure Symbola font only if installed", since font
21848 search is evidently not yet set up when this function is called.
21851 2015-06-12 Glenn Morris <rgm@gnu.org>
21853 Ensure early startup warnings are visible at the end. (Bug#20792)
21854 * lisp/emacs-lisp/warnings.el (display-warning):
21855 If startup isn't complete, delay the warning.
21856 * lisp/startup.el (normal-top-level, command-line):
21857 Let display-warning automatically handle the needed delays.
21858 Run delayed-warnings-hook.
21860 * lisp/version.el (emacs-repository-get-version):
21861 Avoid calling external executable if possible. (Bug#20799)
21863 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
21865 Document `X as "`X", not as "(` X)"
21866 * lisp/help.el (help-split-fundoc, help--make-usage-docstring):
21867 Document (backquote FOO) as "`FOO", not as "(` FOO)" (Bug#20759).
21869 * src/print.c (print_object): Minor simplification.
21871 2015-06-12 Glenn Morris <rgm@gnu.org>
21873 * src/buffer.c (init_buffer): Add final newline to message.
21875 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
21877 Configure Symbola font only if installed
21878 * lisp/international/fontset.el (setup-default-fontset):
21879 Don't specify the Symbola font if it's not installed.
21880 Likewise for FreeMono. (Bug#20727)
21882 2015-06-12 Eli Zaretskii <eliz@gnu.org>
21884 Configure Symbola font only for symbols and punctuation
21885 * lisp/international/fontset.el (setup-default-fontset): Leave
21886 only symbols and punctuation in the fontset setup for Symbola
21887 font; remove "Greek and Coptic" and "Cyrillic Supplement".
21890 2015-06-12 Andreas Schwab <schwab@linux-m68k.org>
21892 Fix crash in fontset-info
21893 * src/fontset.c (Ffontset_info): Check that the RFONT-DEF elt is
21896 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
21898 Port to Solaris 10 sparc + Sun C 5.13
21899 * configure.ac (SETUP_SLAVE_PTY) [sol2* | unixware]:
21900 Adjust to process.c change.
21901 * src/process.c (create_process): Declare volatile variables at
21902 top level of this function, so that they're less likely to be
21903 reused later in the function in the code executed by the vforked
21904 child. Do not declare locals used only in the vforked child, as
21905 they might share memory with locals still live in the parent.
21906 Instead, use the same variables in the child as in the parent.
21907 This works around a subtle bug that causes a garbage collector
21908 crash when Emacs is built with Sun C 5.13 sparc on Solaris 10.
21910 2015-06-12 Glenn Morris <rgm@gnu.org>
21912 * lisp/startup.el (normal-top-level): Don't let *Messages* get
21913 a nil default-directory.
21915 2015-06-11 Glenn Morris <rgm@gnu.org>
21917 * lisp/startup.el (normal-top-level): Use delay-warning. (Bug#20792)
21919 Some progress towards starting with PWD deleted. (Bug#18851)
21920 * src/buffer.c (init_buffer): Handle get_current_dir_name failures.
21921 * lisp/startup.el (normal-top-level, command-line-1):
21922 * lisp/minibuffer.el (read-file-name-default):
21923 Handle default-directory being nil.
21925 2015-06-11 Paul Eggert <eggert@cs.ucla.edu>
21927 Fix "not a tty" bug on Solaris 10
21928 * configure.ac (PTY_OPEN): Define to plain 'open'
21929 on SVR4-derived hosts, so that the O_CLOEXEC flag isn't set.
21930 * src/process.c (allocate_pty): Set the O_CLOEXEC flag after
21931 calling PTY_TTY_NAME_SPRINTF, for the benefit of SVR4-derived
21932 hosts that call grantpt which does its work via a setuid subcommand
21933 (Bug#19191, Bug#19927, Bug#20555, Bug#20686).
21934 Also, set O_CLOEXEC even if PTY_OPEN is not defined, since it
21935 seems relevant in that case too.
21937 2015-06-11 Juri Linkov <juri@linkov.net>
21939 * lisp/bindings.el (debug-ignored-errors): Add mark-inactive.
21940 * lisp/simple.el (kill-region): Replace 'error' with 'user-error'.
21943 2015-06-11 Glenn Morris <rgm@gnu.org>
21945 * lisp/international/characters.el (char-script-table): Fix typo.
21947 2015-06-11 Paul Eggert <eggert@cs.ucla.edu>
21949 Fix quoting of help for functions with odd names
21950 While investigating Bug#20759, I discovered other quoting problems:
21951 C-h f mishandled characters like backslash and quote in function names.
21952 This fix changes the behavior so that 'C-h f pcase RET' now
21953 generates "... (\` QPAT) ..." instead of "... (` QPAT) ...",
21954 because '(format "%S" '(` FOO))' returns "(\\` FOO)". A comment
21955 in src/lread.c's read1 function says that the backslash will be
21956 needed starting in Emacs 25, which implies that 'format' is
21957 correct and the old pcase documention was wrong to omit the backslash.
21958 * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
21959 * lisp/help-fns.el (help-fns--signature):
21960 * lisp/help.el (help-add-fundoc-usage):
21961 * lisp/progmodes/elisp-mode.el (elisp-function-argstring):
21962 Use help--make-usage-docstring rather than formatting
21964 * lisp/emacs-lisp/pcase.el (pcase--make-docstring):
21965 Return raw docstring.
21966 * lisp/help-fns.el (help-fns--signature): New arg RAW, to return
21967 raw docstring. Take more care to distinguish raw from cooked dstrings.
21968 (describe-function-1): Let help-fns--signature substitute
21970 * lisp/help.el (help--docstring-quote): New function.
21971 (help-split-fundoc): Use it, to quote funny characters more
21973 (help--make-usage): Rename from help-make-usage, since this
21974 should be private. Leave an obsolete alias for the old name.
21975 (help--make-usage-docstring): New function.
21976 * test/automated/help-fns.el (help-fns-test-funny-names): New test.
21978 2015-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
21980 * lisp/thingatpt.el (in-string-p): Revert last change,
21981 since in-string-p is not used in thingatpt.el but only from outside.
21982 Also, use lexical binding.
21984 2015-06-11 Artur Malabarba <bruce.connor.am@gmail.com>
21986 * lisp/emacs-lisp/let-alist.el (let-alist--deep-dot-search): Fix cons.
21987 * test/automated/let-alist.el (let-alist-cons): Test it.
21989 2015-06-11 Nicolas Richard <theonewiththeevillook@yahoo.fr>
21991 * src/syntax.c (Fbackward_prefix_chars): Reword docstring.
21993 2015-06-10 Glenn Morris <rgm@gnu.org>
21995 * build-aux/gitlog-to-emacslog: Also ignore pointless merge commits.
21997 Improve generated ChangeLog for gitmerge.el commits. (Bug#20717)
21998 * build-aux/gitlog-to-changelog: Handle gitmerge.el skipped commits.
21999 * admin/gitmerge.el (gitmerge-commit-message):
22000 Exclude "skipped" messages from ChangeLog once again.
22002 Slight namespace cleanup for thingatpt.el.
22003 * lisp/thingatpt.el (thing-at-point--in-string-p)
22004 (thing-at-point--end-of-sexp, thing-at-point--beginning-of-sexp)
22005 (thing-at-point--read-from-whole-string): Rename from
22006 old versions without "thing-at-point--" prefix.
22007 Keep old versions as obsolete aliases. Update all uses.
22009 * lisp/emacs-lisp/checkdoc.el (checkdoc-get-keywords):
22010 Move requiring of finder from here...
22011 (checkdoc-package-keywords): ... to here.
22013 Use 'user-error' in a few calendar files.
22014 * lisp/calendar/appt.el (appt-add):
22015 * lisp/calendar/calendar.el (calendar-absolute-from-gregorian)
22016 (calendar-generate):
22017 * lisp/calendar/diary-lib.el (diary-mail-entries, diary-cyclic):
22018 Replace 'error' with 'user-error'.
22020 * lisp/progmodes/f90.el (f90-backslash-not-special): Use user-error.
22022 * lisp/files-x.el (add-file-local-variable):
22023 Special-case 'lexical-binding'. (Bug#20641)
22025 * lisp/progmodes/executable.el (executable-self-display): Obsolete.
22026 No longer autoload.
22027 * doc/misc/autotype.texi (Executables):
22028 Undocument executable-self-display.
22030 * lisp/progmodes/executable.el (executable-self-display):
22031 Use non-obsolete tail syntax. (Bug#20779)
22032 (executable-self-display): Doc update.
22034 2015-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
22036 * lisp/emacs-lisp/checkdoc.el: Use lexical-binding
22037 (finder-known-keywords): Silence byte-compiler.
22039 2015-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
22041 * lisp/simple.el (eval-expression): Macroexpand before evaluating
22044 * lisp/progmodes/sh-script.el: Better handle nested quotes.
22045 (sh-here-doc-open-re): Don't mis-match the <<< operator (bug#20683).
22046 (sh-font-lock-quoted-subshell): Make sure double quotes within single
22047 quotes don't mistakenly end prematurely the surrounding string.
22049 * lisp/progmodes/elisp-mode.el: Require cl-lib for cl-defstruct.
22051 2015-06-09 Glenn Morris <rgm@gnu.org>
22053 * test/automated/Makefile.in (ELFILES): Sort.
22055 * Makefile.in (SUBDIR_MAKEFILES):
22056 * lwlib/Makefile.in (WARN_CFLAGS):
22057 Use built-in Make functions rather than echo+sed.
22059 2015-06-09 Eli Zaretskii <eliz@gnu.org>
22061 Update char-script-table
22062 * lisp/international/characters.el (char-script-table): Update
22063 from Unicode 8.0 Draft.
22065 Improve font selection for punctuation and other symbols
22066 * src/fontset.c (face_for_char): If the character's script is
22067 'symbol', and the font used for ASCII face has a glyph for it, use
22068 the font for the ASCII face instead of searching the fontsets.
22069 This comes instead of NS-specific code that used the current
22070 face's font instead, which is now disabled due to undesirable
22071 consequences. (Bug#20727)
22073 2015-06-08 Dmitry Gutov <dgutov@yandex.ru>
22075 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
22076 Skip past `#' to find BEG (bug#20771).
22077 * test/automated/elisp-mode-tests.el
22078 (elisp-completes-functions-after-hash-quote): New test.
22080 2015-06-08 Eli Zaretskii <eliz@gnu.org>
22082 Fix compilation warning/error in --without-x builds
22083 * src/xdisp.c (append_space_for_newline): Condition GUI-specific
22084 code on HAVE_WINDOW_SYSTEM.
22086 Improve the default fontset wrt symbols
22087 * lisp/international/fontset.el (setup-default-fontset): Better
22088 setup of fontset-default for symbols: use Symbola and FreeMono.
22091 2015-06-08 Oleh Krehel <ohwoeowho@gmail.com>
22093 Add new command checkdoc-package-keywords
22094 * lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag):
22096 (checkdoc-list-of-strings-p): Add doc.
22097 (checkdoc-current-buffer): When `checkdoc-package-keywords-flag' is
22098 non-nil, call `checkdoc-package-keywords'.
22099 (checkdoc-get-keywords): New defun.
22100 (checkdoc-package-keywords): New command. Warns if the current file
22101 has package.el-style keywords that aren't in `finder-known-keywords'.
22102 * etc/NEWS: Add entry.
22104 2015-06-08 Eli Zaretskii <eliz@gnu.org>
22106 Avoid crashes when key-binding is called from a timer
22107 * src/keymap.c (Fkey_binding): Don't segfault if called with an
22108 empty vector as KEY. (Bug#20705)
22110 Fix a thinko in arc-mode.el
22111 * lisp/arc-mode.el (archive-zip-summarize): Fix last change in the
22112 non-Zip64 case. (Bug#20769)
22114 2015-06-08 Artur Malabarba <bruce.connor.am@gmail.com>
22116 * lisp/emacs-lisp/package.el (package-delete): Make interactive.
22118 2015-06-08 Oleh Krehel <ohwoeowho@gmail.com>
22120 * lisp/emacs-lisp/checkdoc.el (checkdoc-file): New function.
22121 (checkdoc-error): When `checkdoc-diagnostic-buffer' is set to
22122 "*warn*", print the warning to the standard output. (bug#20754)
22124 2015-06-07 Glenn Morris <rgm@gnu.org>
22126 * admin/update_autogen (changelog_files): Remove gitlog-to-emacslog.
22128 * src/font.c (syms_of_font) <font-log>: Doc fix.
22130 Remove the obsolete leading "*" from some C doc strings.
22131 * src/coding.c (syms_of_coding):
22132 * src/font.c (syms_of_font): Remove leading "*" from docs.
22133 * lisp/cus-start.el (enable-character-translation): Add it.
22135 2015-06-07 Paul Eggert <eggert@cs.ucla.edu>
22137 Move gen_origin from program to data
22138 That way, 'make change-history' needs to change only ChangeLog.2,
22139 instead of having to change two files.
22140 * ChangeLog.2: Add commit info for range that this file covers.
22141 * Makefile.in (new_commit_regexp): New macro.
22142 (change-history-nocommit): Simplify, by putting what used to be
22143 the gen_origin value into the data (ChangeLog.2) rather than
22144 into the program (gitlog-to-emacslog).
22145 * build-aux/gitlog-to-emacslog (gen_origin): Calculate from
22146 the input file (e.g., ChangeLog.2) rather than by having a
22147 constant in the program. Substitute it into the output.
22149 2015-06-07 Dmitry Gutov <dgutov@yandex.ru>
22151 * lisp/help-fns.el (help-fns--signature): Quote any quotes in the
22152 function name (bug#20759).
22154 2015-06-07 Eli Zaretskii <eliz@gnu.org>
22156 Adapt 'struct timespec' to next release of MinGW runtime
22157 * nt/inc/ms-w32.h (struct timespec): Don't declare if
22158 __struct_timespec_defined is defined.
22160 2015-06-06 Paul Eggert <eggert@cs.ucla.edu>
22164 2015-06-06 acl-permissions: pacify -Wsuggest-attribute=const
22165 2015-06-05 stdio: Don't redefine gets when using C++
22166 2015-06-05 acl-permissions: port to AIX, C89 HP-UX
22167 2015-06-02 file-has-acl: fix build on Mac OS X 10
22168 2015-06-01 gnulib-tool: concatenate lib_SOURCES to a single line
22169 2015-06-01 pthread_sigmask: discount system version if a simple macro
22170 2015-05-31 readlinkat: avoid OS X 10.10 trailing slash bug
22171 * doc/misc/texinfo.tex, lib/acl-internal.h, lib/get-permissions.c:
22172 * lib/readlinkat.c, lib/set-permissions.c, lib/stdio.in.h:
22173 * m4/acl.m4, m4/pthread_sigmask.m4, m4/readlinkat.m4: Copy from gnulib.
22174 * lib/gnulib.mk: Regenerate.
22176 2015-06-06 Juri Linkov <juri@linkov.net>
22178 * lisp/progmodes/grep.el (zrgrep): Let-bind grep-highlight-matches
22179 before calling grep-compute-defaults because now it affects the
22180 command lines computed in grep-compute-defaults. (Bug#20728)
22182 2015-06-06 Glenn Morris <rgm@gnu.org>
22184 Address some compilation warnings.
22185 * lisp/international/mule-cmds.el (w32-get-console-codepage)
22186 (w32-get-console-output-codepage):
22187 * lisp/progmodes/elisp-mode.el (xref-collect-references):
22188 * lisp/version.el (cairo-version-string): Declare.
22189 * lisp/erc/erc.el (erc-nickname-in-use): Fix typo.
22191 2015-06-06 Eli Zaretskii <eliz@gnu.org>
22193 Fix display when a font claims large values of ascent and descent
22194 This fixes bug#20628.
22195 * src/xdisp.c (get_phys_cursor_geometry): Correct the Y
22196 coordinate of a hollow cursor glyph when the original glyph's
22197 ascent is too small.
22198 (get_font_ascent_descent, normal_char_ascent_descent)
22199 (normal_char_height): New functions.
22200 (handle_single_display_spec, append_space_for_newline)
22201 (calc_pixel_width_or_height, produce_stretch_glyph)
22202 (calc_line_height_property): Use normal_char_ascent_descent and
22203 normal_char_height.
22204 (x_produce_glyphs): When font-global values of ascent and descent
22205 are too large, use per-character glyph metrics instead, if
22206 possible. But don't allow the glyph row's ascent and descent
22207 values become smaller than the values from the metrics of the
22208 font's "normal" character.
22209 * src/xftfont.c (xftfont_draw):
22210 * src/w32font.c (w32font_draw): Correct the values of ascent and
22211 descent used to draw glyphless characters' hex code in a box.
22212 * src/xterm.c (x_draw_glyph_string_background):
22213 * src/xdisp.c (x_produce_glyphs):
22214 * src/w32term.c (x_draw_glyph_string_background):
22215 * src/nsterm.m (ns_maybe_dumpglyphs_background): Use FONT_TOO_HIGH
22216 to detect fonts whose global ascent and descent values are too
22217 large to be used in layout decision, and redraw the background
22219 * src/dispextern.h (FONT_TOO_HIGH): New macro.
22220 (get_font_ascent_descent): Add prototype.
22221 * src/xterm.c (x_new_font):
22222 * src/w32term.c (x_new_font):
22223 * src/nsterm.m (x_new_font):
22224 * src/font.c (font_open_entity):
22225 * src/composite.c (composition_gstring_width):
22226 Use get_font_ascent_descent to obtain reasonable values for ascent
22227 and descent of a font.
22229 2015-06-06 Nicolas Richard <youngfrog@members.fsf.org>
22231 Add assertion in adjust_point_for_property
22232 * src/keyboard.c (adjust_point_for_property): Add eassert for
22233 current buffer being shown in selected window.
22235 2015-06-06 Dmitry Gutov <dgutov@yandex.ru>
22237 Replace uses of in-string-p; make it obsolete
22238 * lisp/thingatpt.el (in-string-p): Declare obsolete (bug#20732).
22239 (end-of-sexp, beginning-of-sexp): Use syntax-ppss instead.
22241 2015-06-06 Eli Zaretskii <eliz@gnu.org>
22243 Fix Dired display of an explicit list of files by ls-lisp.el
22244 * lisp/ls-lisp.el (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt)
22245 (ls-lisp-gid-d-fmt, ls-lisp-gid-s-fmt): Make the initial values be
22246 correct for when displaying individual files separately, not as
22247 part of listing a directory, in which case these values are not
22248 recomputed by 'ls-lisp-insert-directory', but used verbatim.
22250 * lisp/dired.el (dired): Doc fix. (Bug#20739)
22252 2015-06-06 Nicolas Richard <youngfrog@members.fsf.org>
22254 Do not adjust point in a non-selected window
22255 * src/keyboard.c (command_loop_1): Do not adjust point when
22256 current buffer is not shown in selected window (Bug#20590).
22258 * etc/DEBUG: Mention 'maybe_call_debugger'
22260 2015-06-05 Nicolas Petton <nicolas@petton.fr>
22262 Fix a unit test for map.el
22263 * test/automated/map-tests.el (test-map-let): Fix the test to work
22264 with the new syntax of `map-let'.
22266 * lisp/emacs-lisp/map.el (map-let): Better docstring.
22268 Better syntax for the map pcase pattern
22269 * lisp/emacs-lisp/map.el: Improves the map pcase pattern to take
22270 bindings of the form (KEY PAT) or SYMBOL. KEY is not quoted.
22272 * lisp/emacs-lisp/map.el (map--dispatch): Better docstring.
22274 Fix a byte-compiler error in map-put and map-delete
22275 * lisp/emacs-lisp/map.el (map-put, map-delete): Ensure that `setq' is
22276 called with a symbol.
22278 2015-06-05 Glenn Morris <rgm@gnu.org>
22280 * admin/gitmerge.el (gitmerge-commit-message):
22281 Revert to including "skipped" messages in ChangeLog once again.
22283 2015-06-05 Tassilo Horn <tsdh@gnu.org>
22285 Use string> instead of equiv lambda with string<
22286 * lisp/help.el (view-emacs-news): Use string> instead of equivalent
22287 lambda with string<.
22289 2015-06-05 Glenn Morris <rgm@gnu.org>
22291 * lisp/emacs-lisp/map.el (map--dispatch): Move before use.
22292 (map--delete-array): Fix typo.
22294 * test/automated/map-tests.el: Replace "assert" with "should".
22296 * lisp/Makefile.in (SUBDIRS): Rename from SUBDIRS_ABS.
22297 (SUBDIRS_REL): Derive from SUBDIRS.
22299 Tweak some build messages.
22300 * lisp/Makefile.in ($(lisp)/loaddefs.el):
22301 * lisp/cus-dep.el (custom-make-dependencies):
22302 * lisp/finder.el (finder-compile-keywords): Say what we are doing.
22303 * lisp/international/titdic-cnv.el (batch-titdic-convert):
22304 Don't say how to compile.
22306 2015-06-05 Paul Eggert <eggert@cs.ucla.edu>
22308 Omit U+0332 COMBINING LOW LINE in previous change
22309 It turns out that it does not work on Ubuntu 15.04.
22311 Fix transliteration of Bahá'í months
22312 * lisp/calendar/cal-bahai.el (calendar-bahai-month-name-array):
22313 Improve quality of Latin transliteration of Bahá'í month names.
22315 Fix curved quotes in a few places
22316 * lisp/calc/calc-misc.el (calc-help): Fix quoting.
22317 The strings in question are not doc strings, so this partially
22318 undoes the recent change that assumed they were doc strings.
22319 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
22320 * lisp/info.el (Info-finder-find-node):
22322 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
22323 Also allow curved quotes in doc strings.
22325 2015-06-04 Glenn Morris <rgm@gnu.org>
22327 * lisp/Makefile.in (AM_V_at): Add missing definition.
22329 * lisp/Makefile.in: Quieten output a bit.
22330 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el):
22331 Don't echo directories, since the commands we invoke print them.
22333 * lisp/Makefile.in: Replace shell fragments in variables with $(shell).
22334 (SUBDIRS_REL, SUBDIRS_ABS, SUBDIRS_ALMOST, SUBDIRS_FINDER)
22335 (SUBDIRS_SUBDIRS): New variables.
22336 (setwins, setwins_almost, setwins_finder, setwins_for_subdirs):
22338 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el, $(lisp)/loaddefs.el)
22339 (update-subdirs, compile-main, compile-clean):
22340 Replace "setwins" usage with new "SUBDIRS" variables.
22342 * lisp/vc/compare-w.el (compare-windows-get-window-function):
22345 2015-06-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22347 * src/ftfont.c (ftfont_open2): Round divisions by upEM.
22349 Undo removal of x_clear_area call on expose for GTK3 or cairo
22350 * src/xterm.c (handle_one_xevent) [HAVE_GTK3 || USE_CAIRO]:
22351 Clear exposed area. (Bug#20677)
22353 2015-06-04 Glenn Morris <rgm@gnu.org>
22355 * doc/lispref/hash.texi (Creating Hash): Remove obsolete makehash.
22357 * lisp/Makefile.in (check-defun-dups): Also skip ldefs-boot.
22359 * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
22360 Rename from quail-lao-update-translation, since lao.el defines that.
22362 2015-06-04 Dmitry Gutov <dgutov@yandex.ru>
22364 Handle new-style advice in find-funct
22365 * lisp/emacs-lisp/find-func.el (find-function-advised-original):
22366 Handle new-style advice. Return the symbol's function definition.
22368 (find-function-library): Update accordingly.
22370 2015-06-04 Nicolas Petton <nicolas@petton.fr>
22374 * lisp/emacs-lisp/map.el: Better docstring for the map pcase macro.
22376 Add new function string-greaterp
22377 * lisp/subr.el (string-greaterp): New function. Also aliased to
22379 * test/automated/subr-tests.el (string-comparison-test): Add unit
22380 tests for `string>'and `string<'.
22381 * src/fns.c (string-lessp): Better docstring.
22383 2015-06-04 Eli Zaretskii <eliz@gnu.org>
22385 Fix timezone-related functions on MS-Windows
22386 * src/editfns.c (set_time_zone_rule) [WINDOWSNT]: Always call
22387 'xputenv', even if no reallocation of tzvalbuf was necessary.
22388 This fixes a bug in timezone-related functions on MS-Windows.
22389 Reported by Fabrice Popineau <fabrice.popineau@gmail.com>.
22391 2015-06-03 Paul Eggert <eggert@cs.ucla.edu>
22393 Don't pass raw directory name to 'error'
22394 * lisp/files.el (basic-save-buffer-2): Avoid format error if
22395 a directory name contains a string like "%s".
22397 2015-06-03 Dmitry Gutov <dgutov@yandex.ru>
22399 Override 'grep --color=always'
22400 * lisp/progmodes/xref.el (xref-collect-matches):
22401 Override --color=always in grep-find-template.
22403 2015-06-03 Michael Albinus <michael.albinus@gmx.de>
22405 Fix error introduced recently in file-notify-tests.el
22406 * test/automated/file-notify-tests.el
22407 (file-notify--test-remote-enabled): Do not use `file-notify--test-desc'.
22408 (file-notify--deftest-remote): Revert previous patch, not
22411 2015-06-03 Wolfgang Jenkner <wjenkner@inode.at>
22413 * src/indent.c (Fvertical_motion): Amend motion by 0 lines.
22414 Starting from a display string after a newline, point went to the
22415 previous line. Also, fix an inadvertent use of a buffer position
22416 with FETCH_BYTE. (Bug#20701)
22418 2015-06-03 Michael Albinus <michael.albinus@gmx.de>
22420 Instrument file-notify-test.el in order to catch hydra error
22421 * test/automated/file-notify-tests.el (file-notify--deftest-remote):
22422 Wrap body by `ignore-case', in order to trap non-local errors.
22424 2015-06-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22426 Undo previous changes in non-toolkit scroll bar drawing
22427 * src/xterm.c (x_scroll_bar_set_handle, x_scroll_bar_expose)
22428 [!USE_TOOLKIT_SCROLL_BARS]: Draw into scroll bar window. (Bug#20668)
22430 2015-06-03 Paul Eggert <eggert@cs.ucla.edu>
22432 * .gitignore: Also ignore doc/*/*/*.html and .ps.
22434 Support quotes 'like this' in info files
22435 This is possible when 'makeinfo --disable-encoding' is used
22437 * lisp/calc/calc-help.el (calc-describe-thing):
22438 * lisp/gnus/gnus-art.el (gnus-button-alist):
22439 * lisp/info.el (Info-find-index-name):
22440 * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
22441 Also support quotes 'like this'.
22442 * lisp/calc/calc-help.el (calc-describe-thing): Simplify.
22443 * lisp/finder.el (finder-font-lock-keywords): Remove var that
22444 hasn't been used in years, instead of bothering to fix its quoting.
22446 2015-06-02 Paul Eggert <eggert@cs.ucla.edu>
22448 * .gitignore: Remove !test/etags/html-src/*.html.
22449 It's no longer needed, since *.html was removed. Sort.
22451 2015-06-02 Dmitry Gutov <dgutov@yandex.ru>
22453 Restore <D> instead of '.' in grep-find-template
22454 * lisp/cedet/semantic/symref/grep.el
22455 (semantic-symref-grep-use-template): Update a comment.
22456 * lisp/progmodes/grep.el (grep-compute-defaults): Restore <D>
22457 instead of '.' in grep-find-template (bug#20719).
22458 (rgrep): Pass nil as the directory to rgrep-default-command.
22459 * lisp/progmodes/grep.el (grep-expand-keywords): Use '.' as the
22460 default value for DIR.
22461 * lisp/progmodes/xref.el (xref-collect-matches): Drop the
22464 2015-06-02 Glenn Morris <rgm@gnu.org>
22466 * configure.ac (emacs_config_features): Add X toolkit and scroll-bars.
22468 * configure.ac (emacs_config_features): Add Cairo.
22470 * configure.ac [HAVE_GTK3]: Remove USE_CAIRO that gets reset later.
22472 2015-06-02 Michael Albinus <michael.albinus@gmx.de>
22474 Ensure that autorevert works for remote files in file-notify-tests.el
22475 * test/automated/file-notify-tests.el (file-notify--test-desc):
22477 (file-notify--test-remote-enabled)
22478 (file-notify-test00-availability, file-notify-test01-add-watch)
22479 (file-notify-test02-events): Use it.
22480 (file-notify--test-event-test): Check proper descriptor.
22481 (file-notify-test03-autorevert): Ensure that
22482 `visited-file-modtime' has changed. (Bug#20392)
22484 2015-06-02 Nicolas Petton <nicolas@petton.fr>
22486 Add a pcase pattern for maps and `map-let' based on it
22487 * lisp/emacs-lisp/map.el (map-let): New macro.
22488 (map--make-pcase-bindings, map--make-pcase-patterns): New functions.
22489 * test/automated/map-tests.el: New test for `map-let'.
22491 2015-06-02 Dmitry Gutov <dgutov@yandex.ru>
22493 Reuse rgrep mechanics in xref-find-regexp
22494 * lisp/progmodes/grep.el (rgrep-default-command):
22495 Extract from `rgrep'.
22496 * lisp/progmodes/xref.el (xref-collect-references): Split from
22497 `xref-collect-matches'. Only handle the case of symbol search.
22498 (xref-collect-matches): Instead of Semantic Symref, use
22499 `rgrep-default-command', to take advantage of its directory and
22500 file ignore settings.
22501 (xref--collect-match): Remove the last argument, leaving the
22502 regexp construction up to the caller.
22503 * lisp/progmodes/elisp-mode.el (elisp--xref-find-matches):
22504 Change to take the xref-collect- function to use as an argument.
22505 (elisp-xref-find): Update accordingly.
22506 * lisp/progmodes/etags.el (etags--xref-find-matches)
22507 (etags-xref-find): Same.
22509 Move xref-elisp-location to elisp-mode.el
22510 * lisp/progmodes/xref.el (xref-elisp-location)
22511 (xref-make-elisp-location, xref-location-marker): Remove here.
22512 (xref--xref): Don't limit the type of the location slot.
22513 * lisp/progmodes/elisp-mode.el (xref-elisp-location):
22514 Define as a cl-struct here.
22515 (xref-location-marker): Move here.
22517 2015-06-02 Eli Zaretskii <eliz@gnu.org>
22519 Minor tweaks for .gitignore
22520 * .gitignore: Don't ignore versioned *.html and *.ps files.
22521 Don't ignore admin/notes/tags that might be ignored as TAGS
22522 on case-insensitive filesystems. (Bug#20710)
22524 2015-06-02 Paul Eggert <eggert@cs.ucla.edu>
22526 Generate curved quotes in ert doc
22527 * lisp/emacs-lisp/ert.el (ert--print-test-for-ewoc)
22528 (ert-results-mode-menu)
22529 (ert-results-pop-to-backtrace-for-test-at-point)
22530 (ert-results-pop-to-messages-for-test-at-point)
22531 (ert-results-pop-to-should-forms-for-test-at-point)
22532 (ert-describe-test):
22533 Quote ‘like this’, not `like this', when generating doc strings
22535 * test/automated/ert-x-tests.el (ert-test-describe-test):
22536 Allow quoting ‘like this’.
22538 2015-06-02 Nicolas Richard <youngfrog@members.fsf.org>
22540 Add test for previous commit
22541 * test/automated/replace-tests.el: New file.
22542 (query-replace--split-string-tests): Add test for previous commit.
22544 Avoid confusion in query-replace history when replacing NUL chars
22545 * lisp/replace.el (query-replace--split-string): New function.
22546 (query-replace-read-from): Rely on the 'separator' property
22547 instead of searching for the NUL character (Bug#20690).
22549 2015-06-02 Glenn Morris <rgm@gnu.org>
22551 Merge from origin/emacs-24
22552 8b5f2f4 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
22554 * admin/gitmerge.el (gitmerge-commit-message):
22555 Exclude "skipped" messages from ChangeLog.
22557 2015-06-01 Michael Albinus <michael.albinus@gmx.de>
22559 Sync with Tramp repository
22560 * lisp/net/tramp.el (tramp-message): Dump connection buffer error
22562 (tramp-handle-make-auto-save-file-name): When calling
22563 `make-auto-save-file-name' internally, make sure it uses Unix-like
22564 behavior, not Windows-like behavior.
22565 * lisp/net/tramp-sh.el (tramp-set-file-uid-gid): Add a timeout for
22566 the local case, because "chown" might fail on w32.
22567 * lisp/net/trampver.el (tramp-repository-get-version): Don't run
22570 2015-06-01 Eli Zaretskii <eliz@gnu.org>
22572 MS-Windows followup for batch stdout/stderr output changes
22573 * lisp/international/mule-cmds.el (set-locale-environment):
22574 In batch mode, use console codepages for keyboard and terminal
22575 encoding. (Bug#20545)
22577 Update .gitattributes for DOS EOL files
22578 * .gitattributes: Use "whitespace=cr-at-eol" for files with DOS
22579 CRLF end-of-line format.
22581 NS equivalents of xterm.c and w32term.c changes
22582 * src/nsterm.m (ns_maybe_dumpglyphs_background): Force redraw of
22583 glyph string background also when the font in use claims
22584 preposterously large global height value. Helps to remove
22585 artifacts left from previous displays when glyphless characters
22586 are displayed as hex code in a box.
22587 (x_new_font): Call get_font_ascent_descent to obtain a reasonable
22588 value for FRAME_LINE_HEIGHT, even when a font claims very large
22589 value for its height.
22591 2015-06-01 Paul Eggert <eggert@cs.ucla.edu>
22593 Avoid grave accent quoting in stderr diagnostics
22594 A few Emacs diagnostics go directly to stderr, and so can't easily
22595 contain curved quotes (as non-UTF-8 locales might mishandle them).
22596 Instead of bothering to add support for this rarity, reword the
22597 diagnostics so that they don't use grave accent to quote.
22598 * src/alloc.c (mark_memory): Fix comment.
22599 * src/buffer.c (init_buffer):
22600 * src/dispnew.c (init_display):
22601 * src/emacs.c (main, sort_args):
22602 * src/lread.c (dir_warning):
22603 * src/term.c (init_tty):
22604 * src/unexmacosx.c (unexec):
22605 * src/xfns.c (select_visual):
22606 * src/xterm.c (cvt_string_to_pixel, x_io_error_quitter):
22607 Reword stderr diagnostics to avoid quoting `like this'.
22608 * src/unexmacosx.c: Include errno.h.
22609 * src/xfns.c (select_visual): Encode value for locale.
22611 2015-05-31 Paul Eggert <eggert@cs.ucla.edu>
22613 Treat batch stdout/stderr like standard display
22614 Calls like (print FOO) could generate improperly encoded or
22615 hard-to-read output if FOO contains characters outside the system
22616 locale. Fix this by treating batch stdout and stderr like
22617 interactive standard display, when it comes to transliterating and
22618 encoding characters (Bug#20545).
22619 * doc/emacs/mule.texi (Communication Coding):
22620 * doc/lispref/display.texi (Active Display Table):
22621 * doc/lispref/nonascii.texi (Locales):
22623 * src/coding.c (syms_of_coding):
22624 * src/dispnew.c (syms_of_display):
22626 * src/print.c: Include disptab.h.
22627 (printchar_to_stream): New function, with much of the guts of the
22628 old Fexternal_debugging_output, except this one also uses the
22629 standard display table.
22630 (printchar, strout, Fexternal_debugging_output): Use it.
22632 2015-05-31 Glenn Morris <rgm@gnu.org>
22634 * src/emacs.c (syms_of_emacs) <system-configuration-features>: Doc fix.
22636 2015-05-31 Paul Eggert <eggert@cs.ucla.edu>
22638 Remove DEFSYMs that aren't used at the C level. Also:
22639 * src/decompress.c (Qzlib_dll):
22640 * src/font.c (Qunicode_sip):
22641 * src/frame.c (Qtip_frame):
22642 * src/ftfont.c (Qserif):
22643 * src/gnutls.c (Qgnutls_dll):
22644 * src/xml.c (Qlibxml2_dll):
22646 * src/w32fns.c (syms_of_w32fns): ... to here,
22647 as these are used only on MS-Windows.
22649 2015-05-31 Michael Albinus <michael.albinus@gmx.de>
22651 Use another default value for tramp-histfile-override
22652 * lisp/net/tramp-sh.el (tramp-histfile-override):
22653 Use ".tramp_history" as default.
22656 2015-05-29 Nicolas Petton <nicolas@petton.fr>
22658 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
22660 2015-05-16 Nicolas Petton <nicolas@petton.fr>
22662 * etc/NEWS: Add an entry about map.el.
22664 Improve the docstring of functions in map.el
22665 Since a map is not a data structure but a concept, adding information
22666 about the possible types of maps can be useful information.
22667 * lisp/emacs-lisp/map.el: Add documentation about the type of MAP to
22668 each public function.
22670 2015-04-29 Nicolas Petton <nicolas@petton.fr>
22672 * lisp/emacs-lisp/map.el (map-empty-p): Faster implementation using
22673 specific tests depending on the type of the map.
22675 * lisp/emacs-lisp/map.el: Better docstrings.
22677 2015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
22679 * lisp/emacs-lisp/map.el (map-pairs): Dump redundant lambda.
22681 2015-04-25 Nicolas Petton <nicolas@petton.fr>
22683 * lisp/emacs-lisp/map.el (map--elt-list): Better docstring.
22685 * lisp/emacs-lisp/map.el (map--elt-list): Minor refactoring.
22687 Fix a false negative in `map-elt' with alists and values being nil
22688 * lisp/emacs-lisp/map.el (map-elt): If map is an alist and key is
22689 found but its associated value is nil, do not return the default
22691 * test/automated/map-tests.el: Add a regression test.
22693 2015-04-24 Nicolas Petton <nicolas@petton.fr>
22695 * lisp/emacs-lisp/map.el (map--dispatch): Improve the docstring.
22697 Do not signal an error when trying to delete a key from an array
22698 * lisp/emacs-lisp/map.el (map-delete): When map is an array, check if
22699 the key is present to avoid signaling an error.
22700 * test/automated/map-tests.el: Add a test for deleting non-existing
22703 * lisp/emacs-lisp/map.el: Better docstring.
22705 Minor improvement in map-elt
22706 * lisp/emacs-lisp/map.el (map-elt): Do not use `ignore-errors' when
22707 doing a lookup in arrays, but check the boundaries of the array
22709 * test/automated/map-tests.el: Adds a test for `map-elt' with arrays
22710 and a negative integer as key.
22712 2015-04-21 Nicolas Petton <nicolas@petton.fr>
22714 * test/automated/map-tests.el: Refactoring of test methods.
22716 * test/automated/map-tests.el: Renamed from map-test.el.
22718 2015-04-18 Nicolas Petton <nicolas@petton.fr>
22720 * lisp/emacs-lisp/map.el (map-into): Better error message.
22722 * lisp/emacs-lisp/map.el: Remove byte-compilation warnings.
22724 Throw an error when converting a map into an unknown map type
22725 * lisp/emacs-lisp/map.el (map-into): Throw an error if type is
22727 * test/automated/map-tests.el: Add a regression test.
22729 New library map.el similar to seq.el but for mapping data structures.
22730 * test/automated/map-tests.el: New file.
22731 * lisp/emacs-lisp/map.el: New file.
22733 2015-05-30 Dmitry Gutov <dgutov@yandex.ru>
22735 * lisp/progmodes/etags.el (tag-implicit-name-match-p): Make sure
22736 there's no explicit tag name (bug#20629).
22738 2015-05-30 Paul Eggert <eggert@cs.ucla.edu>
22741 * src/editfns.c, src/lisp.h (format2): Remove.
22742 It is more trouble than it's worth, now that we have CALLN.
22743 This is just a minor refactoring.
22744 * src/buffer.c (Fkill_buffer):
22745 * src/dbusbind.c (XD_OBJECT_TO_STRING):
22746 * src/fileio.c (barf_or_query_if_file_exists):
22747 Adjust to format2 going away.
22749 Don't misencode C-generated messages
22750 Also, be more consistent about calls to 'Fmessage' vs 'message'.
22751 * src/alloc.c (Fgc_status):
22752 Prefer AUTO_STRING to build_string for Fmessage call.
22753 * src/data.c (Fmake_variable_buffer_local)
22754 (Fmake_local_variable, Fmake_variable_frame_local):
22755 * src/doc.c (store_function_docstring):
22756 Use Fmessage, not message, since the argument can contain
22757 non-ASCII characters, and this can cause the resulting message
22758 to be incorrectly encoded for the current environment.
22759 * src/fns.c (maybe_resize_hash_table):
22760 * src/xselect.c (x_clipboard_manager_save_all):
22761 Use message, not Fmessage, since Fmessage's power isn't needed here.
22762 * src/process.c (Fmake_network_process): Reword message to avoid %s.
22763 * src/xdisp.c (vmessage): Document restrictions on message contents.
22764 (message_nolog) [false]: Remove unused code.
22766 Use \r rather than ^M in string literals
22767 This is less likely to cause problems on platforms that
22768 use CRLF (or CR!) termination for lines.
22770 Update .gitattributes to match current sources
22771 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00879.html
22772 * .gitattributes: Accommodate tests that insist on DOS format.
22773 Remove test/automated/data/decompress/foo-gzipped.
22774 Add etc/e/eterm-color.
22776 2015-05-30 Eli Zaretskii <eliz@gnu.org>
22778 * doc/emacs/mule.texi (Modifying Fontsets):
22779 Document face-ignored-fonts. (Bug#20628)
22781 Add etags test for the new -Q option
22782 * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
22783 * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
22784 * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
22785 test-case changes below.
22786 * test/etags/ETAGS.good_6: New file.
22787 * test/etags/cp-src/x.cc: New file.
22788 * test/etags/Makefile (CPSRC): Add x.cc.
22789 (check): Add one more test, for -Q.
22791 2015-05-30 Dmitry Gutov <dgutov@yandex.ru>
22793 Use list for the tags completion table, not obarray
22794 * lisp/progmodes/etags.el (etags-tags-completion-table): Return a
22795 list instead of an obarray
22796 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00876.html).
22797 (tags-completion-table): Combine those lists.
22798 (tags-completion-table): Update the docstring.
22800 2015-05-30 Eli Zaretskii <eliz@gnu.org>
22802 Restore EOL format testing in etags
22803 * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
22804 * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
22805 * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
22806 test-case changes below.
22807 * test/etags/html-src/algrthms.html: Convert back to DOS EOL format.
22808 * test/etags/cp-src/c.C (B): Add back stray CR character.
22809 * test/etags/c-src/dostorture.c: Add back.
22810 * test/etags/Makefile (CSRC): Add back c-src/dostorture.c.
22812 2015-05-30 Vitaly Takmazov <vitalyster@gmail.com> (tiny change)
22814 Declare Emacs on MS-Windows to be DPI-aware
22815 * nt/emacs-x86.manifest (asmv3:windowsSettings): Add dpiAware.
22816 * nt/emacs-x64.manifest (asmv3:windowsSettings): Add dpiAware.
22817 This avoids Windows entering compatibility mode for Emacs,
22818 which causes fonts to look less nice.
22820 2015-05-30 Michael Albinus <michael.albinus@gmx.de>
22822 Improve Tramp traces
22823 * lisp/net/trampver.el (tramp-repository-get-version): New defun.
22824 * lisp/net/tramp.el (tramp-debug-message): Use it.
22826 2015-05-30 Paul Eggert <eggert@cs.ucla.edu>
22828 backup-buffer minor reworking of internals
22829 * lisp/files.el (backup-buffer): Rework to avoid a couple of
22830 unused locals inadvertently introduced in the previous change.
22832 backup-buffer now reports .emacs.d/%backup% ills
22833 * lisp/files.el (backup-buffer): If the write to .emacs.d/%backup%
22834 fails due to disk space exhaustion or whatever, do not pretend
22835 that it succeeded. More generally, do a better job of checking
22836 for I/O failures, and limit the scope of the condition-case to
22837 just the operations where file errors should be caught and ignored
22838 (Bug#20595). Also, don't bother trying to delete later backups if
22839 an earlier deletion fails, as this is a sign of trouble and it's
22840 better to stop when there's trouble.
22842 copy-file now truncates output after writing
22843 * src/fileio.c (Fcopy_file): Truncate output after writing rather
22844 than before. This is more likely to work than truncation before
22845 writing, if the file system is out of space or the user is over
22846 disk quota (Bug#20595). Also, check for read errors.
22848 2015-05-29 Artur Malabarba <bruce.connor.am@gmail.com>
22850 * lisp/emacs-lisp/package.el (package-load-all-descriptors):
22851 Don't load descriptors from directories above the package directories.
22853 2015-05-29 Paul Eggert <eggert@cs.ucla.edu>
22856 This incorporates the following (Bug#20681):
22857 2015-05-29 acl-permissions: Fix build on Mac OS X and older AIX
22858 2015-05-29 acl-permissions: Fix build on Solaris and Cygwin
22859 * lib/set-permissions.c: Copy from gnulib.
22861 2015-05-29 Michael Albinus <michael.albinus@gmx.de>
22863 Improve Tramp traces
22864 * lisp/net/tramp.el (tramp-call-process-region): New defun.
22865 * lisp/net/tramp-sh.el (tramp-get-inline-coding): Use it.
22867 2015-05-29 Glenn Morris <rgm@gnu.org>
22869 * test/automated/vc-tests.el: Try enabling tests on hydra.nixos.org.
22871 2015-05-29 Wolfgang Jenkner <wjenkner@inode.at>
22873 * src/xfns.c (x_set_menu_bar_lines): Fix calls to x_clear_area.
22874 The signature was changed in the cairo branch, merged on 2015-05-23.
22875 This oversight broke compiling only the non-toolkit X version.
22877 2015-05-29 Samer Masterson <samer@samertm.com>
22879 * doc/lispref/os.texi: Update initial-buffer-choice docs.
22881 2015-05-29 Glenn Morris <rgm@gnu.org>
22883 * test/automated/vc-tests.el (vc-test-rcs04-checkout-model):
22884 Mark as an expected failure.
22886 2015-05-29 Paul Eggert <eggert@cs.ucla.edu>
22888 Change package test to look for curved quotes
22889 * test/automated/package-test.el (package-test-describe-package)
22890 (package-test-signed): Search for curved single quotes as well as
22891 for grave accent and apostrophe.
22893 2015-05-28 Katsumi Yamaoka <yamaoka@jpl.org>
22895 * lisp/gnus/gnus-art.el (gnus-button-alist): Re-revert last change.
22896 cf. <http://news.gmane.org/group/gmane.emacs.devel/thread=186896>
22898 2015-05-28 Samer Masterson <samer@samertm.com>
22900 Show files when `initial-buffer-choice' is non-nil
22901 * lisp/startup.el (command-line-1): When Emacs is given a file as an
22902 argument and `initial-buffer-choice' is non-nil, display both the file
22903 and `initial-buffer-choice'. For more than one file, show
22904 `initial-buffer-choice' and *Buffer List*. Refactor display-changing
22905 commands out of the command line arg parser.
22906 (initial-buffer-choice): Clarify docstring.
22908 2015-05-28 Eli Zaretskii <eliz@gnu.org>
22911 * nt/gnulib.mk (libgnu_a_SOURCES): Add get-permissions.c back.
22912 (gnulib module qcopy-acl): Add back, as it is harmless. This
22913 minimizes differences wrt lib/gnulib.mk.
22915 Fix the MS-Windows build as followup to gnulib update
22916 * nt/gnulib.mk (libgnu_a_SOURCES): Remove get-permissions.c and
22917 set-permissions.c, as they don't compile on MinGW.
22918 (gnulib module qcopy-acl): Remove, as it needs set-permissions.c.
22920 2015-05-28 Paul Eggert <eggert@cs.ucla.edu>
22922 Revert my change to gnus-art.el
22923 * lisp/gnus/gnus-art.el (gnus-button-alist): Revert last change.
22924 It wasn't that important, and it caused a Gnus build to fail. See:
22925 http://www.randomsample.de:4456/builders/emacs-devel/builds/734
22927 New minor mode Electric Quote
22928 This lets you easily insert quotes ‘like this’ by typing
22929 quotes `like this', and similarly you can easily insert
22930 quotes “like this” by typing quotes ``like this'' (Bug#20545).
22931 * doc/emacs/basic.texi (Inserting Text):
22932 * doc/emacs/modes.texi (Minor Modes):
22933 * etc/NEWS: Document it.
22934 * doc/emacs/text.texi (Quotation Marks): New section.
22935 * lisp/electric.el (electric-quote-comment)
22936 (electric-quote-string, electric-quote-paragraph):
22938 (electric--insertable-p)
22939 (electric-quote-post-self-insert-function): New functions.
22940 (electric-quote-mode, electric-quote-local-mode): New minor modes.
22941 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
22942 Add curved single quotes to electric-pair-text-pairs.
22943 Set electric-quote-string in this buffer.
22945 A few more doc string fixes (Bug#20385)
22947 Accept curved quotes in doc strings
22948 * lisp/info-look.el (info-lookup-guess-custom-symbol):
22949 (info-lookup-alist): Treat ‘’ like `' when parsing help buffers etc.
22951 Generate curved quotes in pseudo-info nodes
22952 * lisp/info.el (Info-virtual-index-find-node)
22953 (Info-virtual-index, Info-apropos-find-node, info-apropos):
22954 Quote ‘like this’, not `like this', when generating pseudo-info nodes.
22956 Fix minor quoting problems in doc strings
22957 Most of these fixes involve escaping grave accents that are
22958 actually intended to be grave accents, not left quotes.
22961 Support curved quotes in doc strings
22962 Emacs's traditional doc string style has been to quote symbols
22963 `like this'. This worked well on now-obsolete terminals where
22964 ` and ' were symmetric quotes, but nowadays curved quotes
22965 ‘like this’ look better. Support quoting the new way too.
22967 * doc/lispref/tips.texi (Documentation Tips): Symbols can be quoted
22968 ‘like-this’ as well as `like-this'.
22969 * etc/NEWS: Mention this.
22970 * lisp/cedet/mode-local.el (overload-docstring-extension)
22971 (mode-local-print-binding, mode-local-describe-bindings-2):
22972 * lisp/cus-theme.el (describe-theme-1):
22973 * lisp/descr-text.el (describe-text-properties-1, describe-char):
22974 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
22975 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
22976 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
22977 (eieio-help-constructor):
22978 * lisp/emacs-lisp/package.el (describe-package-1):
22979 * lisp/faces.el (describe-face):
22980 * lisp/help-fns.el (help-fns--key-bindings)
22981 (help-fns--compiler-macro, help-fns--parent-mode, help-fns--obsolete):
22982 (help-fns--interactive-only, describe-function-1):
22983 (describe-variable):
22984 * lisp/help.el (describe-mode):
22985 * lisp/international/mule-cmds.el (describe-input-method)
22986 (describe-language-environment):
22987 * lisp/international/mule-diag.el (describe-character-set)
22988 (print-coding-system-briefly, list-input-methods)
22989 (list-input-methods-1):
22990 Insert curved quotes rather than grave accent and apostrophe.
22991 * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
22992 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
22993 (checkdoc-proper-noun-region-engine):
22994 * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2)
22995 (lisp-cl-font-lock-keywords-2):
22996 * lisp/finder.el (finder-font-lock-keywords):
22997 * lisp/gnus/gnus-art.el (gnus-button-alist):
22998 * lisp/help-fns.el (help-do-arg-highlight)
22999 (describe-function-1, describe-variable):
23000 * lisp/help-mode.el (help-xref-symbol-regexp)
23001 (help-xref-info-regexp, help-xref-url-regexp):
23002 * lisp/help.el (describe-mode):
23003 * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
23004 * lisp/wid-edit.el (widget-documentation-link-regexp):
23005 Parse symbols quoted ‘like-this’ as well as `like-this'.
23006 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
23007 Add "‘" and "’" to electric-pair-text-pairs.
23008 (elisp--form-quoted-p): Also allow "‘" as a quoting char.
23009 (elisp-completion-at-point, elisp--preceding-sexp):
23010 Also treat "‘" and "’" as quoting chars.
23012 substitute-command-keys now curves quotes
23013 So, for example, it turns "`abc'" into "‘abc’" (Bug#20385).
23014 * doc/lispref/help.texi (Keys in Documentation):
23015 * etc/NEWS: Document this.
23016 * src/doc.c (Fsubstitute_command_keys): Implement it.
23018 2015-05-28 Glenn Morris <rgm@gnu.org>
23020 * lisp/mail/rmailsum.el (rmail-summary-by-recipients)
23021 (rmail-summary-by-topic, rmail-summary-by-senders):
23022 No longer strip leading/trailing whitespace.
23024 * lisp/progmodes/f90.el (f90-type-def-re): Add "type, extends".
23025 (f90-no-block-limit): Add "enum". (Bug#20680)
23026 * test/automated/f90.el (f90-test-bug20680, f90-test-bug20680b):
23029 2015-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
23031 * lisp/isearch.el (isearch--current-buffer): Give a default value.
23032 Un-revert changes mistakenly dropped by f9fabb2b.
23034 2015-05-27 Paul Eggert <eggert@cs.ucla.edu>
23038 2015-05-27 qacl: Reimplement qset_acl and qcopy_acl (Bug#20666)
23039 2015-05-27 file-has-acl: Split feature tests again (Bug#20667)
23040 2015-05-27 string: fix build failure on BSD/OSX with FORTIFY_SOURCE
23041 2015-05-26 stdio: limit __gnu_printf__ witness to gcc 4.4+
23042 2015-05-26 inttypes: force correct mingw PRIdMAX even without <stdio.h>
23043 2015-05-26 stdio: fix probe on mingw under gcc 5.1
23044 * admin/merge-gnulib (GNULIB_MODULES):
23045 Replace qacl with qcopy-acl, since we don't need the rest of qacl.
23046 * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
23047 * lib/inttypes.in.h, lib/qcopy-acl.c, lib/qset-acl.c:
23048 * lib/string.in.h, m4/acl.m4, m4/stdio_h.m4:
23049 Get latest versions from gnulib.
23050 * lib/get-permissions.c, lib/set-permissions.c: New files.
23051 * lib/gnulib.mk, m4/gnulib-comp.m4:
23053 * nt/gnulib.mk: Merge lib/gnulib.mk changes by hand.
23055 2015-05-27 Dmitry Gutov <dgutov@yandex.ru>
23057 * lisp/vc/vc-dispatcher.el (vc-setup-buffer): Delete the old
23059 (vc-do-command): Rather than here (bug#20608).
23061 2015-05-27 Ivan Shmakov <ivan@siamics.net>
23063 Avoid gratuitous delete-dups in face-at-point
23064 * lisp/faces.el (face-at-point): Do not compute the properly
23065 ordered, duplicate-free list if only a single value is
23066 requested anyway. (Bug#20519)
23068 Show the exact C-x 8 RET invocation in describe-char
23069 * lisp/descr-text.el (describe-char): Show the exact C-x 8 RET
23070 invocation instead of a template. (Bug#20522)
23072 2015-05-27 Artur Malabarba <bruce.connor.am@gmail.com>
23074 * lisp/emacs-lisp/package.el: Don't erase tags on refresh.
23075 (package-menu--post-refresh): Call `tabulated-list-print' with the
23076 UPDATE argument. This only affects the refresh action, the revert
23077 action still erases tags.
23078 (package-menu-get-status): Change `assq' to `assoc'.
23079 (package-menu--mark-upgrades-1): New function.
23080 (package-menu--mark-upgrades-pending): New variable.
23081 (package-menu-mark-upgrades): Use them to delay marking until
23082 after refresh is done.
23083 (package-menu--post-refresh): Call mark-upgrades-1 if
23084 mark-upgrades-pending is non-nil.
23086 2015-05-27 Michael Albinus <michael.albinus@gmx.de>
23088 * lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
23089 Fix typo in "Improve tramp-handle-make-auto-save-file-name"
23090 (commit 3953c4be2816537be95520605d45b866dc731f4b).
23092 2015-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
23094 * lisp/isearch.el (isearch--current-buffer): New var.
23095 (isearch-update): Set cursor-sensor-inhibit here.
23096 (isearch-done): Unset cursor-sensor-inhibit in the right buffer
23099 Change inhibit-point-motion-hooks to t
23100 * src/textprop.c (syms_of_textprop): Default Vinhibit_point_motion_hooks
23101 to t and document it as obsolete.
23103 2015-05-27 Eli Zaretskii <eliz@gnu.org>
23105 Support ZIP files that use Zip64 extensions
23106 * lisp/arc-mode.el (archive-zip-summarize): Handle the new ZIP
23107 format of central directory offsets used by Zip64 extensions.
23110 2015-05-27 Michael Albinus <michael.albinus@gmx.de>
23112 New test tramp-test30-make-auto-save-file-name
23113 * test/automated/tramp-tests.el
23114 (tramp-test30-make-auto-save-file-name): New test.
23115 (tramp-test31-special-characters)
23116 (tramp-test31-special-characters-with-stat)
23117 (tramp-test31-special-characters-with-perl)
23118 (tramp-test31-special-characters-with-ls, tramp-test32-utf8)
23119 (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
23120 (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
23121 (tramp-test34-recursive-load, tramp-test35-unload): Rename.
23123 Improve tramp-handle-make-auto-save-file-name
23124 * lisp/net/tramp.el (tramp-auto-save-directory): Add :tags.
23125 (tramp-handle-make-auto-save-file-name): Let native
23126 `make-auto-save-file-name' use `auto-save-file-name-transforms',
23127 if `tramp-auto-save-directory' is not set.
23129 2015-05-27 Glenn Morris <rgm@gnu.org>
23131 No longer set dired-directory in eshell. (Bug#16477)
23132 * lisp/eshell/esh-mode.el (eshell-mode):
23133 * lisp/eshell/em-dirs.el (eshell/cd): No longer set dired-directory.
23135 * lisp/mail/sendmail.el (mail-position-on-field): Doc fix.
23137 Make c-submit-bug-report file reports at debbugs.gnu.org. (Bug#15784)
23138 * lisp/progmodes/cc-mode.el (c-mode-help-address):
23139 Change to submit@debbugs.
23140 (c-mode-bug-package): New constant.
23141 (mail-position-on-field): Declare.
23142 (c-submit-bug-report): Insert X-Debbugs-Package header.
23143 * doc/misc/cc-mode.texi (Mailing Lists and Bug Reports):
23144 Mention debbugs.gnu.org.
23146 2015-05-26 Glenn Morris <rgm@gnu.org>
23148 * lisp/mail/rmailsum.el: Commas no longer separate regexps. (Bug#19026)
23149 (rmail-summary-by-recipients, rmail-summary-by-topic)
23150 (rmail-summary-by-senders): No longer use mail-comma-list-regexp.
23151 * doc/emacs/rmail.texi (Rmail Make Summary): Update for this change.
23153 2015-05-26 Paul Eggert <eggert@cs.ucla.edu>
23155 Handle curved quotes in info files
23156 * lisp/calc/calc-help.el (calc-describe-thing):
23157 * lisp/info.el (Info-find-index-name)
23158 (Info-try-follow-nearest-node, Info-fontify-node):
23159 * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
23160 In info files, process quotes ‘like this’ the same way we process
23161 quotes `like this'. This catches a few places we missed earlier.
23163 2015-05-26 Dmitry Gutov <dgutov@yandex.ru>
23165 xref-prompt-for-identifier: Use a list value
23166 * lisp/progmodes/xref.el (xref-prompt-for-identifier): Allow list
23167 value, to be interpreted as a list of commands.
23168 (xref--prompt-p): New function.
23169 (xref--read-identifier): Use it.
23171 2015-05-26 Eli Zaretskii <eliz@gnu.org>
23173 Teach MS-Windows font back-end return per-glyph ascent/descent
23174 * src/w32font.h (struct w32_metric_cache): Add ascent and descent
23176 * src/w32font.c (w32font_text_extents): Compute, cache, and
23177 accumulate per-glyph ascent and descent values, instead of copying
23178 global values from the font. If the values are not available from
23179 the font data, i.e., non-TTF fonts, fall back on font-global values.
23180 (compute_metrics): Compute and return per-glyph ascent and descent
23181 values, if returned by GetGlyphOutlineW, falling back on
23182 font-global values. (Bug#20628)
23183 * src/w32term.c (w32_draw_rectangle): Add 1 pixel to width and
23184 height of rectangle to be drawn, to be compatible with
23185 XDrawRectangle. Fixes glyphless-char display as hex codes in a
23186 box, when per-glyph ascent/descent values are used.
23188 2015-05-26 Artur Malabarba <bruce.connor.am@gmail.com>
23190 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
23191 Don't sort if sorter is nil.
23193 2015-05-26 Michael Albinus <michael.albinus@gmx.de>
23196 * lisp/net/tramp-sh.el (tramp-set-auto-save): Remove it. There
23197 are major modes which set `auto-save-mode' on their own rules;
23198 Tramp shall not overwrite such settings.
23200 2015-05-26 Glenn Morris <rgm@gnu.org>
23202 * lisp/desktop.el: If modes aren't autoloaded, try simple guesswork.
23203 (desktop-load-file): Guess that "foobar" defines "foobar-mode".
23204 (desktop-buffer-mode-handlers, desktop-minor-mode-handlers):
23206 (vc-dir-mode): Remove unnecessary autoload.
23208 2015-05-25 Philipp Stephani <phst@google.com>
23210 * lisp/term/xterm.el: Add gui-get-selection support via OSC-52.
23211 (xterm--extra-capabilities-type): Add `getSelection'.
23212 (xterm--query): Add `no-async' argument.
23213 (xterm--init-activate-get-selection): New function.
23214 (terminal-init-xterm): Use it.
23215 (xterm--init-modify-other-keys): Rename from
23216 terminal-init-xterm-modify-other-keys.
23217 (xterm--init-bracketed-paste-mode): Rename from
23218 terminal-init-xterm-bracketed-paste-mode.
23219 (xterm--init-activate-set-selection): Rename from
23220 terminal-init-xterm-activate-set-selection.
23221 (xterm--selection-char): New function.
23222 (gui-backend-set-selection): Use it. Use the &context to only apply
23223 this method in terminals where we enabled the feature.
23224 (gui-backend-get-selection): New method.
23226 2015-05-25 Daniel Colascione <dancol@dancol.org>
23228 * lisp/progmodes/cc-langs.el (c-constant-kwds): Add C-language
23229 keyword constants to C++.
23231 2015-05-25 Paul Eggert <eggert@cs.ucla.edu>
23233 Make TAGS files more portable to MS-Windows
23234 * etc/NEWS: Document this.
23235 * lib-src/etags.c (readline_internal) [DOS_NT]:
23236 Don't treat CRs differently from GNUish hosts.
23237 * lisp/progmodes/etags.el (etags-goto-tag-location):
23238 Adjust STARTPOS to account for the skipped CRs in dos-style files.
23240 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
23242 Improve fix of bug#20634 in tramp-sh.el
23244 2015-05-25 Eli Zaretskii <eliz@gnu.org>
23246 Fix a typo in last commit
23247 * lib-src/etags.c (C_entries): Fix a typo.
23248 * test/etags/ETAGS.good_1:
23249 * test/etags/ETAGS.good_2:
23250 * test/etags/ETAGS.good_3:
23251 * test/etags/ETAGS.good_4:
23252 * test/etags/ETAGS.good_5:
23253 * test/etags/CTAGS.good: Update due to the change in etags.c.
23255 Fix tagging of class members in C-like OO languages
23256 * lib-src/etags.c (longopts): Add new option --class-qualify and
23258 (print_help): Add help text for --class-qualify.
23259 (main): Add handling of -Q.
23260 (consider_token, C_entries) <omethodparm>: Append argument types
23261 to Objective C methods only if --class-qualify was specified.
23262 Qualify C++, Objective C, and Java class members with their class
23263 names only if --class-qualify was specified.
23264 (C_entries): If --class-qualify was not specified, remove the
23265 namespace and class qualifiers from tag names of C++ methods.
23266 This allows to use etags.el as xref back-end without the
23267 tag-symbol-match-p method, which greatly increases the number of
23268 potentially false positives. (Bug#20629)
23269 * doc/man/etags.1: Update to document the new --class-qualify
23271 * test/etags/ETAGS.good_1:
23272 * test/etags/ETAGS.good_2:
23273 * test/etags/ETAGS.good_3:
23274 * test/etags/ETAGS.good_4:
23275 * test/etags/ETAGS.good_5:
23276 * test/etags/CTAGS.good: Update due to changes in etags.c.
23278 2015-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
23280 (cl-generic-define-method): Side effects are evil (bug#20644)
23281 * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method): Don't reuse
23282 cons-cells that might be used as keys in an `equal' hash-table.
23284 2015-05-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
23286 Make erc timestamps visible again
23287 * lisp/erc/erc-stamp.el (erc-munge-invisibility-spec):
23288 Make timestamps visible again (if requested).
23290 2015-05-25 Eli Zaretskii <eliz@gnu.org>
23292 Fix last change in etags.c that broke tagging compresed files
23293 * lib-src/etags.c (process_file_name) [MSDOS || DOS_NT]: Fix
23294 quoting of decompression shell command for MS-Windows/MS-DOS.
23296 2015-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
23298 * lisp/emacs-lisp/cl-macs.el (cl-tagbody): Scope cl--tagbody-alist.
23301 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
23303 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer):
23304 Fix typo in "Inhibit `epa-file-handler' in Tramp"
23305 (commit 89035e247591c8d688fce922b7079881aa110f33).
23307 2015-05-25 Orivej Desh <orivej@gmx.fr> (tiny change)
23309 Fix IPv6 addresses in Tramp
23310 * lisp/net/tramp-sh.el (tramp-make-copy-program-file-name):
23311 Add square brackets around host name.
23313 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
23315 Inhibit `epa-file-handler' in Tramp (Bug#20634)
23316 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
23317 (tramp-sh-handle-insert-file-contents-literally): Inhibit also
23318 `epa-file-handler'.
23320 2015-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23322 * lisp/emacs-lisp/pcase.el: Use PAT rather than UPAT in docstring.
23323 (pcase-let): Document the behavior in case the pattern doesn't match.
23325 2015-05-24 Artur Malabarba <bruce.connor.am@gmail.com>
23327 * lisp/emacs-lisp/tabulated-list.el: New optional print method.
23328 (tabulated-list-print): New optional argument, UPDATE. If
23329 non-nil, the list is printed by only adding and deleting the
23330 changed entries, instead of erasing the whole buffer. This method
23331 is much faster when few or no entries have changed.
23332 * doc/lispref/modes.texi (Tabulated List Mode): Document it.
23333 * etc/NEWS: Document it.
23335 * lisp/emacs-lisp/tabulated-list.el: Improve printing.
23336 (tabulated-list--get-sorter): New function.
23337 (tabulated-list-print): Restore window-line when remember-pos is
23338 passed and optimize away the `nreverse'.
23340 2015-05-24 Paul Eggert <eggert@cs.ucla.edu>
23342 Simpilify etags TEX mode scanning
23343 * lib-src/etags.c (TEX_mode, TEX_esc, TEX_opgrp, TEX_clgrp):
23344 Remove static vars.
23345 (TeX_commands): Deduce escapes here instead.
23346 (TEX_LESC, TEX_SESC, TEX_mode): Remove; all uses removed.
23347 This removes the need for a reset_input call.
23349 Improve etags I/O error reporting
23351 Don't include sys/types.h and sys/stat.h; no longer needed.
23352 (infilename): New static var.
23353 (process_file_name): Don't call 'stat'. Instead, just open the
23354 file for reading and report any errors. Don't bother making
23355 a copy of the file argument; it's not needed. Be more careful to
23356 use the failing errno when reporting an error.
23357 Quote the real name better (though no perfectly)
23358 when passing it to the shell.
23359 (reset_input): New function, which reports I/O errors.
23360 All uses of 'rewind' changed to use this function.
23361 (perhaps_more_input): New function, which also checks for
23362 I/O errors. All uses of 'feof' changed to use this function.
23363 (analyze_regex): Report an error if fclose fails.
23364 (readline_internal): Report an error if getc fails.
23365 (etags_mktmp): Return an error if close fails.
23367 etags.c: avoid side effects in 'if'
23368 * lib-src/etags.c (process_file_name, Perl_functions)
23369 (TEX_decode_env): Hoist side effects into previous statement.
23372 * .gitignore: Ignore all *.stamp files. Sort.
23373 Ignore [0-9]*.txt (commonly used name for git patches)
23374 and /vc-dwim-log-* (vc-dwim temporary).
23376 2015-05-24 Eli Zaretskii <eliz@gnu.org>
23378 Fix last change in etags.c, which failed the test suite
23379 * lib-src/etags.c (intoken): Add '$' to the set, as it was there
23380 before the last change.
23382 2015-05-23 Glenn Morris <rgm@gnu.org>
23384 Remove charset map files from repository, generate in first bootstrap
23385 * admin/charsets/Makefile.in (${srcdir}/charsets.stamp): New.
23386 (all): Create the stamp file.
23387 (extraclean): Delete the stamp file.
23388 * src/Makefile.in (lispintdir, charsets): New variables.
23389 (${lispintdir}/cp51932.el, ${lispintdir}/eucjp-ms.el, ${charsets}):
23391 (emacs$(EXEEXT), temacs$(EXEEXT)): Depend on $charsets.
23392 * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
23393 * etc/charsets/*.map: Remove from repository.
23395 2015-05-23 Paul Eggert <eggert@cs.ucla.edu>
23397 Cleanup etags.c to use locale-independent code
23398 Although this doesn't alter behavior (as etags doesn't use
23399 setlocale), the new version is more clearly locale-independent and
23400 the executable is a bit smaller on my platform.
23401 * lib-src/etags.c: Include <limits.h>, for UCHAR_MAX.
23402 Include <c-ctype.h> instead of <ctype.h>.
23403 (CHARS, CHAR, init, _wht, _nin, _itk, _btk, _etk, white, nonam, endtk)
23405 Remove; no longer needed.
23406 (iswhite, ISALNUM, ISALPHA, ISDIGIT, ISLOWER, lowcase): Remove.
23407 All callers changed to use c_isspace, c_isalnum, c_isalpha, c_isdigit,
23408 c_islower, c_tolower, respectively.
23409 (notinname, begtoken, intoken, endtoken): Rewrite as functions
23410 instead of macros, and initialize the tables at compile-time
23411 rather than at run-time.
23413 Put default action first in src/Makefile
23414 * src/Makefile.in (all): Put this rule before lisp.mk.
23415 That way, plain 'make' works in the src directory again.
23417 2015-05-23 Glenn Morris <rgm@gnu.org>
23419 * Makefile.in: Fix extraclean rule.
23420 (extraclean_dirs): New.
23421 (extraclean): Use it.
23423 2015-05-23 Eli Zaretskii <eliz@gnu.org>
23425 Avoid compiler warning in image.c on MS-Windows
23426 * src/w32term.h (x_query_color): Add prototype, to avoid compiler
23427 warning in image.c.
23429 2015-05-23 Glenn Morris <rgm@gnu.org>
23431 Fix --without-toolkit-scroll-bars builds.
23432 * src/xterm.c (x_scroll_bar_set_handle) [!USE_TOOLKIT_SCROLL_BARS]:
23433 Add new argument to x_clear_area1.
23434 (XTset_horizontal_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
23435 Update x_clear_area arguments.
23437 * admin/charsets/glibc/: New directory, imported from glibc 2.21.
23438 * admin/charsets/Makefile.in (GLIBC_CHARMAPS):
23439 Change to included version.
23440 (LOCAL, local, totalclean): Remove.
23441 (extraclean): Delete all generated files.
23443 2015-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23445 * lisp/pcmpl-cvs.el (pcmpl-cvs-entries): Don't assume
23446 CVS/Entries exists.
23448 * lisp/progmodes/xref.el (xref-find-apropos): Use read-string.
23450 * lisp/progmodes/etags.el (tags-completion-at-point-function):
23451 Don't trust the find-tag function.
23453 2015-05-23 Paul Eggert <eggert@cs.ucla.edu>
23455 Pacify --enable-gcc-warnings
23456 * src/frame.h (x_query_color): Remove redundant extern decl.
23457 * src/ftcrfont.c (ftcrfont_glyph_extents, ftcrfont_list)
23458 (ftcrfont_match, ftcrfont_open, ftcrfont_close)
23459 (ftcrfont_text_extents, ftcrfont_draw):
23460 * src/xterm.c (x_set_window_size_1, *x_color_cells, x_update_end)
23461 (XTframe_up_to_date, x_clear_area1, x_clear_frame)
23462 (x_ins_del_lines, frame_highlight, frame_unhighlight)
23463 (x_new_focus_frame, x_focus_changed, XTframe_rehighlight)
23464 (x_draw_hollow_cursor, x_draw_bar_cursor, x_flush, x_update_begin)
23465 (x_update_window_begin, x_connection_closed)
23466 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
23467 (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
23468 (*x_gc_get_ext_data, x_extension_initialize)
23469 (x_cr_accumulate_data):
23470 Remove redundant static decl. Many of these GCC doesn't complain
23471 about, but we might as well clean out the duplication while we're
23472 in the neighborhood.
23473 * src/xterm.c (x_fill_trapezoid_for_relief):
23474 Remove decl of nonexistent function.
23476 2015-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23478 Replace gui-method macros with cl-generic with &context
23479 * lisp/frame.el (gui-method--name, gui-method, gui-method-define)
23480 (gui-method-declare, gui-call): Remove.
23481 (frame-creation-function): Use cl-defgeneric.
23482 (make-frame): Adjust callers.
23483 * lisp/menu-bar.el (menu-bar-edit-menu):
23484 Use gui-backend-selection-exists-p.
23485 * lisp/select.el (x-get-clipboard): Use gui-backend-get-selection.
23486 (gui-backend-get-selection): New cl-generic to replace
23487 gui-get-selection method.
23488 (gui-backend-set-selection): New cl-generic to replace
23489 gui-set-selection method.
23490 (gui-selection-owner-p): New cl-generic to replace
23491 gui-selection-owner-p method.
23492 (gui-backend-selection-exists-p): New cl-generic to replace
23493 gui-selection-exists-p method. Adjust all callers.
23494 * lisp/server.el (server-create-window-system-frame): Don't ignore
23495 window-system spec even when unsupported.
23496 * lisp/simple.el (deactivate-mark): Use new gui-backend-* functions.
23497 * lisp/startup.el (handle-args-function, window-system-initialization):
23499 (command-line): Adjust calls accordingly.
23500 * lisp/term/ns-win.el (ns-window-system-initialization): Turn into
23501 a window-system-initialization method.
23502 (handle-args-function, frame-creation-function): Use cl-defmethod.
23503 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
23504 (gui-get-selection): Use cl-defmethod on the new functions instead.
23505 * lisp/term/pc-win.el (w16-get-selection-value): Turn into
23506 a gui-backend-get-selection method.
23507 (gui-selection-exists-p, gui-selection-owner-p, gui-set-selection):
23508 Use cl-defmethod on the new functions instead.
23509 (msdos-window-system-initialization): Turn into
23510 a window-system-initialization method.
23511 (frame-creation-function, handle-args-function): Use cl-defmethod.
23512 * lisp/term/w32-win.el (w32-window-system-initialization): Turn into
23513 a window-system-initialization method.
23514 (handle-args-function, frame-creation-function): Use cl-defmethod.
23515 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
23516 (gui-get-selection): Use cl-defmethod on the new functions instead.
23517 * lisp/term/x-win.el (x-window-system-initialization): Turn into
23518 a window-system-initialization method.
23519 (handle-args-function, frame-creation-function): Use cl-defmethod.
23520 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
23521 (gui-get-selection): Use cl-defmethod on the new functions instead.
23522 * lisp/term/xterm.el (xterm--set-selection): Turn into
23523 a gui-backend-set-selection method.
23524 * src/nsselect.m (Fns_selection_exists_p): Remove unused arg `terminal'.
23525 (Fns_selection_owner_p): Remove unused arg `terminal'.
23526 (Fns_get_selection): Remove unused args `time_stamp' and `terminal'.
23528 2015-05-23 Eli Zaretskii <eliz@gnu.org>
23530 Revert "Fix etags Bug#20629 that broke C++ support"
23531 This reverts commit 13dd9d4f7e75d2c78aa5537cef09de03663e9748.
23533 2015-05-23 Jan D <jan.h.d@swipnet.se>
23535 Fix etags Bug#20629 that broke C++ support
23536 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
23537 Revert commit from Sun May 10 (Bug#20629).
23539 Merge branch 'cairo'.
23540 Main work done by YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>.
23541 Small fixes and image work by Jan D. <jan.h.d@swipnet.se>.
23543 Merge branch 'master' into cairo
23545 Fixes to compile cairo branch without cairo
23546 * src/gtkutil.c (xg_update_scrollbar_pos): x_clear_area takes frame as
23548 * src/xterm.c (handle_one_xevent): Surround x_cr_destroy_surface with
23551 2015-05-23 Artur Malabarba <bruce.connor.am@gmail.com>
23553 * lisp/emacs-lisp/package.el: Always update selected-packages.
23554 (package--update-selected-packages): New function.
23555 (package-menu-execute): Use it before starting the transaction,
23556 this way the list of selected packages is updated even when the
23558 (package-menu--perform-transaction): Don't edit selected-packages.
23560 2015-05-23 Eli Zaretskii <eliz@gnu.org>
23562 Fix etags reading of compressed files
23563 * lib-src/etags.c (O_CLOEXEC) [WINDOWSNT]: Define.
23564 Include fcntl.h, for O_CLOEXEC.
23565 (process_file_name): Don't use 'popen', whose streams cannot be
23566 rewound. Instead, uncompress the file to a temporary file,
23567 created by 'etags_mktmp', and read from that as usual.
23568 (etags_mktmp): New function.
23569 * test/etags/ETAGS.good_1:
23570 * test/etags/ETAGS.good_2:
23571 * test/etags/ETAGS.good_3:
23572 * test/etags/ETAGS.good_4:
23573 * test/etags/ETAGS.good_5: Update to be consistent with latest
23574 changes in etags.c regarding reading compressed files.
23576 Improve documentation of 'set-fontset-font'
23577 * doc/lispref/display.texi (Fontsets): Document the value of nil
23578 for the 3rd argument of 'set-fontset-font'.
23580 Fix documentation of forward-line
23581 * src/cmds.c (Fforward_line): Clarify the return value if the line
23582 at end of accessible portion of the buffer has no newline.
23583 * doc/lispref/positions.texi (Text Lines): Document what happens
23584 if the line at end of accessible portion of buffer has no newline.
23587 2015-05-22 Glenn Morris <rgm@gnu.org>
23589 * admin/charsets/Makefile.in (TRANS_TABLE): Add short aliases.
23591 * admin/charsets/mapconv (LC_ALL): Set to C.
23593 * Makefile.in: Add admin/charsets into top-level clean rules.
23594 (clean): Add admin/charsets.
23595 (maybeclean_dirs): New variable.
23596 (distclean, bootstrap-clean, maintainer-clean): Use $maybeclean_dirs.
23598 * admin/charsets/Makefile.in (LOCAL, local): Fix members.
23600 2015-05-22 Artur Malabarba <bruce.connor.am@gmail.com>
23602 * lisp/emacs-lisp/package.el (package-selected-packages): Fix doc.
23604 2015-05-22 Glenn Morris <rgm@gnu.org>
23606 Generate admin/charsets Makefile via configure, and make more portable
23607 * configure.ac (SUBDIR_MAKEFILES): Add admin/charsets/Makefile.
23608 (admin/charsets/Makefile): Generate it.
23609 * admin/charsets/Makefile.in: Rename from Makefile.
23610 (AWK, srcdir, top_srcdir, AM_DEFAULT_VERBOSITY):
23611 New variables, set by configure.
23612 (charsetdir, lispintdir, mapfiledir, AM_V_GEN, am__v_GEN_)
23613 (am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_, am__v_at_0)
23614 (am__v_at_1, LOCAL, mapconv, run_mapconv, big5, compact, cp51932)
23615 (cp932, eucjp_ms, gb180302, gb180304, kuten): New variables.
23616 (TRANS_TABLE, CHARSETS): Add directory prefix to value.
23617 (all): Declare PHONY.
23618 (local): New PHONY target.
23619 (map_template): New template. Use to define short PHONY aliases.
23620 (*.map): Add directory prefixes to targets and prerequisites.
23621 Respect make verbosity.
23622 (JISC6226.map): Replace non-portable sed append without newline.
23623 (install): Remove rule.
23624 (clean): Only delete temporary sedscript.
23625 (bootstrap-clean, distclean, maintainer-clean, extraclean)
23626 (totalclean): New PHONY rules.
23627 * admin/charsets/mapconv (BASE): Replace basename with expr.
23628 (FILE): Add "mapfiles" subdirectory.
23629 (AWK): New variable. Use throughout in place of "awk".
23630 (main): Use "gunzip -c" in place of "zcat".
23631 Don't leave whitespace before "p", for older sed.
23632 * admin/charsets/mapfiles/PTCP154: Add final newline,
23633 to make older sed versions happy.
23635 2015-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
23637 * lisp/autorevert.el: Use lexical-binding. Fix hook usage.
23638 (global-auto-revert-ignore-buffer, auto-revert-notify-modified-p)
23639 (auto-revert-notify-watch-descriptor): Use defvar-local.
23640 (find-file-hook, auto-revert-tail-mode)
23641 (auto-revert-notify-add-watch): Use setq-local.
23642 (auto-revert-notify-add-watch): Don't call make-local-variable on
23643 kill-buffer-hook (bug#20601).
23645 2015-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23647 Change defgeneric so it doesn't completely redefine the function
23648 * lisp/emacs-lisp/cl-generic.el (cl-generic-define): Don't throw away
23649 previously defined methods.
23650 (cl-generic-define-method): Let-bind purify-flag instead of
23652 (cl--generic-prefill-dispatchers): Only define during compilation.
23653 (cl-method-qualifiers): Remove redundant alias.
23654 (help-fns-short-filename): Silence byte-compiler.
23655 * test/automated/cl-generic-tests.el:
23656 Adjust to new defgeneric semantics.
23658 2015-05-21 Artur Malabarba <bruce.connor.am@gmail.com>
23660 * lisp/emacs-lisp/package.el (package-menu-execute):
23661 Remove reference to remove-dups.
23663 2015-05-21 kwhite <kwhite@gnu.org>
23665 * lisp/erc/erc.el: Hide network/channel messages.
23666 (erc-network-hide-list, erc-channel-hide-list): New lists to define
23667 message types per network/channel.
23668 (erc-add-targets): New function to parse list of targets.
23669 (erc-hide-current-message-p): Modify to check for new targets.
23671 2015-05-21 Paul Eggert <eggert@cs.ucla.edu>
23673 Don't quote nil and t in doc strings
23674 This is as per "Tips for Documentation Strings" in the elisp manual.
23675 For consistency, do the same in diagnostics and comments.
23677 2015-05-21 Eli Zaretskii <eliz@gnu.org>
23679 Fix a minor problem with mouse-face on mode line
23680 * src/xdisp.c (note_mode_line_or_margin_highlight): Reset the
23681 mouse face also if the mouse pointer hovers above mode-line glyphs
23682 that don't come from any Lisp string. (Bug#20620)
23684 2015-05-21 Artur Malabarba <bruce.connor.am@gmail.com>
23686 * lisp/emacs-lisp/package.el: Fix selected-package logic.
23687 (package-menu-execute): Mark as selected all non-upgrade packages
23689 (package-menu--perform-transaction): Don't mark anything.
23691 * lisp/emacs-lisp/package.el: Mode-line progress report.
23692 (package-menu--transaction-status): New variable.
23693 (package-menu-mode, package-menu--perform-transaction): Use it.
23695 * lisp/emacs-lisp/package.el: Better transaction messages.
23696 (package-menu--partition-transaction): New function.
23697 (package-menu--prompt-transaction-p, package-menu-execute):
23699 (package-menu--perform-transaction): Don't do any messaging.
23701 * lisp/emacs-lisp/package.el: Revert async package transactions.
23702 (package-menu-async): Update doc.
23703 (package-install-from-archive, package-download-transaction)
23704 (package-install, package-menu--perform-transaction)
23705 (package-menu-execute): Remove asynchronous functionality.
23707 2015-05-21 Paul Eggert <eggert@cs.ucla.edu>
23709 Revert doc string changes to f90.el
23710 Problem reported by Glenn Morris in:
23711 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00596.html
23712 * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
23713 Revert recent changes to doc strings, as it's intended that they
23714 use grave accent, not quote.
23716 2015-05-20 Bozhidar Batsov <bozhidar@batsov.com>
23718 * lisp/emacs-lisp/subr-x.el (hash-table-empty-p):
23719 Improve parameter name.
23721 * lisp/emacs-lisp/subr-x.el (hash-table-empty-p): New inline function.
23723 2015-05-20 Paul Eggert <eggert@cs.ucla.edu>
23725 Don't require help-fns when not needed
23726 * lisp/emacs-lisp/autoload.el, lisp/emacs-lisp/advice.el:
23727 * lisp/emacs-lisp/elint.el:
23728 Don't require help-fns at the top level
23729 * lisp/emacs-lisp/advice.el (ad-arglist):
23730 * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
23731 Don't require help-fns. (Bug#17001)
23733 2015-05-20 Eli Zaretskii <eliz@gnu.org>
23735 Fix slash collapsing in etags on MS-Windows
23736 * lib-src/etags.c (canonicalize_filename) [DOS_NT]: Separate the
23737 MS-Windows code from the Posix code, and support collapsing both
23738 forward- and back-slashes on MS-Windows. Fixes a regression found
23741 Improve documentation of glyphless-char-display
23742 * doc/lispref/display.texi (Glyphless Chars): Improve
23743 documentation of glyphless character display.
23745 Fix "acronym" display of glyphless characters on w32
23746 * src/w32term.c (x_draw_glyphless_glyph_string_foreground): Don't
23747 ignore "acronym" substitutes of 1 character for glyphless characters.
23749 2015-05-20 Oleh Krehel <ohwoeowho@gmail.com>
23751 Add an automated test for let-when-compile
23752 * test/automated/subr-tests.el (let-when-compile): New test.
23754 Add let-when-compile macro instead of using pcase-let
23755 * lisp/subr.el (let-when-compile): New let-like macro that makes its
23756 bindings known to macros like `eval-when-compile' in the body.
23757 * lisp/emacs-lisp/lisp-mode.el: Change the top-level `pcase-let' to
23758 a `let-when-compile'. Also comment out the unused lexical var
23760 The change greatly improves readability, while providing almost the
23761 same (even shorter) byte code: instead of pre-evaluating 10 variables,
23762 tossing them into a list, and destructuring that list a full screen
23763 page later, the variables are simply bound as they are evaluated,
23764 wrapped individually in `eval-when-compile'.
23766 2015-05-20 Artur Malabarba <bruce.connor.am@gmail.com>
23768 * lisp/emacs-lisp/package.el: "Delete" button in Help buffer.
23769 (package-delete-button-action): New function.
23770 (describe-package-1): Add Delete button.
23772 * lisp/emacs-lisp/package.el: Better dependency description.
23773 (package--used-elsewhere-p): New optional arg, ALL, and return
23774 package-desc objects instead of names.
23775 (package-delete): Update accordingly.
23776 (describe-package-1): Describe which packages require the package.
23778 2015-05-20 Martin Rudalics <rudalics@gmx.at>
23780 Fix handling and doc-string of FRAME arg of `other-buffer' (Bug#20533)
23781 * src/buffer.c (Fother_buffer): Argument FRAME must denote a live frame.
23784 Improve `switch-to-buffer' in strongly dedicated windows (Bug#20472)
23785 * lisp/window.el (switch-to-buffer-in-dedicated-window): New option.
23786 (switch-to-buffer): If the selected window is strongly dedicated
23787 to its buffer, signal error before prompting for buffer name.
23788 Handle `switch-to-buffer-in-dedicated-window'.
23789 * doc/lispref/windows.texi (Switching Buffers):
23790 Document `switch-to-buffer-in-dedicated-window'.
23792 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
23794 Prefer "this" to “this” in doc strings
23795 This mostly just straightens quotes introduced in my previous patch.
23796 Suggested by Dmitry Gutov in:
23797 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00565.html
23798 * lisp/faces.el, lisp/gnus/gnus-group.el, lisp/ldefs-boot.el:
23799 * lisp/mail/supercite.el, lisp/net/tramp.el, lisp/recentf.el:
23800 * lisp/textmodes/artist.el, lisp/textmodes/rst.el:
23801 * lisp/textmodes/tildify.el, lisp/vc/ediff-util.el:
23802 * lisp/vc/log-edit.el, lisp/xt-mouse.el:
23803 Prefer straight double quotes to curved double quotes in doc strings.
23805 Fix minor quoting problems in doc strings
23806 These were glitches regardless of how or whether we tackle the
23807 problem of grave accent in doc strings.
23808 * lisp/calc/calc-aent.el (math-restore-placeholders):
23809 * lisp/ido.el (ido-ignore-buffers, ido-ignore-files):
23810 * lisp/leim/quail/cyrillic.el ("bulgarian-alt-phonetic"):
23811 * lisp/leim/quail/hebrew.el ("hebrew-new")
23812 ("hebrew-biblical-sil"):
23813 * lisp/leim/quail/thai.el ("thai-kesmanee"):
23814 * lisp/progmodes/idlw-shell.el (idlwave-shell-file-name-chars):
23815 Used curved quotes to avoid ambiguities like ‘`''’ in doc strings.
23816 * lisp/calendar/calendar.el (calendar-month-abbrev-array):
23817 * lisp/cedet/semantic/mru-bookmark.el (semantic-mrub-cache-flush-fcn):
23818 * lisp/cedet/semantic/symref.el (semantic-symref-tool-baseclass):
23819 * lisp/cedet/semantic/tag.el (semantic-tag-copy)
23820 (semantic-tag-components):
23821 * lisp/cedet/srecode/cpp.el (srecode-semantic-handle-:cpp):
23822 * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
23823 * lisp/emacs-lisp/byte-opt.el (byte-optimize-all-constp):
23824 * lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-engine):
23825 * lisp/emacs-lisp/generator.el (iter-next):
23826 * lisp/gnus/gnus-art.el (gnus-treat-strip-list-identifiers)
23827 (gnus-article-mode-syntax-table):
23828 * lisp/net/rlogin.el (rlogin-directory-tracking-mode):
23829 * lisp/net/soap-client.el (soap-wsdl-get):
23830 * lisp/net/telnet.el (telnet-mode):
23831 * lisp/org/org-compat.el (org-number-sequence):
23832 * lisp/org/org.el (org-remove-highlights-with-change)
23833 (org-structure-template-alist):
23834 * lisp/org/ox-html.el (org-html-link-org-files-as-html):
23835 * lisp/play/handwrite.el (handwrite-10pt, handwrite-11pt)
23836 (handwrite-12pt, handwrite-13pt):
23837 * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
23838 * lisp/progmodes/idlwave.el (idlwave-mode, idlwave-check-abbrev):
23839 * lisp/progmodes/verilog-mode.el (verilog-tool)
23840 (verilog-string-replace-matches, verilog-preprocess)
23841 (verilog-auto-insert-lisp, verilog-auto-insert-last):
23842 * lisp/textmodes/makeinfo.el (makeinfo-options):
23843 * src/font.c (Ffont_spec):
23844 Fix minor quoting problems in doc strings, e.g., missing quote,
23845 ``x'' where `x' was meant, etc.
23846 * lisp/erc/erc-backend.el (erc-process-sentinel-2):
23847 Fix minor quoting problem in other string.
23848 * lisp/leim/quail/ethiopic.el ("ethiopic"):
23849 * lisp/term/tvi970.el (tvi970-set-keypad-mode):
23850 Omit unnecessary quotes.
23851 * lisp/faces.el (set-face-attribute, set-face-underline)
23852 (set-face-inverse-video, x-create-frame-with-faces):
23853 * lisp/gnus/gnus-group.el (gnus-group-nnimap-edit-acl):
23854 * lisp/mail/supercite.el (sc-attribs-%@-addresses)
23855 (sc-attribs-!-addresses, sc-attribs-<>-addresses):
23856 * lisp/net/tramp.el (tramp-methods):
23857 * lisp/recentf.el (recentf-show-file-shortcuts-flag):
23858 * lisp/textmodes/artist.el (artist-ellipse-right-char)
23859 (artist-ellipse-left-char, artist-vaporize-fuzziness)
23860 (artist-spray-chars, artist-mode, artist-replace-string)
23861 (artist-put-pixel, artist-text-see-thru):
23862 * lisp/vc/ediff-util.el (ediff-submit-report):
23863 * lisp/vc/log-edit.el (log-edit-changelog-full-paragraphs):
23864 Use double-quotes rather than TeX markup in doc strings.
23865 * lisp/skeleton.el (skeleton-pair-insert-maybe):
23866 Reword to avoid the need for grave accent and apostrophe.
23867 * lisp/xt-mouse.el (xterm-mouse-tracking-enable-sequence):
23868 Don't use grave and acute accents to quote.
23870 2015-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
23872 * lisp/emacs-lisp/generator.el (cps--gensym, cps--transform-1):
23875 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
23877 Try to port new etags tests to MS-Windows
23878 * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
23879 * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
23880 * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
23881 Adjust to test-case changes below.
23882 * test/etags/Makefile (CSRC): Remove dostorture.c.
23883 Whatever it was trying to test, wasn't working portably.
23884 (LC_ALL): Remove. Apparently there wasn't an encoding problem,
23885 just a line-ending problem.
23886 * test/etags/c-src/dostorture.c: Remove.
23887 * test/etags/cp-src/c.C: Remove stray CR.
23888 * test/etags/html-src/algrthms.html: Remove trailing CRs.
23889 State UTF-8 as the encoding. The file is ASCII so it doesn't matter,
23890 but if someone edits it later it should stay UTF-8-compatible.
23892 2015-05-19 Eli Zaretskii <eliz@gnu.org>
23894 Fix display of overlapping window-specific overlays
23895 * src/keyboard.c (adjust_point_for_property): When adjusting point
23896 due to display strings, ignore overlays that are specific to
23897 windows other than the currently selected one.
23898 * src/xdisp.c (handle_single_display_spec): If the display
23899 property comes from an overlay, arrange for buffer iteration to
23900 resume only after the end of that overlay. (Bug#20607)
23902 2015-05-19 Dmitry Gutov <dgutov@yandex.ru>
23904 New command icomplete-force-complete-and-exit
23905 * lisp/icomplete.el (icomplete-force-complete-and-exit):
23907 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00461.html)
23908 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00516.html).
23909 (icomplete-minibuffer-map): Bind C-j to it.
23910 (icomplete-forward-completions, icomplete-backward-completions):
23911 Mention the new command in the docstring.
23912 * lisp/minibuffer.el (minibuffer-force-complete-and-exit):
23913 Revert the previous fix for bug#17545.
23915 2015-05-19 Martin Rudalics <rudalics@gmx.at>
23919 In Elisp manual explain how to override window manager positioning
23921 * doc/lispref/frames.texi (Position Parameters): Give example of
23922 how to override a window manager positioning decision.
23924 Clarify concept of "surrogate minibuffer frames" (Bug#20538)
23925 * src/frame.c (Fdelete_frame): In doc-string mention that frame
23926 can't be deleted if it has a surrogate minibuffer.
23927 * doc/lispref/frames.texi (Minibuffers and Frames)
23928 (Deleting Frames): Explain "surrogate minibuffer frames".
23930 * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 19/12 MB.
23932 2015-05-18 Glenn Morris <rgm@gnu.org>
23934 Add option to ignore commit lines matching a pattern in ChangeLog
23935 * build-aux/gitlog-to-changelog: Add --ignore-line option.
23936 * build-aux/gitlog-to-emacslog: Ignore lines matching '^; '.
23938 2015-05-18 Paul Eggert <eggert@cs.ucla.edu>
23940 Don't skip new etags tests on non-UTF-8 hosts
23941 Problem reported by Eli Zaretskii for MS-Windows.
23942 * test/etags/Makefile (UTF8_LOCALE, UTF8_ENCODING): Remove.
23943 (LC_ALL): Set to C if the current locale isn't UTF-8.
23944 (.PHONY): Remove ediff_1 thru ediff_5.
23945 (check): Always run.
23947 2015-05-18 Glenn Morris <rgm@gnu.org>
23949 * lisp/calculator.el (calculator-funcall):
23950 * lisp/textmodes/artist.el (artist-spray-random-points):
23951 Use standard degree/radian conversion utilities.
23953 Further lisp-complete-symbol related cleanup.
23954 * lisp/emacs-lisp/lisp.el (lisp-complete-symbol):
23955 Unadvertise non-functional argument. Replace obsolete alias.
23957 2015-05-18 Dmitry Gutov <dgutov@yandex.ru>
23959 Add a test case for Maven warning ouput
23960 * test/automated/compile-tests.el
23961 (compile-tests--test-regexps-data): Add a case for Maven warning
23963 (compile--test-error-line): Check the compilation message type, if
23964 it's specified in the test data.
23966 2015-05-18 Paul Pogonyshev <pogonyshev@gmail.com>
23968 Update Maven compilation-mode entry to distinguish warnings
23969 * lisp/progmodes/compile.el
23970 (compilation-error-regexp-alist-alist): Update Maven entry to
23971 distinguish warnings (bug#20556).
23973 2015-05-18 Przemysław Wojnowski <esperanto@cumego.com>
23975 * test/automated/sgml-mode-tests.el: New file.
23977 2015-05-18 Dmitry Gutov <dgutov@yandex.ru>
23979 Improve handling of the first Git revision
23980 * lisp/vc/log-view.el (log-view-toggle-entry-display): When
23981 there's no next entry, delete until the end of the buffer.
23982 (log-view-end-of-defun-1): Stop at eob.
23983 * lisp/vc/vc-annotate.el
23984 (vc-annotate-show-diff-revision-at-line-internal): Don't give up
23985 when previous-revision is nil.
23986 * lisp/vc/vc-git.el (vc-git-expanded-log-entry): End the arguments
23987 with `--' to avoid ambiguity.
23988 (vc-git-annotate-extract-revision-at-line): Exclude `^' from the
23989 returned revision string.
23990 (vc-git-annotate-time): Expect `^' before the first revision.
23991 * lisp/vc/vc-git.el (vc-git-diff): Diff against an empty tree if
23992 REV1 is nil, and REV2 is not.
23993 * lisp/vc/vc.el: Update the description of the `diff' function.
23995 2015-05-18 Oleh Krehel <ohwoeowho@gmail.com>
23997 Allow checkdoc to be called in batch
23998 * lisp/emacs-lisp/checkdoc.el (checkdoc-error): When `noninteractive'
23999 is non-nil, echo the error with `warn'.
24000 How it can be used in -batch:
24001 (with-current-buffer (find-file "checkdoc.el")
24002 (checkdoc-current-buffer t))
24004 2015-05-18 Glenn Morris <rgm@gnu.org>
24006 * lisp/calendar/solar.el (solar-ecliptic-coordinates): Use float-pi.
24008 2015-05-17 Paul Eggert <eggert@cs.ucla.edu>
24010 * admin/notes/unicode: New section "binary files".
24012 Change new etags test to use UTF-8 encoding
24013 * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
24014 * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
24015 * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
24016 * test/etags/html-src/index.shtml, test/etags/html-src/software.html:
24017 * test/etags/html-src/softwarelibero.html:
24018 Switch to UTF-8 encoding.
24019 * test/etags/Makefile (SRCS): Adjust to switch to UTF-8.
24020 Remove Makefile, as it's too incestuous to have the test input
24021 include the build procedure.
24022 (UTF8_LOCALE, UTF_ENCODING): New macros.
24023 (LC_ALL): If possible, set to a UTF-8 encoding if not already UTF-8.
24024 (check): Skip if not UTF-8.
24025 (.PHONY): New rule.
24026 (FRC): Remove, as superseded by .PHONY. All uses removed.
24027 (regexfile): Prefer printf to echo when outputting oddball chars.
24028 (.PRECIOUS): Remove, as these files are not built.
24030 Rename 'foo-gzipped' to 'foo.gz'
24031 * test/automated/data/decompress/foo.gz:
24032 Rename from test/automated/data/decompress/foo-gzipped,
24033 to make it easier for other tools to tell that it's compressed.
24034 * test/automated/zlib-tests.el (zlib--decompress):
24035 Adjust to renamed file.
24037 2015-05-17 Dmitry Gutov <dgutov@yandex.ru>
24039 Set up default-directory
24040 * lisp/vc/vc-annotate.el (vc-annotate-mode-map): Remove duplicate
24042 (vc-annotate-show-changeset-diff-revision-at-line): Set up an
24043 appropriate value for default-directory.
24045 2015-05-17 Samer Masterson <samer@samertm.com>
24047 * lisp/eshell/em-term.el (eshell-term-sentinel):
24048 No-op by default, only kills term buffer if
24049 `eshell-destroy-buffer-when-process-dies' is non-nil. (Bug#18108)
24050 (eshell-destroy-buffer-when-process-dies): New custom to preserve
24053 eshell: Introduce new buffer syntax
24054 The new buffer syntax '#<buffer-name>' is equivalent to '#<buffer
24055 buffer-name>'. Remove `eshell-buffer-shorthand', as it is no longer
24056 needed (Bug#19319).
24057 * lisp/eshell/esh-io.el (eshell-buffer-shorthand): Remove.
24058 (eshell-get-target): Remove shorthand-specific code.
24059 * lisp/eshell/esh-arg.el (eshell-parse-special-reference): Parse
24062 2015-05-17 Jan D <jan.h.d@swipnet.se>
24064 Merge branch 'master' into cairo
24066 2015-04-26 Jan D <jan.h.d@swipnet.se>
24068 Merge branch 'master' into cairo
24070 Add PBM support for cairo
24071 * src/image.c (xcolor_to_argb32): New function.
24072 (get_spec_bg_or_alpha_as_argb): Call xcolor_to_argb32.
24073 (pbm_load, png_load_body, jpeg_load_body, gif_load): Only use
24074 XImagePtr if ! USE_CAIRO.
24075 (pbm_load): Add cairo support.
24077 2015-04-12 Jan D <jan.h.d@swipnet.se>
24079 * src/xterm.c (x_free_cr_resources): Rename from x_prepare_for_xlibdraw.
24080 (x_cr_draw_frame, x_cr_export_frames, x_shift_glyphs_for_insert)
24081 (x_free_frame_resources): Rename x_prepare_for_xlibdraw to
24082 x_free_cr_resources.
24084 Handle specified bg in images. Use generic libpng code for PNGs.
24085 * src/image.c (get_spec_bg_or_alpha_as_argb)
24086 (create_cairo_image_surface): New functions when USE_CAIRO.
24087 (xpm_load): Call the above functions. Handle XPM without mask
24089 (png_load_body): Handle USE_CAIRO case.
24090 (png_load): Remove USE_CAIRO specific fuction, modify png_load_body
24092 (jpeg_load_body): Call create_cairo_image_surface.
24093 (gif_load, svg_load_image): Handle specified background, call
24094 create_cairo_image_surface.
24095 * src/xterm.c (x_draw_image_glyph_string): Add missing USE_CAIRO.
24097 2015-04-11 Jan D <jan.h.d@swipnet.se>
24099 Support GIF and TIFF with cairo
24100 * configure.ac: Allow jpeg with cairo.
24101 Allow tiff and gif with cairo.
24102 * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
24103 (tiff_load): Create cairo image surface if USE_CAIRO.
24106 Support JPEG with USE_CAIRO
24107 * configure.ac: Allow jpeg with cairo.
24108 * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
24110 2015-04-05 Jan D <jan.h.d@swipnet.se>
24112 Support RSVG and cairo
24113 * configure.ac: Allow rsvg with cairo. Move back HAVE_RSVG.
24114 * src/dispextern.h (struct image): Add cr_data2 if cairo.
24115 * src/image.c: #undef COLOR_TABLE_SUPPORT when USE_CAIRO.
24116 (x_clear_image): Free cr_data and cr_data2 if set.
24117 (xpm_load): Assign data to cr_data2.
24118 (svg_load_image): Convert from GdkPixbuf to CAIRO_FORMAT_ARGB32.
24120 2015-04-03 Jan D <jan.h.d@swipnet.se>
24122 Introduce limited Xpm support (32 bit ZPixmap) for Cairo
24123 * configure.ac (HAVE_RSVG): Move after cairo.
24124 (USE_CAIRO): Disable rsvg, don't disable Xpm.
24125 * src/image.c (prepare_image_for_display): Don't load if USE_CAIRO.
24126 (x_clear_image): If USE_CAIRO, also free possible img->ximg->obdata and
24127 don't return early.
24128 (ALLOC_XPM_COLORS): Don't define when USE_CAIRO.
24129 (xpm_load): Convert simple Xpms (32 bit ZPixmap) to CAIRO_FORMAT_ARGB32
24130 and create a surface.
24132 Tool tips for menus did not show any text.
24133 * src/xterm.c (x_update_begin): Don't create any surface for non-visible
24134 tip frames, the geometry may be wrong.
24136 Merge branch 'master' into cairo, fixes tooltips not shown.
24138 Merge branch 'master' into cairo
24140 Add CAIRO_CFLAGS to lwlib/Makefile.in
24141 * Makefile.in (CAIRO_CFLAGS): Add.
24143 2015-02-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
24145 * src/ftcrfont.c (ftcrfont_draw): Don't flush when drawing to screen.
24147 2015-02-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
24149 Draw outermost line using black relief and erase corners also for cairo.
24150 * src/xterm.c [USE_CAIRO]: Include math.h.
24151 (enum corners) [USE_CAIRO]: New enum.
24152 (x_erase_corners_for_relief) [USE_CAIRO]: New function.
24153 (x_draw_relief_rect) [USE_CAIRO]: Use it. If box width is larger
24154 than 1, draw the outermost line using the black relief.
24156 * src/xterm.c (x_fill_trapezoid_for_relief):
24157 Remove unnecessary cairo_close_path.
24159 2015-02-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
24161 * src/xterm.c (x_draw_relief_rect) [USE_CAIRO]: Reset clipping.
24163 * src/xterm.c (x_draw_stretch_glyph_string):
24164 Call x_reset_clip_rectangles instead of XSetClipMask.
24166 Use int instead of unsigned int for width and height args.
24167 * src/xterm.c (x_cr_draw_image, x_fill_rectangle, x_draw_rectangle)
24168 (x_fill_trapezoid_for_relief): Use int instead of unsigned int for
24169 width and height args.
24171 Modernize k&r cairo-related function declarations.
24172 * src/gtkutil.c (xg_page_setup_dialog, xg_get_page_setup, draw_page)
24173 (xg_print_frames_dialog): Modernize k&r declarations.
24174 * src/xfns.c (Fx_export_frames, Fx_page_setup_dialog, Fx_get_page_setup)
24175 (Fx_print_frames_dialog): Modernize k&r declarations.
24176 * src/xterm.c (x_gc_get_ext_data, x_extension_initialize)
24177 (x_begin_cr_clip, x_end_cr_clip, x_set_cr_source_with_gc_foreground)
24178 (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
24179 (x_cr_destroy_fringe_bitmap, x_cr_draw_frame, x_cr_accumulate_data)
24180 (x_cr_destroy, x_cr_export_frames, x_prepare_for_xlibdraw)
24181 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
24182 (x_draw_rectangle, x_clear_window, x_fill_trapezoid_for_relief)
24183 (x_clear_area): Modernize k&r declarations.
24185 Implement wave-style variant of underlining for cairo.
24186 * src/xterm.c (x_draw_horizontal_wave) [USE_CAIRO]: New function.
24187 (x_draw_underwave) [USE_CAIRO]: Use it.
24189 * src/xterm.c (x_draw_window_divider): Use x_fill_rectangle
24190 instead of XFillRectangle.
24192 2015-02-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
24194 Fix fringe bitmap initialization for cairo
24195 * src/fringe.c (init_fringe_bitmap) [USE_CAIRO]: Adjust bitmap
24196 data for cairo image surface.
24197 * src/xterm.c (x_cr_define_fringe_bitmap):
24198 Call cairo_surface_mark_dirty.
24200 2015-02-11 Jan D <jan.h.d@swipnet.se>
24203 * configure.ac (with-cairo): New option.
24204 (USE_CAIRO): Default to yes for Gtk+ 3. Add code to test for cairo,
24205 set CAIRO_CFLAGS, CAIRO_LIBS. Add ftcrfonto to FONT_OBJ if cairo.
24206 Output "Does Emacs use cairo?".
24207 * lisp/version.el (emacs-version): Add cairo version.
24208 * src/Makefile.in (CAIRO_CFLAGS, CAIRO_LIBS): New variables.
24209 (FONT_OBJ): Add comment about ftcrfont.
24210 (ALL_CFLAGS): Add CAIRO_CFLAGS.
24211 (LIBES): Add CAIRO_LIBS.
24212 * src/dispextern.h (struct image): Add cr_data for cairo.
24213 (x_cr_init_fringe): Declare.
24214 * src/font.c (syms_of_font): Call syms_of_ftcrfont for cairo.
24215 * src/font.h (ftcrfont_driver, syms_of_ftcrfont): Declare
24216 * src/fringe.c (x_cr_init_fringe): New function name that shares code
24217 with w32_init_fringe.
24218 * src/ftcrfont.c: New font driver for cairo, based on the ftfont driver.
24219 * src/ftfont.c (ftfont_info_size); New global variable.
24220 (ftfont_open2): New extern function almost the same as old ftfont_open,
24221 but takes the font_object as argument.
24222 (ftfont_open): Build font object and call ftfont_open2.
24223 * src/ftfont.h (ftfont_open2, ftfont_info_size): Declare.
24224 * src/gtkutil.c (xg_clear_under_internal_border)
24225 (xg_update_scrollbar_pos, xg_update_horizontal_scrollbar_pos):
24226 Only queue_draw if not cairo. Change args to x_clear_area.
24227 (xg_get_font): Use Qftcr when using cairo, Qxft otherwise.
24228 (xg_page_setup_dialog, xg_get_page_setup, draw_page)
24229 (xg_print_frames_dialog): New functions for printing.
24230 * src/gtkutil.h (xg_page_setup_dialog, xg_get_page_setup)
24231 (xg_print_frames_dialog): Declare.
24232 * src/image.c: Add defined (USE_CAIRO) for PNG.
24233 Add !defined USE_CAIRO for W32 PNG code.
24234 (x_clear_image): If cairo, destroy the surface in cr_data.
24235 (png_load): Add new cairo compatible implementation.
24236 (lookup_image_type): Add defined (USE_CAIRO) for define png_type.
24237 * src/xfns.c: New section Printing.
24238 (x-export-frames, x-page-setup-dialog, x-get-page-setup)
24239 (x-print-frames-dialog): New printing functions.
24240 (Fx_create_frame, x_create_tip_frame): Register ftcrfont if cairo.
24241 (syms_of_xfns): Defsym Qorientation, Qtop_margin, Qbottom_margin,
24242 Qportrait, Qlandscape, Qreverse_portrait, Qreverse_landscape).
24243 (syms_of_xfns): Provide cairo and defvar cairo-version-string.
24244 defsubr Sx_page_setup_dialog, Sx_get_page_setup, Sx_print_frames_dialog.
24245 * src/xterm.c (x_clear_area1, x_prepare_for_xlibdraw)
24246 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
24247 (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
24248 (x_gc_get_ext_data, x_extension_initialize, x_cr_accumulate_data):
24250 (FRAME_CR_CONTEXT, FRAME_CR_SURFACE): New macros.
24251 (max_fringe_bmp, fringe_bmp): New variables.
24252 (x_gc_get_ext_data, x_extension_initialize)
24253 (x_cr_destroy_surface, x_begin_cr_clip, x_end_cr_clip)
24254 (x_set_cr_source_with_gc_foreground)
24255 (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
24256 (x_cr_destroy_fringe_bitmap, x_cr_draw_image, x_cr_draw_frame)
24257 (x_cr_accumulate_data, x_cr_destroy, x_cr_export_frames)
24258 (x_prepare_for_xlibdraw, x_set_clip_rectangles)
24259 (x_reset_clip_rectangles, x_fill_rectangle, x_draw_rectangle)
24260 (x_clear_window, x_fill_trapezoid_for_relief): New functions.
24261 (x_update_begin): Create cairo surface if needed.
24262 (x_draw_vertical_window_border): Call x_fill_rectangle for cairo.
24263 (x_update_end): Paint cairo drawing surface to xlib surface.
24264 (x_clear_under_internal_border, x_after_update_window_line): Adjust
24265 arguments to x_clear_area.
24266 (x_draw_fringe_bitmap): Call x_fill_rectangle. Get GC values and
24267 call x_cr_draw_image for cairo. Call x_reset_clip_rectangles instead
24269 (x_set_glyph_string_clipping)
24270 (x_set_glyph_string_clipping_exactly): Use x_set_clip_rectangles
24271 instead of XSetClipRectangles.
24272 (x_clear_glyph_string_rect, x_draw_glyph_string_background):
24273 Use x_fill_rectangle instead of XFillRectangle.
24274 (x_draw_glyph_string_foreground)
24275 (x_draw_composite_glyph_string_foreground)
24276 (x_draw_glyphless_glyph_string_foreground): Use x_draw_rectangle
24277 instead of XDrawRectangle.
24278 (x_draw_relief_rect): Add code for USE_CAIRO.
24279 Call x_reset_clip_rectangles instead of XSetClipMask.
24280 (x_draw_box_rect): x_set_clip_rectangles instead of XSetClipRectangles,
24281 x_fill_rectangle instead of XFillRectangle, x_reset_clip_rectangles
24282 instead of XSetClipMask.
24283 (x_draw_image_foreground, x_draw_image_foreground_1):
24284 x_draw_rectangle instead of XDrawRectangle.
24285 (x_draw_glyph_string_bg_rect): x_fill_rectangle instead of
24287 (x_draw_image_glyph_string): If img has cr_data, use it as
24289 (x_draw_stretch_glyph_string): x_set_clip_rectangles instead of
24290 XSetClipRectangles, x_fill_rectangle instead of XFillRectangle.
24291 (x_draw_glyph_string): x_fill_rectangle instead of XFillRectangle.,
24292 x_reset_clip_rectangles instead of XSetClipMask.
24293 (x_shift_glyphs_for_insert): Call x_prepare_for_xlibdraw.
24294 (x_clear_area1): New function that calls XClearArea.
24295 (x_clear_area): Takes frame as parameter, calls x_clear_area1 for
24297 (x_clear_frame): x_clear_window instead of XClearWindow.
24298 (x_scroll_run): Set frame garbaged if cairo.
24299 (XTmouse_position): Initialize *part to 0.
24300 (x_scroll_bar_create): Adjust arguments to x_clear_area.
24301 (x_scroll_bar_set_handle): x_clear_area1 instead of x_clear_area,
24302 x_fill_rectangle instead of XFillRectangle.
24303 (XTset_vertical_scroll_bar, XTset_horizontal_scroll_bar): Adjust
24304 arguments to x_clear_area.
24305 (x_scroll_bar_expose): x_draw_rectangle instead of XDrawRectangle.
24306 (handle_one_xevent): Adjust arguments to x_clear_area.
24307 Destroy cairo surface for frame if ConfigureNotify.
24308 (x_clip_to_row): x_set_clip_rectangles instead of XSetClipRectangles.
24309 (x_draw_hollow_cursor): x_draw_rectangle instead of XDrawRectangle,
24310 x_reset_clip_rectangles instead of XSetClipMask.
24311 (x_draw_bar_cursor): x_fill_rectangle instead of XFillRectangle,
24312 x_reset_clip_rectangles instead of XSetClipMask.
24313 (x_clear_frame_area): Adjust arguments to x_clear_area.
24314 (x_free_frame_resources): Call x_prepare_for_xlibdraw.
24315 (x_term_init): Call x_extension_initialize if cairo.
24316 (x_redisplay_interface): Add x_cr_define_fringe_bitmap,
24317 x_cr_destroy_fringe_bitmap for cairo.
24318 (x_initialize): Call x_cr_init_fringe for cairo.
24319 * src/xterm.h: Add include of cairo header files.
24320 (x_bitmap_record): Add img if cairo.
24321 (x_gc_ext_data): New struct for cairo.
24322 (x_display_info): Add ext_codes for cairo.
24323 (x_output): Add cr_context and cr_surface for cairo.
24324 (x_clear_area): Change arguments from Display*/Window to frame pointer.
24325 (x_query_color, x_begin_cr_clip, x_end_cr_clip)
24326 (x_set_cr_source_with_gc_foreground, x_set_cr_source_with_gc_background)
24327 (x_cr_draw_frame, x_cr_export_frames): Declare.
24329 2015-05-17 Johan Bockgård <bojohan@gnu.org>
24331 Fix integer-valued `mouse-highlight' (Bug#20590)
24332 * src/xterm.c (handle_one_xevent) [USE_GTK]: Fix ifdef scope.
24334 2015-05-17 Eli Zaretskii <eliz@gnu.org>
24336 MS-Windows followup for ASCIIfication of curved quotes
24337 * lisp/term/w32console.el (terminal-init-w32console): Repeat the
24338 test for curved quotes being displayable, after switching the
24339 terminal encoding. (Bug#20545)
24341 2015-05-17 Jan D <jan.h.d@swipnet.se>
24343 Add comment that x_shift_glyphs_for_insert is never called
24344 * src/xterm.c (x_shift_glyphs_for_insert, x_redisplay_interface):
24345 Add comment that this function is never called.
24347 2015-05-16 Glenn Morris <rgm@gnu.org>
24349 * src/lisp.mk: Remove from repository and generate at build-time.
24350 * src/Makefile.in (lisp.mk): New rule to generate from loadup.el.
24351 (shortlisp_filter): New variable.
24352 (emacs$(EXEEXT), $(etc)/DOC): Depend on lisp.mk.
24353 (distclean): Remove lisp.mk.
24354 * Makefile.in ($(MAKEFILE_NAME)): No longer depend on src/lisp.mk.
24355 * lisp/loadup.el: Tweak layout to make it easier to parse.
24356 * make-dist: Do not distribute src/lisp.mk.
24358 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
24360 Display shorter dates in Git annotate output
24361 * lisp/vc/vc-git.el (vc-git-annotate-command): Use the short date
24362 format (when not overridden with vc-git-annotate-switches).
24363 (vc-git-annotate-time): Support the short format, as well as ISO
24364 8601 that has been used until now (bug#5428).
24366 2015-05-16 Paul Eggert <eggert@cs.ucla.edu>
24368 ASCIIfy curved quotes on displays lacking them
24369 * lisp/international/mule-cmds.el (set-locale-environment):
24370 If curved quotes don't work, display straight ASCII approximations
24373 2015-05-16 Glenn Morris <rgm@gnu.org>
24375 Small src/Makefile simplification
24376 * src/lisp.mk (shortlisp): Rename from lisp, remove $lispsource prefix.
24377 * src/Makefile.in (lisp): Derive from shortlisp.
24378 ($(etc)/DOC): Use $shortlisp rather than parsing lisp.mk.
24380 2015-05-16 Eli Zaretskii <eliz@gnu.org>
24382 * lisp/help-mode.el (help-go-forward): Doc fix.
24385 * doc/lispref/debugging.texi (Profiling): Improve indexing.
24388 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
24390 * lisp/vc/vc-git.el (vc-git-resolve-when-done): Use `unless' to
24391 have one fewer `not'.
24393 * lisp/vc/vc-git.el (vc-git-diff-switches)
24394 (vc-git-annotate-switches, vc-git-resolve-conflicts)
24395 (vc-git-program, vc-git-root-log-format): Remove the redundant
24396 :group declarations.
24398 2015-05-16 Nicolas Petton <nicolas@petton.fr>
24400 Removes the predicate from lisp-complete-symbol (Bug#20456)
24401 * lisp/emacs-lisp/lisp.el (lisp-complete-symbol): Do not use predicate
24402 and remove it from the docstring.
24404 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
24406 Add new option vc-git-resolve-conflicts
24407 * lisp/vc/vc-git.el (vc-git-resolve-conflicts): New variable.
24408 (vc-git-find-file-hook): Add to after-save-hook only when the
24410 (vc-git-resolve-when-done): Update to honor the new variable.
24413 2015-05-16 Artur Malabarba <bruce.connor.am@gmail.com>
24415 * lisp/emacs-lisp/tabulated-list.el: Don't error on null header-string.
24416 (tabulated-list-init-header): Document new behavior.
24417 (tabulated-list-print-fake-header): Do nothing if
24418 `tabulated-list--header-string' is nil.
24419 (tabulated-list--header-string): Add a docstring.
24420 * doc/lispref/modes.texi (Tabulated List Mode): Document it.
24421 * etc/NEWS: Document it.
24423 2015-05-15 Leo Liu <sdl.web@gmail.com>
24425 Revert "Fix cps--gensym"
24426 * lisp/emacs-lisp/generator.el (cps--gensym): Revert commit
24427 fbda511ab8069d0115eafca411a43353b85431b1 on 2015-05-14.
24429 2015-05-15 Glenn Morris <rgm@gnu.org>
24431 Replace AC_SUBST_FILE in configure with include in Makefiles
24432 * configure.ac (DEPDIR, MKDEPDIR, deps_frag, lwlib_deps_frag)
24433 (oldxmenu_deps_frag, lisp_frag): Remove output variables/files.
24434 (AUTO_DEPEND): New output variable.
24435 * lwlib/Makefile.in (AUTO_DEPEND): New, set by configure.
24436 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
24437 (lwlib_deps_frag): Replace by conditional include.
24438 * lwlib/autodeps.mk: Remove file.
24439 * oldXMenu/Makefile.in (AUTO_DEPEND): New, set by configure.
24440 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
24441 (oldxmenu_deps_frag): Replace by conditional include.
24442 * oldXMenu/autodeps.mk: Remove file.
24443 * src/Makefile.in (AUTO_DEPEND): New, set by configure.
24444 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
24445 (lisp_frag): Replace by an include.
24446 (deps_frag): Replace by conditional include.
24447 * src/autodeps.mk: Remove file.
24449 Tweak japanese.el's loading of dependencies
24450 * lisp/loadup.el: Explicitly load cp51932 and eucjp-ms.
24451 * lisp/language/japanese.el: Use require rather than load.
24452 * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
24454 * admin/charsets/eucjp-ms.awk, admin/charsets/cp51932.awk:
24455 Provide a feature in the generated file.
24457 2015-05-15 Jan D <jan.h.d@swipnet.se>
24460 * src/nsmenu.m (ns_popup_dialog)
24461 * src/nsimage.m (initFromXBM:width:height:fg:bg:)
24462 * src/nsfns.m (Fx_create_frame): Remove unused variables.
24463 (Fns_read_file_name): Initialize fname, remove ret.
24464 * src/nsterm.m (ns_draw_window_cursor): Handle DEFAULT_CURSOR in switch.
24465 (ns_get_color, ns_set_horizontal_scroll_bar, keyDown):
24466 Remove unused variable.
24467 (init): Add parantesis in if.
24468 (ns_create_terminal): Assign set_horizontal_scroll_bar_hook.
24470 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
24472 Fix a enum conversion warning in macfont.m
24473 * src/macfont.h (CharacterCollection): Typedef to NSCharacterCollection.
24474 (MAC_CHARACTER_COLLECTION_*): Use the NS variants.
24476 2015-05-15 Eli Zaretskii <eliz@gnu.org>
24478 * lisp/textmodes/ispell.el (ispell-aspell-find-dictionary):
24479 Support Aspell dictionaries with names like "de-alt". (Bug#20581)
24481 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
24483 * lisp/cus-start.el: Add ns-confirm-quit.
24485 Fix warnings on OSX 10.10
24486 * src/nsfns.m (MODAL_OK_RESPONSE): New define for different
24488 (Fns_read_file_name): Check against MODAL_OK_RESPONSE.
24489 (compute_tip_xy): Use convertRectToScreen for OSX >= 10.7
24490 * src/nsmenu.m (initWithContentRect:styleMask:backing:defer:)
24491 * src/nsimage.m (allocInitFromFile, setPixmapData): Only call
24492 setScalesWhenResized for OSX < 10.6.
24493 * src/nsterm.h (EmacsScroller): Declare scrollerWidth.
24494 * src/nsterm.m (ns_copy_bits): New function that does not use
24495 deprecated NSCopyBits.
24496 (ns_scroll_run, ns_shift_glyphs_for_insert): Call ns_copy_bits.
24497 (runAlertPanel): New function.
24498 (applicationShouldTerminate:): Call runAlertPanel.
24499 (initFrameFromEmacs, toggleFullScreen:): Only call
24500 useOptimizedDrawing for OSX < 10.10.
24501 (initFrameFromEmacs:): Only call allocateGState for OSX < 10.10.
24502 (windowWillUseStandardFrame:defaultFrame:): Cast arg to abs to int.
24503 (draggingEntered:): Returns NSDragOperation.
24504 (scrollerWidth): Use scrollerWidthForControlSize for OSX >= 10.7.
24506 2015-05-15 Artur Malabarba <bruce.connor.am@gmail.com>
24508 * lisp/emacs-lisp/package.el: Don't ensure-init during startup.
24509 (package--init-file-ensured): New variable.
24510 (package-initialize, package--ensure-init-file): Use it.
24512 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
24514 Honor :fore/background for XBM on NS (Bug#14969)
24515 * src/nsterm.h (EmacsImage): Add xbm_fg, remove initFromSkipXBM,
24516 initFromXBM takes bg, fg args, remove flip arg.
24517 (ns_image_from_XBM): Add bg, fg args.
24518 * src/image.c (x_create_bitmap_from_data)
24519 (Create_Pixmap_From_Bitmap_Data): ns_image_from_XBM takes bg, fg args.
24520 * src/nsimage.m (ns_image_from_XBM): Add fg, bg args, pass to
24521 initFromXBM. Remove flip arg.
24522 (initFromSkipXBM): Move code to initFromXBM.
24523 (initFromXBM): Actually set fg and bg, instead of playing alpha games.
24524 Use fg, bg from args (Bug#14969). Remove if (length) section, was
24526 Remove bit flipping (bitPat, swt), generated incorrect images when
24527 width/height wasn't a multiple of 8.
24528 (setXBMColor:): Modify planes by comparing to saved xbm_fg.
24529 * src/nsterm.m (ns_draw_fringe_bitmap): initFromXBM takes fg, bg args,
24532 2015-05-15 Artur Malabarba <bruce.connor.am@gmail.com>
24534 * lisp/emacs-lisp/package.el: Be more careful with the init file.
24535 (package--ensure-init-file): Check that user-init-file is set,
24536 exists, is readable, and is writable. (Bug#20584)
24537 Also expand the docstring.
24539 2015-05-14 Wilson Snyder <wsnyder@wsnyder.org>
24541 Sync with upstream verilog-mode revision 6232468
24542 * lisp/progmodes/verilog-mode.el
24543 (verilog-font-lock-grouping-keywords-face)
24544 (verilog-highlight-grouping-keywords): Fix use of face when
24545 `verilog-highlight-grouping-keywords' set. Reported by Jeff Pompa.
24546 (verilog-auto-reset): Fix AUTORESET to ignore member resets if
24547 parent is reset, bug906. Reported by Ken Schmidt.
24548 (verilog-auto-inout-module): Add fourth regexp argument to
24549 AUTOINOUTMODULE and AUTOINOUTCOMP for signals to not match, bug856.
24550 Reported by John Tillema.
24551 (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
24552 modport if signal attachment is itself a modport. Reported by
24554 (verilog-auto-reset, verilog-auto-sense-sigs): Fix AUTORESET with
24555 always_comb and always_latch, bug844. Reported by Greg Hilton.
24556 (verilog-at-constraint-p, verilog-beg-of-statement-1): Fix hanging
24557 with many curly-bracket pairs, bug663.
24558 (verilog-set-auto-endcomments): Fix end comments for functions of
24559 type void, etc. Reported by Alex Reed.
24560 (verilog-do-indent): Fix electric tab deleting form-feeds. Note
24561 caused by indent-line-to deleting tabls pre 24.5.
24562 (verilog-nameable-item-re): Fix nameable items that can have an
24563 end-identifier to include endchecker, endgroup, endprogram,
24564 endproperty, and endsequence. Reported by Alex Reed.
24565 (verilog-label-be): When auto-commenting a buffer, consider
24566 auto-comments on all known keywords (not just a subset thereof).
24567 Reported by Alex Reed.
24568 (verilog-auto-end-comment-lines-re)
24569 (verilog-end-block-ordered-re, verilog-set-auto-endcomments):
24570 Automatically comment property/endproperty blocks to match other
24571 similar blocks like sequence/endsequence, function/endfunction, etc.
24572 Reported by Alex Reed.
24573 (verilog-set-auto-endcomments): Detect the function- or task-name
24574 when auto-commenting blocks that lack an explicit portlist.
24575 Reported by Alex Reed.
24576 (verilog-auto, verilog-auto-insert-last): Add AUTOINSERTLAST to
24577 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
24578 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
24579 is nil, fix indenting initial/final to match always statements,
24580 bug825. Reported by Tim Clapp.
24581 (verilog-extended-complete-re): Fix indentation of DPI-C imports
24582 with c_identifiers, and DPI-C imports, bug557. Reported by ZeDong
24583 Mao and Jason Forkey.
24584 (verilog-read-decls): Fix parsing typed interfaces. Fix
24585 AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
24586 Fix localparam not being ignored in AUTOINSTPARAM,
24587 bug889. Reported by Shannon Hill.
24588 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY,
24589 bug793. Reported by Pierre-David Pfister.
24590 (verilog-auto-arg-format, verilog-auto-arg-ports):
24591 Add verilog-auto-arg-format to support newlines in AUTOARG.
24592 Reported by Jie Xiao.
24593 (verilog-batch-execute-func): Do not batch re-auto files loaded by
24594 Local Variables. Fix printing "no changes to be saved" with
24595 verilog-batch. Reported by Dan Dever.
24596 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
24597 interface-only modules, bug721. Reported by Dean Hoyt.
24598 Author: Alex Reed <acreed4@gmail.com>
24599 * lisp/progmodes/verilog-mode.el (verilog-beg-of-statement):
24600 Don't treat '<keyword>:<identifier>' as the start of a labeled
24601 statement, bug905. Reported by Enzo Chi.
24602 (verilog-directive-re, verilog-compiler-directives)
24603 (verilog-keywords): Match full set of IEEE 2012-1800 compiler
24604 directives (plus some extras) when determining indentation, bug
24605 901. Reported by Bernd Beuster.
24606 (verilog-at-constraint-p): Fix indentation of coverpoint bins if
24607 iff expression doesn't start with word-character, bug900.
24608 (verilog-optional-signed-range-re, verilog-optional-signed-re):
24609 Fix incorrect indentation/alignment of unsigned declarations,
24611 (verilog-looking-back, verilog-in-attribute-p): Fix labeling of
24612 always constructs, bug895.
24613 (verilog-calc-1): Fix verilog-mode constraint indentation, bug324.
24614 Reported by Eric Mastromarchi.
24615 (verilog-beg-of-statement): Fix indenting for some forms of
24616 constraintsm bug433. Reported by Brad Parker. Fix indentation of
24617 continued assignment incorrect if first line ends with ']', bug437.
24618 Reported by Dan Dever. Fix indention of cover inside an
24619 ifdef, bug 862. Reported by Bernd Beuster. Fix labeling do-while
24621 (verilog-preprocessor-re): Fix fork/end UNMATCHED warning, bug859.
24622 Reported by Kaushal Modi.
24623 (verilog-set-auto-endcomments): Fix endlabel end comments, bug888.
24624 (verilog-backward-token): Fix indenting sensitivity lists with
24625 named events, bug840. Reed.
24626 (verilog-no-indent-begin-re): Fix `verilog-indent-begin-after-if'
24627 nil not honoring 'forever', 'foreach', and 'do' keywords.
24629 2015-05-14 Paul Eggert <eggert@cs.ucla.edu>
24631 Check for invalid GTK+ monitor scales
24632 * src/gtkutil.c (xg_get_gdk_scale): Return 1 for invalid scales,
24633 INT_MAX for too-large scales. All callers changed to assume the
24634 result is valid (Bug#20432).
24635 (xg_frame_set_char_size, xg_update_scrollbar_pos):
24636 Calculate scale only if needed.
24637 Show ASCII approximations instead.
24639 2015-05-14 Eli Zaretskii <eliz@gnu.org>
24641 Fix daemon crashes when linum-mode is turned on early on
24642 * src/window.c (Fwindow_end): Don't try calling display engine
24643 functions on initial-frame frame. (Bug#20565)
24645 Fix selective diff browsing in Ediff
24646 * lisp/vc/ediff-util.el (ediff-focus-on-regexp-matches):
24647 Go to the beginning of the region before searching for the
24648 ediff-regexp-focus-* regexps. (Bug#20568)
24650 2015-05-14 Jan D <jan.h.d@swipnet.se>
24653 * src/gtkutil.c (delete_cb): Don't send delete event here, it does
24654 arrive in the main loop, even for Gtk 3 (Bug#20142).
24656 Don't access display after i/o error (Bug#19147).
24657 * src/xterm.c (x_connection_closed): Add third arg ioerror.
24658 If ioerror, set display to 0 (Bug#19147).
24659 (x_error_quitter): Call x_connection_closed with third arg false.
24660 (x_io_error_quitter): Call x_connection_closed with third arg true.
24662 Handle GTK_SCALE, fixes Bug#20432.
24663 * src/gtkutil.c (xg_get_gdk_scale): New function.
24664 (xg_frame_set_char_size)
24665 (x_wm_set_size_hint, xg_get_default_scrollbar_width)
24666 (xg_get_default_scrollbar_height)
24667 (xg_update_horizontal_scrollbar_pos): Take GTK_SCALE in to account
24668 when setting sizes (Bug#20432).
24670 2015-05-13 Leo Liu <sdl.web@gmail.com>
24672 * lisp/emacs-lisp/generator.el (cps--gensym): Fix.
24674 2015-05-13 Glenn Morris <rgm@gnu.org>
24676 Fix bootstrap (void function cl-member).
24677 * lisp/emacs-lisp/cl-lib.el: Load cl-seq if no cl-loaddefs file.
24678 * lisp/emacs-lisp/cl-seq.el: Provide a feature.
24680 2015-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
24682 * lisp/loadup.el ("emacs-lisp/cl-generic"): Preload
24683 * src/lisp.mk (lisp): Add emacs-lisp/cl-generic.elc.
24684 * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method):
24685 Avoid defalias for closures which are not immutable.
24686 (cl--generic-prefill-dispatchers): New macro. Use it to prefill
24687 the dispatchers table with various entries.
24688 * lisp/emacs-lisp/ert.el (emacs-lisp-mode-hook):
24689 * lisp/emacs-lisp/seq.el (emacs-lisp-mode-hook): Use add-hook.
24691 2015-05-13 Eli Zaretskii <eliz@gnu.org>
24693 Improve tagging of C bindings in DEFVAR_*
24694 * src/Makefile.in (TAGS): Add --regex options to tag the C binding
24697 2015-05-13 Paul Eggert <eggert@cs.ucla.edu>
24699 * src/editfns.c (Fformat): Fix use-after-free bug (Bug#20548).
24701 2015-05-12 Glenn Morris <rgm@gnu.org>
24703 * lisp/progmodes/tcl.el (tcl-filter):
24704 Handle comint-prompt-read-only like gud.el does. (Bug#20549)
24706 Add basic VC push support
24707 * lisp/vc/vc.el (vc-push): New autoloaded command.
24708 * lisp/vc/vc-hooks.el (vc-prefix-map, vc-menu-map): Add vc-push.
24709 * lisp/vc/vc-bzr.el (vc-bzr--pushpull): New, factored from vc-bzr-pull.
24710 (vc-bzr-pull): Reimplement using vc-bzr--pushpull.
24711 (vc-bzr-push): New.
24712 * lisp/vc/vc-git.el (vc-git--pushpull): New, factored from vc-git-pull.
24713 (vc-git-pull): Reimplement using vc-git--pushpull.
24714 (vc-git-push): New.
24715 * lisp/vc/vc-hg.el (vc-hg--pushpull): New, factored from vc-hg-pull.
24716 (vc-hg-pull, vc-hg-push): Reimplement using vc-hg--pushpull.
24717 * doc/emacs/maintaining.texi (Pulling / Pushing):
24718 Rename from "VC Pull". Mention pushing.
24719 (VC With A Merging VCS, VC Change Log): Update xrefs.
24720 (Branches): Update menu.
24721 * doc/emacs/emacs.texi: Update menu.
24722 * etc/NEWS: Mention this.
24724 2015-05-12 Nicolas Petton <nicolas@petton.fr>
24726 Improve the seq pcase pattern and the `seq-let' macro
24727 * lisp/emacs-lisp/seq.el: The pcase pattern now matches only if the
24728 object is a sequence, and binds each element of ARGS to the
24729 corresponding element of the sequence.
24731 2015-05-12 Eli Zaretskii <eliz@gnu.org>
24733 Fix tags created from DEFVAR_* declarations in C
24734 * src/Makefile.in (TAGS): Improve the --regex argument to etags,
24735 to make tags extracted from DEFVAR_* declarations more accurate.
24737 Add a test suite for etags
24738 * test/etags/: New test suite, adapted from
24739 http://fly.isti.cnr.it/pub/software/unix/etags-regression-test.tar.bz2,
24740 whose original author is Francesco Potortì <pot@gnu.org>.
24742 Fix tagging of symbols in C enumerations
24743 * lib-src/etags.c (consider_token): Don't tag symbols in
24744 expressions that assign values to enum constants. See
24745 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00291.html
24747 (C_entries): Reset fvdef to fvnone after processing a preprocessor
24748 conditional and after a comma outside of parentheses.
24750 2015-05-12 Glenn Morris <rgm@gnu.org>
24752 * lisp/url/url-handlers.el (url-file-name-completion)
24753 (url-file-name-all-completions): Silence compiler.
24755 * lisp/emacs-lisp/chart.el (chart-axis-draw): Replace obsolete alias.
24757 * lisp/play/dunnet.el (dun-dos-boot-msg): Fix time. (Bug#20554)
24759 2015-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24761 * lisp/emacs-lisp/cl-generic.el: Add dispatch on &context arguments
24762 (cl--generic-mandatory-args): Remove.
24763 (cl--generic-split-args): New function.
24764 (cl-generic-define, cl--generic-lambda): Use it.
24765 (cl-generic-define-method): Use it as well, and add support for
24767 (cl--generic-get-dispatcher): Handle &context dispatch.
24768 (cl--generic-cache-miss): `dispatch-arg' can now be a
24769 context expression.
24770 (cl--generic-dispatchers): Pre-fill.
24771 * test/automated/cl-generic-tests.el (sm-generic-test-12-context):
24774 2015-05-11 Glenn Morris <rgm@gnu.org>
24776 * make-dist: Abort if "make ChangeLog" fails. Add "--no-changelog".
24778 2015-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
24780 * lisp/term/xterm.el: Fix xterm-paste handling for rxvt
24781 * lisp/term/rxvt.el: Require term/xterm.
24782 (rxvt-function-map): Use xterm-rxvt-function-map.
24783 (rxvt-standard-colors): Move before first use.
24784 (terminal-init-rxvt): Use xterm--push-map and
24785 xterm-register-default-colors.
24786 (rxvt-rgb-convert-to-16bit, rxvt-register-default-colors): Remove.
24787 * lisp/term/xterm.el (xterm-rxvt-function-map): New var.
24788 Move shared bindings between rxvt and xterm to it.
24789 (xterm-function-map): Use it. Move the xterm-paste binding to
24790 xterm-rxvt-function-map (bug#20444).
24791 (xterm-standard-colors): Move before first use.
24792 (xterm--push-map): New function.
24793 (xterm-register-default-colors): Take standard colors as argument.
24794 (terminal-init-xterm): Use it. Adjust call to
24795 xterm-register-default-colors.
24797 2015-05-11 Glenn Morris <rgm@gnu.org>
24799 * lisp/term/x-win.el: Quieten --without-x compilation.
24800 (x-own-selection-internal, x-disown-selection-internal)
24801 (x-selection-owner-p, x-selection-exists-p, x-get-selection-internal):
24804 * Makefile.in (emacslog): Remove srcdir.
24805 (ChangeLog): Update for the above.
24807 2015-05-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
24809 python.el: better limit for looking-back calls
24810 * lisp/progmodes/python.el (python-shell-accept-process-output):
24811 Use last comint prompt start as limit for looking-back.
24813 2015-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
24815 CEDET (srecode-insert-fcn): Fix use of oref on a class
24816 * lisp/cedet/srecode/insert.el (srecode-insert-fcn): Fix use of oref
24817 on a class. Reported by Pierre Lorenzon.
24818 (srecode-template-inserter-point): Remove declaration.
24820 CEDET (srecode-create-dictionary): Avoid obsolete object name
24821 * lisp/cedet/srecode/dictionary.el (srecode-create-dictionary):
24822 Don't use a symbol as an object name. Reported by Pierre Lorenzon.
24824 2015-05-10 Paul Eggert <eggert@cs.ucla.edu>
24826 C-x 8 shorthands for curved quotes, Euro, etc.
24827 Although C-x 8 lets you insert arbitrary Unicode characters,
24828 it's awkward to use this to insert commonly used symbols such as curved
24829 quotes, the Euro symbol, etc. This patch adds simpler sequences for
24830 characters commonly found in English text and in basic math.
24831 For example, assuming the Alt key works on your keyboard and iso-transl
24832 is loaded, one can now type "A-[" instead of "A-RET LEFT SIN TAB RET"
24833 to get the character "‘" (U+2018 LEFT SINGLE QUOTATION MARK).
24835 * doc/emacs/mule.texi (Unibyte Mode):
24836 A few other printing characters now work too.
24837 * etc/NEWS: Document this.
24838 * lisp/international/iso-transl.el (iso-transl-char-map):
24839 Also support the following characters:
24840 ‐ ‑ ‒ – — ― ‘ ’ “ ” † ‡ • ′ ″ € № ← → ↔ − ≈ ≠ ≤ ≥
24842 2015-05-10 Dmitry Gutov <dgutov@yandex.ru>
24844 Add xref-find-regexp
24845 * lisp/progmodes/xref.el (xref-find-function): Describe the
24847 (xref-find-regexp): New command, using it.
24848 (xref-collect-references): Rename to xref-collect-matches.
24849 (xref--collect-reference): Rename to xref--collect-match.
24850 (xref-collect-matches, xref--collect-match): Accept new argument,
24851 KIND. Update accordingly.
24852 (xref--regexp-to-extended): New function.
24853 * lisp/progmodes/elisp-mode.el (elisp-xref-find): Support the
24855 (elisp--xref-find-matches): Accept new argument. Resolve a FIXME.
24856 * lisp/progmodes/etags.el (etags-xref-find):
24857 Support the `matches' action.
24858 (etags--xref-find-matches): New function.
24860 2015-05-10 Glenn Morris <rgm@gnu.org>
24862 * Makefile.in: Fixes for recent change-history changes.
24863 (change-history-nocommit): Update footer regexp.
24864 Ensure output script stays executable.
24866 2015-05-10 Nicolas Petton <nicolas@petton.fr>
24868 New version of `seq-let' based on a pcase pattern
24869 * lisp/emacs-lisp/seq.el (seq-let): Define the macro in terms of a
24870 pcase pattern if `pcase-defmacro' is defined (Emacs>=25.1).
24872 2015-05-10 Przemysław Wojnowski <esperanto@cumego.com>
24874 Add basic HTML5 tags and a template
24875 * lisp/textmodes/sgml-mode.el: Basic HTML5 support.
24876 (html-tag-alist): Add HTML5 tags.
24877 (html-tag-help): Add new tags descriptions.
24878 (html-navigational-links): Template for nav links.
24879 (html-html5-template): Template for a HTML5 page.
24881 2015-05-10 Dmitry Gutov <dgutov@yandex.ru>
24883 semantic/symref/grep: Don't use word boundaries
24884 * lisp/cedet/semantic/symref/grep.el
24885 (semantic-symref-perform-search): Instead of wrapping input in
24886 word boundaries, check that the characters before and after are
24887 not word constituents.
24889 semantic/symref/grep: Support regexp search
24890 * lisp/cedet/semantic/symref.el
24891 (semantic-symref-hit-to-tag-via-buffer): Don't regexp-quote when
24892 the search type is regexp.
24893 * lisp/cedet/semantic/symref/grep.el
24894 (semantic-symref-perform-search): Support the regexp search type.
24895 Pass -E to Grep when it's used.
24897 semantic-symref-regexp: Allow to input an arbitrary string
24898 * lisp/cedet/semantic/symref/list.el (semantic-symref-regexp):
24899 Allow to input an arbitrary string interactively.
24901 Remove tag-symbol-match-p from etags-xref-find-definitions-tag-order
24902 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
24903 Remove tag-symbol-match-p from the default value
24904 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00292.html).
24906 Declare find-tag obsolete
24907 * lisp/progmodes/etags.el (find-tag): Declare obsolete in favor of
24908 xref-find-definitions.
24910 2015-05-10 Jan D <jan.h.d@swipnet.se>
24912 Draw composite string correctly (Bug#20537)
24913 * src/nsterm.m (ns_draw_composite_glyph_string_foreground):
24915 (ns_draw_glyph_string): Call it.
24917 2015-05-09 Eli Zaretskii <eliz@gnu.org>
24919 Avoid infloop in ERC
24920 * lisp/simple.el (line-move-to-column): Ignore field boundaries
24921 while computing line beginning position. (Bug#20498)
24923 2015-05-08 Glenn Morris <rgm@gnu.org>
24925 * Makefile.in (ChangeLog): No longer pass "srcprefix"; cd instead.
24926 * build-aux/gitlog-to-emacslog: Check called from right directory.
24927 (srcprefix): Remove.
24929 * build-aux/gitlog-to-emacslog: Get rid of "distprefix".
24930 * Makefile.in (ChangeLog): No longer pass "distprefix".
24931 * make-dist: Update "make ChangeLog" syntax for the above change.
24933 * build-aux/gitlog-to-emacslog: Don't hard-code "ChangeLog.2".
24934 * Makefile.in (ChangeLog): Pass -n to gitlog-to-emacslog.
24936 * build-aux/gitlog-to-emacslog: Add "for earlier changes" to footer.
24938 Add command-line option-parsing to gitlog-to-emacslog
24939 * build-aux/gitlog-to-emacslog: Add command-line options.
24940 By default, refuse to remove an existing output file.
24941 * Makefile.in (CHANGELOG): Update default.
24942 (ChangeLog): Do not test for existing file.
24943 (change-history-nocommit): Ensure temp file does not exist.
24945 Quieten --without-x compilation
24946 * lisp/term/common-win.el: Provide a feature.
24947 * lisp/term/x-win.el (term/common-win): Require it.
24949 * lisp/dired-aux.el (dired-do-print): Require lpr.
24951 Quieten compilation, eg in --without-x builds
24952 * lisp/dired-aux.el (lpr-printer-switch):
24953 * lisp/frame.el (tool-bar-height):
24954 * lisp/linum.el (font-info):
24955 * lisp/window.el (font-info, overflow-newline-into-fringe)
24957 * lisp/emacs-lisp/package-x.el (tar-data-buffer):
24958 * lisp/gnus/gnus-util.el (iswitchb-mode):
24959 * lisp/mail/rmailmm.el (libxml-parse-html-region):
24960 * lisp/net/nsm.el (gnutls-peer-status)
24961 (gnutls-peer-status-warning-describe):
24962 * lisp/net/shr.el (libxml-parse-xml-region):
24963 * lisp/url/url-http.el (gnutls-peer-status): Declare.
24965 2015-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24967 CEDET (srecode-pop, srecode-peek): Don't use `subclass'
24968 * lisp/cedet/srecode/insert.el (srecode-pop, srecode-peek): Don't use
24969 `subclass' since they're never called with a class.
24970 (srecode-insert-method, srecode-insert-subtemplate): Avoid obsolete
24971 srecode-dictionary-child-p.
24973 2015-05-08 Nicolas Richard <theonewiththeevillook@yahoo.fr>
24975 * lisp/help.el (help--binding-locus): Document argument POSITION.
24978 2015-05-08 Paul Eggert <eggert@cs.ucla.edu>
24981 * doc/misc/texinfo.tex: Get latest version.
24983 2015-05-08 Oleh Krehel <ohwoeowho@gmail.com>
24985 ffap.el (ffap-read-file-or-url): Fix completing-read call
24986 * lisp/ffap.el (ffap-read-file-or-url): The HIST argument of
24987 `completing-read' should be a symbol.
24989 2015-05-08 Eli Zaretskii <eliz@gnu.org>
24991 Verify file modifications by other programs
24992 * src/filelock.c (lock_file): Check whether the file was modified
24993 since it was visited even if 'create-lockfiles' is nil. (Bug#18828)
24995 Fix keyboard macros that include function keys
24996 * src/keyboard.c (read_char_minibuf_menu_prompt): Record function
24997 keys in the macro before returning. (Bug#20454)
24999 2015-05-08 Glenn Morris <rgm@gnu.org>
25001 * build-aux/gitlog-to-changelog: Treat "Tiny-change" like
25002 "Copyright-paperwork-exempt". (Bug#20324)
25004 * lisp/vc/log-edit.el: Handle "(tiny change)". (Bug#20324)
25005 (log-edit-rewrite-tiny-change): New variable.
25006 (log-edit-insert-changelog): Maybe add "Copyright-paperwork-exempt".
25007 (log-edit-changelog-ours-p): Set log-edit-author to a cons.
25008 * etc/NEWS: Mention this.
25010 * lisp/calc/calc.el (math-zerop): Declare.
25012 * lisp/emacs-lisp/eieio-opt.el (help-fns-short-filename): Declare.
25014 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
25016 * lisp/emacs-lisp/subr-x.el (if-let): Fix debug spec.
25017 Support the case when BINDINGS is a single tuple. (Bug#20525)
25019 * etc/NEWS: Fix typo in previous commit
25020 (14bb519f1034ddb38ce375cbad7095d9b07f8b26).
25022 2015-05-07 Jan D <jan.h.d@swipnet.se>
25024 * configure.ac: Warn for multiple display crash for all Gtk+ versions.
25025 Output URL to Gtk+ bug (Bug#20452).
25027 * lisp/term/ns-win.el (ns-paste-secondary): Use gui-get-selection.
25029 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
25031 * lisp/emacs-lisp/package.el: New "external" package status.
25032 An external package is any installed package that's not built-in
25033 and not from `package-user-dir', which usually means it's from an
25034 entry in `package-directory-list'. They are treated much like
25035 built-in packages, in that they cannot be through the Package Menu
25036 deleted and are not considered for upgrades.
25037 (package-desc-status): Identify if a package is installed outside
25038 `package-user-dir'.
25039 (package-menu--print-info-simple)
25040 (package-menu--status-predicate): Add support for it.
25041 * etc/NEWS: Document it.
25043 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25045 * lisp/mail/rmail.el: Use lexical-binding.
25046 (rmail-bury): Remove unused var `buffer-to-bury'.
25047 (rmail-get-new-mail): Remove unused vars `opoint' and `success'.
25048 (rmail-parse-url): Remove unused var `proto', `user', and `host'.
25049 (rmail-unrmail-new-mail-maybe): Remove unused var `new-file'.
25050 (rmail-insert-inbox-text): Remove unused var `movemail'.
25051 (rmail-add-mbox-headers): Remove unused var `limit'.
25052 (rmail-undelete-previous-message): Remove unused var `value'.
25053 (rmail-reply): Remove unused vars `resent-to', `resent-cc',
25055 (rmail-mime-mbox-buffer, rmail-mime-view-buffer): Declare.
25056 (rmail-restore-desktop-buffer): Rename arguments.
25058 2015-05-06 Glenn Morris <rgm@gnu.org>
25060 * Makefile.in (change-history-commit): Add missing piece of previous.
25062 Avoid unnecessary bumping of Makefile.in's timestamp
25063 * Makefile.in (gen_origin): Move to gitlog-to-emacslog.
25064 (emacslog): New variable.
25065 (ChangeLog): Use $emacslog. Don't pass $gen_origin.
25066 (unchanged-history-files): Use $emacslog rather than Makefile.in.
25067 (change-history-nocommit): Store hash in $emacslog.
25068 * build-aux/gitlog-to-emacslog (gen_origin): Move default here.
25069 * admin/update_autogen (changelog_files): Update for the above.
25071 * Makefile.in: Don't always insist on removing existing "ChangeLog".
25072 (CHANGELOG): New variable.
25073 (no-ChangeLog): Remove.
25074 (ChangeLog): Replace "no-ChangeLog"; pass output file to script.
25075 (change-history-nocommit): Use a temp file rather than insisting
25076 on deletion of any existing "ChangeLog".
25078 * build-aux/gitlog-to-emacslog: Allow specification of output.
25080 * admin/update_autogen: Add option to update ChangeLog.
25081 (usage): Mention -H.
25082 (changelog_flag, changelog_n, changelog_files): New variables.
25083 (main): Check for -H, and maybe run change-history-nocommit.
25085 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25087 * lisp/subr.el (delete-dups): Pre-size the hashtable.
25089 * lisp/emacs-lisp/cl.el (define-modify-macro): Make sure
25090 cl--arglist-args is defined (bug#20517).
25092 2015-05-06 Glenn Morris <rgm@gnu.org>
25094 * Makefile.in (change-history-nocommit): New.
25096 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
25098 * lisp/cedet/pulse.el (pulse-momentary-unhighlight): Only cancel
25099 timer when it is non-nil
25100 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00223.html).
25102 2015-05-06 Glenn Morris <rgm@gnu.org>
25104 Quieten CEDET compilation
25105 * lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym->tag):
25106 Invert fboundp test to quieten on current Emacs.
25107 * lisp/cedet/ede/config.el (ede-shell-run-something)
25108 (semanticdb-file-table-object, semanticdb-needs-refresh-p)
25109 (semanticdb-refresh-table): Declare.
25110 (ede-preprocessor-map): Require semantic/db.
25112 Quieten cc-mode compilation
25113 * lisp/progmodes/cc-awk.el (c-forward-sws):
25114 * lisp/progmodes/cc-cmds.el (c-forward-subword, c-backward-subword):
25117 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
25119 * lisp/subr.el (delete-dups): Avoid nreverse.
25121 2015-05-06 Artur Malabarba <bruce.connor.am@gmail.com>
25123 * lisp/subr.el (delete-dups): Make it destructive again.
25125 2015-05-06 Paul Eggert <eggert@cs.ucla.edu>
25127 * doc/lispref/sequences.texi (Sequence Functions): Fix quoting.
25129 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25131 * lisp/emacs-lisp/testcover.el: Don't use edebug--read (bug#20487).
25132 * lisp/emacs-lisp/testcover.el: Use lexical-binding.
25133 (testcover--read): Rename from testcover-read. Change calling
25134 convention. Use edebug-read-and-maybe-wrap-form now that edebug-read
25136 (testcover-start): Use add-function. Move edebug-all-defs binding to
25138 (testcover-this-defun): Tighten scope of edebug-all-defs binding.
25139 (testcover-mark): Remove unused var `item'.
25140 * src/lread.c (syms_of_lread): Default load-read-function to `read'.
25142 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
25144 * lisp/subr.el (delete-dups): When there are more than 100 candidates,
25145 use a hash table. This can result in ~500 times speed-up for typical
25146 collections of size 5000, like that of `load-library'.
25148 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25150 CEDET: Avoid `oref' on classes in a few more cases
25151 * lisp/cedet/ede/generic.el (ede-find-target):
25152 * lisp/cedet/ede.el (ede-project-forms-menu): Avoid `oref' on classes.
25153 * lisp/cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Remove unused
25156 * lisp/cedet/semantic/symref/grep.el: Fix unused var warnings.
25157 (grepflags, greppattern): Declare.
25158 (semantic-symref-perform-search): Remove unused var `pat'.
25160 CEDET (srecode-compile-inserter): Avoid `oref' on classes
25161 * lisp/cedet/srecode/compile.el (srecode-compile-inserter):
25162 Avoid `oref' on classes (bug#20491).
25163 (srecode-compile-split-code): Remove unused var `key'.
25165 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
25167 Clean up pulse.el a little
25168 * lisp/cedet/pulse.el (pulse): Remove.
25169 (pulse-momentary-timer): Save instead of the stop time.
25170 (pulse-momentary-highlight-overlay):
25171 Call pulse-momentary-unhighlight first thing.
25172 Treat pulse-momentary-overlay as a single value, not a list.
25173 Save the created timer. Only pass the stop time to the timer.
25174 (pulse-tick): Update accordingly.
25175 (pulse-momentary-unhighlight): Treat pulse-momentary-overlay as a
25176 single value. Cancel the timer.
25178 2015-05-06 Tassilo Horn <tsdh@gnu.org>
25180 * lisp/textmodes/reftex-cite.el (reftex-format-bib-entry):
25181 Support the biblatex journaltitle field.
25183 2015-05-05 Glenn Morris <rgm@gnu.org>
25185 Minor declare-function improvement
25186 * lisp/emacs-lisp/bytecomp.el
25187 (byte-compile-macroexpand-declare-function):
25188 Handle declarations after calls. (Bug#20509)
25190 * lisp/progmodes/js.el (js--optimize-arglist): Remove declaration.
25192 * lisp/w32-fns.el (w32-shell-name): Silence compiler.
25194 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
25196 Pulse using a timer
25197 * lisp/cedet/pulse.el (pulse-momentary-stop-time): New variable.
25198 (pulse-momentary-highlight-overlay): Set up the timer instead of
25200 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/).
25201 (pulse-tick): New function.
25202 (pulse-momentary-unhighlight): Cut off the stop time.
25203 (pulse-delay): Update the docstring WRT to not using sit-for.
25205 Add semantic/symref/grep file patterns for ruby-mode
25206 * lisp/cedet/semantic/symref/grep.el
25207 (semantic-symref-filepattern-alist): Add patterns for ruby-mode.
25208 Clarify the docstring.
25210 Don't require match
25211 * lisp/progmodes/xref.el (xref--read-identifier): Don't require
25212 match. That doesn't work for every command, and some identifier
25213 completion tables are bound to be imperfect anyway.
25215 2015-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25217 * lisp/cedet/semantic/grammar.el: Fix compiler warnings (bug#20505).
25218 (semantic-grammar--template-expand): New function.
25219 (semantic-grammar-header, semantic-grammar-footer): Use it.
25220 (semantic-grammar--lex-block-specs): Remove unused var `block-spec'.
25221 (semantic-grammar-file-regexp): Refine regexp.
25222 (semantic-grammar-eldoc-get-macro-docstring):
25223 Use elisp-get-fnsym-args-string when available.
25224 (semantic-idle-summary-current-symbol-info): Use new elisp-* names
25225 instead of the old eldoc-* names.
25226 * lisp/emacs-lisp/eldoc.el (eldoc-docstring-format-sym-doc): Move back
25227 from elisp-mode.el. Tweak calling convention.
25228 * lisp/progmodes/elisp-mode.el (package-user-dir): Declare.
25229 (elisp-get-fnsym-args-string): Add `prefix' argument. Rename from
25230 elisp--get-fnsym-args-string.
25231 (elisp--highlight-function-argument): Add `prefix' arg.
25232 (elisp-get-var-docstring): Rename from elisp--get-var-docstring.
25233 (elisp--docstring-format-sym-doc): Move back to eldoc.el.
25235 2015-05-05 Glenn Morris <rgm@gnu.org>
25237 * lisp/help-fns.el (describe-function-1):
25238 Handle builtins with advertised calling conventions. (Bug#20479)
25240 2015-05-05 Nicolas Petton <nicolas@petton.fr>
25242 Merge branch 'seq-let'
25244 Update `seq-let' documentation
25245 * doc/lispref/sequences.texi: Update the documentation of `seq-let'
25246 with the support of `&rest'.
25248 Add support for &rest in `seq-let'
25249 * lisp/emacs-lisp/seq.el (seq--make-bindings): Add support for `&rest'
25250 in the argument list.
25251 * test/automated/seq-tests.el: Add a test for parsing and binding
25252 `&rest' in `seq-let'.
25254 2015-05-05 Pierre Lorenzon <devel@pollock-nageoire.net> (tiny change)
25256 * lisp/emacs-lisp/eieio-custom.el (eieio-object-value-get):
25257 Add missing increment (Bug#20467).
25258 (eieio-object-value-create): Adjust to new slots representation
25260 (eieio-object-value-create): Fix missed adjustment to new
25261 representation of slots metadata.
25263 2015-05-05 Nicolas Petton <nicolas@petton.fr>
25265 * lisp/emacs-lisp/seq.el (seq--make-bindings): Improve the docstring.
25267 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
25269 Work around "Attempt to modify read-only object"
25270 * lisp/progmodes/elisp-mode.el (elisp--xref-format): Extract from
25271 elisp--xref-find-definitions, to work around "Attempt to modify
25272 read-only object" error.
25274 Only skip some variables that have function counterparts
25275 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
25276 Only skip minor-mode-named variable if it's defined in a Lisp
25277 file, and it's in minor-mode-list (bug#20506).
25278 * test/automated/elisp-mode-tests.el
25279 (elisp-xref-finds-both-function-and-variable)
25280 (elisp-xref-finds-only-function-for-minor-mode): New tests.
25282 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
25284 * lisp/progmodes/xref.el (xref--location-at-point): Revert the
25286 (xref--insert-xrefs): Buttonize the whole line, including the
25287 number at the beginning.
25289 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
25290 Make sure we're inside the let bindings.
25291 * test/automated/elisp-mode-tests.el
25292 (elisp-completes-functions-after-let-bindings): New test.
25294 2015-05-04 Glenn Morris <rgm@gnu.org>
25296 * lisp/cedet/semantic/grammar.el (eldoc-function-argstring)
25297 (eldoc-docstring-format-sym-doc, eldoc-last-data-store)
25298 (eldoc-get-fnsym-args-string, eldoc-get-var-docstring):
25299 Remove outdated declarations.
25301 Replace instances of "(eval-when-compile (autoload ...))"
25302 * lisp/gnus/gnus-art.el (nneething-get-file-name):
25303 Declare rather than autoload.
25304 * lisp/gnus/gnus-async.el (gnus-html-prefetch-images):
25305 Remove pointless autoload.
25306 * lisp/gnus/gnus-sync.el (gnus-group-topic): Autoload at run-time.
25307 (gnus-topic-create-topic, gnus-topic-enter-dribble):
25308 Declare rather than autoload.
25309 * lisp/gnus/mm-archive.el (gnus-recursive-directory-files)
25310 (mailcap-extension-to-mime): Autoload at run-time.
25311 * lisp/gnus/mm-util.el (latin-unity-massage-name)
25312 (latin-unity-maybe-remap, latin-unity-representations-feasible-region)
25313 (latin-unity-representations-present-region):
25314 Declare rather than autoload.
25315 * lisp/gnus/mml-smime.el (epg-make-context)
25316 (epg-passphrase-callback-function): Autoload at run-time.
25317 (epg-context-set-signers, epg-context-result-for)
25318 (epg-new-signature-digest-algorithm)
25319 (epg-verify-result-to-string, epg-list-keys, epg-verify-string)
25320 (epg-sign-string, epg-encrypt-string)
25321 (epg-context-set-passphrase-callback, epg-sub-key-fingerprint)
25322 (epg-configuration, epg-expand-group, epa-select-keys):
25323 Declare rather than autoload.
25324 * lisp/gnus/nnir.el (nnimap-change-group, nnimap-make-thread-query):
25325 Autoload at run-time.
25326 (gnus-group-topic-name, nnimap-buffer, nnimap-command)
25327 (gnus-registry-get-id-key, gnus-registry-action):
25328 Declare rather than autoload.
25329 * lisp/gnus/nnmail.el (mail-send-and-exit): Autoload at run-time.
25330 * lisp/gnus/spam.el (spam-stat-buffer-change-to-non-spam)
25331 (spam-stat-buffer-change-to-spam, spam-stat-buffer-is-non-spam)
25332 (spam-stat-buffer-is-spam, spam-stat-load, spam-stat-save)
25333 (spam-stat-split-fancy): Remove pointless autoloads.
25334 * lisp/net/mairix.el: Load gnus-util when compiling.
25335 (gnus-group-read-ephemeral-group, gnus-summary-toggle-header)
25336 (message-field-value): Declare rather than autoload.
25337 (mairix-gnus-ephemeral-nndoc, mairix-gnus-fetch-field):
25338 Check gnus-alive-p is fbound.
25339 (vm-quit, vm-visit-folder, vm-select-folder-buffer)
25340 (vm-check-for-killed-summary, vm-error-if-folder-empty)
25341 (vm-get-header-contents, vm-select-marked-or-prefixed-messages):
25342 Declare rather than autoload.
25344 * lisp/gnus/mm-view.el (epg-decrypt-string): Autoload.
25346 * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
25347 (epg-sub-key-capability, epg-sub-key-validity): Fix declarations.
25349 * lisp/progmodes/elisp-mode.el (xref-collect-references): Declare.
25351 * lisp/emacs-lisp/debug.el (help-xref-interned): Update declaration.
25353 * lisp/allout.el (epg-user-id-string, epg-key-user-id-list):
25354 * lisp/emacs-lisp/package.el (epg-signature-status):
25357 * lisp/play/gametree.el (gametree-show-children-and-entry)
25358 (gametree-apply-layout, gametree-mouse-show-subtree)
25359 (gametree-mouse-hide-subtree): Replace obsolete outline aliases.
25361 * lisp/emacs-lisp/check-declare.el (check-declare-verify):
25362 Handle cl-defgeneric, cl-defmethod.
25364 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
25366 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions):
25367 Highlight both type and symbol name.
25369 Insert, highlight and align line numbers in xref output
25370 * lisp/progmodes/etags.el (xref-location-line): Specialize for
25371 xref-etags-location.
25372 * lisp/progmodes/xref.el (xref-location-line): New generic method.
25373 (xref-file-location): Add reader for the line slot.
25374 (xref--location-at-point): Skip to the `xref-location' property.
25375 (xref--collect-reference): Drop the line number from description.
25376 (xref--insert-xrefs): Insert, highlight and align line numbers.
25378 2015-05-04 Daniel Colascione <dancol@dancol.org>
25380 * lisp/simple.el (save-mark-and-excursion--save)
25381 (save-mark-and-excursion--restore): Fix previous commit
25382 (255a011f0ecf004b31c59945b10154b10fac3af1).
25384 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
25386 Don't pulse the indentation, or the newline
25387 * lisp/cedet/pulse.el (pulse-lighten-highlight)
25388 (pulse-reset-face): Fall back to the inherited background
25390 (pulse-momentary-highlight-region): Add autoload cookie.
25391 * lisp/progmodes/xref.el (xref--maybe-pulse): Don't highlight the
25392 indentation, or the newline, if the line's non-empty
25393 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00118.html).
25395 2015-05-04 Daniel Colascione <dancol@dancol.org>
25397 Add `save-mark-and-excursion', which has the old
25398 `save-excursion' behavior
25399 * doc/lispref/positions.texi (Excursions):
25400 Document `save-mark-and-excursion'.
25401 * lisp/font-lock.el (font-lock-fontify-block):
25402 Use `save-mark-and-excursion' instead of `save-excursion',
25403 restoring Emacs 24 behavior.
25404 * lisp/simple.el (save-mark-and-excursion--save)
25405 (save-mark-and-excursion--restore): New functions.
25406 (save-mark-and-excursion): New user macro.
25407 * src/editfns.c (Fsave_excursion): Mention `save-mark-and-excursion'
25408 in `save-excursion' documentation.
25410 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
25412 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
25413 Classify lone symbol inside let varlist as variable.
25414 * test/automated/elisp-mode-tests.el
25415 (completest-variables-in-let-bindings): New test.
25417 Add xref-pulse-on-jump
25418 * lisp/cedet/pulse.el (pulse-momentary-highlight-one-line):
25419 Add autoload cookie.
25420 * lisp/progmodes/xref.el (xref-pulse-on-jump): New option.
25421 (xref--maybe-pulse): New function.
25422 (xref-pop-marker-stack, xref--pop-to-location)
25423 (xref--display-position): Use it.
25424 (xref--location-at-point): Use back-to-indentation.
25426 2015-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
25428 lisp/org/org-{macs,list}.el: Fix lexical warnings
25429 * lisp/org/org-list.el (org-list-struct): Remove unused var `ind'.
25430 (org-list-get-next-item, org-list-get-prev-item)
25431 (org-list-get-children): Mark unused arg `struct'.
25432 (org-list-use-alpha-bul-p): Remove unused var `bul'.
25433 (org-toggle-checkbox): Mark unused var.
25434 (org-update-checkbox-count): Remove unused var `box-num'.
25435 (org-adapt-indentation): Declare.
25436 (org-list-parse-list): Declare var instead of adding a dummy duplicate.
25437 (org-list-send-list): Remove unused var `txt'.
25438 (org-list-to-latex, org-list-to-texinfo): Mark unused arg `params'.
25439 (org-list-to-subtree): Add prefix to dyn-bind var, and declare them.
25440 * lisp/org/org-macs.el: Use `declare'.
25441 (org-with-limited-levels): Declare dyn-bound vars.
25443 2015-05-04 Eli Zaretskii <eliz@gnu.org>
25445 Fix minor issues with CEDET on MS-Windows
25446 * lisp/cedet/semantic/symref/idutils.el
25447 (semantic-symref-parse-tool-output-one-line): Fix the search
25448 regexp to match MS-Windows file names with drive letters.
25450 * lisp/cedet/semantic/symref/grep.el
25451 (semantic-symref-grep-use-template): Remove "--color=always" from
25452 Grep switches on MS-Windows.
25453 (semantic-symref-grep-shell): Use shell-file-name as the default
25454 value, so this works not only on Posix platforms.
25455 (semantic-symref-perform-search): Use shell-quote-argument instead
25456 of literal '..' for portable quoting of Grep command-line
25457 argument. Use shell-command-switch instead of a literal "-c".
25458 * lisp/cedet/semantic/bovine/gcc.el
25459 (semantic-gcc-get-include-paths): Use file-name-absolute-p to test
25460 for an absolute file name in a portable way.
25462 2015-05-04 Artur Malabarba <bruce.connor.am@gmail.com>
25464 * lisp/emacs-lisp/package.el: Remove `package--silence' variable.
25465 (package-import-keyring, package-refresh-contents)
25466 (package-compute-transaction, package--save-selected-packages)
25467 (package-install-from-archive, package-delete)
25468 (package-menu--perform-transaction): Use `inhibit-message' instead.
25469 (package--compile): Set `warning-minimum-level' to :error.
25471 2015-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25473 * lisp/term/screen.el (xterm-screen-extra-capabilities): New custom.
25474 (terminal-init-screen): Use it (bug#20356).
25475 * lisp/term/xterm.el: Provide `term/xterm' instead of `xterm'.
25476 (xterm--extra-capabilities-type): New const.
25477 (xterm-extra-capabilities): Use it.
25478 (xterm--version-handler): Lower the pseudo-version for `screen'.
25480 2015-05-03 Dmitry Gutov <dgutov@yandex.ru>
25482 * lisp/progmodes/xref.el (xref--insert-xrefs): Tweak the faces.
25483 Always insert a newline at the end (to avoid mouse-face background
25484 tail at the last line).
25486 elisp-completion-at-point: Prioritize being quoted over funpos
25487 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
25488 Only consider function position when not inside quoted form
25490 * test/automated/elisp-mode-tests.el: New file.
25492 Stop vc-print-log from jumping to the top
25493 * lisp/vc/vc.el (vc-print-log-internal): Pass nil
25494 GOTO-LOCATION-FUNC to vc-log-internal-common when WORKING-REVISION
25496 (vc-incoming-outgoing-internal): Always pass nil.
25497 (vc-log-internal-common): When GOTO-LOCATION-FUNC is nil, don't
25498 call it, and don't set vc-sentinel-movepoint (bug#15322).
25499 (vc-print-root-log): Don't fetch the root working revision, nor
25500 pass it to vc-print-log-internal.
25502 2015-05-02 Michael Vehrs <Michael.Burschik@gmx.de>
25504 Fix display of keyboard layouts for right-to-left scripts
25505 * lisp/international/quail.el (quail-insert-kbd-layout):
25506 Force left-to-right paragraph direction.
25508 2015-05-02 K. Handa <handa@gnu.org>
25510 * src/cmds.c (internal_self_insert): When we insert spaces for
25511 padding, set point before the padding spaces, not after them.
25513 2015-05-02 Nicolas Petton <nicolas@petton.fr>
25515 * lisp/emacs-lisp/seq.el (seq-p): New alias to `sequencep'.
25517 2015-05-02 Dmitry Gutov <dgutov@yandex.ru>
25519 Fix etags-xref-find for references
25520 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references):
25522 * lisp/progmodes/etags.el (etags-xref-find): Ditto. Prompt for
25523 directory if no tags tables are loaded (bug#19468).
25525 2015-05-02 Philipp Stephani <phst@google.com>
25527 Update the options in whitespace-style defcustom
25528 * lisp/whitespace.el (whitespace-style): Use `set' instead of a
25529 `repeat' because the option is really set-like. Add missing
25530 options. Reorder options to match the order in the
25531 documentation. (Bug#20346)
25533 2015-05-02 Eli Zaretskii <eliz@gnu.org>
25535 Fix error diagnostics of c-macro-expand
25536 * lisp/progmodes/cmacexp.el (c-macro-expansion): Don't bail out
25537 too early if no start-marker string was found -- that generally
25538 means cpp exited abnormally, and we still want to show its error
25539 messages to the user.
25541 Don't require Texinfo 5.0 for Emacs documentation
25542 * doc/emacs/docstyle.texi: Use "@set txicodequoteundirected" and
25543 "@set txicodequotebacktick" instead of "@codequotebacktick on" and
25544 "@codequoteundirected on", respectively, to avoid requiring
25545 Texinfo 5.x for Emacs documentation.
25547 2015-05-01 Simen Heggestøyl <simenheg@gmail.com>
25549 * lisp/files.el (pwd):
25550 When called with a prefix argument, insert the current default
25551 directory at point.
25553 2015-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
25555 * lisp/isearch.el (isearch-mode-map): Allow backspace remapping
25556 * lisp/isearch.el (isearch-mode-map): Don't inhibit
25557 function-key-map remapping for backspace (bug#20466).
25559 2015-05-01 Dmitry Gutov <dgutov@yandex.ru>
25561 Implement xref-find-references in etags and elisp-mode
25562 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): New function.
25563 (elisp-xref-find): Use it.
25564 * lisp/progmodes/etags.el (etags-xref-find): Use `xref-collect-references'.
25565 * lisp/progmodes/xref.el (xref-collect-references):
25566 (xref--collect-reference): New functions.
25568 2015-05-01 Paul Eggert <eggert@cs.ucla.edu>
25570 Prefer plain characters to Texinfo circumlocutions
25571 For example, prefer 'François' to 'Fran\c{c}ois', 'Fran\c cois',
25572 'Fran@,{c}ois' or 'Francois' (all of which were used!) in Texinfo sources.
25574 Fix single-quoting style in PDF manuals
25575 The PDF versions of the GNU manuals used curved single quotes to
25576 represent grave accent and apostrophe, which made it a pain to cut
25577 and paste code examples from them. Fix the PDF versions to use
25578 grave accent and apostrophe for Lisp source code, keystrokes, etc.
25579 This change does not affect the info files, nor does it affect
25580 ordinary uses of curved single quotes in PDF.
25581 * doc/emacs/docstyle.texi: New file, which specifies treatment for
25582 grave accent and apostrophe, as well as the document encoding.
25583 * doc/emacs/emacs-xtra.texi, doc/emacs/emacs.texi:
25584 * doc/lispintro/emacs-lisp-intro.texi:
25585 * doc/lispref/back.texi, doc/lispref/book-spine.texi:
25586 * doc/lispref/elisp.texi, doc/lispref/lay-flat.texi:
25587 * doc/misc/ada-mode.texi, doc/misc/auth.texi:
25588 * doc/misc/autotype.texi, doc/misc/bovine.texi, doc/misc/calc.texi:
25589 * doc/misc/cc-mode.texi, doc/misc/cl.texi, doc/misc/dbus.texi:
25590 * doc/misc/dired-x.texi, doc/misc/ebrowse.texi, doc/misc/ede.texi:
25591 * doc/misc/ediff.texi, doc/misc/edt.texi, doc/misc/efaq-w32.texi:
25592 * doc/misc/efaq.texi, doc/misc/eieio.texi, doc/misc/emacs-gnutls.texi:
25593 * doc/misc/emacs-mime.texi, doc/misc/epa.texi, doc/misc/erc.texi:
25594 * doc/misc/ert.texi, doc/misc/eshell.texi, doc/misc/eudc.texi:
25595 * doc/misc/eww.texi, doc/misc/flymake.texi, doc/misc/forms.texi:
25596 * doc/misc/gnus-coding.texi, doc/misc/gnus-faq.texi:
25597 * doc/misc/gnus.texi, doc/misc/htmlfontify.texi:
25598 * doc/misc/idlwave.texi, doc/misc/ido.texi, doc/misc/info.texi:
25599 * doc/misc/mairix-el.texi, doc/misc/message.texi, doc/misc/mh-e.texi:
25600 * doc/misc/newsticker.texi, doc/misc/nxml-mode.texi:
25601 * doc/misc/octave-mode.texi, doc/misc/org.texi, doc/misc/pcl-cvs.texi:
25602 * doc/misc/pgg.texi, doc/misc/rcirc.texi, doc/misc/reftex.texi:
25603 * doc/misc/remember.texi, doc/misc/sasl.texi, doc/misc/sc.texi:
25604 * doc/misc/semantic.texi, doc/misc/ses.texi, doc/misc/sieve.texi:
25605 * doc/misc/smtpmail.texi, doc/misc/speedbar.texi:
25606 * doc/misc/srecode.texi, doc/misc/todo-mode.texi, doc/misc/tramp.texi:
25607 * doc/misc/url.texi, doc/misc/vhdl-mode.texi, doc/misc/vip.texi:
25608 * doc/misc/viper.texi, doc/misc/widget.texi, doc/misc/wisent.texi:
25609 * doc/misc/woman.texi:
25610 Use it instead of '@documentencoding UTF-8', to lessen the need for
25611 global changes like this in the future.
25612 * doc/emacs/Makefile.in (EMACS_XTRA):
25613 * doc/lispintro/Makefile.in (srcs):
25614 * doc/lispref/Makefile.in (srcs):
25615 Add dependency on docstyle.texi.
25616 * doc/misc/Makefile.in (style): New macro.
25617 (${buildinfodir}/%.info, %.dvi, %.pdf, %.html)
25618 (${buildinfodir}/ccmode.info, ${buildinfodir}/efaq%.info, gnus_deps):
25621 2015-05-01 Glenn Morris <rgm@gnu.org>
25623 * test/automated/cl-lib-tests.el (cl-lib-adjoin-test): Fix it.
25625 * lisp/emacs-lisp/pcase.el (get-edebug-spec, edebug-match)
25626 (help-fns--signature): Declare.
25628 * lisp/emacs-lisp/pcase.el (pcase--make-docstring): Require help-fns.
25630 2015-05-01 Nicolas Petton <nicolas@petton.fr>
25632 New macro seq-let, providing destructuring support to seq.el
25633 * lisp/emacs-lisp/seq.el (seq-let): New macro. `seq-let' is similar
25634 to `cl-destructuring-bind' but works on all sequence types supported
25635 by `seq.el'. Bump version number to 1.6.
25636 * test/automated/seq-tests.el: Add tests for seq-let.
25637 * doc/lispref/sequences.texi: Add documentation for seq-let.
25639 2015-05-01 Pontus Michael <m.pontus@gmail.com>
25641 * lisp/simple.el (blink-matching-open): Better behavior in minibuffer.
25643 2015-05-01 Glenn Morris <rgm@gnu.org>
25645 * lisp/emacs-lisp/ert.el (ert--special-operator-p): Fix previous.
25647 2015-05-01 Artur Malabarba <bruce.connor.am@gmail.com>
25649 * lisp/emacs-lisp/bytecomp.el: Revert "Silence noninteractive compilations"
25650 This reverts commit 9a7ddde977378cb5276a81476ae458889c403267.
25651 This reverts commit 3c0ea587daf8b17960b90603a70e3ac4057d883d.
25652 With message: "* lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'".
25655 2015-05-01 K. Handa <handa@gnu.org>
25657 * lisp/international/mule-cmds.el (input-method-use-echo-area):
25658 Change :type to 'boolean.
25660 2015-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
25662 Start using proportional fonts in eww by default
25663 * lisp/net/shr.el (shr-use-fonts): Switch the default to t, since
25664 it seems to work well.
25666 Fix links in tables in shr
25667 * lisp/net/shr.el: Remove `shr-inhibit-decoration', because that
25668 makes (some) links in tables not work.
25670 2015-05-01 Jan D <jan.h.d@swipnet.se>
25672 * lisp/term/ns-win.el (ns-get-cut-buffer-internal): Remove this alias.
25674 2015-04-30 Glenn Morris <rgm@gnu.org>
25676 * lisp/emacs-lisp/ert.el (ert--special-operator-p):
25677 Update for 2015-02-08 change to indirect-function.
25679 * lisp/term/ns-win.el (ns-get-selection-internal):
25680 Remove declaration for function deleted 2014-10-21.
25682 * lisp/dom.el: Load subr-x when compiling, for when-let.
25684 Silence some compilation warnings
25685 * lisp/emacs-lisp/check-declare.el (compilation-forget-errors):
25686 * lisp/emulation/cua-base.el (delete-active-region):
25687 * lisp/net/net-utils.el (w32-get-console-output-codepage):
25688 * lisp/term/ns-win.el (ns-own-selection-internal)
25689 (ns-disown-selection-internal, ns-selection-owner-p)
25690 (ns-selection-exists-p, ns-get-selection):
25691 Declare for compiler.
25693 Function declaration updates prompted by 'make check-declare'
25694 * lisp/emacs-lisp/package.el (lm-homepage):
25695 * lisp/gnus/gnus-util.el (iswitchb-read-buffer):
25696 * lisp/gnus/mm-decode.el (libxml-parse-html-region):
25697 * lisp/gnus/mml.el (libxml-parse-html-region):
25698 * lisp/gnus/nnrss.el (libxml-parse-html-region):
25699 * lisp/net/eww.el (libxml-parse-html-region):
25700 * lisp/net/shr.el (libxml-parse-html-region):
25701 * lisp/vc/vc-bzr.el (vc-annotate-convert-time):
25702 * lisp/vc/vc-cvs.el (vc-annotate-convert-time):
25703 * lisp/vc/vc-git.el (vc-annotate-convert-time):
25704 * lisp/vc/vc-hg.el (vc-annotate-convert-time):
25705 * lisp/vc/vc-mtn.el (vc-annotate-convert-time):
25706 * lisp/vc/vc-rcs.el (vc-annotate-convert-time):
25707 Update declaration.
25709 Remove compatibility code for 20-year old function renaming
25710 * lisp/progmodes/idlw-shell.el (idlwave-shell-comint-filter):
25711 Make it an obsolete alias.
25712 (idlwave-shell-filter): Change all uses to comint-output-filter.
25714 2015-04-30 Tassilo Horn <tsdh@gnu.org>
25716 Add ace-window face config
25717 * etc/themes/tsdh-light-theme.el (tsdh-light): Add ace-window face
25720 2015-04-30 Paul Eggert <eggert@cs.ucla.edu>
25722 Unclutter 'make doc' output a bit
25723 * Makefile.in ($(DOCS), $(INSTALL_DOC), $(UNINSTALL_DOC)):
25724 Use make subst rather than sh IFS to split target string apart.
25725 This makes 'make' output easier to follow.
25728 * doc/misc/texinfo.tex: Update from gnulib.
25730 2015-04-30 Artur Malabarba <bruce.connor.am@gmail.com>
25732 * lisp/emacs-lisp/package.el: Some speed optimizations on menu refresh.
25733 (package-menu--print-info): Obsolete.
25734 (package-menu--print-info-simple): New function.
25735 (package-menu--refresh): Use it, simplify code, and improve
25737 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
25738 Tiny performance improvement.
25740 * lisp/emacs-lisp/package.el (package--message): inhibit-message.
25742 2015-04-29 Paul Eggert <eggert@cs.ucla.edu>
25744 Omit -Wstrict-overflow workaround in GCC 5
25745 * src/process.c: Remove workaround for GCC -Wstrict-overflow bug
25746 if it's GCC 5 or later, as the bug appears to be fixed in GCC 5.1.
25750 2015-04-29 extern-inline: no need for workaround in GCC 5.1
25751 2015-04-26 file-has-acl: port to CentOS 6
25752 * m4/acl.m4, m4/extern-inline.m4: Update from gnulib.
25754 2015-04-29 Helmut Eller <eller.helmut@gmail.com>
25756 Set next-error-* in xref--xref-buffer-mode
25757 * lisp/progmodes/xref.el (xref--xref-buffer-mode):
25758 Set `next-error-function' and `next-error-last-buffer'.
25759 (xref--next-error-function): New function.
25760 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01311.html)
25762 2015-04-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
25764 python.el: Fix warnings on looking-back calls missing LIMIT
25765 * lisp/progmodes/python.el (python-shell-accept-process-output):
25766 Pass LIMIT arg to looking-back.
25768 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
25770 * lisp/emacs-lisp/package.el: Use pushnew for downloads in progress.
25771 (package--download-and-read-archives): Use pushnew instead of
25772 append. If something terrible happened during a previous
25773 download, simply refreshing should now make things work again.
25775 2015-04-29 Dmitry Gutov <dgutov@yandex.ru>
25777 Introduce etags-xref-find-definitions-tag-order
25778 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
25780 (etags--xref-find-definitions): Use it (bug#19468).
25782 2015-04-29 Eli Zaretskii <eliz@gnu.org>
25784 PATH- and completion-related fixes in Eshell on MS-Windows
25785 * lisp/eshell/esh-ext.el (eshell-search-path): When running on
25786 MS-Windows, prepend "." to list of directories produced from PATH,
25787 as Windows always implicitly searches the current directory first.
25788 (eshell-force-execution): Make it have a non-nil default value on
25789 MS-Windows and MS-DOS.
25790 * lisp/eshell/em-cmpl.el (eshell-complete-commands-list): If
25791 eshell-force-execution is non-nil, complete on readable files and
25792 directories, not only executables. When running on MS-Windows,
25793 prepend "." to list of directories produced from PATH, as Windows
25794 always implicitly searches the current directory first.
25796 2015-04-29 Sam Steingold <sds@gnu.org>
25798 Bury RCIRC buffers when there is no activity
25799 * lisp/net/rcirc.el (rcirc-non-irc-buffer): Remove.
25800 (rcirc-bury-buffers): New function.
25801 (rcirc-next-active-buffer): When there is no new activity, use
25802 `rcirc-bury-buffers' to hide all RCIRC buffers.
25804 2015-04-29 Krzysztof Jurewicz <krzysztof.jurewicz@gmail.com> (tiny change)
25806 Fix DBUS query result parsing for secrets-search-items
25807 * lisp/net/secrets.el (secrets-search-items): Fix DBUS query result
25808 parsing. The function assumed that return value of the
25809 SearchItems method called on a collection is a list of two lists,
25810 however this is true only when no collection is specified. GNOME
25811 had used to incorrectly return a list of two lists in both cases,
25812 but this was already fixed:
25813 https://bugzilla.gnome.org/show_bug.cgi?id=695115 . Also fix an
25814 incorrect information in the secrets-search-items’ docstring.
25817 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
25819 * lisp/emacs-lisp/bytecomp.el (byte-compile--message):
25820 Use `inhibit-message' instead of hiding the previous message
25821 with (message nil).
25823 2015-04-29 Oleh Krehel <ohwoeowho@gmail.com>
25825 Remove the deprecated INTERNAL_FIELD macro by expanding it
25826 * src/lisp.h (INTERNAL_FIELD): Remove.
25827 (DEFVAR_KBOARD): Modify accordingly.
25828 * src/alloc.c, src/buffer.c, src/buffer.h, src/category.c:
25829 * src/keyboard.c, src/keyboard.h, src/syntax.c: Adjust users.
25830 * src/buffer.c (compact_buffer): Use BVAR.
25832 2015-04-29 Glenn Morris <rgm@gnu.org>
25834 Replace an obsolete function alias
25835 * lisp/isearch.el (isearch-yank-x-selection):
25836 * lisp/mouse-copy.el (mouse-drag-secondary-pasting)
25837 (mouse-drag-secondary-moving):
25838 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
25839 Replace obsolete alias x-get-selection with gui-get-selection.
25841 2015-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
25843 * lisp/mail/rmailsum.el: Use lexical-binding.
25845 2015-04-29 Glenn Morris <rgm@gnu.org>
25847 * test/automated/package-test.el (package-test-update-archives-async):
25848 Skip test on hydra.nixos.org.
25850 2015-04-28 Glenn Morris <rgm@gnu.org>
25852 * lisp/foldout.el: Update for 2015-01-30 outline.el changes.
25853 (foldout-zoom-subtree, foldout-exit-fold, foldout-mouse-show)
25854 (foldout-mouse-hide-or-exit): Use new names for outline functions.
25856 * lisp/cedet/semantic/bovine/c.el (semantic-c-do-lex-if):
25857 Update for 2014-06-26 hideif.el change.
25859 * lisp/mail/rmailsum.el: Fix search for encoded subjects. (Bug#19088)
25860 (rmail--decode-and-apply): New function.
25861 (rmail-message-regexp-p-1, rmail-message-subject-p): Use it.
25863 * lisp/mail/rmail.el (rmail-highlighted-headers): Fix :type.
25865 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
25867 * lisp/emacs-lisp/package.el: Fix priority-hiding corner case
25868 (package-menu--refresh): Delegate obsolete-hiding to
25869 `package--remove-hidden'.
25870 (package--remove-hidden): Disregard high-priority package if it is
25871 older than the installed one.
25873 2015-04-28 Paul Eggert <eggert@cs.ucla.edu>
25875 Update source file encoding list
25876 Update admin/notes/unicode, along with coding system cookies in
25877 other files, so that the two match each other better.
25878 * admin/notes/unicode: lisp/language/ethio-util.el and
25879 lisp/language/ethiopic.el also use utf-8-emacs.
25880 * admin/notes/hydra, doc/misc/dbus.texi, doc/misc/org.texi:
25881 * doc/misc/remember.texi, etc/refcards/cs-dired-ref.tex:
25882 * etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
25883 * etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
25884 * etc/refcards/sk-survival.tex:
25885 Add "coding: utf-8" so that this file is not mishandled in a
25886 Latin-1 or Big-5 locale.
25887 * lisp/international/robin.el, lisp/org/ox-ascii.el:
25888 Specify utf-8, not utf-8-emacs, as these are plain UTF-8 files.
25889 * lisp/language/ethio-util.el: Fix trailer.
25891 2015-04-28 Eli Zaretskii <eliz@gnu.org>
25893 Fix synchronous invocation of Ispell
25894 * lisp/textmodes/ispell.el (ispell-init-process): Assign a non-nil
25895 value to ispell-process-directory before calling ispell-init-process.
25896 Don't call set-process-coding-system if ispell-async-processp is nil.
25899 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
25901 * lisp/emacs-lisp/package.el: Skip space and comments in init file
25902 (package--ensure-init-file): Insert snippet at first
25903 non-whitespace non-comments line. Respects local-vars at the top
25906 2015-04-28 Glenn Morris <rgm@gnu.org>
25908 * lisp/mail/rmail.el (rmail-copy-headers):
25909 Handle rmail-nonignored-headers being nil. (Bug#18878)
25911 * lisp/subr.el (delay-mode-hooks): Fix doc typo.
25913 * lisp/vc/vc-bzr.el (vc-bzr-after-dir-status):
25914 Don't get confused by a bzrlib version mismatch warning.
25916 2015-04-27 Thomas Fitzsimmons <fitzsim@fitzsim.org>
25918 Change default location of EUDC options file
25919 * etc/NEWS: Document change to EUDC options file's default location.
25920 * lisp/net/eudc-vars.el (eudc-options-file): Use
25921 `locate-user-emacs-file' to change default options file location.
25923 2015-04-27 Glenn Morris <rgm@gnu.org>
25925 * test/automated/package-test.el (package-test-update-archives-async):
25926 Try to handle the test server script dying.
25928 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
25930 * lisp/saveplace.el (save-place-mode): New minor mode.
25931 (save-place): Redefine as an obsolete alias.
25933 * lisp/midnight.el: Make it a minor mode. Allow predicates.
25934 * lisp/midnight.el: Use lexical-binding.
25935 (midnight-mode): Make it a proper minor mode.
25936 (midnight-buffer-display-time): Make arg non-optional.
25937 (midnight-find): Remove.
25938 (clean-buffer-list-kill-never-regexps)
25939 (clean-buffer-list-kill-regexps): Tweak type for new function choice.
25940 (clean-buffer-list-delay): Allow clean-buffer-list-kill-regexps to
25942 (clean-buffer-list): Use cl-find.
25943 Allow clean-buffer-list-kill-never-regexps to contain functions.
25945 2015-04-27 Nicolas Petton <nicolas@petton.fr>
25947 Bump version of seq.el to 1.5
25948 * lisp/emacs-lisp/seq.el (seq-doseq): Remove undocumented return value
25949 from seq-doseq. Bump version number of seq.el.
25951 2015-04-27 Glenn Morris <rgm@gnu.org>
25953 * lisp/mail/rmail.el (rmail-reply):
25954 Decode subject before matching "Re:" prefix. (Bug#20396)
25956 2015-04-27 Artur Malabarba <bruce.connor.am@gmail.com>
25958 * lisp/emacs-lisp/package.el: Small improvements
25959 (package--with-work-buffer-async): More informative error.
25960 (package-install-user-selected-packages): Rename to
25961 `package-install-selected-packages'.
25963 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
25965 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last
25966 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last change.
25967 (eieio--class-make): Remove leftover `tag'.
25969 2015-04-27 Glenn Morris <rgm@gnu.org>
25971 * lisp/gnus/message.el (gnus-extract-address-components):
25972 Remove bogus declaration that was masking previous problem.
25974 2015-04-27 Nicolas Graner <nicolas.graner@u-psud.fr> (tiny change)
25976 * lisp/gnus/message.el (message-insert-formatted-citation-line):
25977 Fix typo. (Bug#20318)
25979 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
25981 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Reuse oldc.
25983 * lisp/textmodes/reftex-toc.el: Improve multi-frame behavior
25984 * lisp/textmodes/reftex-toc.el (reftex-toc-revert): Avoid displaying
25985 the buffer in yet another frame.
25986 (reftex-toc-visit-location): Make sure toc-window has focus at the end
25987 when `final' is nil.
25988 (reftex--rebuilding-toc): Defvar to avoid `boundp' and
25989 silence warnings. Use `--' to clarify that it's internal.
25990 (reftex-toc-next, reftex-toc-previous, reftex-toc-demote)
25991 (reftex-toc-promote): Clarify unused argument.
25992 (reftex--pro-or-de, reftex--start-line, reftex--mark-line):
25993 Add `reftex--' prefix. Fix all users.
25994 (reftex-toc-promote-prepare): Use _ for dummy variable.
25995 (reftex-toc-restore-region): Rename `m.
25997 2015-04-27 Eli Zaretskii <eliz@gnu.org>
25999 Fix a typo in bibtex.el
26000 * lisp/textmodes/bibtex.el (bibtex-insert-kill): Fix a typo from
26001 last change. (Bug#20429)
26003 Fix redisplay of frame after loading new fonts
26004 * src/xdisp.c (redisplay_internal): When retrying redisplay of
26005 a frame because new fonts were loaded, disable all redisplay
26006 optimizations on that frame by calling SET_FRAME_GARBAGED.
26009 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
26011 * lisp/info.el (Info-menu): Properly provide the `default'
26014 * lisp/progmodes/elisp-mode.el (elisp--get-fnsym-args-string):
26015 Catch errors from documentation (bug#20418).
26016 (emacs-lisp-mode-abbrev-table): Remove redundant defvar.
26018 2015-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
26020 * lisp/emacs-lisp/package.el: Move variables to silence byte-compiler.
26021 Remove redundant ":group 'package".
26023 2015-04-26 Eli Zaretskii <eliz@gnu.org>
26025 Fix a typo in rmail.el
26026 * lisp/mail/rmail.el (rmail-ensure-blank-line): Fix a typo in the
26027 last commit. (Bug#20429)
26029 2015-04-26 Dmitry Gutov <dgutov@yandex.ru>
26031 Introduce xref-prompt-for-identifier
26032 * lisp/progmodes/xref.el (xref-prompt-for-identifier): New option.
26033 (xref--read-identifier): Use it
26034 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01205.html).
26036 2015-04-26 João Távora <joaotavora@gmail.com>
26038 `tex-insert-quote' after single `'' opens quotes instead of closing
26039 Without this, it's very hard to precede double quotes with the
26040 apostrophe character, i.e. insert the sequence '``
26041 (quote-backquote-backquote), commonly useful in portuguese, for
26043 * lisp/textmodes/tex-mode.el (tex-insert-quote): Add ?' to the list of
26044 preceding chars making `tex-insert-quote' be in the "opening" context.
26046 2015-04-25 Dmitry Gutov <dgutov@yandex.ru>
26048 Pass `id' to `completing-read' as def instead of initial input
26049 * lisp/progmodes/xref.el (xref--read-identifier): Pass `id' to
26050 `completing-read' as the default value instead of initial input
26051 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01182.html).
26053 2015-04-25 Paul Eggert <eggert@cs.ucla.edu>
26055 Don't freeze with unreadable processes
26056 Don't freeze if an exiting process can't be read from. (Bug#19860).
26057 This fixes a bug I introduced in
26058 2014-07-08T07:24:07Z@eggert@cs.ucla.edu
26059 "* process.c: Add sanity checks for file descriptors."
26060 Dmitry Gutov did most of the legwork in finding the problem.
26061 * src/process.c (wait_reading_process_output):
26062 Treat non-running processes that can't be read from
26063 the same as other non-running processes.
26065 2015-04-25 Alan Mackenzie <acm@muc.de>
26067 Fix change from 2015-04-22 "On C-y, stop some text property entries ..."
26068 * lisp/subr.el (remove-yank-excluded-properties): Put
26069 `with-silent-modifications' around only the last three lines of code.
26071 2015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
26073 * lisp/emacs-lisp/package.el (package-all-keywords): Don't cache
26074 (package--all-keywords): Deleted variable.
26076 * etc/NEWS: Document package-hiding functionality.
26078 2015-04-25 Eli Zaretskii <eliz@gnu.org>
26080 * lisp/window.el (recenter-last-op): Doc fix. (Bug#20419)
26082 Clarify the doc string of 'replace-regexp-in-string'
26083 * lisp/subr.el (replace-regexp-in-string): Doc fix. (Bug#20395)
26085 Improve doc string of 'insert-buffer-substring'
26086 * src/editfns.c (Finsert_buffer_substring): Doc fix. (Bug#20421)
26088 MS-Windows followup for the recent gnulib update
26089 * nt/gnulib.mk (libgnu_a_SOURCES): Replace file-has-acl.c with
26092 2015-04-24 Paul Eggert <eggert@cs.ucla.edu>
26098 2015-04-24 file-has-acl: new module, split from acl
26099 2015-04-24 manywarnings: add GCC 5.1 warnings
26100 2015-04-21 lstat: fix cross-compilation 'ln -s' problem
26101 2015-04-15 qacl: Simplify HP-UX acl_nontrivial check
26102 2015-04-15 acl: On Linux, check for acls without libacl
26103 2015-04-14 tempname: avoid unused parameter warnings (trivial)
26104 * lib/acl-internal.c: New file, from gnulib.
26105 * lib/file-has-acl.c: Remove; no longer imported from gnulib.
26106 * lib/acl-internal.h, lib/gnulib.mk, lib/qcopy-acl.c, lib/tempname.c:
26107 * m4/acl.m4, m4/gnulib-comp.m4, m4/lstat.m4, m4/manywarnings.m4:
26108 Update from gnulib.
26110 Port --enable-gcc-warnings to GCC 5.1 x86-64
26111 * lib-src/ebrowse.c (dump_sym):
26112 * lib-src/hexl.c (main):
26113 * src/ccl.c (ccl_driver):
26114 * src/character.c (string_escape_byte8):
26115 * src/dbusbind.c (xd_retrieve_arg, xd_add_watch):
26116 * src/gnutls.c (Fgnutls_boot):
26117 * src/gtkutil.c (xg_check_special_colors):
26118 * src/image.c (x_build_heuristic_mask):
26119 * src/print.c (safe_debug_print, print_object):
26120 * src/term.c (produce_glyphless_glyph):
26121 * src/xdisp.c (get_next_display_element)
26122 (produce_glyphless_glyph):
26123 * src/xterm.c (x_draw_glyphless_glyph_string_foreground):
26124 Don't use a signed format to print an unsigned integer, or vice
26125 versa. GCC 5.1's new -Wformat-signedness option warns about this.
26126 * src/image.c (png_load_body, jpeg_load_body):
26127 Silence a bogus setjump diagnostic from GCC 5.1 (GCC bug 54561).
26129 2015-04-24 Tassilo Horn <tsdh@gnu.org>
26131 Add new faces to tsdh-light-theme
26132 * etc/themes/tsdh-light-theme.el (tsdh-light): New face
26133 definitions for Info-quoted, ace-jump-face-foreground,
26134 hl-paren-face, show-paren-match, and show-paren-mismatch.
26136 2015-04-24 Nicolas Petton <nicolas@petton.fr>
26138 * lisp/emacs-lisp/seq.el (seq-doseq): Fix the macro.
26140 2015-04-24 Glenn Morris <rgm@gnu.org>
26142 * build-aux/gitlog-to-emacslog:
26143 Use raw log format rather than wrapped one.
26145 2015-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
26147 * lisp/emacs-lisp/seq.el (seq-doseq): Tighten the code.
26148 (seq-doseq): Fix out-of-scope binding.
26149 Don't call `seq-length at every iteration.
26150 Reduce `if's from 3 to 2 per iteration.
26151 (emacs-lisp-mode-hook): Don't tweak in Emacs≥25.
26153 2015-04-24 Glenn Morris <rgm@gnu.org>
26155 * lisp/textmodes/text-mode.el (text-mode-hook):
26156 Move text-mode-hook-identify to default.
26158 * lisp/mouse.el (minor-mode-menu-from-indicator):
26159 Handle non-function members of minor-mode-map-alist. (Bug#20201)
26161 * lisp/help-fns.el (describe-function): More type checking.
26162 (describe-function-1): Handle changed symbol-function. (Bug#20201)
26164 * build-aux/gitlog-to-emacslog: Convert "Fixes:" to "(Bug#)".
26167 2015-04-24 Andreas Schwab <schwab@linux-m68k.org>
26169 shr: strip leading whitespace when expanding URLs
26170 * lisp/net/shr.el (shr-expand-url): Strip leading whitespace from URL.
26172 2015-04-24 Eli Zaretskii <eliz@gnu.org>
26174 Clarify "co-authored" some more
26176 * CONTRIBUTE: Clarify "co-authored-by". (Bug#20400)
26178 Clarify doc strings of functions that search for properties
26179 * src/textprop.c (Fnext_char_property_change)
26180 (Fprevious_char_property_change)
26181 (Fnext_single_char_property_change)
26182 (Fprevious_single_char_property_change, Fnext_property_change)
26183 (Fnext_single_property_change, Fprevious_property_change)
26184 (Fprevious_single_property_change): Clarify doc strings wrt return
26185 value and the optional LIMIT argument. (Bug#20411)
26187 2015-04-24 Glenn Morris <rgm@gnu.org>
26189 * test/automated/message-mode-tests.el (message-mode-propertize):
26190 Handle non-writable HOME; eg on hydra.nixos.org.
26192 2015-04-23 Eli Zaretskii <eliz@gnu.org>
26194 Avoid starting threads by w32-shell-execute
26195 * src/w32fns.c (Fw32_shell_execute): Convert "file:///" URLs into
26196 local file names, before invoking ShellExecute. (Bug#20220)
26198 2015-04-23 Martin Rudalics <rudalics@gmx.at>
26200 Fix following doc-links in `widget-documentation-link-action'
26201 * lisp/wid-edit.el (widget-documentation-link-action): Make
26202 following doc-links less simplistic (Bug#20398).
26204 2015-04-22 Thomas Fitzsimmons <fitzsim@fitzsim.org>
26206 Improve EUDC manual
26207 * doc/misc/eudc.texi (Troubleshooting):
26208 New LDAP troubleshooting subsection.
26210 2015-04-22 Paul Eggert <eggert@cs.ucla.edu>
26212 Omit needless "\ " after multibyte then newline
26213 * src/print.c: Include <c-ctype.h>, for c_isxdigit.
26214 (print_object): When print-escape-multibyte is non-nil and a
26215 multibyte character is followed by a newline or formfeed, followed
26216 by a hex digit, don't output a needless "\ " before the hex digit.
26217 * test/automated/print-tests.el (print-hex-backslash): New test.
26219 2015-04-22 Oleh Krehel <ohwoeowho@gmail.com>
26221 Add a new `inhibit-message' variable
26222 * src/xdisp.c (syms_of_xdisp): Define a boolean `inhibit_message'.
26223 (message3): Don't call `message3_nolog' (i.e. use the Echo Area) when
26224 `inhibit_message' is non-zero.
26225 * etc/NEWS: Add an entry.
26226 * doc/lispref/display.texi: Add an entry for `inhibit-message',
26227 mention it in `message'.
26229 2015-04-22 Martin Rudalics <rudalics@gmx.at>
26231 Fix last fix in `display-buffer-record-window'.
26232 * lisp/window.el (display-buffer-record-window): Fix last fix.
26234 2015-04-22 Eli Zaretskii <eliz@gnu.org>
26236 Minor edits in CONTRIBUTE
26237 * CONTRIBUTE: Rearrange instructions about log messages.
26238 Use "Git" capitalized all over.
26239 Use 2 spaces between sentences.
26241 2015-04-22 Artur Malabarba <bruce.connor.am@gmail.com>
26243 * lisp/files.el (basic-save-buffer): Fix argument.
26245 * lisp/cus-edit.el (custom-file): Consider init-file-had-error.
26246 In case `(and (null custom-file) init-file-had-error)' do the same
26247 thing we'd do if `(null user-init-file)', which is to either error out
26248 or return nil. This is in line with `custom-save-all' which would
26249 throw an error in that situation. (Bug#20355)
26251 * lisp/emacs-lisp/package.el: Hide lower-priority packages in menu.
26252 (package-menu-hide-low-priority): New variable, see its doc.
26253 (package-archive-priorities): Update doc.
26254 (package-desc-priority): New function.
26255 (package-desc-priority-version): Use it.
26256 (package--remove-hidden): New function.
26257 (package-menu--refresh): Use it.
26259 * lisp/emacs-lisp/package.el: Implement displaying obsolete packages.
26260 (package-menu--hide-obsolete): New variable.
26261 (package--remove-hidden): Use it.
26262 (package-menu-hide-obsolete): New interactive function to toggle
26264 (package--quick-help-keys): Document it.
26265 (package-menu-async): Add :version tag.
26266 (package-menu-mode-map): Bind package-menu-hide-obsolete.
26267 (package-desc-status): Indicate non-installed obsolete packages as
26269 (package-menu-mark-install): Allow installation of avail-obso.
26270 (package-menu--status-predicate): Sort avail-obso with available.
26272 2015-04-22 Alan Mackenzie <acm@muc.de>
26274 On C-y, stop some text property entries being written into buffer-undo-list
26275 * lisp/subr.el (remove-yank-excluded-properties): Enclose the code in
26276 `with-silent-modifications'.
26278 2015-04-22 Martin Rudalics <rudalics@gmx.at>
26280 In display-buffer-record-window record selected window if necessary
26281 * lisp/window.el (display-buffer-record-window): Store selected window
26282 if it differs from 3rd element of 'quit-restore' parameter (Bug#20353).
26284 2015-04-22 Tassilo Horn <tsdh@gnu.org>
26286 Fix reftex-citation bug
26287 * lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries):
26288 Fix `wrong-type-argument stringp nil' error that occurs when AUCTeX
26289 integration is enabled and there are no citations in the document
26292 2015-04-21 Dmitry Gutov <dgutov@yandex.ru>
26294 Add or reset based on the presence of MERGE_HEAD
26295 * lisp/vc/vc-git.el (vc-git-find-file-hook): Add
26296 `vc-git-resolve-when-done' to `after-save-hook' in either case.
26297 (vc-git-conflicted-files): Add a TODO.
26298 (vc-git-resolve-when-done): Depending on the presence of
26299 MERGE_HEAD, either update the resolved file in the index, or
26300 remove it from there. (Bug#20292)
26302 2015-04-21 Glenn Morris <rgm@gnu.org>
26304 * lisp/custom.el (custom-declare-group): No need to purecopy
26305 custom-current-group-alist members following recent change to set
26306 it to nil before dumping.
26308 * build-aux/gitlog-to-emacslog: Get footer from ChangeLog.2.
26311 2015-04-21 Daniel Colascione <dancol@dancol.org>
26313 Unbreak no-op buffer save message
26314 * lisp/files.el (basic-save-buffer): Accept called-interactively as
26315 an argument instead of directly invoking called-interactively-p,
26316 which will always yield nil in that context.
26318 2015-04-21 Alan Mackenzie <acm@muc.de>
26320 CC Mode: Do nothing in before/after-change-functions for text
26323 * lisp/progmodes/cc-mode.el (c-basic-common-init): Make
26324 yank-handled-properties buffer local, and remove 'category from it.
26325 (c-called-from-text-property-change-p): New function.
26326 (c-before-change): Don't do anything if a call of the new function
26328 (c-after-change): Don't do much if a call of the new function returns
26330 (c-extend-after-change-region): Put changes to text property 'fontified
26331 inside c-save-buffer-state.
26333 2015-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26335 Fix byte-compiler warnings about looking-back
26336 * lisp/vc/log-view.el (log-view-end-of-defun-1):
26337 * lisp/textmodes/tex-mode.el (latex-forward-sexp-1):
26338 * lisp/textmodes/reftex-ref.el (reftex-goto-label):
26339 * lisp/textmodes/bibtex.el (bibtex-insert-kill):
26340 * lisp/progmodes/sh-script.el (sh--maybe-here-document):
26341 * lisp/progmodes/ruby-mode.el (ruby-end-of-defun):
26342 * lisp/progmodes/ada-mode.el (ada-in-numeric-literal-p):
26343 * lisp/org/org.el (org-insert-heading, org-sort-entries):
26344 * lisp/org/org-mouse.el (org-mouse-end-headline)
26345 (org-mouse-context-menu):
26346 * lisp/org/org-clock.el (org-clock-cancel):
26347 * lisp/man.el (Man-default-man-entry):
26348 * lisp/mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text)
26349 (rmail-ensure-blank-line):
26350 * lisp/mail/footnote.el (Footnote-delete-footnote):
26351 * lisp/mail/emacsbug.el (report-emacs-bug):
26352 * lisp/info.el (Info-follow-reference, Info-fontify-node):
26353 * lisp/info-look.el (info-lookup-guess-custom-symbol):
26354 * lisp/help-fns.el (help-fns--key-bindings):
26355 * lisp/files.el (hack-local-variables):
26356 * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-cmd-complete)
26357 (viper-get-ex-pat, ex-expand-filsyms, viper-get-ex-file)
26358 (viper-complete-filename-or-exit):
26359 * lisp/emulation/viper-cmd.el (viper-backward-indent):
26360 * lisp/emacs-lisp/lisp-mode.el (calculate-lisp-indent):
26361 * lisp/emacs-lisp/elint.el (elint-get-top-forms):
26362 * lisp/cus-edit.el (custom-face-edit-value-create):
26363 * lisp/calendar/todo-mode.el (todo-set-item-priority)
26364 (todo-filter-items-1, todo-convert-legacy-files)
26365 (todo-prefix-overlays): Add explicit second arg to looking-back.
26367 2015-04-20 Glenn Morris <rgm@gnu.org>
26369 Avoid non-nil current-load-list at startup
26370 * src/process.c (init_process_emacs): Move Fprovide statement...
26371 (syms_of_process): ... to here.
26373 * lisp/loadup.el (custom-current-group-alist): Reset before dumping.
26375 * lisp/startup.el (command-line) <site-run-file>: Avoid rogue value
26378 2015-04-20 Ludovic Courtès <ludo@gnu.org>
26380 * lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary.
26383 2015-04-20 Glenn Morris <rgm@gnu.org>
26385 * lisp/cus-start.el (exec-path): Set standard value, to avoid rogue.
26387 Tweak exec-path in uninstalled case
26388 * src/callproc.c (init_callproc): If running uninstalled, do not
26389 include eventual installation libexec directory in exec-path.
26391 2015-04-20 Artur Malabarba <bruce.connor.am@gmail.com>
26393 * lisp/emacs-lisp/package.el: Filter by multiple keywords and
26395 (package-menu-filter): Accept a list of keywords.
26396 (package--all-keywords): New variable to cache known keywords.
26397 (package-all-keywords): Populate it if necessary.
26398 (package-refresh-contents): Reset it.
26400 * lisp/emacs-lisp/package.el: Make archive and status pseudo-keywords
26401 (package--has-keyword-p): Understand "arc:xxxx" and "status:xxxx"
26402 as special keywords which match agains package archive and status
26404 * etc/NEWS: Document it.
26406 2015-04-20 Eli Zaretskii <eliz@gnu.org>
26408 Describe and index "empty overlays".
26409 * doc/lispref/display.texi (Overlays): Improve indexing.
26410 (Managing Overlays): Describe "empty" overlays.
26411 (Overlay Properties, Finding Overlays): Add cross-reference to
26412 where empty overlays are described.
26414 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
26418 Quote 'like this' in top-level files
26419 * CONTRIBUTE, INSTALL, Makefile.in, README, configure.ac, make-dist:
26420 Prefer to single-quote 'like this' (instead of the older style
26422 * configure.ac: Fix some space-before-tab problems that 'git commit'
26425 Use bool for boolean in textprop.c, undo.c
26426 * src/textprop.c (soft, hard): Now constants instead of macros.
26427 (validate_plist): Rewrite to avoid need for boolean local.
26428 (interval_has_all_properties, interval_has_some_properties)
26429 (interval_has_some_properties_list, add_properties)
26430 (remove_properties, get_char_property_and_overlay)
26431 (Fnext_single_char_property_change)
26432 (Fprevious_single_char_property_change, add_text_properties_1)
26433 (Fremove_text_properties, Fremove_list_of_text_properties)
26434 (copy_text_properties):
26435 * src/tparam.c (tparam1):
26436 * src/undo.c (record_change, record_property_change)
26438 Use 'true' and 'false' for booleans.
26440 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
26442 * lisp/vc/vc-git.el (vc-git-find-file-hook):
26443 Call `smerge-start-session' even when dealing with a stash
26444 conflict (bug#20292).
26446 2015-04-19 Vibhav Pant <vibhavp@gmail.com>
26448 Add option to eshell/clear to clear scrollback.
26449 * lisp/eshell/esh-mode.el (eshell/clear-scrollback): New function.
26450 (eshell/clear): Add an optional SCROLLBACK argument. If non-nil,
26451 scrollback contents are cleared.
26452 * etc/NEWS: Describe change.
26453 * doc/misc/eshell.texi: Add entry for `clear'.
26455 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
26457 * src/widget.c (set_frame_size): Prefer 'int' to 'unsigned'
26458 where either will do.
26460 2015-04-19 Steve Purcell <steve@sanityinc.com>
26462 Assume package archive-contents are UTF8-encoded
26463 * lisp/emacs-lisp/package.el (package--read-archive-file):
26464 Set `coding-system-for-read' explicitly to 'utf-8 when reading the
26465 downloaded and cached archive-contents files, so that non-ASCII
26466 characters in package descriptions are displayed correctly in the
26467 `list-packages' menu. (Bug#20231)
26469 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
26471 Abort when looking at stashed changes
26472 * lisp/vc/vc-git.el (vc-git-find-file-hook): Abort when looking at
26473 stashed changes (bug#20292).
26475 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
26477 Refactor low-level printing for simplicity
26478 * src/print.c (PRINTDECLARE): Remove. Move its contents into
26479 PRINTPREPARE; doable now that we assume C99. All callers changed.
26480 (PRINTCHAR): Remove, as it adds more mystery than clarity.
26481 All callers changed.
26482 (strout): Assume that caller computes length. All callers changed.
26483 (print_c_string): New function.
26484 (write_string, write_string_1): Compute length instead of asking
26485 the caller to compute it. All callers changed.
26486 (write_string): Simplify by using write_string_1.
26487 (write_string_1): Simplify by using print_c_string.
26488 (Fterpri): Compute default val more clearly.
26489 (Fprin1_to_string, print_object):
26490 Assume C99 to avoid unnecessary nesting.
26491 (print_object): Prefer print_c_string to multiple printchar, or
26492 to calling strout with -1 length. Coalesce into sprintf when
26495 2015-04-18 Paul Eggert <eggert@cs.ucla.edu>
26497 Prefer "Bug#1234" in commit messages (Bug#20325)
26498 * .dir-locals.el (log-edit-mode): Don't rewrite Bug#,
26499 as this isn't useful for Git.
26500 * CONTRIBUTE: Suggest "Bug#1234" instead of "Fixes: debbugs:1234".
26502 2015-04-18 Glenn Morris <rgm@gnu.org>
26504 * lisp/files.el (auto-mode-alist): Use conf mode for gitconfig, hgrc.
26507 2015-04-18 Tom Willemse <tom@ryuslash.org> (tiny change)
26509 * lisp/elec-pair.el (electric-pair-post-self-insert-function):
26510 Do not use `chomp' as a function. (Bug#19505)
26512 2015-04-18 Glenn Morris <rgm@gnu.org>
26514 * lisp/net/browse-url.el (browse-url, browse-url-at-point): Doc fixes.
26516 * doc/emacs/misc.texi (Sorting): Small edit.
26519 * admin/admin.el (make-manuals): Add emacs-xtra in pdf and ps.
26521 2015-04-18 Simen Heggestøyl <simenheg@gmail.com>
26523 css-mode.el: Support multi-line comment filling
26525 * lisp/textmodes/css-mode.el (css-fill-paragraph): Support multi-line
26527 (css-adaptive-fill): New function.
26528 (css-mode): Set `adaptive-fill-function'.
26529 (scss-mode): Set `comment-continue'.
26531 2015-04-18 Nicolas Petton <nicolas@petton.fr>
26533 * lisp/emacs-lisp/seq.el (seq-concatenate, seq-into):
26534 Better error messages.
26536 2015-04-18 Ivan Radanov Ivanov <ivanradanov@yahoo.co.uk> (tiny change)
26538 Minor improvements in Bulgarian input methods
26539 * lisp/leim/quail/cyrillic.el (bulgarian-phonetic, bulgarian-bds):
26540 Replace U+042C with U+045D, as the former character is not used in
26541 the modern Bulgarian language.
26544 2015-04-17 Thomas Fitzsimmons <fitzsim@fitzsim.org>
26546 Improve EUDC manual
26547 * doc/misc/eudc.texi (LDAP Configuration): Mention simple and SASL
26548 authentication schemes. Add index items. Shorten example server
26551 2015-04-17 Dmitry Gutov <dgutov@yandex.ru>
26553 Don't show both feature and function with the same name
26554 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
26555 Don't show both feature and function with the same name.
26557 (elisp--xref-identifier-location): Skip variable, if it's also
26559 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
26560 Avoid returning both the variable and the function for the same
26563 2015-04-17 Wolfgang Jenkner <wjenkner@inode.at>
26565 Fix fontification of keywords clobbered by the prompt
26566 * lisp/comint.el (comint-output-filter): Remove the uses of
26567 with-silent-modifications I introduced as part of the last change.
26568 This fixes, e.g., erratically missing highlighting when running
26569 ./configure --help; ./configure in a shell-mode buffer with
26570 compilation-shell-minor-mode turned on.
26572 2015-04-17 Glenn Morris <rgm@gnu.org>
26574 * admin/authors.el (authors-valid-file-names)
26575 (authors-renamed-files-alist): Additions.
26577 2015-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
26579 * lisp/indent.el (indent-region): Don't deactivate the mark.
26582 2015-04-17 Sam Steingold <sds@gnu.org>
26584 * lisp/net/rcirc.el (defun-rcirc-command): Mark `target' as ignorable.
26586 2015-04-16 Leo Liu <sdl.web@gmail.com>
26588 * lisp/progmodes/xref.el (xref-push-marker-stack): Add optional arg.
26590 2015-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
26592 * lisp/erc/erc-pcomplete.el (erc-pcomplete):
26593 Don't use `pcomplete' any more.
26595 2015-04-16 Glenn Morris <rgm@gnu.org>
26597 * admin/authors.el (authors-lax-changelogs): Update for erc changes.
26599 2015-04-16 Eli Zaretskii <eliz@gnu.org>
26601 Don't link with -ljpeg on MS-Windows, to avoid dependency on DLL
26602 * configure.ac (LIBJPEG): Leave it empty for MinGW.
26604 2015-04-16 Glenn Morris <rgm@gnu.org>
26606 * lisp/replace.el (query-replace-from-to-separator):
26607 Delay initialization to avoid rogue setting after startup.
26609 2015-04-16 Paul Eggert <eggert@cs.ucla.edu>
26611 Pre-4.6 GCC succeeds with unknown option
26612 * configure.ac (emacs_cv_prog_cc_nopie): Port to pre-4.6 GCC.
26615 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
26617 '[:graph:]' now excludes whitespace, not just ' '
26618 * doc/lispref/searching.texi (Char Classes):
26619 * lisp/emacs-lisp/rx.el (rx): Document [:graph:] to be [:print:]
26620 sans whitespace (not sans space).
26621 * src/character.c (graphicp): Exclude all Unicode whitespace chars,
26623 * src/regex.c (ISGRAPH): Exclude U+00A0 (NO-BREAK SPACE).
26625 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26627 * lisp/subr.el (substitute-key-definition-key, special-form-p)
26628 (macrop): Drop deprecated second arg to indirect-function.
26629 (looking-back): Make the second arg non-optional.
26631 * lisp/org/org-clock.el (org-x11idle-exists-p): Be honest about which
26632 command is actually sent to the shell.
26634 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
26636 Port jpeg configuration to Solaris 10 with Sun C
26637 * configure.ac: Check for jpeglib 6b by trying to link it, instead
26638 of relying on cpp magic that has problems in practice. Check for
26639 both jpeglib.h and jerror.h features. Remove special case for
26640 mingw32, which should no longer be needed (and if it were needed,
26641 should now be addressable by hotwiring emacs_cv_jpeglib).
26644 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26646 Move some Elisp-specific code from lisp-mode.el to elisp-mode.el
26647 * lisp/emacs-lisp/lisp-mode.el (lisp--el-font-lock-flush-elisp-buffers):
26648 Move to elisp-mode.el.
26649 (lisp-mode-variables): (Re)move elisp-specific settings.
26650 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add settings removed
26651 from lisp-mode-variables.
26652 (elisp--font-lock-flush-elisp-buffers): New function, moved from
26655 * lisp/emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p):
26656 Avoid pathological slowdown at top-level in large file.
26658 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
26660 Standardize names of ChangeLog history files
26661 Suggested by Glenn Morris in:
26662 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
26663 * Makefile.in (install-man): Don't treat ChangeLog.1 as a man page.
26664 * doc/man/ChangeLog.1: Rename back from doc/man/ChangeLog.01.
26665 * lisp/erc/ChangeLog.1: New file, containing the old contents of ...
26666 * lisp/erc/ChangeLog.01, lisp/erc/ChangeLog.02, lisp/erc/ChangeLog.03:
26667 * lisp/erc/ChangeLog.04, lisp/erc/ChangeLog.05, lisp/erc/ChangeLog.06:
26668 * lisp/erc/ChangeLog.07, lisp/erc/ChangeLog.08, lisp/erc/ChangeLog.09:
26671 Split top-level entries into pre- and post-April 7
26672 This more clearly distingiushes pre-April-7 ChangeLog entries (which
26673 are for top-level files only) from post-April-7 entries (which are
26674 about files at all levels. Problem reported by Glenn Morris in:
26675 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
26676 * ChangeLog.1: Move post-April-7 entries from here ...
26677 * ChangeLog.2: ... to this new file.
26678 * Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump to 2.
26680 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26682 Fix recent cus-start changes that added customize-rogues
26683 * lisp/cus-start.el (custom-delayed-init-variables): Initialize the
26685 * lisp/loadup.el ("cus-start"): Move to the end to reduce
26688 2015-04-15 Nicolas Petton <nicolas@petton.fr>
26690 Define cl-concatenate as an alias to seq-concatenate
26691 * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Removes duplicated
26692 code by making cl-concatenate an alias to seq-concatenate.
26694 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26696 * src/lread.c (intern_1): Make sure we'd find the symbol we add
26698 * src/xfaces.c (resolve_face_name): Don't use `intern' with
26701 2015-04-15 Glenn Morris <rgm@gnu.org>
26703 * doc/lispref/sequences.texi (Sequence Functions): Fix typo in previous.
26705 2015-04-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
26707 Clean up gnus-uu saving code slightly
26708 * lisp/gnus/gnus-uu.el (gnus-uu-save-article): Make the
26709 save-restriction/widen calls make more sense.
26711 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
26713 Make [:graph:] act like [:print:] sans space
26714 In POSIX [[:print:]] is equivalent to [ [:graph:]], so change
26715 [:graph:] so that it matches everything that [:print:] does,
26717 * doc/lispref/searching.texi (Char Classes):
26719 * lisp/emacs-lisp/rx.el (rx):
26720 Document [:graph:] to be [:print:] sans ' '.
26721 * src/character.c, src/character.h (graphicp): New function.
26722 * src/regex.c (ISGRAPH) [emacs]: Use it.
26723 (BIT_GRAPH): New macro.
26724 (BIT_PRINT): Increase to 0x200, to make room for BIT_GRAPH.
26725 (re_wctype_to_bit) [! WIDE_CHAR_SUPPORT]:
26726 Return BIT_GRAPH for RECC_GRAPH.
26727 (re_match_2_internal) [emacs]: Use ISGRAPH if BIT_GRAPH,
26728 and ISPRINT if BIT_PRINT.
26730 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
26732 automated/eieio-test-methodinvoke.el (make-instance) <(subclass C)>:
26733 Don't use call-next-method in a cl-defmethod.
26735 * lisp/emacs-lisp/eieio-core.el (eieio--class): Derive from cl--class
26736 (eieio--class-p): Remove, provided by cl-defstruct.
26738 2015-04-14 Nicolas Petton <nicolas@petton.fr>
26740 Add seq-intersection and seq-difference to the seq library
26741 * lisp/emacs-lisp/seq.el (seq-intersection, seq-difference):
26743 * test/automated/seq-tests.el: Add tests for seq-intersection and
26745 * doc/lispref/sequences.texi: Add documentation for seq-intersection
26746 and seq-difference.
26748 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
26750 * lisp/emacs-lisp/eieio-core.el (class-abstract-p): Don't inline,
26751 to avoid leaking internals.
26753 2015-04-14 Sam Steingold <sds@gnu.org>
26755 package--ensure-init-file: widen requires save-restriction
26757 2015-04-14 Eli Zaretskii <eliz@gnu.org>
26759 Improve the commit-msg Git hook for unibyte environments
26760 * build-aux/git-hooks/commit-msg: Set LC_ALL=C, before running Awk
26761 in unibyte environments. (Suggested by Paul Eggert
26762 <eggert@cs.ucla.edu>.) Use a more accurate approximation to
26763 [:print:], based on UTF-8 sequences of the unprintable characters.
26765 Describe problems with cursor caused by Windows Magnifier
26766 * etc/PROBLEMS: Describe the problem with cursor shape on
26767 MS-Windows due to Windows Magnifier.
26770 Make [:print:] support non-ASCII characters correctly
26771 * src/regex.c (ISPRINT): Call 'printablep' for multibyte characters.
26772 (BIT_PRINT): New bit mask.
26773 (re_wctype_to_bit): Return BIT_PRINT for RECC_PRINT.
26774 * src/character.c (printablep): New function.
26775 * src/character.h (printablep): Add prototype.
26776 * lisp/emacs-lisp/rx.el (rx): Doc fix: document the new behavior
26777 of 'print', 'alnum', and 'alphabetic'.
26778 * doc/lispref/searching.texi (Char Classes): Document the new
26779 behavior of [:print:].
26780 * etc/NEWS: Mention the new behavior of [:print:].
26782 Assign correct general-category and names to surrogates
26783 * admin/unidata/unidata-gen.el (unidata-setup-list): Don't ignore
26784 surrogates. This avoids assigning them the default
26785 general-category of 'Cn', i.e. unassigned codepoints.
26786 (unidata-get-name): Give surrogates synthetic names.
26788 2015-04-14 Paul Eggert <eggert@cs.ucla.edu>
26790 Assume C89 offsetof in xterm.c, xlwmenu.c
26791 * lwlib/xlwmenu.c (offset):
26792 * src/xterm.c (cvt_string_to_pixel_args):
26793 Use offsetof, not XtOffset.
26795 2015-04-14 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
26797 Assume C89 offsetof in widget.c
26798 * src/widget.c (XtOffset): Remove; no longer needed.
26799 (offset): Implement via offsetof instead of via pre-C89 XtOffset hack.
26801 Fix think-o in previous patch
26802 * src/window.c (count_windows, get_leaf_windows):
26803 Don't optimize count_windows incorrectly.
26805 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
26807 Avoid some int overflows in window.c
26808 * src/print.c (print_object):
26809 * src/window.c (sequence_number):
26810 * src/window.h (struct window.sequence_number):
26811 Don't assume window sequence number fits in int.
26812 * src/window.c (window_select_count):
26813 * src/window.h (struct window.use_time, window_select_count):
26814 Don't assume window use time fits in int.
26815 * src/window.c (Fsplit_window_internal):
26816 Don't assume user-supplied integer, or sum, fits in int.
26817 (Fset_window_configuration, count_windows, get_leaf_windows)
26818 (save_window_save, Fcurrent_window_configuration):
26819 Use ptrdiff_t for object counts.
26820 (Fset_window_configuration): Omit unused local 'n'.
26821 (count_windows): Simplify by writing in terms of get_leaf_windows.
26822 (get_leaf_windows): Don't store through FLAT if it's null.
26823 (extract_dimension): New static function.
26824 (set_window_margins, set_window_fringes, set_window_scroll_bars):
26825 Use it to avoid undefined behavior when converting user-supplied
26828 2015-04-13 Glenn Morris <rgm@gnu.org>
26830 Minor doc copyedits
26831 * doc/emacs/custom.texi (Init Examples): Tweak example, replace typo.
26832 * doc/lispintro/emacs-lisp-intro.texi (condition-case): Typo fix.
26834 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
26836 [Gnus] Catch the invalid-operation that idna.el will issue
26837 * lisp/gnus/gnus-art.el (gnus-use-idna):
26838 * lisp/gnus/gnus-sum.el (gnus-summary-idna-message):
26839 * lisp/gnus/message.el (message-use-idna):
26840 Catch the invalid-operation that idna.el will issue.
26842 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
26844 * doc/lispref/processes.texi (Shell Arguments): Prefer diff -u.
26846 2015-04-13 Sam Steingold <sds@gnu.org>
26848 package--ensure-init-file: widen before looking for
26849 "(package-initialize)"
26851 2015-04-13 Dmitry Gutov <dgutov@yandex.ru>
26853 Change diff-switches default to `-u' (Bug#20290)
26854 * doc/emacs/files.texi (Comparing Files): Document the new default
26855 value of `diff-switches'.
26856 * doc/emacs/trouble.texi (Sending Patches): Document the preference
26857 for unified diff format. Escape the plus in the suggested `-F' regexp
26859 * lisp/vc/diff.el (diff-switches): Change the default to `-u'.
26861 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
26863 (gnus-group--setup-tool-bar-update): Fix last change
26864 * lisp/gnus/gnus-group.el (gnus-group--setup-tool-bar-update):
26865 cursor-sensor-functions should be a list of functions.
26867 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
26869 * lisp/gnus/gnus-topic.el (gnus-topic-mode):
26870 Use gmm-called-interactively-p.
26872 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
26874 * lisp/loadup.el ("cus-start"): Load it after loaddefs.el
26876 * lisp/cus-start.el (read-buffer-function): Don't advertise
26877 iswitchb-read-buffer any more.
26878 (iswitchb): Don't tweak this obsolete group any more.
26880 2015-04-13 Artur Malabarba <bruce.connor.am@gmail.com>
26882 * lisp/emacs-lisp/package.el: Fix package--ensure-init-file.
26884 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Implement docstrings.
26885 Adding a string after a constructor's argument list will use
26886 that string as the constructor function docstring. If this string
26887 is absent but the struct itself was given a docstring, use that as
26888 the constructor's docstring.
26891 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
26893 Deprecate `intangible' and `point-entered' properties
26894 * lisp/emacs-lisp/cursor-sensor.el: New file.
26895 * lisp/simple.el (pre-redisplay-functions): New hook.
26896 (redisplay--pre-redisplay-functions): New function.
26897 (pre-redisplay-function): Use it.
26898 (minibuffer-avoid-prompt): Mark obsolete.
26899 (redisplay--update-region-highlight): Adapt it to work as a function on
26900 pre-redisplay-functions.
26901 * lisp/cus-start.el (minibuffer-prompt-properties--setter): New fun.
26902 (minibuffer-prompt-properties): Use it. Use cursor-intangible rather
26903 than point-entered to make the prompt intangible.
26904 * lisp/forms.el: Move `provide' calls to the end.
26905 (forms-mode): Don't use `run-hooks' on a local var.
26906 (forms--make-format, forms--make-format-elt-using-text-properties):
26907 Use cursor-intangible rather than `intangible'.
26908 (forms-mode): Enable cursor-intangible-mode.
26909 * lisp/isearch.el (isearch-mode): Use defvar-local.
26910 (cursor-sensor-inhibit): Declare.
26911 (isearch-mode): Set cursor-sensor-inhibit.
26912 (isearch-done): Set it back.
26913 (isearch-open-overlay-temporary, isearch-open-necessary-overlays)
26914 (isearch-close-unnecessary-overlays): Don't bother with `intangible'
26916 * lisp/ses.el (ses-localvars): Remove `mode-line-process'.
26917 (ses-sym-rowcol, ses-cell-value, ses-col-width, ses-col-printer):
26919 (ses-goto-print, ses-print-cell, ses-adjust-print-width)
26920 (ses-goto-data, ses-setup, ses-copy-region): Don't let-bind
26921 inhibit-point-motion-hooks any more.
26922 (ses--cell-at-pos, ses--curcell): New functions, extracted from
26924 (ses-set-curcell): Use them.
26925 (ses-print-cell, ses-setup): Use cursor-intangible instead of
26926 `intangible'. Make sure cursor-intangible isn't sticky at BOB.
26927 (ses-print-cell-new-width, ses-reprint-all, ses-recalculate-all):
26928 Use ses--cell-at-pos.
26929 (ses--mode-line-process, ses--cursor-sensor-highlight): New functions,
26930 extracted from ses-command-hook. Make them work with multiple windows
26931 displaying the same buffer.
26932 (ses-mode): Use them via mode-line-process and pre-redisplay-functions.
26933 Enable cursor-intangible-mode.
26934 (ses-command-hook): Remove cell highlight and mode-line update code.
26935 (ses-forward-or-insert, ses-copy-region-helper, ses-sort-column):
26936 Update for new name of text-property holding the cell name.
26937 (ses-rename-cell): Don't mess with mode-line-process.
26938 * lisp/erc/erc-stamp.el (erc-add-timestamp): Use the new
26939 cursor-sensor-functions property instead of point-entered.
26940 (erc-insert-timestamp-right, erc-format-timestamp):
26941 Use cursor-intangible rather than `intangible'.
26942 (erc-munge-invisibility-spec): Use add-to-invisibility-spec and
26943 remove-from-invisibility-spec. Enable cursor-intangible-mode and
26944 cursor-sensor-mode if needed.
26945 (erc-echo-timestamp): Adapt to calling convention of
26946 cursor-sensor-functions.
26947 (erc-insert-timestamp-right): Remove unused vars `current-window' and
26949 * lisp/gnus/gnus-group.el (gnus-tmp-*): Declare.
26950 (gnus-update-group-mark-positions): Remove unused `topic' var.
26951 (gnus-group-insert-group-line): Remove unused var `header'.
26952 (gnus-group--setup-tool-bar-update): New function.
26953 (gnus-group-insert-group-line): Use it.
26954 (gnus-group-update-eval-form): Declare local
26955 dynamically-bound variables.
26956 (gnus-group-unsubscribe-group): Use \` and \' to match string bounds.
26957 * lisp/gnus/gnus-topic.el (gnus-topic-jump-to-topic)
26958 (gnus-group-prepare-topics, gnus-topic-update-topic)
26959 (gnus-topic-change-level, gnus-topic-catchup-articles)
26960 (gnus-topic-remove-group, gnus-topic-delete, gnus-topic-indent):
26961 Use inhibit-read-only.
26962 (gnus-topic-prepare-topic): Use gnus-group--setup-tool-bar-update.
26963 (gnus-topic-mode): Use define-minor-mode and derived-mode-p.
26964 * lisp/textmodes/reftex-index.el (reftex-display-index):
26965 Use cursor-intangible-mode if available.
26966 (reftex-index-post-command-hook): Check cursor-intangible.
26967 * lisp/textmodes/reftex-toc.el (reftex-toc):
26968 Use cursor-intangible-mode if available.
26969 (reftex-toc-recenter, reftex-toc-post-command-hook):
26970 Check cursor-intangible.
26971 * lisp/textmodes/sgml-mode.el: Use lexical-binding.
26972 (sgml-tag): Use cursor-sensor-functions instead of point-entered.
26973 (sgml-tags-invisible): Use with-silent-modifications and
26974 inhibit-read-only. Enable cursor-sensor-mode.
26975 (sgml-cursor-sensor): Rename from sgml-point-entered and adjust to
26976 calling convention of cursor-sensor-functions.
26977 * lisp/textmodes/table.el (table-cell-map-hook, table-load-hook)
26978 (table-point-entered-cell-hook, table-point-left-cell-hook):
26980 (table-cell-entered-state): Remove var.
26981 (table--put-cell-point-entered/left-property)
26982 (table--remove-cell-properties):
26983 Use cursor-sensor-functions rather than point-entered/left.
26984 (table--point-entered/left-cell-function): Merge
26985 table--point-entered-cell-function and table--point-left-cell-function
26986 and adjust to calling convention of cursor-sensor-functions.
26988 Update ldef-boots.el
26990 * lisp/emacs-lisp/pcase.el (pcase-dolist): Autoload as well.
26992 * doc/misc/eieio.texi: Don't advertise now obsolete constructs
26994 Collapse successive char deletions in the undo log
26995 * src/cmds.c (remove_excessive_undo_boundaries): New function,
26996 extracted from Fself_insert_command.
26997 (Fdelete_char, Fself_insert_command): Use it.
26998 * src/fileio.c (Fmake_symbolic_link): Rename arg to `target'.
26999 * src/keyboard.c (syms_of_keyboard): `top-level' shouldn't be special.
27001 xterm and OSC 52: Add NEWS entry, and tweak the code
27002 * lisp/term/xterm.el (gui-set-selection) <nil>: Move method definition
27004 (terminal-init-xterm-activate-set-selection): Set a terminal property.
27005 (xterm--set-selection): Use it instead of checking the value of
27006 `terminal-initted'. Don't use string-bytes.
27008 2015-04-13 Philipp Stephani <p.stephani2@gmail.com>
27010 xterm.el: Implement OSC-52 functionality for setting the X selection
27011 * lisp/term/xterm.el (xterm-max-cut-length): New var.
27012 (xterm--set-selection, terminal-init-xterm-activate-set-selection):
27014 (terminal-init-xterm, xterm--version-handler): Use them.
27016 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
27018 Remove left over code from when we used an obsolete/loaddefs.el file
27019 * lisp/subr.el (do-after-load-evaluation): Remove left over code from
27020 when we used an obsolete/loaddefs.el file.
27022 * lisp/cedet/semantic/fw.el (semantic-exit-on-input)
27023 (semanticdb-without-unloaded-file-searches): Use declare.
27024 (semantic-fw-add-edebug-spec): Remove.
27026 * lisp/completion.el (completion-lisp-mode-hook):
27027 Use completion-separator-chars rather than local key binding.
27029 * src/*.c: Set deactivate_mark buffer-locally
27031 * src/insdel.c (prepare_to_modify_buffer_1):
27032 * src/fileio.c (Finsert_file_contents): Set deactivate_mark
27035 2015-04-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
27037 python.el: Keep symmetry on sexp navigation with parens
27039 * lisp/progmodes/python.el
27040 (python-nav--forward-sexp): Add argument skip-parens-p.
27041 (python-nav-forward-sexp, python-nav-backward-sexp)
27042 (python-nav-forward-sexp-safe)
27043 (python-nav-backward-sexp-safe): Use it.
27044 * test/automated/python-tests.el
27045 (python-nav-forward-sexp-1): Fix test.
27047 2015-04-12 João Távora <joaotavora@gmail.com>
27049 Don't use `setq-local' in Gnus code
27050 This might break upstream builds with older Emacsen
27051 * lisp/gnus/message.el (message-mode): Use `set' and
27052 `make-local-variable' instead of `setq-local'.
27054 2015-04-12 Paul Eggert <eggert@cs.ucla.edu>
27056 Update Makefile.in's .PHONY dependencies
27057 * Makefile.in (change-history-commit, master-branch-is-current)
27058 (no-ChangeLog): Now phony.
27060 Remove configure's --with-mmdf option
27061 * configure.ac (MAIL_USE_MMDF): Remove.
27062 * etc/NEWS: Document this.
27063 * lib-src/movemail.c: Assume MAIL_USE_MMDF is not defined.
27066 * doc/man/ChangeLog.01: Rename from doc/man/ChangeLog.1.
27067 That way, 'make install' won't think it's a man page.
27068 Reported by Ashish SHUKLA in:
27069 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00656.html
27071 Improve 'make change-history' prereq tests
27072 * Makefile.in (gen_origin): Fix to match what's in the master branch.
27073 (no-ChangeLog, master-branch-is-current): New rules.
27074 (change-history): Depend on them, to avoid similar future problems.
27075 Escape the local-variables string to pacify Emacs when editing
27078 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
27080 * test/automated/package-test.el (with-package-test):
27081 Kill Packages buffer.
27083 * lisp/emacs-lisp/package.el: Improve transaction y-or-n prompt.
27084 (package-menu--prompt-transaction-p): Prompt for "Delete" first,
27085 "Upgrade" last, and use capitalized instead of all-caps.
27087 * lisp/emacs-lisp/package.el: Completely silence async operations.
27088 (package--make-autoloads-and-stuff): Silence autoloads.
27089 (package--save-selected-packages): New function, silences
27090 `customize-save-variable'.
27091 (package--user-selected-p, package-install-from-buffer)
27092 (package-delete, package-install): Use it.
27093 (package-install-from-archive)
27094 (package-menu--perform-transaction): Silence.
27095 (package-menu-execute): Feedback when operation starts.
27097 Use delay-mode-hooks when visiting the init-file
27098 * lisp/emacs-lisp/package.el (package--ensure-init-file):
27100 * lisp/cus-edit.el (custom-save-all): delay-mode-hooks.
27102 * lisp/files.el: Only message when saving if save-silently is nil.
27103 (save-silently): New variable.
27104 (files--message): New function.
27105 (find-file-noselect, save-buffer, basic-save-buffer)
27106 (basic-save-buffer-2, save-some-buffers, not-modified)
27107 (append-to-file): Use them.
27109 2015-04-12 Johan Bockgård <bojohan@gnu.org>
27111 Support debug declarations in pcase macros
27112 * lisp/emacs-lisp/pcase.el (pcase-MACRO): New edebug spec.
27113 (pcase-UPAT): Use it. Remove "`".
27114 (pcase--edebug-match-macro): New function.
27115 (pcase-defmacro): Support debug declarations.
27116 * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
27117 * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>:
27118 * lisp/emacs-lisp/pcase.el (\`): <pcase-defmacro>:
27119 Add debug declaration.
27121 pcase.el: Edebug support for `app' and vector patterns
27122 * lisp/emacs-lisp/pcase.el (pcase-FUN): New edebug spec.
27123 (pcase-UPAT): Use it. Support `app' patterns.
27124 (pcase-QPAT): Support vector patterns.
27126 edebug.el: Disambiguate vector specifications
27127 * lisp/emacs-lisp/edebug.el (edebug-match-list): Always treat
27128 `(vector ...)' as a vector specification, not as a sublist.
27130 (gnus-summary-refer-thread): Don't clobber unread articles
27131 This fixes a bug where `A T' causes "random" articles to become marked
27133 * lisp/gnus/gnus-sum.el (gnus-summary-refer-thread): Make sure
27134 gnus-newsgroup-unreads remains sorted.
27136 mouse-sel.el: Fix mouse-sel-get-selection-function
27137 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
27138 Use gui--last-selected-text-primary instead of no longer existing
27139 gui-last-selected-text.
27141 * lisp/rect.el (delete-whitespace-rectangle-line): Don't cross EOL.
27143 * lisp/net/nsm.el (nsm-query-user): Use cursor-in-echo-area.
27145 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
27147 * lisp/emacs-lisp/package.el (list-packages): Avoid redundant generate.
27149 * lisp/emacs-lisp/package.el (list-packages): Call refresh in
27152 * lisp/emacs-lisp/bytecomp.el: Silence noninteractive compilations.
27153 (byte-compile--interactive): New var.
27154 (byte-compile--message): New function.
27155 (byte-compile-log-1, byte-force-recompile)
27156 (byte-recompile-directory, byte-recompile-file)
27157 (byte-compile-file, compile-defun)
27158 (byte-compile-file-form-defmumble, byte-compile)
27159 (byte-compile-file-form-defalias, display-call-tree): Use it.
27161 * lisp/files.el: Don't message when nothing happened.
27162 (save-some-buffers, basic-save-buffer): Before messaging to say
27163 "nothing was saved" check if (called-interactively-p 'any).
27165 2015-04-12 João Távora <joaotavora@gmail.com>
27167 Summary: Improve sexp-based movement in message-mode
27168 Works by giving citations and smileys a different syntax. This helps
27169 modes like `show-paren-mode', `electric-pair-mode', and C-M-*
27170 sexp-based movement.
27171 * lisp/gnus/message.el (message--syntax-propertize): New function.
27172 (message-mode): Set syntax-related vars.
27173 (message-smileys): New variable.
27174 * test/automated/message-mode-tests.el: New file
27176 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
27178 Use bool for boolean in window.c
27179 * src/window.c: Omit unnecessary static function decls.
27180 (adjust_window_count, select_window, Fselect_window)
27181 (window_body_width, Fwindow_body_height, Fwindow_body_width)
27182 (set_window_hscroll, check_window_containing, Fwindow_at)
27183 (Fwindow_end, Fset_window_start, Fpos_visible_in_window_p)
27184 (unshow_buffer, replace_window, recombine_windows)
27185 (add_window_to_list, candidate_window_p, next_window)
27186 (Fnext_window, Fprevious_window, window_loop, check_all_windows)
27187 (Fget_buffer_window, Fdelete_other_windows_internal)
27188 (replace_buffer_in_windows_safely, set_window_buffer)
27189 (Fset_window_buffer, Fforce_window_update)
27190 (temp_output_buffer_show, make_parent_window)
27191 (window_resize_check, window_resize_apply, Fwindow_resize_apply)
27192 (resize_frame_windows, Fsplit_window_internal)
27193 (Fdelete_window_internal, grow_mini_window, shrink_mini_window)
27194 (Fresize_mini_window_internal, mark_window_cursors_off)
27195 (window_scroll, window_scroll_pixel_based)
27196 (window_scroll_line_based, scroll_command, Fscroll_other_window)
27197 (Fscroll_left, Fscroll_right, displayed_window_lines, Frecenter)
27198 (Fmove_to_window_line, Fset_window_configuration)
27199 (delete_all_child_windows, apply_window_adjustment)
27200 (set_window_fringes, set_window_scroll_bars)
27201 (Fset_window_vscroll, foreach_window, foreach_window_1)
27202 (compare_window_configurations, Fcompare_window_configurations):
27203 Prefer 'bool', 'true', and 'false' for booleans.
27204 * src/window.h (WINDOW_MODE_LINE_LINES)
27205 (WINDOW_HEADER_LINE_LINES): Omit unnecessary "!!" on bool value.
27207 2015-04-11 Artur Malabarba <bruce.connor.am@gmail.com>
27209 Speed up byte-compilation and autoload generation by avoiding mode-hooks
27210 This prevents emacs-lisp-mode-hook from being run everytime an
27211 autoload file is generated, which can account for a fraction of
27212 package installation time depending on the hooks the user has
27214 * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use delay-mode-hooks.
27215 * lisp/emacs-lisp/autoload.el (autoload-find-file)
27216 (autoload-find-generated-file): Use delay-mode-hooks.
27218 * lisp/emacs-lisp/package.el: Improve `package-menu-refresh'.
27219 (package-menu-refresh): Respect async and do new package checking.
27220 (list-packages): Use `package-menu-refresh' instead of repeating code.
27222 * lisp/emacs-lisp/package.el: Improve package-menu-quick-help.
27223 (package--quick-help-keys): New variable.
27224 (package--prettify-quick-help-key): New function.
27225 (package-menu-quick-help): Use it.
27227 * lisp/emacs-lisp/package.el: Fix initially wrong compat table.
27228 (package--build-compatibility-table): Require finder.
27230 * test/automated/package-test.el: Fix new test.
27232 * lisp/emacs-lisp/package.el: Silence async operations.
27233 (package--silence): New variable.
27234 (package--message): New function.
27235 (package-import-keyring, package-refresh-contents)
27236 (package-compute-transaction, package-install, package-delete)
27237 (package-menu--perform-transaction, package-menu-execute): Use it.
27239 * test/automated/package-test.el: Test async functionality.
27240 (package-test-update-archives-async): New test.
27242 2015-04-11 Daiki Ueno <ueno@gnu.org>
27244 Utilize `make-process' in epg.el
27245 * lisp/epg.el (epg-error-output): Abolish.
27246 (epg-context): New slot `error-buffer'.
27247 (epg--start): Use `make-process' and `make-pipe-process'.
27248 (epg--process-filter): Remove code separating stderr from stdout.
27249 (epg-wait-for-completion): Simplify `error-output' handling.
27250 (epg-reset): Dispose error buffer.
27252 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
27254 * .gitignore: Ignore doc temps and outputs.
27256 Port commit-msg to MSYS Bash+Gawk
27257 See Eli Zaretskii in:
27258 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00610.html
27259 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format)
27260 (cent_sign, print_at_sign, at_sign): Revert previous change.
27261 (print_at_sign): Prepend "BEGIN".
27262 (at_sign): Redirect from /dev/null to be safer with pre-POSIX awk.
27264 Port commit-msg to broken MS-Windows shell
27265 * build-aux/git-hooks/commit-msg (cent_sign):
27266 Just use UTF-8 here rather than ASCII + printf, as the latter fails
27267 on a broken MS-Windows shell. Reported by Eli Zaretskii in:
27268 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00592.html
27270 2015-04-11 Chris Zheng <chriszheng99@gmail.com> (tiny change)
27272 Support GnuTLS v3.4 and later on MS-Windows
27273 * src/gnutls.c (syms_of_gnutls) <libgnutls-version>: New DEFSYM.
27274 * lisp/term/w32-win.el (dynamic-library-alist): Determine which
27275 GnuTLS DLL to load according to value of libgnutls-version.
27278 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
27280 Minor quoting etc. fixes to misc manuals
27281 Fix some minor quoting and spacing issues. Distinguish more
27282 clearly among grave accent and apostrophe (which are ASCII) and
27283 single quote (which is not). Prefer the standard terms
27284 "apostrophe" and "grave accent" to alternative names that can be
27285 confusing. Use apostrophes to single-quote ASCII text.
27286 * doc/misc/remember.texi: Spell the mystic's pseudonym in UTF-8
27287 rather than approximating it in ASCII with grave accent.
27289 2015-04-11 Daiki Ueno <ueno@gnu.org>
27291 Respect more keyword args in `make-process'
27292 * src/process.c (Fmake_process): Respect `:sentinel' and `:filter'
27293 keywords as documented.
27295 2015-04-10 Dmitry Gutov <dgutov@yandex.ru>
27297 Extract ChangeLog entries when committing a directory
27298 * lisp/vc/vc-dispatcher.el (vc-log-edit): Update FIXME comment.
27299 * lisp/vc/log-edit.el (log-edit-changelog-insert-entries):
27300 Add a FIXME comment.
27301 (log-edit-changelog-entries): Extract from
27302 `log-edit-changelog-entries', handle FILE being a directory
27303 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00555.html).
27305 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
27307 Fix problems found by --enable-gcc-warnings
27308 * src/process.c (create_process, Fmake_pipe_process)
27309 (Fmake_network_process): Omit unused locals.
27311 Fix commit-msg to handle scissors lines
27312 * build-aux/git-hooks/commit-msg:
27313 Ignore every line after a scissors line, such as a line generated
27314 by 'git commit -v'. Problem reported by Johan Bockgård in:
27315 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00580.html
27317 port commit-msg to Gawk 3.0.4 (1999)
27318 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format, cent_sign)
27319 (print_at_sign, at_sign): New vars. Use them to avoid problems
27320 Eli Zaretskii encountered with Gawk 3.0.4 (1999) on MSYS. See:
27321 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
27323 Have commit-msg report commit failure
27324 * build-aux/git-hooks/commit-msg: If the commit is aborted,
27325 say so. Simplify by doing this at the end. Problem reported
27326 by Eli Zaretskii in:
27327 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
27329 2015-04-10 Thomas Fitzsimmons <fitzsim@fitzsim.org>
27331 Clean up LDAP Configuration section of EUDC manual
27332 * doc/misc/eudc.texi: Combine indices.
27333 (LDAP Configuration): Use command markup. Add index entries.
27334 Change formatting. Wrap long lines. Add noindent markup.
27336 2015-04-10 Daiki Ueno <ueno@gnu.org>
27338 Add facility to collect stderr of async subprocess
27339 * src/w32.h (register_aux_fd): New function declaration.
27340 * src/w32.c (register_aux_fd): New function.
27341 * src/process.h (struct Lisp_Process): New member stderrproc.
27342 * src/process.c (PIPECONN_P): New macro.
27343 (PIPECONN1_P): New macro.
27344 (Fdelete_process, Fprocess_status, Fset_process_buffer)
27345 (Fset_process_filter, Fset_process_sentinel, Fstop_process)
27346 (Fcontinue_process): Handle pipe process specially.
27347 (create_process): Respect p->stderrproc.
27348 (Fmake_pipe_process): New function.
27349 (Fmake_process): Add new keyword argument :stderr.
27350 (wait_reading_process_output): Specially handle a pipe process when
27352 (syms_of_process): Register Qpipe and Smake_pipe_process.
27353 * doc/lispref/processes.texi (Asynchronous Processes): Document
27354 `make-pipe-process' and `:stderr' keyword of `make-process'.
27355 * lisp/subr.el (start-process): Suggest to use `make-process' handle
27356 standard error separately.
27357 * test/automated/process-tests.el (process-test-stderr-buffer)
27358 (process-test-stderr-filter): New tests.
27359 * etc/NEWS: Mention new process type `pipe' and its usage with the
27360 `:stderr' keyword of `make-process'.
27362 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
27364 Minor quoting etc. fixes to lispref manual
27365 * doc/lispref/tips.texi (Documentation Tips):
27366 Distinguish more clearly among grave accent, apostrophe,
27368 * doc/lispref/README, doc/lispref/buffers.texi:
27369 * doc/lispref/commands.texi, doc/lispref/control.texi:
27370 * doc/lispref/customize.texi, doc/lispref/display.texi:
27371 * doc/lispref/elisp.texi, doc/lispref/files.texi:
27372 * doc/lispref/frames.texi, doc/lispref/hash.texi:
27373 * doc/lispref/help.texi, doc/lispref/internals.texi:
27374 * doc/lispref/loading.texi, doc/lispref/makefile.w32-in:
27375 * doc/lispref/markers.texi, doc/lispref/modes.texi:
27376 * doc/lispref/nonascii.texi, doc/lispref/objects.texi:
27377 * doc/lispref/os.texi, doc/lispref/positions.texi:
27378 * doc/lispref/strings.texi, doc/lispref/syntax.texi:
27379 * doc/lispref/text.texi, doc/lispref/tips.texi:
27380 * doc/lispref/two-volume-cross-refs.txt, doc/lispref/windows.texi:
27381 Use American-style double quoting in ordinary text,
27382 and quote 'like this' when single-quoting in ASCII text.
27383 Also, fix some minor spacing issues.
27385 2015-04-10 Michael Albinus <michael.albinus@gmx.de>
27387 Handle symlinked test directory in tramp-tests.el
27388 * test/automated/tramp-tests.el (tramp-test18-file-attributes)
27389 (tramp--test-check-files): Use `file-truename' for directories.
27391 2015-04-10 Eli Zaretskii <eliz@gnu.org>
27393 Fix 'recenter' when visual-line-mode is turned on
27394 * src/window.c (Frecenter): Use the same code for GUI and TTY
27395 frames alike; use vmotion only for "initial" frames. This is
27396 because vmotion doesn't support visual-line-mode. Rewrite the
27397 'iarg >= 0' case to use move_it_* functions instead of using
27398 vmotion, for the same reason. Fix the clipping of the argument
27399 value to support scroll-margin in all cases and avoid unwarranted
27400 recentering. Reported by Milan Stanojević <milanst@gmail.com> in
27401 http://lists.gnu.org/archive/html/help-gnu-emacs/2015-04/msg00092.html,
27404 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
27406 * lisp/abbrev.el (define-abbrev-table): Refine last change.
27408 * lisp/emacs-lisp/cl-lib.el: Partial revert of "2015-04-05 Rationalize
27409 use of c[ad]+r", so as to keep the "cl-" prefix on all
27410 cl-lib definitions.
27412 * lisp/progmodes/vhdl-mode.el (vhdl-prepare-search-2):
27413 Use inhibit-point-motion-hooks.
27415 * lisp/cedet/semantic: Remove some dead code.
27416 * lisp/cedet/semantic/util-modes.el
27417 (semantic-stickyfunc-header-line-format): Emacs<22 is not supported
27419 * lisp/cedet/semantic/fw.el (semantic-buffer-local-value): Emacs<21 is
27420 not supported any more.
27421 (semantic-safe): Use `declare'.
27422 * lisp/cedet/semantic/decorate.el (semantic-set-tag-intangible)
27423 (semantic-tag-intangible-p): Remove unused functions.
27424 * lisp/cedet/semantic/complete.el (semantic-displayor-window-edges):
27425 Remove unused function.
27427 * lisp/gnus/gnus-art.el (gnus-hidden-properties): Simplify.
27428 (gnus-article-hide-text, gnus-article-unhide-text)
27429 (gnus-article-unhide-text-type): Remove special handling of
27430 `intangible' since that property is not used any more.
27431 (gnus-article-treat-body-boundary): Use gnus-hidden-properties.
27433 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
27435 Use the VC root in `log-edit-listfun'
27436 * lisp/vc/vc-dispatcher.el (vc-log-edit): Use the VC root in
27437 `log-edit-listfun'.
27439 2015-04-09 Jay Belanger <jay.p.belanger@gmail.com>
27441 Fix description of Unix time, mention new function.
27442 * lisp/calc/calc-forms.el (calcFunc-unixtime): Fix adjustment for
27444 * doc/misc/calc.texi (Date Forms): Fix description of Unix time.
27445 (Basic Operations on Units): Mention `calc-convert-exact-units'.
27447 2015-04-09 Artur Malabarba <bruce.connor.am@gmail.com>
27449 * lisp/emacs-lisp/package.el: Use mode-line-process for notification.
27451 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
27453 * lisp/vc/log-edit.el (log-edit-insert-changelog-entries):
27454 Don't add newline after the last entry.
27456 2015-04-09 Simen Heggestøyl <simenheg@gmail.com>
27458 css-mode.el: Add "not" pseudo-class
27460 * lisp/textmodes/css-mode.el (css-pseudo-class-ids): Add "not" to
27461 list of CSS pseudo-classes.
27463 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
27465 * etc/NEWS: Add missing entry for "Stop messing with the EMACS env var".
27467 2015-04-09 Michael Albinus <michael.albinus@gmx.de>
27469 Stop messing with the EMACS env var
27470 * doc/emacs/misc.texi (Interactive Shell): Remove description of
27473 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
27475 Adapt 'make change-history' to coding cookie
27476 * Makefile.in (change-history): Adjust to change of format of
27477 ChangeLog file, which now has a coding cookie before an indented
27480 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
27482 Adapt 'make change-history' to coding cookie
27483 * Makefile.in (change-history): Adjust to change of format of
27484 ChangeLog file, which now has a coding cookie before an indented
27487 gitlog-to-changelog coding cookie and mv -i
27488 * build-aux/gitlog-to-emacslog: Use ChangeLog.1, not Makefile.in,
27489 for copyright notice prototype, so that we get a proper "coding:"
27490 cookie. Use 'mv -i' to avoid unconditionally overwriting an
27491 existing ChangeLog. Problems reported by Eli Zaretskii in:
27492 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00504.html
27495 * build-aux/gitlog-to-changelog: Update from gnulib, incorporating:
27496 2015-04-09 gitlog-to-changelog: port to MS-Windows
27498 2015-04-09 Boruch Baum <boruch_baum@gmx.com> (tiny change)
27500 * lisp/bookmark.el (bookmark-bmenu-goto-bookmark): Don't inf-loop.
27503 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
27505 Stop messing with the EMACS env var
27507 * lisp/net/tramp-sh.el (tramp-remote-process-environment):
27508 * lisp/comint.el (comint-exec-1):
27509 * lisp/term.el (term-exec-1): Don't set EMACS envvar.
27510 * lisp/progmodes/compile.el (compilation-start): Same and bring
27511 INSIDE_EMACS's format in line with other users.
27513 css-mode.el (css-smie-rules): Fix indentation after complex selectors
27515 * lisp/textmodes/css-mode.el (css-smie-rules): Don't get confused by
27516 inner structure of selectors.
27518 2015-04-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
27520 python.el: Indent docstring lines to base-indent
27522 Thanks to immerrr <immerrr@gmail.com> for reporting and providing
27524 * lisp/progmodes/python.el
27525 (python-indent-context): Add :inside-docstring context.
27526 (python-indent--calculate-indentation): Handle :inside-docstring.
27527 (python-indent-region): Re-indent docstrings.
27528 * test/automated/python-tests.el (python-indent-region-5)
27529 (python-indent-inside-string-2): Fix tests.
27531 python.el: Increase native completion robustness
27533 Thanks to Carlos Pita <carlosjosepita@gmail.com> for reporting
27534 this and providing useful ideas.
27535 * lisp/progmodes/python.el
27536 (python-shell-completion-native-output-timeout): Increase value.
27537 (python-shell-completion-native-try-output-timeout): New var.
27538 (python-shell-completion-native-try): Use it.
27539 (python-shell-completion-native-setup): New readline setup avoids
27540 polluting current context, ensures output when no-completions are
27541 available and includes output end marker.
27542 (python-shell-completion-native-get-completions): Trigger with one
27543 tab only. Call accept-process-output until output end is found or
27544 python-shell-completion-native-output-timeout is exceeded.
27546 2015-04-08 Samer Masterson <samer@samertm.com>
27548 * lisp/eshell: Make backslash a no-op in front of normal chars
27550 * lisp/eshell/esh-arg.el (eshell-parse-argument-hook): Update comment.
27551 (eshell-parse-backslash): Return escaped character after backslash
27552 if it is special. Otherwise, if the backslash is not in a quoted
27553 string, ignore the backslash and return the character after; if
27554 the backslash is in a quoted string, return the backslash and the
27556 * test/automated/eshell.el (eshell-test/escape-nonspecial)
27557 (eshell-test/escape-nonspecial-unicode)
27558 (eshell-test/escape-nonspecial-quoted)
27559 (eshell-test/escape-special-quoted): Add tests for new
27560 `eshell-parse-backslash' behavior.
27562 2015-04-08 Gustav Hållberg <gustav@gmail.com> (tiny change)
27564 * lisp/vc/diff-mode.el (diff-hunk-file-names): Don't require a TAB
27565 after the file name.
27568 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
27570 Minor quoting etc. fixes to Emacs manual
27571 * doc/emacs/Makefile.in, doc/emacs/ack.texi, doc/emacs/building.texi:
27572 * doc/emacs/calendar.texi, doc/emacs/cmdargs.texi:
27573 * doc/emacs/custom.texi, doc/emacs/dired.texi, doc/emacs/emacs.texi:
27574 * doc/emacs/files.texi, doc/emacs/glossary.texi, doc/emacs/gnu.texi:
27575 * doc/emacs/indent.texi, doc/emacs/macos.texi:
27576 * doc/emacs/maintaining.texi, doc/emacs/makefile.w32-in:
27577 * doc/emacs/programs.texi, doc/emacs/rmail.texi:
27578 * doc/emacs/search.texi, doc/emacs/trouble.texi:
27579 * doc/emacs/vc1-xtra.texi:
27580 Use American-style double quoting in ordinary text,
27581 and quote 'like this' when single-quoting in ASCII text.
27582 Also, fix some minor spacing issues.
27584 Minor quoting etc. fixes to elisp intro
27585 * doc/lispintro/emacs-lisp-intro.texi: Consistently use
27586 American-style double quoting in ordinary text. In ASCII text,
27587 consistently quote 'like this' instead of `like this', unless
27588 Emacs requires the latter.
27590 2015-04-08 Dmitry Gutov <dgutov@yandex.ru>
27592 * CONTRIBUTE: Mention log-edit-insert-changelog.
27594 * CONTRIBUTE: Emphasize creating the top-level ChangeLog file manually.
27596 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
27598 * doc/misc/calc.texi (Summary): Avoid '@:' when usurped.
27600 2015-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
27602 * lisp/emacs-lisp/eieio-core.el (eieio-copy-parents-into-subclass):
27603 Fix inheritance of initargs. (Bug#20270)
27605 2015-04-08 Artur Malabarba <bruce.connor.am@gmail.com>
27607 * lisp/emacs-lisp/package.el (package-menu-mode): Mode-line notification
27608 while dowloading information.
27610 * lisp/emacs-lisp/package.el: More conservative `ensure-init-file'
27611 (package--ensure-init-file): Check file contents before visiting.
27612 (package-initialize): Call it.
27613 (package-install-from-buffer, package-install): Don't call it.
27615 2015-04-08 Eli Zaretskii <eliz@gnu.org>
27617 * src/eval.c (init_eval_once): Bump max_lisp_eval_depth to 800.
27620 2015-04-08 Michael Albinus <michael.albinus@gmx.de>
27622 * lisp/net/tramp-cache.el (tramp-flush-file-property):
27623 Fix nasty scoping bug.
27625 2015-04-08 Tassilo Horn <tsdh@gnu.org>
27627 Add notice to visual commands section
27628 * doc/misc/eshell.texi (Input/Output): Add notice that some tools
27629 such as git call less with its -F option which omits pagination if
27630 the contents is less than one page long. This interferes with
27631 eshell's visual (sub-)commands.
27633 2015-04-07 Dmitry Gutov <dgutov@yandex.ru>
27635 * lisp/ffap.el (ffap-string-at-point-mode-alist): Support
27636 environment variable expansion in file names. (Bug#19839)
27638 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
27640 Prefer double-quote to accent-grave in man pages
27642 2015-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
27645 * lisp/files.el (set-visited-file-name): Clear auto-save if nil.
27647 2015-04-07 Ivan Shmakov <ivan@siamics.net>
27649 Update etc/PROBLEMS.
27650 * etc/PROBLEMS: Mention visible-cursor; a few more mentions of
27651 ~/.Xresources and xrdb(1); refer to 'GNU Coreutils' and
27652 'X Window System' or 'X' (were: 'GNU Fileutils' and 'X Windows',
27653 respectively); other minor updates and tweaks. (Bug#20011)
27655 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
27657 Add doc strings for some Isearch state vars
27658 * lisp/misearch.el (multi-isearch-buffer-list)
27659 (multi-isearch-file-list): Add doc strings.
27662 2015-04-07 Alan Mackenzie <acm@muc.de>
27664 Always mark "<" and ">" in #include directives with text properties.
27665 * lisp/progmodes/cc-fonts.el (c-cpp-matchers): Replace a font-lock
27666 "anchored matcher" with an invocation of
27667 c-make-font-lock-search-function to allow fontification when there's
27668 no trailing space on an "#include <..>" line.
27670 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
27672 Generate a ChangeLog file from commit logs
27673 * .gitignore: Add 'ChangeLog'.
27674 * build-aux/gitlog-to-changelog: New file, from Gnulib.
27675 * build-aux/gitlog-to-emacslog: New file.
27676 * CONTRIBUTE: Document the revised workflow.
27677 * Makefile.in (clean): Remove *.tmp and etc/*.tmp*
27678 instead of just special cases.
27679 (CHANGELOG_HISTORY_INDEX_MAX, CHANGELOG_N, gen_origin): New vars.
27680 (ChangeLog, unchanged-history-files, change-history)
27681 (change-history-commit): New rules.
27682 * admin/admin.el (make-manuals-dist--1):
27683 Don't worry about doc/ChangeLog.
27684 * admin/authors.el: Add a FIXME.
27685 * admin/make-tarball.txt:
27686 * lisp/calendar/icalendar.el:
27687 * lisp/gnus/deuglify.el:
27688 * lisp/obsolete/gulp.el:
27690 Adjust to renamed ChangeLog history files.
27691 * admin/merge-gnulib (GNULIB_MODULES): Add gitlog-to-changelog.
27692 * admin/notes/repo: Call it 'master' a la Git, not 'trunk' a la Bzr.
27693 Remove obsolete discussion of merging ChangeLog files.
27694 New section "Maintaining ChangeLog history".
27695 * build-aux/git-hooks/pre-commit:
27696 Reject attempts to commit files named 'ChangeLog'.
27697 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
27698 * make-dist: Make and distribute top-level ChangeLog if there's a
27699 .git directory. Distribute the new ChangeLog history files
27700 instead of scattered ChangeLog files. Distribute the new files
27701 gitlog-to-changelog and gitlog-to-emacslog.
27704 Rename ChangeLogs for gitlog-to-changelog
27705 This patch was implemented via the following shell commands:
27706 find * -name ChangeLog |
27707 sed 's,.*,git mv & &.1,
27708 s, lisp/ChangeLog\.1$, lisp/ChangeLog.17,
27709 s, lisp/erc/ChangeLog\.1$, lisp/erc/ChangeLog.09,
27710 s, lisp/gnus/ChangeLog\.1$, lisp/gnus/ChangeLog.3,
27711 s, lisp/mh-e/ChangeLog\.1$, lisp/mh-e/ChangeLog.2,
27712 s, src/ChangeLog\.1$, src/ChangeLog.13,' |
27714 git commit -am"[this commit message]"
27716 This file records repository revisions from
27717 commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to
27718 commit 851decb15e0496cec0c48d980c88a5a9d7cc00da (inclusive).
27719 See ChangeLog.1 for earlier changes.
27721 ;; Local Variables:
27725 Copyright (C) 2015-2016 Free Software Foundation, Inc.
27727 This file is part of GNU Emacs.
27729 GNU Emacs is free software: you can redistribute it and/or modify
27730 it under the terms of the GNU General Public License as published by
27731 the Free Software Foundation, either version 3 of the License, or
27732 (at your option) any later version.
27734 GNU Emacs is distributed in the hope that it will be useful,
27735 but WITHOUT ANY WARRANTY; without even the implied warranty of
27736 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27737 GNU General Public License for more details.
27739 You should have received a copy of the GNU General Public License
27740 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.