1 2016-01-30 Nicolas Petton <nicolas@petton.fr>
3 Bump version to 25.0.90
7 * msdos/sed2v2.inp: Bump version to 25.0.90.
9 2016-01-30 Nicolas Petton <nicolas@petton.fr>
11 * etc/AUTHORS: Update the AUTHORS file
13 2016-01-30 Nicolas Petton <nicolas@petton.fr>
17 * admin/authors.el (authors-renamed-files-alist): Additions.
19 2016-01-30 Nicolas Petton <nicolas@petton.fr>
21 Make it possible to run make change-history on emacs-25
23 * Makefile.in: Check if the current branch is emacs-25 instead of
26 2016-01-30 lu4nx <lx@shellcodes.org>
28 Support Go language in 'etags'
30 * lib-src/etags.c <Ruby_help>: Fix documentation of Ruby tags.
32 <Go_suffixes>: New variable.
33 (Go_functions): New function.
34 <lang_names>: Add entry for Go. (Bug#22370)
36 * doc/emacs/maintaining.texi (Tag Syntax): Document Go support.
37 * doc/man/etags.1: Mention Go support.
39 * etc/NEWS: Mention Go support.
41 * test/etags/go-src/test.go:
42 * test/etags/go-src/test1.go: New test files.
43 * test/etags/Makefile (GOSRC): New variable.
45 * test/etags/ETAGS.good_1:
46 * test/etags/ETAGS.good_2:
47 * test/etags/ETAGS.good_3:
48 * test/etags/ETAGS.good_4:
49 * test/etags/ETAGS.good_5:
50 * test/etags/ETAGS.good_6:
51 * test/etags/CTAGS.good: Adapt to addition of Go tests.
53 2016-01-30 Eli Zaretskii <eliz@gnu.org>
55 Improve Ruby support in 'etags'
57 * lib-src/etags.c (Ruby_functions): Tag constants. Don't tag
58 singleton classes. Remove class qualifiers from tags generated
59 for method and constant names. (Bug#22241)
61 * doc/emacs/maintaining.texi (Tag Syntax): Mention that constants
62 are tagged by etags in Ruby.
64 * etc/NEWS: Mention that constants are tagged by etags in Ruby.
66 * test/etags/ruby-src/test1.ruby: Add more tests.
67 * test/etags/ETAGS.good_1:
68 * test/etags/ETAGS.good_2:
69 * test/etags/ETAGS.good_3:
70 * test/etags/ETAGS.good_4:
71 * test/etags/ETAGS.good_5:
72 * test/etags/ETAGS.good_6:
73 * test/etags/CTAGS.good: Adapt to the changes in etags and in Ruby
76 2016-01-30 Eli Zaretskii <eliz@gnu.org>
78 Adjust etags test results to changes in copyright years
80 * test/etags/CTAGS.good:
81 * test/etags/ETAGS.good_1:
82 * test/etags/ETAGS.good_2:
83 * test/etags/ETAGS.good_3:
84 * test/etags/ETAGS.good_4:
85 * test/etags/ETAGS.good_5:
86 * test/etags/ETAGS.good_6: Adjust to shift in characters and
89 2016-01-30 Andreas Schwab <schwab@linux-m68k.org>
91 Revert "Re-enable checks in member, memql, delete to complain about non-lists"
93 This reverts commit f524e8b7f12d9b5a8b92084e5385429fe7b085b9.
95 2016-01-30 Nicolas Petton <nicolas@petton.fr>
97 Make it possible to run make change-history on emacs-25
99 * Makefile.in: Check if the current branch is emacs-25 instead of
102 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
104 Don't fiddle with DEFAULT
106 * lisp/progmodes/project.el (project--completing-read-strict):
107 Don't change DEFAULT, whether is has any matches in
110 2016-01-30 Eli Zaretskii <eliz@gnu.org>
112 Document xwidget commands and functions
114 * doc/lispref/display.texi (Xwidgets): New section, describes some
115 of the xwidget primitives.
116 * doc/lispref/display.texi (Display): Update the chapter menu.
117 * doc/emacs/misc.texi (Embedded WebKit Widgets): New section.
118 * doc/emacs/emacs.texi (Top): Update the master menu to include
121 2016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
125 * shr.el (seq): Require.
127 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
129 Improve project-find-file yet again!
131 * lisp/progmodes/project.el (project--completing-read-strict):
133 (project-find-file-in): Use it.
134 (project-file-completion-table): Move the default
135 implementation inside the cl-defgeneric form.
136 (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01720.html)
138 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
140 Don't pass DIR to 'hg status'
142 * lisp/vc/vc-hg.el (vc-hg-dir-status-files):
143 Don't pass DIR to 'hg status' (bug#22481).
145 2016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
147 Fix typo in previous commits
149 * lisp/progmodes/project.el (project-find-file-in):
150 * lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): Fix typo in previous
153 2016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
155 Improve project-find-file
157 * lisp/progmodes/project.el (project-file-completion-table): New.
158 (project-find-file, project-or-external-find-file): Default to filename
160 (project-file-completion-table): New, split out from
161 project--find-file-in.
162 (project-find-file-in): Renamed from project--find-file-in, use
163 project-file-completion-table.
165 * lisp/progmodes/xref.el (ede-minor-mode): New declaration.
166 (xref--find-ignores-arguments): Add doc string.
168 2016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
170 Implement vc-mtn-find-ignore-file, fix some doc strings
172 * lisp/cedet/cedet-global.el (cedet-gnu-global-root): Improve doc string.
174 * lisp/cedet/ede/locate.el (initialize-instance): Improve doc string.
176 * lisp/vc/vc-git.el (vc-git-find-ignore-file): Fix doc string.
178 * lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): New function.
180 2016-01-29 Vincent Belaïche <vincentb1@users.sourceforge.net>
182 Correct a whole bunch of bugs coming with renamed cell relocation.
184 This is the same change as commit on master branch. See
185 http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=badcd38aa86ed7973f2be2743c405710973a0bdd
187 * lisp/ses.el (ses-localvars): rename variable
188 `ses--renamed-cell-symb-list' into `ses--in-killing-named-cell-list'
189 and adjust the comment about it.
190 (ses-plist-delq): new defun.
191 (ses--ses-buffer-list): new defvar.
192 (ses--unbind-cell-name): new defun.
193 (ses-relocate-symbol): Do not relocate symbol when it is a named cell.
194 (ses-relocate-formula): Undo change of
195 2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net that was
196 preventing relocation for named cell --- now doing this is delegated
197 to function `ses-relocate-symbol'.
198 (ses-relocate-range): In docstring, undo change of
199 2016-01-03T07:31:52Z!johnw@newartisans.com, `ses-range' must remain
200 lower case as it is not a variable.
201 (ses-relocate-all): Cell name relocation : 1) check that cell is a
202 renamed cell by testing `ses-cell' property to :ses-named, rather than
203 comparing name to corresponding standard name. Set rowcol of renamed
204 cell into the hashmap --- `ses-cell' property must not be used for
205 that as the same name can be used for different locations in different
206 SES sheets ; 2) use `local-variable-if-set-p' rather than `boundp' and
207 `local-variable-p' to check if cell name is already in use in this
208 sheet or needs initialisation.
209 (ses-relocate-all): Cell value relocation : 1) like for name
210 relocation use the `ses-cell' property rather than comparing actual
211 name to corresponding standard name. 2) Correct bug introduced in
212 2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net, as the test was
213 made the other way round than the intention --- ie value relocation
214 was disabled for standard cell, not for renamed cell as was the
216 (ses-relocate-all): Add loop for unbinding deleted renamed cells
218 (ses-killbuffer-hook): new defun.
219 (ses-mode): Add the ses--ses-buffer-list maintenance mechanism ---
220 kill buffer hook, plus pushing current buffer if new in list.
221 (ses-delete-row, ses-delete-column): Collect deleted renamed cells
222 into `ses--in-killing-named-cell-list'.
223 (ses-rename-cell): Remove update of variable
224 `ses--renamed-cell-symb-list', this variable is renamed to
225 `ses--in-killing-named-cell-list', and its setting is done in
226 functions `ses-delete-row' and , `ses-delete-column' now.
227 (ses-rename-cell): Make cell new name a buffer local variable.
228 (ses-rename-cell): Change correction of
229 2015-12-30T23:10:37Z!vincentb1@users.sourceforge.net concerning
230 computation of the range over which `cursor-intangible' property was
231 to be updated. This correction was ok for non spilling cells, but not
232 for cells spilling over following blank cells. Simply use
233 `next-single-property-change' rather than computing the end column
236 2016-01-29 Andreas Schwab <schwab@linux-m68k.org>
238 Re-enable checks in member, memql, delete to complain about non-lists
240 * src/fns.c (Fmember, Fmemql, Fdelete): Revert 2007-10-16 change.
242 2016-01-29 Martin Rudalics <rudalics@gmx.at>
244 c:/emacs-git/next/ChangeLog
246 2016-01-29 Eli Zaretskii <eliz@gnu.org>
248 Minor improvements to 'pcase' documentation
250 * doc/lispref/control.texi (Pattern matching case statement):
251 Improve the documentation of 'pcase' per comments. See two
252 discussion threads on emacs-devel@gnu.org for the details:
253 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01335.html
254 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01336.html.
256 2016-01-29 Glenn Morris <rgm@gnu.org>
258 Don't use eval to quieten prolog.el compilation.
260 * lisp/progmodes/prolog.el (pltrace-on, pltrace-off): Declare.
261 (prolog-enable-sicstus-sd, prolog-disable-sicstus-sd): Don't use eval.
263 2016-01-29 Glenn Morris <rgm@gnu.org>
265 Mark some risky prolog variables.
267 * lisp/progmodes/prolog.el (prolog-system-version)
268 (prolog-keywords, prolog-types, prolog-mode-specificators)
269 (prolog-determinism-specificators, prolog-directives)
270 (prolog-program-name, prolog-program-switches)
271 (prolog-consult-string, prolog-compile-string)
272 (prolog-eof-string, prolog-prompt-regexp, prolog-help-function):
273 Mark anything processed by prolog-find-value-by-system as risky.
275 2016-01-28 Glenn Morris <rgm@gnu.org>
277 * lisp/custom.el (defcustom): Doc fix.
279 * doc/lispref/customize.texi (Variable Definitions):
280 Defcustom should always have a type.
282 2016-01-28 Glenn Morris <rgm@gnu.org>
284 * lisp/cedet/semantic/db-file.el (semanticdb-persistent-path):
287 * lisp/emacs-lisp/package.el (package-load-list): Improve :type.
289 2016-01-28 Michael Albinus <michael.albinus@gmx.de>
293 * lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection):
294 * lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
295 * lisp/net/tramp-sh.el (tramp-maybe-open-connection):
296 * lisp/net/tramp-smb.el (tramp-smb-maybe-open-connection):
297 Mark it as connected.
299 * lisp/net/tramp.el (tramp-handle-file-remote-p): Check also, if
300 connection property "connected" is set. (Bug#22452)
302 2016-01-27 Glenn Morris <rgm@gnu.org>
304 * lisp/xwidget.el (xwidget-query-on-exit-flag): Declare.
306 * lisp/xwidget.el (xwidget-webkit-browse-url): Give explicit error
307 if not compiled with xwidgets.
309 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
311 C-u C-x = example doc fix
313 * doc/emacs/mule.texi (International Chars):
314 Adjust example to match current behavior of C-u C-x =.
316 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
320 This attempts to future-proof Emacs a bit against possible glibc
321 changes, by having Emacs use <malloc.h> declarations rather than
322 coding them up by hand. Problem noted by Florian Weimer in:
323 https://sourceware.org/ml/libc-alpha/2016-01/msg00777.html
324 Implement this mainly by moving malloc.h-related functions from
325 emacs.c (which does not include <malloc.h>) to alloc.c (which does).
326 * src/alloc.c (my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]:
328 The remaining changes to this file apply only if DOUG_LEA_MALLOC.
329 (alloc_unexec_pre, alloc_unexec_post): New functions.
330 (malloc_initialize_hook): Use my_heap_start and alloc_unexec_post.
331 (__MALLOC_HOOK_VOLATILE): New macro, if not already defined.
332 (__malloc_initialize_hook): Use it.
333 (malloc_state_ptr, malloc_initialize_hook, __malloc_initialize_hook):
335 * src/emacs.c: ... here.
336 (malloc_get_state, malloc_set_state): Remove extern decls.
337 (my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]: Remove static var.
338 All uses changed to similarly-named new function.
339 (Fdump_emacs): Use new functions alloc_unexec_pre, alloc_unexec_post.
340 * src/lisp.h (my_heap_start, alloc_unexec_pre, alloc_unexec_post):
343 2016-01-26 Eli Zaretskii <eliz@gnu.org>
345 * doc/emacs/mark.texi (Using Region): Clarify wording. (Bug#22467)
347 2016-01-26 Paul Eggert <eggert@cs.ucla.edu>
349 Remove never-set var handle_user_signal_hook
351 * src/keyboard.c, src/keyboard.h (handle_user_signal_hook):
352 Remove never-set var. All uses removed.
354 2016-01-26 K. Handa <handa@gnu.org>
356 Backport:fix previous change of src/ftfont.c (ftfont_shape_by_flt)
358 * src/ftfont.c (ftfont_shape_by_flt): Fix previous change. Access the
359 second glyph only when there are enough glyphs.
361 (cherry picked from commit 9835757013569673854b692ccbb58bfb3c3ed1f7)
363 2016-01-26 K. Handa <handa@gnu.org>
365 support rendering of wider range of combinging characters by ftfont backend
367 * lisp/language/hebrew.el (hebrew-shape-gstring): If the font backend
368 supports rendering of combining characters, call
371 * src/font.c (Ffont_get): Handle `combining-capability' property.
372 (syms_of_font): New symbol ":combining-capability'.
374 * src/font.h (struct font_driver): New member combining_capability.
376 * src/ftfont.c: Include "category.h".
377 (ftfont_driver): Initialize combining_capability to
378 ftfont_combining_capability.
379 (ftfont_shape_by_flt): If OTF is null, try to find a suitable
381 (ftfont_combining_capability): New function.
383 (cherry picked from commit 536f48e9a2251b9e654ea974bd90ff2f40218753)
385 2016-01-26 Anders Lindgren <andlind@gmail.com>
387 Fixed NextStep fullscreen issue (bug#22468)
389 When in fullscreen mode, `[screen visibleFrame]' sometimes
390 includes, sometimes excludes the menu bar. This could cause
391 a frame to be placed too low when in fullscreen mode.
393 * src/nsterm.m (ns_menu_bar_should_be_hidden): Trace.
394 (constrain_frame_rect): New parameter, isFullscreen, when true don't
395 query the height of the menu bar.
396 (ns_constrain_all_frames): Pass `false' (isFullscreen) to
397 `constrain_frame_rect'.
398 ([EmacsView initFrameFromEmacs:]): Trace.
399 ([EmacsView isFullscreen]): Trace.
400 ([EmacsWindow constrainFrameRect:toScreen:]): Pass fullscreen
401 state to `constrain_frame_rect'.
403 2016-01-26 Artur Malabarba <bruce.connor.am@gmail.com>
405 * lisp/files.el: Use a fixed file name for the second dir-locals file
407 (dir-locals-file): Revert to its original fixed value.
408 (dir-locals-file-2): New const.
409 (dir-locals--all-files): Don't use `file-name-all-completions'.
410 Instead, just check for the 2 dir-locals files and return a list
411 of the ones that exit (if any).
413 * etc/NEWS: Document the change.
415 * doc/emacs/custom.texi (Directory Variables): Document the change.
417 * doc/lispref/variables.texi (Directory Local Variables): Update
420 2016-01-26 Artur Malabarba <bruce.connor.am@gmail.com>
422 * lisp/files-x.el (modify-dir-local-variable): Small rewrite
424 Change a variable name to be more meaningful, and reorder some of
425 the code with no change in behaviour.
427 2016-01-26 Artur Malabarba <bruce.connor.am@gmail.com>
429 * lisp/files.el (dir-locals-find-file): Refactor return values
431 Returning a cache remains unchanged, but the case of returning a
432 file (or pattern) is now changed to return the contaning
435 (dir-locals-read-from-file): Rename to `dir-locals-read-from-dir'
437 (dir-locals-read-from-dir): Simplify accordingly.
438 (hack-dir-local-variables): Simplify accordingly and rename a
441 2016-01-26 Glenn Morris <rgm@gnu.org>
443 * lisp/textmodes/flyspell.el (flyspell--prev-meta-tab-binding):
446 * configure.ac (USE_CAIRO): Rename to more standard HAVE_CAIRO.
448 * configure.ac (--with-cairo): Say it's experimental.
450 * lisp/xwidget.el (xwidget-webkit-scroll-behavior):
451 Rename using American spelling. Update all uses.
453 2016-01-26 Glenn Morris <rgm@gnu.org>
455 Yet more xwidget doc fixes.
457 * lisp/xwidget.el (xwidget-webkit-scroll-behaviour)
458 (xwidget-insert, xwidget-webkit-browse-url)
459 (xwidget-webkit-scroll-up, xwidget-webkit-scroll-down)
460 (xwidget-webkit-scroll-forward, xwidget-webkit-scroll-backward)
461 (xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
462 (xwidget-webkit-show-id-element)
463 (xwidget-webkit-show-id-or-named-element)
464 (xwidget-webkit-adjust-size, xwidget-webkit-current-url)
465 (xwidget-webkit-execute-script-rv)
466 (xwidget-webkit-copy-selection-as-kill, xwidget-get)
467 (xwidget-put): Doc fixes.
468 (xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
469 (xwidget-webkit-show-id-element)
470 (xwidget-webkit-show-id-or-named-element): Prompt fixes.
472 2016-01-25 Ted Zlatanov <tzz@lifelogs.com>
474 * lisp/gnus/gnus-art.el (gnus-blocked-images):
475 Add explicit nil choice and tags.
477 2016-01-25 Paul Eggert <eggert@cs.ucla.edu>
481 2016-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
483 (font-lock-ensure-function): Fix bug#22399
485 * lisp/font-lock.el (font-lock-ensure-function): Fix handling when
486 font-lock-mode is not enabled (bug#22399).
488 2016-01-25 Alan Mackenzie <acm@muc.de>
490 Expunge "allow" + infinitive from source and doc, part 2.
492 Do the same for "permit", "enable", "prevent", and (where appropriate)
495 doc/misc/reftex.texi:
497 lib/get-permissions.c:
499 lisp/org/org-element.el:
500 lisp/org/org-mobile.el:
501 lisp/textmodes/reftex-vars.el:
505 test/etags/c-src/emacs/src/lisp.h:
507 Expunge the likes of "This allows to do something" from the above files.
509 2016-01-25 Artur Malabarba <bruce.connor.am@gmail.com>
511 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Redundant line
513 `special-mode' is already read-only.
515 2016-01-25 Artur Malabarba <bruce.connor.am@gmail.com>
517 * lisp/emacs-lisp/ert.el (ert--results-move): Change error to user-error
519 2016-01-25 Paul Eggert <eggert@cs.ucla.edu>
521 Port "$@" to OpenIndiana ksh93
523 In http://lists.gnu.org/archive/html/bug-autoconf/2015-12/msg00000.html
524 Pavel Raiskup reports that ${1+"$@"} runs afoul of a bug in /bin/sh
525 (derived from ksh 93t+ 2010-03-05). ${1+"$@"} works around an ancient
526 bug in long-dead shells, so remove the workaround.
527 * admin/check-doc-strings, configure.ac, lib-src/rcs2log:
528 Use plain "$@" rather than ${1+"$@"}.
530 2016-01-25 Paul Eggert <eggert@cs.ucla.edu>
532 * src/xwidget.c (Fxwidget_set_adjustment): Fix doc string quoting typo.
534 2016-01-25 Paul Eggert <eggert@cs.ucla.edu>
536 Improve wording for SMB support
538 * doc/misc/tramp.texi (External methods): Improve and modernize
539 wording for discussion of smbclient. There is no longer any
540 need to mention the laundry list of old MS Windows implementations
541 of SMB and CIFS, nor to mention CIFS. Also, give a URL for Samba.
543 2016-01-24 Paul Eggert <eggert@cs.ucla.edu>
548 2016-01-24 openat_proc_name: fix last '/' overwritten on OS/2 kLIBC
549 2016-01-24 closedir, dirfd, opendir: port to OpenSolaris 5.10
550 2016-01-15 detect utimes() correctly on OS/2 kLIBC
551 2016-01-15 openat_proc_name: port to OS/2 kLIBC
552 2016-01-14 stdint: check _INTPTR_T_DECLARED for intptr_t etc.
553 2016-01-14 opendir, closedir, dirfd, fdopendir: port to OS/2 kLIBC
554 2016-01-14 dup, dup2, fcntl: support a directory fd on OS/2 kLIBC
555 2016-01-14 binary-io: don't put fd in binary mode if a console on EMX
556 2016-01-14 sig2str: list all signals on FreeBSD >= 7
557 2016-01-13 acl-permissions: port to USE_ACL==0 platforms
558 2016-01-12 mktime: rename macro to avoid glibc clash
559 2016-01-12 Port "$@" to OpenIndiana ksh93
560 2016-01-12 Port Universal Time settings to strict POSIX
561 * build-aux/gitlog-to-changelog, build-aux/update-copyright:
562 * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
563 * lib/binary-io.h, lib/dirent.in.h, lib/dirfd.c, lib/dup2.c:
564 * lib/fcntl.c, lib/fdopendir.c, lib/mktime.c, lib/openat-proc.c:
565 * lib/sig2str.h, lib/stdint.in.h, m4/dirfd.m4, m4/dup2.m4:
566 * m4/fcntl.m4, m4/utimes.m4:
568 * m4/gnulib-comp.m4: Regenerate.
570 2016-01-24 Alan Mackenzie <acm@muc.de>
572 Expunge "allow" + infinitive without direct object from source and doc.
574 Do the same for "permit", "enable", and "prevent".
576 * doc/emacs/mule.texi:
577 * doc/lispref/control.texi:
578 * doc/lispref/display.texi:
579 * doc/lispref/frames.texi:
580 * doc/lispref/functions.texi:
581 * doc/lispref/nonascii.texi:
582 * doc/lispref/streams.texi:
583 * doc/lispref/windows.texi:
584 * doc/misc/dbus.texi:
586 * doc/misc/flymake.texi:
587 * doc/misc/octave-mode.texi:
589 * doc/misc/reftex.texi:
590 * doc/misc/tramp.texi:
591 * doc/misc/wisent.texi:
593 * lisp/autorevert.el:
594 * lisp/cedet/mode-local.el:
595 * lisp/cedet/semantic/senator.el:
596 * lisp/cedet/semantic/wisent.el:
599 * lisp/gnus/gnus-agent.el:
600 * lisp/gnus/mm-util.el:
601 * lisp/international/characters.el:
602 * lisp/ldefs-boot.el:
603 * lisp/mail/mailclient.el:
605 * lisp/mh-e/mh-search.el:
606 * lisp/net/tramp-cmds.el:
607 * lisp/net/tramp-gvfs.el:
608 * lisp/org/org-crypt.el:
609 * lisp/org/org-element.el:
610 * lisp/org/org-feed.el:
612 * lisp/org/ox-ascii.el:
613 * lisp/org/ox-icalendar.el:
614 * lisp/org/ox-publish.el:
616 * lisp/play/gamegrid.el:
617 * lisp/play/gomoku.el:
618 * lisp/progmodes/antlr-mode.el:
619 * lisp/progmodes/python.el:
620 * lisp/progmodes/vhdl-mode.el:
622 * lisp/textmodes/ispell.el:
623 * lisp/tree-widget.el:
633 Replace solecisms like "This allow to do something" with a correct
634 alternative, such as "This allow you to do something", "This allows
635 something to be done" or "This allows the doing of something".
637 2016-01-24 l3thal <kwhite@gnu.org>
639 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
641 2016-01-24 Kelvin White <kwhite@gnu.org>
643 Add NEWS entry for asynchronous reconnect in ERC
645 2016-01-24 l3thal <kwhite@gnu.org>
647 Add NEWS entry for asynchronous reconnect in ERC
649 2016-01-24 Kelvin White <kwhite@gnu.org>
651 browse-url.el: Add 'google-chrome' to supported browsers.
653 2016-01-24 Paul Eggert <eggert@cs.ucla.edu>
655 Port Tramp manual to latest Texinfo
657 Otherwise, 'make pdf' did not work (Bug#22416).
658 * doc/misc/tramp.texi (xxx, yyy): Remove macros.
659 (trampfn): Specialize to the case where METHOD is nonempty.
660 The 2nd argument is now user@host, not 2nd user and 3rd host args.
664 2016-01-24 Lars Ingebrigtsen <larsi@gnus.org>
666 * eww.el (eww-render): Protect against empty content-types.
668 2016-01-24 Nicolas Petton <nicolas@petton.fr>
672 * admin/authors.el (authors-ignored-files, authors-renamed-files-alist):
675 2016-01-24 Dmitry Gutov <dgutov@yandex.ru>
677 Rename xref-query-replace to xref-query-replace-in-results
679 * lisp/progmodes/xref.el(xref-query-replace):
680 Rename to xref-query-replace-in-results.
681 (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01240.html)
683 * lisp/progmodes/xref.el (xref--xref-buffer-mode-map):
684 * lisp/dired-aux.el (dired-do-find-regexp-and-replace):
685 * doc/emacs/dired.texi (Operating on Files):
686 * doc/emacs/maintaining.texi (Xref Commands)
687 (Identifier Search, Identifier Search): Update accordingly.
689 2016-01-24 Dmitry Gutov <dgutov@yandex.ru>
691 Update cl-defgeneric and cl-defmethod docstrings
693 * lisp/emacs-lisp/cl-generic.el: Remove outdated TODO item.
694 (cl-defgeneric): Rename BODY to DEFAULT-BODY.
695 (cl-defmethod): Mention that multiple dispatch arguments are
696 allowed. Document supported types. (Bug#22336)
698 2016-01-23 Dmitry Gutov <dgutov@yandex.ru>
700 Comment out next-error-function integration in xref
702 * lisp/progmodes/xref.el (xref--xref-buffer-mode):
703 Comment out next-error-function integration
704 (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01286.html).
706 2016-01-23 John Wiegley <johnw@newartisans.com>
708 Correct a use of "which" in intro.texi
710 2016-01-23 Alan Mackenzie <acm@muc.de>
712 Distinguish the two meanings of Java's keyword "default". Fixes bug #22358.
714 * lisp/progmodes/cc-engine.el (c-guess-basic-syntax CASE 14): Check the
715 context of case labels (including "default") more rigorously.
716 (c-guess-basic-syntax CASE 15): Consequential amendment.
718 * lisp/progmodes/cc-langs.el (c-modifier-kwds): Add "default" to Java's value.
720 2016-01-23 Oscar Fuentes <ofv@wanadoo.es>
722 Don't operate on menu bar of nonexistent frame
724 * src/xfns.c (Fx_hide_tip) [USE_LUCID]: Check that the current frame
725 is valid before redisplaying its menu. Fixes bug#22438.
727 2016-01-23 Anders Lindgren <andlind@gmail.com>
729 Unbreak the GNUstep build.
731 * src/nsterm.m ([EmacsBell init]): In GNUstep, don't use the
732 predefined "caution" image. Add trace.
733 (x_set_window_size): Remove unused variables `cols' and `rows'.
734 (ns_draw_fringe_bitmap): Exclude assignment of `fromRect' when
736 ([EmacsView updateFrameSize:]): Remove unused variable `win'.
737 ([EmacsWindow zoom:]): Remove unused variable `f'.
739 2016-01-23 Eli Zaretskii <eliz@gnu.org>
740 John Wiegley <johnw@gnu.org>
741 Michael Heerdegen <michael_heerdegen@web.de>
743 Improve documentation of 'pcase'
745 * doc/lispref/control.texi (Pattern matching case statement):
746 Reorganize, expand, and improve wording.
748 * etc/NEWS: Mention that 'pcase' changes are documented.
750 2016-01-23 Paul Eggert <eggert@cs.ucla.edu>
752 * etc/NEWS: Say that Cairo is experimental.
754 2016-01-23 Paul Eggert <eggert@cs.ucla.edu>
756 Report error for PNG under Cairo
758 * src/image.c (lookup_rgb_color): Signal a file error instead
759 of dumping core when mishandling an image.
761 2016-01-23 Arash Esbati <esbati@gmx.de>
763 Delete a spurious backquote (tiny change)
765 * lisp/textmodes/reftex-ref.el (reftex-label): Delete a
766 spurious backquote which raises an error with emacs 25.
768 2016-01-23 Paul Eggert <eggert@cs.ucla.edu>
770 Pacify --enable-gcc-warnings --with-cairo
772 Problem reported by Alexander Kuleshov in:
773 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01289.html
774 * src/gtkutil.c (xg_get_page_setup):
775 Use switch rather than if-then-else.
776 * src/image.c (COLOR_TABLE_SUPPORT):
777 Define directly rather than via #define and optional later #undef.
778 (lookup_rgb_color) [USE_CAIRO && ENABLE_CHECKING]:
779 Crash when the pixel is undefined, as there is a genuine bug
781 * src/image.c (tiff_load, gif_load, svg_load_image)
782 (x_kill_gs_process) [USE_CAIRO]:
783 * src/xterm.c (x_draw_fringe_bitmap) [USE_CAIRO]:
784 Omit unused locals, or move them to where they’re needed.
785 (x_clear_area1): Now ATTRIBUTE_UNUSED.
787 2016-01-23 Eli Zaretskii <eliz@gnu.org>
789 Update documentation for Dired search and replace
791 * doc/emacs/dired.texi (Operating on Files): Update descriptions
792 of 'A' and 'Q' now bound to 'dired-do-find-regexp' and
793 'dired-do-find-regexp-and-replace'.
795 * etc/NEWS: Mention xref-related changes in Dired.
797 2016-01-23 Paul Eggert <eggert@cs.ucla.edu>
799 Port recent xdisp.c fix to picky C compilers
801 * src/xdisp.c (dump_glyph): Redo the call to fprintf to avoid
802 putting #if inside the arguments to a standard function, which
803 the C standard says has undefined behavior.
805 2016-01-22 Alan Mackenzie <acm@muc.de>
807 Prevent spurious recognition of K&R argument declarations. Fixes bug #2203
809 * lisp/progmodes/cc-engine.el (c-forward-declarator): New function.
810 (c-in-knr-argdecl): Before recognizing a K&R argument declaration, check it is
811 contained in the preceding arg list.
813 * lisp/progmodes/cc-fonts.el (c-font-lock-declarators): Use the new function
814 `c-forward-declarator' in place of inline code.
816 2016-01-22 Eli Zaretskii <eliz@gnu.org>
818 Fix the build with --enable-checking=glyphs
820 * src/xdisp.c (dump_glyph): Don't refer to glyph->u.xwidget in a
821 build without xwidget support.
823 2016-01-22 Eli Zaretskii <eliz@gnu.org>
825 Document cl-generic.el
827 * doc/lispref/functions.texi (Generic Functions): New section.
829 (Functions): Update the chapter menu.
830 * doc/lispref/elisp.texi: Update the master menu.
832 2016-01-22 Paul Eggert <eggert@cs.ucla.edu>
834 xwidgets style cleanup
836 Adjust the newly-added Xwidgets code so that it uses a more-typical
837 Emacs style. This should not affect behavior, except that in
838 a few places it adds runtime checks that Lisp arguments are of
839 the proper type, and in one place it uses more-precise arithmetic.
840 * src/buffer.c, src/dispnew.c, src/emacs.c, src/emacsgtkfixed.c:
841 * src/emacs.c, src/print.c, src/window.c, src/xdisp.c, src/xterm.c:
842 Include xwidget.h unconditionally.
843 * src/buffer.c (Fkill_buffer):
844 * src/dispnew.c (update_window):
845 * src/emacs.c (main):
846 * src/print.c (print_object):
847 * src/window.c (Fdelete_window_internal):
848 * src/xdisp.c (handle_single_display_spec, push_it, pop_it)
849 (get_next_element, set_iterator_to_next, next_element_from_xwidget)
850 (dump_glyph, calc_pixel_width_or_height, BUILD_GLYPH_STRINGS_XW)
851 (BUILD_GLYPH_STRINGS, x_produce_glyphs, get_window_cursor_type):
852 * src/xterm.c (x_draw_glyph_string, x_draw_bar_cursor):
853 Call xwidget functions and macros without worrying about
854 HAVE_XWIDGETS when the code is a no-op on non-xwidget
856 * src/dispextern.h (XWIDGET_GLYPH, struct glyph_string.xwidget)
857 (IT_XWIDGET, GET_FROM_XWIDGET, struct it.u.xwidget)
859 * src/lisp.h (PVEC_XWIDGET, PVEC_XWIDGET_VIEW):
861 * src/emacsgtkfixed.h: Omit unnecessary comment.
862 * src/keyboard.c: Fix spacing.
863 * src/xdisp.c (BUILD_XWIDGET_GLYPH_STRING, produce_xwidget_glyph):
864 Define to be a no-op if not HAVE_XWIDGETS.
865 * src/xwidget.c: Include xwidget.h first (after config.h)
866 to make sure that it can stand by itself.
867 (Fmake_xwidget, Fxwidget_webkit_execute_script):
868 Fix typo in doc string.
869 (Fmake_xwidget): Check type of args.
870 (Fmake_xwidget, offscreen_damage_event)
871 (webkit_document_load_finished_cb, webkit_download_cb)
872 (webkit_new_window_policy_decision_requested_cb)
873 (webkit_navigation_policy_decision_requested_cb)
874 (xwidget_osr_draw_cb, xwidget_osr_event_forward)
875 (xwidget_osr_event_set_embedder, xwidget_init_view):
876 Omit unnecessary casts.
877 * src/xwidget.c (Fmake_xwidget, xwidget_hidden)
878 (xwidget_show_view, xwidget_hide_view)
879 (x_draw_xwidget_glyph_string, xwidget_start_redisplay, xwidget_touch)
881 * src/xwidget.h (struct xwidget.kill_without_query)
882 (struct xwidget_view.redisplayed, struct xwidget_view.hidden):
883 Use bool for boolean.
884 * src/xwidget.c (store_xwidget_event_string, Fxwidget_size_request):
885 Simplify by using list functions.
886 (WEBKIT_FN_INIT): Omit unnecessary test for nil.
887 (Fxwidget_resize): Check type of integer args
888 before doing any work. Check that they are nonnegative.
889 (Fxwidget_set_adjustment): Check type of integer arg.
890 Avoid redundant call to gtk_scrolled_window_get_vadjustment.
891 Simplify. Use double, not float.
892 (Fxwidget_info, Fxwidget_view_info): Simplify by using CALLN.
893 (valid_xwidget_spec_p): Simplify.
894 (xwidget_spec_value): Omit unused arg FOUND. All callers changed.
895 * src/xwidget.h: Include lisp.h first, so that includers do
896 not need to worry about doing that before including this file.
897 Make this .h file safe to include even on non-HAVE_XWIDGETS
898 configurations, to simplify the includers.
899 (x_draw_xwidget_glyph_string, syms_of_xwidget, valid_xwidget_spec_p)
900 (xwidget_end_redisplay, lookup_xwidget)
901 (xwidget_view_delete_all_in_window, kill_buffer_xwidgets):
902 Now a no-op if !HAVE_XWIDGETS, to simplify callers.
903 (struct glyph_matrix, struct glyph_string, struct xwidget)
904 (struct xwidget_view, struct window):
905 New forward or incomplete decls, so that includers need not
906 assume the corresponding .h files are already included, or that
907 HAVE_XWIDGETS is defined.
908 (struct xwidget_type, xwidget_from_id): Remove; unused.
910 2016-01-22 Michael Albinus <michael.albinus@gmx.de>
912 Backport kqueue integration from master
914 * configure.ac (--with-file-notification): Add kqueue.
915 (top): Remove special test for "${HAVE_NS}" and
916 ${with_file_notification}, this is handled inside gfilenotify
917 tests. Add kqueue tests. Use NOTIFY_CFLAGS and NOTIFY_LIBS
918 instead of library specific variables. Add error message for
921 * doc/lispref/os.texi (File Notifications): Add kqueue as backend.
922 Fix some glitches in the example.
924 * etc/NEWS: Mention kqueue.
926 * lisp/filenotify.el (file-notify--library)
927 (file-notify-descriptors, file-notify-callback)
928 (file-notify-add-watch, file-notify-rm-watch)
929 (file-notify-valid-p): Add kqueue support.
930 (file-notify--rm-descriptor): Remove WHAT arg.
932 * src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS.
934 * src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue.
936 * src/inotify.c (inotifyevent_to_event): Extract file name from
937 watch_object if the event doesn't provide it.
938 (Finotify_add_watch): Add file name to watch_object.
940 * src/keyboard.c (make_lispy_event): Check also for HAVE_KQUEUE.
942 * src/kqueue.c: New file.
944 * src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.
946 * test/automated/file-notify-tests.el
947 (file-notify--test-expected-events): Remove.
948 (file-notify--test-cleanup): Do not set that variable.
949 (file-notify--test-timeout) Use different timeouts for
951 (file-notify--test-library): New defun.
952 (file-notify--test-event-test): Make stronger checks.
953 (file-notify--test-with-events): EVENTS can also be a list of
954 lists. Flush outstanding events before running the body.
955 Make timeout heuristically depend on the number of events.
956 (file-notify-test01-add-watch, file-notify-test02-events)
957 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
958 Rewrite in order to call file monitors but directory monitors.
959 (file-notify-test02-events, file-notify-test04-file-validity): Do
960 not skip cygwin tests. Add additional test for file creation.
961 Adapt expected result for different backends.
962 (file-notify-test03-autorevert): Some of the tests don't work for
964 (file-notify-test06-many-events): New test.
966 2016-01-22 John Wiegley <johnw@newartisans.com>
968 Further corrections to the pcase docstring
970 2016-01-22 Eli Zaretskii <eliz@gnu.org>
972 * doc/emacs/anti.texi (Antinews): Rewrite for Emacs 25.
974 2016-01-22 Stephen Leake <stephen_leake@stephe-leake.org>
976 In xref-collect-references, force backends to respect the 'dir' arg
978 * lisp/progmodes/xref.el (xref-collect-references): Force symref backends
979 to use `default-directory'.
981 2016-01-22 John Wiegley <johnw@newartisans.com>
983 Minor correction to pcase docstring
985 2016-01-22 John Wiegley <johnw@newartisans.com>
987 Write a new docstring for the pcase macro
989 * lisp/emacs-lisp/pcase.el (pcase): Write a new docstring.
991 2016-01-21 Stephen Berman <stephen.berman@gmx.net>
993 Avoid byte-compiler warning in todo-mode (bug#21953)
995 * lisp/calendar/todo-mode.el (todo-convert-legacy-files): Add limit argument
996 to looking-back to comply with advertised-calling-convention.
998 2016-01-21 Stephen Berman <stephen.berman@gmx.net>
1000 Fix desktop support in todo-mode and doc-view (bug#22377)
1002 * lisp/calendar/todo-mode.el (todo-restore-desktop-buffer):
1003 * lisp/doc-view.el (doc-view-restore-desktop-buffer): Return current buffer.
1005 * lisp/calendar/todo-mode.el (todo-modes-set-2):
1006 * lisp/doc-view.el (doc-view-mode): Set desktop-save-buffer unconditionally.
1008 2016-01-21 Paul Eggert <eggert@cs.ucla.edu>
1010 No need to configure gobject-introspection
1012 It wasn’t needed for the recently-installed xwidget_mvp code; see:
1013 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01154.html
1014 * configure.ac (DOES_XWIDGETS_USE_GIR, GIR_REQUIRED, GIR_MODULES):
1016 * src/Makefile.in (GIR_LIBS, GIR_CFLAGS):
1017 Remove. All uses removed.
1018 * configure.ac (emacs_config_features): Don’t worry about GIR.
1020 2016-01-20 Paul Eggert <eggert@cs.ucla.edu>
1022 Don’t export C symbols not used elsewhere
1024 These were recently added, mostly as part of xwidget code.
1025 * src/emacsgtkfixed.c (emacs_fixed_get_type): Now static.
1026 (EMACS_FIXED, EMACS_FIXED_GET_CLASS):
1027 Now static functions here, not macros in emacsgtkfixed.h.
1028 * src/emacsgtkfixed.h (EMACS_TYPE_FIXED):
1029 Remove. All uses replaced by definiens.
1030 (EMACS_FIXED, EMACS_FIXED_GET_CLASS):
1031 Remove; these are now static functions in emacsgtkfixed.c.
1032 (EMACS_FIXED_CLASS, EMACS_IS_FIXED, EMACS_IS_FIXED_CLASS):
1034 (emacs_fixed_get_type): Remove decl; no longer extern.
1035 * src/xwidget.c (offscreen_damage_event)
1036 (webkit_mime_type_policy_typedecision_requested_cb)
1037 (webkit_new_window_policy_decision_requested_cb)
1038 (webkit_navigation_policy_decision_requested_cb)
1039 (xwidget_spec_value, xwidget_view_lookup)
1040 (xwidget_start_redisplay, xwidget_touch):
1042 * src/xwidget.h (xwidget_start_redisplay, xwidget_touch):
1045 2016-01-20 Dmitry Gutov <dgutov@yandex.ru>
1047 Support squiggly heredocs in ruby-mode
1049 * lisp/progmodes/ruby-mode.el (ruby-here-doc-beg-re):
1050 Support squiggly heredocs added in Ruby 2.3.
1052 * test/indent/ruby.rb: Add squiggly example.
1054 2016-01-20 Glenn Morris <rgm@gnu.org>
1056 * configure.ac (emacs_config_features): Remove WEBKIT.
1058 2016-01-20 Paul Eggert <eggert@cs.ucla.edu>
1060 Port to platforms with gtk3 but not webkitgtk3
1062 I ran into this problem on my Fedora 23 installation;
1063 Emacs configured but did not build when --with-xwidgets was specified.
1064 * configure.ac (HAVE_WEBKIT, HAVE_GIR): Omit unnecessary initializations.
1065 (DOES_XWIDGETS_USE_GIR): New var.
1066 If --with-xwidgets is specified, report an error if not
1067 doable, to be consistent with the other --with options.
1068 Require webkitgtk3 to use Xwidgets, as the Xwidgets code does
1069 not work at all without webkitgtk3. Simplify use of
1070 EMACS_CHECK_MODULES. Output message about gobject
1071 introspection only if xwidgets are used.
1072 * etc/NEWS: Users need webkitgtk3, not merely webkit.
1073 * src/xwidget.c (syms_of_xwidget): Don’t worry about HAVE_WEBKIT_OSR,
1074 since this file is no longer compiled if webkitgtk3 is not available.
1076 2016-01-20 Eli Zaretskii <eliz@gnu.org>
1078 Fix doc string of 'isearch-search-fun-function'
1080 * lisp/isearch.el (isearch-search-fun-function)
1081 (isearch-search-string): Doc fixes. (Bug#22411)
1083 2016-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1085 * lisp/xwidget.el: Nitpicks
1087 * lisp/xwidget.el (xwidget-log, xwidget-webkit-callback):
1088 Use with-current-buffer rather than save-excursion + set-buffer.
1090 2016-01-20 Glenn Morris <rgm@gnu.org>
1092 Don't hard-code 1 as point-min.
1094 * lisp/image-mode.el (image-display-size):
1095 * lisp/xwidget.el (xwidget-webkit-last-session)
1096 (xwidget-webkit-current-session): Don't hard-code 1 as point-min.
1098 2016-01-20 Glenn Morris <rgm@gnu.org>
1100 * lisp/xwidget.el: Add declarations to silence non-xwidget compilation.
1102 2016-01-20 Glenn Morris <rgm@gnu.org>
1104 Trivial doc copyedits.
1106 * src/xwidget.c (Fmake_xwidget, Fget_buffer_xwidgets)
1107 (Fxwidget_webkit_get_title, Fxwidget_resize)
1108 (Fxwidget_set_adjustment, Fxwidgetp, Fxwidget_view_p)
1109 (Fxwidget_info, Fxwidget_view_lookup)
1110 (Fset_xwidget_query_on_exit_flag): Trivial doc copyedits.
1112 2016-01-20 Glenn Morris <rgm@gnu.org>
1114 Avoid advising image-display-size for xwidgets.
1116 * lisp/xwidget.el (xwidget-image-display-size): Remove.
1117 (image-display-size): Remove advice.
1118 * lisp/image-mode.el (xwidget-info, xwidget-at): Declare.
1119 (image-display-size): Incorporate xwidget code directly.
1121 2016-01-20 Glenn Morris <rgm@gnu.org>
1123 Avoid breaking non-xwidget Emacs that happen to load xwidget.el.
1125 * lisp/xwidget.el (window-configuration-change-hook)
1126 (kill-buffer-query-functions): Only modify these hooks if
1127 compiled with xwidget support.
1129 2016-01-20 Glenn Morris <rgm@gnu.org>
1131 * lisp/xwidget.el (xwidget-webkit-scroll-behaviour): Fix custom spec.
1133 2016-01-19 Glenn Morris <rgm@gnu.org>
1135 * configure.ac (WEBKIT, GIR, CAIRO): Use EMACS_CHECK_MODULES, not PKG_.
1137 * configure.ac (emacs_config_features): Add XWIDGETS, WEBKIT, GIR.
1139 * configure.ac (HAVE_WEBKIT_OSR): Remove broken, duplicated gtk3 test.
1141 2016-01-19 Katsumi Yamaoka <yamaoka@jpl.org>
1143 * lisp/gnus/nnir.el (nnir-request-update-mark):
1144 Default to the original mark.
1145 cf. <http://thread.gmane.org/gmane.emacs.gnus.general/86583>
1146 and <http://thread.gmane.org/gmane.emacs.gnus.general/86640>
1148 2016-01-19 Glenn Morris <rgm@gnu.org>
1150 * lisp/xwidget.el (report-xwidget-bug): Remove.
1152 (top-level): No longer require reporter.
1154 2016-01-19 Joakim Verona <joakim@verona.se>
1155 Grégoire Jadi <daimrod@gmail.com>
1157 Support for the new Xwidget feature.
1160 (HAVE_XWIDGETS, WIDGET_OBJ, EMACS_CONFIG_FEATURES):
1161 * src/xterm.c (x_draw_glyph_string, x_draw_bar_cursor):
1163 (handle_display_spec, handle_single_display_spec, push_it)
1164 (pop_it, set_iterator_to_next, dump_glyph)
1165 (calc_pixel_width_or_height, fill_xwidget_glyph_string)
1166 (BUILD_XWIDGET_GLYPH_STRING, BUILD_GLYPH_STRINGS)
1167 (produce_xwidget_glyph, x_produce_glyphs)
1168 (get_window_cursor_type):
1169 * src/window.c (Fdelete_window_internal):
1170 * src/termhooks.h (e):
1171 * src/print.c (print_object):
1172 * src/lisp.h (ptrdiff_t):
1173 * src/keyboard.c (kbd_buffer_get_event, make_lispy_event)
1175 * src/emacs.c (main):
1176 * src/dispnew.c (update_window, scrolling_window):
1177 * src/dispextern.h (g, i):
1178 * Makefile.in (XWIDGETS_OBJ, WEBKIT_CFLAGS, WEBKIT_LIBS)
1179 (GIR_LIBS, ALL_CFLAGS, base_obj, LIBES):
1180 * src/keyboard.c (kbd_buffer_get_event):
1181 * src/emacsgtkfixed.c (emacs_fixed_gtk_widget_size_allocate)
1182 (emacs_fixed_class_init): Add case for an xwidget view.
1184 * src/xwidget.c, src/xwidget.h, lisp/xwidget.el: New files for xwidgets
1187 Various improvements to the Xwidget feature.
1189 * src/emacsgtkfixed.c:
1192 2016-01-19 Eli Zaretskii <eliz@gnu.org>
1194 Improve documentation of 'alist-get'
1196 * doc/lispref/variables.texi (Setting Generalized Variables): Add
1197 'alist-get' to the list of functions that can appear in PLACE
1200 2016-01-19 Eli Zaretskii <eliz@gnu.org>
1202 Minor copyedits of doc/emacs/maintaining.texi
1204 * doc/emacs/maintaining.texi (List Identifiers): More accurate
1205 description of "C-M-i" wrt tags tables.
1206 (Tags Tables): Move the definition of "tag" to a footnote.
1208 2016-01-19 Eli Zaretskii <eliz@gnu.org>
1210 Unbreak the Cygwin-w32 build
1212 * src/w32fns.c (globals_of_w32fns): Move the initialization of
1213 resetstkoflw into a part that isn't compiled on Cygwin.
1216 2016-01-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1218 * shr.el (shr-table-body): Allow tables to have text children.
1220 2016-01-19 Phillip Lord <phillip.lord@russet.org.uk>
1222 Cope with multiple overlapping faces.
1224 * lisp/htmlfontify.el (hfy-face-to-style-i): Treat inheritance right to
1226 (hfy-face-resolve-face): Handle font specification as well as font
1227 name. Documentation update. (Bug#21990)
1229 2016-01-19 Paul Eggert <eggert@cs.ucla.edu>
1231 Fix spurious escapes in describe-input-method
1233 Problem reported by Vincent Belaïche (Bug#22309).
1234 * lisp/international/mule-cmds.el (describe-language-environment):
1235 * lisp/international/quail.el (quail-help):
1236 Apply substitute-command-keys to doc strings before displaying them.
1238 2016-01-19 Paul Eggert <eggert@cs.ucla.edu>
1240 Minor improvements to (random t) documentation
1242 * doc/lispref/numbers.texi (Random Numbers):
1243 * src/fns.c (Frandom):
1244 Omit unnecessary details about randomness fallback.
1245 Say that it is a fallback.
1247 2016-01-19 Dmitry Gutov <dgutov@yandex.ru>
1249 Rename methods in Ruby etags example file
1251 * test/etags/ruby-src/test.rb: Rename the example methods to
1252 correspond to the common terminology used in Ruby.
1253 * test/etags/CTAGS.good:
1254 * test/etags/ETAGS.good_1:
1255 * test/etags/ETAGS.good_2:
1256 * test/etags/ETAGS.good_3:
1257 * test/etags/ETAGS.good_4:
1258 * test/etags/ETAGS.good_5:
1259 * test/etags/ETAGS.good_6: Adjust accordingly.
1261 2016-01-19 Dmitry Gutov <dgutov@yandex.ru>
1263 Propertize backtick in 'def `(abc)' as symbol constituent
1265 * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
1266 Propertize backtick in 'def `(abc)' as symbol constituent.
1267 (ruby-syntax-propertize-function):
1268 Rename to ruby-syntax-propertize.
1270 2016-01-18 Eli Zaretskii <eliz@gnu.org>
1272 Fix scrolling under scroll-preserve-screen-position on TTY
1274 * src/window.c (window_scroll_line_based): When setting point to
1275 preserve screen coordinates, don't let cursor enter either of the
1276 two scroll margins. (Bug#22395)
1278 2016-01-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1280 Fix shr table rendering of nested tables
1282 * shr.el (shr-table-body): Don't include all tbodies in nested
1283 tables in the levels above.
1285 2016-01-18 Dmitry Gutov <dgutov@yandex.ru>
1287 * lisp/progmodes/project.el (project--read-regexp): Quote the identifier.
1289 2016-01-18 Dmitry Gutov <dgutov@yandex.ru>
1291 Add xref-based replacements for Dired search commands
1293 * lisp/dired-aux.el (dired-do-find-regexp)
1294 (dired-do-find-regexp-and-replace): New commands.
1295 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00864.html
1297 * lisp/dired.el (dired-mode-map): Change bindings for `A' and
1298 `Q' to the new commands.
1300 * lisp/progmodes/xref.el (xref-query-replace)
1301 (xref-collect-matches): Add progress reporters.
1302 (xref--find-ignores-arguments): Return nil for zero ignores.
1303 (xref--show-xrefs): Add an optional argument.
1304 (xref-collect-matches): Drop the assert. 'find' accepts a
1305 regular file in place of directory argument, too.
1307 2016-01-18 Alan Mackenzie <acm@muc.de>
1309 * doc/lispref/frames.texi (Position Parameters): Say they don't exist on TTYs.
1311 2016-01-18 Eli Zaretskii <eliz@gnu.org>
1313 Improve user documentation of Xref
1315 * doc/emacs/maintaining.texi (Xref, Find Identifiers)
1316 (Looking Up Identifiers, Identifier Search, List Identifiers):
1317 Adjudicate comments by Dmitry Gutov <dgutov@yandex.ru>. See
1318 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00650.html
1321 2016-01-18 Eli Zaretskii <eliz@gnu.org>
1323 Fix scrolling under scroll-preserve-screen-position and margins
1325 * src/window.c (window_scroll_pixel_based): When setting point to
1326 preserve screen coordinates, don't let cursor enter either of the
1327 two scroll margins. Fix incorrect usage of
1328 WINDOW_WANTS_HEADER_LINE_P and use WINDOW_HEADER_LINE_HEIGHT
1329 instead of CURRENT_HEADER_LINE_HEIGHT. (Bug#22395)
1331 2016-01-18 Eli Zaretskii <eliz@gnu.org>
1333 Unbreak the MS-Windows build
1335 * src/sysdep.c (emacs_gnutls_global_init, gnutls_rnd): Disable for
1336 WINDOWSNT, to avoid link failure. (Bug#22202)
1338 2016-01-18 Alan Mackenzie <acm@muc.de>
1340 Desktop: protect users against inadvertant upgrading of desktop file.
1342 An upgraded (version 208) desktop file cannot be read in Emacs < 25.
1344 * etc/NEWS: Add an entry about upgrading a desktop file.
1346 * lisp/desktop.el (desktop-file-version): Amend doc string.
1347 (desktop-native-file-version, desktop-io-file-version): new variables.
1348 (desktop-clear): Set desktop-io-file-version to nil.
1349 (desktop-buffer-info): make the presence of the last item on the list
1350 conditional on (>= desktop-io-file-version 208).
1351 (desktop-save): Add extra parameter VERSION to take user's C-u or C-u C-u.
1352 Amend the doc string. Add code to determine the output file version.
1353 (desktop-create-buffer): Set desktop-io-file-version to the input file's
1356 2016-01-18 Paul Eggert <eggert@cs.ucla.edu>
1358 Initialize GnuTLS before calling gnutls_rnd
1360 * src/gnutls.c (emacs_gnutls_global_init): Now extern.
1361 Don’t set gnutls_global_initialized if gnutls_global_init fails.
1362 * src/sysdep.c: Include "gnutls.h", and <gnutls/crypto.h>
1363 if 2.12 or later, which has gnutls_rnd.
1364 (emacs_gnutls_global_init, gnutls_rnd): New fallback
1365 placeholder macros if before 2.12.
1366 (init_random): Initialize gnutls globals before trying to
1369 2016-01-18 Andreas Schwab <schwab@linux-m68k.org>
1371 Don't use GnuTLS before it is initialized
1373 * src/sysdep.c (init_random): Don't use gnutls_rnd.
1375 2016-01-17 Paul Eggert <eggert@cs.ucla.edu>
1377 Port cleanup attribute to OpenBSD
1379 The OpenBSD C compiler issues false alarms about strcpy, strcat, and
1380 sprintf, and this messes up 'configure' when it tests for the cleanup
1381 attribute. Work around the problem by using __has_attribute directly.
1382 Problem reported by Joakim Jalap (Bug#22385).
1383 * configure.ac: Don’t use AX_GCC_VAR_ATTRIBUTE.
1384 * m4/ax_gcc_var_attribute.m4: Remove.
1385 * src/conf_post.h (__has_attribute): Provide a substitute, for
1386 non-GCC or older GCC compilers. All uses changed to assume
1387 the substitute. Check for the cleanup attribute.
1388 * src/emacs-module.c (module_has_cleanup): Just use __has_attribute.
1390 2016-01-17 Paul Eggert <eggert@cs.ucla.edu>
1392 Prefer GnuTLS when acquiring random seed
1394 This attempts to improve on the fix for Bug#22202.
1395 * configure.ac (HAVE_DEV_URANDOM): Remove.
1396 Check /dev/urandom existence at run time, not at build time,
1397 since the device could exist in the former but not the latter.
1398 * src/sysdep.c [HAVE_GNUTLS]: Include gnutls/gnutls.h.
1399 (gnutls_rnd) [GNUTLS_VERSION_NUMBER < 0x020c00]: New fallback macro.
1400 (random_seed): New typedef.
1401 (set_random_seed): New static function.
1402 (seed_random): Use them.
1403 (init_random): Use random_seed instead of uintmax_t, so as to
1404 not consume more entropy than needed. Prefer gnutls_rnd if it
1405 works; this avoids a redundant open of /dev/urandom on
1406 GNU/Linux with modern GnuTLS.
1408 2016-01-16 Eli Zaretskii <eliz@gnu.org>
1410 Improve documentation of dynamic modules
1412 * doc/lispref/loading.texi (How Programs Do Loading): Update the
1413 description of searching for files in 'load' when Emacs was built
1414 with support for dynamic modules.
1416 2016-01-16 Eli Zaretskii <eliz@gnu.org>
1418 * INSTALL: Document --with-modules.
1420 2016-01-16 Eli Zaretskii <eliz@gnu.org>
1422 Document 'function-put'
1424 * doc/lispref/symbols.texi (Symbol Plists): Document
1425 'function-put'. Update documentation of 'function-get'.
1427 2016-01-16 Eli Zaretskii <eliz@gnu.org>
1429 Document 'funcall-interactively'
1431 * doc/lispref/commands.texi (Interactive Call): Document
1432 'funcall-interactively'.
1433 * doc/lispref/functions.texi (Calling Functions): Mention
1434 'funcall-interactively' and provide a cross-reference.
1436 2016-01-16 Eli Zaretskii <eliz@gnu.org>
1438 * doc/lispref/lists.texi (Association Lists): Document 'alist-get'.
1440 * doc/lispref/strings.texi (Text Comparison): Document 'string-greaterp'.
1442 2016-01-16 Eli Zaretskii <eliz@gnu.org>
1444 Document renaming of selection-related functions
1446 * doc/lispref/frames.texi (Window System Selections): Rename "x-*"
1447 functions into the corresponding "gui-*" functions. Make the
1448 description slightly less X-centric.
1450 2016-01-16 Eli Zaretskii <eliz@gnu.org>
1452 * doc/lispref/macros.texi (Expansion): Document 'macroexpand-1'.
1454 2016-01-16 Eli Zaretskii <eliz@gnu.org>
1456 Document 'define-inline'
1458 * doc/lispref/functions.texi (Defining Functions): Document
1459 'define-inline' and related macros.
1461 * lisp/emacs-lisp/inline.el (inline-letevals): Doc fix.
1463 2016-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
1465 * lisp/files.el (dir-locals--all-files): Respect absolute file-names
1467 * lisp/help-fns.el (describe-variable): Fix a left-over parenthesis
1469 2016-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
1471 * lisp/dired-x.el (dired-omit-here-always): Use add-dir-local-variable
1473 instead of manually writing a dir-locals file.
1475 2016-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
1477 * lisp/files.el (dir-locals--all-files): Use completion instead of wildcards
1480 * lisp/files-x.el (modify-dir-local-variable)
1481 * lisp/dos-fns.el (dosified-file-name)
1482 * lisp/help-fns.el (describe-variable): Change accordingly.
1484 2016-01-16 Jussi Lahdenniemi <jussi@aprikoodi.fi> (tiny change)
1486 Fix incompatbilities with MS-Windows 2000 and older
1488 * src/w32.c <multiByteToWideCharFlags>: New global variable.
1489 (filename_to_utf16, filename_from_ansi, check_windows_init_file):
1490 Use it instead of the literal MB_ERR_INVALID_CHARS.
1491 (maybe_load_unicows_dll): Initialize multiByteToWideCharFlags as
1492 appropriate for the underlying OS version. For details, see
1493 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00835.html.
1494 * src/w32.h: Declare multiByteToWideCharFlags.
1495 * src/w32fns.c (Fx_file_dialog, Fw32_shell_execute)
1496 (add_tray_notification): Use multiByteToWideCharFlags instead of
1497 the literal MB_ERR_INVALID_CHARS.
1498 (_resetstkoflw_proc): New typedef.
1499 (w32_reset_stack_overflow_guard): Call _resetstkoflw via a
1500 pointer, as this function is absent in msvcrt.dll shipped with W2K
1503 2016-01-16 Eli Zaretskii <eliz@gnu.org>
1505 Mention in PROBLEMS an issue with MS-Windows NT4
1507 * etc/PROBLEMS (MS-Windows): Mention the problem with Shell32.dll
1508 on Windows NT4. For the details, see
1509 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00835.html.
1511 2016-01-16 Jussi Lahdenniemi <jussi@aprikoodi.fi> (tiny change)
1513 Ensure 8-byte aligned memory allocation on MS-Windows 9X
1515 * src/w32heap.c (init_heap): Redirect malloc, realloc, and free to
1516 special functions on Windows 9X. Refuse to dump Emacs on Windows 9X.
1517 (malloc_after_dump_9x, realloc_after_dump_9x)
1518 (free_after_dump_9x): New functions. (Bug#22379) See also
1519 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00852.html
1520 for more details about the original problem.
1522 * nt/inc/ms-w32.h (malloc_after_dump_9x, realloc_after_dump_9x)
1523 (free_after_dump_9x): Add prototypes.
1525 2016-01-16 Eli Zaretskii <eliz@gnu.org>
1527 Fix tests for active region in hideif.el
1529 * lisp/progmodes/hideif.el (hif-evaluate-macro, hide-ifdef-block): Use
1530 'use-region-p' to test whether to operate on region, instead of
1531 testing 'mark-active'.
1533 2016-01-16 Eli Zaretskii <eliz@gnu.org>
1535 Fix interactive specs in some hideif.el commands
1537 * lisp/progmodes/hideif.el (hif-evaluate-macro)
1538 (hide-ifdef-undef, show-ifdef-block): Don't use '(interactive "r")'
1539 in commands that should only act on the region if it's active.
1541 2016-01-15 Phillip Lord <phillip.lord@russet.org.uk>
1543 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
1545 2016-01-15 Phillip Lord <phillip.lord@russet.org.uk>
1547 Enable test selector from command line
1549 * test/automated/Makefile.in: Change variable manipulation to avoid
1550 over-writing selector.
1552 2016-01-15 Alan Mackenzie <acm@muc.de>
1554 Don't confuse "::" with ":" when trying to parse member initializers.
1556 * lisp/progmodes/cc-engine.el (c-back-over-member-initializers): Check
1557 more robustly for ":" token when searching backwards for it.
1559 * lisp/progmodes/cc-langs.el (c-:$-multichar-token-regexp): New language
1562 2016-01-15 Eli Zaretskii <eliz@gnu.org>
1564 Ensure positive number of glyphs for margins of positive width
1566 * src/dispnew.c (margin_glyphs_to_reserve): Always return a
1567 positive value when a non-zero width of the marginal area was
1568 requested. (Bug#22356)
1570 2016-01-15 Eli Zaretskii <eliz@gnu.org>
1572 Fix crashes when mini-window has non-zero margins
1574 * src/window.c (resize_frame_windows): Use 'new_size' to set
1575 minibuffer window's 'total_cols' value, as 'size' might be in
1578 2016-01-15 Alan Mackenzie <acm@muc.de>
1580 In comment-dwim with style `extra-line', respect indent-tabs-mode.
1582 This fixes bug #22369.
1584 * lisp/newcomment.el (comment-make-bol-ws): New function.
1585 (comment-make-extra-lines): Use new function instead of a crude `make-string'.
1587 2016-01-15 Eli Zaretskii <eliz@gnu.org>
1589 Make 'random' seeds cryptographically secure if possible
1591 * configure.ac: Check for "/dev/urandom".
1593 * src/sysdep.c (init_random) [HAVE_DEV_URANDOM]: Read the stream
1594 for the seed from "/dev/urandom".
1595 [WINDOWSNT]: Obtain the stream for the seed from w32 APIs.
1596 * src/fns.c (Frandom): Update the doc string to indicate that
1597 system entropy is used when available.
1598 * src/w32.c: Include wincrypt.h.
1599 (w32_init_crypt_random, w32_init_random): New functions, use the
1601 (globals_of_w32): Initialize w32_crypto_hprov handle to zero.
1602 * src/w32.h (w32_init_random): Add prototype.
1604 * doc/lispref/numbers.texi (Random Numbers): Document more details
1605 about 't' as the argument to 'random'.
1607 * etc/NEWS: Mention that '(random t)' now uses a cryptographically
1608 strong seed if possible.
1612 2016-01-15 Eli Zaretskii <eliz@gnu.org>
1614 Unhide the --no-line-directive option to 'etags'
1616 * lib-src/etags.c (print_help): Un-undocument the --no-line-directive
1619 * doc/man/etags.1: Document the --no-line-directive option.
1621 2016-01-15 Alan J Third <alan@idiocy.org> (tiny change)
1623 Fix picture-mode wrt double-width characters
1625 * lisp/textmodes/picture.el (picture-insert): Check the width of
1626 the character being replaced, not just that of the replacement.
1629 2016-01-15 Eric Abrahamsen <eric@ericabrahamsen.net>
1631 Honor docstring of gnus-group-get-new-news
1633 * lisp/gnus/gnus-start.el (gnus-get-unread-articles): If the prefix arg is t,
1634 but non-numeric, unconditionally consider all groups to need updating.
1636 2016-01-14 Simen Heggestøyl <simenheg@gmail.com>
1638 Disallow parenthesis in non-pseudo CSS selectors
1640 * lisp/textmodes/css-mode.el (css--font-lock-keywords): Disallow
1641 parenthesis in selectors except for in the function notation that
1642 might appear right after a pseudo-class.
1643 * test/indent/scss-mode.scss: Add a test for it.
1645 2016-01-14 Katsumi Yamaoka <yamaoka@jpl.org>
1647 * lisp/gnus/nntp.el (nntp-request-newgroups): Simplify
1649 2016-01-14 Michael Albinus <michael.albinus@gmx.de>
1651 check-maybe shall run only default tests
1653 * test/automated/Makefile.in (check, check-expensive): Depend on
1655 (check-maybe): Re-run only default tests.
1656 (check-doit): Use code of check-maybe.
1657 (mostlyclean): Move *.log files away.
1659 2016-01-14 Mark Oteiza <mvoteiza@udel.edu>
1661 * lisp/thingatpt.el (thing-at-point-uri-schemes): Add "magnet:"
1663 2016-01-14 Dmitry Gutov <dgutov@yandex.ru>
1665 Un-obsolete tags-loop-continue
1667 * lisp/progmodes/etags.el (tags-loop-continue): Un-obsolete.
1668 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00682.html
1670 2016-01-13 Eli Zaretskii <eliz@gnu.org>
1672 Document obsoletion of 'intangible' and 'point-entered/left'
1674 * doc/lispref/text.texi (Special Properties): Document the new
1675 properties 'cursor-intangible' and 'cursor-sensor-functions'.
1676 Document the obsolete status of 'intangible', 'pointer-left',
1677 and 'point-entered' properties, and of 'inhibit-point-motion-hooks'.
1678 * doc/lispref/display.texi (Overlay Properties): Document that
1679 'intangible' overlay property is obsolete.
1681 * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor-mode): Doc fix.
1683 2016-01-13 Eli Zaretskii <eliz@gnu.org>
1685 Updater documentation of 'looking-back'
1687 * doc/lispref/searching.texi (Regexp Search): Update documentation
1688 of 'looking-back'. Fix markup.
1690 2016-01-13 Eli Zaretskii <eliz@gnu.org>
1692 Document 'pre-redisplay-functions'
1694 * doc/lispref/hooks.texi (Standard Hooks):
1695 * doc/lispref/display.texi (Forcing Redisplay): Document
1696 'pre-redisplay-functions'.
1698 2016-01-13 Eli Zaretskii <eliz@gnu.org>
1700 Document the new deafault value of 'load-read-function'
1702 * doc/lispref/loading.texi (How Programs Do Loading): Document the
1703 change in the default value of 'load-read-function'.
1705 2016-01-13 Eli Zaretskii <eliz@gnu.org>
1707 Document 'bufferpos-to-filepos' and 'filepos-to-bufferpos'
1709 * doc/lispref/nonascii.texi (Text Representations): Document
1710 'bufferpos-to-filepos' and 'filepos-to-bufferpos'.
1712 2016-01-13 Eli Zaretskii <eliz@gnu.org>
1714 Document the new prefix-command hooks
1716 * doc/lispref/hooks.texi (Standard Hooks): Document
1717 `prefix-command-echo-keystrokes-functions' and
1718 `prefix-command-preserve-state-hook'.
1720 2016-01-13 Paul Eggert <eggert@cs.ucla.edu>
1722 Fix one more misuse of time-stamp-time-zone
1724 * test/etags/html-src/softwarelibero.html: Use "UTC0" rather
1725 than the unportable "GMT" for time zone.
1727 2016-01-13 Paul Eggert <eggert@cs.ucla.edu>
1729 Fix NNTP NEWGROUPS off-by-a-few-hours bug
1731 * lisp/gnus/nntp.el (nntp-request-newgroups): Format string
1732 in Universal Time, since we’re telling the server “GMT”.
1734 2016-01-13 Paul Eggert <eggert@cs.ucla.edu>
1736 Update publicsuffix.txt from upstream
1738 * etc/publicsuffix.txt: Update from
1739 https://publicsuffix.org/list/effective_tld_names.dat
1740 dated 2016-01-12 11:52:01 UTC.
1742 2016-01-13 Glenn Morris <rgm@gnu.org>
1744 Fix some declarations.
1746 * lisp/descr-text.el (internal-char-font):
1747 * lisp/cedet/mode-local.el (xref-item-location):
1748 * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
1749 (epg-sub-key-capability, epg-sub-key-validity):
1750 * lisp/international/mule-util.el (internal-char-font):
1753 2016-01-13 Glenn Morris <rgm@gnu.org>
1755 Fix some custom types.
1757 * lisp/gnus/gnus-fun.el (gnus-x-face-omit-files, gnus-face-omit-files):
1758 * lisp/gnus/gnus.el (gnus-valid-select-methods):
1759 * lisp/mail/rmail.el (rmail-get-coding-function):
1760 * lisp/net/newst-treeview.el (newsticker-groups-filename):
1761 * lisp/progmodes/hideif.el (hide-ifdef-exclude-define-regexp):
1762 * lisp/textmodes/tildify.el (tildify-space-predicates):
1763 * lisp/url/url-tramp.el (url-tramp-protocols):
1766 2016-01-13 Glenn Morris <rgm@gnu.org>
1768 Add some missing version tags.
1770 * lisp/electric.el (electric-quote-comment)
1771 (electric-quote-string, electric-quote-paragraph):
1772 * lisp/epg-config.el (epg-gpgconf-program):
1773 * lisp/rect.el (rectangle-preview):
1774 * lisp/emacs-lisp/check-declare.el (check-declare-ext-errors):
1775 * lisp/emacs-lisp/package.el (package-selected-packages)
1776 (package-hidden-regexps):
1777 * lisp/erc/erc.el (erc-network-hide-list, erc-channel-hide-list):
1778 * lisp/eshell/em-term.el (eshell-destroy-buffer-when-process-dies):
1779 * lisp/gnus/mml-sec.el (mml1991-signers, mml2015-signers)
1780 (mml-smime-signers, mml1991-encrypt-to-self, mml2015-encrypt-to-self)
1781 (mml-smime-encrypt-to-self, mml2015-sign-with-sender)
1782 (mml-smime-sign-with-sender, mml2015-always-trust)
1783 (mml-secure-fail-when-key-problem, mml-secure-key-preferences):
1784 * lisp/net/browse-url.el (browse-url-conkeror-new-window-is-buffer)
1785 (browse-url-conkeror-arguments):
1786 * lisp/net/newst-reader.el (newsticker-download-logos):
1787 * lisp/progmodes/gud.el (gud-guiler-command-name):
1788 * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
1789 * lisp/progmodes/project.el (project-vc):
1790 * lisp/progmodes/python.el (python-indent-guess-indent-offset-verbose)
1791 (python-shell-remote-exec-path, python-shell-first-prompt-hook)
1792 (python-shell-completion-native-disabled-interpreters)
1793 (python-shell-completion-native-enable)
1794 (python-shell-completion-native-output-timeout)
1795 (python-shell-completion-native-try-output-timeout):
1796 * lisp/progmodes/xref.el (xref):
1797 * lisp/term/screen.el (xterm-screen-extra-capabilities):
1798 * lisp/term/xterm.el (xterm-max-cut-length):
1799 Add missing version tags.
1801 2016-01-13 Glenn Morris <rgm@gnu.org>
1803 * test/automated/core-elisp-tests.el
1804 (core-elisp-tests-1-defvar-in-let): Add a custom type.
1806 2016-01-13 Glenn Morris <rgm@gnu.org>
1808 * src/buffer.c (syms_of_buffer) <major-mode>: Doc fix.
1810 Remove comments that do not apply since 2005-08-09. (Bug#22349)
1812 2016-01-12 Paul Eggert <eggert@cs.ucla.edu>
1816 This mostly just changes "UTC" to "UTC0" for POSIX conformance.
1817 It also updates to the latest version of texinfo.tex.
1818 * build-aux/gitlog-to-changelog, build-aux/move-if-change:
1819 * build-aux/update-copyright, doc/misc/texinfo.tex:
1822 2016-01-12 Eli Zaretskii <eliz@gnu.org>
1824 Update documentation of 'process-running-child-p'
1826 * doc/lispref/processes.texi (Input to Processes): Document the
1827 changes in return value of 'process-running-child-p'.
1829 2016-01-12 Eli Zaretskii <eliz@gnu.org>
1831 Update documentation of 'deactivate-mark'.
1833 * doc/lispref/markers.texi (The Mark): Document that
1834 'deactivate-mark' is now buffer-local when set.
1836 2016-01-12 Eli Zaretskii <eliz@gnu.org>
1838 Update documentation of 'completion-table-dynamic'
1840 * doc/lispref/minibuf.texi (Programmed Completion): Document the
1841 new optional argument to 'completion-table-dynamic'.
1843 2016-01-12 Eli Zaretskii <eliz@gnu.org>
1845 Document changes in 'read-buffer' and 'read-buffer-function'
1847 * doc/lispref/minibuf.texi (High-Level Completion): Document the
1848 4th argument to 'read-buffer' and 'read-buffer-function'.
1850 2016-01-12 Paul Eggert <eggert@cs.ucla.edu>
1852 Fix time-stamp-time-zone bugs introduced in July
1854 This fixes a bug introduced when the July changes to
1855 format-time-string installed, as the changes were not
1856 correctly handled in this module (Bug#22302).
1857 Also, document time stamp time zones.
1858 * lisp/time-stamp.el (time-stamp-time-zone): Document values better.
1859 (time-stamp--format): New private function.
1860 (time-stamp-string, time-stamp-string-preprocess)
1861 (time-stamp-do-number): Use it.
1862 * doc/emacs/files.texi (Time Stamps): Mention time zones.
1863 * doc/misc/autotype.texi (Timestamps): Document time-stamp-time-zone.
1865 2016-01-12 Eli Zaretskii <eliz@gnu.org>
1867 Make piping to subprocesses more robust on MS-Windows
1869 * src/w32.c (sys_write): Don't write to a pipe more stuff than its
1870 buffer can hold. Don't return -1 if something has been written to
1871 the pipe. Zero out 'errno' before calling '_write', to avoid
1872 returning a stale value. (Bug#22344)
1873 * src/w32proc.c (syms_of_ntproc) <w32-pipe-buffer-size>: New variable.
1874 * src/w32.c (pipe2): Use it to request a user-defined size for the
1877 * etc/NEWS: Mention 'w32-pipe-buffer-size'.
1879 * doc/emacs/msdos.texi (Windows Processes): Document
1880 'w32-pipe-buffer-size'.
1882 2016-01-11 Dmitry Gutov <dgutov@yandex.ru>
1884 test/automated/vc-hg.el: Support out-of-tree build
1886 * test/automated/vc-hg.el
1887 (vc-hg-annotate-extract-revision-at-line-with-filename)
1888 (vc-hg-annotate-extract-revision-at-line-with-both):
1889 Don't refer to source-directory.
1890 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00755.html
1892 2016-01-11 Michael Albinus <michael.albinus@gmx.de>
1894 Minor change in tramp-tests.el
1896 * test/automated/tramp-tests.el (tramp-test29-vc-registered):
1897 Use `dired-uncache' instead of a Tramp internal function.
1899 2016-01-11 Peter Feigl <peter.feigl@nexoid.at>
1901 * etc/HELLO: Add Armenian and Mongolian greetings.
1905 2016-01-11 Alan Mackenzie <acm@muc.de>
1907 Java Mode: Fontify identifiers in the presence of annotations.
1909 * lisp/progmodes/cc-engine.el (c-forward-annotation): Tidy up the coding:
1910 Don't move point when the defun fails.
1911 (c-forward-decl-or-cast-1): Correct a usage of match data.
1913 * lisp/progmodes/cc-fonts.el (c-font-lock-maybe-decl-faces): Remove.
1914 (c-font-lock-declarations): Use the new c-maybe-decl-faces in place of the
1917 * lisp/progmodes/cc-langs.el (c-maybe-decl-faces): New language variable.
1919 2016-01-11 Eli Zaretskii <eliz@gnu.org>
1921 Avoid an infloop when we run out of memory
1923 * src/alloc.c (garbage_collect_1): Don't bother saving and
1924 restoring the echo-area message if we are GC'ing after running out
1925 of memory. This avoids an infloop due to repeated attempts to
1926 allocate memory for the cons cell needed to save the message,
1927 which signals the memory-full error, which attempts to save the
1928 echo-area message, which signals memory-full again, etc.
1930 2016-01-11 Eli Zaretskii <eliz@gnu.org>
1932 Avoid unnecessary failures of auto-saving after fatal error
1934 * src/w32.c (map_w32_filename): Avoid non-trivial system calls for
1935 the benefit of FAT volumes if we are called as part of shutting
1936 down due to a fatal error, which probably means we are trying to
1937 auto-save the session.
1938 * src/lread.c (check_obarray): Don't bother making the obarray
1939 valid if we are shutting down due to a fatal error. This avoids
1940 interfering with auto-saving the crashed session.
1942 2016-01-11 Paul Eggert <eggert@cs.ucla.edu>
1944 Simplify HAVE_MODULES use in mark_maybe_pointer
1946 * src/alloc.c (HAVE_MODULES): Now a constant 0 if not defined,
1947 so that later code can use 'if' rather than '#ifdef'.
1948 (mark_maybe_pointer): Simplify based on HAVE_MODULES now
1951 2016-01-11 Paul Eggert <eggert@cs.ucla.edu>
1953 Revert attempt to use 'noexcept' in typedef
1955 This use of 'noexcept' runs afoul of the C++11 standard.
1956 Problem reported by Philipp Stephani in:
1957 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00706.html
1958 * src/emacs-module.c (emacs_finalizer_function):
1959 Move this typedef here ...
1960 * src/emacs-module.h: ... from here, and use only the C
1961 version of the typedef. The typedef is now private since it
1962 is never used in the .h file now and anyway it seemed to be
1963 causing more confusion than it cured.
1964 (make_user_ptr, get_user_finalizer, set_user_finalizer):
1965 Open-code the type instead.
1967 2016-01-10 Eli Zaretskii <eliz@gnu.org>
1969 Update documentation of 'indirect-function'
1971 * doc/lispref/eval.texi (Function Indirection): Update the
1972 documentation of 'indirect-function'.
1974 2016-01-10 Eli Zaretskii <eliz@gnu.org>
1976 Update documentation for obsoleting 'syntax-begin-function'
1978 * doc/lispref/syntax.texi (Position Parse): Undocument
1979 'syntax-begin-function' that is now obsolete.
1981 2016-01-10 Eli Zaretskii <eliz@gnu.org>
1983 Document new features if Eshell
1985 * doc/misc/eshell.texi (Input/Output): Document the new
1986 '#<bufname>' syntax.
1987 (Input/Output): Document 'eshell-destroy-buffer-when-process-dies'.
1988 Disable "Key Index" generation, as there are no @kindex entries in
1991 2016-01-10 Michael Albinus <michael.albinus@gmx.de>
1993 Handle too long commands in Tramp
1995 * lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link)
1996 (tramp-do-file-attributes-with-ls): Send sequence of commands, in
1997 order to not exceed shell command line limit.
1999 * test/automated/tramp-tests.el (tramp--test-darwin-p): Remove.
2000 (tramp--test-utf8): Include Arabic file name, again.
2002 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
2004 * .gitattributes: *.cur and *.pif are binary files too.
2006 2016-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2008 * src/alloc.c (mark_maybe_pointer): HAVE_MODULES may be undefined
2010 2016-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2012 * lisp/progmodes/sh-script.el (sh-smie-sh-rules): Improve indentation inside $(...)
2014 * lisp/progmodes/sh-script.el (sh-smie-sh-rules): Improve indentation
2016 * test/indent/shell.sh: Add corresponding test.
2018 2016-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2020 * src/alloc.c (mark_maybe_pointer): Also check wide-int's emacs_value
2022 (mark_memory): Simplify loop. Don't assume a pointer-sized word can be
2023 cast to Lisp_Object.
2025 2016-01-10 Dmitry Gutov <dgutov@yandex.ru>
2027 Use short date for 'hg annotate', and output the author
2029 * lisp/vc/vc-hg.el (vc-hg-annotate-command):
2030 Change '-d' to '-dq'. (Bug#21805)
2031 (vc-hg-annotate-switches): Default to "-u" "--follow".
2032 (vc-hg-annotate-re): Update to recognize the short date format
2033 and the optional username.
2034 (vc-hg-annotate-time)
2035 (vc-hg-annotate-extract-revision-at-line): Update accordingly.
2037 * test/automated/vc-hg.el: New file.
2039 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
2043 2016-01-09 Eli Zaretskii <eliz@gnu.org>
2045 Document user-level functions in project.el
2047 * lisp/progmodes/project.el (project-find-file)
2048 (project-or-external-find-file): Add doc strings.
2050 2016-01-09 Eli Zaretskii <eliz@gnu.org>
2052 Document the user-level features of the Xref package
2054 * doc/emacs/maintaining.texi (Maintaining): Add a list of
2056 (Xref): New section, made out of thoroughly rewritten "Tags"
2058 (Find Identifiers, Looking Up Identifiers, Xref Commands)
2059 (Identifier Search, List Identifiers): New subsections,
2060 incorporating the old tags commands and the new xref commands.
2061 (Tags Tables, Tag Syntax, Create Tags Table, Etags Regexps):
2062 Section and subsections demoted to a lower level.
2063 * doc/emacs/search.texi (Search):
2064 * doc/emacs/windows.texi (Pop Up Window):
2065 * doc/emacs/frames.texi (Creating Frames):
2066 * doc/emacs/programs.texi (Imenu, Symbol Completion):
2067 * doc/emacs/building.texi (Grep Searching):
2068 * doc/emacs/dired.texi (Operating on Files):
2069 * doc/emacs/glossary.texi (Glossary): All references to tags changed.
2071 2016-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2073 * doc/lispref/loading.texi: Add `define-type' entry for load-history
2075 * doc/lispref/loading.texi (Where Defined): Remove incorrect
2076 cl-defmethod description, and add missing define-type entry.
2078 2016-01-09 Eli Zaretskii <eliz@gnu.org>
2080 Improve doc strings and prompts in xref.el
2082 * lisp/progmodes/xref.el (xref-backend-functions)
2083 (xref-find-definitions): Doc fixes.
2084 (xref-query-replace): Doc fix. Improve prompts for arguments.
2086 2016-01-09 Alan Mackenzie <acm@muc.de>
2088 Allow the use of `font-lock-extend-region-multiline' in CC Mode.
2090 * lisp/progmodes/cc-mode.el (c-font-lock-init): Remove
2091 `font-lock-extend-regions-wholelines' from
2092 `font-lock-extend-region-functions' rather than setting the latter to
2095 2016-01-09 Michael Albinus <michael.albinus@gmx.de>
2097 Fix coding system for Tramp on OS X.
2099 * lisp/net/tramp-compat.el: Require ucs-normalize.
2101 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2102 Set coding system to `utf-8-hfs' for Mac OS X.
2104 * test/automated/tramp-tests.el (tramp-test29-vc-registered):
2105 Flush directory properties when needed.
2106 (tramp--test-utf8): Include Chinese file name, again.
2108 2016-01-09 Eli Zaretskii <eliz@gnu.org>
2110 Update 'load-history' docs
2112 * doc/lispref/loading.texi (Where Defined): Update the list of
2113 forms in 'load-history' by adding the forms created for the
2114 'cl-generic' generics. (Bug#21422)
2116 2016-01-09 Paul Eggert <eggert@cs.ucla.edu>
2118 Fix (error ...) error
2120 Problem reported by Glenn Morris in:
2121 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00561.html
2122 * lisp/vc/add-log.el (change-log-goto-source): Fix typos
2123 introduced in my Aug 28 change, where I got confused by the
2124 two meanings of (error ...).
2126 2016-01-08 Alan Mackenzie <acm@muc.de>
2128 Correctly analyze brace arguments in templated C++ function declarations.
2130 * lisp/progmodes/cc-defs.el (c-go-list-forward, c-go-list-backward): add
2131 POS and LIMIT parameters, like the other c-go-list-* functions have.
2133 * lisp/progmodes/cc-engine.el (c-restore-<>-properties): Check backwards
2134 for a ?\( rather than a ?<. (c-looking-at-inexpr-block): Handle names
2135 followed by template specifiers.
2137 2016-01-08 Glenn Morris <rgm@gnu.org>
2139 * lisp/cedet/mode-local.el (describe-function-orig-buffer): Declare.
2141 * lisp/ffap.el (ffap-latex-mode): Avoid free variable.
2143 2016-01-08 Mark Oteiza <mvoteiza@udel.edu>
2145 * lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`.
2147 2016-01-08 Alan Mackenzie <acm@muc.de>
2149 Respect fontification region calculated by major mode. Fixes bug #22316.
2151 * lisp/font-lock.el (font-lock-extend-jit-lock-region-after-change): when a
2152 fontification region has been calculated by a function on
2153 font-lock-extend-after-change-region-function use this region rather than
2154 changing the end position to somewhere else.
2156 2016-01-08 Eli Zaretskii <eliz@gnu.org>
2158 Improve documentation of Delete Selection mode
2160 * lisp/delsel.el (delete-selection-mode)
2161 (delete-selection-helper): Update and expand the doc strings.
2164 * doc/emacs/mark.texi (Using Region): Document the behavior of
2165 delete commands in Delete Selection mode. (Bug#22296)
2167 * doc/lispref/markers.texi (The Mark): Document how to add the
2168 support for Delete Selection mode to Lisp programs. (Bug#22296)
2170 2016-01-08 Dmitry Gutov <dgutov@yandex.ru>
2172 Fix two project-find-file issues
2174 * lisp/progmodes/project.el (project--value-in-dir):
2175 Temporarily set enable-local-variables to :all.
2176 (project-find-file, project-or-external-find-file):
2178 (project--find-file-in): Require xref.
2180 2016-01-08 Eli Zaretskii <eliz@gnu.org>
2182 Clarify doc string of 'dired-current-directory'
2184 * lisp/dired.el (dired-current-directory): Doc fix: clarify that
2185 the return value might not end in a slash when called with the
2186 optional argument non-nil. (Bug#6273)
2188 2016-01-08 Eli Zaretskii <eliz@gnu.org>
2190 Use the face of preceding text for displaying the ellipsis
2192 * src/xdisp.c (setup_for_ellipsis): Use the face of the preceding
2193 text in it->saved_face_id for displaying the ellipsis, and ignore
2194 the face, if any, of the invisible text. (Bug#22320)
2196 2016-01-08 Michael Albinus <michael.albinus@gmx.de>
2198 Suppress Chinese file name test for OSX in tramp-tests.el
2200 * test/automated/tramp-tests.el (tramp--test-utf8):
2201 Remove instrumentation. Suppress Chinese file name test for OSX.
2203 2016-01-08 Glenn Morris <rgm@gnu.org>
2205 * admin/admin.el (set-version): Also handle the NEWS file.
2207 2016-01-08 Dmitry Gutov <dgutov@yandex.ru>
2209 apropos-library: Skip obvious duplicates; don't error on generics
2211 * lisp/apropos.el (apropos-library): Skip "was an autoload"
2212 entries, to avoid obvious duplicates. For each cl-defmethod
2213 entry, take just its function symbol (bug#21422).
2215 2016-01-07 Dmitry Gutov <dgutov@yandex.ru>
2217 Add project-find-file and project-or-external-find-file
2219 * lisp/minibuffer.el (completion-category-defaults):
2220 Add `project-file' category.
2222 * lisp/progmodes/project.el (project-find-file)
2223 (project-or-external-find-file): New commands.
2224 (project--find-file-in): New private function.
2226 * lisp/progmodes/xref.el (xref-collect-matches): Use
2227 `expand-file-name' on DIR, to expand the tildes.
2228 (xref--find-ignores-arguments): Extract from
2229 `xref--rgrep-command'.
2231 2016-01-07 Leo Liu <sdl.web@gmail.com>
2233 Add defvar-local to lisp-imenu-generic-expression
2235 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Add
2238 2016-01-07 Leo Liu <sdl.web@gmail.com>
2240 Revert commit b1e3d14845517bfa9fa5d6d3840f3ab3160306fd
2242 * lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
2243 Don't declare (indent 1).
2245 2016-01-07 Glenn Morris <rgm@gnu.org>
2247 * lisp/emacs-lisp/autoload.el (autoload-find-destination): Doc fix.
2249 2016-01-07 Glenn Morris <rgm@gnu.org>
2251 * lisp/emacs-lisp/autoload.el (autoload-find-destination):
2253 Avoid specifying the length of a time object (it has not been "2"
2256 2016-01-06 Andreas Schwab <schwab@linux-m68k.org>
2258 Properly encode/decode base64Binary data in SOAP
2260 * lisp/net/soap-client.el (soap-encode-xs-basic-type): Encode
2261 base64Binary value as utf-8.
2262 (soap-decode-xs-basic-type): Decode base64Binary value as utf-8.
2264 2016-01-06 Eli Zaretskii <eliz@gnu.org>
2266 Obey coding-system-for-write when writing stdout/stderr in batch
2268 * src/print.c (printchar_to_stream):
2269 * src/xdisp.c (message_to_stderr): If coding-system-for-write has
2270 a non-nil value, use it to encode output in preference to
2271 locale-coding-system. See the discussions in
2272 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00048.html
2275 * doc/lispref/os.texi (Terminal Output): Document how to send
2276 non-ASCII text via 'send-string-to-terminal'.
2277 (Batch Mode): Document how text written to standard streams is
2278 encoded. Fix inaccuracy regarding which output streams are used
2279 by output functions in batch mode.
2281 2016-01-06 Xue Fuqiao <xfq.free@gmail.com>
2283 * doc/misc/efaq.texi (Packages that do not come with Emacs):
2284 Update the URI of MELPA and marmalade-repo. Reported by CHENG Gao
2285 <chenggao@royau.me> in
2286 https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00390.html.
2288 2016-01-06 Maksim Golubev <maksim.golubev72@gmail.com> (tiny change)
2290 * lisp/progmodes/opascal.el (opascal-mode-syntax-table):
2292 Fix backslash. (Bug#22224)
2294 2016-01-06 Federico Beffa <beffa@ieee.org> (tiny change)
2296 * lisp/progmodes/xscheme.el (xscheme-prompt-for-expression-exit):
2298 Make it actually work. (Bug#22265)
2300 2016-01-05 Alan Mackenzie <acm@muc.de>
2302 Remove function wrongly on AWK Mode value of context fontification hook.
2304 * lisp/progmodes/cc-langs.el (c-before-context-fontification-functions):
2305 swap order of entries so that awk's entry isn't superseded by the default.
2307 * lisp/progmodes/cc-mode.el (c-before-context-fl-expand-region): Correct
2308 to handle nil value of c-before-context-fontification-functions.
2310 2016-01-05 Paul Eggert <eggert@cs.ucla.edu>
2312 * src/buffer.c: Stick with ASCII in doc string.
2314 2016-01-05 Paul Eggert <eggert@cs.ucla.edu>
2316 Reword transient-mark-mode doc string
2318 * src/buffer.c (syms_of_buffer): Reword doc string to avoid confusion.
2319 The value 'lambda (literally) can be interpreted as (quote lambda),
2320 which is not intended here; we want just the lambda symbol.
2322 2016-01-05 Eli Zaretskii <eliz@gnu.org>
2324 Update doc string of 'selective-display'
2326 * src/buffer.c (syms_of_buffer) <selective-display>: Say that
2327 using it with the value of 't' is obsolete. (Bug#1092)
2329 2016-01-05 Alan Mackenzie <acm@muc.de>
2331 Make C++ buffers writeable when writing their initial text properties.
2333 This is a correction to yesterday's CC Mode patch.
2335 * lisp/progmodes/cc-engine.el (c-before-change-check-<>-operators): Put
2336 c-save-buffer-state around the function rather than a mere `let'.
2338 2016-01-05 Michael Albinus <michael.albinus@gmx.de>
2340 Additional changes for "make check-expensive"
2342 * CONTRIBUTE : Encourage use of ":tags '(:expensive-test)".
2343 Explain make target `check-expensive'.
2345 * etc/NEWS: Mention new make target `check-expensive'.
2347 * test/automated/Makefile.in (check-doit): New target.
2348 (check, check-expensive): Use it.
2350 2016-01-04 Alan Mackenzie <acm@muc.de>
2352 Apply text properties for <, > in new after-change function (C++ Java Modes).
2354 These are category/syntax-table properties to give < and > paren syntax.
2355 Also apply certain `c-type' text properties to the insides of <..> constructs
2356 to ensure that identifiers contained by them get fontified. This patch fixes
2359 * lisp/progmodes/cc-cmds.el (c-electric-lt-gt): Reformulate due to new
2360 after-change action.
2362 * lisp/progmodes/cc-engine.el (c-before-change-check-<>-operators): Expand
2363 change region to include <s and >s which might not be already marked as
2364 parens, rather than just when paren text properties are removed.
2365 (c-restore-<>-properties): New after-change function, which applies text
2366 properties marking < and > with paren syntax.
2368 * lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Ensure `c-type'
2369 properties are applied to the interiors of <...> constructs, to ensure
2370 fontification of identifiers there.
2372 * lisp/progmodes/cc-langs.el (c-before-font-lock-functions): Add
2373 c-restore-<>-properties to this list for C++ and Java.
2375 * lisp/progmodes/cc-mode.el (c-common-init): When invoking
2376 c-before-font-lock-functions, exclude c-restore-<>-properties from the
2378 (c-before-change): Initialize c-new-BEG/END here (rather than c-after-change)
2379 to allow modification by before-change functions.
2380 (c-after-change): Amend c-new-END here, rather than initializing it and
2383 2016-01-04 Michael Albinus <michael.albinus@gmx.de>
2385 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
2387 2016-01-04 Michael Albinus <michael.albinus@gmx.de>
2389 Introduce check-expensive tests.
2391 * Makefile.in (check-expensive):
2392 * test/automated/Makefile.in (check-expensive): New target.
2394 * test/automated/auto-revert-tests.el
2395 (auto-revert-test01-auto-revert-several-files):
2396 * test/automated/file-notify-tests.el (file-notify--deftest-remote):
2397 * test/automated/tramp-tests.el (tramp-test26-process-file)
2398 (tramp-test27-start-file-process, tramp-test28-shell-command)
2399 (tramp-test29-vc-registered)
2400 (tramp-test31-special-characters-with-stat)
2401 (tramp-test31-special-characters-with-perl)
2402 (tramp-test31-special-characters-with-ls)
2403 (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
2404 (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
2405 (tramp-test35-unload): Tag the tests as :expensive-test.
2407 2016-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2409 shr-tag-video bug fix
2411 * shr.el (shr-tag-video): Protect against the `poster' being
2414 2016-01-04 Michael Albinus <michael.albinus@gmx.de>
2416 Minor fixes in tramp-tests.el
2418 * test/automated/tramp-tests.el (tramp-test26-process-file):
2419 Move point properly.
2420 (tramp-test29-vc-registered): Work with relative file names.
2422 2016-01-04 Eli Zaretskii <eliz@gnu.org>
2424 Ensure redisplay when 'truncate-lines' is set
2426 * lisp/frame.el (redisplay--variables): Add 'truncate-lines'.
2429 2016-01-04 Eli Zaretskii <eliz@gnu.org>
2431 Fix a doc string of 'transient-mark-mode'
2433 * src/buffer.c (syms_of_buffer) <transient-mark-mode>: Prevent
2434 "lambda" in doc string from becoming a link to lambda expressions.
2436 2016-01-04 Eli Zaretskii <eliz@gnu.org>
2438 MS-Windows followup to latest gnulib update
2440 * nt/gnulib.mk (EXTRA_DIST): Add ignore-value.h.
2442 2016-01-04 Paul Eggert <eggert@cs.ucla.edu>
2446 2016-01-04 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
2448 Do secure signed Bcc handling
2450 * lisp/gnus/message.el (message-send): Do secure signed Bcc handling
2453 2016-01-04 Paul Eggert <eggert@cs.ucla.edu>
2455 Avoid stdio in SIGINT handler
2457 * admin/merge-gnulib (GNULIB_MODULES): Add ignore-value.
2458 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
2459 * lib/ignore-value.h: New file, from gnulib.
2460 * src/keyboard.c: Include it.
2461 (write_stdout, read_stdin): New functions.
2462 (handle_interrupt): Use them instead of printf and getchar,
2463 and avoid fflush when handling signals.
2465 2016-01-04 Paul Eggert <eggert@cs.ucla.edu>
2467 * doc/misc/texinfo.tex: Revert unwanted copyright change.
2469 2016-01-03 Artur Malabarba <bruce.connor.am@gmail.com>
2471 * lisp/align.el (align): Simplify a lambda
2473 * lisp/align.el (align): Fix arg order in call to `align-region'
2475 2016-01-03 Eli Zaretskii <eliz@gnu.org>
2477 Fix compilation next-error in buffers with selective-display
2479 * lisp/progmodes/compile.el (compilation-beginning-of-line): New
2481 (compilation-internal-error-properties)
2482 (compilation-next-error-function, compilation-set-window): Use
2485 2016-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2487 * lisp/net/nsm.el (nsm-check-protocol): Fix typo in the message.
2489 2016-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2491 Add SHA1 warnings for high network security settings
2493 * lisp/net/nsm.el (nsm-check-protocol): When using high security, warn
2494 about SHA1 certificates, which are now believed to be open to
2497 2016-01-03 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
2499 Refactor mml-smime.el, mml1991.el, mml2015.el
2501 (Maybe this is the last merge from Gnus git to Emacs git)
2503 Cf. discussion on ding mailing list, messages in
2504 <http://thread.gmane.org/gmane.emacs.gnus.general/86228>.
2505 Common code from the three files mml-smime.el, mml1991.el, and
2506 mml2015.el is moved to mml-sec.el. Auxiliary functions are added
2509 The code is supported by test cases with necessary test keys.
2511 Documentation in message.texi is updated.
2513 * doc/misc/message.texi (Security, Using S/MIME):
2514 Update for refactoring mml-smime.el, mml1991.el, mml2015.el.
2515 (Using OpenPGP): Rename from "Using PGP/MIME"; update contents.
2516 (Passphrase caching, Encrypt-to-self, Bcc Warning): New sections.
2518 * lisp/gnus/gnus-util.el (gnus-test-list, gnus-subsetp, gnus-setdiff):
2521 * lisp/gnus/mml-sec.el: Require gnus-util and epg.
2522 (epa--select-keys): Autoload.
2523 (mml-signencrypt-style-alist, mml-secure-cache-passphrase): Doc fix.
2524 (mml-secure-openpgp-signers): New user option;
2525 make mml1991-signers and mml2015-signers obsolete aliases to it.
2526 (mml-secure-smime-signers): New user option;
2527 make mml-smime-signers an obsolete alias to it.
2528 (mml-secure-openpgp-encrypt-to-self): New user option;
2529 make mml1991-encrypt-to-self and mml2015-encrypt-to-self obsolete
2531 (mml-secure-smime-encrypt-to-self): New user option;
2532 make mml-smime-encrypt-to-self an obsolete alias to it.
2533 (mml-secure-openpgp-sign-with-sender): New user option;
2534 make mml2015-sign-with-sender an obsolete alias to it.
2535 (mml-secure-smime-sign-with-sender): New user option;
2536 make mml-smime-sign-with-sender an obsolete alias to it.
2537 (mml-secure-openpgp-always-trust): New user option;
2538 make mml2015-always-trust an obsolete alias to it.
2539 (mml-secure-fail-when-key-problem, mml-secure-key-preferences):
2541 (mml-secure-cust-usage-lookup, mml-secure-cust-fpr-lookup)
2542 (mml-secure-cust-record-keys, mml-secure-cust-remove-keys)
2543 (mml-secure-add-secret-key-id, mml-secure-clear-secret-key-id-list)
2544 (mml-secure-cache-passphrase-p, mml-secure-cache-expiry-interval)
2545 (mml-secure-passphrase-callback, mml-secure-check-user-id)
2546 (mml-secure-secret-key-exists-p, mml-secure-check-sub-key)
2547 (mml-secure-find-usable-keys, mml-secure-select-preferred-keys)
2548 (mml-secure-fingerprint, mml-secure-filter-keys)
2549 (mml-secure-normalize-cust-name, mml-secure-select-keys)
2550 (mml-secure-select-keys-1, mml-secure-signer-names, mml-secure-signers)
2551 (mml-secure-self-recipients, mml-secure-recipients)
2552 (mml-secure-epg-encrypt, mml-secure-epg-sign): New functions.
2554 * lisp/gnus/mml-smime.el: Require epg;
2555 refactor declaration and autoloading of epg functions.
2556 (mml-smime-use): Doc fix.
2557 (mml-smime-cache-passphrase, mml-smime-passphrase-cache-expiry):
2559 (mml-smime-get-dns-cert, mml-smime-get-ldap-cert):
2560 Use format instead of gnus-format-message.
2561 (mml-smime-epg-secret-key-id-list): Remove variable.
2562 (mml-smime-epg-passphrase-callback, mml-smime-epg-find-usable-key)
2563 (mml-smime-epg-find-usable-secret-key): Remove functions.
2564 (mml-smime-epg-sign, mml-smime-epg-encrypt): Refactor.
2566 * lisp/gnus/mml1991.el (mml1991-cache-passphrase)
2567 (mml1991-passphrase-cache-expiry): Obsolete.
2568 (mml1991-epg-secret-key-id-list): Remove variable.
2569 (mml1991-epg-passphrase-callback, mml1991-epg-find-usable-key)
2570 (mml1991-epg-find-usable-secret-key): Remove functions.
2571 (mml1991-epg-sign, mml1991-epg-encrypt): Refactor.
2573 * lisp/gnus/mml2015.el (mml2015-cache-passphrase)
2574 (mml2015-passphrase-cache-expiry): Obsolete.
2575 (mml2015-epg-secret-key-id-list): Remove variable.
2576 (mml2015-epg-passphrase-callback, mml2015-epg-check-user-id)
2577 (mml2015-epg-check-sub-key, mml2015-epg-find-usable-key)
2578 (mml2015-epg-find-usable-secret-key): Remove functions.
2579 (mml2015-epg-decrypt, mml2015-epg-clear-decrypt, mml2015-epg-sign)
2580 (mml2015-epg-encrypt): Refactor.
2582 2016-01-02 Glenn Morris <rgm@gnu.org>
2584 * lisp/progmodes/fortran.el (fortran-make-syntax-propertize-function):
2586 Explicitly ignore case. (Bug#22262)
2588 2016-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
2590 (semantic-symref-derive-find-filepatterns): Return a list
2592 * lisp/cedet/semantic/symref/grep.el
2593 (semantic-symref-derive-find-filepatterns): Return a list.
2594 (semantic-symref-perform-search): Quote the result here once and for all.
2596 2016-01-02 Eli Zaretskii <eliz@gnu.org>
2598 Fix xref-find-references on MS-Windows
2600 * lisp/cedet/semantic/symref/grep.el
2601 (semantic-symref-derive-find-filepatterns): Use
2602 'shell-quote-argument' instead of manually quoting in a way that
2603 only works with Posix shells. (Bug#22289)
2605 2016-01-02 Eli Zaretskii <eliz@gnu.org>
2607 Document new features of tildify-mode
2609 * lisp/textmodes/tildify.el (tildify-foreach-ignore-environments)
2610 (tildify-mode): Spelling fixes in doc strings.
2612 * etc/NEWS: Reformat the tildify-mode entry.
2614 2016-01-02 Eli Zaretskii <eliz@gnu.org>
2616 Document new features of Whitespace mode
2618 * doc/emacs/display.texi (Useless Whitespace): Document
2619 'whitespace-toggle-options' and the new 'big-indent' style.
2620 Document 'whitespace-big-indent-regexp'. Document the Global
2623 2016-01-02 Eli Zaretskii <eliz@gnu.org>
2625 Improve documentation of new Hide-IfDef features
2627 * etc/NEWS: Expand and reword Hide-IfDef section.
2629 2016-01-02 Leo Liu <sdl.web@gmail.com>
2631 Fix regression in font-locking cl-assert and cl-check-type
2633 * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Fix
2636 2016-01-01 Paul Eggert <eggert@cs.ucla.edu>
2638 Spelling and grammar fixes
2640 2016-01-01 Paul Eggert <eggert@cs.ucla.edu>
2642 Fix copyright years by hand
2644 These are dates that admin/update-copyright did not update, or
2645 updated incorrectly.
2647 2016-01-01 Paul Eggert <eggert@cs.ucla.edu>
2649 Update copyright year to 2016
2651 Run admin/update-copyright.
2653 2016-01-01 Paul Eggert <eggert@cs.ucla.edu>
2657 This mostly just updates copyright dates of gnulib files.
2658 It also updates to the latest version of texinfo.tex.
2660 2015-12-31 Mark Oteiza <mvoteiza@udel.edu>
2662 lisp/emacs-lisp/chart.el (chart-new-buffer): Move to silence byte compiler.
2664 2015-12-31 Mark Oteiza <mvoteiza@udel.edu>
2666 Port chart.el methods to cl-generic.
2668 cl-call-next-method cannot be used inside EIEIO's defmethod.
2669 * lisp/emacs-lisp/chart.el: Require cl-generic at compile time.
2670 * lisp/emacs-lisp/chart.el (initialize-instance, chart-draw):
2671 (chart-draw-title, chart-size-in-dir, chart-draw-axis):
2672 (chart-axis-draw, chart-translate-xpos, chart-translate-ypos):
2673 (chart-translate-namezone, chart-draw-data, chart-add-sequence):
2674 (chart-trim, chart-sort): Use cl-defmethod instead of defmethod.
2676 2015-12-31 Brian Burns <bburns.km@gmail.com>
2678 Add nt/INSTALL.W64 build instructions
2680 * nt/INSTALL.W64: New file.
2681 * nt/INSTALL: Point to INSTALL.W64 for 64-bit build instructions.
2683 2015-12-31 Joakim Jalap <joakim.jalap@fastmail.com>
2685 Add new input method 'programmer-dvorak'
2687 * lisp/leim/quail/programmer-dvorak.el ("programmer-dvorak"): New
2690 * etc/NEWS: Mention it.
2692 2015-12-31 Eli Zaretskii <eliz@gnu.org>
2694 Allow to invoke original M-TAB binding in 'flyspell-prog-mode'
2696 * lisp/textmodes/flyspell.el (flyspell-prog-mode): Record the
2697 original M-TAB binding in a buffer-local variable.
2698 (flyspell-auto-correct-word): Invoke the original binding of M-TAB
2699 if that is recorded, when point is in a place where flyspell
2700 should not be active (e.g., because the user turned on
2701 'flyspell-prog-mode'). (Bug#18533)
2703 2015-12-31 Eli Zaretskii <eliz@gnu.org>
2705 Fix EWW rendering of long RTL lines
2707 * lisp/net/shr.el (shr-insert-document): Undo any previous hscroll
2708 of the selected window before filling its lines. (Bug#22250)
2710 2015-12-31 Vincent Belaïche <vincentb1@users.sourceforge.net>
2714 * lisp/ses.el (ses-check-curcell): Call `ses-set-curcell' unconditionally
2716 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2718 Clean up cairo printing code
2720 * src/gtkutil.c (xg_get_page_setup): Use listn.
2721 * src/xfns.c (Fx_export_frames, Fx_print_frames_dialog): Doc fix. Use
2722 decode_window_system_frame and FRAME_VISIBLE_P.
2723 (Fx_print_frames_dialog): Use redisplay_preserve_echo_area instead
2725 * src/xterm.c (x_cr_export_frames): Use redisplay_preserve_echo_area
2726 instead of Fdisplay. Temporarily unblock_input around QUIT.
2728 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2730 Move variables to inner loop, preparing for Mac port merge
2732 * src/keyboard.c (command_loop_1): Move variables `cmd',
2733 `keybuf', and `i' to inner loop.
2735 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2737 Add handle_user_signal_hook
2739 * src/keyboard.h (handle_user_signal_hook): New declaration.
2740 * src/keyboard.c (handle_user_signal_hook): New variable.
2741 (handle_user_signal): Call it.
2743 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2745 Avoid writing to purespace
2747 * src/alloc.c (Fmake_string): Don't write to empty string contents.
2748 (allocate_vector): Don't write to empty vector size.
2749 * src/character.h (CHECK_CHARACTER_CAR, CHECK_CHARACTER_CDR):
2750 Don't call unnecessary XSETCAR or XSETCDR.
2751 * src/lisp.h (STRING_SET_UNIBYTE, STRING_SET_MULTIBYTE): Don't
2752 write to empty string size_byte.
2754 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2756 Remove unused variable
2758 * lisp/international/mule-cmds.el: Remove unused variable
2759 `mac-system-coding-system'.
2761 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2763 * configure.ac: Find libxml2 headers in Xcode SDK dir on Darwin.
2765 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2767 Use posix_openpt instead of openpty on Darwin
2769 * configure.ac (PTY_ITERATION, FIRST_PTY_LETTER, PTY_OPEN)
2770 (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Remove
2771 Darwin-specific definitions. Use posix_openpt instead.
2773 2015-12-30 Shakthi Kannan <shakthimaan@gmail.com>
2775 Document support for ':documentation' in Lisp mode
2777 * lisp/emacs-lisp/lisp-mode.el (lisp-string-in-doc-position-p)
2778 (lisp-string-after-doc-keyword-p)
2779 (lisp-font-lock-syntactic-face-function): Add doc strings.
2781 2015-12-30 Shakthi Kannan <shakthimaan@gmail.com>
2783 Document new features of TeX mode
2785 * doc/emacs/text.texi (TeX Print): Document
2786 'tex-print-file-extension'.
2787 * doc/emacs/programs.texi (Misc for Programs): Document support
2788 for Prettify Symbols mode in TeX mode.
2790 2015-12-30 Eli Zaretskii <eliz@gnu.org>
2792 Clarify docs of hscroll in RTL text
2794 * doc/lispref/windows.texi (Horizontal Scrolling): Clarify the
2795 meaning of a window's horizontal scroll amount for RTL paragraphs.
2797 2015-12-30 Eli Zaretskii <eliz@gnu.org>
2799 Fix rendering of HTML pages that use character composition
2801 * src/indent.c (Fvertical_motion): Fix the case when point starts
2802 in the middle of a composition, as in shr-vertical-motion.
2805 2015-12-30 Eli Zaretskii <eliz@gnu.org>
2807 Avoid some compiler warnings in w32.c
2809 * src/w32.c (codepage_for_filenames, crlf_to_lf)
2810 (ansi_encode_filename, socket_to_fd, sys_write)
2811 (check_windows_init_file): Avoid compiler warnings about
2812 differences in pointer signedness.
2814 2015-12-30 Dmitry Gutov <dgutov@yandex.ru>
2816 Undo ill-advised change
2818 * lisp/progmodes/xref.el (xref-collect-matches): Undo
2819 ill-advised change. The hits come in the order that `find'
2820 produces them in, which isn't alphabetical.
2822 2015-12-30 Dmitry Gutov <dgutov@yandex.ru>
2824 Unbreak completion in python-mode buffers
2826 * lisp/progmodes/python.el (python-shell-completion-at-point):
2827 Unbreak in python-mode buffers.
2829 2015-12-29 Eli Zaretskii <eliz@gnu.org>
2831 Fix typos in CC Mode manual
2833 * doc/misc/cc-mode.texi (c-offsets-alist, Style Variables): Fix
2836 2015-12-29 Eli Zaretskii <eliz@gnu.org>
2838 Avoid assertion violations in compact_font_cache_entry
2840 * src/alloc.c (compact_font_cache_entry): Don't use VECTORP to
2841 avoid assertion violation in ASIZE. (Bug#22263)
2843 2015-12-29 Eli Zaretskii <eliz@gnu.org>
2845 Fix filling text with bidirectional characters in shr.el
2847 * lisp/net/shr.el (shr-insert-document): Bind
2848 bidi-display-reordering to nil while filling lines. This is
2849 required for when a line includes characters whose bidi
2850 directionality is opposite to the base paragraph direction,
2851 because columns are counted in the logical order. (Bug#22250)
2853 2015-12-29 Martin Rudalics <rudalics@gmx.at>
2855 * src/xfns.c (x_create_tip_frame): Process alpha parameter.
2857 2015-12-29 Michael Albinus <michael.albinus@gmx.de>
2859 Sync with Tramp 2.2.13
2861 * doc/misc/trampver.texi: Change version to "2.2.13.25.1".
2863 * lisp/net/tramp-compat.el (tramp-compat-delete-dups):
2864 Use `tramp-compat-funcall'.
2866 * lisp/net/tramp-gvfs.el (tramp-gvfs-parse-device-names):
2867 Make `split-string' call compatible with older Emacsen.
2869 * lisp/net/trampver.el: Change version to "2.2.13.25.1".
2871 2015-12-29 Lambda Coder <sjLambda@gmail.com>
2873 * doc/misc/tramp.texi: Editorial revisions to the Tramp manual
2875 2015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
2877 Mention that tls.el is secure by default, and will fail
2879 2015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
2881 Make tls.el use trustfiles by default
2883 * lisp/net/tls.el (tls-program): Add a certfile by default (bug#21227).
2884 (open-tls-stream): Insert the trustfile by looking at
2885 `gnutls-trustfiles'.
2887 2015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
2889 Refactor out gnutls-trustfiles
2891 * lisp/net/gnutls.el (gnutls-trustfiles): Refactor out for reuse by tls.el.
2893 2015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
2895 Remove --insecure from gnutls-cli invocation
2897 * tls.el (tls-program): Default to using secure TLS
2898 connections (bug#19284).
2900 2015-12-29 Paul Eggert <eggert@cs.ucla.edu>
2904 2015-12-29 Paul Eggert <eggert@cs.ucla.edu>
2906 Port report-emacs-bug to deterministic builds
2908 * lisp/mail/emacsbug.el (report-emacs-bug): Future-proof the
2909 recent "built on" change to deterministic builds where
2910 emacs-build-system will be nil. See:
2911 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg01369.html
2913 2015-12-29 Jose A. Ortega Ruiz <jao@gnu.org> (tiny change)
2915 Fix URL auth error message
2917 * lisp/url/url-http.el (url-http-handle-authentication): Make the error
2918 message more correct (bug#20069).
2920 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
2922 shr link traversal fixup
2924 * shr.el (shr-next-link): Don't bug out on adjacent links.
2928 (cherry picked from commit 1efc5f8b09273c359683ce13be95fb5df7a84311)
2930 2015-12-28 Tom Tromey <tom@tromey.com>
2932 set :safe on css-indent-offset
2934 * lisp/textmodes/css-mode.el (css-indent-offset): Add :safe 'integerp.
2936 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
2938 * eww.el (eww-mode): Remove superfluous bidi reset.
2940 2015-12-28 James Stout <james.wolf.stout@gmail.com> (tiny change)
2942 Make chunked encoding trailer detection more compliant
2944 * lisp/url/url-http.el
2945 (url-http-chunked-encoding-after-change-function): Make
2946 trailer detection more compliant (bug#16345).
2948 2015-12-28 Martin Rudalics <rudalics@gmx.at>
2950 Fix Bug#10873 in `report-emacs-bug'
2952 * lisp/mail/emacsbug.el (report-emacs-bug): If
2953 `report-emacs-bug-no-explanations' is nil, make sure we can show
2954 mail and warnings buffer on this frame (Bug#10873).
2956 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
2958 Always reset the bidi direction
2960 * eww.el (eww-display-html): Always reset the bidi direction
2961 to `left-to-right' (bug#22257).
2963 2015-12-28 Alan Mackenzie <acm@muc.de>
2965 Allow line comments ending with escaped NL to be continued to the next line.
2967 Use this in C, C++, and Objective C Modes. Fixes bug#22246
2969 * src/syntax.c (comment-end-can-be-escaped): New buffer local variable.
2970 (forw-comment, back-comment): On encountering an end of comment character,
2971 test whether it is escaped when `comment-end-can-be-escaped' is non-nil.
2973 * doc/lispref/syntax.texi (Control Parsing): Describe
2974 `comment-end-can-be-escaped'.
2976 * etc/NEWS (Lisp Changes): Describe `comment-end-can-be-escaped'.
2978 * lisp/progmodes/cc-langs.el: New c-lang-setvar `comment-end-can-be-escaped'.
2980 2015-12-28 Dmitry Gutov <dgutov@yandex.ru>
2982 Rename project-library-roots to project-external-roots
2984 * lisp/progmodes/project.el (project-library-roots): Rename to
2985 project-external-roots.
2986 (project-library-roots-function): Rename to
2987 project-vc-external-roots-function. Only use it in the VC
2988 backend, for now. Update project-external-roots accordingly.
2989 (project-vc-library-roots): Remove.
2990 (project-or-libraries-find-regexp):
2991 Rename to project-or-external-find-regexp.
2993 * lisp/progmodes/elisp-mode.el (elisp-library-roots):
2994 Rename to elisp-load-path-roots.
2996 * lisp/progmodes/etags.el (etags-library-roots): Remove. Use
2997 an anonymous function for the default value of
2998 project-vc-external-roots-function.
3000 2015-12-27 Deniz Dogan <deniz@dogan.se>
3002 Clear erc user list upon disconnection
3004 * lisp/erc/erc-backend.el (erc-process-sentinel): Clear channel user
3005 lists upon disconnection. This prevents invalid channel
3006 user lists when reconnecting (bug#10947).
3008 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3010 Don't bug out in erc after waking from sleep
3012 * lisp/erc/erc-backend.el (erc-server-send-ping): If the server has
3013 closed connection, this may already have been detected and
3014 `erc-server-last-received-time' has been set to nil (bug#13608).
3016 2015-12-27 David Edmondson <dme@dme.org>
3018 Proxy error in erc with multiple clients
3020 * lisp/erc/erc.el (erc-channel-receive-names): Fix errors
3021 generated when multiple IRC clients talk to a single IRC proxy
3026 (cherry picked from commit 507e98a54d1aa37823c64993d6b59257a82fe8f4)
3028 2015-12-27 Dima Kogan <dima@secretsauce.net>
3030 Ensure that we don't have several timers in erc
3032 * lisp/erc/erc-backend.el (erc-server-setup-periodical-ping): Checks
3033 for existing timers in the alist before adding new ones. If a
3034 timer already exists, it is cancelled and
3035 overwritten. (bug#19292).
3037 2015-12-27 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
3039 Fix mml-sec build warnings
3041 * lisp/gnus/mml-sec.el: Fix warnings by adding autoloads
3046 (cherry picked from commit 3603097f62f5f4aa5451716e9ac380161f6829e2)
3048 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3050 Don't insert erc logs at the end
3052 * lisp/erc/erc-log.el (erc-log-setup-logging): Insert the previous log
3053 at the start of the buffer, not at the end (bug#20496).
3055 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3057 (eww-setup-buffer): Restore left-to-right defaults
3059 * eww.el (eww-setup-buffer): Restore left-to-right defaults.
3063 (cherry picked from commit 96c874b96b617c124d500a94de761a61f2a08685)
3065 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3067 Don't join erc channels doubly
3069 * lisp/erc/erc-join.el (erc-autojoin-channels): Don't join channels
3070 more than once (if you have several nicks) (bug#20695).
3072 2015-12-27 Eli Zaretskii <eliz@gnu.org>
3074 Avoid leaving "ghost" of mouse pointer on MS-Windows
3076 * src/w32term.c (frame_set_mouse_pixel_position):
3077 * src/w32fns.c (Fw32_mouse_absolute_pixel_position): Momentarily
3078 disable "mouse trails" when moving the mouse pointer. (Bug#22247)
3079 * src/w32term.c (frame_set_mouse_pixel_position): Include
3082 2015-12-27 Krzysztof Jurewicz <krzysztof.jurewicz@gmail.com> (tiny change)
3084 Fix auth source lookups from erc with port numbers
3086 * lisp/erc/erc.el (erc-open): `auth-source' wants strings, not port
3087 numbers (bug#20541).
3089 2015-12-27 Fran Litterio <flitterio@gmail.com>
3091 Run erc-kill-channel-hook always on exit
3093 * lisp/erc/erc.el (erc-kill-buffer-function): Run erc-kill-channel-hook
3094 when erc-kill-queries-on-quit is set (bug#21187).
3096 2015-12-27 Paul Eggert <eggert@cs.ucla.edu>
3100 * test/automated/url-parse-tests.el:
3101 (url-generic-parse-url/same-document-reference):
3102 Rename from url-generic-parse-url/same-decument-reference.
3104 2015-12-27 Paul Eggert <eggert@cs.ucla.edu>
3106 Reword initial *scratch* for brevity, appearance
3108 * lisp/startup.el (initial-scratch-message):
3109 Reword to avoid apostrophes, and to make it shorter.
3110 See the thread starting in:
3111 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg01241.html
3113 2015-12-26 Leo Liu <sdl.web@gmail.com>
3115 Add ert-deftest to lisp-mode.el
3117 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression,
3118 lisp-el-font-lock-keywords-1): Add ert-deftest.
3120 2015-12-26 Lars Ingebrigtsen <larsi@gnus.org>
3122 Mark imap changes as not needing doc changes
3124 * lisp/net/imap.el (imap-ssl-open): Remove
3126 2015-12-26 Lars Ingebrigtsen <larsi@gnus.org>
3128 Use built-in encryption in imap.el
3130 * lisp/net/imap.el (imap-ssl-program): Remove (bug#21134).
3131 (imap-starttls-open): Use open-network-stream instead of starttls.el.
3132 (imap-tls-open): Use open-network-stream instead of tls.el.
3134 2015-12-26 Eli Zaretskii <eliz@gnu.org>
3136 Don't try using /bin/sh in artist.el on MS-Windows
3138 * lisp/textmodes/artist.el (artist-figlet-get-font-list-windows):
3140 (artist-figlet-choose-font): Use it on MS-Windows and MS-DOS.
3143 2015-12-26 Wolfgang Jenkner <wjenkner@inode.at>
3145 Always define gmalloc etc. in src/gmalloc.c
3147 This is a work-around to prevent the compiler from using semantic
3148 knowledge about malloc for optimization purposes. E.g., gcc 5.2
3149 with -O2 replaces most of calloc's definition by a call to calloc;
3151 * src/gmalloc.c [!HYBRID_MALLOC] (malloc, realloc, calloc)
3152 (aligned_alloc, free): Do not undef. Instead, define these as
3153 functions (perhaps renamed to gmalloc etc.) in terms of gmalloc etc.
3155 2015-12-26 Eli Zaretskii <eliz@gnu.org>
3157 Fix documentation of browse-url browser-related functions
3159 * lisp/net/browse-url.el (browse-url)
3160 (browse-url-default-browser, browse-url-default-windows-browser)
3161 (browse-url-default-macosx-browser, browse-url-chromium)
3162 (browse-url-kde, browse-url-text-xterm): Clarify the usage of ARGS
3163 and NEW-WINDOW arguments in these functions. (Bug#19421)
3165 2015-12-26 Paul Eggert <eggert@cs.ucla.edu>
3167 Propagate Bug#14412 fix to backtrace_eval_unrewind
3169 * src/eval.c (unbind_to): Redo so that the FALLTHROUGH!! comment
3170 becomes accurate again. This shouldn’t affect behavior.
3171 (backtrace_eval_unrewind): Apply the recent unbind_to fix here, too.
3173 2015-12-26 Eli Zaretskii <eliz@gnu.org>
3175 Don't produce non-ASCII characters in *scratch*
3177 * lisp/startup.el (initial-scratch-message): Quote apostrophes to
3178 avoid producing non-ASCII characters in the *scratch* buffer's
3181 2015-12-26 Eli Zaretskii <eliz@gnu.org>
3183 Document changes in 'compare-windows'
3185 * lisp/vc/compare-w.el (compare-windows-removed)
3186 (compare-windows-added): Doc fix.
3188 * doc/emacs/files.texi (Comparing Files): Document the changes in
3189 window selection by 'compare-windows'.
3191 2015-12-26 Eli Zaretskii <eliz@gnu.org>
3193 Document 'vc-annotate-background-mode'
3195 * doc/emacs/maintaining.texi (Old Revisions): Document
3196 'vc-annotate-background-mode'.
3198 2015-12-26 Eli Zaretskii <eliz@gnu.org>
3200 Document 'vc-region-history'
3202 * doc/emacs/maintaining.texi (VC Change Log): Document
3203 'vc-region-history'.
3205 2015-12-26 Eli Zaretskii <eliz@gnu.org>
3207 Improve documentation of 'vc-push'
3209 * doc/emacs/maintaining.texi (Pulling / Pushing): Expand and
3210 improve the documentation of 'vc-push'.
3212 * lisp/vc/vc.el (vc-pull, vc-push): Doc fix.
3214 2015-12-26 Alain Schneble <a.s@realize.ch>
3216 Include the tests for the URL parsing fixes
3218 2015-12-26 Alain Schneble <a.s@realize.ch>
3220 Make relative URL parsing and resolution consistent with RFC 3986 (bug#22044)
3222 * test/automated/url-parse-tests.el: Add tests covering url-generic-parse-url.
3223 * test/automated/url-expand-tests.el: Add tests covering url-expand-file-name.
3224 * lisp/url/url-parse.el (url-generic-parse-url): Keep empty fragment
3225 information in URL-struct.
3226 * lisp/url/url-parse.el (url-path-and-query): Do not artificially turn empty
3227 path and query into nil path and query, respectively.
3228 * lisp/url/url-expand.el (url-expander-remove-relative-links): Do not turn
3229 empty path into an absolute ("/") path.
3230 * lisp/url/url-expand.el (url-expand-file-name): Properly resolve
3231 fragment-only URIs. Do not just return them unchanged.
3232 * lisp/url/url-expand.el (url-default-expander): An empty path in the relative
3233 reference URI should not drop the last segment.
3237 (cherry picked from commit b792ecea1715e080ad8e232d3d154b8a25d2edfb)
3239 2015-12-26 Eli Zaretskii <eliz@gnu.org>
3241 Document 'url-user-agent'.
3243 * lisp/url/url-http.el (url-user-agent): Move from here...
3244 * lisp/url/url-vars.el (url-user-agent): ...to here. This is to
3245 keep all the URL defcustoms in one place, and also have it defined
3246 whenever the URL library is loaded.
3248 * doc/misc/url.texi (Customization): Document 'url-user-agent'.
3250 2015-12-26 Eli Zaretskii <eliz@gnu.org>
3252 Document protocols supported by URL library via Tramp
3254 * doc/misc/url.texi (Tramp): New node, describes the URL schemes
3255 supported via Tramp.
3256 (Supported URL Types, file/ftp, rlogin/telnet/tn3270): Mention
3259 2015-12-26 Eli Zaretskii <eliz@gnu.org>
3261 Document changes in Shell-script mode
3263 * lisp/progmodes/sh-script.el (sh-mode, sh-set-shell): Document
3264 the 'sh-shell' file-local variable.
3265 (top level): Add an auto-load form to avoid byte-compiler warning
3266 about 'comint-send-string'.
3268 2015-12-26 Eli Zaretskii <eliz@gnu.org>
3270 Fix documentation of 'ses-define-local-printer'
3272 * doc/misc/ses.texi (Printer functions): Fix whitespace between
3273 sentences and punctuation. Add an index entry for
3274 'ses-define-local-printer'.
3276 2015-12-26 Shakthi Kannan <shakthimaan@gmail.com>
3278 Document 'ert-summarize-tests-batch-and-exit'
3280 * doc/misc/ert.texi (Running Tests in Batch Mode): Document
3281 'ert-summarize-tests-batch-and-exit'.
3283 2015-12-26 Eli Zaretskii <eliz@gnu.org>
3285 Avoid assertion violation in unbind_to
3287 * src/eval.c (unbind_to) <SPECPDL_LET>: Avoid assertion violation
3288 if we get here with an object that is not a symbol. (Bug#14412)
3290 2015-12-25 Andreas Schwab <schwab@linux-m68k.org>
3292 Don't treat /foo/bar:mumble as ange-ftp address
3294 * lisp/net/browse-url.el (browse-url-filename-alist): Match colons
3295 only in the first component. (bug#5362)
3297 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3299 Follow <meta> redirects in eww
3301 Merge conflict, but I think I resolved it.
3303 Follow meta refresh tags in eww
3305 * eww.el (eww-tag-meta): Follow meta refresh tags (bug#22234).
3309 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3311 Allow http://user:pass@foo/ URLs again
3313 * lisp/url/url-auth.el (url-basic-auth): Allow explicit
3314 user/passwords in URLs (bug#19046).
3318 (cherry picked from commit b563715a2db265517d5a77f165a42afa1e233fdd)
3320 2015-12-25 Samer Masterson <samer@samertm.com>
3322 Autoload url-insert-buffer-contents
3324 * lisp/url/url-handlers.el: Add autoload cookie so that
3325 `package-list-packages' doesn't bug out (bug#21927) (tiny change)
3329 (cherry picked from commit 7a7b5b492ff9929eecd90c4564db6fbf3b192323)
3331 2015-12-25 Eli Zaretskii <eliz@gnu.org>
3333 Make sure *scratch* etc. use forward slashes in its default-directory
3335 * lisp/startup.el (normal-top-level): On MS-Windows, convert
3336 backslashes to forward slashes while decoding default-directory
3337 of the initially-created buffers.
3339 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3341 More eww file name coding fixes
3343 * eww.el (eww-decode-url-file-name): Use the base coding
3344 system to check for encodability.
3348 (cherry picked from commit a8627008abe4ab339df19b417776da28b3ce0fc7)
3350 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3352 Always save eww history
3354 * eww.el (eww-setup-buffer): Always save history, even when
3355 called from outside the eww buffer (bug#19638).
3359 (cherry picked from commit 2a0f18d9b6ce0ccce3d9c4a4a3b5743bae71b41e)
3361 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3363 Default web pages to right-to-left
3365 * eww.el (eww-mode): Most web pages are left-to-right, so make
3366 that the default (bug#19801).
3368 * shr.el (shr-tag-html): Respect "dir" attributes
3369 (left-to-right, right-to-left).
3373 (cherry picked from commit 9e089ec8a380ec3758fcf1564c5f86dc92c68c2a)
3375 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3377 Make toggling checkboxes work again
3379 * eww.el (eww-update-field): Make toggling checkboxes work
3384 (cherry picked from commit 5e56f606952e5e81b4d3a93ea70e791b74b33041)
3386 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3388 Don't store cookies with empty names
3390 * lisp/url/url-cookie.el (url-cookie-store): Refuse to store
3391 cookies with empty names (bug#21936).
3395 (cherry picked from commit 9f0fd7cb1aec3eb9e2e0f7b8854c30870286d96c)
3397 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3399 Stop rendering HTML before specdlr exhaustion
3403 * shr.el (shr-descend): Stop rendering before we run out of
3404 specpdl room (bug#22117).
3408 (cherry picked from commit 248da292fe46224b0b5a79b632c89cf4de2c2081)
3410 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3412 Use cl-reduce, not reduce.
3416 (cherry picked from commit fe4606f93b91ff3d046aee0cf21ecc277af7a786)
3418 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3420 Allow several <tbody> tags in shr
3422 * shr.el (shr-table-body): New function to find the real body
3424 (shr-tag-table): Use it to render several <tbody> tags in a
3429 (cherry picked from commit cdaf33029d6620073833876d76056045ecfbc7c4)
3431 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3433 Make prettier unique file names in eww
3435 (eww-make-unique-file-name): Make unique file names by making
3436 files like foo(2).jpg instead of foo(1)(2).jpg.
3440 (cherry picked from commit edfdd0a6cbdfa9e5e4bd0553e2b489401ca39266)
3442 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3444 Decode hex-encoded URLs before using them as file names
3446 * eww.el (eww-decode-url-file-name): New function.
3447 (eww-download-callback): Use it to decode file names before
3452 (cherry picked from commit af22a010d87516c2a646572fb27512c03057784f)
3454 2015-12-25 Ashish SHUKLA <ashish.is@lostca.se>
3456 Add FreeBSD cert bundle
3458 * doc/misc/emacs-gnutls.texi (Help For Users): Document
3461 * lisp/net/gnutls.el (gnutls-trustfiles): Add FreeBSD cert bundle.
3465 (cherry picked from commit 60c0f1a18ad88d6dc1a8f4ee5d9d18940eaeb6f7)
3467 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3469 Ignore invalid SVG images
3471 * shr.el (shr-tag-svg): Ignore SVG images that have no width
3472 or height, because these can't be displayed by ImageMagick,
3477 (cherry picked from commit 821107d53c2e390240d25c036b99ebbf9b4a93b6)
3479 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3481 shr table rendering fix
3483 * shr.el (shr-tag-table): Allow rendering body-less tables
3488 (cherry picked from commit b05471e42c17e02c56c87d7599ada0c124a5fe09)
3490 2015-12-25 Eli Zaretskii <eliz@gnu.org>
3492 Restore info about the build host in bug reports
3494 * lisp/mail/emacsbug.el (report-emacs-bug): Report the system on
3495 which Emacs was built. This is important information for
3496 investigating bug reports reported by users who don't build their
3499 2015-12-25 Eli Zaretskii <eliz@gnu.org>
3501 Fix bootstrap broken by changes related to OS X file-name encoding
3503 * lisp/international/ucs-normalize.el (eval-when-compile): Make
3504 sure char-code-property-alist includes elements that allow access
3505 to 'decomposition' and 'canonical-combining-class' Unicode
3506 properties, as compiling ucs-normalize.el requires that.
3507 * lisp/loadup.el (featurep 'ns): Load ucs-normalize and ns-win
3508 only of charprop.el was already loaded.
3510 * src/Makefile.in ($(lispsource)/international/ucs-normalize.elc):
3511 New order-only dependency.
3513 2015-12-25 Leo Liu <sdl.web@gmail.com>
3515 * lisp/ido.el (ido-add-virtual-buffers-to-list): Use bookmark-get-filename.
3517 2015-12-25 Michael Albinus <michael.albinus@gmx.de>
3519 Make tramp-test29-vc-registered more robust
3521 * test/automated/tramp-tests.el (tramp-test29-vc-registered):
3522 Move `bzr' case down. Skip test when `vc-create-repo' fails.
3523 Remove instrumentation.
3525 2015-12-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3527 * lisp/term/x-win.el (x-gtk-stock-map): Fix typo.
3529 2015-12-24 Katsumi Yamaoka <yamaoka@jpl.org>
3531 Fix `gnus-union' so as to behave like `cl-union'
3533 * lisp/gnus/gnus-group.el (gnus-group-prepare-flat):
3534 Make gnus-union use `equal' to compare items in lists.
3536 * lisp/gnus/gnus-util.el (gnus-union):
3537 Make it behave like cl-union partially.
3539 2015-12-23 Paul Eggert <eggert@cs.ucla.edu>
3541 Fix dired.c typo with ptrdiff_t vs Lisp_Object
3543 * src/dired.c (file_name_completion): Don't assume Lisp_Object is
3544 an integer type, fixing a problem introduced in the recent fix for
3547 2015-12-23 Eli Zaretskii <eliz@gnu.org>
3549 Document default process sentinel more prominently
3551 * doc/lispref/processes.texi (Asynchronous Processes): Mention the
3552 defaults for process filter and sentinel. Provide cross-references.
3553 (Process Information): Provide cross-references to where filters
3554 and sentinels are described.
3555 (Filter Functions): Add an index entry for "default filter".
3556 (Sentinels): Add a few status messages not documented previously.
3557 Resolve the "killed" confusion. Document and describe the default
3558 sentinel. (Bug#22220)
3560 2015-12-23 Eli Zaretskii <eliz@gnu.org>
3562 Fix file-name completion on OS X
3564 * src/dired.c (file_name_completion): Reject false matches due to
3565 file-name-coding-systems that decompose characters when encoding
3566 file names, by comparing decoded file names as well. (Bug#22169)
3567 (syms_of_dired) <Qdecomposed_characters>: New DEFSYM.
3569 * lisp/international/ucs-normalize.el (utf-8-hfs): Give it a
3570 non-nil 'decomposed-characters' property.
3572 2015-12-23 Anders Lindgren <andlind@gmail.com>
3574 File-name completion of non-ASCII characters on OS X (bug#22169)
3576 The coding system `utf-8-nfd', locally defined in ns-win.el,
3577 didn't provide a :pre-write-conversion method, causing file name
3578 completion of non-ASCII characters to fail. Solved by using the
3579 `utf-8-hfs' coding system provided by `ucs-normalize'.
3581 * lisp/loadup.el: Load international/ucs-normalize (when building
3584 * lisp/term/ns-win.el (utf-8-nfd): Made `utf-8-nfd' as alias for
3585 `utf-8-hfs' and removed the old implementation. Set `utf-8-hfs'
3586 as the file name coding system.
3588 * src/nsfns.m (ns-convert-utf8-nfd-to-nfc): Removed.
3590 2015-12-23 Tom Tromey <tom@tromey.com>
3592 Fix bug #18588 by making bug-reference-bug-regexp more lenient
3594 * lisp/progmodes/bug-reference.el (bug-reference-bug-regexp): Accept
3595 "bug NNNN". (Bug #18588)
3597 2015-12-23 Tom Tromey <tom@tromey.com>
3599 add some cl-* aliases to lisp-mode imenu
3601 * (lisp-imenu-generic-expression): Add cl-define-compiler-macro,
3602 cl-defgeneric, and cl-defmethod.
3604 2015-12-22 Tom Tromey <tom@tromey.com>
3606 Make a variable buffer-local
3608 * lisp/generic-x.el (generic-rul-mode-setup-function): Make
3609 font-lock-syntax-table buffer-local. (Bug #21627)
3611 2015-12-22 Eli Zaretskii <eliz@gnu.org>
3613 Fix decoding of text in URLs retrieved by EWW
3615 * lisp/net/eww.el (eww-render): Pass 'charset' to
3616 'eww-display-raw'. Use the value of 'last-coding-system-used', if
3617 non-nil, to set 'buffer-file-coding-system' of the buffer where we
3619 (eww-display-html, eww-display-raw): Decode the text correctly,
3620 using the charset found in the headers, and defaulting to UTF-8.
3621 If the user told us to use a specific encoding, override the
3622 charset from the headers. (Bug#22222)
3624 2015-12-22 Alan Mackenzie <acm@muc.de>
3626 Fix a coding error in c-forward-<>-arglist-recur. Fixes bug#22156
3628 * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): Remove unused
3630 After a failed search for a matching ">", restore point before continuing.
3632 2015-12-22 Michael Albinus <michael.albinus@gmx.de>
3634 Instrument Tramp tests
3636 * test/automated/tramp-tests.el (tramp-test29-vc-registered)
3637 (tramp--test-utf8): Instrument tests.
3639 2015-12-22 Martin Rudalics <rudalics@gmx.at>
3641 Fix `display-buffer' call in `display-message-or-buffer' (Bug#22221)
3643 * lisp/simple.el (display-message-or-buffer): Call
3644 `display-buffer' with ACTION instead of NOT-THIS-WINDOW
3647 2015-12-22 Juri Linkov <juri@linkov.net>
3649 * lisp/saveplace.el (toggle-save-place, save-place-to-alist)
3651 (save-places-to-alist, save-place-dired-hook):
3652 Check for dired-subdir-alist. (Bug#19851)
3654 2015-12-21 Paul Eggert <eggert@cs.ucla.edu>
3656 Add FIXME comment re stack overflow and modules
3658 2015-12-21 Paul Eggert <eggert@cs.ucla.edu>
3660 Revert some recent emacs-module commentary
3662 Most of the recently-added commentary was incorrect, due to the
3663 possibility of stack overflow.
3665 2015-12-21 Paul Eggert <eggert@cs.ucla.edu>
3667 Spelling fix: prefer "cooperate" to "co-operate"
3669 2015-12-21 Paul Eggert <eggert@cs.ucla.edu>
3671 Port undo fixes to -fno-common
3673 Port recent fix for Bug#21968 to platforms like 'gcc -fno-common'.
3674 * src/keyboard.c, src/keyboard.h (point_before_last_command_or_undo)
3675 (buffer_before_last_command_or_undo):
3676 Declare in keyboard.h, and define in keyboard.c,
3677 instead of assuming the traditional Unix relaxed ref-def linkage.
3679 2015-12-20 Philipp Stephani <phst@google.com>
3681 Improve commentary for emacs-module.c
3683 * src/lisp.h: Document emacs-module.c assumptions about EQ and NILP.
3684 * src/emacs-module.c (module_non_local_exit_get): Document that we
3685 cannot use the current implementation.
3686 (module_is_not_nil, module_eq): Document assumptions about EQ and
3689 2015-12-20 Michael Albinus <michael.albinus@gmx.de>
3691 Suppress test on Mac OS X
3693 * test/automated/tramp-tests.el (tramp--test-darwin-p): New defun.
3694 (tramp--test-utf8): Use it.
3696 2015-12-20 Alan Mackenzie <acm@muc.de>
3698 Merge branch 'scratch/follow' into emacs-25
3700 This allows Isearch, etc., to work well when Follow Mode is active.
3702 2015-12-19 Michael Albinus <michael.albinus@gmx.de>
3704 * lisp/net/tramp-sh.el (tramp-get-ls-command-with-w-option): Improve check.
3706 2015-12-19 Eli Zaretskii <eliz@gnu.org>
3710 * doc/emacs/rmail.texi (Rmail Deletion): Document new behavior of 'u'
3711 with numeric argument.
3713 2015-12-19 Eli Zaretskii <eliz@gnu.org>
3715 Document new features of Rmail
3717 * doc/emacs/rmail.texi (Rmail Summary Edit, Rmail Deletion):
3718 Document new behavior of 'd' and 'C-d' with numeric argument.
3719 (Rmail Display): Document the rendering of HTML MIME parts.
3721 2015-12-19 Eli Zaretskii <eliz@gnu.org>
3723 Improve documentation of new cl-lib functions
3725 * doc/misc/cl.texi (Predicates on Numbers, Numerical Functions):
3728 2015-12-19 Eli Zaretskii <eliz@gnu.org>
3730 Document the new feature of 'minibuffer-with-setup-hook'
3732 * lisp/files.el (minibuffer-with-setup-hook): Clarify how FUN is
3733 added to `minibuffer-setup-hook'.
3735 2015-12-19 Eli Zaretskii <eliz@gnu.org>
3737 Document new features of Font Lock
3739 * doc/lispref/modes.texi (Other Font Lock Variables): Document
3740 'font-lock-flush-function' and 'font-lock-ensure-function'.
3741 (Font Lock Basics): Document the basic fontification functions
3742 referenced in "Other Font Lock Variables".
3744 * lisp/font-lock.el (font-lock-flush, font-lock-ensure): Doc fix.
3746 2015-12-19 Eli Zaretskii <eliz@gnu.org>
3748 Document new features of Rectangle mode
3750 * doc/emacs/killing.texi (Rectangles): Document "C-x C-x" in
3751 rectangle-mark-mode.
3753 2015-12-19 Eli Zaretskii <eliz@gnu.org>
3755 Manual followup to last change
3757 * doc/lispref/display.texi (Displaying Messages): Sync with the
3758 doc string. (Bug#22210)
3760 2015-12-19 Eli Zaretskii <eliz@gnu.org>
3762 Clarify doc string of 'display-message-or-buffer'
3764 * lisp/simple.el (display-message-or-buffer): Doc fix. Suggested
3765 by Sebastian Wiesner <swiesner@lunaryorn.com>. (Bug#22210)
3767 2015-12-19 Eli Zaretskii <eliz@gnu.org>
3769 * doc/emacs/emacs.texi (Top): Update top-level menus.
3771 * doc/lispref/elisp.texi (Top): Update top-level menus.
3773 2015-12-19 Eli Zaretskii <eliz@gnu.org>
3775 Document how to avoid file-local variables that aren't
3777 * doc/emacs/custom.texi (Specifying File Variables): Describe how
3778 to prevent Emacs from interpreting unrelated text as file-local
3779 variables. (Bug#22166)
3781 2015-12-19 Dave Thomas <dave@pragprog.org> (tiny change)
3783 Fix a typo in eterm-color's termcap entry
3785 * lisp/term.el (term-termcap-format): Fix a typo in the "ue="
3788 2015-12-19 Eli Zaretskii <eliz@gnu.org>
3790 Allow 'browse-url-emacs' visit non-existent URLs
3792 * lisp/url/url-handlers.el (url-insert-file-contents): Don't
3793 signal an error if VISIT is non-nil, to more faithfully emulate
3794 the behavior of 'insert-file-contents'. (Bug#22160)
3796 2015-12-19 Paul Eggert <eggert@cs.ucla.edu>
3798 Remove SunOS 4.x cruft
3800 Support for SunOS 4.x was removed in Emacs 23 but some cruft was left behind.
3801 * lib-src/pop.c [sun]: Remove no-longer-needed include.
3802 * lwlib/xlwmenu.c (SUNSO41): Remove.
3804 2015-12-19 Paul Eggert <eggert@cs.ucla.edu>
3808 This mostly commentary fixes.
3809 * doc/misc/texinfo.tex, lib/intprops.h: Copy from gnulib.
3810 * lib/gnulib.mk: Regenerate with new gnulib-tool.
3812 2015-12-18 Michael Albinus <michael.albinus@gmx.de>
3814 Minor fixes in Tramp
3816 * lisp/net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3817 Reorder ls arguments.
3819 * lisp/net/tramp.el (tramp-dissect-file-name): Fix docstring.
3821 2015-12-18 Michael Albinus <michael.albinus@gmx.de>
3823 Make tramp a built-in package
3825 * lisp/finder.el (finder-compile-keywords): Update
3826 `package--builtins' also when Version: keyword is available.
3828 * lisp/net/trampver.el: Add Version: keyword.
3829 (tramp-version): Change it to "2.2.13.25.1", in order to be
3830 compatible with `version-to-list'.
3832 2015-12-18 Lele Gaifax <lele@metapensiero.it>
3834 * etc/tutorials/TUTORIAL.it: Update and fix typos.
3836 2015-12-18 Alan Mackenzie <acm@muc.de>
3838 Rename `recenter-group' to `recenter-window-group'
3840 * doc/lispref/windows.texi (Textual Scrolling)
3841 * lisp/window.el (top level, recenter-group)
3842 * lisp/follow.el (follow-mode)
3843 * lisp/isearch.el (isearch-back-into-window): Rename `recenter-group' to
3844 `recenter-window-group' and `recenter-group-function' to
3845 `recenter-window-group-function'.
3847 2015-12-18 Eli Zaretskii <eliz@gnu.org>
3849 Fix vertical-motion in tabulated-list mode
3851 * src/indent.c (Fvertical_motion): When moving from line beginning
3852 to point under line truncation, assume overshoot by one line only
3853 if point actually lies beyond the window's right margin.
3856 2015-12-18 Martin Rudalics <rudalics@gmx.at>
3858 Don't have help functions call x-display-pixel-width/-height on ttys
3860 * lisp/help.el (temp-buffer-max-height, temp-buffer-max-width):
3861 Don't call x-display-pixel-width/-height on ttys.
3863 2015-12-18 Dmitry Gutov <dgutov@yandex.ru>
3865 Use 'hg id' in vc-hg-previous-revision
3867 * lisp/vc/vc-hg.el (vc-hg-previous-revision):
3868 Use 'hg id' to retrieve it (bug#22032).
3870 2015-12-17 Alan Mackenzie <acm@muc.de>
3872 * lisp/follow.el (follow-sit-for): Remove (it's redundant).
3874 2015-12-17 Eli Zaretskii <eliz@gnu.org>
3876 Fix a typo in the Emacs manual
3878 * doc/emacs/trouble.texi (Sending Patches): Fix a typo. Reported
3879 by Lele Gaifax <lele@metapensiero.it>. (Bug#22193)
3881 2015-12-17 Eli Zaretskii <eliz@gnu.org>
3883 Fix parsing netrc entries with ports
3885 * lisp/gnus/auth-source.el (auth-source-ensure-strings): Don't
3886 make a list out of 't'. (Bug#22188)
3888 * test/automated/auth-source-tests.el
3889 (auth-source-test-netrc-parse-entry): New test.
3891 2015-12-17 Paul Eggert <eggert@cs.ucla.edu>
3893 Fix typo in Doug Lea malloc configure log
3895 * configure.ac (emacs_cv_var_doug_lea_malloc):
3896 Fix typo that confused the log output of 'configure'.
3898 2015-12-16 Nicolas Petton <nicolas@petton.fr>
3900 * etc/NEWS: Mention the new pcase patterns `seq' and `map'.
3902 2015-12-16 Alan Mackenzie <acm@muc.de>
3904 * etc/NEWS: Move entry on pcase to correct section
3906 (Accidentally omitted from previous commit)
3908 2015-12-16 Alan Mackenzie <acm@muc.de>
3910 Add documentation for changes to Show Paren mode.
3912 * lisp/paren.el (show-paren-highlight-openparen): Enhance doc string.
3914 * doc/emacs/programs.texi (Matching): Add descriptions of some pertinent user
3915 options, including the new show-paren-when-point-inside-paren and
3916 show-paren-when-point-in-periphery.
3918 * etc/NEWS (.. Specialized Modes ...): Add an entry for Show Paren mode.
3919 Move an entry on pcase to the Lisp Changes section.
3921 2015-12-16 Eli Zaretskii <eliz@gnu.org>
3923 Document Eldoc changes
3925 * doc/emacs/programs.texi (Lisp Doc): Document Global Eldoc mode.
3927 2015-12-16 Eli Zaretskii <eliz@gnu.org>
3929 Fix invocation of Python and Guile interpreters from gdb-mi
3931 * lisp/progmodes/gdb-mi.el (gdb-control-commands-regexp): Add
3932 commands for interactive Python and Guile interpreters.
3933 (gdb-send): Recognize various ways of exiting from Python and
3934 Guile interpreters and returning to GDB. For details, see
3935 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00693.html
3936 and http://stackoverflow.com/questions/31514741.
3938 2015-12-16 Paul Eggert <eggert@cs.ucla.edu>
3940 Remove attempt to use C11 threads
3942 C11 threads are not needed for Emacs now, and their use is causing
3943 hassles on FreeBSD 10.x. Problem reported by Ashish SHUKLA in:
3944 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00648.html
3945 * configure.ac: Do not check for C11 threads. Remove unnecessary
3946 fiddling with CPPFLAGS when configuring pthreads.
3947 * src/emacs-module.c (main_thread, check_main_thread)
3948 (module_init): Do not worry about C11 threads.
3950 2015-12-15 Michael Albinus <michael.albinus@gmx.de>
3952 Set utf8 encoding with stty in Tramp
3954 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3955 Move up uname check. Handle Mac OS X eol encoding. Set utf8
3958 2015-12-15 Alan Mackenzie <acm@muc.de>
3960 Tidy up documentation associated with window groups.
3962 * doc/lispref/windows.texi (Basic Windows): Add an @anchor for "Window
3963 Groups". Correct example function to `window-group-start'.
3964 (Window Start and End, Textual scrolling): Point to the new anchor. State
3965 that (most of) the args in window group functions have the same meaning as for
3966 the corresponding window primitives.
3968 * doc/lispref/positions.texi (Screen Lines). Same as above.
3970 2015-12-15 Michael Albinus <michael.albinus@gmx.de>
3972 Complete last commit
3974 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3975 Move uname check up. Handle Mac OS X eol encoding.
3977 2015-12-15 Michael Albinus <michael.albinus@gmx.de>
3979 Handle Mac OS X eol encoding in Tramp
3981 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3982 Handle Mac OS X eol encoding.
3984 2015-12-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3986 Fix variable name typo in compute_tip_xy
3988 * src/w32fns.c (compute_tip_xy):
3989 * src/xfns.c (compute_tip_xy): Modify *root_x instead of *root_y
3990 when `right' is integer.
3992 2015-12-14 foudfou <foudil.newbie+git@gmail.com>
3994 * lisp/ibuffer.el: Add ability to (un-)mark or delete buffers in the region.
3996 2015-12-14 Tassilo Horn <tsdh@gnu.org>
3998 Revert "Fix rx matcher overflow without limiting"
4000 This reverts commit fe27e037663d36be3e5741c2ce86ab4ee8017db1.
4002 2015-12-14 Alan Mackenzie <acm@muc.de>
4004 Ispell: Bind isearch-regexp-function to nil around call to isearch..-new-loop
4006 * lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay): bind
4007 isearch-regexp-function to nil around call to isearch-lazy-highligh-new-loop.
4009 2015-12-14 Tassilo Horn <tsdh@gnu.org>
4011 Fix rx matcher overflow without limiting
4013 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Improve last
4014 change to the regexp without imposing a limit on the length of the
4017 2015-12-14 Alan Mackenzie <acm@muc.de>
4019 Enhance ispell-skip-region-alist by generating part of it at runtime.
4021 * lisp/textmodes/ispell.el (ispell--\\w-filter, ispell--make-\\w-expression)
4022 (ispell--make-filename-or-URL-re): New functions which generate a regexp.
4023 (ispell-skip-region-alist): Remove the bit that matches a filename/URL, etc.
4024 (ispell-begin-skip-region-regexp, ispell-skip-region-list, ispell-message):
4025 Include the result of ispell--make-filename-or-URL-re in regexps.
4027 2015-12-14 Glenn Morris <rgm@gnu.org>
4029 * build-aux/gitlog-to-emacslog: Ignore more pointless merge commits.
4031 2015-12-14 Alan Mackenzie <acm@muc.de>
4033 Replace GROUP argument in six window primitives by new functions.
4035 * doc/lispref/windows.texi (Window Start and End, Textual Scrolling)
4036 * doc/lispref/positions.texi (Screen Lines): Remove optional GROUP argument
4037 from description of six window functions. Add in description of new functions
4038 window-group-start, window-group-end, set-window-group-start,
4039 pos-visible-in-window-group-p, recenter-group and move-to-window-group-line,
4040 together with the six variables indirecting to the pertinent group
4044 * src/keyboard.c: Revert the commit from 2015-11-11 12:02:48, in so far as it
4045 applies to these two files, which added the GROUP argument to six window
4048 * lisp/follow.el (follow-mode): Use updated variable names for the indirected
4051 * lisp/isearch.el (isearch-update, isearch-done, isearch-string-out-of-window)
4052 (isearch-back-into-window, isearch-lazy-highlight-new-loop)
4053 (isearch-lazy-highlight-search, isearch-lazy-highlight-update): Replace calls
4054 to window primitives (e.g. window-start) with a GROUP argument by calls to
4055 new functions (e.g. window-group-start).
4057 * lisp/ispell.el (ispell-command-loop): Replace call to
4058 pos-visible-in-window-p with pos-visible-in-window-group-p.
4060 * lisp/window.el (window-group-start, window-group-end)
4061 (set-window-group-start, recenter-group, pos-visible-in-window-group-p)
4062 (selected-window-group, move-to-window-group-line): New functions.
4063 (window-group-start-function, window-group-end-function)
4064 (set-window-group-start-function, recenter-group-function)
4065 (pos-visible-in-window-group-p-function, selected-window-group-function)
4066 (move-to-window-group-line-function): New variables.
4068 2015-12-14 Vitorio Miguel <vdrbandeiras@gmail.com> (tiny change)
4070 * etc/tutorials/TUTORIAL.pt_BR: Fix a typo. (Bug#22165)
4072 2015-12-13 Eli Zaretskii <eliz@gnu.org>
4074 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
4076 2015-12-13 Tassilo Horn <tsdh@gnu.org>
4078 Improve regex to not trigger stack overflow
4080 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Improve regex in
4081 order not to trigger a stack overflow in regex matcher with unbalanced
4082 brackets (bug#22146).
4084 2015-12-13 Eli Zaretskii <eliz@gnu.org>
4086 Fix visiting files with raw-text
4088 * src/fileio.c (Finsert_file_contents): Fix setting buffer unibyte
4089 when some stuff was actually read. (Bug#22162)
4091 2015-12-13 Tassilo Horn <tsdh@gnu.org>
4093 Fix regex matching keyval labels
4095 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Fix regexp
4096 matching keyval labels.
4098 2015-12-13 Michael Albinus <michael.albinus@gmx.de>
4100 * lisp/ido.el (ido-file-name-all-completions-1): Do not raise an error
4102 ... in case of Tramp. (Bug#20821)
4104 2015-12-13 Paul Eggert <eggert@cs.ucla.edu>
4106 Fix performance regression with gcc -O0
4108 This fixes the smaller performance hit that I noted in:
4109 https://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00357.html
4110 * src/alloc.c (macro_XPNTR_OR_SYMBOL_OFFSET, macro_XPNTR):
4111 * src/puresize.h (puresize_h_PURE_P)
4112 (puresize_h_CHECK_IMPURE):
4113 New macros, with the old contents of the functions.
4114 * src/alloc.c (XPNTR_OR_SYMBOL_OFFSET, XPNTR):
4115 * src/puresize.h (PURE_P, CHECK_IMPURE):
4116 Use the new macros. Also macros, if DEFINE_KEY_OPS_AS_MACROS.
4117 * src/conf_post.h (ATTRIBUTE_UNUSED):
4118 * src/lisp.h (DEFINE_KEY_OPS_AS_MACROS): New macros.
4120 2015-12-12 Artur Malabarba <bruce.connor.am@gmail.com>
4122 * lisp/emacs-lisp/package.el (package-unpack): Security check
4124 Check that we received the package we were offered.
4126 2015-12-12 Artur Malabarba <bruce.connor.am@gmail.com>
4128 * lisp/emacs-lisp/package.el (package--compile): Don't activate
4130 `package-unpack' takes care of all activations now (other than
4131 `package-initialize). `package--compile' now only compiles.
4133 2015-12-12 Eli Zaretskii <eliz@gnu.org>
4135 Document the new bindings of <UP> and <DOWN> in the minibuffer
4137 * doc/emacs/mini.texi (Minibuffer History): Describe the new
4138 bindings of <UP> and <DOWN> in the minibuffer.
4140 2015-12-12 Eli Zaretskii <eliz@gnu.org>
4142 Document new features of Ido
4144 * doc/misc/ido.texi (Misc): Document 'C-S-b'.
4146 2015-12-12 Martin Rudalics <rudalics@gmx.at>
4148 Fix frame height calculations with added menu bar on Windows (Bug#22105)
4150 * doc/lispref/frames.texi (Parameter Access): Mention pitfalls
4151 when simultaneously specifying multiple parameters for
4152 `modify-frame-parameters' that all may change the frame's size.
4153 * src/w32fns.c (x_set_menu_bar_lines): Don't set
4154 windows_or_buffers_changed here.
4155 (my_create_tip_window, Fx_show_tip): Call AdjustWindowRect
4156 with third argument false.
4157 * src/w32menu.c (set_frame_menubar): Set
4158 windows_or_buffers_changed here.
4159 * src/w32term.c (x_set_window_size): Determine third argument of
4160 AdjustWindowRect from whether the frame has a menu bar and not
4161 from whether it wants one.
4163 2015-12-12 Eli Zaretskii <eliz@gnu.org>
4165 Document the change in interactive shell mode
4167 * doc/emacs/misc.texi (Interactive Shell): Document that the
4168 '*shell*' buffer by default displays in a new window.
4170 2015-12-12 Eli Zaretskii <eliz@gnu.org>
4172 Document new features of package.el
4174 * doc/emacs/package.texi (Package Menu): Document the 'external'
4175 status and the new menu commands.
4176 (Package Installation): Document archive priorities.
4178 * lisp/emacs-lisp/package.el (package-archive-priorities): Doc fix.
4179 (package-menu-hide-low-priority): Doc fix.
4181 2015-12-12 Eli Zaretskii <eliz@gnu.org>
4183 Update and document new features of xterm support
4185 * doc/emacs/frames.texi (Text-Only Mouse): Document that
4186 track-mouse is supported by newer xterm versions.
4188 2015-12-12 Eli Zaretskii <eliz@gnu.org>
4190 Document new features of Prettify Mode
4192 * doc/emacs/programs.texi (Misc for Programs): Document
4193 'prettify-symbols-compose-predicate' and
4194 'prettify-symbols-unprettify-at-point'.
4196 * lisp/progmodes/prog-mode.el (prettify-symbols-alist)
4197 (prettify-symbols-default-compose-p)
4198 (prettify-symbols-compose-predicate)
4199 (prettify-symbols--compose-symbol): Doc fixes.
4201 2015-12-12 Eli Zaretskii <eliz@gnu.org>
4203 Document multi-mode indentation facilities
4205 * doc/lispref/text.texi (Mode-Specific Indent): Document
4206 'prog-indentation-context', 'prog-first-column', and 'prog-widen'.
4208 * lisp/progmodes/prog-mode.el (prog-indentation-context)
4209 (prog-widen): Doc fixes.
4211 2015-12-12 Eli Zaretskii <eliz@gnu.org>
4213 Document 'vc-refresh-state'
4215 * doc/emacs/maintaining.texi (Version Control): Document
4218 * lisp/vc/vc-hooks.el (vc-refresh-state): Doc fix.
4220 2015-12-12 Eli Zaretskii <eliz@gnu.org>
4224 * src/keyboard.c (command_loop_1): Undo last change. It caused
4225 duplicate echo of C-u. (Bug#22107)
4227 2015-12-11 Eli Zaretskii <eliz@gnu.org>
4229 Avoid errors when creating files under SVN in new directory
4231 * lisp/vc/vc-svn.el (vc-svn-registered): Use
4232 file-accessible-directory-p, to avoid cd'ing to a non-existing
4233 directory, which signals an error on some systems. (Bug#21984)
4234 (vc-svn-checkin): Call log-edit-extract-headers with 2 arguments.
4235 Use declare-function to avoid byte-compiler warnings.
4237 2015-12-11 Eli Zaretskii <eliz@gnu.org>
4239 Improve Lua support in etags
4241 * lib-src/etags.c (Lua_functions): Skip spaces before looking for
4244 * etc/NEWS: Mention improved Lua support by 'etags'.
4246 * test/etags/lua-src/test.lua (test): Add tests for indented
4247 function definitions.
4248 * test/etags/ETAGS.good_1:
4249 * test/etags/ETAGS.good_2:
4250 * test/etags/ETAGS.good_3:
4251 * test/etags/ETAGS.good_4:
4252 * test/etags/ETAGS.good_5:
4253 * test/etags/ETAGS.good_6:
4254 * test/etags/CTAGS.good: Adapt to the modified Lua tests.
4256 2015-12-11 Eli Zaretskii <eliz@gnu.org>
4258 Fix 'this-command-keys' wrt prefix argument
4260 * src/keyboard.c (command_loop_1): Restore the feature whereby C-u
4261 was part of this-command-keys, but not of this-single-command-keys.
4264 * lisp/simple.el (internal-echo-keystrokes-prefix): Add
4265 commentary about the function's return value.
4267 2015-12-11 Eli Zaretskii <eliz@gnu.org>
4269 * lisp/files.el (load-library): Doc fix. (Bug#22140)
4271 2015-12-11 Eli Zaretskii <eliz@gnu.org>
4273 Improve and document Ruby support in 'etags'
4275 * lib-src/etags.c (Ruby_suffixes): Add ".ruby".
4276 (Ruby_functions): Support "module" and overloaded operators.
4277 (Ruby_help): Mention "module".
4279 * test/etags/ruby-src/test.rb:
4280 * test/etags/ruby-src/test1.ruby: New files.
4281 * test/etags/Makefile (RBSRC): New tests.
4282 (SRCS): Add ${RBSRC}.
4283 * test/etags/ETAGS.good_1:
4284 * test/etags/ETAGS.good_2:
4285 * test/etags/ETAGS.good_3:
4286 * test/etags/ETAGS.good_4:
4287 * test/etags/ETAGS.good_5:
4288 * test/etags/ETAGS.good_6:
4289 * test/etags/CTAGS.good: Adapt to the new Ruby tests.
4291 * doc/man/etags.1: Mention Ruby support.
4292 * etc/NEWS: Mention Ruby support.
4294 2015-12-11 Xi Lu <lx@shellcodes.org>
4296 Initial support for Ruby in 'etags'
4298 * lib-src/etags.c <Ruby_suffixes>: New variable.
4299 (lang_names): Add an entry for Ruby.
4300 (Ruby_functions): New function. (Bug#22116)
4302 2015-12-11 Eli Zaretskii <eliz@gnu.org>
4304 Clarify documentation of 'modify-frame-parameters'
4306 * doc/lispref/frames.texi (Parameter Access): Clarify what "ignored
4307 PARMs" mean for 'modify-frame-parameters'.
4309 * src/frame.c (Fmodify_frame_parameters): Clarify what "ignored
4310 PARMs" mean for this function. (Bug#22104)
4312 2015-12-11 Eli Zaretskii <eliz@gnu.org>
4314 Fix setting buffer unibyte when reading from a device
4316 * src/fileio.c (Finsert_file_contents): Call Fset_buffer_multibyte
4317 to make a (possibly non-empty) buffer unibyte. (Bug#22096)
4319 2015-12-11 Eli Zaretskii <eliz@gnu.org>
4321 Clarify documentation of 'values'
4323 * doc/lispref/eval.texi (Eval): Clarify that 'values' are not
4324 updated by any evaluation commands in 'lisp-interaction-mode'.
4327 2015-12-11 Anders Lindgren <andlind@gmail.com>
4329 Fixed subversion vc error when opening file in new directory (bug#21984).
4331 * lisp/vc/vc-svn.el (vc-svn-registered): Check if directory exists.
4333 2015-12-09 Eli Zaretskii <eliz@gnu.org>
4335 Yet another fix for when point ends up in invisible text
4337 * src/xdisp.c (redisplay_window): When someone forced
4338 window-start, and honoring that failed to show the cursor, try
4339 moving out of invisible text, before falling back to the middle of
4340 the window. (Bug#22098)
4342 2015-12-09 Michael Albinus <michael.albinus@gmx.de>
4344 Fix error in Tramp perl script for cygwin
4346 * lisp/net/tramp-sh.el (tramp-perl-file-truename): Do not raise an
4347 error if file doesn't exist.
4349 2015-12-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4351 Remove font workaround for limited outdated versions
4353 * src/macfont.m (mac_font_descriptor_get_adjusted_weight): Remove
4354 workaround for HiraginoSans-W7 on OS X 10.11 and 10.11.1.
4356 2015-12-09 Anders Lindgren <andlind@gmail.com>
4358 Don't add "." to load path (bug#21104)
4360 When configured with --enable-locallisppath=no, which is the
4361 default for OS X, the load-path incorrectly was populated with ".".
4363 * src/lread.c (init_lread): Don't call `decode_env_path' when
4364 PATH_SITELOADSEARCH is empty.
4366 2015-12-08 Artur Malabarba <bruce.connor.am@gmail.com>
4368 * lisp/emacs-lisp/package.el (package--with-response-buffer):
4370 Search for the blank-line in the right buffer.
4372 2015-12-08 Glenn Morris <rgm@gnu.org>
4374 * test/automated/simple-test.el (undo-auto-boundary-timer): Update
4377 2015-12-08 Glenn Morris <rgm@gnu.org>
4379 Fix some display-warning usage.
4381 * lisp/files.el (hack-local-variables, hack-dir-local-variables):
4382 * lisp/calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4383 * lisp/calendar/holidays.el (calendar-holiday-list):
4384 * lisp/mail/rmailout.el (rmail-output-read-file-name):
4385 Fix display-warning usage.
4387 2015-12-08 Glenn Morris <rgm@gnu.org>
4389 * lisp/calendar/cal-html.el: Require diary-lib.
4391 (cal-html-list-diary-entries): Handle no diary. (Bug#21994)
4393 2015-12-08 Thomas Fitzsimmons <fitzsim@fitzsim.org>
4395 Add Obsolete-since header to eudcb-ph.el
4397 * lisp/obsolete/eudcb-ph.el: Add Obsolete-since header.
4399 2015-12-07 Paul Eggert <eggert@cs.ucla.edu>
4403 * doc/misc/calc.texi (Predefined Units): Use the bland modern
4404 scientific style for spelling the units “ampere” and
4405 “angstrom” rather than the older style “Ampere” and
4406 “Ångstrom”. The latter spelling was wrong anyway (it should
4407 have been “Ångström”).
4408 * lisp/emacs-lisp/ert.el (ert--explain-equal-rec):
4409 Fix misspelling of ‘atom’ in code.
4411 2015-12-07 Eli Zaretskii <eliz@gnu.org>
4413 Improve documentation of kill commands
4415 * lisp/simple.el (region-extract-function, delete-backward-char)
4416 (delete-forward-char, kill-region, copy-region-as-kill)
4417 (kill-ring-save): Better document the optional argument REGION in
4418 the doc strings. Mention in the doc strings that text put in the
4419 kill-ring can be filtered by 'filter-buffer-substring'.
4421 * doc/lispref/text.texi (Kill Functions): Mention that functions
4422 described in this subsection can filter text they put in the
4423 kill-ring. Add a cross-reference to "Buffer Contents" and an
4424 index entry. Document the optional argument 'region' and its
4428 2015-12-07 Alan Mackenzie <acm@muc.de>
4430 Further progress making Isearch, Ispell, Replace work with Follow Mode.
4432 * lisp/follow.el: (follow-mode): Remove references to sit*-for-function, which
4433 no longer exists. Add follow-post-command-hook to three special purpose
4434 hooks at setup, and remove them at tear down.
4436 * lisp/isearch.el: (isearch-update): invoke isearch-update-post-hook before
4437 isearch-lazy-highlight-new-loop.
4438 (isearch-lazy-highlight-new-loop): Restore this function to what it previously
4439 was, merging the functionality of isearch-lazy-highlight-maybe-new-loop into
4441 (isearch-lazy-highlight-maybe-new-loop): function removed.
4443 * lisp/replace.el: (replace-update-post-hook): New hook variable.
4444 (perform-replace): Add second (nil) argument to looking-back. Invoke
4445 replace-update-post-hook before calling replace-highlight.
4447 * lisp/textmodes/ispell.el: (ispell-update-post-hook): New hook variable.
4448 (ispell-command-loop): invoke ispell-update-post-hook. Add GROUP argument to
4449 call of pos-visible-in-window-p.
4450 (ispell-display-buffer): Place *Choices* window at the top of the last window
4453 2015-12-07 Alan Mackenzie <acm@muc.de>
4455 Amend doc of `mapconcat': it can take sequences, not merely strings.
4457 * doc/lispref/functions.texi (Mapping Functions): Amend the doc of `mapconcat'
4458 to say that SEPARATOR and the results from FUNCTION may be any character
4459 sequences, not just strings. Add an @xref to "Sequences Arrays Vectors".
4461 2015-12-07 Michael Albinus <michael.albinus@gmx.de>
4463 Fix an utf8 problem for Tramp on BSD
4465 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4466 Make lax check for utf8.
4467 (tramp-get-remote-locale): Add "en_US.UTF-8" as candidate.
4469 2015-12-07 Thomas Fitzsimmons <fitzsim@fitzsim.org>
4471 Make eudcb-ph.el obsolete
4473 * doc/misc/eudc.texi: Bump version to 1.40.0.
4474 Remove PH/QI sections and mentions.
4475 * lisp/obsolete/eudcb-ph.el: Make obsolete.
4476 * lisp/net/eudc-vars.el (eudc-known-protocols): Remove ph.
4477 (eudc-ph-bbdb-conversion-alist): Make obsolete.
4478 * etc/NEWS: Mention this. (Bug#21191)
4480 2015-12-07 Paul Eggert <eggert@cs.ucla.edu>
4482 Remove overenthusiastic eassert
4484 * src/lisp.h (XSYMBOL): Remove eassert incorrectly added in
4485 previous change. It breaks on MS-Windows --with-wide-int.
4486 Problem reported by Eli Zaretskii in:
4487 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00275.html
4489 2015-12-06 Paul Eggert <eggert@cs.ucla.edu>
4491 Pacify gcc -Wparentheses
4493 * src/xdisp.c (row_containing_pos): Reparenthesize.
4495 2015-12-06 Paul Eggert <eggert@cs.ucla.edu>
4497 Port mod-test to 32-bit Emacs --without-wide-int
4499 * modules/mod-test/test.el (mod-test-sum-test):
4500 Bring back the 2**29 tests, but port them to 32-bit Emacs
4503 2015-12-06 Michael Albinus <michael.albinus@gmx.de>
4505 Fix minor Tramp problems found on BSD
4507 * lisp/net/tramp-sh.el (tramp-perl-file-truename): Do not append
4508 trailing slash. Quote apostrophes.
4509 (tramp-sh-handle-file-truename): Do not append trailing slash in
4511 (tramp-get-ls-command-with-w-option): New defun.
4512 (tramp-do-file-attributes-with-ls)
4513 (tramp-do-directory-files-and-attributes-with-stat): Use it.
4515 * test/automated/tramp-tests.el
4516 (tramp-test31-special-characters-with-perl)
4517 (tramp-test31-special-characters-with-ls)
4518 (tramp-test32-utf8-with-perl, tramp-test32-utf8-with-ls):
4519 Suppress also readlink.
4521 2015-12-06 Eli Zaretskii <eliz@gnu.org>
4523 Fix cursor display when invisible text is at line beginning
4525 * src/xdisp.c (redisplay_window): When scrolling fails to show
4526 point, prefer using the desired matrix if possible for finding the
4527 fallback glyph row for displaying the cursor. (Bug#22098)
4528 (row_containing_pos): Exit the loop as soon as we hit the first
4529 disabled glyph row. Otherwise we risk accessing garbled data and
4530 departing to the no-no land.
4532 2015-12-06 Paul Eggert <eggert@cs.ucla.edu>
4534 Improve module interface when WIDE_EMACS_INT
4536 * src/emacs-module.c (plain_values): New constant.
4537 (module_nil): Now a constant.
4538 (Finternal_module_call, value_to_lisp_bits, lisp_to_value_bits)
4539 (syms_of_module): Use if, not #ifdef, so that both sides are
4540 checked at compile-time, and so that GCC doesn’t complain
4541 about an unused var in the typical case. Also, depend on
4542 plain_values, not on WIDE_EMACS_INT; the code shouldn’t assume
4543 that WIDE_EMACS_INT implies !USE_LSB_TAG.
4544 (value_to_lisp_bits, lisp_to_value_bits): New functions.
4545 Sign-extend integers rather than zero-extending them, as small
4546 negative integers are more likely.
4547 (value_to_lisp, lisp_to_value): Rewrite in terms of the new *_bits
4549 (HAVE_STRUCT_ATTRIBUTE_ALIGNED): Define to 0 if not already defined.
4550 (mark_modules): Remove. All uses removed.
4551 (lisp_to_value): Don’t assume Fcons returns a pointer aligned
4553 (syms_of_module): Check that module_nil converts to Qnil.
4554 * src/lisp.h (lisp_h_XSYMBOL, XSYMBOL): Use signed conversion, since
4555 we prefer signed to unsigned when either will do.
4556 (TAG_PTR): Sign-extend pointers when USE_LSB_TAG, as this is
4557 a bit better for emacs-module.c.
4559 2015-12-06 Paul Eggert <eggert@cs.ucla.edu>
4561 Port mod-test to x86-64 GNU/Linux running 32-bit
4563 * modules/mod-test/test.el (mod-test-sum-test):
4564 Don’t attempt to match descriptions to operating systems.
4565 It didn’t work on Fedora x86-64 running a 32-bit executable,
4566 and it’s not worth the trouble anyway.
4567 Port to 32-bit platforms by removing an assumption about
4570 2015-12-06 Michael Albinus <michael.albinus@gmx.de>
4572 Fix auto-revert-tests.el when filenotify isn't used
4574 * test/automated/auto-revert-tests.el (auto-revert--wait-for-revert):
4575 Make it working also when filenotify isn't used.
4577 2015-12-06 Juri Linkov <juri@linkov.net>
4579 * lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
4581 Let-bind isearch-regexp-function to nil. (Bug#22097)
4583 2015-12-05 Artur Malabarba <bruce.connor.am@gmail.com>
4585 * lisp/emacs-lisp/package.el: Don't install bad signatures (bug#22089)
4587 (package--with-response-buffer): NOERROR and ERROR-FORM only
4588 handle connection errors.
4589 (bad-signature): New error type.
4590 (package--check-signature-content): Use it.
4591 (package--check-signature): Properly distinguish connection errors
4592 from bad-signature errors. Do the check for
4593 `package-check-signature' `allow-unsigned' here instead of forcing
4594 the callbacks to do it. Add a new argument, UNWIND.
4595 (package--download-one-archive, package-install-from-archive):
4596 Update usage of `package--check-signature'.
4598 2015-12-05 Ulf Jasper <ulf.jasper@web.de>
4602 * lisp/calendar/icalendar.el (icalendar--get-unfolded-buffer):
4603 Clean up inconsistent line endings. (Bug#22092)
4604 (icalendar--clean-up-line-endings): New.
4605 * test/automated/icalendar-tests.el (icalendar-real-world): Add test
4608 2015-12-05 Eli Zaretskii <eliz@gnu.org>
4610 Document 'bookmark-set-no-overwrite'
4612 * doc/emacs/regs.texi (Bookmarks): Document the new command
4613 'bookmark-set-no-overwrite' and its keybinding.
4615 2015-12-05 Eli Zaretskii <eliz@gnu.org>
4617 Document new binding of 'mouse-buffer-menu'
4619 * doc/emacs/buffers.texi (Buffer Menus): 'mouse-buffer-menu' is
4622 2015-12-05 Eli Zaretskii <eliz@gnu.org>
4624 Initial documentation of dynamic modules
4626 * doc/lispref/loading.texi (Dynamic Modules): New section with
4627 initial documentation for dynamic modules.
4628 * doc/lispref/elisp.texi (Top): Add "Dynamic Modules" to the
4631 * etc/NEWS: Fix typos in dynamic modules' entry.
4633 2015-12-05 Artur Malabarba <bruce.connor.am@gmail.com>
4635 Remove copyright statements from trivial test files
4637 2015-12-05 Eli Zaretskii <eliz@gnu.org>
4639 Add "Preliminaries" section to etc/DEBUG
4641 * etc/DEBUG: Add the "Preliminaries" section for GDB beginners.
4642 Most of the content was suggested by Phillip Lord
4643 <phillip.lord@russet.org.uk>. Remove the section about debugging
4644 with the Visual Studio, as building Emacs with the Microsoft
4645 compilers is no longer supported. Minor fixes in some other
4648 2015-12-05 Alex Dunn <dunn.alex@gmail.com> (tiny change)
4650 Improve parsing of version strings
4652 * lisp/subr.el (version-regexp-alist): Allow "." as priority separator
4653 (version-to-list): More helpful error messages.
4654 (version-to-list): ".5" is valid (update docstring). Make
4655 "22.8X3" invalid, as the doc string says.
4657 * test/automated/subr-tests.el (ert-test-version-parsing): New
4658 tests for version string processing.
4660 2015-12-05 Eli Zaretskii <eliz@gnu.org>
4662 Fix documentation of 'undo' changes
4664 * doc/lispref/text.texi (Undo): Minor wording changes. Use US
4665 English conventions for spelling and whitespace between sentences.
4667 * etc/NEWS: Fix wording and spelling of undo-related entries.
4668 Mark them as documented.
4670 2015-12-05 Glenn Morris <rgm@gnu.org>
4672 * lisp/net/net-utils.el: Small improvements.
4674 (net-utils--executable-find-sbin): New function.
4675 (ifconfig-program): Check sbin directories.
4676 Fallback to "ip". (Bug#22091)
4677 (ifconfig-program-options): Check the actual program in use.
4678 (arp-program): Check sbin directories.
4680 2015-12-04 (tiny change) Arash Esbati <esbati@gmx.de> (tiny change)
4682 Fix wrong-type-argument integer-or-marker-p nil error
4684 * lisp/textmodes/reftex-auc.el (reftex-what-index-tag):
4685 Fix (wrong-type-argument integer-or-marker-p nil) error (bug#22077).
4687 2015-12-04 Alan Mackenzie <acm@muc.de>
4689 Merge branch 'scratch/follow' of /home/acm/emacs/emacs.git/emacs-25 into scratch/follow
4691 Merge necessitated by a rebase operation.
4693 2015-12-04 Alan Mackenzie <acm@muc.de>
4695 lisp/isearch.el: Eliminate macro isearch-call-message, replacing with funcall.
4697 2015-12-04 Alan Mackenzie <acm@muc.de>
4699 First commit to scratch/follow. Make Isearch work with Follow Mode, etc.
4701 doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
4702 Windows" and new @defun selected-window-group.
4703 (Window Start and End): Describe new &optional parameter GROUP and
4704 ...-group-function for window-start, window-end, set-window-start, and
4705 pos-visible-in-window-p.
4706 (Textual Scrolling) Describe the same for recenter.
4707 doc/lispref/positions.texi (Screen Lines): Describe the same for
4708 move-to-window-line.
4710 src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
4711 (Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
4712 new optional parameter "group". At the beginning of each, check whether the
4713 corresponding ...-group-function is set to a function, and if so execute this
4714 function in place of the normal processing.
4715 (syms_of_window): Define symbols for the six new variables below.
4716 (window-start-group-function, window-end-group-function)
4717 (set-window-start-group-function, recenter-group-function)
4718 (pos-visible-in-window-p-group-function, move-to-window-line-group-function):
4719 New permanent local buffer local variables.
4720 src/keyboard.c (Fposn_at_point): Add extra parameter in call to
4721 Fpos_visible_in_window_p.
4723 lisp/window.el (selected-window-group-function): New permanent local buffer
4725 (selected-window-group): New function.
4727 lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
4728 enable, kill them at mode disable. Add/remove follow-after-change to/from
4729 after-change-functions.
4730 (follow-start-end-invalid): New variable.
4731 (follow-redisplay): Manipulate follow-start-end-invalid.
4732 (follow-after-change, follow-window-start, follow-window-end)
4733 (follow-set-window-start, follow-pos-visible-in-window-p)
4734 (follow-move-to-window-line, follow-sit-for): New functions.
4736 lisp/isearch.el (isearch-call-message): New macro.
4737 (isearch-update, with-isearch-suspended, isearch-del-char)
4738 (isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
4739 (with-isearch-suspended): Rearrange code such that isearch-call-message is
4740 invoked before point is moved.
4741 (isearch-message): Add comment about where point must be at function call.
4742 (isearch-search): Remove call to isearch-message.
4743 (isearch-lazy-highlight-window-group): New variable.
4744 (isearch-lazy-highlight-new-loop): Unconditionally start idle timer. Move
4745 the battery of tests to ...
4746 (isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
4747 Note: (sit-for 0) is still called.
4748 (isearch-lazy-highlight-update): Check membership of
4749 isearch-lazy-highlight-window-group. Don't set the `window' overlay
4751 (isearch-update, isearch-done, isearch-string-out-of-window)
4752 (isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
4753 (isearch-lazy-highlight-search, isearch-lazy-highlight-update)
4754 (isearch-lazy-highlight-update): Call the six amended primitives (see
4755 src/window.c above) with the new `group' argument set to t, to cooperate
4758 2015-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4760 * lisp/emacs-lisp/ert.el: Prefer pcase over cl-typecase
4762 * lisp/emacs-lisp/ert.el (ert--should-error-handle-error)
4763 (ert--explain-format-atom, ert--explain-equal-rec)
4764 (ert--print-backtrace, ert-test-result-type-p, ert-select-tests)
4765 (ert--insert-human-readable-selector): Prefer pcase over cl-typecase.
4767 2015-12-04 Artur Malabarba <bruce.connor.am@gmail.com>
4769 * lisp/character-fold.el: Remove special case-folding support
4771 (character-fold-to-regexp): Remove special code for
4772 case-folding. Char-fold search still respects the
4773 `case-fold-search' variable (i.e., f matches F). This only
4774 removes the code that was added to ensure that f also matched
4775 all chars that F matched. For instance, after this commit, f
4776 no longer matches 𝔽.
4778 This was necessary because the logic created a regexp with
4779 2^(length of the string) redundant paths. So, when a very
4780 long string "almost" matched, Emacs took a very long time to
4781 figure out that it didn't. This became particularly relevant
4782 because isearch's lazy-highlight does a search bounded by (1-
4783 match-end) (which, in most circumstances, is a search that
4784 almost matches). A recipe for this can be found in bug#22090.
4786 2015-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4788 * lisp/emacs-lisp/cl-macs.el (character): Can't be negative
4792 2015-12-04 Daiki Ueno <ueno@gnu.org>
4794 lisp/gnus/qp.el: Don't replace "from " at bol
4796 * lisp/gnus/qp.el (quoted-printable-encode-region): Bind `case-fold-search'
4797 to nil when looking for "^From ". Problem reported by Simon Josefsson.
4799 2015-12-03 Phillip Lord <phillip.lord@russet.org.uk>
4801 Externalize some symbols in undo-auto
4803 * doc/lispref/text.texi: Update symbols.
4804 * lisp/simple.el (undo-auto--amalgamate,
4805 undo-auto--current-boundary-timer): Make symbols public.
4806 * src/cmds.c (Fself_insert_command,Fdelete_char): Call
4809 2015-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4811 * lisp/emacs-lisp/smie.el (smie-next-sexp): Fix BOB "token"
4813 2015-12-03 Michael Albinus <michael.albinus@gmx.de>
4815 Some error message improvements in tramp-sh.el
4817 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4818 Suppress error messages for "mesg" and "biff" calls.
4819 (tramp-get-remote-path): Ignore errors when expanding
4820 `tramp-own-remote-path'. Raise a warning instead.
4822 2015-12-03 Eli Zaretskii <eliz@gnu.org>
4824 Document 'nacl' value for 'system-type'
4826 * doc/lispref/os.texi (System Environment): Document the 'nacl'
4827 value of 'system-type'.
4829 2015-12-03 Eli Zaretskii <eliz@gnu.org>
4831 Document 'window-max-chars-per-line'
4833 * doc/lispref/windows.texi (Window Sizes): Document
4834 'window-max-chars-per-line'.
4836 2015-12-03 Artur Malabarba <bruce.connor.am@gmail.com>
4838 Fix some file headers for the purpose of `package--builtins'
4840 * lisp/emacs-lisp/cl-preloaded.el
4841 * lisp/emacs-lisp/eieio-compat.el
4842 * lisp/net/sasl-scram-rfc.el: Add a "Package:" header
4844 * lisp/ielm.el: Fix summary line.
4846 2015-12-03 Artur Malabarba <bruce.connor.am@gmail.com>
4848 * lisp/emacs-lisp/package.el (package-unpack): Load before compiling
4850 Reload any previously loaded package files before compiling
4851 the package (also reload the same files after compiling).
4852 This ensures that we have the most recent definitions during
4853 compilation, and avoids generating bad elc files when a macro
4854 changes and it is used in a different file from the one it's
4857 2015-12-03 Artur Malabarba <bruce.connor.am@gmail.com>
4859 * lisp/emacs-lisp/package.el: Refactor package activation code
4861 (package-activate): Move code that activates dependencies into
4863 (package--load-files-for-activation): New function.
4864 (package-activate-1): Add code for (optionally) activating
4865 dependencies, and move file-loading code into
4866 `package--load-files-for-activation'.
4868 2015-12-03 Eli Zaretskii <eliz@gnu.org>
4870 Document new font-related functionality
4872 * doc/lispref/display.texi (Low-Level Font): Document
4873 'default-font-width', 'default-font-height', 'window-font-width',
4874 and 'window-font-height'.
4876 * etc/NEWS: Move entries for 'default-font-width',
4877 'default-font-height', 'window-font-width', and 'window-font-height'
4878 to their place and mark them documented.
4880 2015-12-03 Eli Zaretskii <eliz@gnu.org>
4882 Fix documentation and implementation of 'directory-name-p'
4884 * lisp/files.el (directory-name-p): Modify to recognize
4885 backslashes on MS-Windows and MS-DOS. Adjust the doc string
4886 accordingly. Use '=', not char-equal, for comparison, as
4887 letter-case cannot possibly be an issue here.
4889 * doc/lispref/files.texi (Directory Names): Move the documentation
4890 of directory-name-p here from "Relative File Names". Update the
4891 description per the changes in implementation.
4893 * etc/NEWS: Move the entry for 'directory-name-p' to its proper
4894 place and mark it documented.
4896 2015-12-02 Eli Zaretskii <eliz@gnu.org>
4898 Minor copyedit in Emacs manual
4900 * doc/emacs/search.texi (Lax Search): Make wording about character
4901 folding by default less definitive. (Bug#22043)
4903 2015-12-02 Eli Zaretskii <eliz@gnu.org>
4905 More emacs-module.c fixes for wide ints
4907 * src/emacs-module.c (value_to_lisp) [WIDE_EMACS_INT]: Use
4908 unsigned data types to manipulate pointers, to avoid sign
4909 extension coming after us with a vengeance.
4911 * modules/mod-test/test.el (mod-test-sum-test): Add tests for
4912 Emacs with wide ints that verify integer values near the critical
4913 value that requires us to switch to a cons cell.
4915 2015-12-02 Stephen Leake <stephen_leake@stephe-leake.org>
4917 Fix bug#22069 in cl-generic.el
4919 * lisp/emacs-lisp/cl-generic.el (cl-no-method): Remove %S; this string is
4920 not run thru `format'.
4922 2015-12-02 Dmitry Gutov <dgutov@yandex.ru>
4924 APPEND etags--xref-backend to xref-backend-functions
4926 * lisp/progmodes/xref.el (xref-backend-functions):
4927 Use APPEND when adding the default element
4928 (http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00061.html).
4930 2015-12-01 Eli Zaretskii <eliz@gnu.org>
4932 More accurate documentation of lax whitespace matching
4934 * lisp/isearch.el (isearch-forward-word, isearch-forward-symbol)
4935 (word-search-backward, word-search-forward)
4936 (word-search-backward-lax, word-search-forward-lax): Mention in
4937 doc strings that toggling lax whitespace matching has no effect on
4940 * doc/emacs/search.texi (Word Search, Symbol Search): Clarify that
4941 lax whitespace matching has no effect on these commands.
4943 2015-12-01 Eli Zaretskii <eliz@gnu.org>
4945 Fix emacs-module.c for wide ints
4947 * src/emacs-module.c (lisp_to_value): Compare the produced value
4948 with the original Lisp object, not with the one potentially
4949 converted into a Lisp_Cons. Fixes assertion violations when
4950 working with integers larger than fit into a 32-bit value.
4952 * modules/mod-test/test.el (mod-test-sum-test): Add tests for
4953 large integers, to test --with-wide-int.
4955 2015-12-01 Eli Zaretskii <eliz@gnu.org>
4957 Document 'directory-files-recursively'
4959 * lisp/files.el (directory-files-recursively): Doc fix. Rename
4960 the argument MATCH to REGEXP, to be more explicit about its form.
4962 * doc/lispref/files.texi (Contents of Directories): Improve the
4963 documentation of 'directory-files-recursively'. Add
4966 * etc/NEWS: Move the entry for 'directory-files-recursively' to
4967 its place and mark it documented.
4969 2015-12-01 Eli Zaretskii <eliz@gnu.org>
4971 Document 'inhibit-read-only' property
4973 * doc/lispref/text.texi (Special Properties): Describe the new
4974 'inhibit-read-only' text property. Add cross-reference to where
4975 read-only buffers are described.
4976 * doc/lispref/buffers.texi (Read Only Buffers): Mention that
4977 'inhibit-read-only' property exempts text from being read-only.
4978 Add cross-reference to "Special Properties".
4980 * etc/NEWS: Move the entry about 'inhibit-read-only' property to
4981 its place and mark it documented.
4983 2015-12-01 Artur Malabarba <bruce.connor.am@gmail.com>
4985 * lisp/emacs-lisp/package.el: Update header comments
4987 2015-12-01 Artur Malabarba <bruce.connor.am@gmail.com>
4989 * lisp/character-fold.el: Add back multi-char matching
4991 (character-fold-to-regexp): Uncomment recently commented code
4992 and make the algorithm "dummer" by not checking every possible
4993 combination. This will miss some possible matches, but it
4994 greatly reduces regexp size.
4996 * test/automated/character-fold-tests.el
4997 (character-fold--test-fold-to-regexp): Comment out test of
4998 functionality no longer supported.
5000 2015-12-01 Xue Fuqiao <xfq.free@gmail.com>
5002 * doc/emacs/ack.texi (Acknowledgments): Update.
5004 2015-12-01 Michael Albinus <michael.albinus@gmx.de>
5006 Check `file-remote-p' over absolute files names in files.el
5008 * lisp/files.el (directory-files-recursively)
5009 (get-free-disk-space): Check `file-remote-p' over absolute files names.
5011 2015-12-01 Andreas Schwab <schwab@linux-m68k.org>
5013 * src/lread.c (syms_of_lread): Doc fix.
5015 2015-12-01 Dmitry Gutov <dgutov@yandex.ru>
5017 Don't mistake certain JS method calls for keywords
5019 * lisp/progmodes/js.el (js--ctrl-statement-indentation):
5020 Braceless keyword can't come after a period (bug#22063).
5022 2015-12-01 David Reitter <david.reitter@gmail.com>
5024 Read frame_title_format from buffer-local variable for NS port
5026 * src/nsfns.m (x_implicitly_set_name): Read frame-title-format and
5027 icon-title-format variables from buffer in appropriate window.
5030 2015-12-01 Juri Linkov <juri@linkov.net>
5032 * lisp/replace.el (occur-engine): Count matches in empty lines.
5036 2015-11-30 Aurélien Aptel <aurelien.aptel@gmail.com>
5038 * src/emacs-module.h: Fix finalizer typedef for C++11
5040 C++11 standard doesn't allow exception-specification in typedef.
5041 The workaround is to declare a dummy function prototype and use
5044 2015-11-30 Eli Zaretskii <eliz@gnu.org>
5048 * src/emacs-module.c (lisp_to_value, value_to_lisp)
5049 [WIDE_EMACS_INT]: Avoid compiler warnings.
5051 2015-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
5053 Rely on conservative stack scanning to find "emacs_value"s
5055 * src/emacs-module.c (struct emacs_value_tag)
5056 (struct emacs_value_frame, struct emacs_value_storage): Remove.
5057 (value_frame_size): Remove constant.
5058 (struct emacs_env_private): Use Lisp_Object for non_local_exit info.
5059 (lisp_to_value): Remove first arg.
5060 (module_nil): New constant.
5061 Use it instead of NULL when returning an emacs_value.
5062 (module_make_function): Adjust to new calling convention of
5063 Qinternal_module_call.
5064 (DEFUN): Receive args in an array rather than a list.
5065 Use SAFE_ALLOCA rather than xnmalloc. Skip the lisp_to_value loop when
5066 we don't have WIDE_EMACS_INT. Adjust to new type of non_local_exit info.
5067 (module_non_local_exit_signal_1, module_non_local_exit_throw_1):
5068 Adjust to new type of non_local_exit info.
5069 (ltv_mark) [WIDE_EMACS_INT]: New constant.
5070 (value_to_lisp, lisp_to_value): Rewrite.
5071 (initialize_frame, initialize_storage, finalize_storage): Remove functions.
5072 (allocate_emacs_value): Remove function.
5073 (mark_modules): Gut it.
5074 (initialize_environment): Don't initialize storage any more.
5075 Keep the actual env object on Vmodule_environments.
5076 (finalize_environment): Don't finalize storage any more.
5077 (syms_of_module): Initialize ltv_mark and module_nil.
5079 * src/emacs-module.h (emacs_value): Make it more clear that this type
5080 is really opaque, including the fact that NULL may not be valid.
5082 * modules/mod-test/mod-test.c (Fmod_test_signal, Fmod_test_throw):
5083 Don't assume that NULL is a valid emacs_value.
5085 2015-11-30 Eli Zaretskii <eliz@gnu.org>
5087 Yet another doc improvement for search commands
5089 * doc/emacs/search.texi (Word Search, Symbol Search)
5090 (Regexp Search): Document commands that don't support lax
5091 whitespace matching or character folding.
5092 (Nonincremental Search): Mention the search commands that can be
5093 invoked from the menu bar.
5095 * lisp/isearch.el (isearch-define-mode-toggle-word)
5096 (isearch-define-mode-toggle-symbol)
5097 (isearch-define-mode-toggle-character-fold): Note in the doc
5098 string that turning these on exits the regexp mode.
5099 (isearch-forward-regexp, isearch-forward-word)
5100 (isearch-forward-symbol, isearch-backward-regexp)
5101 (word-search-backward, word-search-forward)
5102 (word-search-backward-lax, word-search-forward-lax): State in the
5103 doc string which commands don't support character folding and/or
5104 lax-whitespace matching.
5106 2015-11-30 Martin Rudalics <rudalics@gmx.at>
5108 Run `window-size-change-functions' also when reading from minibuffer
5110 * src/xdisp.c (redisplay_internal): Run `window-size-change-functions'
5111 also when reading from minibuffer.
5113 2015-11-30 Ulf Jasper <ulf.jasper@web.de>
5115 Fix scrambling of html-rendered item buffers
5117 * lisp/net/newst-treeview.el (newsticker--treeview-render-text): Fix
5118 scrambling of contents by wrapping call to html-renderer in
5119 save-selected-window.
5121 2015-11-30 Paul Eggert <eggert@cs.ucla.edu>
5123 Fix font typo in previous doc fix.
5125 2015-11-30 Paul Eggert <eggert@cs.ucla.edu>
5127 A bit more security doc, esp. file local vars
5129 * doc/emacs/emacs.texi (Top):
5130 * doc/emacs/misc.texi (Miscellaneous Commands):
5131 Refer to new Host Security section.
5132 (Host Security): New section.
5133 * doc/lispref/os.texi (Security Considerations):
5134 Mention file local variables.
5136 2015-11-30 Artur Malabarba <bruce.connor.am@gmail.com>
5138 * lisp/character-fold.el: Comment out branching code
5140 (character-fold-to-regexp): Comment out code that uses multi-char
5141 table. The branching caused by this induces absurdly long regexps,
5142 up to 10k chars for as little as 25 input characters.
5144 2015-11-30 Paul Eggert <eggert@cs.ucla.edu>
5146 Spelling and grammar fixes
5148 2015-11-30 Dmitry Gutov <dgutov@yandex.ru>
5150 Make lisp-completion-at-point a wrapper instead of an alias
5152 * lisp/progmodes/elisp-mode.el (lisp-completion-at-point):
5153 Turn into an obsolete wrapper around elisp-completion-at-point
5156 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
5158 * lisp/isearch.el (isearch-search-fun-default): Nicer error
5160 message when the search fails.
5162 2015-11-29 Dmitry Gutov <dgutov@yandex.ru>
5164 Update menu-bar-goto-uses-etags-p for the current xref API
5166 * lisp/menu-bar.el (menu-bar-goto-uses-etags-p): Consult
5167 xref-backend-functions, instead of now-nonexistent
5170 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
5172 * lisp/isearch.el (isearch-define-mode-toggle): Advertise binding
5174 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
5176 * lisp/menu-bar.el: Use folding in searches
5178 (nonincremental-search-forward): Use `isearch-search-fun-default'
5179 to determine the search function.
5180 (nonincremental-search-backward)
5181 (nonincremental-repeat-search-forward)
5182 (nonincremental-repeat-search-backward): Use it.
5184 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
5186 * lisp/menu-bar.el (menu-bar-goto-uses-etags-p): Fix a warning
5188 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
5190 * lisp/character-fold.el (character-fold-to-regexp): Be careful
5192 not to return huge regexps.
5194 2015-11-29 Eli Zaretskii <eliz@gnu.org>
5196 Improve documentation of string-collate-* functions
5198 * doc/lispref/strings.texi (Text Comparison): Improve wording and
5199 indexing of 'string-collate-equalp' and 'string-collate-lessp'.
5201 * etc/NEWS: Move the entry of 'string-collate-equalp' and
5202 'string-collate-lessp' to "Lisp Changes" section and mark it as
5205 2015-11-29 Eli Zaretskii <eliz@gnu.org>
5207 Document truncate-string-ellipsis
5209 * doc/lispref/display.texi (Size of Displayed Text): Document
5210 'truncate-string-ellipsis'.
5212 * lisp/international/mule-util.el (truncate-string-ellipsis): Doc fix.
5213 (truncate-string-to-width): Mention in the doc string that the
5214 default for ELLIPSIS comes from 'truncate-string-ellipsis'.
5216 * etc/NEWS: Move the 'truncate-string-ellipsis' entry to the "Lisp
5219 2015-11-29 Eli Zaretskii <eliz@gnu.org>
5221 Fix confusion wrt character folding in the Emacs manual
5223 * doc/emacs/search.texi (Nonincremental Search, Regexp Search):
5224 Document that invoking search-forward/backward and
5225 re-search-forward/backward supports only case folding, but not the
5226 rest of the lax-search features. Reported by Mike Kupfer
5229 2015-11-29 Ken Brown <kbrown@cornell.edu>
5231 Update mod-test-sum-test
5233 * modules/mod-test/test.el (mod-test-sum-test): Update to
5234 accommodate the lack of dladdr on Cygwin.
5236 2015-11-29 Alan Mackenzie <acm@muc.de>
5238 Byte compiler: Catch missing argument to `funcall'. Fixes bug#22051.
5240 * lisp/emacs-lisp/bytecomp.el (byte-compile-funcall): When there's no argument
5241 to `funcall', (i) Output an error message; (ii) Generate code to signal a
5242 `wrong-number-of-arguments' error.
5244 2015-11-29 Martin Rudalics <rudalics@gmx.at>
5246 * lisp/window.el (split-window): Don't sanitize sizes when SIZE is non-nil.
5248 2015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
5250 * lisp/character-fold.el (character-fold-to-regexp)
5252 Warn about using long strings.
5254 * test/automated/character-fold-tests.el
5255 (character-fold--test-lax-whitespace)
5256 (character-fold--test-consistency): Reduce string size for tests.
5258 2015-11-28 Eli Zaretskii <eliz@gnu.org>
5260 Document renaming of x-select-enable-* variables
5262 * doc/emacs/killing.texi (Clipboard): Rename
5263 x-select-enable-clipboard to select-enable-clipboard and
5264 x-select-enable-primary to select-enable-primary. Update index
5267 * etc/NEWS: Mark entry as documented.
5269 2015-11-28 Eli Zaretskii <eliz@gnu.org>
5271 Document the shorthand hints displayed by M-x
5273 * doc/emacs/m-x.texi (M-x): Document the numeric meaning of
5274 suggest-key-bindings. Document the shorthand hints for commands
5275 that have no key bindings. Document that M-x completion ignores
5278 * etc/NEWS: Move the M-x entry to "Editing Changes" and mark it as
5281 2015-11-28 Eli Zaretskii <eliz@gnu.org>
5283 Update docs of character folding
5285 * doc/emacs/search.texi (Lax Search): Update the description of
5286 character folding for the latest changes.
5288 2015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
5290 * lisp/character-fold.el: Also play nice with case-folding
5292 (character-fold-to-regexp): Take `case-fold-search' into account.
5294 2015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
5296 * lisp/character-fold.el: Add support for multi-char matches
5298 (character-fold-table): Now has an extra-slot. This is a second
5299 char-table that holds multi-character matches. See docstring for
5301 (character-fold-to-regexp): Can build branching regexps when a
5302 character's entry the extra slot of `character-fold-table' matches the
5303 characters that succeed it.
5305 2015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
5307 * lisp/character-fold.el: Code simplifications
5309 (character-fold-table): Reduce the scope of a variable.
5310 (character-fold-to-regexp): Change logic to work directly on the
5311 input string. It's a little easier to understand, probably
5312 faster, and sets us up for implementing multi-char matches.
5314 * test/automated/character-fold-tests.el
5315 (character-fold--test-fold-to-regexp): New test.
5317 2015-11-28 Eli Zaretskii <eliz@gnu.org>
5319 Document changes in "C-h l"
5321 * doc/emacs/help.texi (Misc Help): Document the changes in "C-h l".
5323 * etc/NEWS: mark "C-h l" changes as documented.
5325 2015-11-28 Eli Zaretskii <eliz@gnu.org>
5327 Finalize documentation of 'custom-prompt-customize-unsaved-options'
5329 * doc/emacs/custom.texi (Saving Customizations): Index the new
5330 function 'custom-prompt-customize-unsaved-options'.
5332 * etc/NEWS: Mention when 'custom-prompt-customize-unsaved-options'
5335 2015-11-28 Eli Zaretskii <eliz@gnu.org>
5337 Document 'comment-line'
5339 * doc/emacs/programs.texi (Comment Commands): Document
5342 * etc/NEWS: Move the entry for 'comment-line' into "Editing Changes".
5344 2015-11-28 Eli Zaretskii <eliz@gnu.org>
5346 Document new checkdoc features
5348 * doc/lispref/tips.texi (Tips, Library Headers): Document the
5349 keyword-checking features of checkdoc and the commands
5350 'checkdoc-file' and 'checkdoc-current-buffer'.
5352 * etc/NEWS: Move the checkdoc-related entries to their own
5355 2015-11-28 Philipp Stephani <p.stephani2@gmail.com>
5357 Simplify the prologue of emacs-module.c functions
5359 * src/emacs-module.c (MODULE_FUNCTION_BEGIN): New macro.
5360 (module_make_global_ref)
5361 (module_free_global_ref, module_make_function, module_funcall)
5362 (module_intern, module_type_of, module_extract_integer)
5363 (module_make_integer, module_extract_float, module_make_float)
5364 (module_copy_string_contents, module_make_string)
5365 (module_make_user_ptr, module_get_user_ptr, module_set_user_ptr)
5366 (module_get_user_finalizer, module_set_user_finalizer)
5367 (module_vec_set, module_vec_get, module_vec_size): Use new helper
5368 macro MODULE_FUNCTION_BEGIN.
5370 2015-11-28 Eli Zaretskii <eliz@gnu.org>
5372 Don't reject module calls with no arguments
5374 * src/emacs-module.c (Finternal_module_call): Allow ARGLIST be nil.
5376 2015-11-28 Philipp Stephani <p.stephani2@gmail.com>
5378 Make module-call be visible from Lisp
5380 * src/emacs-module.c (module_make_function): Use internal--module-call.
5381 (Finternal_module_call): Renamed from Fmodule_call. Add safety
5383 (syms_of_module): DEFSYM save-value-p and save-pointer-p. Do
5384 defsubr internal--module-call.
5386 2015-11-28 Eli Zaretskii <eliz@gnu.org>
5388 Add etags tests for the recent Lua-related bugfix
5390 * test/etags/lua-src/test.lua: New file, tests the issues raised
5392 * test/etags/Makefile (LUASRC): Add test.lua.
5393 * test/etags/ETAGS.good_1:
5394 * test/etags/ETAGS.good_2:
5395 * test/etags/ETAGS.good_3:
5396 * test/etags/ETAGS.good_4:
5397 * test/etags/ETAGS.good_5:
5398 * test/etags/ETAGS.good_6:
5399 * test/etags/CTAGS.good: Adapt to the new Lua test. Also, an old
5400 regression fix, resolved around 25 May 2015, required changes to
5401 the "good" ETAGS files.
5403 2015-11-28 Eli Zaretskii <eliz@gnu.org>
5405 Fix Lua tags when a function name includes '.' or ':'
5407 * lib-src/etags.c (Lua_functions): Add a tag for the last element
5408 of a function name after a dot or a colon. (Bug#21934)
5410 2015-11-28 Eli Zaretskii <eliz@gnu.org>
5412 Improve documentation of search and replace commands
5414 * doc/emacs/search.texi (Replacement and Lax Matches): Document
5415 which commands are affected by 'replace-character-fold'.
5416 (Lax Search): Add a cross reference to "Replacement and Lax
5417 Matches". Improve wording. Fix lost extra whitespace.
5418 (Search Customizations): Improve wording. (Bug#22036)
5419 See also comments in
5420 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02376.html.
5422 * lisp/replace.el (query-replace, query-replace-regexp)
5423 (query-replace-regexp-eval, replace-string, replace-regexp):
5424 Mention 'replace-character-fold' in the doc strings.
5426 2015-11-28 Paul Eggert <eggert@cs.ucla.edu>
5428 Fix minor problems found by static checking
5430 * src/undo.c (prepare_record): Add proper prototype for C.
5432 2015-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5434 * src/emacs-module.c (struct env_storage): Delete
5436 (struct emacs_runtime_private): Keep an emacs_env instead.
5437 (Fmodule_load, Fmodule_call): Declare emacs_env_private separately.
5438 (initialize_environment): Split the arg in two. Adjust all callers.
5439 Only store the private part in Vmodule_environments.
5440 (finalize_environment): Change the arg to only be the private env.
5443 2015-11-27 Eli Zaretskii <eliz@gnu.org>
5445 Improve documentation of 'replace-character-fold'
5447 * lisp/replace.el (replace-character-fold): Clarify which commands
5448 are affected by this variable.
5450 2015-11-27 Mark Oteiza <mvoteiza@udel.edu>
5452 Backport: Add interactive seek command.
5454 * lisp/mpc.el (mpc-cmd-seekcur): New function.
5455 (mpc-seek-current): New command.
5456 (mpc-mode-menu): Add entry for mpc-seek-current
5457 (mpc-mode-map): Bind mpc-seek-current to "g"
5459 2015-11-27 Dmitry Gutov <dgutov@yandex.ru>
5461 Autoload etags when using its xref backend
5463 * lisp/progmodes/xref.el (xref--etags-backend):
5464 Rename to etags--xref-backend. Move to etags.el. Autoload.
5467 2015-11-27 Artur Malabarba <bruce.connor.am@gmail.com>
5469 * lisp/character-fold.el: Allow complex chars to match their decomposition
5471 (character-fold-table): When a character's decomposition does not
5472 involve a formatting tag (i.e., if it has an "exact" description via
5473 other characters), then this character is allowed to match the
5476 2015-11-27 Artur Malabarba <bruce.connor.am@gmail.com>
5478 * lisp/character-fold.el: More descriptive variable names
5480 (character-fold-table): Rename a lot of the lexical variables to
5481 make the code easier to read.
5483 2015-11-27 Artur Malabarba <bruce.connor.am@gmail.com>
5485 * lisp/isearch.el: Ensure we still support `isearch-new-word'
5487 (isearch-new-regexp-function): Define variable.
5488 (isearch-new-word): Define as an obsolete alias. (Bug#22018)
5490 2015-11-27 Eli Zaretskii <eliz@gnu.org>
5492 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
5494 2015-11-27 Lee Bochicchio <lboc.home@gmail.com>
5496 * test/automated/abbrev-tests.el: Define more tests
5498 (abbrev-table-name-test, kill-all-abbrevs-test)
5499 (clear-abbrev-table-test): New tests.
5501 2015-11-27 Eli Zaretskii <eliz@gnu.org>
5503 Add module tests for wrong-type-argument
5505 * modules/mod-test/test.el (mod-test-sum-test): Add tests for
5506 wrong-type-argument.
5508 2015-11-27 Eli Zaretskii <eliz@gnu.org>
5510 Improve handling of signals and 'throw' in modules
5512 * src/emacs-module.c: Add commentary explaining how to write
5513 functions in this file.
5514 (module_make_global_ref, module_free_global_ref)
5515 (module_non_local_exit_signal, module_non_local_exit_throw)
5516 (module_make_function, module_funcall, module_intern)
5517 (module_type_of, module_is_not_nil, module_eq)
5518 (module_extract_integer, module_make_integer)
5519 (module_extract_float, module_make_float)
5520 (module_copy_string_contents, module_make_string)
5521 (module_make_user_ptr, module_get_user_ptr, module_set_user_ptr)
5522 (module_get_user_finalizer, module_set_user_finalizer)
5523 (module_vec_set, module_vec_get, module_vec_size)
5524 (module_non_local_exit_signal_1, module_non_local_exit_throw_1):
5525 Do nothing and return with failure indication immediately, if some
5526 previous module call signaled an error or wants to throw. See
5527 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02133.html
5528 for the relevant discussions.
5530 2015-11-27 Eli Zaretskii <eliz@gnu.org>
5532 Add ':version' tag to 'checkdoc-package-keywords-flag'
5534 * lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag):
5535 Add a ':version' tag.
5537 2015-11-27 Eli Zaretskii <eliz@gnu.org>
5539 Improve documentation of 'eval-buffer' and 'eval-region'
5541 * src/lread.c (Feval_buffer, Feval_region): Doc fixes. (Bug#22023)
5543 * doc/lispref/eval.texi (Eval): Mention narrowing to clarify
5544 "accessible portion of buffer".
5546 2015-11-27 Eli Zaretskii <eliz@gnu.org>
5548 Unbreak the Cygwin w32 build
5550 * src/emacs.c (main): Call w32_init_main_thread in the Cygwin w32
5551 build as well. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
5553 2015-11-27 Eli Zaretskii <eliz@gnu.org>
5555 Improve commentary in character-fold.el
5557 * lisp/character-fold.el (character-fold-to-regexp): Move detailed
5558 description from commit log message to comments. (Bug#22019)
5560 2015-11-26 Alan Mackenzie <acm@muc.de>
5562 Byte Compiler: generate code to adjust stack count after call to `signal'.
5564 Corrects change from earlier today.
5566 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): supply the current value of
5567 `byte-compile--for-effect' as argument to `byte-compile-form'.
5569 2015-11-26 Eli Zaretskii <eliz@gnu.org>
5571 Improve commentary of prepare_to_modify_buffer_1
5573 * src/insdel.c (prepare_to_modify_buffer_1): Mention in commentary
5574 that this function runs Lisp. Suggested by Richard Stallman
5577 2015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
5579 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
5581 2015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
5583 Fix regression after merge.
5585 * src/undo.c (prepare_record): Remove call to run_undoable_change.
5587 2015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
5589 After delete, record point location in undo.
5591 Addresses Bug #21968.
5593 * lisp/simple.el (undo-auto--add-boundary): Clean up code to
5594 better support intercalating calls.
5595 * src/keyboard.c, src/keyboard.h (command_loop_1): Store value of
5596 point and current buffer before each command.
5597 * src/undo.c (record_point): Now only record the point.
5598 * src/undo.c (prepare_record): Functionality removed form
5600 * src/undo.c (record_delete): Check if point needs recording.
5601 * src/undo.c (undo-boundary): Record value of point before each
5603 * test/automated/simple-test.el: New tests.
5608 2015-11-26 Eli Zaretskii <eliz@gnu.org>
5610 Fix compiler warnings in w32.c
5612 * src/w32.c (sys_socket): In case of error, use -1 as return
5613 value, not INVALID_SOCKET, which causes compiler warnings.
5614 (maybe_load_unicows_dll): Cast the return value of GetProcAddress
5615 to the appropriate function signature, to avoid compiler errors.
5616 Reported by Andy Moreton <andrewjmoreton@gmail.com>. (Bug#21953)
5618 2015-11-26 Dmitry Gutov <dgutov@yandex.ru>
5620 Check if the file exists on disk before producing the revert diff
5622 * lisp/vc/vc-dispatcher.el (vc-buffer-sync): Check if the file
5623 exists on disk (bug#20558).
5625 2015-11-26 Alan Mackenzie <acm@muc.de>
5627 Byte compiler: on setq with an odd number of arguments, generate a `signal'
5629 * lisp/emacs-lisp/cconv.el (cconv-convert): Don't transform `setq' form when
5630 it has an odd number of arguments, to allow bytecomp to handle the error.
5632 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): In a `setq' form with an
5633 odd number of arguments, generate a `signal' instead of the normal code.
5635 2015-11-26 Dmitry Gutov <dgutov@yandex.ru>
5637 Use find-tag-default for xref-backend-identifier-at-point
5639 * lisp/progmodes/etags.el (find-tag-tag)
5640 (tags-completion-at-point-function): Extract common code as
5642 (xref-backend-identifier-at-point): Define in terms of the new
5645 2015-11-26 Paul Eggert <eggert@cs.ucla.edu>
5647 * src/undo.c (record_property_change): Remove now-unused local.
5649 2015-11-25 Phillip Lord <phillip.lord@russet.org.uk>
5651 run_undoable_changes now called from insdel.
5653 The original calls from inside undo.c are not always at a safe position
5654 to call lisp, as they originate in varied positions within insdel.c.
5655 Calling them directly from prepare_to_modify_buffer_1 ensures that they
5656 are always run at the same point.
5658 * src/undo.c (run_undoable_changes,syms_of_undo): Remove function
5660 * src/insdel.c (run_undoable_changes): Add function and symbol.
5662 2015-11-25 Eli Zaretskii <eliz@gnu.org>
5664 Improve and update documentation of search commands
5666 * doc/emacs/search.texi (Lax Search): Renamed from "Search Case";
5667 all references changed. Move the description of lax-whitespace
5668 here. Add description of the new character folding features and
5669 additional customizable options.
5670 (Isearch Yank): Move before "Error in Search".
5671 (Basic Isearch): Improve wording. Add index entries. Add short
5672 description of how to abandon search, making this subsection a
5673 complete introduction to search basics.
5674 (Repeat Isearch): Add index entries. Describe additional
5675 customizable options. Describe mouse clicks.
5676 (Isearch Yank): Add index entries. Describe mouse-2 click in echo
5677 area. Describe more customizable options.
5678 (Error in Isearch): Add index entries.
5679 (Special Isearch): Move actual description of some isearch
5680 commands to other sections, leaving here just the summary of the
5681 commands. Add command that toggles character folding. Describe
5682 commands, like "C-h C-h", that were previously omitted for some
5684 (Not Exiting Isearch): Describe search-exit-option. Add index
5686 (Word Search): Describe eww-search-word and eww-search-prefix.
5687 (Symbol Search): Add index entries.
5688 (Regexp Search): Describe regexp-search-ring-max.
5689 (Replacement and Lax Matches): Renamed from "Replacement and
5690 Case"; all references changed. Describe lax-whitespace matching
5691 in replace commands and related options. Describe character
5692 folding in replace commands and related options.
5693 (Query Replace): Describe query-replace-from-to-separator and the
5694 new history features. Add index entries for highlighted text.
5695 Describe query-replace-skip-read-only. Describe more keys
5696 accepted by query-replace.
5697 (Other Repeating Search): More index entries for Occur. Describe
5698 list-matching-lines-default-context-lines.
5699 (Search Customizations): New section, documents customizable
5700 options that were not documented until now.
5701 * doc/emacs/glossary.texi (Glossary): Add "Case Folding" and
5702 "Character Folding".
5704 * etc/NEWS: Move search- and replace-related entries to a single
5707 * lisp/replace.el (query-replace-show-replacement): Doc fix.
5708 * lisp/isearch.el (search-nonincremental-instead)
5709 (isearch-hide-immediately): Doc fixes.
5711 2015-11-25 Katsumi Yamaoka <yamaoka@jpl.org>
5713 Remove nnml-retrieve-groups that is unnecessary and somewhat problematic
5715 * lisp/gnus/nnml.el (nnml-retrieve-groups): Remove. See:
5716 <http://thread.gmane.org/gmane.emacs.gnus.general/86308> and
5717 <http://thread.gmane.org/gmane.emacs.gnus.general/86321>
5719 2015-11-25 Paul Eggert <eggert@cs.ucla.edu>
5721 Fix module_format_fun_env when dynlib_addr fails
5723 * src/emacs-module.c (module_format_fun_env):
5724 exprintf doesn’t support %p, so use %x. Reported by Eli Zaretskii in:
5725 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02122.html
5727 2015-11-25 Paul Eggert <eggert@cs.ucla.edu>
5729 Disambiguate variable help a bit better
5731 * lisp/help-fns.el (describe-variable): Quote the
5732 variable’s value if it is a symbol other than t or nil.
5734 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02147.html
5736 2015-11-25 Dmitry Gutov <dgutov@yandex.ru>
5738 Pass SVN commit message through log-edit-extract-headers
5740 * lisp/vc/vc-svn.el (vc-svn-checkin): Pass COMMENT through
5741 log-edit-extract-headers (bug#18954).
5743 2015-11-24 Alan Mackenzie <acm@muc.de>
5745 CC Mode: Eliminate compiler warning messages.
5747 * lisp/progmodes/cc-mode.el (top level): remove compile time declaration of
5748 `font-lock-syntactic-keywords' (which CC Mode doesn't use).
5749 * lisp/progmodes/cc-awk.el (awk-mode-syntax-table)
5750 (c-awk-set-syntax-table-properties): Clarify comments about
5751 `font-lock-syntactic-keywords'.
5753 * lisp/progmodes/cc-bytecomp.el (cc-bytecomp-load): Create a dummy declaration
5754 of this before the real (interpreted) one, to satisfy the byte compiler.
5756 2015-11-24 Simen Heggestøyl <simenheg@gmail.com>
5758 Extend the test suite for json.el
5760 * lisp/json.el (json-plist-p): Clarify docstring.
5762 * test/automated/json-tests.el (json-tests--with-temp-buffer): New
5764 (test-json-join, test-json-alist-p)
5765 (test-json-plist-p, test-json-advance, test-json-peek)
5766 (test-json-pop, test-json-skip-whitespace)
5767 (test-json-read-keyword, test-json-encode-keyword)
5768 (test-json-read-number, test-json-encode-number)
5769 (test-json-read-escaped-char, test-json-read-string)
5770 (test-json-encode-string, test-json-encode-key)
5771 (test-json-new-object, test-json-add-to-object)
5772 (test-json-read-object, test-json-encode-list)
5773 (test-json-read-array, test-json-encode-array)
5774 (test-json-read, test-json-read-from-string)
5775 (test-json-encode): New tests.
5776 (json-read-simple-alist): Merged into `test-json-read-object'.
5777 (json-encode-string-with-special-chars): Merged into
5778 `test-json-encode-string'.
5779 (json-read-string-with-special-chars): Split into
5780 `test-json-encode-string' and `test-json-read-from-string'.
5782 2015-11-24 Anders Lindgren <andlind@gmail.com>
5784 Fixed bug#18283: Enable applescript in NextStep.
5786 * nextstep/templates/Info.plist.in: Set NSAppleScriptEnabled to YES.
5788 2015-11-24 Eli Zaretskii <eliz@gnu.org>
5790 Allow completion on dynamic module files in load-library
5792 * lisp/files.el (load-library): Bind completion-ignored-extensions
5793 to nil, to allow completion on dynamic modules typed as file
5794 names. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
5796 2015-11-24 Alan Mackenzie <acm@muc.de>
5798 CC Mode: eliminate almost all byte compilation warnings
5800 * lisp/progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): Remove.
5801 (cc-require): Remove the crude hack that saved and restored
5802 byte-compile-noruntime-functions.
5803 (cc-conditional-require, cc-conditional-require-after-load): New macros.
5805 * lisp/progmodes/cc-defs.el (top level): Reformulate code which loaded
5806 cc-fix.el using the new macros in cc-bytecomp.el.
5808 * lisp/progmodes/cc-langs.el (c++-template-syntax-table)
5809 (c-no-parens-syntax-table): Add extra "(eval ..)"s around "'(lambda ..)"
5810 forms to remove the superflous quotes.
5812 2015-11-24 Eli Zaretskii <eliz@gnu.org>
5814 Add one more mod-test test
5816 * modules/mod-test/test.el (mod-test-sum-test): Test the error
5817 signaled when the function is invoked with a wrong number of
5820 2015-11-24 Philipp Stephani <phst@google.com>
5822 * modules/mod-test/mod-test.c (Fmod_test_sum): Verify there are 2 args.
5824 2015-11-24 Eli Zaretskii <eliz@gnu.org>
5826 Implement dynlib_addr for MS-Windows
5828 * src/dynlib.c [WINDOWSNT]: Include w32common.h.
5829 <g_b_init_get_module_handle_ex> [WINDOWSNT]: New static variable.
5830 (GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS)
5831 (GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT) [WINDOWSNT]: Define
5833 (dynlib_reset_last_error): Reset g_b_init_get_module_handle_ex to
5835 (dynlib_addr) [WINDOWSNT]: Non-trivial implementation to report
5836 the full file name of the module for a given address.
5838 2015-11-24 Alan Mackenzie <acm@muc.de>
5840 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
5842 2015-11-24 Alan Mackenzie <acm@muc.de>
5844 Squashed commit of the following:
5846 commit e1ecf76585bef2eb87995f7a7f92cc12003a6f70
5847 Author: Alan Mackenzie <acm@muc.de>
5848 Date: Tue Nov 24 16:50:09 2015 +0000
5850 Byte compile: minor amendments.
5852 * lisp/emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5853 add a comment to explain the binding of variables around a subsidiary
5855 (byte-compile-new-defuns): Amend the doc string.
5857 commit c537bfed1dda1593d218956ff00c6105a3ff0316
5858 Author: Alan Mackenzie <acm@muc.de>
5859 Date: Sat Nov 21 18:43:57 2015 +0000
5861 Byte compiler: fix spurious warnings "might not be defined at runtime".
5863 Also initialize byte-compile-noruntime-functions between runs.
5865 * lisp/emacs-lisp/bytecomp.el (byte-compile-new-defuns): New variable.
5866 (byte-compile-initial-macro-environment): For eval-when-compile: bind
5867 byte-compile-unresolved-functions and byte-compile-new-defuns around
5868 byte-compile-top-level, to prevent spurious entries being made.
5869 (byte-compile-warn-about-unresolved-functions): Check whether function is
5870 in byte-compile-new-defuns before emitting a warning about it.
5871 (byte-compile-from-buffer): Initialize new variable and
5872 byte-compile-noruntime-functions to nil.
5873 (byte-compile-file-form-require): record all new functions defined by a
5874 `require' in byte-compile-new-defuns.
5875 (byte-compile-file-form-defmumble): record the new alias in
5876 byte-compile-new-defuns.
5878 2015-11-24 Eli Zaretskii <eliz@gnu.org>
5880 Fix crash at startup related to GC of font entities
5882 * src/font.h (GC_FONT_SPEC_P, GC_FONT_ENTITY_P)
5883 (GC_FONT_OBJECT_P, GC_XFONT_SPEC, GC_XFONT_ENTITY)
5884 (GC_XFONT_OBJECT): New macros, for use in garbage collector.
5885 * src/alloc.c (compact_font_cache_entry, compact_font_caches):
5886 Don't ifdef away font cache compaction on NT_GUI, as the problems
5887 which led to that seem to have been solved.
5888 (compact_font_cache_entry): Use GC_FONT_SPEC_P, GC_XFONT_SPEC,
5889 GC_XFONT_ENTITY, and GC_XFONT_OBJECT, instead of their non-GC_
5890 cousins. (Bug#21999)
5892 2015-11-24 Alan Mackenzie <acm@muc.de>
5894 Byte compile: Output an error, not a warning, for odd number of args to setq
5896 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): Amend.
5898 2015-11-24 Ken Raeburn <raeburn@raeburn.org>
5900 Fix kbd_buffer iteration loop in readable_events
5902 * src/keyboard.c (readable_events): Wrap the event pointer back to the
5903 start of the kbd_buffer array inside the top of the loop instead of
5904 right before checking the loop condition, since kbd_fetch_ptr and
5905 kbd_store_ptr point past the end of the array to mean that element 0
5906 is next. (bug#21935)
5908 2015-11-24 Paul Eggert <eggert@cs.ucla.edu>
5910 Improve text-quoting-style doc again
5912 * doc/lispref/help.texi (Keys in Documentation):
5913 Omit overkill discussion of ‘setq’. Mention Emacs versions
5914 where ‘grave’ style was standard.
5916 2015-11-24 Paul Eggert <eggert@cs.ucla.edu>
5918 Improve text-quoting-style doc
5920 2015-11-24 Paul Eggert <eggert@cs.ucla.edu>
5922 Simplify module_make_function
5924 * src/emacs-module.c (module_make_function):
5925 Simplify by calling build_unibyte_string.
5927 2015-11-24 Paul Eggert <eggert@cs.ucla.edu>
5929 Port better to FreeBSD’s dlfunc vs dlsym
5931 This avoids warnings when converting between void * and
5932 function pointers, which strict C11 does not allow.
5933 * configure.ac (dlfunc): Check for existence.
5934 * src/dynlib.c (dlfunc) [!HAVE_DLFUNC]: New macro.
5935 (dynlib_func): New function.
5936 * src/dynlib.h (dynlib_function_ptr, dynlib_func): New decls.
5937 * src/emacs-module.c (Fmodule_load): Use dynlib_func, not
5938 dynlib_sym, for function pointers.
5940 2015-11-24 Paul Eggert <eggert@cs.ucla.edu>
5942 Simplify use of emacs_finalizer_function type
5944 * src/emacs-module.h (emacs_finalizer_function):
5945 Now EMACS_NOEXCEPT. All users simplified to omit EMACS_NOEXCEPT.
5946 (struct emacs_env_25): Use emacs_finalizer_function where applicable.
5948 2015-11-24 Paul Eggert <eggert@cs.ucla.edu>
5950 module_format_fun_env fixes
5952 * src/doprnt.c (exprintf) [HAVE_MODULES]: Also define in this case.
5953 * src/emacs-module.c (module_format_fun_env):
5954 Convert path and sym to UTF-8.
5955 Don’t use VLAs, as the C11 standard says they’re optional,
5956 and anyway they can cause core dumps with large allocations.
5957 Use exprintf rather than snprintf, as exprintf handles arbitrarily
5958 long strings. Simplify the code a bit.
5960 2015-11-23 Dmitry Gutov <dgutov@yandex.ru>
5962 Don't use package-user-dir in elisp-library-roots if it's not bound
5964 * lisp/progmodes/elisp-mode.el (elisp-library-roots): Don't
5965 use package-user-dir if it's not bound (bug#19759).
5967 2015-11-23 Anders Lindgren <andlind@gmail.com>
5969 New visible-bell for NextStep (OS X El Capitan compatible).
5971 Instead of inverting a rectangle in the middle of the frame, use
5972 the standard NextStep image "caution", represented using an
5973 warning sign with an exclamation mark. (Bug#21662)
5975 Implemented based on a suggestion drafted by Mustafa Kocaturk.
5977 * src/nsterm.m (EmacsBell): New class for managing the caution
5978 image. Support multiple active bells, the image is removed once
5979 all bells have timed out.
5980 (ns_timeout): Removed, no longer used.
5981 (ns_ring_bell): Reimplemented to use EmacsBell.
5983 2015-11-23 Johan Bockgård <bojohan@gnu.org>
5985 * lisp/emacs-lisp/nadvice.el (add-function): Fix debug spec.
5987 (remove-function): Ditto. (Bug#20376)
5989 2015-11-23 Mark Oteiza <mvoteiza@udel.edu>
5991 * lisp/leim/quail/tamil-dvorak.el: Add necessary escapes.
5993 2015-11-23 Eli Zaretskii <eliz@gnu.org>
5995 Improve how non-ASCII strings are accepted from modules
5997 * src/emacs-module.c (module_make_function, module_make_string):
5998 Build a unibyte Lisp string and then decode it by UTF-8, instead
5999 of building a multibyte string without decoding. This is more
6000 tolerant to deviations from UTF-8.
6002 2015-11-23 Paul Eggert <eggert@cs.ucla.edu>
6004 Port recent module changes to pickier compilers
6006 * src/emacs-module.c (module_make_function)
6007 (module_make_string): Add casts to fix pointer signedness issues.
6009 2015-11-23 Philipp Stephani <phst@google.com>
6011 Fix how strings are accepted from modules
6013 * src/emacs-module.c (module_make_function, module_make_string): Use
6014 make_multibyte_string.
6015 (module_copy_string_contents): Encode before reading the byte
6016 size. Return false if and only if an error occurred.
6018 2015-11-23 Eli Zaretskii <eliz@gnu.org>
6020 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
6022 2015-11-23 Shakthi Kannan <shakthimaan@gmail.com>
6024 Add the tamil-dvorak input method
6026 * lisp/leim/quail/tamil-dvorak.el: New file. (Bug#21768)
6028 * etc/NEWS: Mention the new input method.
6030 2015-11-23 Martin Rudalics <rudalics@gmx.at>
6032 Move setting FRAME_WINDOW_SIZES_CHANGED to resize_frame_windows.
6034 * src/frame.c (adjust_frame_size): Don't set
6035 FRAME_WINDOW_SIZES_CHANGED here ...
6036 * src/window.c (resize_frame_windows): ... but here, as suggested
6037 by Stefan Monnier. Also remove some dead code along the way.
6039 2015-11-23 Alan Mackenzie <acm@muc.de>
6041 * etc/NEWS (Incompatible Lisp Changes): Also `setf' needs an even # of args.
6043 2015-11-23 Alan Mackenzie <acm@muc.de>
6045 Signal an error when `setf' gets an odd number of arguments.
6047 * lisp/emacs-lisp/gv.el (setf): Amend.
6049 2015-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
6051 * lisp/emacs-lisp/smie.el (smie-backward-sexp): Handle BOB better.
6053 2015-11-23 Alan Mackenzie <acm@muc.de>
6055 * etc/NEWS (Incompatible Lisp Changes): Document new restriction on `setq'.
6057 2015-11-23 Alan Mackenzie <acm@muc.de>
6059 Expunge occurrences of `setq' with an odd number of arguments.
6061 * lisp/apropos.el (apropos-documentation):
6062 * lisp/obsolete/complete.el (PC-include-file-all-completions):
6063 * lisp/progmodes/compile.el (compilation-goto-locus):
6064 * lisp/vc/vc-cvs.el (vc-cvs-parse-root): (twice)
6065 Insert missing nil at end of `setq' forms.
6067 * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-autoload): Remove an
6068 erroneous trailing variable name from a setq, thus allowing a compilation
6069 properly to track functions not defined at runtime.
6071 2015-11-23 John Wiegley <johnw@newartisans.com>
6073 Add a note about a questionable use of bool in xdisp.c
6075 2015-11-23 Alan Mackenzie <acm@muc.de>
6077 Issue a warning from the byte compiler on a malformed `setq' form.
6079 Partly fixes bug#20241.
6080 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): Issue a warning when a
6081 `setq' form with an odd number of arguments is compiled.
6083 2015-11-23 Alan Mackenzie <acm@muc.de>
6085 Don't let cconv_convert insert a nil argument into a `setq' form.
6088 * lisp/emacs-lisp/cconv.el (cconv-convert): Don't silently insert a nil last
6089 argument into a `setq' when there're an odd number of args. This enables the
6090 byte compiler to issue a message in this case.
6092 2015-11-23 Alan Mackenzie <acm@muc.de>
6094 Signal an error when `setq' has an odd number of arguments. Fixes bug#20241.
6096 * src/eval.c (Fsetq): Signal an error on an odd number of arguments.
6097 (syms_of_eval): Add a DEFSYM for Qsetq.
6099 2015-11-23 Martin Rudalics <rudalics@gmx.at>
6101 * doc/lispref/windows.texi (Window Sizes): Fix indices and references.
6103 * src/frame.c (adjust_frame_size): Set FRAME_WINDOW_SIZES_CHANGED (Bug#21975).
6105 2015-11-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
6107 Add EUDC BBDB 3 entry in NEWS
6109 * NEWS: Mention EUDC BBDB backend support for BBDB 3.
6111 2015-11-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
6113 Improve EUDC to BBDB 3 export
6115 * lisp/net/eudc-vars.el (eudc-ldap-bbdb-conversion-alist): Change phone
6116 entry to single item. Add company conversion.
6117 * lisp/net/eudc-export.el (eudc-bbdbify-company): New function.
6118 (bbdb-parse-phone): Declare function.
6119 (eudc-bbdbify-phone): Add BBDB 3 support.
6122 2015-11-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
6124 Add BBDB 3 support for EUDC export
6126 * lisp/net/eudc.el: Add bbdb-version defvar.
6127 (eudc--using-bbdb-3-or-newer-p): New function.
6128 * lisp/net/eudc-export.el (eudc-create-bbdb-record): Add support for
6129 bbdb-create-internal argument list changes introduced in BBDB 3.
6130 * lisp/net/eudcb-bbdb.el: Remove bbdb-version defvar.
6131 (eudc-bbdb-field): Call eudc--using-bbdb-3-or-newer-p.
6134 2015-11-22 Eli Zaretskii <eliz@gnu.org>
6136 Allow loading modules by 'load-file'
6138 * src/lread.c (Fload): Call 'unbind_to' with 'Fmodule_load' as the
6139 2nd arg, to avoid the "binding stack not balanced" error.
6140 (syms_of_lread) <module-file-suffix>: New Lisp variable.
6142 * lisp/files.el (module-file-suffix): Declare.
6143 (load-file): Remove 'module-file-suffix' from
6144 'completion-ignored-extensions', to allow completion on modules.
6146 * etc/NEWS: Mention 'module-file-suffix'.
6148 2015-11-22 Eli Zaretskii <eliz@gnu.org>
6150 Fix unoptimized builds
6152 * src/lisp.h (XTYPE): Move before XSYMBOL, to fix unoptimized
6155 2015-11-22 Dmitry Gutov <dgutov@yandex.ru>
6157 Work around the asynchronous-empty-diff problem
6159 * lisp/vc/vc-rcs.el (vc-rcs-diff):
6160 * lisp/vc/vc-mtn.el (vc-mtn-diff):
6161 * lisp/vc/vc-hg.el (vc-hg-diff):
6162 * lisp/vc/vc-git.el (vc-git-diff): Ignore the ASYNC argument,
6163 do a synchronous process call (bug#21969).
6165 2015-11-22 Karl Fogel <kfogel@red-bean.com>
6167 Finish excising electric indent from `open-line'
6169 * lisp/simple.el (open-line): Remove INTERACTIVE argument.
6171 * test/automated/simple-test.el (open-line-indent, open-line-hook):
6174 This change finishes what my commit of Thu Nov 19 17:32:37 2015 -0600
6175 (git commit c59353896) started. It turns out that having INTERACTIVE
6176 cause `post-self-insert-hook' to run (via `newline') meant `open-line'
6177 still had the electric indent behavior, as `post-self-insert-hook'
6178 normally contains `electric-indent-post-self-insert-function' ever
6179 since `electric-indent-mode' has been on by default. Tracing the code
6180 change in `open-line' is mildly twisty, because Artur Malabarba's
6181 earliest two commits of 24 Oct 2015 first removed the `interactive'
6182 form entirely (git commit 6939896e2) and then restored it with the new
6183 extra "p" already added (git commit bd4f04f86), such that there is no
6184 single-commit diff in which one sees the second "p" appear. Thus this
6185 change is effectively a reversion of parts of each of those commits.
6187 This could close bug#21884, at least until further discussion.
6189 2015-11-22 Dmitry Gutov <dgutov@yandex.ru>
6191 Adhere closer to the "implicit tag name" definition
6193 * lisp/progmodes/etags.el (etags-tags-completion-table):
6194 Adhere closer to the "implicit tag name" definition. Simplify
6195 the regexp. Search for the explicit tag name first, and when
6196 not found, search locally for the implicit one. (Bug#21934)
6198 2015-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6200 Unrevert most of regexp reentrancy abort patch
6203 * src/syntax.c (update_syntax_table_forward): Propertize even when truncated
6204 which is hence not unreverted.
6206 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
6207 (UPDATE_SYNTAX_TABLE_FAST): Re-introduce.
6208 All callers in regex.c changed back to the _FAST versions.
6210 * test/automated/message-mode-tests.el: Tweak the test to rely on auto
6211 propertization in backward-sexp.
6213 2015-11-21 Paul Eggert <eggert@cs.ucla.edu>
6215 Revert regexp reentrancy abort patch
6217 Although the patch does fix Bug#21688 and prevents a core dump,
6218 it also makes the message-mode-propertize test fail; see:
6219 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01667.html
6220 Perhaps someone else can come up with a better fix some day.
6221 * src/syntax.c (update_syntax_table_forward):
6222 Propertize even when truncated.
6223 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
6224 (UPDATE_SYNTAX_TABLE_FAST): Remove.
6225 All callers changed back to the non-_FAST versions.
6227 2015-11-21 Paul Eggert <eggert@cs.ucla.edu>
6229 Add a few safety checks when ENABLE_CHECKING
6231 This was motivated by the recent addition of module code,
6232 which added some ENABLE_CHECKING-enabled checks that are
6233 useful elsewhere too.
6234 * src/alloc.c (compact_font_cache_entry):
6235 * src/fns.c (sweep_weak_table):
6236 * src/lread.c (oblookup):
6237 Use gc_asize rather than doing it by hand.
6238 * src/emacs-module.c (module_make_global_ref)
6239 (module_free_global_ref, module_vec_size):
6240 Omit assertions that lisp.h now checks.
6241 * src/lisp.h (XFASTINT, ASIZE): In functional implementations,
6242 check that the result is nonnegative. Use eassume, as this
6243 info can help a bit when optimizing production code.
6244 (XSYMBOL) [!USE_LSB_TAG]: Assert that argument is a symbol,
6245 to be consistent with the USE_LSB_TAG case.
6246 (gc_asize): New function, when ASIZE is needed in the gc.
6248 (HASH_TABLE_P): Move definition up, so that it can be used ...
6249 (XHASH_TABLE): ... here, to assert that the arg is a hash table.
6251 2015-11-21 Eli Zaretskii <eliz@gnu.org>
6253 Simplify recording of main thread's ID on MS-Windows
6255 * src/w32term.c (w32_initialize):
6256 * src/w32console.c (initialize_w32_display):
6257 * src/w32fns.c (globals_of_w32fns): Don't record the main thread
6258 ID independently for each type of session (GUI, TTY, batch).
6259 * src/w32term.c (w32_init_main_thread): New function, records the
6260 main thread's thread ID.
6261 * src/w32term.h: Add prototype for w32_init_main_thread.
6262 * src/emacs.c (main) [WINDOWSNT]: Call w32_init_main_thread.
6264 * src/emacs-module.c [WINDOWSNT]: Rename main_thread_id to
6265 main_thread, for consistency with other threading libraries. All
6266 users changed. Include w32term.h.
6267 (check_main_thread) [WINDOWSNT]: Simplify the test: no need to
6268 make sure the main thread is alive, as we hold a handle on it
6269 opened by w32_init_main_thread.
6270 (module_init) [WINDOWSNT]: Reuse the thread ID recorded by
6271 w32_init_main_thread, instead of calling the requisite APIs once
6274 2015-11-21 Mark Oteiza <mvoteiza@udel.edu>
6276 Backport: Fix issue where a new tempfile was created every refresh
6278 * lisp/mpc.el (mpc-format): Leave dir as relative path
6280 2015-11-21 Eli Zaretskii <eliz@gnu.org>
6282 Call 'window-size-change-functions' for mini-windows
6284 * src/window.c (grow_mini_window, shrink_mini_window): Set the
6285 frame's 'window_sizes_changed' flag.
6286 * src/xdisp.c (redisplay_internal): Call the hooks on
6287 'window-size-change-functions' if the call to 'echo_area_display'
6288 sets the frame's 'window_sizes_changed' flag.
6289 (syms_of_xdisp) <window-size-change-functions>:
6290 Update doc string to indicate the mini-window resizes trigger a
6291 call to the hooks, and don't promise that will happen "before
6292 redisplay". (Bug#19576, Bug#21333)
6294 * doc/lispref/windows.texi (Window Hooks): Update the description
6295 of 'window-size-change-functions'.
6297 2015-11-21 Eli Zaretskii <eliz@gnu.org>
6299 Improve documentation of dynamic modules
6301 * src/fns.c (Frequire): Doc fix to include the dynamic module
6303 * src/lread.c (Fload, Vload_suffixes): Doc fixes to include the
6304 dynamic module support.
6305 (Fload): Treat the module suffix the same as '*.el' and '*.elc'
6306 wrt the MUST-SUFFIX argument.
6308 * etc/NEWS: Expand documentation of dynamically loaded modules.
6310 2015-11-21 Philipp Stephani <phst@google.com> (tiny change)
6312 Initial documentation for dynamic modules
6314 * etc/NEWS: Mention the new support for dynamically loaded modules.
6316 2015-11-21 Dmitry Gutov <dgutov@yandex.ru>
6318 Add xref--etags-backend to xref-backing-functions using add-hook
6320 * lisp/progmodes/xref.el (xref-backend-functions): Move the
6321 default value into a separate `add-hook' call (bug#21964).
6323 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
6324 Don't declare the xref-backend-functions variable.
6325 It doesn't make any difference.
6327 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
6329 Fix double-decrement bug when freeing global refs
6331 * src/emacs-module.c (module_free_global_ref): Add a FIXME
6332 comment about error reporting. Fix a recently-introduced typo
6333 that double-decremented the refcount.
6335 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
6337 Declare emacs_module_init in the module API
6339 * src/emacs-module.h (emacs_module_init): New decl.
6340 Without it, GCC might complain about a module that defines
6341 emacs_module_init without using it. This also checks the
6344 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
6346 Fix module test to use ptrdiff_t nargs too
6348 * modules/mod-test/mod-test.c (Fmod_test_return_t)
6349 (Fmod_test_sum, Fmod_test_signal, Fmod_test_throw)
6350 (Fmod_test_non_local_exit_funcall, Fmod_test_globref_make)
6351 (Fmod_test_string_a_to_b, Fmod_test_userptr_make)
6352 (Fmod_test_userptr_get, Fmod_test_vector_fill)
6353 (Fmod_test_vector_eq): Arg counts are ptrdiff_t, not int.
6354 (finalizer): Remove; no longer used.
6356 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
6358 Fix reindent-introduced typo in module code
6360 * src/emacs-module.c (MODULE_SETJMP_1): Fix typo that I
6361 introduced while reindenting the code earlier, and add a
6362 comment explaining the unusual use of do-while here.
6364 2015-11-20 Anders Lindgren <andlind@gmail.com>
6366 Fixed bug#19576: `write-file' saves wrong buffer.
6368 If a function on the hook `window-size-change-functions' doesn't
6369 restore the current buffer, functions that save and restore the
6370 current window configuration (like `y-or-no-p') could silently
6371 change the current buffer. When `write-file' asked the user
6372 confirmation to overwrite a file, `y-or-no-p' changed the current
6373 buffer, and the wrong buffer was saved to the file.
6375 * lisp/follow.el (follow-windows-start-end): Call `select-frame'
6376 using the `norecord' parameter.
6377 (follow-window-size-change): Restore current buffer. Call
6378 `select-frame' using the `norecord' parameter. Cleanup.
6380 2015-11-20 John Wiegley <johnw@newartisans.com>
6382 Correct a documentation error in frames.texi
6384 2015-11-20 Stephen Leake <stephen_leake@stephe-leake.org>
6386 * lisp/cedet/mode-local.el: Delete obsolete comment
6388 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
6390 Module function arg counts are ptrdiff_t, not int
6392 * src/emacs-module.c (struct module_fun_env)
6393 (module_make_function, module_funcall, Fmodule_call):
6394 * src/emacs-module.h (struct emacs_runtime, struct emacs_env_25):
6395 Use ptrdiff_t, not int, for arg counts.
6396 * src/emacs-module.c (module_make_function): Don’t bother
6397 checking arity against MOST_POSITIVE_FIXNUM, as that’s
6398 unnecessary here. Make the checking clearer by negating it.
6399 (module_make_function, Fmodule_call): No need to use xzalloc
6400 since the storage doesn’t need to be cleared.
6401 (module_funcall): Don’t use VLA, since C11 doesn’t guarantee support
6402 for it, and many implementations are buggy with large VLAs anyway.
6403 Use SAFE_ALLOCA_LISP instead.
6404 (module_vec_set): Don’t crash if i < 0.
6405 (module_vec_get): Don’t crash if i < MOST_NEGATIVE_FIXNUM.
6406 (module_vec_set, module_vec_get): Do fixnum checks only when
6407 i is out of array bounds, for efficiency in the usual case.
6408 (Fmodule_load): Simplify fixnum range check.
6409 (Fmodule_call): Simplify arity check. Use xnmalloc to detect
6410 integer overflow in array allocation size.
6412 2015-11-20 Eli Zaretskii <eliz@gnu.org>
6414 Minor improvements in module test
6416 * modules/mod-test/mod-test.c: Include stdlib.h, to avoid warnings
6417 about missing prototype of malloc.
6418 * modules/mod-test/Makefile (CFLAGS): Add -std=gnu99, to avoid
6421 2015-11-20 Eli Zaretskii <eliz@gnu.org>
6423 Improve MS-Windows implementation in dynlib.c
6425 * src/dynlib.c [WINDOWSNT]: Include errno.h, lisp.h, and w32.h.
6426 No need to include windows.h, as w32.h already does that.
6427 <dynlib_last_err>: New static variable.
6428 (dynlib_reset_last_error): New function.
6429 (dynlib_open): Convert forward slashes to backslashes. Convert
6430 file names from UTF-8 to either UTF-16 or the current ANSI
6431 codepage, and call either LoadLibraryW or LoadLibraryA. If the
6432 argument is NULL, return a handle to the main module, like
6433 'dlopen' does. Record the error, if any, for use by dynlib_error.
6434 (dynlib_sym): Check the handle for validity. Record the error, if
6435 any, for use by dynlib_error.
6436 (dynlib_error): Call w32_strerror to produce the error string, and
6437 zero out the last error code, like dlerror does.
6438 (dynlib_close): Check the handle for validity. Record the error,
6439 if any, for use by dynlib_error. Don't call FreeLibrary with a
6440 handle for the main module.
6441 * src/w32.c (globals_of_w32): Call dynlib_reset_last_error.
6443 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
6445 Include-file tweaks for modules
6447 * src/dynlib.c, src/emacs-module.c: Include <config.h> first.
6448 * src/dynlib.h: Do not include config.h.
6449 It’s every .c file’s responsibility to include config.h first.
6450 * src/emacs-module.c: Include emacs-module.h immediately after
6451 config.h, to test that emacs-module.h doesn’t depend on
6452 include files other than config.h.
6454 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
6456 Simplify push_handler and profile its malloc
6458 * src/lisp.h (PUSH_HANDLER): Remove.
6459 All callers changed to use push_handler directly.
6460 * src/eval.c (internal_condition_case)
6461 (internal_condition_case_1, internal_condition_case_2)
6462 (internal_condition_case_n):
6463 Use same pattern as for other invokers of push_handler.
6464 (push_handler, push_handler_nosignal): Use call-by-value
6465 instead of call-by-reference. All uses changed.
6466 (push_handler): Simplify by rewriting in terms of
6467 push_handler_nosignal.
6468 (push_handler_nosignal): Profile any newly allocated memory.
6470 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
6472 * src/emacs-module.h: Include stddef.h, not stdlib.h.
6474 2015-11-20 Juanma Barranquero <lekktu@gmail.com>
6476 Discover repository version in linked worktrees (bug#21930)
6478 * lisp/version.el (emacs-repository--version-git-1): Do not assume
6479 HEAD is at .git/HEAD, it can also be at .git/worktrees/<branch>/HEAD.
6480 (emacs-repository-get-version): Grok linked worktrees when EXTERNAL
6483 2015-11-20 Juri Linkov <juri@linkov.net>
6485 * lisp/replace.el (occur-regexp-descr): New function.
6486 (occur-1, occur-engine): Use it.
6488 * lisp/isearch.el (isearch-occur): Propertize regexp with
6489 isearch-string and isearch-regexp-function-descr for
6490 occur-regexp-descr to display the correct description
6491 message in the header (bug#21176, bug#21180).
6493 2015-11-20 Karl Fogel <kfogel@red-bean.com>
6495 Revert `open-line' electric-indent sensitivity
6497 * lisp/simple.el (open-line): Remove electric indent code.
6498 (electric-indent-just-newline): Don't declare.
6500 * test/automated/simple-test.el (open-line-indent): Adjust test.
6502 This partly reverts Artur Malabarba's change that added electric
6503 indent sensitivity to `open-line' (Oct 24 22:26:27 2015 +0100, git
6504 commit bd4f04f86), and adjusts a new test he added right afterwards
6505 (Sat Oct 24 23:43:06 2015 +0100, git commit 207f235e3) accordingly.
6506 However, the new INTERACTIVE argument to `open-line', which he also
6507 added in the first commit, is not reverted here.
6509 See the thread "Questioning the new behavior of `open-line'." on the
6510 Emacs Devel mailing list, and in particular this message:
6512 From: Artur Malabarba
6513 Subject: Re: Questioning the new behavior of `open-line'.
6515 Cc: David Kastrup, Pierpaolo Bernardi, emacs-devel
6516 Date: Wed, 18 Nov 2015 21:03:58 +0000
6518 <CAAdUY-KN06pvCMy5bt3+Buk3yeKjf6n9iB2FaSTTOPpCqPwyhA@mail.gmail.com>
6520 https://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01707.html
6522 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
6524 Omit unnecessary clear in Fmodule_load
6526 * src/emacs-module.c (Fmodule_load):
6527 Simplify and avoid unnecessary initialization of priv member to 0.
6529 * src/emacs-module.c: (module_vec_set, module_vec_get, module_vec_size)
6531 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
6533 Prefer signed integer types in module code
6535 Generally speaking, at the C level the Emacs source code prefers
6536 signed types like ‘ptrdiff_t’ to unsigned types like ‘size_t’,
6537 partly to avoid the usual signedness confusion when comparing values.
6538 Change the module API to follow this convention.
6539 Use ‘int’ for small values that can’t exceed INT_MAX.
6540 * modules/mod-test/mod-test.c (Fmod_test_globref_make)
6541 (Fmod_test_string_a_to_b, Fmod_test_vector_fill)
6542 (Fmod_test_vector_eq):
6543 * src/emacs-module.c (struct emacs_value_frame)
6544 (module_make_global_ref, module_free_global_ref)
6545 (module_copy_string_contents, module_make_string)
6546 (module_vec_set, module_vec_get, module_vec_size):
6547 * src/emacs-module.h (struct emacs_runtime, struct emacs_env_25):
6548 * src/lread.c (suffix_p):
6549 Prefer signed to unsigned integer types.
6551 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
6553 Omit ‘const’ on locals
6555 Remove ‘const’ qualifier from locals that were newly added.
6556 We don’t normally bother declaring locals with ‘const’ even
6557 though they are not modified, for the same reason we don’t
6558 bother declaring them with ‘register’ even though their
6559 addresses are not taken; the advantage in compile-time
6560 checking isn’t worth the loss of readability.
6561 * modules/mod-test/mod-test.c (Fmod_test_non_local_exit_funcall)
6562 (Fmod_test_vector_fill, Fmod_test_vector_eq):
6563 * src/emacs-module.c (MODULE_SETJMP_1)
6564 (module_make_global_ref, module_free_global_ref)
6565 (module_non_local_exit_get, module_make_function)
6566 (module_extract_integer, module_extract_float)
6567 (module_get_user_ptr, module_set_user_ptr)
6568 (module_get_user_finalizer, module_set_user_finalizer)
6569 (module_vec_get, Fmodule_call)
6570 (module_non_local_exit_signal_1)
6571 (module_non_local_exit_throw_1, lisp_to_value)
6572 (finalize_storage, allocate_emacs_value, mark_modules)
6573 (module_handle_signal, module_handle_throw)
6574 (module_format_fun_env):
6575 * src/eval.c (push_handler, push_handler_nosignal)
6577 * src/lread.c (suffix_p):
6578 Omit unnecessary ‘const’.
6580 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
6582 Prefer intmax_t to int64_t in module code
6584 * modules/mod-test/mod-test.c (sum, Fmod_test_sum):
6585 * src/emacs-module.c (module_extract_integer)
6586 (module_make_integer):
6587 * src/emacs-module.h (struct emacs_env_25):
6588 Prefer intmax_t to int64_t. This doesn’t change the generated
6589 code on any of the machines Emacs currently ports to, but it’s
6590 at least in theory more future-proof as C99 doesn’t guarantee
6591 that int64_t exists.
6593 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
6595 Rename module.c to emacs-module.c, etc.
6597 * src/emacs-module.c: Rename from src/module.c.
6598 * src/emacs-module.h: Rename from src/module.h.
6601 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
6603 Fix minor module problems found by static checking
6605 * src/dynlib.c (dynlib_close): #ifdef out for now, as it’s not used.
6606 * src/eval.c, src/lisp.h (lisp_eval_depth): Now static.
6607 * src/emacs-module.c (Fmodule_load): Fix pointer signedness bug.
6608 (Fmodule_call): Tell GCC that the default case is unreachable.
6610 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
6612 Style fixes for indenting etc. in module code
6614 This is mostly indenting and spacing changes. Also, remove
6615 some unnecessary static decls instead of bothering to reindent them.
6616 * src/emacs-module.h (EMACS_EXTERN_C_BEGIN): Remove, and do this inline,
6617 as most other Emacs files do for this sort of thing.
6619 2015-11-19 Eli Zaretskii <eliz@gnu.org>
6621 Minor improvements in modules testing Makefile
6623 * modules/mod-test/Makefile (EMACS, SO): New variables.
6624 (CFLAGS): When SO = dll, don't use -fPIC.
6625 (check): New target, runs the test.
6627 2015-11-19 Eli Zaretskii <eliz@gnu.org>
6629 * .gitignore: Add "*.dll".
6631 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
6633 Migrate modules/.gitignore into .gitignore
6635 * .gitignore: Add former contents of modules/.gitignore.
6636 * modules/.gitignore: Remove.
6638 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
6640 Add copyright notices to module code
6642 Put them in the usual format for GNU Emacs copyright notices.
6644 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
6646 Rename emacs_module.h to module.h
6648 * src/module.h: Rename from src/emacs_module.h.
6651 2015-11-19 Juanma Barranquero <lekktu@gmail.com>
6653 * src/module.c (Fmodule_load): Remove unused vars `doc_name', `args'
6655 * src/lread.c (Fload): Remove unused variable `size'
6657 2015-11-19 Alan Mackenzie <acm@muc.de>
6659 src/keyboard.c (pre-command-hook): Fix typo in doc string: "pre" -> "post".
6661 2015-11-19 Dmitry Gutov <dgutov@yandex.ru>
6663 Prioritize looking inside vc-parent-buffer over log-view-mode fallback
6665 * lisp/vc/vc.el (vc-deduce-fileset): Prioritize looking inside
6666 vc-parent-buffer over log-view-mode fallback (bug#21955).
6668 2015-11-18 Alan Mackenzie <acm@muc.de>
6670 lisp/isearch.el: Eliminate macro isearch-call-message, replacing with funcall.
6672 2015-11-18 Ken Brown <kbrown@cornell.edu>
6674 * configure.ac (LIBMODULES): Don’t define on Cygwin
6676 2015-11-18 Eli Zaretskii <eliz@gnu.org>
6678 Fix MS-Windows build --with-modules
6680 * src/module.c: Reformat copyright commentary.
6681 (module_vec_get): Use explicit cast to size_t to avoid compiler
6682 warning in 32-bit builds.
6683 (check_main_thread) [WINDOWSNT]: Fix letter-case in Windows APIs.
6684 Compare thread IDs directly, as GetThreadId is not available
6685 before Windows Vista.
6686 (check_main_thread) [WINDOWSNT]: Duplicate the thread handle
6687 without using APIs and constants not available on XP and older
6688 systems. Obtain and store the thread ID as well.
6690 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
6691 Philipp Stephani <phst@google.com>
6693 Add dynamic module test and helper script
6695 Add 'modhelp.py' script (python2) to automate module testing and
6698 To build and test all modules in the modules/ dir
6701 To generate a module from template code (good starting point)
6702 $ ./modhelp init mynewtestmodule
6704 See the script -h option for more documentation.
6706 * modules/modhelp.py: New module helper script.
6707 * modules/mod-test/Makefile: New file. Makefile for the test module.
6708 * modules/mod-test/mod-test.c: New file. Test module source file.
6709 * modules/mod-test/test.el: New file. ert test suite for the test module.
6710 * modules/.gitignore: New file. Local .gitignore file.
6712 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
6714 Make 'Fload' look for modules
6716 'Fload' can now load dynamic modules. This also makes 'require' work.
6719 (suffix_p): New function.
6720 (Fload): Use 'suffix_p'. Call 'Fmodule_load' when we try to load a file
6721 with a module suffix.
6722 (syms_of_lread): Append module suffix to 'Vload_suffixes'.
6724 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
6725 Philipp Stephani <phst@google.com>
6727 Add dynamic module module support
6729 * configure.ac: Add '--with-modules' option. Conditionally add
6730 dynlib.o and module.o to the list of objects. Add any system
6731 specific flags to the linker flags to support dynamic libraries.
6732 * m4/ax_gcc_var_attribute.m4: Add autoconf extension to test gcc
6734 * src/Makefile.in: Conditionally add module objects and linker flags.
6735 * src/alloc.c (garbage_collect_1): protect module local values from
6737 * src/lisp.h: Add 'module_init' and 'syms_of_module' prototypes.
6738 * src/emacs-module.h: New header file included by modules. Public
6740 * src/emacs-module.c: New module implementation file.
6742 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
6744 Add new User Pointer (User_Ptr) type
6746 * src/lisp.h: Add new Lisp_Misc_User_Ptr type.
6747 (XUSER_PTR): New User_Ptr accessor.
6748 * src/alloc.c (make_user_ptr): New function.
6749 (mark_object, sweep_misc): Handle Lisp_Misc_User_Ptr.
6750 * src/data.c (Ftype_of): Return 'user-ptr' for user pointer.
6751 (Fuser-ptrp): New user pointer type predicate function.
6752 (syms_of_data): New 'user-ptrp', 'user-ptr' symbol. New 'user-ptrp'
6754 * src/print.c (print_object): Add printer for User_Ptr type.
6756 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
6757 Philipp Stephani <phst@google.com>
6759 Add portable layer for dynamic loading
6761 * src/dynlib.h: New file.
6762 * src/dynlib.c: New file.
6764 2015-11-18 Philipp Stephani <phst@google.com>
6766 Add catch-all & no-signal version of PUSH_HANDLER
6768 Ground work for modules. Add a non-signaling version of PUSH_HANDLER and
6769 a new "catch-all" handler type.
6771 * src/eval.c (init_handler, push_handler, push_handler_nosignal): New
6773 * src/fns.c (hash_remove_from_table): Expose function public.
6774 * src/lisp.h: New handler type, define macro to push_handler call.
6776 2015-11-18 Ken Brown <kbrown@cornell.edu>
6778 Silence byte-compiler warning
6780 * lisp/server.el (server-process-filter): Silence byte-compiler
6783 2015-11-18 Paul Eggert <eggert@cs.ucla.edu>
6785 Quote symbols in docstrings using `'
6787 Be more systematic about quoting symbols `like-this' rather than
6788 `like-this or 'like-this' in docstrings. This follows up Artur
6789 Malabarba's email in:
6790 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01647.html
6792 2015-11-18 Peder O. Klingenberg <peder@klingenberg.no>
6794 Fix savegames in dunnet
6796 * lisp/play/dunnet.el (dun-rot13): Use the standard rot13-region instead
6797 of separate implementation.
6799 2015-11-18 Artur Malabarba <bruce.connor.am@gmail.com>
6801 * lisp/emacs-lisp/package.el (package--with-response-buffer):
6803 Ensure we're at the start of the buffer before searching for
6806 2015-11-18 Xue Fuqiao <xfq.free@gmail.com>
6808 * admin/release-process: Improve wording.
6810 2015-11-18 Xue Fuqiao <xfq.free@gmail.com>
6812 Backport: * CONTRIBUTE: Remove information about feature freeze.
6814 (cherry picked from commit ae0653b5ab9ee223751ec389b87011963e1cbbef)
6816 2015-11-18 Xue Fuqiao <xfq.free@gmail.com>
6818 Backport: Document the release process
6820 * admin/notes/versioning: Add information about RC releases.
6821 * admin/release-process: Document the release process.
6822 * admin/authors.el (authors-ignored-files):
6823 * admin/README: Change FOR-RELEASE to release-process.
6825 * admin/notes/bugtracker: Don't mention FOR-RELEASE.
6827 (cherry picked from commit 9a4aa0f5945a03611ae29c516025dbd353bd26ab)
6829 2015-11-18 Xue Fuqiao <xfq.free@gmail.com>
6831 Backport: * admin/release-process: Rename from admin/FOR-RELEASE.
6833 (cherry picked from commit f8cc14b59700e51a4e31139c0a65c8154995e055)
6835 2015-11-18 Xue Fuqiao <xfq.free@gmail.com>
6837 Backport: Mention CONTRIBUTE in README
6839 Mention CONTRIBUTE in README, since it was moved from etc/ to root.
6840 * etc/TODO: Remove the reference to `etc/CONTRIBUTE'.
6841 * README: Mention CONTRIBUTE.
6843 (cherry picked from commit ed2e7e20ae0945288c98091f308f5460c3453873)
6845 2015-11-18 Paul Eggert <eggert@cs.ucla.edu>
6847 Fix docstring quoting problems with ‘ '’
6849 Problem reported by Artur Malabarba in:
6850 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01513.html
6851 Most of these fixes are to documentation; many involve fixing
6852 longstanding quoting glitches that are independent of the
6853 recent substitute-command-keys changes. The changes to code are:
6854 * lisp/cedet/mode-local.el (mode-local-augment-function-help)
6855 (describe-mode-local-overload):
6856 Substitute docstrings before displaying them.
6857 * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
6858 Quote the generated docstring for later substitution.
6860 2015-11-17 Eli Zaretskii <eliz@gnu.org>
6862 Improve configure --help text for wide ints
6864 * configure.ac (wide-int): Clarify user-level advantages and
6867 2015-11-17 Stephen Leake <stephen_leake@stephe-leake.org>
6871 * lisp/progmodes/xref.el (xref-backend-references): Improve doc string.
6873 2015-11-17 Paul Eggert <eggert@cs.ucla.edu>
6875 eval_sub followed dangling pointer when debugging
6877 Problem reported by Pip Cet (Bug#21245).
6878 This bug could occur in eval_sub if the C compiler reused
6879 storage associated with the ‘argvals’ local after ‘argvals’
6880 went out of scope, and if the Elisp debugger stopped on Elisp
6881 function exit and accessed ‘argvals’. It could also occur if
6882 a variadic function was called with so many arguments (over
6883 2048 args on x86-64) that SAFE_ALLOCA_LISP called malloc, then
6884 SAFE_FREE freed the arguments, then the memory manager used
6885 the storage for other purposes, then the debugger accessed the
6887 * src/eval.c (eval_sub): Declare ‘argvals’ at top level of
6888 function body. Simplify local decls.
6889 When allocating args via SAFE_ALLOCA, call
6890 debugger before invoking SAFE_FREE, as the debugger needs
6892 (eval_sub, apply_lambda): Rework to avoid need for
6893 set_backtrace_debug_on_exit hack. This is cleaner,
6894 and should work better with buggy custom debuggers.
6896 2015-11-17 Daiki Ueno <ueno@gnu.org>
6898 * lisp/image-mode.el: Support encrypted file
6900 (image-toggle-display-image): Read content from the buffer instead
6901 of the file, if the buffer holds a decrypted data. (Bug#21870)
6903 2015-11-17 Paul Eggert <eggert@cs.ucla.edu>
6905 ELF unexec: align section header
6907 This ports the recent unexelf.c changes to Fedora x86-64
6908 when configured with GCC’s -fsanitize=undefined option.
6909 * src/unexelf.c (unexec): Align new_data2_size to a multiple
6910 of ElfW (Shdr)’s alignment, so that NEW_SECTION_H returns a
6911 pointer aligned appropriately for its type.
6913 2015-11-17 Andreas Schwab <schwab@linux-m68k.org>
6915 Do more checks on bytecode objects (Bug#21929)
6917 * src/eval.c (funcall_lambda): Check size of compiled function
6919 (Ffetch_bytecode): Likewise.
6921 2015-11-16 Johan Bockgård <bojohan@gnu.org>
6923 pcase.el: Fix edebugging of backquoted cons patterns
6925 * lisp/emacs-lisp/pcase.el (pcase-QPAT): Fix edebugging of backquoted
6926 cons patterns. (Bug#21920)
6928 2015-11-16 Paul Eggert <eggert@cs.ucla.edu>
6930 Improve fix for regex reentrancy abort
6932 Suggested by Stefan Monnier (Bug#21688).
6933 * src/syntax.c (update_syntax_table_forward):
6934 Remove recently-added PROPERTIZE arg, and assume it is true.
6935 All callers changed.
6936 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
6937 Invoke update_syntax_table directly.
6939 2015-11-16 Artur Malabarba <bruce.connor.am@gmail.com>
6941 * lisp/faces.el (faces--attribute-at-point): Use `face-list-p'
6943 * lisp/emacs-lisp/package.el (package--with-response-buffer): Missing require
6945 * lisp/emacs-lisp/nadvice.el (add-function): Escape quote
6947 2015-11-16 Vasily Korytov <vasily.korytov@yahoo.com>
6949 Recognize .rbw and .pyw files (bug#18753)
6951 * lisp/progmodes/python.el (auto-mode-alist):
6952 Recognize .pyw files.
6954 * lisp/progmodes/ruby-mode.el (auto-mode-alist):
6955 Recognize .rbw files.
6957 2015-11-16 Dmitry Gutov <dgutov@yandex.ru>
6959 Fix ruby-mode auto-mode-alist entry
6961 * lisp/progmodes/ruby-mode.el (auto-mode-alist): Add grouping
6962 around the extensions (bug#21257).
6964 2015-11-15 Dmitry Gutov <dgutov@yandex.ru>
6966 Fix etags completion near eob
6968 * lisp/progmodes/etags.el (tags-completion-at-point-function):
6969 Use `goto-char', to avoid the end-of-buffer error (bug#20061).
6971 2015-11-15 Alan Mackenzie <acm@muc.de>
6973 De-pessimize detection of C++ member initialization lists.
6975 list/progmodes/cc-engine.el (c-back-over-list-of-member-inits): New macro.
6976 (c-back-over-member-initializers): Reformulate such that c-at-toplevel-p
6977 is only called when a construct "looks right" rather than continually.
6978 (c-guess-basic-syntax, CASE 5R): Add a check for the mode being C++ Mode.
6980 2015-11-15 Artur Malabarba <bruce.connor.am@gmail.com>
6982 Backport: * lisp/emacs-lisp/package.el: Fix a decoding issue.
6984 * lisp/url/url-handlers.el (url-insert-file-contents): Move some code to
6985 `url-insert-buffer-contents'.
6986 (url-insert-buffer-contents): New function
6988 (package--with-response-buffer): Use `url-insert-buffer-contents'.
6989 The previous code had some issues with decoding. Refactoring that
6990 function allows us to use the decoding from url-handlers while still
6991 treating both sync and async requests the same.
6993 2015-11-15 Stephen Leake <stephen_leake@stephe-leake.org>
6995 Improve a few doc strings, comments
6997 * lisp/cedet/cedet-global.el (cedet-gnu-global-expand-filename):
6998 * lisp/cedet/ede/locate.el (ede-locate-base):
6999 * lisp/cedet/semantic/symref.el (semantic-symref-calculate-rootdir):
7000 * src/fns.c (Fdelq): Improve doc string.
7002 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Add FIXME.
7004 2015-11-15 Anders Lindgren <andlind@gmail.com>
7006 Enhance NSTRACE (trace output for NextStep).
7008 Trace can be disabled for groups of functions. By default, event
7009 functions and functions that generate lots of output are disabled.
7011 Trace output of Objective-C functions now use the "[ClassName
7014 * src/nsterm.h (NSTRACE_ALL_GROUPS, NSTRACE_GROUP_EVENTS)
7015 (NSTRACE_GROUP_UPDATES, NSTRACE_GROUP_FRINGE, NSTRACE_GROUP_COLOR)
7016 (NSTRACE_GROUP_GLYPHS, NSTRACE_GROUP_FOCUS): New macros,
7017 controlling in which function groups trace should be active.
7018 (NSTRACE_WHEN): Support for silencing a function, this also
7019 silencing all called functions.
7020 (NSTRACE_UNSILENCE): New macro, used to re-enable trace.
7021 (NSTRACE_FMT_FSTYPE, NSTRACE_ARG_FSTYPE): New macros, used to
7022 print the full screen state in NSTRACE functions.
7024 * src/nsterm.m (nstrace_depth, nstrace_num): Made volatile as they
7025 can be accessed from multiple threads.
7026 (nstrace_enabled_global): New variable, when FALSE, trace is
7028 (nstrace_restore_global_trace_state): New function, used to
7029 restore `nstrace_enabled_global' at end of block.
7030 ([EmacsView setFrame:], [EmacsWindow setFrame:display:])
7031 ([EmacsWindow setFrame:display:animation:])
7032 ([EmacsWindow setFrameTopLeftPoint:]): New functions, print trace
7033 and call corresponding super function.
7034 (Many functions): Add or enhance trace output.
7036 * src/nsimage.m (ns_image_from_file): Enhanced trace output.
7038 * src/nsfns.m (x_set_tool_bar_lines): Add trace output.
7040 * src/nsmenu.m ([EmacsToolbar setVisible:]): New function, print trace
7041 and call corresponding super function.
7043 2015-11-15 Anders Lindgren <andlind@gmail.com>
7045 Fixed a toolbar related issue on OS X.
7047 Earlier, when toggling the tool-bar in a maximized frame, the
7048 frame size didn't match the number of text lines, leaving an
7049 unused area at the bottom of the frame.
7051 * src/nsfns.m (x_set_tool_bar_lines): Exit maximized and full height
7052 fullscreen modes when tool bar is disabled.
7054 2015-11-15 Anders Lindgren <andlind@gmail.com>
7056 Fixed OS X 10.6.8 build issue (bug#21862).
7058 * src/nsterm.h (EmacsView): Add missing declarations.
7059 * src/nsterm.m ([EmacsView windowDidBecomeKey]): New method, like
7060 the standard method but without the notification parameter.
7061 Intended to be used for direct calls.
7062 ([EmacsView windowDidEnterFullScreen]): Call the non-notification
7063 version of `windowDidBecomeKey'. Made the notification method call
7064 the non-notification method instead of the vice versa.
7065 (NSWindowDidEnterFullScreenNotification): Deleted, no longer
7068 2015-11-15 Artur Malabarba <bruce.connor.am@gmail.com>
7070 * lisp/faces.el (faces--attribute-at-point): Fix an issue
7072 Previous code would signal an error when the face at point was
7073 a manually built list of attributes such as '(:foregroud "white").
7075 * test/automated/faces-tests.el (faces--test-color-at-point): Add a test
7077 2015-11-15 Paul Eggert <eggert@cs.ucla.edu>
7079 Fix regex abort when it tries to reenter itself
7081 Problem reported by Ken Raeburn.
7082 Solution suggested by Stefan Monnier (Bug#21688).
7083 * src/regex.c (re_match_2_internal):
7084 Use new _FAST functions to avoid regex code reentering itself.
7085 * src/syntax.c (update_syntax_table_forward): New arg PROPERTIZE.
7086 All callers changed.
7087 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST)
7088 (UPDATE_SYNTAX_TABLE_FAST): New inline functions.
7090 2015-11-15 Dmitry Gutov <dgutov@yandex.ru>
7092 Improve Ruby 1.9-style keyword keys highlighting
7094 * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords):
7095 Handle required keyword arguments (bug#21367).
7096 And highlight the colon together with the name.
7098 2015-11-15 Dmitry Gutov <dgutov@yandex.ru>
7100 Unify the absolutely equal xref-backend-references implementations
7102 * lisp/progmodes/elisp-mode.el (xref-backend-references):
7105 * lisp/progmodes/etags.el (xref-backend-references):
7108 * lisp/progmodes/xref.el (xref-backend-references):
7109 Define the default implementation.
7111 2015-11-15 Dmitry Gutov <dgutov@yandex.ru>
7113 Update project-find-regexp for the new xref API
7115 * lisp/progmodes/project.el (project--read-regexp):
7116 Update to use the new xref API methods.
7118 * lisp/progmodes/xref.el (xref-find-backend): Autoload.
7120 2015-11-15 Dmitry Gutov <dgutov@yandex.ru>
7122 Fix replacing a match with a shorter string
7124 In effect, partially reverting fe973fc.
7126 * lisp/progmodes/xref.el (xref-query-replace): Store the end
7127 of each match as a marker again, instead of length.
7128 (xref--query-replace-1): Update accordingly.
7130 2015-11-14 Artur Malabarba <bruce.connor.am@gmail.com>
7132 * lisp/progmodes/xref.el (xref-pop-marker-stack): Downgrade errors
7134 Signal user-errors instead.
7136 2015-11-14 Eli Zaretskii <eliz@gnu.org>
7138 Document 'describe-symbol'
7140 * doc/emacs/help.texi (Help Summary): Mention "C-h o".
7141 (Name Help): Document "C-h o" and describe-symbol.
7143 * lisp/help-fns.el (describe-symbol): Doc fix.
7145 2015-11-14 Paul Eggert <eggert@cs.ucla.edu>
7147 Change test name to avoid spellcheck issue.
7149 2015-11-14 Eli Zaretskii <eliz@gnu.org>
7151 Avoid signaling an error in 'describe-symbol'
7153 * lisp/help-fns.el (describe-symbol): Avoid errors when the symbol
7154 exists as a function/variable/face/etc., but is undocumented.
7156 * test/automated/help-fns.el (help-fns-test-describe-symbol): New
7159 2015-11-14 Eli Zaretskii <eliz@gnu.org>
7161 * INSTALL (--with-cairo): Document this new configure option.
7163 2015-11-14 Eli Zaretskii <eliz@gnu.org>
7165 Document that GNU Make >= 3.81 is required to build Emacs
7167 * doc/lispref/internals.texi (Building Emacs): Document that GNU
7168 Make 3.81 or later is now required.
7170 2015-11-14 Artur Malabarba <bruce.connor.am@gmail.com>
7172 Backport: * lisp/emacs-lisp/package.el: Refactor -with-work-buffer-async.
7174 (package--with-work-buffer-async): Reimplement as
7175 `package--with-response-buffer'.
7176 (package--with-work-buffer): Mark obsolete.
7177 (package--with-response-buffer): New macro. This is a more self
7178 contained and less contrived version of
7179 `package--with-work-buffer-async'. It uses keyword arguments,
7180 doesn't have async on the name, doesn't fallback on
7181 `package--with-work-buffer', and has _much_ simpler error
7182 handling. On master, this macro will soon be part of another
7183 library (either standalone or inside url.el), which is why this
7184 commit is not to be merged back.
7186 (package--check-signature, package--download-one-archive)
7187 (package-install-from-archive, describe-package-1): Use it.
7189 (package--download-and-read-archives): Let
7190 `package--download-one-archive' take care of calling
7191 `package--update-downloads-in-progress'.
7193 2015-11-14 Eli Zaretskii <eliz@gnu.org>
7195 * CONTRIBUTE (Branches): Improve wording for back-ported commits.
7197 2015-11-14 Dmitry Gutov <dgutov@yandex.ru>
7199 Merge branch 'master' into emacs-25
7201 2015-11-14 Dmitry Gutov <dgutov@yandex.ru>
7203 Use generic dispatch for xref backends
7205 * lisp/progmodes/xref.el (xref-backend-functions):
7207 (xref-find-function): Remove.
7209 (xref--etags-backend): New functions.
7210 (xref-identifier-at-point-function)
7211 (xref-identifier-completion-table-function): Remove.
7212 (xref-backend-definitions, xref-backend-references)
7213 (xref-backend-apropos, xref-backend-identifier-at-point)
7214 (xref-backend-identifier-completion-table):
7215 New generic functions.
7217 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add
7218 `elisp--xref-backend' to the beginning of
7219 `xref-backend-functions', locally. Delete references to
7220 removed functions and vars.
7221 (elisp-xref-find): Remove.
7222 (elisp--xref-backend): New function.
7223 (elisp--xref-find-references, elisp--xref-find-apropos)
7224 (elisp--xref-identifier-completion-table):
7225 Turn into appropriately named generic methods.
7227 * lisp/progmodes/etags.el (etags-xref-find): Remove.
7228 (xref-backend-identifier-completion-table)
7229 (xref-backend-references, xref-backend-definitions)
7230 (xref-backend-apropos): New generic methods.
7232 2015-11-14 Juri Linkov <juri@linkov.net>
7234 Support rectangular regions for more commands
7236 * lisp/simple.el (region-extract-function): Handle the arg value ‘bounds’.
7237 (region-insert-function): New function.
7238 (shell-command-on-region): Add arg ‘region-noncontiguous-p’.
7239 If non-nil, operate on multiple chunks.
7240 (region-noncontiguous-p): New function.
7242 * lisp/rect.el: Add function rectangle--insert-region
7243 around region-insert-function.
7244 (extract-rectangle-bounds): New function.
7245 (rectangle--extract-region): Handle the arg value ‘bounds’.
7246 (rectangle--insert-region): New function.
7248 * lisp/emulation/cua-rect.el: Add function cua--insert-rectangle
7249 around region-insert-function.
7250 (cua--extract-rectangle-bounds): New function.
7251 (cua--rectangle-region-extract): Handle the arg value ‘bounds’.
7253 * lisp/replace.el (query-replace, query-replace-regexp): Add arg
7254 ‘region-noncontiguous-p’. Use ‘use-region-p’.
7255 (query-replace-regexp-eval, map-query-replace-regexp)
7256 (replace-string, replace-regexp): Use ‘use-region-p’.
7257 (keep-lines, flush-lines, how-many): Use ‘use-region-p’.
7258 (perform-replace): Add arg ‘region-noncontiguous-p’.
7259 If non-nil, operate on multiple chunks.
7261 * src/casefiddle.c (Fdowncase_region): Add arg ‘region-noncontiguous-p’.
7262 If non-nil, operate on multiple chunks. (Bug#19829)
7264 2015-11-14 Dmitry Gutov <dgutov@yandex.ru>
7266 Handle multiple matches on the same line; add highlighting
7268 * lisp/progmodes/xref.el (xref-location-marker): Interpret the
7269 column value in characters.
7270 (xref--collect-matches): Rename from `xref--collect-match'.
7271 Search for all matches in the hit line. Add `highlight' face to
7272 the matched region in the summary. Update both callers.
7274 2015-11-14 Dmitry Gutov <dgutov@yandex.ru>
7276 Replace xref-match-bounds with xref-match-length
7278 Relying on xref-location-marker to point to the beginning of the match
7280 * lisp/progmodes/xref.el (xref-match-bounds): Remove.
7281 (xref-match-length): Add.
7282 (xref-make-match): Change the arguments.
7283 (xref--match-buffer-bounds): Remove.
7284 (xref-match-item): Store length, instead of end-column.
7285 (xref-pulse-momentarily)
7286 (xref--collect-match)
7287 (xref--query-replace-1): Update accordingly.
7288 (xref-query-replace): Ditto. And check that the search results
7291 2015-11-13 John Wiegley <johnw@newartisans.com>
7293 Merge remote-tracking branch 'origin/master' into emacs-25
7295 2015-11-13 l3thal <kwhite@gnu.org>
7297 Merge branch 'erc-async-reconnect' into emacs-25
7299 Reconnect asynchronously.
7301 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
7306 2015-11-13 xalloc-oversized: improve performance with GCC 5
7307 * lib/xalloc-oversized.h: Copy from gnulib.
7309 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
7311 Spruce up ftfont.c memory allocation
7313 * src/ftfont.c (setup_otf_gstring):
7314 Avoid O(N**2) behavior when reallocating.
7315 (ftfont_shape_by_flt): Prefer xpalloc to xrealloc when
7316 reallocating buffers; this simplifies the code. Do not trust
7317 mflt_run to leave the output areas unchanged on failure, as
7318 this isn’t part of its interface spec.
7320 2015-11-13 Eli Zaretskii <eliz@gnu.org>
7322 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
7324 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
7326 Port recent XCB changes to 64-bit ‘long int’
7328 For historical reasons, libX11 represents 32-bit values like Atoms as
7329 ‘long int’ even on platforms where ‘long int’ is 64 bits. XCB doesn’t
7330 do that, so adapt the recent XCB code to behave properly on 64-bit
7331 platforms. Also, fix what appears to be a bug in the interpretation
7332 of xcb_get_property_value_length, at least on my Fedora platform
7333 which is running libxcb-1.11-5.fc21.
7334 * src/xfns.c (x_real_pos_and_offsets):
7335 * src/xterm.c (get_current_wm_state):
7336 xcb_get_property_value_length returns a byte count, not a word count.
7337 For 32-bit quantities, xcb_get_property_value returns a vector
7338 of 32-bit words, not of (possibly 64-bit) long int.
7342 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
7344 * src/undo.c (run_undoable_change): Now static.
7348 2015-11-13 Eli Zaretskii <eliz@gnu.org>
7350 Remove support for ':timeout' from w32 tray notifications
7352 * src/w32fns.c (Fw32_notification_notify): Delete the code that
7353 supports ':timeout'.
7354 (syms_of_w32fns): Don't DEFSYM ':timeout'. This avoids clashes
7355 with dbusbind.c when D-Bus is compiled in.
7357 * doc/lispref/os.texi (Desktop Notifications): Don't mention
7362 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
7364 * test/automated/simple-test.el: Add test for bug#20698 (bug#21885)
7366 (simple-test--transpositions): New macro.
7367 (simple-transpose-subr): New test.
7371 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
7373 * lisp/progmodes/elisp-mode.el: Declare function `project-roots'
7377 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
7379 * src/undo.c: Small fixes for previous change
7381 (run_undoable_change): Mark void argument list.
7382 (record_property_change): Remove unused variable `boundary'.
7386 2015-11-13 Eli Zaretskii <eliz@gnu.org>
7388 Add a few more variables to redisplay--variables
7390 * lisp/frame.el (redisplay--variables): Add bidi-paragraph-direction
7391 and bidi-display-reordering to the list.
7395 2015-11-13 Eli Zaretskii <eliz@gnu.org>
7397 * lisp/loadup.el: Enlarge the size of the hash table to 80000.
7401 2015-11-13 Eli Barzilay <eli@barzilay.org>
7403 Fix point positioning after transposing with negative arg
7405 * lisp/simple.el (transpose-subr): When invoked with a negative
7406 argument, move point to after the transposed text, like we do
7407 when invoked with a positive argument. (Bug#21885)
7411 2015-11-13 Eli Zaretskii <eliz@gnu.org>
7413 Fix last change in shr.el
7415 * lisp/net/shr.el (shr--have-one-fringe-p): Rename from
7416 have-fringes-p. All callers changed. Doc fix. (Bug#21895)
7420 2015-11-13 Eli Zaretskii <eliz@gnu.org>
7424 * src/w32fns.c (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]:
7425 Don't DEFSYM tray notification symbols if D-Bus is being used.
7429 2015-11-13 Eli Zaretskii <eliz@gnu.org>
7431 Another fix for MinGW64 and Cygwin builds due to notifications
7433 * src/w32fns.c: Ifdef away tray notification code if D-Bus is
7434 being compiled into Emacs.
7435 (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]: Don't defsubr
7436 Sw32_notification_notify and Sw32_notification_close if the code
7437 is not compiled. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7441 2015-11-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7443 Remove intern calls and XXX comments from Fx_export_frames
7445 * src/xfns.c (Fx_export_frames): Use Qpdf, Qpng, Qpostscript, and
7446 Qsvg instead of intern calls. Use "postscript" instead of "ps"
7447 for consistency with image types. Remove XXX comments.
7448 (syms_of_xfns) <Qpdf>: DEFSYM it.
7452 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
7454 Port recent XCB changes to 64-bit ‘long int’
7456 For historical reasons, libX11 represents 32-bit values like Atoms as
7457 ‘long int’ even on platforms where ‘long int’ is 64 bits. XCB doesn’t
7458 do that, so adapt the recent XCB code to behave properly on 64-bit
7459 platforms. Also, fix what appears to be a bug in the interpretation
7460 of xcb_get_property_value_length, at least on my Fedora platform
7461 which is running libxcb-1.11-5.fc21.
7462 * src/xfns.c (x_real_pos_and_offsets):
7463 * src/xterm.c (get_current_wm_state):
7464 xcb_get_property_value_length returns a byte count, not a word count.
7465 For 32-bit quantities, xcb_get_property_value returns a vector
7466 of 32-bit words, not of (possibly 64-bit) long int.
7468 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
7470 * src/undo.c (run_undoable_change): Now static.
7472 2015-11-13 Michael Albinus <michael.albinus@gmx.de>
7474 Adapt Tramp version, do not merge with master
7476 * doc/misc/trampver.texi (trampver):
7477 * lisp/net/trampver.el (tramp-version): Set to "2.2.13-25.1".
7479 2015-11-13 Eli Zaretskii <eliz@gnu.org>
7481 Remove support for ':timeout' from w32 tray notifications
7483 * src/w32fns.c (Fw32_notification_notify): Delete the code that
7484 supports ':timeout'.
7485 (syms_of_w32fns): Don't DEFSYM ':timeout'. This avoids clashes
7486 with dbusbind.c when D-Bus is compiled in.
7488 * doc/lispref/os.texi (Desktop Notifications): Don't mention
7491 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
7493 * test/automated/simple-test.el: Add test for bug#20698 (bug#21885)
7495 (simple-test--transpositions): New macro.
7496 (simple-transpose-subr): New test.
7498 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
7500 * lisp/progmodes/elisp-mode.el: Declare function `project-roots'
7502 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
7504 * src/undo.c: Small fixes for previous change
7506 (run_undoable_change): Mark void argument list.
7507 (record_property_change): Remove unused variable `boundary'.
7509 2015-11-13 Eli Zaretskii <eliz@gnu.org>
7511 Add a few more variables to redisplay--variables
7513 * lisp/frame.el (redisplay--variables): Add bidi-paragraph-direction
7514 and bidi-display-reordering to the list.
7516 2015-11-13 Eli Zaretskii <eliz@gnu.org>
7518 * lisp/loadup.el: Enlarge the size of the hash table to 80000.
7520 2015-11-13 Eli Barzilay <eli@barzilay.org>
7522 Fix point positioning after transposing with negative arg
7524 * lisp/simple.el (transpose-subr): When invoked with a negative
7525 argument, move point to after the transposed text, like we do
7526 when invoked with a positive argument. (Bug#21885)
7528 2015-11-13 Eli Zaretskii <eliz@gnu.org>
7530 Fix last change in shr.el
7532 * lisp/net/shr.el (shr--have-one-fringe-p): Rename from
7533 have-fringes-p. All callers changed. Doc fix. (Bug#21895)
7535 2015-11-13 Eli Zaretskii <eliz@gnu.org>
7539 * src/w32fns.c (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]:
7540 Don't DEFSYM tray notification symbols if D-Bus is being used.
7542 2015-11-13 Eli Zaretskii <eliz@gnu.org>
7544 Another fix for MinGW64 and Cygwin builds due to notifications
7546 * src/w32fns.c: Ifdef away tray notification code if D-Bus is
7547 being compiled into Emacs.
7548 (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]: Don't defsubr
7549 Sw32_notification_notify and Sw32_notification_close if the code
7550 is not compiled. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7552 2015-11-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7554 Remove intern calls and XXX comments from Fx_export_frames
7556 * src/xfns.c (Fx_export_frames): Use Qpdf, Qpng, Qpostscript, and
7557 Qsvg instead of intern calls. Use "postscript" instead of "ps"
7558 for consistency with image types. Remove XXX comments.
7559 (syms_of_xfns) <Qpdf>: DEFSYM it.
7561 2015-11-13 Eric Hanchrow <eric.hanchrow@gmail.com>
7563 shr: don't invoke unbound function (Bug#21895)
7565 * lisp/net/shr.el (have-fringes-p): New function.
7566 (shr-insert-document, shr-fill-text): Use it.
7568 2015-11-12 Juanma Barranquero <lekktu@gmail.com>
7570 * test/automated/keymap-tests.el: Fix test to make it repeatable
7572 (keymap-store_in_keymap-FASTINT-on-nonchars): Reset Buffer-menu-mode-map
7573 entry to its initial value to make the test repeatable in interactive
7574 sessions (assuming it doesn't fail and crashes Emacs, of course).
7576 2015-11-13 Artur Malabarba <bruce.connor.am@gmail.com>
7578 * test/automated/cl-lib-tests.el (cl-lib-struct-constructors): Small fix
7580 2015-11-12 Phillip Lord <phillip.lord@russet.org.uk>
7582 : Tests for undo-auto functionality.
7584 2015-11-12 Phillip Lord <phillip.lord@newcastle.ac.uk>
7586 The heuristic that Emacs uses to add an `undo-boundary' has been
7587 reworked, as it interacts poorly with functions on `post-command-hook'
7588 or `after-change-functions'.
7590 * lisp/simple.el: New section added.
7591 * src/cmds.c (remove_excessive_undo_boundaries): Now in lisp.
7592 (self_insert_command): Calls simple.el to amalgamate.
7593 (delete_char): Calls simple.el to amalgamate.
7594 * src/keyboard.c (last_undo_boundary): Removed.
7595 * src/undo.c (run_undoable_change): New function.
7597 2015-11-12 Juri Linkov <juri@linkov.net>
7599 Bind [?\S-\ ] to previous line command in Dired-like modes.
7601 * lisp/arc-mode.el (archive-mode-map):
7602 * lisp/dired.el (dired-mode-map):
7603 * lisp/proced.el (proced-mode-map):
7604 * lisp/vc/vc-dir.el (vc-dir-mode-map):
7605 Bind [?\S-\ ] to previous line command.
7608 2015-11-12 Eli Zaretskii <eliz@gnu.org>
7610 Fix the MinGW64 and Cygwin-w32 builds
7612 * src/w32fns.c (MYNOTIFYICONDATAW_V1_SIZE)
7613 (MYNOTIFYICONDATAW_V2_SIZE, MYNOTIFYICONDATAW_V3_SIZE): Define and
7614 use instead of the corresponding NOTIFYICONDATAW_Vn_SIZE macros,
7615 which cause trouble with MinGW42 headers. Ifdef away tray
7616 notifications code for Cygwin. Reported by Andy Moreton
7617 <andrewjmoreton@gmail.com>.
7619 2015-11-12 Simen Heggestøyl <simenheg@gmail.com>
7621 Enable sorting of JSON object keys when encoding
7623 * lisp/json.el (json-encoding-object-sort-predicate): New variable for
7624 specifying a sorting predicate for JSON objects during encoding.
7625 (json--plist-to-alist): New utility function.
7626 (json-encode-hash-table): Re-use `json-encode-alist' when object keys
7628 (json-encode-alist): Sort output by
7629 `json-encoding-object-sort-predicate, when set.
7630 (json-encode-plist): Re-use `json-encode-alist' when object keys are
7632 (json-pretty-print-buffer-ordered): New command to pretty print the
7633 buffer with object keys sorted alphabetically.
7634 (json-pretty-print-ordered): New command to pretty print the region with
7635 object keys sorted alphabetically.
7637 * test/automated/json-tests.el (test-json-plist-to-alist)
7638 (test-json-encode-plist, test-json-encode-hash-table)
7639 (test-json-encode-alist-with-sort-predicate)
7640 (test-json-encode-plist-with-sort-predicate): New tests.
7642 * etc/NEWS: Add an entry for the new commands.
7644 2015-11-12 Juanma Barranquero <lekktu@gmail.com>
7646 * test/automated/keymap-tests.el: New test file
7648 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
7650 Speed up x_real_pos_and_offsets using XCB
7652 * src/xfns.c (x_real_pos_and_offsets) [USE_XCB]: Add XCB flavors of
7653 all X calls, and pipeline requests when possible, collecting results
7654 later. Eliminate use of x_catch_errors (and thus XSync) in XCB case.
7656 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
7658 Enable use of XCB for checking window manager state
7660 * src/xterm.c (get_current_wm_state) [USE_XCB]: Use XCB calls instead
7661 of XGetWindowProperty plus error-catching, since we can explicitly
7662 check for errors in the XCB version. This eliminates 3 XSync calls on
7663 top of the round-trip actually fetching the information.
7665 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
7667 Detect XCB and save a connection handle
7669 * configure.ac: If using X11, check for XCB libraries and header.
7670 * src/Makefile.in (XCB_LIBS): Define.
7671 (LIBX_EXTRA): Include it.
7673 * src/xterm.h [USE_XCB]: Include X11/Xlib-xcb.h.
7674 (struct x_display_info) [USE_XCB]: Add an XCB connection handle field.
7675 * src/xterm.c (x_term_init) [USE_XCB]: Initialize the new field.
7677 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
7679 Reduce some data dependencies between X calls
7681 Gains nothing in the traditional-Xlib code, but more closely aligns
7682 with how the XCB version will work.
7684 * src/xfns.c (x_real_pos_and_offsets): When translating coordinates,
7685 send coordinates (0,0) to the X server and add in the real coordinates
7686 after getting the response. Move XGetGeometry for outer window inside
7687 error-trapping block. Use DPY variable more, since it's available.
7689 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
7691 Use color cache for creating bitmap
7693 * src/image.c (x_create_bitmap_from_xpm_data) [ALLOC_XPM_COLORS]: Set
7694 attributes to use the caching color allocator. Initialize and free
7697 2015-11-12 Eli Barzilay <eli@barzilay.org>
7699 Add "^" to the interactive specs of `dired-next/previous-line'
7701 * lisp/dired.el (dired-next-line, dired-previous-line): It makes sense
7702 to bind these commands to the arrow keys, and that means that they work
7703 better with a "^" in the `interactive' declaration so selection works
7706 2015-11-12 Thomas Fitzsimmons <fitzsim@fitzsim.org>
7708 Sync with soap-client repository, version 3.0.2
7710 * lisp/net/soap-client.el: Bump version to 3.0.2.
7712 * lisp/net/soap-client.el (soap-warning): Use format, not format-message.
7714 * lisp/net/soap-client.el: Add cl-lib to Package-Requires. Require cl-lib.
7715 (soap-validate-xs-simple-type): Use cl-labels instead of cl-flet.
7717 * lisp/net/soap-client.el: Support Emacs versions that do not have
7720 * lisp/net/soap-inspect.el: Remove version header.
7722 * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Fix first line header
7725 2015-11-11 Alan Mackenzie <acm@muc.de>
7727 CC Mode: Respect users' settings of open-paren-in-column-0-is-defun-start.
7729 lisp/progmodes/cc-engine.el (c-backward-single-comment, c-backward-comments)
7730 (c-invalidate-state-cache-1, c-parse-state-1, c-guess-basic-syntax):
7731 remove bindings of open-paren-in-column-0-is-defun-start to nil.
7732 (c-get-fallback-scan-pos): "New" function (existed several years ago).
7733 (c-parse-state-get-strategy): Reintroduce the 'BOD strategy, using
7734 c-get-fallback-scan-pos.
7735 (c-parse-state-1): Handle 'BOD strategy.
7737 lisp/progmodes/cc-mode.el (c-before-change, c-after-change)
7738 c-font-lock-fontify-region): remove bindings of
7739 open-paren-in-column-0-is-defun-start to nil.
7741 cc-mode.texi (Performance Issues, Limitations and Known Bugs): Fix mix up
7742 between @chapter and @appendix.
7744 2015-11-11 Artur Malabarba <bruce.connor.am@gmail.com>
7746 * lisp/obarray.el: Fix shadowed variables
7748 (obarray-map, obarray-remove, obarray-put, obarray-get):
7749 Change OBARRAY arg to OB to avoid shadowing ‘obarray’.
7751 2015-11-11 Eli Zaretskii <eliz@gnu.org>
7753 Avoid error in submitting a form with EWW
7755 * lisp/gnus/mm-url.el (mm-url-form-encode-xwfu): Allow argument
7756 CHUNK to be nil. (Bug#21881)
7758 2015-11-11 Nicolas Petton <nicolas@petton.fr>
7760 Rename seq-p and map-p to seqp and mapp
7762 * lisp/emacs-lisp/seq.el (seqp): New name.
7763 * lisp/emacs-lisp/map.el (mapp): New name.
7764 * doc/lispref/sequences.texi: Update the documentation for seqp.
7765 * test/automated/map-tests.el: Update the tests for mapp.
7767 2015-11-11 Nicolas Petton <nicolas@petton.fr>
7769 Rename obarray-p to obarrayp
7771 * lisp/obarray.el (obarrayp): New name.
7772 * test/automated/obarray-tests.el: Update the tests.
7774 2015-11-11 Nicolas Petton <nicolas@petton.fr>
7776 Rename obarray-foreach to obarray-map
7778 * lisp/obarray.el (obarray-map): New name.
7779 * test/automated/obarray-tests.el: Update the corresponding tests.
7781 2015-11-11 Przemysław Wojnowski <esperanto@cumego.com>
7783 New file with obarray functions.
7785 * lisp/obarray.el: basic obarray functions extracted from abbrev.el
7786 * test/automated/obarray-tests.el: new file
7788 2015-11-11 Eli Zaretskii <eliz@gnu.org>
7790 Implement tray notifications for MS-Windows
7792 * src/w32fns.c (MY_NOTIFYICONDATAW): New typedef.
7793 (NOTIFYICONDATAW_V1_SIZE, NOTIFYICONDATAW_V2_SIZE)
7794 (NOTIFYICONDATAW_V3_SIZE, NIF_INFO, NIIF_NONE, NIIF_INFO)
7795 (NIIF_WARNING, NIIF_ERROR, EMACS_TRAY_NOTIFICATION_ID)
7796 (EMACS_NOTIFICATION_MSG): New macros.
7797 (NI_Severity): New enumeration.
7798 (get_dll_version, utf8_mbslen_lim, add_tray_notification)
7799 (delete_tray_notification, Fw32_notification_notify)
7800 (Fw32_notification_close): New functions.
7801 (syms_of_w32fns): Defsubr functions exposed to Lisp. DEFSYM
7802 keywords used by w32-notification-notify.
7804 * doc/lispref/os.texi (Desktop Notifications): Describe the native
7805 w32 tray notifications.
7807 2015-11-11 Alan Mackenzie <acm@muc.de>
7809 First commit to scratch/follow. Make Isearch work with Follow Mode, etc.
7811 doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
7812 Windows" and new @defun selected-window-group.
7813 (Window Start and End): Describe new &optional parameter GROUP and
7814 ...-group-function for window-start, window-end, set-window-start, and
7815 pos-visible-in-window-p.
7816 (Textual Scrolling) Describe the same for recenter.
7817 doc/lispref/positions.texi (Screen Lines): Describe the same for
7818 move-to-window-line.
7820 src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
7821 (Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
7822 new optional parameter "group". At the beginning of each, check whether the
7823 corresponding ...-group-function is set to a function, and if so execute this
7824 function in place of the normal processing.
7825 (syms_of_window): Define symbols for the six new variables below.
7826 (window-start-group-function, window-end-group-function)
7827 (set-window-start-group-function, recenter-group-function)
7828 (pos-visible-in-window-p-group-function, move-to-window-line-group-function):
7829 New permanent local buffer local variables.
7830 src/keyboard.c (Fposn_at_point): Add extra parameter in call to
7831 Fpos_visible_in_window_p.
7833 lisp/window.el (selected-window-group-function): New permanent local buffer
7835 (selected-window-group): New function.
7837 lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
7838 enable, kill them at mode disable. Add/remove follow-after-change to/from
7839 after-change-functions.
7840 (follow-start-end-invalid): New variable.
7841 (follow-redisplay): Manipulate follow-start-end-invalid.
7842 (follow-after-change, follow-window-start, follow-window-end)
7843 (follow-set-window-start, follow-pos-visible-in-window-p)
7844 (follow-move-to-window-line, follow-sit-for): New functions.
7846 lisp/isearch.el (isearch-call-message): New macro.
7847 (isearch-update, with-isearch-suspended, isearch-del-char)
7848 (isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
7849 (with-isearch-suspended): Rearrange code such that isearch-call-message is
7850 invoked before point is moved.
7851 (isearch-message): Add comment about where point must be at function call.
7852 (isearch-search): Remove call to isearch-message.
7853 (isearch-lazy-highlight-window-group): New variable.
7854 (isearch-lazy-highlight-new-loop): Unconditionally start idle timer. Move
7855 the battery of tests to ...
7856 (isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
7857 Note: (sit-for 0) is still called.
7858 (isearch-lazy-highlight-update): Check membership of
7859 isearch-lazy-highlight-window-group. Don't set the `window' overlay
7861 (isearch-update, isearch-done, isearch-string-out-of-window)
7862 (isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
7863 (isearch-lazy-highlight-search, isearch-lazy-highlight-update)
7864 (isearch-lazy-highlight-update): Call the six amended primitives (see
7865 src/window.c above) with the new `group' argument set to t, to cooperate
7868 2015-11-11 Michael Albinus <michael.albinus@gmx.de>
7870 Optimize `file-equal-p' and `file-in-directory-p' in Tramp
7872 * lisp/net/tramp.el (tramp-handle-file-equal-p)
7873 (tramp-handle-file-in-directory-p): New defuns. Suggested by
7874 Harvey Chapman <hchapman@3gfp.com>
7876 * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7877 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7878 * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7879 * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use them.
7881 2015-11-10 Karl Fogel <kfogel@red-bean.com>
7883 * CONTRIBUTE: Encourage adding tests.
7885 Based on this post from John Wiegley:
7887 From: "John Wiegley" <johnw@newartisans.com>
7888 Subject: Re: [Emacs-diffs] master 1f02cbe: Fix bug#21766 and add test
7889 To: Juanma Barranquero <lekktu@gmail.com>
7890 Cc: emacs-diffs@gnu.org, bruce.connor.am@gmail.com,
7891 emacs-devel <emacs-devel@gnu.org>
7892 Date: Wed, 28 Oct 2015 18:45:29 -0700
7893 Message-ID: <m2y4emqwg6.fsf@newartisans.com>
7895 https://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02372.html
7897 2015-11-10 David Reitter <david.reitter@gmail.com>
7899 Avoid creating notification objects when possible
7901 * src/nsterm.m (windowWillEnterFullScreen, windowWillExitFullScreen:,
7902 windowDidEnterFullScreen, windowDidExitFullScreen): provide
7903 convenience functions that do not require a notification object. When
7904 needed, define NSWindowDidEnterFullScreenNotification to allow for
7905 compilation on OS X 10.6.8.
7907 2015-11-10 Paul Eggert <eggert@cs.ucla.edu>
7909 Move INTEGER_TO_CONS body out of .h file
7911 * src/data.c (INTBIG_TO_LISP): New macro, with most
7912 of the contents of the old INTEGER_TO_CONS.
7913 (intbig_to_lisp, uintbig_to_lisp): New functions.
7914 * src/lisp.h (INTEGER_TO_CONS):
7915 Simplify by using EXPR_SIGNED and the new functions.
7916 This shrinks code size a bit, and makes it easier to
7917 put a breakpoint on handling of large integers.
7919 2015-11-10 Paul Eggert <eggert@cs.ucla.edu>
7924 2015-11-10 intprops: new public macro EXPR_SIGNED
7925 2015-11-10 intprops: fix typo in clang port
7926 * lib/intprops.h: Copy from gnulib.
7928 2015-11-10 Paul Eggert <eggert@cs.ucla.edu>
7932 * lisp/net/soap-inspect.el (soap-inspect-xs-simple-type):
7933 Fix misspelling in output.
7935 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
7937 * doc/lispref/variables.texi (Directory Local Variables):
7939 Document dir-locals wildcards
7941 * lisp/files.el (dir-locals-file): Point to Info node.
7943 * doc/emacs/custom.texi (Directory Variables):
7944 Document dir-locals wildcards.
7946 * etc/NEWS: Document new functionality.
7948 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
7950 * lisp/files.el: Don't allow customization of dir-locals sorting
7952 In retrospect, this is not a good idea for the same reason that
7953 `dir-locals-file' is a defconst, because it is important that this
7954 behaviour be "uniform across different environments and users".
7955 Sure, the user can still change the sorting with a hack, but we
7956 shouldn't encourage them to change it.
7958 (dir-locals--all-files): Return list in the order returned by
7959 `file-expand-wildcards'.
7960 (file-expand-wildcards): Document the sorting predicate used.
7961 (dir-locals-sort-predicate): Delete variable.
7963 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
7965 * lisp/files.el (dir-locals-read-from-file): Better handle errors
7967 * lisp/isearch.el (search-default-regexp-mode): change default value
7969 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
7971 * lisp/files.el (dir-locals-find-file): Don't stop at unreadable files
7973 `locate-dominating-file' will now keep looking if the files it finds in
7974 a given directory are unreadable (or not files).
7976 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
7978 * lisp/files.el (dir-locals-file): Allow wildcards
7980 (dir-locals-find-file, dir-locals-collect-variables)
7981 (dir-locals-read-from-file): Update accordingly.
7982 (hack-dir-local-variables): Rename a local variable.
7984 * lisp/files-x.el (modify-dir-local-variable): Update accordingly
7986 * lisp/help-fns.el (describe-variable): Update accordingly
7988 * .gitignore: Add .dir-locals?.el
7990 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
7992 * lisp/emacs-lisp/map.el (map-merge-with): New function
7994 * test/automated/map-tests.el (test-map-merge-with): New test
7996 2015-11-10 Karl Fogel <kfogel@red-bean.com>
7998 Fix some recently-perturbed bookmark autoloads
8000 * lisp/bookmark.el (bookmark-set-internal): Remove unnecessary autoload.
8001 (bookmark-set): Restore autoload.
8002 (bookmark-set-no-overwrite): Add autoload.
8004 Thanks to Juanma Barranquero for noticing the autoload problems
8005 introduced by my recent commit adding/changing the above functions
8006 (Sun Nov 8 14:16:43 2015 -0500, git commit 3812e17978).
8008 2015-11-10 Noah Friedman <friedman@splode.com>
8010 (ydump-buffer): Handle case where gap is at the start of buffer.
8011 I don't recall if older versions of gdb were less strict but you
8012 cannot dump a 0-length range in gdb 7.9.1.
8014 2015-11-10 Dmitry Gutov <dgutov@yandex.ru>
8016 * lisp/progmodes/project.el: Update Commentary.
8018 Merge branch 'project-next'
8020 2015-11-10 Dmitry Gutov <dgutov@yandex.ru>
8022 Fold `project-ask-user' into `project-current'
8024 * lisp/progmodes/project.el (project-find-functions): Remove
8026 (project-ask-user): Remove function and the corresponding
8027 `project-roots' implementation.
8028 (project-current): Add a new argument, MAYBE-PROMPT. Prompt the
8029 user in case there's no project in the current directory. Update
8032 2015-11-09 Karl Fogel <kfogel@red-bean.com>
8034 When VC detects a conflict, specify which file
8036 * lisp/vc/vc.el (vc-message-unresolved-conflicts): New function.
8037 * lisp/vc/vc-svn.el (vc-svn-find-file-hook):
8038 * lisp/vc/vc-hg.el (vc-hg-find-file-hook):
8039 * lisp/vc/vc-bzr.el (vc-bzr-find-file-hook):
8040 * lisp/vc/vc-git.el (vc-git-find-file-hook): Use above new function
8041 to display a standard message that specifies the conflicted file.
8043 Before this change, the message VC used for indicating a conflicted
8044 file was just "There are unresolved conflicts in this file" without
8045 naming the file (and this language was duplicated in several places).
8046 After this change, it's "There are unresolved conflicts in file FOO"
8047 (and this language is now centralized in one function in vc.el).
8049 Justification: It's important for the message to name the conflicted
8050 file because the moment when VC realizes a file is conflicted does not
8051 always come interactively. For example, some people automatically
8052 find a set of Org Mode files on startup, and may keep those .org files
8053 under version control. If any of the files are conflicted, the user
8054 just sees some messages fly by, and might later check the "*Messages*"
8055 buffer to find out what files were conflicted. I'm not saying this
8056 happened to me or anything; it's a purely hypothetical example.
8058 2015-11-09 Eli Zaretskii <eliz@gnu.org>
8060 Fix assertion violation in define-key
8062 * src/keymap.c (store_in_keymap): Don't use XFASTINT on non-character
8063 objects. Reported by Drew Adams <drew.adams@oracle.com>
8064 and Juanma Barranquero <lekktu@gmail.com>.
8066 2015-11-09 Dima Kogan <dima@secretsauce.net>
8068 Fix a memory leak in GC of font cache
8070 * src/alloc.c (compact_font_cache_entry): Don't GC unmarked font
8071 entities if some of the fonts it references are marked. This
8072 plugs a memory leak. (Bug#21556)
8074 2015-11-09 Paul Eggert <eggert@cs.ucla.edu>
8076 Use INT_ADD_WRAPV etc. to check integer overflow
8078 * src/alloc.c (xnmalloc, xnrealloc, xpalloc, Fmake_string):
8079 * src/buffer.c (record_overlay_string, overlay_strings):
8080 * src/casefiddle.c (casify_object):
8081 * src/ccl.c (Fccl_execute_on_string):
8082 * src/character.c (char_width, c_string_width, lisp_string_width)
8083 (count_size_as_multibyte, string_escape_byte8):
8084 * src/coding.c (coding_alloc_by_realloc, produce_chars):
8085 * src/data.c (arith_driver):
8086 * src/dispnew.c (realloc_glyph_pool, init_display):
8087 * src/editfns.c (styled_format):
8088 * src/fns.c (Ffillarray):
8089 * src/ftfont.c (ftfont_shape_by_flt):
8090 * src/gnutls.c (gnutls_hex_string):
8091 * src/gtkutil.c (get_utf8_string):
8092 * src/image.c (x_to_xcolors, x_detect_edges, png_load_body):
8093 * src/keymap.c (Fkey_description):
8094 * src/lisp.h (SAFE_ALLOCA_LISP):
8095 * src/term.c (encode_terminal_code):
8096 * src/tparam.c (tparam1):
8097 * src/xselect.c (x_property_data_to_lisp):
8098 * src/xsmfns.c (smc_save_yourself_CB):
8099 * src/xterm.c (x_term_init):
8100 When checking for integer overflow, prefer INT_MULTIPLY_WRAPV to
8101 more-complicated code involving division and/or
8102 INT_MULTIPLY_OVERFLOW, and similarly for INT_ADD_WRAPV and
8103 subtraction and/or INT_ADD_OVERFLOW.
8104 * src/casefiddle.c (casify_object): Simplify multibyte size check.
8105 * src/character.c: Remove some obsolete ‘#ifdef emacs’s.
8106 * src/data.c (arith_driver): Also check for division overflow,
8107 as that’s now possible given that the accumulator can now contain
8109 * src/lisp.h (lisp_word_count): Remove; no longer used.
8111 2015-11-09 Dmitry Gutov <dgutov@yandex.ru>
8113 Make sure that the ignore file exists
8115 * lisp/vc/vc.el (vc-default-ignore-completion-table):
8116 Make sure that the ignore file exists.
8118 2015-11-09 Michael Sperber <mike@xemacs.org>
8120 * lisp/gnus-sum.el (gnus-summary-backend-map): Bind B-backspace to
8121 `gnus-summary-delete-article` in a way that also works on XEmacs.
8123 2015-11-08 Simen Heggestøyl <simenheg@gmail.com>
8125 Add support for retrieving paths to JSON elements
8127 Add support for retrieving the path to a JSON element. This can for
8128 instance be useful to retrieve paths in deeply nested JSON
8131 * lisp/json.el (json-pre-element-read-function)
8132 (json-post-element-read-function): New variables to hold pre- and post
8133 read callback functions for `json-read-array' and `json-read-object'.
8134 (json--path): New variable used internally by `json-path-to-position'.
8135 (json--record-path, json--check-position): New functions used
8136 internally by `json-path-to-position'.
8137 (json-path-to-position): New function for retrieving the path to a
8138 JSON element at a given position.
8139 (json-read-object, json-read-array): Call
8140 `json-pre-element-read-function' and `json-post-element-read-function'
8143 * test/automated/json-tests.el (test-json-path-to-position-with-objects)
8144 (test-json-path-to-position-with-arrays)
8145 (test-json-path-to-position-no-match): New tests for
8146 `json-path-to-position'.
8148 2015-11-08 Karl Fogel <kfogel@red-bean.com>
8150 * etc/NEWS: Mention new `bookmark-set-no-overwrite'.
8152 This really should been part of my previous commit
8153 (Sun Nov 8 14:16:43 2015 -0500, git commit 3812e17978).
8155 2015-11-08 Karl Fogel <kfogel@red-bean.com>
8157 Offer non-overwrite bookmark setter (Bug#15746)
8159 * lisp/bookmark.el (bookmark-set-internal): New helper function to do
8160 what `bookmark-set' used to do, but with more choices for overwrite
8161 vs push, and with minor changes to the interactive prompt format.
8162 (bookmark-set): Rewrite as wrapper around above.
8163 If overwriting, inform the user of that in the prompt.
8164 (bookmark-set-no-overwrite): New function, also done as wrapper.
8165 Bind to "M" in `ctl-x-r-map' autoloads.
8166 (bookmark-map): Similarly bind "M" here.
8168 2015-11-08 Paul Eggert <eggert@cs.ucla.edu>
8170 * src/unexelf.c (NEW_PROGRAM_H): Remove unused macro (Bug#20614).
8172 2015-11-08 Alan Modra <amodra@gmail.com>
8174 ELF unexec: Don't insert a new section
8176 Reuse the .bss section instead, making it SHT_PROGBITS. This way we
8177 don't need to mess with symbol st_shndx, or section sh_link and
8180 This does lead to eu-elflint complaints about symbols defined in .bss
8181 with a needed version, because normally it is undefined symbols that
8182 have needed versions; Defined symbols have version definitions.
8183 The exception is symbols defined by the linker in .dynbss for
8184 variables copied from a shared library in order to avoid text
8185 relocations, with copy relocs to copy their initial values from the
8186 shared library. These symbols are both defined and have needed
8187 versions, and eu-elflink only expects to see them in SHT_NOBITS
8188 sections. Of course there is no real problem with having such symbols
8189 in SHT_PROGBITS sections. glibc ld.so handles them fine.
8191 * src/unexelf.c: Delete outdated comments.
8192 (PATCH_INDEX): Delete.
8193 (find_section): Delete.
8194 (unexec): Don't add a new section. Instead reuse the last bss
8195 section, extending it to cover dumped data. Make bss sections
8196 SHT_PROGBITS. Remove all patching of sh_link, sh_info and
8197 st_shndx. Rename bss sections.
8199 2015-11-08 Alan Modra <amodra@gmail.com>
8201 ELF unexec: Drive from PT_LOAD header rather than sections
8203 This rewrites bss handling in the ELF unexec code. Finding bss
8204 sections by name results in complicated code that
8205 - does not account for all names of possible bss sections,
8206 - assumes specific ordering of bss sections,
8207 - can wrongly choose a SHT_NOBITS section not in the bss segment,
8208 - incorrectly calculates bss size (no accounting for alignment gaps),
8209 - assumes .data and .bss are in the same segment.
8211 All of these problems and more are solved by finding the bss segment
8212 in PT_LOAD headers, ie. the address range included in p_memsz but not
8213 p_filesz of the last PT_LOAD header, then matching SHT_NOBITS sections
8214 in that address range.
8216 * src/unexelf.c: Delete old ppc comment.
8217 (OLD_PROGRAM_H): Define.
8219 (unexec): Don't search for bss style sections by name. Instead,
8220 use the last PT_LOAD header address range covered by p_memsz
8221 but not p_filesz and match any SHT_NOBITS section in that
8222 address range. Simplify initialisation of section header vars.
8223 Don't assume that section headers are above bss segment. Move
8224 copying of bss area out of section loop. Align .data2 section
8225 to 1, since it now covers the entire bss area. For SHT_NOBITS
8226 sections in the bss segment, leave sh_addr and sh_addralign
8227 unchanged, but correct sh_offset. Clear memory corresponding
8228 to SHT_NOBITS .plt section. Delete comment and hacks for
8229 sections partly overlapping bss range now that the full range
8230 is properly calculated. Delete now dead .sbss code.
8233 2015-11-08 Alan Modra <amodra@gmail.com>
8235 ELF unexec: R_*_NONE relocs
8237 These should be ignored on all targets.
8239 * src/unexelf.c (unexec): Ignore R_*_NONE relocs for any target,
8240 not just Alpha. Comment on reloc size assumption.
8242 2015-11-08 Alan Modra <amodra@gmail.com>
8244 ELF unexec: _OBJC_ symbols in bss sections
8246 This code assumed that there was only one bss section. Rather than
8247 checking for a particular index, check the section type. Also, handle
8248 the possibility that the section was SHT_NOBITS originally and is
8249 unchanged, in which case no clearing is needed (and sh_offset isn't
8250 necessarily valid, which can lead to a wild memset).
8252 * src/unexelf.c (unexec): Properly handle _OBJC_ symbols in bss sections.
8254 2015-11-08 Alan Modra <amodra@gmail.com>
8256 ELF unexec: Symbol table patching
8258 No st_shndx value larger than SHN_LORESERVE should be changed.
8259 * src/unexelf.c (unexec): Don't adjust any st_shndx larger than
8260 SHN_LORESERVE. Error on SHN_XINDEX.
8262 2015-11-08 Alan Modra <amodra@gmail.com>
8264 ELF unexec: Merge Alpha and MIPS COFF debug handling
8266 * src/unexelf.c (unexec): Merge Alpha and MIPS COFF debug handling.
8267 Don't find .mdebug section index, find the section in the loop.
8268 Allow for unlikely possibility that .mdebug is located at sh_offset
8269 before bss segment, by calculating move from difference in
8270 sh_offset rather than just assuming new_data2_size. Simplify
8271 cbLineOffset handling.
8273 2015-11-08 Alan Modra <amodra@gmail.com>
8275 ELF unexec: Tidy code
8277 Separate out some of the more mechanical changes so following patches
8280 * src/unexelf.c (unexec): Rearrange initialisation of program
8281 header vars. Use pointer vars in loops rather than indexing
8282 section header array via macros. Simplify _OBJC_ sym code
8283 and reloc handling code.
8285 2015-11-08 Alan Modra <amodra@gmail.com>
8287 ELF unexec: Correct section header index
8289 First a small fix. The code incorrectly uses "NEW_SECTION_H (n)" when
8290 it should have been using "NEW_SECTION_H (nn)" to find the name of the
8291 section currently being processed. Of course, before the bss
8292 sections, n and nn have the same value, so this doesn't matter except
8293 in the case of .sbss. For .sbss this probably meant .bss (most likely
8294 the next section) was copied from memory. A later patch removes the
8295 bogus .sbss handling anyway.
8297 * src/unexelf.c (unexec): Use correct index to look up names.
8299 2015-11-08 Michael Albinus <michael.albinus@gmx.de>
8303 * lisp/filenotify.el (file-notify--rm-descriptor):
8304 Use `descriptor' instead of computing its value.
8305 (file-notify--descriptor): Additional argument FILE. Adapt all callees.
8306 (file-notify-rm-watch): Use `descriptor' when calling file name handler.
8309 2015-11-08 Dmitry Gutov <dgutov@yandex.ru>
8311 Remove dirs in vc project roots from the the vc project library roots
8313 * lisp/progmodes/project.el (project-library-roots): Remove
8314 directories inside the project roots from the result.
8315 (http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00536.html)
8317 2015-11-08 Dmitry Gutov <dgutov@yandex.ru>
8319 Move and rename xref-find-regexp to the project package
8321 * lisp/progmodes/project.el (project-find-regexp)
8322 (project--read-regexp)
8323 (project--find-regexp-in): New functions.
8325 * lisp/progmodes/xref.el (xref--find-xrefs): Extract from
8326 xref--show-xrefs. Use in existing callers in place of that
8328 (xref--show-xrefs): Only do the "show" part.
8329 (xref-find-regexp): Rename, more or less, to
8330 project-or-libraries-find-regexp.
8332 2015-11-06 Dmitry Gutov <dgutov@yandex.ru>
8334 Abolish temporary buffer management for xref
8336 * lisp/progmodes/xref.el (xref--temporary-buffers)
8338 (xref--inhibit-mark-current)
8339 (xref--mark-selected): Remove. Remove all references.
8340 (xref--show-xrefs): Do not construct the
8341 list of the temporary buffers, nor pass it along.
8343 2015-11-06 Dmitry Gutov <dgutov@yandex.ru>
8345 Rename "search path" to "library roots"
8347 * lisp/emacs-lisp/cl-seq.el (cl-set-difference): Retain the order
8348 of the elements from CL-LIST1.
8350 * test/automated/cl-lib-tests.el (cl-lib-test-set-functions):
8351 Update WRT to the above change.
8353 * lisp/progmodes/project.el (project-search-path-function): Rename
8354 to project-library-roots-function, update the documentation and
8356 (project-search-path): Likewise, to project-library-roots.
8357 (project-roots): Clarify documentation.
8358 (project-vc-search-path): Likewise, to project-vc-library-roots.
8359 (project-library-roots): In addition to the renames, thread the
8360 results through file-name-as-directory.
8361 (project-prune-directories): Accept a variable number of
8362 arguments. Rename to project-combine-directories.
8363 (project-subtract-directories): New function.
8365 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references):
8366 Append project-roots and project-library-roots together.
8368 * lisp/progmodes/etags.el (etags--xref-find-references): Ditto.
8370 2015-11-08 Paul Eggert <eggert@cs.ucla.edu>
8372 Prefer xpalloc to doubling buffers by hand
8374 * src/lread.c (grow_read_buffer): New function, which uses xpalloc.
8375 (read1): Use it for simplicity.
8376 * src/macros.c (store_kbd_macro_char):
8377 * src/minibuf.c (read_minibuf_noninteractive):
8378 * src/term.c (encode_terminal_code):
8379 * src/xrdb.c (magic_db):
8380 Prefer xpalloc to growing buffers by hand.
8381 This doesn’t fix any bugs, but simplifies the code a bit.
8383 2015-11-08 Paul Eggert <eggert@cs.ucla.edu>
8388 2015-11-05 timespec-sub: fix overflow bug; add tests
8389 2015-11-04 intprops: revise _WRAPV macros, revert _OVERFLOW
8390 2015-11-03 intprops: add parentheses
8391 * lib/intprops.h, lib/timespec-add.c, lib/timespec-sub.c:
8394 2015-11-07 David Reitter <david.reitter@gmail.com>
8396 Provide NS notification objects where required to eliminate warnings
8398 * src/nsterm.m (windowDidResize:, toggleFullScreen:):
8399 Call notification functions with notification objects
8400 as per delegate APIs.
8402 2015-11-07 Noam Postavsky <npostavs@users.sourceforge.net>
8404 Add test for bug #21824
8406 * test/automated/buffer-tests.el: New file.
8407 (overlay-modification-hooks-message-other-buf): New test.
8409 2015-11-07 Kelvin White <kwhite@gnu.org>
8411 * lisp/erc/erc-pcomplete.el (pcomplete-erc-nicks): Fix bug#18771.
8413 2015-11-07 David Reitter <david.reitter@gmail.com>
8415 Ignore fullscreen exit notifications on NS when frame is dead
8417 * src/nsterm.m (windowDidResize:, windowWillExitFullScreen:)
8418 (windowDidExitFullScreen:): Return if frame is dead.
8419 These functions may be called when a fullscreen frame
8420 is closed; they are called before, not after.
8422 May address Bug#21428.
8424 2015-11-07 Eli Zaretskii <eliz@gnu.org>
8426 Speed up lookup in redisplay--variables
8428 * lisp/frame.el (redisplay--variables): Make it a hash-table.
8430 * src/xdisp.c (maybe_set_redisplay): Access redisplay--variables
8431 as a hash-table. This speeds up this function by an order of
8432 magnitude: where previously a setq was slowed down by 100% by
8433 introducing the maybe_set_redisplay test, it is now only 5%
8435 (syms_of_xdisp) <redisplay--variables>: Doc fix.
8437 2015-11-07 Artur Malabarba <bruce.connor.am@gmail.com>
8439 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Fix a bug.
8441 The defsubst was being created as:
8442 (cl-defsubst name (args) ("DOC") ...)
8444 * test/automated/cl-lib-tests.el (cl-lib-struct-constructors):
8447 2015-11-07 Mihai Olteanu <mihai_olteanu@fastmail.fm> (tiny change)
8449 Update doc string of hexl-mode
8451 * lisp/hexl.el (hexl-mode): Doc fix. (Bug#21800)
8453 2015-11-07 Eli Zaretskii <eliz@gnu.org>
8455 Fix error in copy-abbrev-table
8457 * lisp/abbrev.el (define-abbrev): Don't erase the :abbrev-table-modiff
8458 property of the abbrev-table. (Bug#21828)
8460 * test/automated/abbrev-tests.el: New file.
8462 2015-11-07 Michael Albinus <michael.albinus@gmx.de>
8464 Add test to auto-revert-tests.el for Bug#21841
8466 * test/automated/auto-revert-tests.el
8467 (auto-revert-test01-auto-revert-several-files): New test.
8468 (auto-revert-test02-auto-revert-tail-mode)
8469 (auto-revert-test03-auto-revert-mode-dired): Rename them.
8471 2015-11-07 Martin Rudalics <rudalics@gmx.at>
8473 * doc/lispref/windows.texi (Coordinates and Windows): Fix typo.
8475 2015-11-07 Martin Rudalics <rudalics@gmx.at>
8477 In x_consider_frame_title don't set title of tooltip frames
8479 * src/xdisp.c (x_consider_frame_title): Return immediately for
8480 tooltip frames to avoid displaying empty tooltips.
8482 2015-11-06 Anders Lindgren <andlind@gmail.com>
8484 Fixed NextStep fullscreen problem (bug#21770).
8486 * src/nsterm.m (ns_constrain_all_frames): Don't constrain
8489 2015-11-06 Eli Zaretskii <eliz@gnu.org>
8491 Ensure redisplay after evaluation
8493 * lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp):
8495 * lisp/frame.el (redisplay--variables): Populate the
8496 redisplay--variables list.
8497 * src/xdisp.c (maybe_set_redisplay): New function.
8498 (syms_of_xdisp) <redisplay--variables>: New variable.
8499 * src/window.h (maybe_set_redisplay): Declare prototype.
8500 * src/data.c (set_internal): Call maybe_set_redisplay. (Bug#21835)
8502 2015-11-06 Artur Malabarba <bruce.connor.am@gmail.com>
8504 * test/automated/subr-tests.el (subr-test-when): Fix again.
8506 2015-11-06 Eli Zaretskii <eliz@gnu.org>
8508 Don't invoke overlay modification hooks in wrong buffer
8510 * src/buffer.c (report_overlay_modification): When called with
8511 AFTER non-zero, don't invoke overlay modification hooks if the
8512 buffer recorded in last_overlay_modification_hooks is different
8513 from the current buffer. (Bug#21824)
8515 2015-11-06 Juanma Barranquero <lekktu@gmail.com>
8517 * admin/notes/repo: Fix a few obsolete references to Bazaar.
8519 2015-11-06 Artur Malabarba <bruce.connor.am@gmail.com>
8521 * test/automated/subr-tests.el (subr-test-when): Fix test.
8523 2015-11-06 Martin Rudalics <rudalics@gmx.at>
8525 Avoid division by zero crash observed by Yuan MEI
8527 See http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00194.html.
8529 * src/dispnew.c (required_matrix_height, required_matrix_width):
8530 Avoid division by zero.
8531 * src/xterm.c (x_term_init): Init dpyinfo->smallest_font_height and
8532 dpyinfo->smallest_char_width to 1.
8534 2015-11-06 Eli Zaretskii <eliz@gnu.org>
8536 Ensure redisplay after "C-x C-e"
8538 * lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp): Make sure
8539 redisplay happens to account for any side effects of the evaluated
8542 2015-11-06 Michael Albinus <michael.albinus@gmx.de>
8544 Skip some file notification tests for cygwin
8546 * test/automated/file-notify-tests.el (file-notify--test-with-events):
8547 Remove argument TIMEOUT. Adapt all callees.
8548 (file-notify-test02-events, file-notify-test04-file-validity):
8549 Skip for cygwin. (Bug#21804)
8551 2015-11-05 Stephen Leake <stephen_leake@stephe-leake.org>
8553 * lisp/progmodes/xref.el: Require semantic/symref during compilation.
8555 2015-11-05 Daiki Ueno <ueno@gnu.org>
8557 Suppress redundant Pinentry startup messages
8559 * lisp/net/pinentry.el (pinentry-start): Add optional QUIET argument.
8560 * lisp/epg.el: Declare `pinentry-start'.
8561 (epg--start): Call `pinentry-start' with QUIET argument set.
8563 2015-11-05 Xue Fuqiao <xfq.free@gmail.com>
8565 * doc/emacs/ack.texi (Acknowledgments): Updates.
8567 2015-11-05 Juanma Barranquero <lekktu@gmail.com>
8569 * test/automated/elisp-mode-tests.el: Silence some run-time warnings.
8570 (xref-elisp-deftest): Bind `find-file-suppress-same-file-warnings' to t.
8572 2015-11-05 Tassilo Horn <tsdh@gnu.org>
8574 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
8575 Add prettification support for \times.
8577 2015-11-05 Juanma Barranquero <lekktu@gmail.com>
8579 * test/automated/process-tests.el: Skip tests when bash is unavailable.
8580 (process-test-sentinel-accept-process-output)
8581 (process-test-sentinel-sit-for): skip-unless bash executable found.
8583 2015-11-05 Eli Zaretskii <eliz@gnu.org>
8585 Add test for bug #21831
8587 * test/automated/process-tests.el
8588 (start-process-should-not-modify-arguments): New test. (Bug#21831)
8589 Suggested by Nicolas Richard <youngfrog@members.fsf.org>
8591 2015-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
8593 * lisp/emacs-lisp/eieio-compat.el: Typo caught by tests.
8595 (eieio--generic-static-object-generalizer): Fix typo.
8596 * test/automated/eieio-tests.el: Byte-compile it again. It looks
8597 like the underlying cause of bug#17852 was fixed in the mean time.
8599 2015-11-04 Artur Malabarba <bruce.connor.am@gmail.com>
8601 Revert "* lisp/subr.el (when): Use `macroexp-progn'"
8603 This reverts commit 8e843831eaf271801836b7a3e4dd3b4fb0bb72b8.
8604 It breaks bootstrapping (duh).
8606 2015-11-04 Artur Malabarba <bruce.connor.am@gmail.com>
8608 * lisp/files.el (report-errors): Obsolete.
8610 (normal-mode, hack-local-variables, dir-locals-find-file):
8611 Use `with-demoted-errors' instead.
8613 2015-11-04 Artur Malabarba <bruce.connor.am@gmail.com>
8615 * lisp/subr.el (when): Use `macroexp-progn'.
8617 * test/automated/subr-tests.el (subr-test-when): New test.
8619 2015-11-04 Juanma Barranquero <lekktu@gmail.com>
8621 * lisp/progmodes/xref.el: Doc fixes.
8622 (xref-make-file-location, xref-make-buffer-location, xref-make)
8623 (xref-make-bogus-location, xref-make-match): Add cross-references.
8624 (xref--insert-xrefs): Fix typo in docstring.
8626 2015-11-04 Anders Lindgren <andlind@gmail.com>
8628 Render fringe bitmaps correctly on NextStep (bug#21301)
8630 The fringe bitmaps were inverted, the background was not transparent,
8631 the image data was horizontally mirrored, and periodic fringe bitmaps
8634 * src/nsimage.m ([EmacsImage initFromXBM:width:height:fg:bg:]):
8635 When both background and foreground colors are 0, set the background
8636 alpha channel to 0 (making the background transparent). When
8637 copying the image data, do this from the most significant bit
8638 (leftmost) to the least (rightmost), to avoid mirroring.
8639 * src/nsterm.m (ns_draw_fringe_bitmap): Don't invert the image bits.
8640 Add support for periodic images (e.g. the empty line indicator).
8642 2015-11-03 Michael Heerdegen <michael_heerdegen@web.de>
8644 * lisp/emacs-lisp/pcase.el (pcase): Tweak docstring.
8646 2015-11-03 Nicolas Petton <nicolas@petton.fr>
8648 * admin/MAINTAINERS: Add seq-tests.el, map-tests.el, and thunk-tests.el.
8650 * admin/MAINTAINERS: Add thunk.el.
8652 2015-11-03 Jay Belanger <jay.p.belanger@gmail.com>
8654 * lisp/calc/calc.el (calc-bug-address): Change maintainer address.
8656 2015-11-03 Michael Albinus <michael.albinus@gmx.de>
8658 Fix a stupid error in gfilenotify.c
8660 * src/gfilenotify.c (dir_monitor_callback): Cancel monitor only,
8661 if we've got a `deleted' signal AND the file name is the watched one.
8663 2015-11-03 Stephen Leake <stephen_leake@stephe-leake.org>
8665 Fix Bug#21816; case insensitive file system in elisp-mode-tests.el
8667 * test/automated/elisp-mode-tests.el (xref-elisp-test-run):
8668 Use case-insensitive string compare for file names.
8669 (emacs-test-dir): Add 'downcase' to cause case differences (at
8670 least on my system).
8672 2015-11-02 Juanma Barranquero <lekktu@gmail.com>
8674 flymake-tests.el (warning-predicate-rx-gcc): Fix check
8676 * test/automated/flymake-tests.el (warning-predicate-rx-gcc):
8677 Also check that "make" is available, not just "gcc".
8679 2015-11-02 Ken Brown <kbrown@cornell.edu>
8681 Document behavior of collation on Cygwin
8683 * test/automated/fns-tests.el (fns-tests-collate-sort): Mark as
8684 expected failure on Cygwin.
8685 * doc/lispref/strings.texi (Text Comparison): Document that
8686 punctuation and whitespace are not ignored for sorting on Cygwin.
8688 2015-11-02 Dani Moncayo <dmoncayo@gmail.com>
8690 * build-aux/msys-to-w32: Prevent double slashes in w32 path list.
8692 2015-11-01 Glenn Morris <rgm@gnu.org>
8694 * lisp/progmodes/f90.el (f90-no-block-limit): Add associate.
8696 * test/automated/f90.el (f90-test-bug21794): New test.
8698 2015-11-01 Juanma Barranquero <lekktu@gmail.com>
8700 Fix incompatibility with TCC in test for bug#18745
8702 * test/automated/process-tests.el (process-test-quoted-batfile):
8703 Remove spaces unrelated to the bug being tested.
8705 2015-11-01 Michael Albinus <michael.albinus@gmx.de>
8707 Improve completion in tramp-gvfs.el
8709 * lisp/net/tramp-gvfs.el (tramp-zeroconf-parse-device-names):
8710 Rename from `tramp-zeroconf-parse-service-device-names'.
8711 (tramp-zeroconf-parse-webdav-device-names): Remove. Code merged
8712 with `tramp-zeroconf-parse-device-names'.
8713 (tramp-gvfs-parse-device-names): New defun.
8714 (top): Use it when `tramp-zeroconf-parse-device-names' is not
8717 * lisp/net/tramp.el (tramp-set-completion-function): The argument
8718 could also be a zeroconf service type.
8720 2015-10-31 Thomas Fitzsimmons <fitzsim@fitzsim.org>
8722 * lisp/net/ntlm.el: Change version to 2.0.0.
8724 2015-10-31 Juanma Barranquero <lekktu@gmail.com>
8727 * lisp/progmodes/python.el (python-syntax-closing-paren-p): Check with
8728 `eql' instead of `=' to accommodate the case that (syntax-after (point))
8730 * test/automated/python-tests.el (python-indent-inside-paren-7):
8733 2015-10-31 Juanma Barranquero <lekktu@gmail.com>
8735 * test/automated/python-tests.el: Avoid warnings.
8736 (python-tests-with-temp-buffer, python-tests-with-temp-file):
8737 Bind `python-indent-guess-indent-offset' to nil.
8739 2015-10-31 Juanma Barranquero <lekktu@gmail.com>
8741 * src/alloc.c: Silence compiler warnings.
8742 (pointers_fit_in_lispobj_p, mmap_lisp_allowed_p): #ifdef DOUG_LEA_MALLOC.
8744 2015-10-31 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
8746 * etc/NEWS: Fix js-jsx-mode entry punctuation.
8748 2015-10-31 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
8750 Add JSX indentation via js-jsx-mode (Bug#21799)
8752 * lisp/progmodes/js.el: Add JSX indentation support.
8753 (js--jsx-end-tag-re)
8754 (js--jsx-after-tag-re): New variables.
8755 (js--jsx-find-before-tag)
8756 (js--jsx-indented-element-p)
8758 (js--expression-in-sgml-indent-line)
8759 (js-jsx-indent-line)
8760 (js-jsx-mode): New functions.
8761 * test/indent/js-jsx.js: New file.
8762 * etc/NEWS: Add information about js-jsx-mode.
8764 2015-10-31 Michael Albinus <michael.albinus@gmx.de>
8766 Minor fix in filenotify.el
8768 * lisp/filenotify.el (file-notify--event-file-name)
8769 (file-notify--event-file1-name): Normalize result with
8770 `directory-file-name'.
8772 2015-10-31 Eli Zaretskii <eliz@gnu.org>
8774 Avoid errors in redisplay--pre-redisplay-functions
8776 * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Don't
8777 use 'bobp', instead compare window-point with 1. (Bug#21730)
8779 2015-10-30 Paul Eggert <eggert@cs.ucla.edu>
8784 2015-10-30 intprops: add WRAPV and const flavors for GCC 5
8785 2015-10-25 stdalign: port to Sun C 5.9
8786 * doc/misc/texinfo.tex, lib/intprops.h, lib/stdalign.in.h:
8789 2015-10-30 Eli Zaretskii <eliz@gnu.org>
8791 * src/w32proc.c (_NLSCMPERROR): Fix a typo in the name of this macro.
8792 (w32_compare_strings): Adjust for the correction.
8794 2015-10-30 Michael Albinus <michael.albinus@gmx.de>
8796 * test/automated/vc-tests.el (vc-test--state)
8797 (vc-test--working-revision, vc-test--checkout-model):
8798 Add result messages.
8800 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
8802 * test/automated/faces-tests.el: Add another test
8804 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
8806 * lisp/faces.el (faces--attribute-at-point): Fix bug
8807 introduced by previous commit.
8809 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
8811 * test/automated/faces-tests.el: New file.
8813 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
8815 * lisp/faces.el: Refactor common code and fix a bug.
8816 (faces--attribute-at-point): New function. Fix a bug when the
8817 face at point is a list of faces and the desired attribute is not
8819 (foreground-color-at-point, background-color-at-point): Use it.
8821 2015-10-30 Przemysław Wojnowski <esperanto@cumego.com>
8823 * etc/tutorials/TUTORIAL.translators: Fix PL names.
8825 2015-10-30 Juanma Barranquero <lekktu@gmail.com>
8827 * lisp/character-fold.el: Provide `character-fold'.
8829 2015-10-30 Tassilo Horn <tsdh@gnu.org>
8831 * etc/themes/tsdh-dark-theme.el (tsdh-dark): Add more faces
8834 2015-10-30 Michael Albinus <michael.albinus@gmx.de>
8836 Some minor fixes for tramp-gvfs.el
8838 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
8839 An attribute returned by gvfs-info might be empty. In case of
8840 undetermined uid or gid, return "UNKNOWN" or -1, respectively.
8841 (tramp-zeroconf-parse-service-device-names): New defun.
8842 Derived from `tramp-zeroconf-parse-workstation-device-names'.
8843 (top): Add completion functions for "afp" and "smb" methods.
8845 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
8847 * test/automated/character-fold-tests.el: New file
8849 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
8851 * test/automated/sort-tests.el: New file.
8852 Tests in this file are randomly generated and then tested with
8853 regular, reverse, and case-fold sorting.
8855 2015-10-30 Eli Zaretskii <eliz@gnu.org>
8857 Describe known problems with pinning Emacs to taskbar
8859 * etc/PROBLEMS: Describe the problem with pinning Emacs to taskbar
8860 on Windows 10. For the details, see the discussion starting at
8861 http://lists.gnu.org/archive/html/help-emacs-windows/2015-09/msg00000.html.
8863 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
8865 * lisp/isearch.el: Avoid an error that blocks isearch.
8866 (isearch-update): Don't error if `isearch--current-buffer' has
8869 * test/automated/isearch-tests.el (isearch--test-update):
8872 2015-10-30 Phil Sainty <psainty@orcon.net.nz>
8874 Fix documentation of 'beginning/end-of-buffer'
8876 * lisp/simple.el (beginning-of-buffer, end-of-buffer): Clarify
8877 conditions under which the mark will be pushed at the previous
8878 position. (Bug#21748)
8880 2015-10-30 Tassilo Horn <tsdh@gnu.org>
8882 Add RefTeX feature idea: editing RefTeX TOC buffers
8884 More face defs for ivy, swiper, ace-window, eshell
8886 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
8888 * lisp/gnus/auth-source.el: Silence lexical-binding warnings.
8889 (auth-source-netrc-use-gpg-tokens): Simplify (symbol-value 'VAR) to
8891 (auth-source-backend-parse): Use make-instance.
8892 (auth-source-search): Remove unused key args.
8893 Remove unused vars `accessor-key' and `backend'. Avoid `eval'.
8894 (auth-source-search-backends): Use slot names rather than their initarg.
8895 (auth-source-netrc-create):
8896 (auth-source-delete):
8897 (auth-source-secrets-create, auth-source-plstore-search)
8898 (auth-source-macos-keychain-create, auth-source-macos-keychain-search)
8899 (auth-source-plstore-create, auth-source-netrc-search)
8900 (auth-source-netrc-parse): Remove unused key args.
8901 (auth-source-forget+): Simplify the arglist.
8902 (auth-source-macos-keychain-search-items)
8903 (auth-source-token-passphrase-callback-function): Mark unused args.
8904 (auth-source-epa-extract-gpg-token): Remove unused var `plain'.
8905 (pp-escape-newlines): Declare.
8906 (auto-source--symbol-keyword): New function.
8907 (auth-source-plstore-create, auth-source-netrc-create)
8908 (auth-source-netrc-normalize): Use it.
8909 (auth-source-netrc-search): Don't pass :delete to
8910 auth-source-netrc-parse since it doesn't use it.
8911 (auth-source-plstore-create, auth-source-netrc-create): Use plist-get
8912 symbol-value to index in keyword args.
8913 (auth-source-macos-keychain-result-append): Avoid setq.
8914 (auth-source-netrc-create): Remove unused vars `file' and `add'.
8915 (auth-source-user-or-password): Remove unused var `cname'.
8917 2015-10-29 Juri Linkov <juri@linkov.net>
8919 * lisp/dired.el (dired-unmark-all-files-query): Declare.
8920 (dired-unmark-all-files): Let-bind it and use instead of ‘query’.
8923 2015-10-29 Juri Linkov <juri@linkov.net>
8925 * lisp/ielm.el (ielm-indent-line): Use non-nil arg of comint-bol
8926 to go to the beginning of text line instead of command line.
8927 http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02360.html
8929 2015-10-29 Eli Zaretskii <eliz@gnu.org>
8931 Fix encoding of saving *Help* buffers
8933 * lisp/help-fns.el (describe-function-1): If we use curved quotes,
8934 set help buffer's buffer-file-coding-system to UTF-8. (Bug#21780)
8936 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
8938 * lisp/emacs-lisp/cl-generic.el: Add (major-mode MODE) context.
8939 (cl--generic-derived-specializers): New function.
8940 (cl--generic-derived-generalizer): New generalizer.
8941 (cl-generic-generalizers): New specializer (derived-mode MODE).
8942 (cl--generic-split-args): Apply the rewriter, if any.
8943 (cl-generic-define-context-rewriter): New macro.
8944 (major-mode): Use it to define a new context-rewriter, so we can write
8945 `(major-mode MODE)' instead of `(major-mode (derived-mode MODE))'.
8947 * lisp/frame.el (window-system): New context-rewriter so we can write
8948 `(window-system VAL)' instead of (window-system (eql VAL)).
8949 (cl--generic-split-args): Apply the rewriter, if any.
8950 (frame-creation-function): Use the new syntax.
8952 * lisp/term/x-win.el (window-system-initialization)
8953 (handle-args-function, frame-creation-function)
8954 (gui-backend-set-selection, gui-backend-selection-owner-p)
8955 (gui-backend-selection-exists-p, gui-backend-get-selection):
8956 * lisp/term/w32-win.el (window-system-initialization)
8957 (handle-args-function, frame-creation-function)
8958 (gui-backend-set-selection, gui-backend-get-selection)
8959 (gui-backend-selection-owner-p, gui-backend-selection-exists-p):
8960 * lisp/term/pc-win.el (gui-backend-get-selection)
8961 (gui-backend-selection-exists-p, gui-backend-selection-owner-p)
8962 (gui-backend-set-selection, window-system-initialization)
8963 (frame-creation-function, handle-args-function):
8964 * lisp/term/ns-win.el (window-system-initialization)
8965 (handle-args-function, frame-creation-function)
8966 (gui-backend-set-selection, gui-backend-selection-exists-p)
8967 (gui-backend-get-selection):
8968 * lisp/startup.el (handle-args-function):
8969 * lisp/term/xterm.el (gui-backend-get-selection)
8970 (gui-backend-set-selection): Use the new syntax.
8972 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
8974 * test/indent/css-mode.css: Add tests for url(...) syntax.
8976 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
8978 * lisp/emacs-lisp/smie.el: Use `declare' for `pure'.
8979 (smie-precs->prec2, smie-merge-prec2s, smie-bnf->prec2)
8980 (smie-prec2->grammar): Use `declare'.
8982 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
8984 * lisp/emacs-lisp/cl-generic.el: Accommodate future changes.
8985 (cl--generic-generalizer): Add `name' field.
8986 (cl-generic-make-generalizer): Add corresponding `name' argument.
8987 (cl-generic-define-generalizer): New macro.
8988 (cl--generic-head-generalizer, cl--generic-eql-generalizer)
8989 (cl--generic-struct-generalizer, cl--generic-typeof-generalizer)
8990 (cl--generic-t-generalizer): Use it.
8991 (cl-generic-ensure-function): Add `noerror' argument.
8992 (cl-generic-define): Use it so we don't follow aliases.
8993 (cl-generic-define-method): Preserve pre-existing ordering of methods.
8994 (cl--generic-arg-specializer): New function.
8995 (cl--generic-cache-miss): Use it.
8996 (cl-generic-generalizers): Only fset a temporary definition
8998 (cl--generic-struct-tag, cl--generic-struct-specializers):
8999 Allow extra arguments.
9001 * lisp/emacs-lisp/eieio-compat.el
9002 (eieio--generic-static-symbol-generalizer)
9003 (eieio--generic-static-object-generalizer):
9004 Use cl-generic-define-generalizer.
9005 (eieio--generic-static-symbol-specializers): Allow extra arguments.
9007 * lisp/emacs-lisp/eieio-core.el (eieio--generic-generalizer)
9008 (eieio--generic-subclass-generalizer):
9009 Use cl-generic-define-generalizer.
9010 (eieio--generic-subclass-specializers): Allow extra arguments.
9012 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
9014 * lisp/emacs-lisp/bytecomp.el (compile-defun): Add defvars in scope.
9016 2015-10-29 Michael Albinus <michael.albinus@gmx.de>
9018 Add "afp" method to Tramp
9020 * doc/misc/tramp.texi (GVFS based methods): Describe `afp' method.
9022 * lisp/net/tramp-gvfs.el (tramp-gvfs-methods): Add "afp" method.
9023 (tramp-gvfs-handle-expand-file-name)
9024 (tramp-gvfs-handler-mounted-unmounted)
9025 (tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec)
9026 (tramp-gvfs-maybe-open-connection): Support also "afp".
9027 (tramp-gvfs-handle-file-attributes): Handle the case of empty
9028 "owner::user" and "owner::group" entries.
9030 2015-10-29 Andy Moreton <andrewjmoreton@gmail.com>
9032 Handle negative coordinates in ‘x_calc_absolute_position’
9034 * src/w32term.c (x_calc_absolute_position): Find display origin to
9035 allow for negative coordinates.
9037 2015-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9039 (internal--syntax-propertize): Save match-data here (bug#21766)
9041 * lisp/emacs-lisp/syntax.el (internal--syntax-propertize): Save match-data.
9042 * lisp/simple.el (delete-trailing-whitespace): Undo last change.
9044 2015-10-28 Dmitry Gutov <dgutov@yandex.ru>
9046 Don't require default-directory to end with a slash
9048 * doc/lispref/files.texi (Magic File Names): Document the change
9049 in unhandled-file-name-directory.
9051 * lisp/url/url-handlers.el
9052 (url-handler-unhandled-file-name-directory): Update accordingly.
9054 * src/buffer.c (default-directory): Update the docsting.
9056 * src/fileio.c (unhandled-file-name-directory): Default to calling
9057 `file-name-as-directory'
9058 (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02294.html).
9060 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
9062 * lisp/isearch.el: Delete some outdated comments.
9064 2015-10-28 Vibhav Pant <vibhavp@gmail.com>
9066 Fix eshell/clear not working if the output has a small line count
9068 * lisp/eshell/esh-mode.el (eshell/clear): Use (window-size) as the
9069 number of newlines to be inserted. This fixes the issue where
9070 eshell/clear wouldn't work if the prompt was not at the bottom of the
9071 window, and the output wasn't too long.
9073 2015-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9075 * lisp/files.el (write-file): Use vc-refresh-state.
9077 * lisp/autorevert.el (auto-revert-handler): Use vc-refresh-state.
9079 * lisp/vc/pcvs.el (cvs-revert-if-needed): Use vc-refresh-state.
9081 2015-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9083 * lisp/emacs-lisp/macroexp.el: Tweak macroexp-if optimizations.
9084 (macroexp-unprogn): Make sure we never return an empty list.
9085 (macroexp-if): Remove unused (and unsafe) optimization.
9086 Optimize (if A T (if B T E)) into (if (or A B) T E) instead, which does
9089 2015-10-28 Juanma Barranquero <lekktu@gmail.com>
9091 Fix bug#21766 and add test
9092 * lisp/simple.el (delete-trailing-whitespace): Save match data when
9093 calling `skip-syntax-backward'.
9094 * test/automated/simple-test.el (simple-delete-trailing-whitespace):
9097 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
9099 * doc/lispref/sequences.texi (Sequence Functions): Fix typo.
9101 2015-10-28 Paul Eggert <eggert@cs.ucla.edu>
9103 * src/dispnew.c (init_display): Simplify overflow checking.
9105 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
9107 * lisp/character-fold.el (character-fold-to-regexp): Fix case
9108 where string ends in space
9110 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
9112 * lisp/emacs-lisp/seq.el (seq-mapn): New function.
9114 * doc/lispref/sequences.texi (Sequence Functions): Document seq-mapn.
9116 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
9118 * lisp/character-fold.el: Make compatible with lax-whitespace.
9119 (character-fold-to-regexp): Rework internals to play nice with
9122 When the user types a space, we want to match the table entry for
9123 ?\s, which is generally a regexp like "[ ...]". However, the
9124 `search-spaces-regexp' variable doesn't "see" spaces inside these
9125 regexp constructs, so we need to use "\\( \\|[ ...]\\)" instead (to
9126 manually expose a space).
9128 Furthermore, the lax search engine acts on a bunch of spaces, not
9129 on individual spaces, so if the string contains sequential spaces
9130 like " ", we need to keep them grouped together like this:
9131 "\\( \\|[ ...][ ...]\\)".
9133 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
9135 * lisp/isearch.el: Refactor momentary messages.
9136 (isearch--momentary-message): New function.
9137 (isearch-toggle-lax-whitespace, isearch-toggle-case-fold)
9138 (isearch-toggle-invisible): Use it.
9140 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
9142 * lisp/isearch.el: Define all toggles with `isearch-define-mode-toggle'.
9143 (isearch-define-mode-toggle): New macro.
9144 (isearch-toggle-invisible): Rename to
9145 `isearch-define-mode-toggle'.
9146 (isearch-toggle-case-fold, isearch-toggle-invisible)
9147 (isearch-toggle-regexp, isearch-toggle-lax-whitespace): Define
9148 with `isearch-define-mode-toggle'.
9150 2015-10-28 Michael Albinus <michael.albinus@gmx.de>
9152 Avoid using `add-to-list' on a let-local var in tramp-smb.el
9154 * lisp/net/tramp-compat.el (tramp-compat-delete-dups): New defun.
9155 * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files): Use it.
9157 2015-10-28 Michael Albinus <michael.albinus@gmx.de>
9159 * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files):
9160 Revert 692bce5b9eccfae19ae2a5a23a9ccd8d6bf86076, `delete-dups'
9161 does not exist in XEmacs 21.4.
9163 2015-10-28 Anders Lindgren <andlind@gmail.com>
9165 Fixed OS X startup crash
9167 Input events started to arrive before ns_term_init() was finished.
9168 Solved by blocking input. This also seems to correct the "You
9169 can't open the application "Emacs" because it may be damaged or
9170 incomplete" error issued when double-clicking on the Emacs
9173 * src/nsterm.m (ns_constrain_all_frames, ns_init_term): Block input.
9174 * src/nsterm.m (ns_send_appdefined, EmacsApp): Trace output.
9176 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
9178 * src/process.c (Fget_buffer_process): Improve docstring.
9179 Document the fact that it doesn't return dead processes.
9181 2015-10-28 Anders Lindgren <andlind@gmail.com>
9183 Fix incorrect NextStep tool-bar-mode -- wrong number of rows in frame.
9185 * src/nsterm.h (struct ns_output): New flag, in_animation.
9186 * src/nsfns.m (Fx_create_frame): Initialize in_animation flag.
9187 * src/nsmenu.m (free_frame_tool_bar, update_frame_tool_bar): Set
9188 in_animation flag around call to "setVisible". Set new tool bar
9189 height before call to setVisible.
9190 * src/nsterm.m (x_set_window_size): Don't call [view setRow:
9191 andColumns:] as this fools the subsequent call to updateFrameSize
9192 from performing the real resize.
9193 (windowDidResize): Don't update anything when in_animation is
9198 * src/nsmenu.m (free_frame_tool_bar, update_frame_tool_bar)
9200 * src/nsterm.m (x_set_window_size, updateFrameSize)
9201 ([EmacsView setRows: andColumns:])
9203 2015-10-28 Nicolas Petton <nicolas@petton.fr>
9205 * lisp/emacs-lisp/thunk.el (thunk-delay): Fix the macro.
9207 2015-10-28 Tassilo Horn <tsdh@gnu.org>
9209 Prettify TeX macros not ending in a word char
9211 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
9212 Prettify macros which don't end in a word character.
9214 2015-10-27 Dmitry Gutov <dgutov@yandex.ru>
9216 Pipe Hg commit descriptions through 'tabindent'
9218 * lisp/vc/vc-hg.el (vc-hg-log-format): Pipe commit description
9219 through 'tabindent'.
9220 (vc-hg-log-view-mode): Set tab-width to 2 locally.
9221 (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02259.html)
9223 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
9225 * lisp/net/tramp-smb.el: Avoid using `add-to-list' on a let-local var.
9226 (tramp-smb-handle-directory-files): Use `delete-dups'.
9228 * lisp/net/tramp.el (auto-save-file-name-transforms): Declare.
9230 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
9232 * lisp/international/ccl.el: Use lexical-binding.
9233 (ccl-compile-if): Remove unused var `false-ic'.
9234 (ccl-compile-write-repeat): Remove unused var `i'.
9235 (ccl-compile-map-single): Remove unused var `id'.
9236 (ccl-dump, ccl-dump-binary): Use explicit let-binding to bind the
9237 dynamic var `ccl-code'.
9239 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
9241 * lisp/json.el (json-new-object): Optimize trivial `list' call.
9243 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
9245 * lisp/help.el: Fix bug with incorrect arglist string.
9246 (help-add-fundoc-usage): Don't mistake a mis-formatted string
9249 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
9251 * lisp/gnus/gnus-topic.el: Silence some warnings.
9252 (gnus-topic-prepare-topic): Remove unused var `topic'.
9253 (gnus-topic-remove-topic): Mark unused arg `hide'.
9254 (gnus-tmp-header): Declare.
9255 (gnus-topic-goto-missing-group): Remove unused var `entry'.
9256 (gnus-topic-unmark-topic): Mark unused arg `dummy'.
9257 (gnus-topic-copy-matching): Mark unused arg `copyp'.
9258 Move initialization of `topic' into its declaration.
9260 2015-10-27 Stephen Leake <stephen_leake@stephe-leake.org>
9264 * lisp/cedet/cedet-global.el (cedet-gnu-global-gtags-call):
9265 Handle warnings from gtags about invalid options.
9266 (cedet-gnu-global-create/update-database): Do incremental update
9269 * lisp/cedet/ede/generic.el (ede-enable-generic-projects):
9270 Get monotone root right.
9272 2015-10-27 Michael Albinus <michael.albinus@gmx.de>
9274 Fall back to polling in autorevert when needed
9276 * lisp/autorevert.el (auto-revert-notify-handler): When a
9277 `stopped' event arrives from file notification, fall back to polling.
9279 * test/automated/file-notify-tests.el
9280 (file-notify-test03-autorevert): Extend test for polling when file
9281 notification ceases to work.
9283 2015-10-27 Dmitry Gutov <dgutov@yandex.ru>
9285 Show full commit messages in 'hg log' when appropriate
9287 * lisp/vc/vc-hg.el (vc-hg-log-format): New variable.
9288 (vc-hg-print-log, vc-hg-expanded-log-entry): Use it.
9289 (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02191.html)
9291 2015-10-27 Nicolas Petton <nicolas@petton.fr>
9293 Use a plain SVG file for the icon
9295 * etc/images/icons/hicolor/scalable/apps/emacs.svg: Use a plain SVG
9296 format instead of the Inkscape SVG format.
9298 2015-10-27 Michael Albinus <michael.albinus@gmx.de>
9300 Fix subtle bug in auto-revert-tests.el
9302 * test/automated/auto-revert-tests.el
9303 (auto-revert-test02-auto-revert-mode-dired): Narrow *Messages*
9304 buffer where it belongs to. (Bug#21668)
9306 2015-10-26 Nicolas Petton <nicolas@petton.fr>
9308 * lisp/emacs-lisp/map.el: Better docstrings.
9310 * lisp/emacs-lisp/seq.el: Better docstrings.
9312 * lisp/emacs-lisp/seq.el: Rename all seq arguments to sequence.
9314 2015-10-26 Phillip Lord <phillip.lord@russet.org.uk>
9316 * lisp/emacs-lisp/ert.el: Print results without newline escaping.
9318 2015-10-26 Stephen Leake <stephen_leake@stephe-leake.org>
9320 Clarify that load-path contents should be directory file names
9322 * doc/lispref/files.texi (Directory Names): Define and use "directory
9323 file name". Recommend `expand-file-name'.
9325 * src/lread.c (load-path): Fix doc string; elements are directory file
9328 2015-10-26 Eli Zaretskii <eliz@gnu.org>
9330 Fix simple-test.el test
9332 * test/automated/simple-test.el (simple-test--dummy-buffer):
9333 Make sure indentation doesn't use TABs, otherwise the 6th test
9336 2015-10-26 Mark Oteiza <mvoteiza@udel.edu>
9338 * lisp/net/eww.el (eww-bookmark-prepare): Use truncate-string-to-width.
9339 `substring' does not account for full width characters.
9341 2015-10-26 Michael Albinus <michael.albinus@gmx.de>
9343 Further work on `stopped' events in filenotify.el
9345 * doc/lispref/os.texi (File Notifications): Rework examples.
9347 * lisp/filenotify.el (file-notify--rm-descriptor): Optional parameter.
9348 (file-notify--rm-descriptor, file-notify-callback): Improve check
9349 for sending `stopped' event.
9350 (file-notify-add-watch): Check for more events for `inotify'.
9352 * test/automated/file-notify-tests.el
9353 (file-notify--test-expected-events): New defvar.
9354 (file-notify--test-with-events): Use it.
9355 (file-notify--test-cleanup): Make it more robust when deleting
9357 (file-notify--test-event-test): Check also for watched directories.
9358 (file-notify--test-event-handler): Suppress temporary .#files.
9359 (file-notify-test02-events, file-notify-test04-file-validity):
9360 Rework `stopped' events.
9361 (file-notify-test05-dir-validity): Wait for events when appropriate.
9363 2015-10-26 Artur Malabarba <bruce.connor.am@gmail.com>
9365 * src/keyboard.c (post-command-hook): Shorten docstring.
9367 2015-10-26 Tassilo Horn <tsdh@gnu.org>
9369 Fix infinite loop in sh-script's SMIE code
9371 * lisp/progmodes/sh-script.el (sh-smie-sh-forward-token): Fix infinite
9374 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
9376 * lisp/isearch.el (search-default-regexp-mode): Revert to nil.
9377 Character-fold search _still_ doesn't play well with
9378 lax-whitespace. So disable it by default (again) for now.
9380 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
9382 * lisp/isearch.el: No visual feedback for default search mode.
9383 During an isearch where character-folding is the default, we don't
9384 want to take up minibuffer space just to tell the user that
9385 "Char-fold " is on. The same goes for other modes, if the user
9386 changes the default. In contrast, if the user toggles OFF the
9387 default mode, they should see "Literal", to distinguish it from
9389 (isearch--describe-regexp-mode): Return "" if describing the
9390 default mode, and return "literal " if describing a plain search
9391 and it is not default.
9393 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
9395 * test/automated/simple-test.el: New file.
9396 Define tests for `newline' and `open-line'.
9398 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
9400 * lisp/simple.el (open-line): Integrate with electric-indent-mode.
9401 Also run `post-self-insert-hook' when called interactively.
9403 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
9405 * lisp/simple.el (open-line): Fix docstring.
9406 Also explain apparently redundant line.
9408 2015-10-25 Thomas Fitzsimmons <fitzsim@fitzsim.org>
9409 Alexandru Harsanyi <AlexHarsanyi@gmail.com>
9411 Sync with soap-client repository, version 3.0.1
9413 * lisp/net/soap-client.el, lisp/net/soap-inspect.el:
9414 Bump version to 3.0.1.
9416 * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Update home page.
9418 2015-10-25 Eli Zaretskii <eliz@gnu.org>
9420 * lisp/progmodes/grep.el (grep): Doc fix. (Bug#21754)
9422 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
9424 * src/keyboard.c (post-command-hook): Extend the docstring.
9425 Mainly, explain how to use it without hanging Emacs, or giving the
9426 impression that it is hanging. Also mention `pre-command-hook'.
9427 (pre-command-hook): Mention `post-command-hook'.
9429 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
9431 * lisp/custom.el (custom-declare-variable): Shorten code again.
9432 Without using pcase this time. We can't use pcase because it is
9433 loaded after custom in loadup.el. Also add a comment explaining
9434 this to future dummies like me.
9436 2015-10-25 Michael Albinus <michael.albinus@gmx.de>
9438 * doc/lispref/os.texi (File Notifications): Document `stopped event'.
9440 2015-10-25 Michael Albinus <michael.albinus@gmx.de>
9442 Introduce `stopped' event in file notification
9444 * lisp/filenotify.el (file-notify--rm-descriptor): New defun.
9445 (file-notify-rm-watch): Use it.
9446 (file-notify-callback): Implement `stopped' event.
9447 (file-notify-add-watch): Mention `stopped' in the docstring.
9448 Check, that upper directory exists.
9450 * test/automated/file-notify-tests.el (file-notify-test01-add-watch):
9452 (file-notify-test02-events): Handle also `stopped' event.
9453 (file-notify-test04-file-validity): Add another test case.
9455 2015-10-25 Paul Eggert <eggert@cs.ucla.edu>
9457 Revert commit that broke 'make bootstrap'
9459 * lisp/custom.el (custom-declare-variable): Revert commit
9460 79fac080d277fed07b3c192890ad59d36d9f83b6. custom.el needs to work
9461 even when pcase has not been defined yet, when doing bootstrapping.
9463 2015-10-25 Paul Eggert <eggert@cs.ucla.edu>
9465 Port recent inline functions fix to Standard C
9467 * src/lisp.h (LISP_MACRO_DEFUN, LISP_MACRO_DEFUN_VOID): Remove.
9468 All uses rewritten to define the function directly rather than to
9469 use a macro to define the function. This conforms to Standard C,
9470 which does not allow stray semicolons at the top level. I hope it
9471 also avoids the problems with TAGS. Those macros, though clever,
9472 were pretty confusing anyway, and it wasn’t clear they were worth
9473 the aggravation even without the TAGS problem.
9475 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
9477 * lisp/isearch.el: Make character-fold search the default again.
9479 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
9481 * lisp/character-fold.el: Many improvements.
9482 (character-fold-search-forward, character-fold-search-backward):
9484 (character-fold-to-regexp): Remove lax-whitespace hack.
9485 (character-fold-search): Remove variable. Only isearch and
9486 query-replace use char-folding, and they both have their own
9487 variables to configure that.
9489 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
9491 * lisp/isearch.el: Generalize definition of regexp-function toggles.
9492 (isearch-specify-regexp-function): New macro for specifying
9493 possible values of `isearch-regexp-function'.
9494 (isearch-toggle-character-fold, isearch-toggle-symbol)
9495 (isearch-toggle-word): Define with `isearch-specify-regexp-function'.
9497 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
9499 * lisp/isearch.el (search-default-regexp-mode): New variable.
9500 (isearch-mode): Use it.
9502 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
9504 * lisp/isearch.el (search-exit-option, search-slow-window-lines)
9505 (search-slow-speed, search-upper-case)
9506 (search-nonincremental-instead, search-whitespace-regexp)
9507 (search-invisible, isearch-hide-immediately)
9508 (isearch-resume-in-command-history, search-ring-max)
9509 (regexp-search-ring-max, search-ring-update, search-highlight)
9510 (isearch-fail): Delete :group entries.
9512 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
9514 * lisp/custom.el (custom-declare-variable): Shorten code a bit.
9516 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
9518 addpm.c: Silence some warnings.
9520 * nt/addpm.c (DdeCommand): Cast pData argument of DdeClientTransaction
9522 (add_registry): Pass NULL to optional lpClass argument of
9523 RegCreateKeyEx, not an empty string.
9525 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
9527 addpm.c: Do not add obsolete GTK libraries to the path.
9529 * nt/addpm.c (REG_GTK, REG_RUNEMACS_PATH): Delete.
9530 (add_registry): Remove variables `size' and `gtk_key'.
9531 Do not add the GTK DLL directory to the library search path; it is
9532 confusing behavior (in particular, the same Emacs version with and
9533 without invoking addpm will use a different path), and the GTK image
9534 libraries are obsolete anyway.
9536 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
9538 addpm.c: Replace existing registry entries, but do not create new ones
9540 * nt/addpm.c (add_registry): If the Emacs registry key exists, replace
9541 existing values from previous versions, but do not add new ones; the
9542 key could exist for other reasons unrelated to old Emacsen, like X-style
9543 resources, or to set some environment variables like HOME or LANG, and
9544 in that case we don't want to populate it with obsolete values.
9546 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
9548 * nt/addpm.c (add_registry): Do not compute unused return value.
9550 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
9552 addpm.c: Don't pass REG_OPTION_NON_VOLATILE to RegOpenKeyEx
9554 * nt/addpm.c (add_registry): Pass 0 to ulOptions argument of
9555 RegOpenKeyEx, not REG_OPTION_NON_VOLATILE. This doesn't change
9556 current behavior because REG_OPTION_NON_VOLATILE is defined to
9557 be 0L anyway, but that option is actually documented only for
9560 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
9562 * src/w32notify.c (Fw32notify_add_watch): Fix version check.
9564 2015-10-24 Eli Zaretskii <eliz@gnu.org>
9566 Update frame title when redisplay scrolls selected window
9568 * src/xdisp.c (redisplay_window): Reconsider the frame's title
9569 when the mode-line of the frame's selected window needs to be
9572 2015-10-24 Eli Zaretskii <eliz@gnu.org>
9574 Update frame title when scrolling the selected window
9576 * src/window.c (wset_update_mode_line): New function, sets either
9577 the window's update_mode_line flag or the global update_mode_lines
9579 (Fset_window_start, set_window_buffer, window_scroll_pixel_based)
9580 (window_scroll_line_based): Call it instead of only setting the
9581 window's update_mode_line flag.
9583 2015-10-24 Eli Zaretskii <eliz@gnu.org>
9585 An even better fix for bug#21739
9587 * src/window.c (set_window_buffer): If the window is the frame's
9588 selected window, set update_mode_lines, not the window's
9589 update_mode_line flag.
9590 * src/buffer.c (Fkill_buffer): Undo last change.
9591 (set_update_modelines_for_buf): Function deleted.
9593 2015-10-24 Thomas Fitzsimmons <fitzsim@fitzsim.org>
9594 Alexandru Harsanyi <AlexHarsanyi@gmail.com>
9596 Sync with soap-client repository, version 3.0.0
9598 * lisp/net/soap-client.el, lisp/net/soap-inspect.el:
9599 Bump version to 3.0.0.
9601 * lisp/net/soap-inspect.el: Merge in changes from Emacs master branch.
9603 * lisp/net/soap-client.el: Merge in changes from Emacs master branch.
9605 * lisp/net/soap-inspect.el: Shorten first line description.
9607 * lisp/net/soap-client.el: Make a small whitespace fix.
9609 * lisp/net/soap-inspect.el: Update copyright years.
9611 * lisp/net/soap-client.el (soap-encoded-namespaces): Move above
9612 first use in soap-encode-xs-element.
9614 * lisp/net/soap-client.el (soap-type-is-array?): new defun
9615 (soap-encode-xs-element): handle array elements in this function
9616 (soap-encode-xs-complex-type): flag error if asked to encode an
9617 array type, this is handled in `soap-encode-xs-element'
9619 * lisp/net/soap-inspect.el (soap-inspect-xs-attribute-group):
9620 Do not print type for attribute group.
9622 * lisp/net/soap-inspect.el (soap-sample-value-for-xs-attribute-group)
9624 (soap-inspect-xs-attribute-group): Likewise.
9626 * lisp/net/soap-inspect.el
9627 (soap-resolve-references-for-xs-attribute-group): Resolve
9628 references of attributes in an attribute group.
9630 * lisp/net/soap-client.el (soap-decode-xs-attributes): Process attribute
9631 type directly, not through soap-wsdl-get.
9633 * lisp/net/soap-client.el (soap-xs-parse-attribute): Leave reference
9634 nil if reference attribute is nil.
9636 * lisp/net/soap-client.el (soap-resolve-references-for-xs-attribute):
9637 Convert XML schema attributes to xsd:string.
9639 * lisp/net/soap-inspect.el (soap-sample-value-for-xs-attribute):
9641 (soap-sample-value-for-xs-simple-type): Prepend attributes to result.
9642 (soap-sample-value-for-xs-complex-type): Likewise.
9643 (soap-inspect-xs-attribute): New function.
9644 (soap-inspect-xs-simple-type): Print attributes.
9645 (soap-inspect-xs-complex-type): Likewise.
9647 * lisp/net/soap-inspect.el (soap-resolve-references-for-xs-simple-type):
9648 Resolve references for attributes.
9649 (soap-resolve-references-for-xs-complex-type): Likewise.
9651 * lisp/net/soap-client.el (soap-xml-node-find-matching-child):
9652 Rename from soap-xml-node-first-child.
9653 (soap-xs-parse-attribute): Call soap-xml-node-find-matching-child.
9654 (soap-xs-parse-simple-type): Likewise.
9656 * lisp/net/soap-client.el (soap-invoke-async): Add error checking.
9658 * lisp/net/soap-client.el (soap-invoke-internal): New function.
9659 (soap-invoke-async): Call soap-invoke-internal.
9660 (soap-invoke): Likewise.
9662 * lisp/net/soap-client.el (soap-invoke-async): Ensure buffer passed to
9663 url-retrieve callback is killed.
9665 * lisp/net/soap-client.el (soap-parse-wsdl-phase-validate-node):
9667 (soap-parse-wsdl-phase-fetch-imports): Likewise.
9668 (soap-parse-wsdl-phase-parse-schema): Likewise.
9669 (soap-parse-wsdl-phase-fetch-schema): Likewise.
9670 (soap-parse-wsdl-phase-finish-parsing): Likewise.
9671 (soap-parse-wsdl): Update calls.
9673 * lisp/net/soap-client.el (soap-invoke-async): Fix callback invocation.
9675 * lisp/net/soap-client.el (soap-invoke-async): New function.
9676 (soap-invoke): Reimplement using soap-invoke-async.
9678 * lisp/net/soap-client.el (soap-parse-server-response):
9680 (soap-invoke): Inline call to soap-parse-server-response.
9682 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
9683 Prevent incorrect warning.
9685 * lisp/net/soap-client.el (soap-parse-server-response):
9686 Rename soap-process-url-response. Destroy the mime part.
9687 (soap-invoke): Call soap-parse-server-response.
9689 * lisp/net/soap-client.el: Update copyright date.
9691 * lisp/net/soap-client.el: Fix checkdoc issues.
9693 * lisp/net/soap-client.el: Fix indentation and long lines.
9695 * lisp/net/soap-client.el (soap-time-format): Remove variable.
9696 (soap-encode-xs-basic-type): Simplify date-time format detection.
9697 (soap-decode-xs-basic-type): Remove soap-time-format support.
9699 * lisp/net/soap-client.el (soap-process-url-response): New function.
9700 (soap-fetch-xml-from-url): Call soap-process-url-response.
9701 (soap-parse-wsdl-phase-1): New function.
9702 (soap-parse-wsdl-phase-2): Likewise.
9703 (soap-parse-wsdl-phase-3): Likewise.
9704 (soap-parse-wsdl-phase-4): Likewise.
9705 (soap-parse-wsdl-phase-5): Likewise.
9706 (soap-parse-wsdl): Call phase functions.
9708 * lisp/net/soap-client.el (soap-decode-xs-basic-type):
9709 Remove one-argument and call.
9711 * lisp/net/soap-client.el (soap-decode-date-time): Improve docstring.
9713 * lisp/net/soap-client.el (soap-xmlschema-imports): Remove variable.
9714 (soap-parse-schema): Add wsdl argument. Look up XML schema
9716 (soap-load-wsdl): Do not set soap-xmlschema-imports.
9717 (soap-parse-wsdl): Get XML schema imports from wsdl.
9719 * lisp/net/soap-client.el (soap-current-file): Remove variable.
9720 (soap-wsdl): Add current-file slot.
9721 (soap-fetch-xml-from-url): Add wsdl argument. Look up current
9723 (soap-fetch-xml-from-file): Likewise.
9724 (soap-fetch-xml): Likewise.
9725 (soap-load-wsdl): Always create wsdl object first.
9726 (soap-parse-wsdl): Pass wsdl to soap-fetch-xml.
9728 * lisp/net/soap-client.el (soap-xs-element): Add is-group slot.
9729 (soap-xs-parse-element): Set is-group slot.
9730 (soap-resolve-references-for-xs-element): Skip is-group elements.
9731 (soap-xs-complex-type): Add is-group slot.
9732 (soap-xs-parse-complex-type): Set is-group slot.
9733 (soap-xs-parse-sequence): Parse xsd:group elements.
9734 (soap-resolve-references-for-xs-complex-type): Inline elements
9735 from referenced xsd:group nodes.
9736 (soap-parse-schema): Parse xsd:group nodes.
9738 * lisp/net/soap-client.el (soap-invoke):
9739 Don't set url-http-version to 1.0.
9741 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
9742 Allow choice nodes to accept multiple values.
9744 * lisp/net/soap-client.el (soap-encode-body): Check parameters argument
9745 for extra header values.
9747 * lisp/net/soap-client.el (soap-well-known-xmlns):
9748 Add wsa and wsaw tags.
9749 (soap-operation): Add input-action and output-action slots.
9750 (soap-parse-operation): Parse wsaw:Action nodes.
9751 (soap-encode-body): Encode service-url for WS-Addressing.
9752 (soap-create-envelope): Likewise.
9753 (soap-invoke): Update soap-create-envelope call to provide
9754 service-url argument.
9756 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
9757 Support xsi:type override attribute.
9758 (soap-decode-array): Likewise.
9760 * lisp/net/soap-client.el (soap-parse-schema):
9761 Handle location attribute.
9763 * lisp/net/soap-client.el (soap-decode-type): Check that multiRef
9764 matched validation regexp.
9766 * lisp/net/soap-client.el (soap-encode-xs-simple-type):
9767 Encode xsd:list nodes.
9768 (soap-decode-xs-simple-type): Decode xsd:list nodes.
9770 * lisp/net/soap-client.el (soap-get-candidate-elements):
9771 Fix reference handling.
9773 * lisp/net/soap-client.el (soap-xs-simple-type): Add is-list slot.
9774 (soap-xs-parse-simple-type): Call soap-xs-add-list for xsd:list nodes.
9775 (soap-xs-add-list): New function.
9777 * lisp/net/soap-client.el (soap-encode-xs-element): When a boolean is
9778 expected, interpret nil as "false".
9780 * lisp/net/soap-client.el (soap-make-xs-basic-types): Add gYearMonth,
9781 gYear, gMonthDay, gDay and gMonth.
9783 * lisp/net/soap-client.el (soap-time-format): New variable.
9784 (soap-encode-xs-basic-type): Handle dateTime, time, date,
9785 gYearMonth, gYear, gMonthDay, gDay and gMonth.
9786 (soap-decode-date-time): New function.
9787 (soap-decode-xs-basic-type): Use soap-decode-date-time.
9789 * lisp/net/soap-client.el (soap-encode-xs-basic-type): Validate value
9791 (soap-decode-xs-basic-type): Validate value before decoding.
9793 * lisp/net/soap-client.el (soap-validate-xs-basic-type): New function.
9794 (soap-validate-xs-simple-type): Call soap-validate-xs-basic-type.
9796 * lisp/net/soap-client.el (soap-xs-add-union): Append result to base
9797 instead of overwriting it.
9798 (soap-validate-xs-simple-type): Add union support.
9800 * lisp/net/soap-client.el (soap-xs-add-restriction): Translate pattern
9801 to Emacs regexp using xsdre-translate.
9802 (soap-validate-xs-simple-type): Validate value against pattern.
9804 * lisp/net/soap-client.el (soap-xs-add-union): Preserve WSDL order of
9805 inline simpleType nodes.
9806 (soap-decode-type): Handle union types.
9808 * lisp/net/soap-client.el (soap-decode-xs-attributes): Decode basic-type
9811 * lisp/net/soap-client.el (soap-get-xs-attributes-from-groups): Rename
9812 from soap-xs-attribute-group-consolidate, all callers updated
9813 (soap-get-xs-attributes): Rename from
9814 soap-xs-attributes-consolidate, all callers updated
9816 * lisp/net/soap-client.el (soap-xs-type): Add attribute-group slot.
9817 (soap-xs-attribute-group): New type.
9818 (soap-xs-parse-attribute-group): New function.
9819 (soap-resolve-references-for-xs-attribute-group): Likewise.
9820 (soap-xs-add-extension): Handle attribute groups.
9821 (soap-resolve-references-for-xs-simple-type): Likewise.
9822 (soap-xs-parse-complex-type): Likewise.
9823 (soap-xs-parse-extension-or-restriction): Likewise.
9824 (soap-resolve-references-for-xs-complex-type): Likewise.
9825 (soap-xs-attribute-group-consolidate): New function.
9826 (soap-xs-attributes-consolidate): Handle attribute groups.
9827 (soap-parse-schema): Likewise.
9829 * lisp/net/soap-client.el (soap-encode-xs-basic-type):
9830 Fix boolean encoding.
9832 * lisp/net/soap-client.el (soap-encode-xs-complex-type): Print ref
9833 element names in warnings.
9835 * lisp/net/soap-client.el (soap-decode-xs-complex-type): Fix splicing.
9837 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
9838 Eliminate invalid warnings for choice types.
9840 * lisp/net/soap-client.el (soap-encode-xs-complex-type-attributes):
9841 Also encode base type attributes.
9843 * lisp/net/soap-client.el (soap-encode-xs-complex-type): Fix compilation
9844 warning. Print e-name in warnings, or element if e-name is nil.
9846 * lisp/net/soap-client.el (soap-xs-element): Add alternatives slot.
9847 (soap-xs-parse-element): Set substitution-group.
9848 (soap-resolve-references-for-xs-element): Populate alternatives slot.
9849 (soap-get-candidate-elements): New function.
9850 (soap-encode-xs-complex-type): Iterate through all candidate elements.
9851 Handle types with nil type indicator. Fix warning logic.
9853 * lisp/net/soap-client.el (soap-current-wsdl): Move declaration
9854 earlier in the file to prevent compiler warning.
9856 * lisp/net/soap-client.el (soap-node-optional): New function.
9857 (soap-node-multiple): Likewise.
9858 (soap-xs-parse-element): Call soap-node-optional and
9860 (soap-xs-complex-type): Add optional? and multiple? slots.
9861 (soap-xml-get-children-fq): New function.
9862 (soap-xs-element-get-fq-name): Likewise.
9863 (soap-xs-complex-type-optional-p): Likewise.
9864 (soap-xs-complex-type-multiple-p): Likewise.
9865 (soap-xs-attributes-consolidate): Likewise.
9866 (soap-decode-xs-attributes): Likewise.
9867 (soap-decode-xs-complex-type): Decode types with nil type indicator.
9868 Support children that use local namespaces. Decode attributes.
9869 Add type considerations to optional? and multiple? warnings.
9871 * lisp/net/soap-client.el (soap-xs-parse-extension-or-restriction):
9872 Store parsed attributes.
9873 (soap-encode-xs-complex-type-attributes): Encode custom attributes.
9875 * lisp/net/soap-client.el (soap-encode-xs-complex-type-attributes):
9876 Don't add the xsi:type attribute (Exchange refuses requests which have
9879 * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Convert to lexical binding,
9880 correct compiler warnings about unused function arguments and
9883 * lisp/net/soap-client.el (soap-decode-xs-complex-type): Handle nil
9885 (soap-parse-envelope): Handle response headers.
9886 (soap-parse-response): Likewise. Only return non-nil decoded values.
9888 * lisp/net/soap-client.el (soap-validate-xs-simple-type):
9889 Return validated value.
9891 * lisp/net/soap-client.el (soap-xs-parse-element)
9892 (soap-xs-parse-simple-type)
9893 (soap-xs-parse-complex-type)
9894 (soap-parse-message)
9895 (soap-parse-operation): Add the current namespace to the element
9897 (soap-resolve-references-for-xs-element)
9898 (soap-resolve-references-for-xs-simple-type)
9899 (soap-resolve-references-for-xs-complex-type)
9900 (soap-resolve-references-for-operation): Resolve the namespace to
9902 (soap-make-wsdl): specify a namespace tag when creating the xsd
9903 and soapenc namespaces
9904 (soap-wsdl-resolve-references): don't update namespace tags in
9906 (soap-parse-port-type): bind the urn: to soap-target-xmlns
9907 (soap-encode-body): don't add nil namespace tags to
9908 soap-encoded-namespaces
9910 * lisp/net/soap-inspect.el: Use `soap-make-wsdl` to construct the object
9911 for registering the soap-inspect method. Make debbugs tests pass.
9912 * lisp/net/soap-client.el (soap-decode-any-type): Use soap-l2fq on the
9913 type name, also skip string only nodes when decoding a structure.
9914 (soap-xs-parse-complex-type): (BUG) Dispatch parsing for choice
9916 (soap-encode-body): Grab the header value from the param table.
9918 * lisp/net/soap-client.el (soap-should-encode-value-for-xs-element):
9920 (soap-encode-xs-element): Don't encode nil value unless needed.
9922 * lisp/net/soap-client.el (soap-bound-operation): New slot `soap-body`.
9923 (soap-parse-binding): Parse the message parts required in the body.
9924 (soap-encode-body): Encode only the parts that are declared to be
9927 * lisp/net/soap-client.el (soap-encode-xs-element): use the fq name
9928 when writing out the tag.
9929 (soap-encode-body): Remove hack that inserts the xmlns in the
9930 element attributes list.
9932 * lisp/net/soap-client.el (soap-xs-attribute): Add "default" slot.
9933 (soap-xs-parse-attribute): Default slot is set from the XML
9935 (soap-encode-xs-complex-type-attributes): Encode any attributes
9936 that have a default value. Also, don't put the xsi:nil attribute
9937 when the complex type has no content anyway.
9939 * lisp/net/soap-client.el (soap-well-known-xmlns):
9940 Add the xml namespace.
9941 (soap-local-xmlns): Start with the xml namespace.
9942 (soap-xml-node-first-child): Skip xsd:annotation nodes too.
9943 (soap-make-xs-basic-types): More xsd types added.
9944 (soap-encode-xs-basic-type, soap-decode-xs-basic-type):
9945 Handle "language", "time", "date", "nonNegativeInteger".
9946 (soap-resolve-references-for-xs-element): Don't signal an error if
9947 the element does not have a type.
9948 (soap-xs-parse-simple-type): Subtypes are handled with ecase,
9949 added stum for xsd:list.
9950 (soap-xs-add-union): Call soap-l2fq on all union members.
9951 (soap-xs-add-extension): Call soap-l2fq on the base member.
9952 (soap-resolve-references-for-xs-simple-type): Don't signal an
9953 error if the simple type has no base.
9954 (soap-resolve-references-for-xs-simple-type): Bugfix, call
9955 soap-wsdl-get on each type of the base.
9957 * lisp/net/soap-client.el (soap-resolve-references-for-xs-attribute):
9958 Referenced type can be eiher a simple type or a basic type.
9959 (soap-xs-add-restriction)
9960 (soap-xs-parse-extension-or-restriction): Use `soap-l2fq' on base.
9961 (soap-make-xs-basic-types)
9962 (soap-encode-xs-basic-type, soap-decode-xs-basic-type):
9963 Add support for more XMLSchema basic types.
9964 (soap-current-file, soap-xmlschema-imports): New defvars.
9965 (soap-parse-schema): Add locations from xsd:import tags to
9966 `soap-xmlschema-imports'.
9967 (soap-wsdl): Make destructor private.
9968 (soap-make-wsdl): New defun, SOAP-WSDL object constructor.
9969 (soap-wsdl-add-alias): Check if we try to replace aliases.
9970 (soap-fetch-xml-from-url, soap-fetch-xml-from-file)
9971 (soap-fetch-xml): New defuns.
9972 (soap-load-wsdl): Update to load the WSDL from either a file or
9974 (soap-load-wsdl-from-url): Now an alias to `soap-load-wsdl'.
9975 (soap-parse-wsdl): Process wsdl:import tags and imports from
9976 `soap-xmlschema-imports'.
9977 * lisp/net/soap-client.el (soap-l2wk): Bugfix: call symbolp instead of
9979 (soap-l2fq): Make the name part always a string.
9980 (soap-name-p): New defun, used for name tests.
9982 * lisp/net/soap-inspect.el (soap-sample-value-for-xs-complex-type):
9983 Supply sample values for choice types with a special tag.
9984 * lisp/net/soap-client.el (soap-encode-xs-complex-type):
9985 Handle anonymous elements correctly.
9986 (soap-encode-value): Accept nodes that have no namespace tag.
9988 * lisp/net/soap-client.el (soap-invoke): Encode the string for
9989 `url-request-data' as UTF-8. Fixes issue 16.
9991 2015-10-24 Nicolas Petton <nicolas@petton.fr>
9995 Move the E slightly to the right in the circle.
9997 * etc/images/icons/hicolor/128x128/apps/emacs.png:
9998 * etc/images/icons/hicolor/16x16/apps/emacs.png:
9999 * etc/images/icons/hicolor/24x24/apps/emacs.png:
10000 * etc/images/icons/hicolor/32x32/apps/emacs.png:
10001 * etc/images/icons/hicolor/48x48/apps/emacs.png:
10002 * etc/images/icons/hicolor/scalable/apps/emacs.svg:
10003 * nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns:
10004 * nt/icons/emacs.ico: New icom update.
10006 2015-10-24 Eli Zaretskii <eliz@gnu.org>
10008 Avoid missing inline functions from lisp.h in TAGS
10010 * src/lisp.h (LISP_MACRO_DEFUN): Mention in the commentary the
10011 need to end each invocation with a semi-colon.
10012 Add a semi-colon at the end of each invocation of LISP_MACRO_DEFUN
10013 and LISP_MACRO_DEFUN_VOID. This is to avoid missing in TAGS
10014 inline functions defined immediately after each invocation, and
10015 also avoid tagging every invocation of these macros.
10017 2015-10-24 Eli Zaretskii <eliz@gnu.org>
10019 A better fix for bug#21739
10021 * src/buffer.c (set_update_modelines_for_buf): New function.
10022 (Fkill_buffer): Use it to set the global variable
10023 update_mode_lines if the killed buffer was displayed in some
10024 window. Don't set windows_or_buffers_changed. This is a better
10025 fix for bug#21739 than the previous fix, since it will cause only
10026 redisplay of mode lines, not of entire windows, but will still
10027 catch attention of x_consider_frame_title in xdisp.c, which
10028 redraws the frame title.
10030 2015-10-24 Tassilo Horn <tsdh@gnu.org>
10032 * lisp/dired-aux.el (dired-compress-files-alist): Add support for
10033 tar.bz2 and tar.xz archives.
10035 2015-10-23 Eli Zaretskii <eliz@gnu.org>
10037 Fix infloop in redisplay introduced by a recent change
10039 * src/xdisp.c (redisplay_internal): Avoid inflooping when
10040 redisplaying the selected window sets the selected frame's
10041 redisplay flag. (Bug#21745)
10043 2015-10-23 Nicolas Petton <nicolas@petton.fr>
10045 * lisp/emacs-lisp/thunk.el: Better documentation.
10047 2015-10-23 Nicolas Petton <nicolas@petton.fr>
10049 Replace the old icon for Windows and Mac OSX
10051 * nt/icons/emacs.ico:
10052 * nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns:
10055 2015-10-23 Stephen Leake <stephen_leake@stephe-leake.org>
10057 * lisp/emacs-lisp/package.el (package-autoload-ensure-default-file):
10058 `load-path' should contain only directory names.
10060 2015-10-23 Nicolas Petton <nicolas@petton.fr>
10062 New library thunk.el
10064 thunk.el is extracted from stream.el in ELPA, with additional tests.
10066 * lisp/emacs-lisp/thunk.el: New file.
10067 * test/automated/thunk-tests.el: New file.
10068 * etc/NEWS: Add information about thunk.el
10070 2015-10-23 Michael Albinus <michael.albinus@gmx.de>
10074 * lisp/filenotify.el (file-notify-rm-watch): Improve check for
10075 calling low-level functions.
10077 * test/automated/file-notify-tests.el (file-notify--test-timeout):
10078 Decrase to 6 seconds for remote directories.
10079 (file-notify-test02-events): Expect different number of
10080 `attribute-changed' events for the local and remote cases. Apply
10081 short delays between the operations, in order to receive all
10082 events in the remote case. Combine `attribute-change' tests.
10085 2015-10-23 Eli Zaretskii <eliz@gnu.org>
10087 Decode the HTML source when displaying it in EWW
10089 * lisp/net/eww.el (eww-view-source): Decode the HTML source
10090 according to its headers.
10092 2015-10-23 Nicolas Petton <nicolas@petton.fr>
10096 * etc/images/icons/hicolor/128x128/apps/emacs23.png:
10097 * etc/images/icons/hicolor/16x16/apps/emacs23.png:
10098 * etc/images/icons/hicolor/24x24/apps/emacs23.png:
10099 * etc/images/icons/hicolor/32x32/apps/emacs23.png:
10100 * etc/images/icons/hicolor/48x48/apps/emacs23.png:
10101 * etc/images/icons/hicolor/scalable/apps/emacs23.svg:
10102 * etc/images/icons/hicolor/scalable/mimetypes/emacs-document23.svg:
10103 Move the old logo files to emacs23.*.
10104 * etc/images/icons/hicolor/128x128/apps/emacs.png:
10105 * etc/images/icons/hicolor/16x16/apps/emacs.png:
10106 * etc/images/icons/hicolor/24x24/apps/emacs.png:
10107 * etc/images/icons/hicolor/32x32/apps/emacs.png:
10108 * etc/images/icons/hicolor/48x48/apps/emacs.png:
10109 * etc/images/icons/hicolor/scalable/apps/emacs.svg:
10110 * etc/images/icons/hicolor/scalable/mimetypes/emacs-document.svg:
10112 * etc/images/icons/README: Update the copyright information.
10114 2015-10-23 Eli Zaretskii <eliz@gnu.org>
10116 Fix redisplay of frame title when current buffer is killed
10118 * src/buffer.c (Fkill_buffer): Set windows_or_buffers_changed to a
10119 non-zero value, to redisplay more than just the affected windows.
10122 2015-10-23 Anders Lindgren <andlind@gmail.com>
10124 NextStep maximization and NSTRACE rewrite
10126 Full-height, full-width, and maximized windows now cover the
10127 entire screen (except the menu bar), including the part where the
10128 system dock is placed. The system zoom animation is no longer
10131 Made NonMaximized->FullWidth->FullHeight->NonMaximized restore the
10134 * src/nsterm.m (ns_menu_bar_height): New function, return height of
10135 the menu bar, or 0 when it's hidden.
10136 (constrain_frame_rect): New function for constraining a frame.
10137 (ns_constrain_all_frames): Set frame size explicitly rather than
10138 relying on the system doing it for us by writing back the current
10140 (windowWillUseStandardFrame): Register non-maximized width or
10141 height as new user size. When entering full width or height,
10142 the other size component is taken from the user size.
10143 (fullscreenState): New method for accessing the fullscreen state.
10144 (constrainFrameRect): Restrict frame to be placed under the menu bar,
10145 if present. The old version, sometimes, restricted the height of a
10146 frame to the screen, this version never does this.
10147 (zoom): Perform zoom by setting the frame to the full size of the
10148 screen (minus the menu bar). The default system function, with the
10149 zoom animation, is no longer used, as the final frame size doesn't
10150 cover the entire screen.
10152 Rework how to constrain resizing to the character grid. The old
10153 system used "resizeIncrements" in NSWindows. However, once a frame
10154 was resized so that it was not aligned to the text grid, it
10155 remained unaligned even after a resize. In addition, it conflicted
10156 when resizing a fullheight window.
10158 * src/nsterm.m (windowWillResize): Restrict frame size to text grid,
10159 unless when pixelwise frame resizing is enabled.
10160 (updateFrameSize, initFrameFromEmacs)
10161 (toggleFullScreen, handleFS): Don't set resizeIncrements.
10163 Redesign the NS trace system. The call structure is represented
10164 using indentations and vertical lines. The NSTRACE macro accepts
10165 printf-style arguments. New macros for printing various
10168 * src/nsterm.h (NSTRACE_ENABLED): Macro to enable trace system.
10169 (NSTRACE, NSTRACE_WHEN, NSTRACE_UNLESS): Macros to start a new
10170 block (typically a function), accept printf-style arguments.
10171 (NSTRACE_MSG): Macro for extra information, accepts
10172 printf-style arguments.
10173 (NSTRACE_what): Macros for printing various types.
10174 (NSTRACE_FMT_what): Macro with printf format string snippets.
10175 (NSTRACE_ARG_what): Macros for passing printf-style arguments,
10176 corresponds to NSTRACE_FMT_what.
10177 (NSTRACE_RETURN): Macro to print return value, accept
10178 printf-style arguments.
10179 (NSTRACE_RETURN_what): Macros to print return value for
10182 * src/nsterm.m: Remove old NSTRACE macro
10183 * src/nsterm.m (nstrace_num): Trace counter.
10184 (nstrace_depth): Current call depth.
10185 (nstrace_leave): NSTRACE support function, called when the
10186 local variable "nstrace_enabled" goes out of scope using the
10187 "cleanup" extension.
10188 (ns_print_fullscreen_type_name): NSTRACE_FSTYPE support function.
10189 (constrain_frame_rect, ns_constrain_all_frames)
10190 (ns_update_auto_hide_menu_bar, ns_update_begin)
10191 (ns_update_window_begin, update_window_end, ns_update_end)
10192 (ns_focus, ns_unfocus, ns_ring_bell, ns_frame_raise_lower)
10193 (ns_frame_rehighlight, x_make_frame_visible)
10194 (x_make_frame_invisible, x_iconify_frame, x_free_frame_resources)
10195 (x_destroy_window, x_set_offset, x_set_window_size)
10196 (ns_fullscreen_hook, ns_lisp_to_color, ns_color_to_lisp)
10197 (ns_defined_color, frame_set_mouse_pixel_position)
10198 (note_mouse_movement, ns_mouse_position, ns_frame_up_to_date)
10199 (ns_define_frame_cursor, x_get_keysym_name, ns_redraw_scroll_bars)
10200 (ns_clear_frame, ns_clear_frame_area, ns_scroll_run)
10201 (ns_after_update_window_line, ns_shift_glyphs_for_insert)
10202 (dumpcursor, ns_draw_vertical_window_border)
10203 (ns_draw_window_divider, ns_draw_relief)
10204 (ns_dumpglyphs_box_or_relief, ns_maybe_dumpglyphs_background)
10205 (ns_dumpglyphs_image, ns_draw_glyph_string, ns_send_appdefined)
10206 (ns_read_socket, ns_select, ns_set_vertical_scroll_bar)
10207 (ns_set_horizontal_scroll_bar, ns_condemn_scroll_bars)
10208 (ns_redeem_scroll_bar, ns_judge_scroll_bars, ns_delete_terminal)
10209 (ns_create_terminal, ns_term_init, sendEvent)
10210 (applicationDidFinishLaunching, applicationDidBecomeActive)
10211 (timeout_handler, fd_handler, EmacsView_dealloc, changeFont)
10212 (acceptsFirstResponder, resetCursorRects, keyDown, mouseDown)
10213 (deltaIsZero, rightMouseDown, otherMouseDown, mouseUp)
10214 (rightMouseUp, otherMouseUp, scrollWheel, mouseMoved)
10215 (mouse_autoselect_window, in_window, mouseDragged)
10216 (rightMouseDragged, otherMouseDragged, windowShouldClose)
10217 (updateFrameSize, windowWillResize, windowDidResize)
10218 (windowDidBecomeKey, windowDidResignKey, windowWillMiniaturize)
10219 (initFrameFromEmacs, windowDidMove, windowDidDeminiaturize)
10220 (windowDidExpose, windowDidMiniaturize, windowWillEnterFullScreen)
10221 (windowDidEnterFullScreen, windowWillExitFullScreen)
10222 (windowDidExitFullScreen, toggleFullScreen, handleFS, setFSValue)
10223 (mouseEntered, mouseExited, menuDown, toolbarClicked, drawRect)
10224 (draggingEntered, performDragOperation, validRequestorForSendType)
10225 (setMiniwindowImage, constrainFrameRect, performZoom, zoom)
10226 (EmacsScroller_initFrame, EmacsScroller_setFrame)
10227 (EmacsScroller_dealloc, condemn, reprieve, judge)
10228 (resetCursorRects, setPosition, EmacsScroller_mouseDown)
10229 (EmacsScroller_mouseDragged, syms_of_nsterm): Use new trace system.
10231 * src/nsfns.m: Remove old NSTRACE macro
10232 * src/nsfns.m (x_set_icon_name, ns_set_name, x_explicitly_set_name)
10233 (x_implicitly_set_name, x_set_title, ns_set_name_as_filename)
10234 (ns_implicitly_set_icon_type, x_set_icon_type): Use new trace system.
10236 * src/nsimage.m: Remove old NSTRACE macro
10237 * src/nsimage.m (ns_image_from_XBM, ns_image_for_XPM)
10238 (ns_image_from_bitmap_file, ns_load_image): Use new trace system.
10240 * src/nsmenu.m: Remove old NSTRACE macro
10241 * src/nsmenu.m (ns_update_menubar, ns_menu_show, ns_popup_dialog):
10242 Use new trace system.
10244 2015-10-22 Katsumi Yamaoka <yamaoka@jpl.org>
10246 No need to use eval-and-compile
10248 * lisp/gnus/auth-source.el: Do require epg (when compiling) before
10249 autoload epg functions.
10251 2015-10-22 Katsumi Yamaoka <yamaoka@jpl.org>
10253 Fix auth-source-epa-make-gpg-token compilation (bug#21724)
10255 * lisp/gnus/auth-source.el: Add eval-and-compile to autoloads for
10256 epg-context-set-passphrase-callback, epg-decrypt-string, and
10257 epg-encrypt-string; require epg when compiling for the setf-method
10258 for epg-context-armor. (bug#21724)
10260 2015-10-22 Eli Zaretskii <eliz@gnu.org>
10262 Include file cleanup for w32 files in src directory
10264 * src/w32xfns.c: Don't include keyboard.h, window.h, charset.h,
10265 fontset.h, blockinput.h.
10266 * src/w32uniscribe.c: Don't include dispextern.h, character.h,
10267 charset.h, fontset.h.
10268 * src/w32term.c: Don't include systty.h, systime.h, charset.h,
10269 character.h, ccl.h, dispextern.h, disptab.h, intervals.h,
10270 process.h, atimer.h, keymap.h, w32heap.h. Include bitmap/gray.xbm
10271 in an ifdef-ed away block.
10272 Include fcntl.h for CYGWIN.
10273 (set_frame_param): Remove unused function.
10274 * src/w32select.c: Don't include charset.h and composite.h.
10275 (setup_config, Fw32_get_clipboard_data): Avoid compiler warnings
10276 due to pointer signedness mismatches.
10277 * src/w32reg.c (w32_get_string_resource): Avoid compiler warnings
10278 due to pointer signedness mismatches.
10279 * src/w32proc.c: Include unistd.h. Don't include systime.h,
10280 process.h, dispextern.h.
10281 (sys_spawnve, Fw32_short_file_name, Fw32_long_file_name)
10282 (Fw32_application_type): Avoid compiler warnings due to pointer
10283 signedness mismatches.
10284 * src/w32menu.c: Don't include keymap.h, termhooks.h, window.h,
10285 character.h, charset.h, dispextern.h.
10286 (simple_dialog_show, add_menu_item): Avoid compiler warnings due
10287 to pointer signedness mismatches.
10288 * src/w32inevt.c: Don't include dispextern.h, window.h,
10289 termhooks.h, w32heap.h.
10290 * src/w32font.c: Don't include dispextern.h, character.h,
10291 charset.h, fontset.h, font.h.
10292 (intern_font_name, add_font_entity_to_list)
10293 (registry_to_w32_charset, w32_to_x_charset, fill_in_logfont)
10294 (list_all_matching_fonts): Avoid compiler warnings due to pointer
10295 signedness mismatches.
10296 * src/w32fns.c: Don't include character.h, intervals.h,
10297 dispextern.h, epaths.h, charset.h, ccl.h, fontset.h, systime.h,
10298 termhooks.h, w32heap.h, bitmap/gray.xbm, font.h, w32font.h.
10299 (w32_color_map_lookup, add_system_logical_colors_to_map)
10300 (x_decode_color, x_set_name, FPRINTF_WM_CHARS, Fxw_color_defined_p)
10301 (Fxw_color_values, x_display_info_for_name, Fset_message_beep)
10302 (x_create_tip_frame, Fx_file_dialog, Fsystem_move_file_to_trash)
10303 (w32_parse_hot_key, Ffile_system_info, w32_kbd_patch_key): Avoid
10304 compiler warnings, mainly due to pointer signedness mismatches.
10305 (unwind_create_frame_1): Remove unused function.
10306 * src/w32console.c: Don't include character.h, disptab.h, frame.h,
10307 window.h, termhooks.h, dispextern.h.
10308 (w32con_write_glyphs, w32con_write_glyphs_with_face): Fix pointer
10309 signedness mismatch.
10310 * src/w32.c: Include c-strcase.h and systty.h. Don't include
10313 2015-10-22 Tassilo Horn <tsdh@gnu.org>
10315 Improve doc-view wrt. auto-revert-mode
10317 * lisp/doc-view.el (doc-view-revert-buffer): Don't revert when file
10318 is corrupted (bug#21729).
10319 (doc-view-mode): Set doc-view-revert-buffer as revert-buffer-function.
10321 2015-10-22 Oleh Krehel <ohwoeowho@gmail.com>
10323 Describe dired-do-compress-to in the manual
10325 * etc/NEWS: Update.
10327 * lisp/dired-aux.el: Fix typo.
10329 * doc/emacs/dired.texi: Add entry.
10331 2015-10-22 Jürgen Hötzel <juergen@archlinux.org>
10333 Further fix for proper locale handling in tramp-gvfs.el
10335 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
10336 Just suppress LC_MESSAGES locale category settings.
10338 2015-10-21 Paul Eggert <eggert@cs.ucla.edu>
10340 New lispref section “Security Considerations”
10342 This attempts to document some of the issues recently discussed
10343 on emacs-devel, and to indicate other such issues. The section
10344 could be a lot longer.
10345 * doc/lispref/os.texi (Security Considerations):
10347 * doc/lispref/elisp.texi (Top):
10348 * doc/lispref/processes.texi (Shell Arguments):
10349 * lisp/subr.el (shell-quote-argument):
10350 * src/callproc.c (syms_of_callproc):
10353 2015-10-21 Paul Eggert <eggert@cs.ucla.edu>
10358 2015-10-18 stdalign: work around pre-4.9 GCC x86 bug
10359 2015-10-18 time_rz: avoid warning from bleeding-edge gcc's -Wnonnull
10360 * doc/misc/texinfo.tex, lib/stdalign.in.h, lib/time_rz.c:
10363 2015-10-21 Katsumi Yamaoka <yamaoka@jpl.org>
10365 * lisp/gnus/mailcap.el (mailcap-mime-data): Remove fboundp checks.
10366 (mailcap-viewer-passes-test): Do it instead. Thanks to Stefan Monnier.
10368 2015-10-21 Ken Brown <kbrown@cornell.edu>
10370 Further include-file cleanup
10372 * src/sheap.c: Include stdlib.h.
10373 * src/unexcw.c: Include string.h.
10375 2015-10-21 Eli Zaretskii <eliz@gnu.org>
10377 Fix logic in 'server-kill-emacs-query-function'
10379 * lisp/server.el (server-kill-emacs-query-function): Correct the
10380 logic that controls whether the user is asked for confirmation.
10383 2015-10-21 Artur Malabarba <bruce.connor.am@gmail.com>
10385 * lisp/isearch.el (isearch-search-fun-default): Simplify logic.
10386 (isearch--lax-regexp-function-p): New function.
10388 2015-10-21 Artur Malabarba <bruce.connor.am@gmail.com>
10390 * lisp/isearch.el: Support lax-whitespace in regexp-function searches.
10391 (isearch-search-fun-default): Let-bind `search-spaces-regexp'
10392 around `isearch-regexp-function'.
10394 2015-10-21 Artur Malabarba <bruce.connor.am@gmail.com>
10396 * lisp/isearch.el: Rename word search to regexp-function search.
10397 `isearch-word' went well beyond its original purpose, and the name
10398 no longer makes sense. It is now called
10399 `isearch-regexp-function', and its value should always be a function
10400 that converts a string to a regexp (though setting it to t is still
10401 supported for now).
10402 (isearch-word): Make obsolete.
10403 (isearch-regexp-function): New variable.
10404 (isearch-mode, isearch-done, isearch--state, isearch--set-state)
10405 (with-isearch-suspended, isearch-toggle-regexp)
10406 (isearch-toggle-word, isearch-toggle-symbol)
10407 (isearch-toggle-character-fold, isearch-query-replace)
10408 (isearch-occur, isearch-highlight-regexp)
10409 (isearch-search-and-update, isearch-message-prefix)
10410 (isearch-search-fun-default, isearch-search)
10411 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
10413 (isearch-lazy-highlight-regexp-function): New var.
10414 (isearch-lazy-highlight-word): Make obsolete.
10415 (isearch--describe-regexp-mode): New function.
10416 (isearch--describe-word-mode): Make obsolete.
10418 * lisp/info.el (Info-isearch-search):
10419 * lisp/replace.el (replace-search, replace-highlight):
10420 * lisp/obsolete/longlines.el (longlines-search-function):
10421 * lisp/hexl.el (hexl-isearch-search-function):
10422 * lisp/cedet/semantic/senator.el (senator-isearch-search-fun):
10425 2015-10-21 Oleh Krehel <ohwoeowho@gmail.com>
10427 Add dired-do-compress-to command bound to "c"
10429 * lisp/dired-aux.el (dired-shell-command): Use the caller's
10430 `default-directory', return the result of `process-file'.
10431 (dired-compress-file-suffixes): Add comment on why "tar -zxf" isn't
10433 (dired-compress-files-alist): New defvar.
10434 (dired-do-compress-to): New command.
10436 * lisp/dired.el (dired-mode-map): Bind `dired-do-compress-to' to "c".
10437 (dired-do-compress-to): Add an autoload entry.
10439 * etc/NEWS: Add two entries.
10441 2015-10-21 Tassilo Horn <tsdh@gnu.org>
10443 Make RefTeX work with LaTeX subfiles package
10445 * lisp/textmodes/reftex.el (reftex-TeX-master-file): Recognize subfiles
10446 document class argument as master file for referencing purposes.
10448 2015-10-21 Katsumi Yamaoka <yamaoka@jpl.org>
10450 * lisp/gnus/mailcap.el (mailcap-mailcap-entry-passes-test): Doc fix.
10452 2015-10-20 Paul Eggert <eggert@cs.ucla.edu>
10454 Include-file cleanup for src directory
10456 Omit ‘#include "foo.h"’ unless the file needs foo.h (Bug#21707).
10457 In a few cases, add ‘#include "foo.h"’ if the file needs foo.h
10458 but does not include it directly. As a general rule, a source
10459 file should include foo.h if it needs the interfaces that foo.h
10461 * src/alloc.c: Don’t include process.h. Include dispextern.h,
10463 * src/atimer.c: Don’t include blockinput.h.
10464 * src/buffer.c: Include coding.h, systime.h. Don’t include
10465 keyboard.h, coding.h.
10466 * src/callint.c: Don’t include commands.h, keymap.h.
10467 * src/callproc.c: Don’t include character.h, ccl.h, composite.h,
10468 systty.h, termhooks.h.
10469 * src/casetab.c: Don’t include character.h.
10470 * src/category.c: Don’t include charset.h, keymap.h.
10471 * src/ccl.h: Don’t include character.h.
10472 * src/character.c: Don’t include charset.h.
10473 * src/charset.c: Don’t include disptab.h.
10474 * src/chartab.c: Don’t include ccl.h.
10475 * src/cm.c: Don’t include frame.h, termhooks.h.
10476 * src/cmds.c: Don’t include window.h, dispextern.h.
10477 * src/coding.c: Don’t include window.h, frame.h.
10478 * src/composite.c: Include composite.h. Don’t include window.h,
10480 * src/data.c: Don’t include syssignal.h, termhooks.h, font.h.
10481 * src/dbusbind.c: Don’t include frame.h.
10482 * src/decompress.c: Don’t include character.h.
10483 * src/dired.c: Don’t include character.h, commands.h, charset.h.
10484 * src/dispnew.c: Don’t include character.h, indent.h, intervals.h,
10485 process.h, timespec.h. Include systime.h.
10486 * src/doc.c: Include coding.h. Don’t include keyboard.h.
10487 * src/editfns.c: Include composite.h. Don’t include frame.h.
10488 * src/emacs.c: Include fcntl.h, coding.h. Don’t include
10489 commands.h, systty.h..
10490 * src/fileio.c: Don’t include intervals.h, dispextern.h.
10491 Include composite.h.
10492 * src/filelock.c: Don’t include character.h, systime.h.
10493 * src/fns.c: Don’t include time.h, commands.h, keyboard.h,
10494 keymap.h, frame.h, blockinput.h, xterm.h. Include composite.h.
10495 * src/font.c: Include termhooks.h.
10496 * src/font.h: Don’t include ccl.h, frame.h. Add forward decls of
10497 struct composition_it, struct face, struct glyph_string.
10498 * src/fontset.c: Don’t include buffer.h, ccl.h, keyboard.h,
10499 intervals.h, window.h, termhooks.h.
10500 * src/frame.c: Don’t include character.h, commands.h, font.h.
10501 * src/frame.h: Don’t include dispextern.h.
10502 * src/fringe.c: Don’t include character.h.
10503 * src/ftcrfont.c: Don’t include dispextern.h, frame.h,
10504 character.h, charset.h, fontset.h.
10505 * src/ftfont.c: Don’t include frame.h, blockinput.h, coding.h,
10507 * src/ftxfont.c: Don’t include dispextern.h, character.h,
10508 charset.h, fontset.h.
10509 * src/gfilenotify.c: Don’t include frame.h, process.h.
10510 * src/gtkutil.c: Include dispextern.h, frame.h, systime.h.
10511 Don’t include syssignal.h, buffer.h, charset.h, font.h.
10512 * src/gtkutil.h: Don’t include frame.h.
10513 * src/image.c: Include fcntl.h and stdio.h instead of sysstdio.h.
10514 Don’t include character.h.
10515 * src/indent.c: Don’t include keyboard.h, termchar.h.
10516 * src/inotify.c: Don’t include character.h, frame.h.
10517 * src/insdel.c: Include composite.h. Don’t include blockinput.h.
10518 * src/intervals.c: Don’t include character.h, keyboard.h.
10519 * src/intervals.h: Don’t include dispextern.h, composite.h.
10520 * src/keyboard.c: Don’t include sysstdio.h, disptab.h, puresize.h.
10522 * src/keyboard.h: Don’t incldue systime.h.
10523 * src/keymap.c: Don’t include charset.h, frame.h.
10524 * src/lread.c: Include dispextern.h and systime.h.
10525 Don’t include frame.h. Include systime.h.
10526 * src/macros.c: Don’t include commands.h, character.h, buffer.h.
10527 * src/menu.c: Include character.h, coding.h. Don’t include
10529 * src/menu.h: Don’t include systime.h.
10530 * src/minibuf.c: Don’t include commands.h, dispextern.h, syntax.h,
10531 intervals.h, termhooks.h.
10532 * src/print.c: Include coding.h. Don’t include keyboard.h,
10533 window.h, dispextern.h, termchar.h, termhooks.h, font.h.
10534 Add forward decl of struct terminal.
10535 * src/process.c: Don’t include termhooks.h, commands.h,
10536 dispextern.h, composite.h.
10537 * src/region-cache.c: Don’t include character.h.
10538 * src/scroll.c: Don’t include keyboard.h, window.h.
10539 * src/search.c: Don’t include category.h, commands.h.
10540 * src/sound.c: Don’t include dispextern.h.
10541 * src/syntax.c: Don’t include command.h, keymap.h.
10542 * src/sysdep.c: Don’t include window.h, dispextern.h.
10543 * src/systime.h: Use ‘#ifdef emacs’, not ‘#ifdef EMACS_LISP_H’,
10544 * src/term.c: Don’t include systty.h, intervals.h, xterm.h.
10545 * src/terminal.c: Include character.h.
10546 Don’t include charset.h, coding.h.
10547 * src/textprop.c: Don’t include character.h.
10548 * src/undo.c: Don’t include character.h, commands.h, window.h.
10549 * src/unexsol.c: Don’t include character.h, charset.h.
10550 * src/widget.c: Include widget.h. Don’t include keyboard.h,
10551 window.h, dispextern.h, blockinput.h, character.h, font.h.
10552 * src/widgetprv.h: Don’t include widget.h.
10553 * src/window.c: Don’t include character.h, menu.h, intervals.h.
10554 * src/xdisp.c: Include composite.h, systime.h. Don’t include
10555 macros.h, process.h.
10556 * src/xfaces.c: Don’t include charset.h, keyboard.h, termhooks.h,
10558 * src/xfns.c: Don’t include menu.h, character.h, intervals.h,
10559 epaths.h, fontset.h, systime.h, atimer.h, termchar.h.
10560 * src/xfont.c: Don’t include dispextern.h, fontset.h, ccl.h.
10561 * src/xftfont.c: Don’t include dispextern.h, character.h, fontset.h.
10562 * src/xgselect.c: Don’t include timespec.h, frame.h.
10564 * src/xgselect.h: Don’t include time.h.
10565 Use a forward decl to struct timespec instead.
10566 * src/xmenu.c: Don’t include keymap.h, character.h, charset.h,
10567 dispextern.h. Include systime.h.
10568 * src/xml.c: Don’t include character.h.
10569 * src/xrdb.c [USE_MOTIF]: Don’t include keyboard.h.
10570 * src/xselect.c: Don’t include dispextern.h, character.h,
10571 buffer.h, process.h.
10572 * src/xsmfns.c: Don’t include systime.h, sysselect.h.
10573 * src/xterm.c: Don’t include syssignal.h, charset.h, disptab.h,
10574 intervals.h process.h, keymap.h, xgselect.h. Include composite.h.
10576 2015-10-20 Paul Eggert <eggert@cs.ucla.edu>
10578 (/ N) now returns the reciprocal of N
10580 This is more compatible with Common Lisp and XEmacs (Bug#21690). See:
10581 http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg01053.html
10582 * lisp/color.el (color-hue-to-rgb, color-hsl-to-rgb)
10583 (color-xyz-to-srgb, color-xyz-to-lab):
10584 * lisp/emacs-lisp/cl-extra.el (cl-float-limits):
10585 * lisp/net/shr-color.el (shr-color-hue-to-rgb)
10586 (shr-color-hsl-to-rgb-fractions):
10587 Exploit the change to simplify the code a bit.
10588 * lisp/emacs-lisp/bytecomp.el (byte-compile-quo):
10589 Don’t complain about single-argument calls to ‘/’.
10590 * src/data.c (arith_driver, float_arith_driver):
10591 Implement the change.
10593 2015-10-20 Dmitry Gutov <dgutov@yandex.ru>
10595 Call vc-dir-refresh after stash operations
10597 * lisp/vc/vc-git.el (vc-git-stash-apply-at-point)
10598 (vc-git-stash-pop-at-point): Call vc-dir-refresh (bug#13960).
10600 * lisp/vc/vc-dir.el (vc-dir-resynch-file): Expand FNAME as well,
10601 since it can be abbreviated (as returned by vc-find-root).
10603 2015-10-20 Dmitry Gutov <dgutov@yandex.ru>
10605 * lisp/vc/vc-svn.el:
10606 * lisp/vc/vc-mtn.el:
10607 * lisp/vc/vc-hg.el:
10608 * lisp/vc/vc-cvs.el:
10609 * lisp/vc/vc-git.el:
10610 * lisp/vc/vc-bzr.el: Don't declare vc-exec-after anymore.
10611 Its usages have been replaced with vc-run-delayed.
10613 2015-10-20 Dima Kogan <dima@secretsauce.net>
10615 Fix memory leak in fontset handling
10617 * src/font.c (copy_font_spec): Make a deep copy of the input
10618 argument FONT. (Bug#21651)
10620 2015-10-20 Michael Sperber <mike@xemacs.org>
10622 * lisp/gnus/mailcap.el (mailcap-mime-data):
10623 Conditonalize `doc-view-mode', which does not exist on XEmacs.
10625 2015-10-20 Oleh Krehel <ohwoeowho@gmail.com>
10627 Update the way directories are compressed
10629 * lisp/dired-aux.el (dired-compress-file-suffixes): Update the recipe
10630 for *.tar.gz decompression to use a pipe.
10631 Add an entry for the default directory compression (to *.tar.g).
10632 (dired-compress-file): Update.
10634 See https://lists.gnu.org/archive/html/emacs-devel/2015-10/msg00949.html.
10636 2015-10-20 Michael Sperber <mike@xemacs.org>
10638 Unbreak `group' option for `mail-sources'
10640 * lisp/gnus/nnml.el (nnml-retrieve-groups, nnml-request-scan):
10641 * lisp/gnus/nnmail.el (nnmail-get-new-mail-per-group)
10642 (nnmail-get-new-mail-1): Unbreak `group' option for `mail-sources'.
10644 2015-10-19 Nicolas Petton <nicolas@petton.fr>
10646 New function seq-position
10648 * lisp/emacs-lisp/seq.el (seq-position): New function.
10649 * test/automated/seq-tests.el: New tests for seq-position.
10650 * doc/lispref/sequences.texi: Add documentation for `seq-position'.
10652 2015-10-19 Ken Brown <kbrown@cornell.edu>
10654 Enable --with-wide-int build on 32-bit Cygwin
10656 * src/sheap.c (STATIC_HEAP_SIZE): Remove distinction between x86
10657 and x86_64 to enable --with-wide-int build on 32-bit Cygwin.
10659 2015-10-19 Glenn Morris <rgm@gnu.org>
10661 * doc/emacs/ack.texi (Acknowledgments): Small, sad, update.
10663 2015-10-19 Eli Zaretskii <eliz@gnu.org>
10665 Resurrect image loading under auto-image-file-mode
10667 * src/image.c (x_find_image_fd): Handle the case of -2 returned by
10668 'openp' specially. This special case was lost in the changes on
10669 2015-08-18. (Bug#21685)
10671 2015-10-19 Eli Zaretskii <eliz@gnu.org>
10673 Fix return value of 'set-file-extended-attributes'
10675 * lisp/files.el (set-file-extended-attributes): Return non-nil
10676 when setting either ACLs or SELinux context succeeds. Document
10677 the return value. (Bug#21699)
10679 * doc/lispref/files.texi (Changing Files): Document the return
10680 value of set-file-extended-attributes.
10682 2015-10-19 Eli Zaretskii <eliz@gnu.org>
10684 Improve documentation of functions that change files
10686 * doc/lispref/files.texi (Changing Files): Document that these
10687 functions signal an error on failure.
10689 2015-10-18 Eli Zaretskii <eliz@gnu.org>
10691 Fix doc string of 'shell-quote-argument'
10693 * lisp/subr.el (shell-quote-argument): Doc fix. (Bug#21702)
10695 2015-10-18 Michael Albinus <michael.albinus@gmx.de>
10697 Some minor Tramp changes
10699 * doc/misc/tramp.texi (Obtaining Tramp): Add http git cloning.
10701 * lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
10702 Expand `tramp-auto-save-directory'.
10704 2015-10-18 Michael Albinus <michael.albinus@gmx.de>
10706 Minor edits in Tramp
10708 * lisp/net/tramp-adb.el (directory-listing-before-filename-regexp):
10711 * lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
10712 Remove declaration.
10714 2015-10-17 Mark Oteiza <mvoteiza@udel.edu>
10716 * lisp/emacs-lisp/eldoc.el: Add back-to-indentation to the command list.
10718 2015-10-17 Eli Zaretskii <eliz@gnu.org>
10720 Avoid crashes when redisplayng a window changes faces or fonts
10722 * src/xdisp.c (redisplay_internal): If redisplaying the selected
10723 window or one of the frames turns on the frame's 'redisplay' flag,
10724 redisplay again. (Bug#21428)
10726 * src/frame.c (x_set_font): Set the frame's 'fonts_changed' flag.
10728 2015-10-17 Michael Albinus <michael.albinus@gmx.de>
10730 Solve timimg issues in file-notify-tests.el
10732 * test/automated/file-notify-tests.el (file-notify-test02-events):
10733 Rectify `attribute-change' tests. There are timing issues with
10734 gfilenotify. (Bug#21669)
10736 2015-10-16 Paul Eggert <eggert@cs.ucla.edu>
10738 Fix quoting of data within htmlfontify doc
10740 * doc/misc/htmlfontify.texi (Data Structures, Customization):
10741 Fix quoting of data structures. A Lisp quote is needed only
10742 when data appears within Lisp code.
10744 2015-10-16 Artur Malabarba <bruce.connor.am@gmail.com>
10746 * lisp/emacs-lisp/package.el: Reload archive-contents if
10748 (package--old-archive-priorities): New variable.
10749 (package-read-all-archive-contents, package-menu--refresh): Use it
10750 to decide when the `package-archive-contents' needs to be read
10753 2015-10-16 Paul Eggert <eggert@cs.ucla.edu>
10755 Make src headers idempotent and standalone
10757 Redo src/*.h so that each include file is idempotent (that is, can
10758 be included multiple times with the latter inclusions having no
10759 effect) and standalone (that is, can be included by itself,
10760 with no include file other than config.h needed as a prerequisite).
10761 This is standard practice in GNU programs nowadays.
10762 * lwlib/lwlib-widget.h, src/buffer.h, src/category.h, src/character.h:
10763 * src/charset.h, src/coding.h, src/commands.h, src/disptab.h:
10764 * src/fontset.h, src/gnutls.h, src/indent.h, src/keymap.h, src/macros.h:
10765 * src/regex.h [emacs]:
10766 * src/syntax.h, src/systty.h, src/termhooks.h:
10767 Include lisp.h, for Lisp_Object.
10768 * src/buffer.h, src/category.h, src/cm.h, src/commands.h, src/disptab.h:
10769 * src/indent.h, src/intervals.h, src/keyboard.h, src/macros.h:
10770 * src/process.h, src/puresize.h, src/region-cache.h, src/syntax.h:
10771 * src/syssignal.h, src/sysstdio.h, src/systty.h, src/termchar.h:
10772 * src/termopts.h, src/tparam.h, src/unexec.h:
10773 Protect against multiple inclusion.
10774 * src/buffer.h: Include character.h, for STRING_CHAR.
10775 * src/emacsgtkfixed.h (struct frame):
10776 * src/fontset.h (struct face):
10777 * src/region-cache.h (struct buffer):
10778 * src/termhooks.h (struct glyph):
10779 * src/xsettings.h (struct x_display_info):
10780 Add possibly-forward decl.
10781 * src/syntax.h: Include buffer.h, for BVAR.
10782 * src/sysselect.h: Include lisp.h, for eassume.
10783 * src/termchar.h: Include <stdio.h>, for FILE.
10784 * src/widget.h: Include <X11/IntrinsicP.h>, for Widget.
10785 * src/xsettings.h: Include <X11/Xlib.h>, for XEvent.
10787 2015-10-16 Jürgen Hötzel <juergen@archlinux.org>
10789 Handle symlink targets containing spaces in tramp-gvfs.el
10791 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
10792 Handle symlink targets containing spaces.
10794 2015-10-16 Artur Malabarba <bruce.connor.am@gmail.com>
10796 * lisp/custom.el (custom-theme-load-path): Demote to defvar.
10798 `custom-theme-load-path' was a defcustom, but it shouldn't be for the
10799 same reason that `load-path' shouldn't. Setting it via the customize
10800 interface is a trap for the user.
10802 Installed themes commonly add themselves to this variable, which means
10803 its value is not fit for being saved (it will permanently remember dirs
10804 that don't exist anymore).
10806 This is aggravated by the fact that Emacs always applies the `user'
10807 theme on top of any theme that's loaded, since this will apply the old
10808 variable value and remove any new directories that had been recently
10809 added by themes themselves.
10811 Not to mention, we already have `custom-theme-directory', which is safe
10814 2015-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
10816 * lisp/mpc.el: Rename the new toggling commands.
10817 (mpc-toggle-consume, mpc-toggle-repeat, mpc-toggle-single)
10818 (mpc-toggle-shuffle): Add "-toggle" in the name.
10820 2015-10-16 Eli Zaretskii <eliz@gnu.org>
10822 Improve the doc string of 'completion-boundaries'
10824 * lisp/minibuffer.el (completion-boundaries): Rename the argument
10825 TABLE to COLLECTION, for consistency with other high-level
10826 completion functions. Document how COLLECTION is called if it
10827 is a function. (Bug#21644)
10829 2015-10-16 Oleh Krehel <ohwoeowho@gmail.com>
10831 * lisp/dired-aux.el (dired-shell-command): Fix compile warning.
10833 2015-10-16 Oleh Krehel <ohwoeowho@gmail.com>
10835 Make dired-do-compress work for *.zip files
10837 * lisp/dired-aux.el (dired-check-process): Transform the top-level
10838 comment into a docstring.
10839 (dired-shell-command): New command. This mirrors
10840 `dired-check-process', but is more user-friendly for passing
10842 (dired-compress-file-suffixes): Allow to specify the command switches
10843 along with input (%i) and output (%o) inside the PROGRAM part.
10844 Add an entry for *.zip files, and update the entry for *.tar.gz files
10845 to the new style. Update the docstring.
10846 (dired-compress-file): When PROGRAM matches %i or %o, use the new
10848 (dired-update-file-line): Avoid an error when at end of buffer.
10852 2015-10-16 Eli Zaretskii <eliz@gnu.org>
10854 Minor improvement in documentation of internals
10856 * doc/lispref/internals.texi (Writing Emacs Primitives): Document QUIT.
10858 2015-10-16 Eli Zaretskii <eliz@gnu.org>
10860 Improve documentation of COLLECTION in completion functions
10862 * doc/lispref/minibuf.texi (Minibuffer Completion): Add a
10863 cross-reference to "Programmed Completion".
10865 * src/minibuf.c (Fcompleting_read): Improve the doc string.
10868 2015-10-16 Eli Zaretskii <eliz@gnu.org>
10870 Add more release info to etc/HISTORY
10872 * etc/HISTORY: Add more release information about 19.x and 20.x
10875 2015-10-15 Paul Eggert <eggert@cs.ucla.edu>
10877 New file etc/HISTORY
10879 * admin/FOR-RELEASE: Procedure for etc/HISTORY.
10880 * etc/HISTORY: New file.
10881 * etc/NEWS: Mention it.
10883 2015-10-15 Dmitry Gutov <dgutov@yandex.ru>
10885 js-mode: Don't misindent generator methods
10887 * lisp/progmodes/js.el (js--looking-at-operator-p): Distinguish
10888 generator methods from multiplication operator
10889 (https://github.com/mooz/js2-mode/issues/275).
10891 2015-10-15 Paul Eggert <eggert@cs.ucla.edu>
10893 Fix animation timeout delay calculation
10895 * lisp/image.el (image-animate-timeout):
10896 Don’t assume speed is floating-point.
10898 2015-10-15 Mark Oteiza <mvoteiza@udel.edu>
10900 Add commands for controlling MPD modes
10902 * lisp/mpc.el (mpc-cmd-consume, mpc-cmd-random, mpc-cmd-repeat)
10903 (mpc-cmd-single): New functions.
10904 (mpc-consume, mpc-repeat, mpc-single, mpc-shuffle): New commands.
10905 (mpc-mode-menu): Add new commands as menu items.
10907 2015-10-15 Dmitry Gutov <dgutov@yandex.ru>
10909 Refer to `(elisp)Basic Completion' in completing-read docstring
10911 * src/minibuf.c (Fcompleting_read): Refer to `(elisp)Basic
10912 Completion' in the docstring (bug#21644).
10914 2015-10-14 Mark Oteiza <mvoteiza@udel.edu>
10916 * lisp/mpc.el (mpc-format): Always push form to pred
10918 2015-10-14 Paul Eggert <eggert@cs.ucla.edu>
10922 * configure.ac (bitmapdir): Fix misspelling of bmd_acc.
10923 * test/automated/coding-tests.el (ert-test-coding-bogus-coding-systems):
10924 Fix misspelling of nonexistent file name.
10926 2015-10-14 Mark Oteiza <mvoteiza@udel.edu>
10928 * lisp/mpc.el (mpc-mode-menu, mpc-toggle-play): Fix docstrings
10930 2015-10-14 Michael Albinus <michael.albinus@gmx.de>
10932 Some editing fixes in Tramp
10934 * lisp/net/tramp-gvfs.el:
10935 * doc/misc/tramp.texi: "customer option" -> "custom option".
10937 * lisp/net/tramp.el (tramp-completion-function-alist): Fix docstring.
10939 2015-10-14 Jürgen Hötzel <juergen@archlinux.org>
10941 Use proper localization in tramp-gvfs.el
10943 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
10944 Suppress localized settings in order to proper parse gfvs output.
10946 2015-10-14 Warren Lynn <wrn.lynn@gmail.com> (tiny change)
10948 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10949 Quote argument in proper order. (Bug#21562)
10951 2015-10-14 Nicolas Petton <nicolas@petton.fr>
10953 Fix typos in docstrings
10955 * lisp/emacs-lisp/map.el:
10956 * lisp/emacs-lisp/seq.el: Fix typos in the docstrings of the pcase
10959 2015-10-14 Mark Oteiza <mvoteiza@udel.edu>
10961 * lisp/mpc.el (mpc-volume-refresh): Check if buffer is live.
10963 2015-10-14 Oleh Krehel <ohwoeowho@gmail.com>
10965 Make dired-jump work with tar-subfile-mode
10967 * lisp/dired-x.el (dired-jump): When in `tar-subfile-mode', instead of
10968 emitting an error, switch to `tar-superior-buffer'.
10970 2015-10-14 Juanma Barranquero <lekktu@gmail.com>
10972 * .gitignore: Add build-aux/ar-lib.
10974 2015-10-14 Nicolas Petton <nicolas@petton.fr>
10976 Better docstrings in seq.el and map.el
10978 * lisp/emacs-lisp/map.el:
10979 * lisp/emacs-lisp/seq.el: Improve the docstring for the pcase patterns.
10981 2015-10-14 Paul Eggert <eggert@cs.ucla.edu>
10986 2015-10-13 binary-io, u64, unistd: port to strict C
10987 2015-09-26 c-ctype: do not worry about EBCDIC + char signed
10988 2015-09-25 c-ctype: port better to z/OS EBCDIC
10989 2015-09-25 gnulib-common.m4: fix gl_PROG_AR_RANLIB/AM_PROG_AR clash
10990 * doc/misc/texinfo.tex, lib/binary-io.c, lib/c-ctype.h, lib/u64.c:
10991 * lib/unistd.c, m4/gnulib-common.m4, m4/gnulib-comp.m4:
10994 2015-10-14 Paul Eggert <eggert@cs.ucla.edu>
10998 * src/alloc.c (PURE_POINTER_P): Remove.
10999 All uses replaced with PURE_P.
11000 (XPNTR_OR_SYMBOL_OFFSET): New function.
11001 (XPNTR): Move here from lisp.h.
11002 Reimplement in terms of XPNTR_OR_SYMBOL_OFFSET.
11003 (mark_maybe_object, valid_lisp_object_p, survives_gc_p):
11004 Remove unnecessary cast.
11005 (purecopy): Use XPNTR_OR_SYMBOL_OFFSET instead of XPNTR,
11006 to avoid an unnecessary runtime test for symbols.
11007 * src/lisp.h (lisp_h_XPNTR, XPNTR): Remove, moving XPNTR to alloc.c.
11008 Only alloc.c needs XPNTR now.
11010 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
11012 Add MPC play/pause command
11014 * lisp/mpc.el (mpc-toggle-play): New command.
11015 (mpc-mode-map): Bind it to "s".
11016 (mpc-mode-menu): Add corresponding menu item.
11018 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
11020 Add bindings and menu items for prev and next tracks
11022 * lisp/mpc.el (mpc-mode-map): Bind ">" to mpc-next,
11024 (mpc-mode-menu): Add corresponding menu items
11026 2015-10-13 Ken Raeburn <raeburn@raeburn.org>
11028 Reduce face-related consing during frame creation.
11030 * lisp/faces.el (face--attributes-unspecified): Compute the "unspecified"
11031 attribute list once.
11032 (face-spec-reset-face): Use it instead of building the list.
11034 2015-10-13 Ken Raeburn <raeburn@permabit.com>
11036 Do process ConfigureNotify events indicating size changes.
11038 * src/xterm.c (handle_one_xevent): If consecutive ConfigureNotify
11039 events don't have the same size, process each one.
11041 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
11043 Derive mpc-mode from special-mode
11045 lisp/mpc.el (mpc-mode-map): Make from sparse keymap. Unbind g.
11046 (mpc-mode): Derive from special mode.
11047 (mpc-songs-mode-map): Don't set parent keymap.
11049 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
11051 Fix error messages for when covers are not found.
11053 The last change to mpc-format let the binding to file call
11054 mpc-file-local-copy with nil argument. Instead, employ if-let here
11055 so nil bindings don't result in needless computation and errors.
11056 * lisp/mpc.el: Require 'subr-x at compile time.
11057 * lisp/mpc.el (mpc-format): Use if-let.
11059 2015-10-13 Oleh Krehel <ohwoeowho@gmail.com>
11061 Make dired-do-compress work for *.tar.gz files
11063 * lisp/dired-aux.el (dired-compress-file-suffixes): Associate
11064 "tar -zxvf" to *.tar.gz; update docstring.
11066 (dired-compress-file): Allow to specify switches after the command in
11067 `dired-compress-file-suffixes'.
11069 2015-10-13 Oleh Krehel <ohwoeowho@gmail.com>
11071 Make dired-do-compress work for directories
11073 * lisp/dired-aux.el (dired-compress-file): When FILE is a directory,
11074 instead of emitting an error, call "tar -czf FILE.tar.gz FILE".
11075 Also convert the top comment into a docstring.
11077 2015-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
11079 * lisp/mpc.el (mpc-songs-refresh): Don't side-effect `active'
11081 ... since it might come straight from the memoizing table.
11083 2015-10-13 Juanma Barranquero <lekktu@gmail.com>
11085 * src/w32fns.c (x_change_tool_bar_height): Remove unused variable frame.
11087 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
11089 Use special-mode in eww list modes
11091 * lisp/net/eww.el (eww-bookmark-mode, eww-history-mode)
11092 (eww-buffers-mode): Derive from special-mode and remove redundant
11093 setting of buffer-read-only.
11094 (eww-mode-map): Remove redundant keymap parent setting.
11095 (eww-bookmark-mode-map, eww-history-mode-map, eww-buffers-mode-map):
11096 Remove redundant keymap suppressions and mappings.
11098 2015-10-13 Martin Rudalics <rudalics@gmx.at>
11100 Allow setting frame pixel sizes from frame parameters (Bug#21415)
11102 Also fix some misfeatures in frame (re-)sizing code, add more
11103 debugging information and remove some dead code.
11105 * lisp/frame.el (frame-notice-user-settings, make-frame): Change
11106 parameter names when setting `frame-size-history'.
11107 (frame--size-history): New function.
11109 * src/frame.c (frame_inhibit_resize): If frame has not been made
11110 yet, return t if inhibit_horizontal_resize or
11111 inhibit_vertical_resize bit have been set.
11112 (adjust_frame_size): Simplify.
11113 (make_frame): Initialize inhibit_horizontal_resize,
11114 inhibit_vertical_resize, tool_bar_redisplayed, tool_bar_resized.
11115 (Fframe_after_make_frame): Reset inhibit_horizontal_resize and
11116 inhibit_vertical_resize slots.
11117 (x_set_frame_parameters): Handle `text-pixels' specification for
11118 width and height parameters. Don't consider new_height or
11119 new_width changes. Call adjust_frame_size instead of
11121 (x_figure_window_size): Two new arguments x_width and y_width
11122 returning frame's figures width and height. Calculate tool bar
11123 height before frame sizes so SET_FRAME_HEIGHT can pick it up.
11124 Handle `text-pixels' specification for width and height
11126 (Qtext_pixels, Qx_set_frame_parameters, Qset_frame_size)
11127 (Qx_set_window_size_1, Qx_set_window_size_2)
11128 (Qx_set_window_size_3, Qx_set_menu_bar_lines)
11129 (Qupdate_frame_menubar, Qfree_frame_menubar_1)
11130 (Qfree_frame_menubar_2): New symbols.
11131 * src/frame.h (structure frame): New booleans
11132 tool_bar_redisplayed, tool_bar_resized,
11133 inhibit_horizontal_resize, inhibit_vertical_resize.
11134 (x_figure_window_size): Update external declaration.
11135 * src/gtkutil.c (xg_frame_set_char_size): Set size hints before
11136 calling gtk_window_resize.
11137 (update_frame_tool_bar): Make inhibiting of frame resizing more
11138 discriminative. Set tool_bar_resized bit.
11139 * src/nsfns.m (x_set_tool_bar_lines): Make inhibiting of frame
11140 resizing more discriminative. Call adjust_frame_size instead of
11142 (Fx_create_frame): Handle x_width and x_height if
11143 set by x_figure_window_size.
11144 * src/nsterm.m (x_set_window_size): For GNUSTEP build don't
11145 subtract 3 from tool bar height.
11146 (x_set_window_size): Add frame_size_history_add call.
11147 (x_new_font): Call adjust_frame_size instead of
11149 * src/w32fns.c (x_change_tool_bar_height): Reset
11150 tool_bar_redisplayed and tool_bar_resized bits when adding tool
11151 bar. Make inhibiting of frame resizing more discriminative.
11152 (w32_wnd_proc): Remove dead code in WM_WINDOWPOSCHANGING case.
11153 (Fx_create_frame): Handle x_width and x_height if set by
11154 x_figure_window_size. Set size hints before adjusting frame size.
11155 (x_create_tip_frame): Adjust x_figure_window_size call.
11156 * src/w32term.c (x_set_window_size): Add frame_size_history_add
11158 * src/widget.c (set_frame_size): Remove dead code. Add
11159 frame_size_history_add call. When frame_resize_pixelwise is t
11160 use FRAME_PIXEL_WIDTH and FRAME_PIXEL_HEIGHT instead of
11161 pixel_width and pixel_height.
11162 (update_various_frame_slots): Remove dead code.
11163 (EmacsFrameResize): Add more information in
11164 frame_size_history_add call.
11165 (EmacsFrameQueryGeometry): Round only when frame_resize_pixelwise
11167 * src/xdisp.c (redisplay_tool_bar): Set tool_bar_redisplayed bits.
11168 * src/xfns.c (x_set_menu_bar_lines): Change argument name.
11169 (x_change_tool_bar_height): Reset tool_bar_redisplayed and
11170 tool_bar_resized bits when adding tool bar. Make inhibiting of
11171 frame resizing more discriminative.
11172 (Fx_create_frame): Handle x_width and x_height if set by
11173 x_figure_window_size. Set size hints before adjusting frame size.
11174 (x_create_tip_frame): Adjust x_figure_window_size call.
11175 * src/xmenu.c (update_frame_menubar): Don't handle Lucid specially.
11176 (set_frame_menubar): On Lucid never add core-border-width to
11177 avoid that adding XtNinternalBorderWidth adds it again.
11178 (free_frame_menubar): Handle frame_inhibit_resize true for Motif.
11179 * src/xterm.c (x_new_font): In non-toolkit case handle size
11180 change of menu bar.
11181 (x_set_window_size_1): Fix calls to frame_size_history_add.
11182 (x_wm_set_size_hint): Remove dead code. Set
11183 size_hints.min_width and size_hints.min_height to base_width and
11186 2015-10-13 Michael Albinus <michael.albinus@gmx.de>
11188 * test/automated/file-notify-tests.el (file-notify--test-timeout):
11189 Add docstring. Increase to 10 seconds for remote
11190 directories. (Bug#21669)
11192 2015-10-12 Paul Eggert <eggert@cs.ucla.edu>
11194 Unmacroize ebrowse.c and etags.c a bit
11196 * lib-src/ebrowse.c (READ_CHUNK_SIZE): Now an enum constant.
11197 (streq, filename_eq, set_flag, has_flag): Now inline functions.
11198 (set_flag): First arg is now an address, not an lvalue.
11199 All callers changed.
11200 (filename_eq, set_flag, has_flag):
11201 Rename from FILENAME_EQ, SET_FLAG, HAS_FLAG.
11202 All callers changed.
11203 * lib-src/etags.c (streq, strcaseeq, strneq, strncaseeq):
11204 Now inline functions. Remove asserts that are unnecessary these
11205 days (and in some cases were too-generous anyway).
11207 2015-10-12 Mark Oteiza <mvoteiza@udel.edu>
11209 Use highlight for current items
11211 * lisp/mpc.el (mpc-select-make-overlay, mpc-tagbrowser-all-select):
11212 Apply highlight face instead of region face.
11214 2015-10-12 Mark Oteiza <mvoteiza@udel.edu>
11216 Search for more cover image names in MPC
11218 * lisp/mpc.el (mpc-format): Also look for .folder.jpg or folder.jpg
11221 2015-10-12 Juanma Barranquero <lekktu@gmail.com>
11223 Remove or comment out unused variables
11225 * src/w32fns.c (x_set_mouse_color): Comment out variables cursor,
11226 nontext_cursor, mode_cursor, hand_cursor and count.
11227 (x_change_tool_bar_height): Remove variable old_text_height.
11228 (deliver_wm_chars): Remove variable strip_Alt.
11229 (Fw32_shell_execute): Remove variable document_a.
11230 (Fw32_frame_geometry): Remove variable fullboth.
11231 * src/w32term.c (w32_setup_relief_color): Comment out variable
11233 (w32_horizontal_scroll_bar_handle_click): Remove variables start, end.
11234 (w32_read_socket): Comment out variables rows, columns.
11235 * src/w32uniscribe.c (uniscribe_check_otf_1): Remove variable rest.
11237 2015-10-12 Juanma Barranquero <lekktu@gmail.com>
11239 * src/w32proc.c (sys_select): Fix bitwise test.
11241 2015-10-12 Eli Zaretskii <eliz@gnu.org>
11243 Minor typo corrections in doc strings
11245 * lisp/menu-bar.el (popup-menu, popup-menu-normalize-position):
11248 2015-10-12 Eli Zaretskii <eliz@gnu.org>
11250 * nt/INSTALL: Recommend MSYS Automake/Autoconf from ezwinports.
11252 2015-10-12 Eli Zaretskii <eliz@gnu.org>
11254 Attempt to avoid crashes in plist-member
11256 * src/fns.c (Fplist_member): Don't call QUIT between a CONSP test
11257 and a call to XCDR. (Bug#21655)
11259 2015-10-12 Mike FABIAN <mfabian@redhat.com>
11261 * lisp/select.el (gui-get-primary-selection): In
11262 gui-get-primary-selection use gui--selection-value-internal (Bug#20906)
11264 2015-10-12 Tassilo Horn <tsdh@gnu.org>
11266 Support RTF in doc-view
11268 * lisp/doc-view.el (doc-view-set-doc-type): Add entry for RTF extension.
11270 2015-10-12 Juanma Barranquero <lekktu@gmail.com>
11272 * src/w32fns.c (get_wm_chars): Increment counter, not pointer.
11274 2015-10-11 Nicolas Petton <nicolas@petton.fr>
11276 Replace the usage of an obsolete function in auth-source.el
11278 * lisp/gnus/auth-source.el (auth-source-epa-make-gpg-token):
11279 Replace an usage of `epg-context-set-armor' with `setf'.
11281 2015-10-11 Nicolas Petton <nicolas@petton.fr>
11283 * lisp/gnus/auth-source.el: Use sharp-quoting with functions.
11285 2015-10-11 Jay Belanger <jay.p.belanger@gmail.com>
11287 Have calc-yank recognize numbers in different bases.
11289 * lisp/calc/calc-yank.el (math-number-regexp): New function.
11290 (calc-yank): Use `math-number-regexp' to recognize numbers.
11292 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
11294 Handle an opaque-move X11 window manager operation more efficiently
11296 * src/xterm.c (handle_one_xevent): If a ConfigureNotify event is
11297 followed by more ConfigureNotify events for the same window, process
11300 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
11302 Fix cursor setting for tip frame; re-enable cursor generation
11304 * src/xfns.c (x_create_tip_frame): Include the cursor in the window
11305 attributes sent when creating the new X window. Don't skip setting
11306 the pointerColor parameter.
11308 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
11310 Rewrite x_set_mouse_color to sync less
11312 We can track serial numbers of X requests and correlate error events
11313 with the associated requests. This way we can identify errors for
11314 specific calls without having to use XSync after every one.
11316 * src/xfns.c (enum mouse_cursor): New type.
11317 (struct mouse_cursor_types, struct mouse_cursor_data): New types.
11318 (mouse_cursor_types): New array listing the Lisp variables and default
11319 cursor appearances for each cursor type.
11320 (x_set_mouse_color_handler): New function; checks error event serial
11321 number against submitted requests.
11322 (x_set_mouse_color): Updated to use the new error handler callback,
11323 and to be more table-driven, to simplify repetitious code.
11325 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
11327 Add x_catch_errors_with_handler
11329 * src/xterm.c (struct x_error_message_stack): Add new fields for a
11330 callback function and associated data pointer.
11331 (x_error_catcher): If the callback function is set, call it after
11332 saving the error message string.
11333 (x_catch_errors_with_handler): Renamed from x_catch_errors but now
11334 accepts a callback function and data pointer.
11335 (x_catch_errors): Now a wrapper function.
11336 * src/xterm.h (x_special_error_handler): New typedef.
11337 (x_catch_errors_with_handler): Declare.
11339 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
11341 Introduce x_uncatch_errors_after_check to reduce XSync calls
11343 Both x_had_errors_p and x_check_errors call XSync, so if they're
11344 immediately followed by x_uncatch_errors, its XSync call will be
11345 redundant, resulting in a wasted round trip to the X server.
11347 * src/xterm.c (x_uncatch_errors_after_check): New routine; a copy of
11348 x_uncatch_errors without the XSync call.
11349 (XTmouse_position, x_wm_supports):
11350 * src/xfns.c (x_set_mouse_color):
11351 * src/xmenu.c (Fx_menu_bar_open_internal):
11352 * src/xselect.c (x_own_selection, x_get_foreign_selection):
11353 (Fx_get_atom_name): Call it instead of x_uncatch_errors.
11354 * src/xterm.h (x_uncatch_errors_after_check): Declare.
11356 2015-10-10 Jay Belanger <jay.p.belanger@gmail.com>
11358 Document the optional prefix to `calc-yank'
11360 * doc/misc/calc.texi (Yanking into the Stack): Document the optional
11361 prefix to `calc-yank'.
11362 * lisp/calc/calc-yank.el (calc-yank): Ensure that things killed from
11363 the Calc buffer are yanked back unchanged.
11365 2015-10-10 Mark Oteiza <mvoteiza@udel.edu>
11367 * lisp/calendar/calendar.el: Display buffer before executing body.
11369 In each use of this macro, the modeline is derived from a window width
11370 calculation, which will be wrong if (display-buffer) splits the window
11373 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
11375 Use ‘echo’ safely with ‘\’ or leading ‘-’
11377 POSIX says that ‘echo FOO’ produces implementation-defined output
11378 if FOO contains leading ‘-’, or ‘\’ anywhere, so don’t assume GNU
11379 behavior in that case.
11380 * Makefile.in (removenullpaths): Remove.
11381 (epaths-force): Rewrite to avoid the need for ‘echo’.
11382 (install-etc): Be clearer about escaping the shell metacharacters
11384 * Makefile.in (install-arch-indep, install-etcdoc):
11385 * admin/charsets/mapconv, admin/merge-gnulib, admin/merge-pkg-config:
11386 * admin/quick-install-emacs, build-aux/gitlog-to-emacslog:
11387 * configure.ac, lib-src/rcs2log, make-dist:
11388 * src/Makefile.in (lisp.mk):
11389 Don’t assume ‘echo’ outputs ‘\’ and leading ‘-’ unscathed.
11390 For example, use ‘printf '%s\n' "$foo"’ rather than ‘echo "$foo"’
11391 if $foo can contain arbitrary characters.
11392 * lisp/Makefile.in (TAGS): Use ‘ls’, not ‘echo’, to avoid ‘\’ issues.
11393 * doc/lispref/two-volume.make (vol1.pdf):
11394 * test/etags/make-src/Makefile (web ftp publish):
11395 Use ‘printf’ rather than ‘echo -e’.
11397 2015-10-10 Kaushal Modi <kaushal.modi@gmail.com>
11399 Allow numbers with different radixes to be yanked.
11401 * lisp/calc/calc-yank.el (calc-yank): Allow radixes besides the
11404 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
11406 Improve CHECK_IMPURE and PURE_P speedup
11408 * src/data.c (Faset): Use XVECTOR and XSTRING rather than XPNTR.
11410 2015-10-10 Jay Belanger <jay.p.belanger@gmail.com>
11412 Use events instead of chars to keep track of steps.
11414 * lisp/calc/calc-prog.el (calc-kbd-loop): Use events instead of chars
11415 to keep track of steps.
11417 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
11419 Fix --enable-gcc-warnings problem with older GCC
11421 * src/puresize.h: Add INLINE_HEADER_BEGIN, INLINE_HEADER_END.
11422 This is for building with --enable-gcc-warnings with
11423 GCC 4.6 through 5.0.
11425 2015-10-10 Eli Zaretskii <eliz@gnu.org>
11427 Fix vertical-motion in truncated lines that end in a stretch
11429 * src/indent.c (Fvertical_motion): Expect overshoot when point is
11430 beyond window margin and lines are truncated, even if we have a
11431 stretch at point. (Bug#21468)
11433 2015-10-10 Eli Zaretskii <eliz@gnu.org>
11435 Avoid link-time errors due to inline functions
11437 * src/emacs.c: Include puresize.h, to avoid link-time errors in
11438 unoptimized builds due to PURE_P and CHECK_IMPURE, which are now
11441 2015-10-10 Andreas Schwab <schwab@linux-m68k.org>
11443 * src/data.c (Faset): Fix last change.
11445 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
11447 CHECK_IMPURE and PURE_P speedup
11449 * src/intervals.c (create_root_interval):
11450 Do CHECK_IMPURE only for strings; not needed for buffers.
11451 Prefer ! STRINGP to BUFFERP, for a tad more speed.
11452 * src/puresize.h (CHECK_IMPURE, PURE_P):
11453 Now inline functions instead of macros.
11454 (PURE_P): Don’t use XPNTR; that is now the caller’s responsibility.
11455 All callers changed.
11456 (CHECK_IMPURE): New argument PTR, to save us the work of running XPNTR.
11457 All callers changed.
11459 2015-10-09 Noah Friedman <friedman@splode.com>
11461 (tramp-open-connection-setup-interactive-shell): Send -onlcr as well.
11463 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
11465 * lisp/progmodes/cc-mode.el (c-after-font-lock-init): Only *move*
11467 our after-change-function, rather than re-adding it if it was removed.
11469 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
11471 * lisp/cedet/ede: Silence some compiler warnings
11473 * lisp/cedet/ede.el: Require cl-lib. Silence some compiler warnings.
11474 (ede-menu-obj-of-class-p): Use cl-some rather than `eval'.
11475 (ede-apply-object-keymap, ede-reset-all-buffers)
11476 (ede-auto-add-to-target): Use dolist.
11477 (ede-new, ede-flush-deleted-projects, ede-global-list-sanity-check):
11478 Use field names rather than initarg names in `oref'.
11479 (ede-load-project-file): Remove unused var `file'.
11480 (ede-map-any-target-p): Use cl-some rather than ede-map-targets.
11481 (ede-set): Remove unused var `a'.
11483 * lisp/cedet/ede/emacs.el: Silence some compiler warnings.
11484 (ede-project-autoload): Avoid the old-style "name" argument.
11485 (ede-emacs-find-matching-target): Use field names rather than initarg
11488 * lisp/cedet/ede/linux.el: Silence some compiler warnings.
11489 (ede-linux-load, ede-project-autoload): Avoid the old-style
11491 (ede-linux-find-matching-target): Use field names rather than initarg
11494 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
11496 * lisp/textmodes/reftex.el: Silence byte-compiler warnings.
11498 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
11500 * lisp/progmodes/prolog.el (prolog-smie-rules): Try and avoid
11501 indenting too far after ":-".
11503 2015-10-09 Eli Zaretskii <eliz@gnu.org>
11505 Update case-table and categories of recently added characters
11507 * lisp/international/characters.el: Update information about Latin
11508 Extended-C, Latin Extended-D, Latin Extended-E, Cyrillic Extended,
11509 Georgian, Glagolitic, Deseret, Old Hungarian, and Warang Citi
11510 blocks. (Byug#21654)
11512 2015-10-09 Martin Rudalics <rudalics@gmx.at>
11514 * src/frame.c (adjust_frame_size): In minibuffer-only windows
11515 don't count minibuffer height twice. (Bug#21643)
11517 2015-10-09 Eli Zaretskii <eliz@gnu.org>
11519 Avoid inflooping in font-lock
11521 * lisp/font-lock.el (font-lock-extend-region-wholelines): Bind
11522 inhibit-field-text-motion around the call to
11523 line-beginning-position, to avoid inflooping. (Bug#21615)
11525 2015-10-09 Tassilo Horn <tsdh@gnu.org>
11527 Refactor duplicated code; ensure default is in completions
11529 * lisp/textmodes/reftex-cite.el (reftex--query-search-regexps):
11531 (reftex-extract-bib-entries): Use it.
11532 (reftex-extract-bib-entries-from-thebibliography): Use it.
11534 2015-10-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
11536 * doc/misc/autotype.texi (Skeletons as Abbrevs): "if" -> "ifst"
11539 2015-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
11541 * lisp/calc/calc.el: Silence byte-compiler warnings.
11542 (calc-scan-for-dels): Use ignore-errors.
11543 (calc-dispatch, calc-do-dispatch): Make unused arg optional.
11544 (calc-read-key-sequence): Remove unused var `prompt2'.
11545 (calc-kill-stack-buffer): Remove unused var `buflist'.
11546 (calc): Remove unused var `oldbuf'.
11547 (calc-refresh): Use inhibit-read-only.
11548 (calc-can-abbrev-vectors): Declare.
11549 (calc-record): Remove unused var `mainbuf'.
11550 (math-sub-bignum): Remove unused var `sum'.
11551 (math-svo-c, math-svo-wid, math-svo-off): Declare.
11553 2015-10-08 Daiki Ueno <ueno@gnu.org>
11555 Use g_clear_error instead of g_error_free
11557 * src/image.c: Define g_clear_error instead of g_error_free.
11558 (init_svg_functions): Resolve symbol g_clear_error instead of
11560 (svg_load_image): Use g_clear_error instead of g_error_free, to
11561 suppress GLib warnings when ERR is not set. See bug#21641.
11563 2015-10-08 Paul Eggert <eggert@cs.ucla.edu>
11565 * src/image.c (image_size_error): Simplify.
11567 2015-10-08 Paul Eggert <eggert@cs.ucla.edu>
11569 Fix problems caught with --enable-gcc-warnings
11571 * src/image.c (lookup_rgb_color):
11572 * src/xfns.c (x_defined_color):
11573 * src/xterm.c (x_parse_color):
11574 Remove unused locals.
11576 2015-10-08 Jay Belanger <jay.p.belanger@gmail.com>
11578 * lisp/calc/calc.el (calc-digit-start-entry): Fix typo.
11580 2015-10-08 Jay Belanger <jay.p.belanger@gmail.com>
11582 Format initial input uniformly
11584 * lisp/calc/calc.el (calc-digit-start-entry): New function.
11585 * lisp/calc/calc.el (calcDigit-start):
11586 * lisp/calc/calc-aent.el (calc-alg-digit-entry):
11587 Use `calc-digit-start-entry' to format input.
11589 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
11591 Disable non-working pointerColor setting for X tooltip frame
11593 It generates a bunch of server traffic, but there's some bug wherein
11594 the new mouse cursor settings don't seem to get used. In most
11595 situations the cursor isn't likely to be seen anyway, so it's not
11598 * src/xfns.c (x_create_tip_frame): Don't set pointerColor.
11600 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
11602 Reduce some unnecessary X calls
11604 * src/xfns.c (x_real_pos_and_offsets): Remove a redundant XGetGeometry
11605 call. If border width is wanted, get it from the XGetGeometry call
11606 instead of calling XGetWindowAttributes on the same window. Skip some
11607 X calls if we've already detected an error from the X server.
11608 * src/xterm.c (x_wm_supports): Delete x_sync before x_had_errors_p.
11609 (handle_one_xevent): Delete XSync call before x_uncatch_errors.
11611 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
11613 Reduce color allocation/query traffic in the TrueColor case
11615 When working with an X visual with TrueColor class, pixel values can
11616 be generated from the RGB values according to mask value provided by
11617 the server on connection. Some of the image-handling code was already
11620 * src/xterm.h (x_make_truecolor_pixel): New function; code taken from
11622 (x_mutable_colormap): New function.
11623 * src/image.c (lookup_rgb_color): Move pixel composition code to
11624 x_make_truecolor_pixel.
11625 (x_kill_gs_process): Call x_mutable_colormap.
11626 * src/xfaces.c (x_free_colors, x_free_dpy_colors): Call
11627 x_mutable_colormap.
11628 * src/xftfont.c (xftfont_get_colors): Call x_query_colors.
11629 * src/xterm.c (x_query_colors): For a TrueColor display, decompose the
11630 pixel value into RGB values directly, and don't send a request to the
11632 (x_alloc_nearest_color): For a TrueColor display, construct the pixel
11633 value with x_make_truecolor_pixel.
11634 (x_copy_color): For an immutable color map, just return the provided
11637 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
11639 Cache XParseColor results in the X display info structure
11641 With repeated lookups of foreground and background colors for multiple
11642 faces per frame, we issue a lot of redundant color name lookups to the
11643 X server, waiting every time for the response. On a remote network
11644 with, say, 30ms round-trip time, this can add nearly a full second to
11645 creation of a new frame.
11647 * src/gtkutil.c (xg_check_special_colors): Call x_parse_color.
11648 * src/image.c (get_spec_bg_or_alpha_as_argb):
11649 (xpm_init_color_cache, xpm_lookup_color):
11650 * src/xfns.c (x_defined_color):
11651 * src/xterm.c (x_parse_color): New function; caches color names not
11652 starting with "#" in the display-info structure.
11653 (x_delete_display): Delete the cache content.
11654 * src/xterm.h (struct color_name_cache_entry): New type.
11655 (x_parse_color): Declare.
11656 (struct x_display_info): Add a new field for the cache.
11658 2015-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
11660 * src/syntax.c (syms_of_syntax): Make syntax-propertize--done local.
11662 2015-10-07 Eli Zaretskii <eliz@gnu.org>
11664 Fix segfault in image_size_error
11666 * src/image.c (image_size_error): Pass a Lisp string to
11667 image_error, not a C string. (Bug#21641)
11669 2015-10-07 Simen Heggestøyl <simenheg@gmail.com>
11671 Highlight CSS variable definitions
11673 * lisp/textmodes/css-mode.el (css-nmstart-re): Tweak regexp to accept
11674 CSS variables. (Bug#21638)
11676 2015-10-07 Artur Malabarba <bruce.connor.am@gmail.com>
11678 * test/automated/tabulated-list-test.el: New file.
11679 Test bug#21639 and some basic functionality.
11681 2015-10-07 Artur Malabarba <bruce.connor.am@gmail.com>
11683 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-sort):
11684 Check if column can be sorted before trying. (Bug#21639)
11686 2015-10-07 Nicolas Richard <youngfrog@members.fsf.org>
11688 Add test for `self-insert-command' (bug#21633)
11690 * test/automated/cmds-tests.el: New file.
11692 2015-10-07 Martin Rudalics <rudalics@gmx.at>
11694 * src/window.c (resize_frame_windows): Don't set root window's
11695 top position when resizing horizontally.
11697 2015-10-07 Artur Malabarba <bruce.connor.am@gmail.com>
11699 * lisp/progmodes/prog-mode.el (prettify-symbols-alist):
11700 Document more possible values.
11702 2015-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
11704 * lisp/textmodes/tex-mode.el: Use lexical-binding.
11706 2015-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
11708 * lisp/indent.el (indent--default-inside-comment): New function.
11709 (indent-for-tab-command): Use it for `noindent' indentation.
11711 2015-10-06 Paul Eggert <eggert@cs.ucla.edu>
11713 Fix bug in GC_CHECK_MARKED_OBJECTS check
11715 * src/alloc.c (mark_object): Fix bug in checking code.
11716 When GC_CHECK_MARKED_OBJECTS is defined, the bug caused
11717 CHECK_ALLOCATED_AND_LIVE_SYMBOL to repeatedly do the
11718 CHECK_ALLOCATED and CHECK_LIVE tests for the first symbol in each
11719 bucket. The bug did not affect behavior either in the normal case
11720 where GC_CHECK_MARKED_OBJECTS is not defined, or where Emacs does
11721 not have an internal error that a properly-written
11722 CHECK_ALLOCATED_AND_LIVE_SYMBOL would detect.
11724 2015-10-06 Tassilo Horn <tsdh@gnu.org>
11726 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
11727 Add prettified version for \\Bbb{Q}.
11729 2015-10-06 Artur Malabarba <bruce.connor.am@gmail.com>
11731 * test/automated/package-test.el (package-test-install-single):
11732 Add a test for bug#21625.
11734 2015-10-06 Aaron Ecay <aaronecay@gmail.com>
11736 * lisp/emacs-lisp/package.el (package-install): Fix error when pkg is
11737 not a package-desc object. Also clarify documentation. (Bug#21625)
11739 2015-10-06 Eli Zaretskii <eliz@gnu.org>
11741 Fix display of characters adjacent to ZWJ and ZWNJ
11743 * src/bidi.c (bidi_resolve_neutral): Treat all Bn (a.k.a. "control")
11744 characters the same as directional formatting controls.
11745 (bidi_level_of_next_char): Include all Bn characters in rule L1,
11746 as mandated by the UBA.
11748 2015-10-06 Andreas Schwab <schwab@suse.de>
11750 * src/cmds.c (Fself_insert_command): Don't use XFASTINT on a negative
11751 number. (Bug#21633)
11753 2015-10-05 Xue Fuqiao <xfq.free@gmail.com>
11755 * doc/lispref/objects.texi (Window Type): Add a cross reference.
11757 * src/buffer.c (syms_of_buffer): Typo fix. (Bug#21622)
11759 2015-10-05 Eli Zaretskii <eliz@gnu.org>
11761 * lisp/language/misc-lang.el (composition-function-table):
11762 Fix entries for Arabic and Syriac.
11764 2015-10-05 Damien Cassou <damien@cassou.me>
11766 Add first unit tests for auth-source.el
11768 * test/automated/auth-source-tests.el: New file.
11770 2015-10-05 Eli Zaretskii <eliz@gnu.org>
11772 Remove redundant redisplay code
11774 * src/xdisp.c (redisplay_internal, try_cursor_movement)
11775 (try_window_reusing_current_matrix, try_window_id): Remove
11776 redundant restrictions on redisplay optimizations based on the
11777 frame's 'redisplay' flag. See
11778 http://osdir.com/ml/general/2015-10/msg02110.html for the relevant
11781 2015-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
11783 * src/xdisp.c (windows_or_buffers_changed): Improve docstring.
11785 2015-10-04 Xue Fuqiao <xfq.free@gmail.com>
11787 Update tutorials/TUTORIAL.cn
11789 * etc/tutorials/TUTORIAL.cn: Improve translation.
11791 2015-10-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11793 * src/macfont.m (macfont_encode_char, syms_of_macfont):
11794 Remove unused vars.
11796 2015-10-04 Stefan Merten <stefan@merten-home.de>
11798 Pull in version numbers from rst.el upstream release.
11800 * lisp/textmodes/rst.el (rst-cvs-header, rst-svn-rev)
11801 (rst-svn-timestamp, rst-official-version)
11802 (rst-official-cvs-rev, rst-package-emacs-version-alist):
11803 Update version numbers.
11805 2015-10-04 Eli Zaretskii <eliz@gnu.org>
11807 * test/automated/coding-tests.el: New file.
11809 2015-10-04 Michael Albinus <michael.albinus@gmx.de>
11811 Improve XEmacs compatibility of Tramp
11813 * lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
11814 Declare if it doesn't exist.
11815 (file-remote-p): Remove defalias, which was necessary for GNU Emacs 21.
11816 (redisplay): Make it an alias if it doesn't exist.
11818 * lisp/net/tramp.el (tramp-get-remote-tmpdir): Don't use
11819 `file-remote-p' (due to XEmacs compatibility).
11821 * lisp/net/trampver.el (locate-dominating-file)
11822 (tramp-compat-replace-regexp-in-string): Autoload.
11823 (tramp-repository-get-version): Do not dupe byte-compiler.
11825 2015-09-02 K. Handa <handa@gnu.org>
11827 fix for the case that M17N_FLT_USE_NEW_FEATURE is not defined
11829 * src/ftfont.c (ftfont_drive_otf) [not M17N_FLT_USE_NEW_FEATURE]:
11830 Adjusted for the change of type of elements in the array
11831 MFLTGlyphString.glyphs.
11833 2015-10-04 Eli Zaretskii <eliz@gnu.org>
11834 Michael Heerdegen <michael_heerdegen@web.de>
11836 shr: fix too long lines in rendered buffers (Bug#21012)
11838 * lisp/net/shr.el (shr-insert-document, shr-fill-text):
11839 Correct calculation of available width.
11840 (shr-find-fill-point): Don't overflow window edge if shr-kinsoku-shorten
11843 2015-10-04 Vincent Belaïche <vincentb1@users.sourceforge.net>
11845 Restore blank line before next section, erroneously erased
11846 in my previous commit
11848 * etc/compilation.txt (symbol ant): Add an additional trailing blank
11849 line to this section, so that there are two of them immediately before
11852 2015-10-04 Vincent Belaïche <vincentb1@users.sourceforge.net>
11854 Support MSW filename style for ant compilation error regexp
11856 * etc/compilation.txt (symbol ant):
11857 * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
11858 Support MSW filename style.
11860 2015-10-03 Paul Eggert <eggert@cs.ucla.edu>
11862 * nt/INSTALL: Minor spelling and quote fixes.
11864 * lisp/ibuffer.el: Fix docstring length (Bug#21541).
11866 2015-10-03 Simen Heggestøyl <simenheg@gmail.com>
11868 Maintain ordering of JSON object keys by default
11870 * lisp/json.el (json-object-type): Mention order handling in doc-string.
11871 (json--plist-reverse): New utility function.
11872 (json-read-object): Maintain ordering for alists and plists.
11873 (json-pretty-print): Ensure that ordering is maintained.
11875 * test/automated/json-tests.el (test-json-plist-reverse): New test for
11876 `json--plist-reverse'.
11877 (json-read-simple-alist): Update test to accommodate for changes in
11878 `json-read-object'.
11880 * etc/NEWS: Document the new behavior of the pretty printing functions.
11882 2015-10-03 Andreas Schwab <schwab@linux-m68k.org>
11884 * src/coding.c (complement_process_encoding_system): Revert last change.
11886 2015-10-03 Ulf Jasper <ulf.jasper@web.de>
11888 * admin/MAINTAINERS: Add entry for Ulf Jasper.
11890 2015-10-03 Xue Fuqiao <xfq.free@gmail.com>
11892 Doc fix for `defmacro'
11894 * doc/lispref/objects.texi (Macro Type): `defmacro' is a macro now.
11896 2015-10-03 Andreas Schwab <schwab@linux-m68k.org>
11898 More validatation of coding systems
11900 * src/fileio.c (Finsert_file_contents): Remove redundant
11901 coding-system check.
11902 (choose_write_coding_system): Likewise.
11903 * src/coding.c (complement_process_encoding_system): Check argument
11904 for valid coding system.
11906 2015-10-03 Eli Zaretskii <eliz@gnu.org>
11908 Avoid crashes in coding_inherit_eol_type
11910 * src/coding.c (coding_inherit_eol_type): Check the validity of
11911 the arguments. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
11914 2015-10-03 Eli Zaretskii <eliz@gnu.org>
11916 More validatation of coding system in 'write-region'
11918 * src/coding.c (choose_write_coding_system): More validation of
11919 coding-system from various sources. Suggested by Andreas Schwab
11920 <schwab@linux-m68k.org>. (Bug#21602)
11922 2015-10-03 Eli Zaretskii <eliz@gnu.org>
11924 Avoid crashes due to invalid coding-system
11926 * src/fileio.c (choose_write_coding_system)
11927 (Finsert_file_contents): Check validity of coding-system-for-write
11928 and coding-system-for-read bound by the caller. (Bug#21602)
11930 2015-10-03 Tassilo Horn <tsdh@gnu.org>
11932 Adapt to new prettify-symbols-unprettify-at-point default
11934 * etc/NEWS: Mention that unprettication of symbol at point is off
11937 2015-10-03 Tassilo Horn <tsdh@gnu.org>
11939 Revert my two recent process.c changes
11941 Revert "Improve last commit to process.c" and "Remove callback-handled
11942 channels from Available set" because they did not fix bug#21313.
11944 This reverts commits bfa1aa8e2bdaf14adbbf1e9e824051d3f740694c and
11945 27f871907cc24f33a7d12ac3a4ab71a88f0bc554.
11947 2015-10-02 Markus Triska <triska@metalevel.at>
11949 * lisp/progmodes/prolog.el: Update and extend operator table.
11950 (prolog-smie-grammar): Add multifile, public etc.
11952 2015-10-02 Paul Eggert <eggert@cs.ucla.edu>
11954 Allow autogen even when Git is not installed
11956 * autogen.sh: Test ‘git status’ before trying to use Git.
11958 2015-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11960 * lisp/vc/vc-git.el (vc-git-region-history): Handle local changes.
11961 Adjust lto/lfrom when we have uncommitted changes.
11963 2015-10-02 Paul Eggert <eggert@cs.ucla.edu>
11965 Fix problems found by clang 3.5.0
11967 * src/cmds.c (Fdelete_char): Don’t assume XINT returns int.
11968 * src/font.c (font_parse_family_registry):
11969 Use &"str"[X] instead of "str"+X, to pacify clang -Wstring-plus-int.
11971 2015-10-02 Eli Zaretskii <eliz@gnu.org>
11973 * nt/INSTALL: Update instructions for running autogen.sh.
11975 * nt/INSTALL: Point to ezwinports for libXpm binaries.
11977 2015-10-02 Daniel Colascione <dancol@dancol.org>
11979 Fix winner in cl-lib not loaded case
11981 * lisp/winner.el (winner-change-fun): Don't use cl-lib functions
11982 without requiring CL
11984 2015-10-02 Paul Eggert <eggert@cs.ucla.edu>
11986 Fix a few problems with directed quotes
11988 This is in response to a problem report by Kaushal Modi in:
11989 http://bugs.gnu.org/21588#25
11990 * lisp/cedet/mode-local.el (describe-mode-local-overload):
11991 * lisp/emacs-lisp/bytecomp.el (byte-compile-fix-header):
11992 * lisp/info-xref.el (info-xref-check-all-custom):
11993 * lisp/mail/emacsbug.el (report-emacs-bug-hook):
11994 Prefer directed to undirected single quotes in diagnostics.
11996 2015-10-01 Eli Zaretskii <eliz@gnu.org>
11998 Revert "Attempt to fix slow redisplay caused by last changes"
12000 * src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
12001 (try_cursor_movement): Don't relax requirements for redisplay
12002 optimizations for the selected frame. (Bug#21597)
12004 This reverts commit c4c1fb97727ff52bcfa83ad5ed94a64a93d12e59.
12006 2015-10-01 Eli Zaretskii <eliz@gnu.org>
12008 Fix slow redisplay when daemon frame exists
12010 * src/xdisp.c (redisplay_internal): Don't consider daemon frames
12011 when looking for frames that need to be redisplayed. (Bug#21597)
12013 2015-10-01 Eli Zaretskii <eliz@gnu.org>
12015 Attempt to fix slow redisplay caused by last changes
12017 * src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
12018 (try_cursor_movement): Relax requirements for redisplay
12019 optimizations for the selected frame. (Bug#21597)
12021 2015-10-01 Stephen Leake <stephen_leake@stephe-leake.org>
12023 * src/dired.c (Ffile_name_completion, Ffile_name_all_completions):
12024 Improve doc string.
12026 2015-10-01 Stephen Leake <stephen_leake@stephe-leake.org>
12028 * lisp/minibuffer.el (minibuffer-completion-help):
12029 Set default base-size, in case completion table does not set it.
12031 2015-10-01 Eli Zaretskii <eliz@gnu.org>
12033 Fix GUD display of GDB output with non-ASCII text
12035 * lisp/progmodes/gdb-mi.el (gdb-mi-decode-strings): New defcustom.
12036 (gdb-mi-decode): New function.
12037 (gud-gdbmi-marker-filter): If gdb-mi-decode-strings is non-nil,
12038 decode octal escapes in GDB output. (Bug#21572)
12040 2015-10-01 Eli Zaretskii <eliz@gnu.org>
12042 * nt/INSTALL: Document where to find XPM support files.
12044 2015-10-01 Tassilo Horn <tsdh@gnu.org>
12046 Un- and re-prettification are not exclusive
12048 * lisp/progmodes/prog-mode.el (prettify-symbols--post-command-hook):
12049 Re-apply prettification to previous symbol also when unprettifying
12052 2015-10-01 Tassilo Horn <tsdh@gnu.org>
12054 Don't unprettify symbol at point by default
12056 * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
12057 Default to disabled (nil).
12059 2015-09-30 Artur Malabarba <bruce.connor.am@gmail.com>
12061 * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
12062 Support unprettifying when point is after a symbol.
12064 * etc/NEWS: Document `prettify-symbols-unprettify-at-point'.
12066 2015-09-30 Eli Zaretskii <eliz@gnu.org>
12068 Avoid assertion violations in push_prefix_prop
12070 * src/xdisp.c (push_prefix_prop): Avoid assertion violations when
12071 a line that has a line-prefix defined starts with an image. (Bug#21428)
12073 2015-09-30 Eli Zaretskii <eliz@gnu.org>
12075 Disable some display optimizations when frames need redisplay
12077 These optimizations were previously disabled by the
12078 windows_or_buffers_changed flag, which now is not set
12079 when only some frames need to be redrawn.
12080 * src/xdisp.c (redisplay_internal): Redisplay any frame whose
12081 'redisplay' flag is set.
12082 (try_window_reusing_current_matrix, try_window_id)
12083 (try_cursor_movement): Disable these optimizations when the
12084 frame's 'redisplay' flag is set.
12086 2015-09-30 Tassilo Horn <tsdh@gnu.org>
12088 Don't modify buffer by unprettification
12090 * lisp/progmodes/prog-mode.el (prettify-symbols--compose-symbol):
12091 (prettify-symbols--post-command-hook, prettify-symbols-mode): Don't
12092 modify buffer when setting/removing custom prettify-symbols-start/end
12093 text properties. Add them to font-lock-extra-managed-props, too.
12095 2015-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
12097 Try to avoid redisplaying all frames when creating a new one
12099 * src/xfns.c (x_set_menu_bar_lines, x_change_tool_bar_height):
12100 * src/xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face)
12101 (Finternal_set_lisp_face_attribute, update_face_from_frame_parameter):
12102 * src/frame.c (x_set_screen_gamma): Set the specific frame's
12103 `redisplay' bit rather than windows_or_buffers_changed.
12105 * src/window.c (apply_window_adjustment): Remove redundant setting of
12106 windows_or_buffers_changed.
12108 * src/xdisp.c (redisplay_internal): Set the specific frame's
12109 `redisplay' bit rather than update_mode_lines in response to
12110 cursor_type_changed.
12111 (syms_of_xdisp): Use hash-tables for redisplay_*_cause tables.
12112 (AINC): Adjust accordingly.
12114 2015-09-30 Tassilo Horn <tsdh@gnu.org>
12116 Implement unprettification of symbol at point
12118 * lisp/progmodes/prog-mode.el: Implement feature for unprettifying the
12120 (prettify-symbols--current-symbol-bounds): New variable.
12121 (prettify-symbols--post-command-hook): New function.
12122 (prettify-symbols-unprettify-at-point): New defcustom.
12123 (prettify-symbols-mode): Use it.
12124 (prettify-symbols--compose-symbol): Use them.
12126 2015-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12128 * src/macfont.m (mac_font_descriptor_supports_languages):
12129 Regard "zh" as synonym of "zh-Hans".
12131 2015-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12133 Work around crash when displaying etc/HELLO on OS X 10.11
12135 * src/macfont.m (mac_font_get_weight)
12136 (mac_font_descriptor_get_adjusted_weight): New functions.
12137 (macfont_store_descriptor_attributes): Adjust weight.
12139 2015-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12141 * src/macfont.m: Fix compilation with USE_CT_GLYPH_INFO.
12143 2015-09-30 Nicolas Petton <nicolas@petton.fr>
12145 * lisp/arc-mode.el (archive-rar-summarize): Better alignment
12148 2015-09-30 Nicolas Petton <nicolas@petton.fr>
12150 Use unar and lsar to handle RAR archives in arc-mode
12152 * lisp/arc-mode.el (archive-rar-extract, archive-extract-by-file): Rely
12153 on unar and lsar instead of unrar-free for RAR archives (bug#17663).
12155 2015-09-30 Wieland Hoffmann <themineo@gmail.com> (tiny change)
12157 Clarify :create in auth-source's docs
12159 * lisp/gnus/auth-source.el (auth-source-search):
12160 Clarify :create's meaning.
12162 2015-09-30 Phil Sainty <psainty@orcon.net.nz>
12164 Avoid empty -path arguments in rgrep
12166 * lisp/progmodes/grep.el (rgrep-default-command): Remove nil from
12167 the list produced according to grep-find-ignored-directories,
12168 before passing it to Find/Grep invocation. (Bug#21548)
12170 2015-09-30 Eli Zaretskii <eliz@gnu.org>
12172 Clarify documentation of pos-visible-in-window-p
12174 * src/window.c (Fpos_visible_in_window_p): Clarify the meaning of
12176 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg01040.html
12177 for the original report.
12179 * doc/lispref/windows.texi (Window Start and End): Clarify the
12180 meaning of t for the POSITION argument of pos-visible-in-window-p.
12182 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
12184 * lisp/progmodes/prolog.el: Fix various indentation cases.
12185 (prolog-operator-chars): New const (add \\).
12186 (prolog-smie-forward-token, prolog-smie-backward-token): Use it.
12187 (prolog-smie-rules): Add rules according to bug#21526.
12189 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
12191 * lisp/progmodes/sh-script.el: Old "dumb" continued line indent.
12192 (sh-indent-after-continuation): Add new value `always' (bug#17620)
12193 (sh-smie-sh-rules): Remove old handling of continued lines.
12194 (sh-smie--indent-continuation): New function.
12195 (sh-set-shell): Use it.
12197 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
12199 * lisp/progmodes/octave.el: Use grammar more; Handle enumeration fun.
12200 Remove redundant :group keyword args.
12201 (octave-begin-keywords, octave-else-keywords, octave-end-keywords):
12203 (octave-operator-table, octave-smie-bnf-table): Use let-when-compile to
12204 turn them into compile-time variables.
12205 Auto-generate the "foo ... end" rules from the "foo ... endfoo" rules.
12206 Add rules for break, continue, return, global, and persistent.
12207 Refine the rule for "until".
12208 (octave-smie--funcall-p, octave-smie--end-index-p)
12209 (octave-smie--in-parens-p): New functions.
12210 (octave-smie-backward-token, octave-smie-forward-token): Use them to
12211 distinguish the "enumeration" function and the "end" index from
12212 their corresponding keywords.
12213 (octave--block-offset-keywords): New constant.
12214 (octave-smie-rules): Use it. Adjust rules for new global/persistent
12216 (octave-reserved-words): Redefine using octave-smie-grammar.
12217 (octave-font-lock-keywords): Use octave-smie--funcall-p and
12218 octave-smie--end-index-p.
12220 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
12222 * lisp/emacs-lisp/lisp-mode.el (let-when-compile): Work like let*.
12224 2015-09-29 Eli Zaretskii <eliz@gnu.org>
12226 * nt/INSTALL: Remove references to GTK site.
12227 That site no longer offers Windows downloads.
12229 2015-09-29 Eli Zaretskii <eliz@gnu.org>
12231 * nt/INSTALL: Add instructions for installing Git.
12233 2015-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
12235 * lisp/net/shr.el (shr-colorize-region): Allow 88-color tty to
12236 use colors. Suggested by Eli Zaretskii.
12238 2015-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
12240 * lisp/net/shr.el (shr-colorize-region): Don't do it on a system
12241 not supporting 256 above colors (bug#21557).
12243 2015-09-28 Dmitry Gutov <dgutov@yandex.ru>
12245 Revert "Don't rely on defaults in decoding UTF-8 encoded Lisp files"
12247 This reverts commit db828f62f6f17414fbbc3206dac123dc73dd6055.
12249 2015-09-28 Nicolas Petton <nicolas@petton.fr>
12251 Add documentation for seq.el
12253 * doc/lispref/sequences.texi: Add documentation regarding extending
12254 seq.el, as well as missing documentation for seq-elt, seq-length, seq-p,
12255 seq-do and seq-map.
12257 2015-09-28 Nicolas Petton <nicolas@petton.fr>
12259 Better documentation for seq-some
12261 * doc/lispref/sequences.texi:
12262 * lisp/emacs-lisp/seq.el: Update the documentation of seq-some to
12263 guarantee that the returned value is the first non-nil value that
12264 resulted from applying the predicate.
12266 2015-09-28 Nicolas Petton <nicolas@petton.fr>
12268 * lisp/arc-mode.el: Sharp-quote function arguments.
12270 2015-09-28 Eli Zaretskii <eliz@gnu.org>
12272 Avoid redisplay error in ediff-regions-wordwise
12274 * lisp/vc/ediff-util.el
12275 (ediff-clone-buffer-for-region-comparison): Make sure the mark is
12276 set before activating it. (Bug#21567)
12278 2015-09-28 Eli Zaretskii <eliz@gnu.org>
12280 Another attempt to fix crashes due to prematurely freed faces
12282 * src/xdisp.c (redisplay_internal): Inhibit freeing of realized
12283 faces for as long as we might have desired matrices that reference
12284 those faces. (Bug#21428)
12286 2015-09-28 Tassilo Horn <tsdh@gnu.org>
12288 Add auctex development list email address
12290 2015-09-28 Tassilo Horn <tsdh@gnu.org>
12292 * admin/MAINTAINERS: Add entries for AUCTeX team and myself.
12294 2015-09-28 Arash Esbati <esbati@gmx.de> (tiny change)
12296 Improve wrapfig package support and caption parsing
12298 * lisp/textmodes/reftex-vars.el (reftex-label-alist-builtin):
12299 Correct description string and add wraptable environment.
12300 (reftex-default-context-regexps): Improve caption regexp.
12302 2015-09-28 Anders Lindgren <andlind@gmail.com>
12304 Respect value of frame_resize_pixelwise when handling fullscreen state
12306 * src/nsterm.m (handleFS): Respect frame_resize_pixelwise when
12307 setting size increments.
12309 2015-09-27 Michael Albinus <michael.albinus@gmx.de>
12311 * src/gfilenotify.c (Fgfile_add_watch): Cleanup temporary variable.
12313 2015-09-27 Simen Heggestøyl <simenheg@gmail.com>
12315 Add prettify-symbols-alist for js-mode
12317 * lisp/progmodes/js.el (js--prettify-symbols-alist): New defconst.
12320 2015-09-27 Eli Zaretskii <eliz@gnu.org>
12322 * nt/subdirs.el: File deleted (no longer used).
12324 2015-09-26 Alan Mackenzie <acm@muc.de>
12326 Fix follow-scroll-up/down, making them replacements for scroll-up/down
12328 1. Allow point to move between follow windows in scroll operations.
12329 2. Fix bug where `right-char' just before EOB caused spurious scrolling,
12330 when EOB was isolated in the last follow window.
12332 * lisp/follow.el (follow-fixed-window): New variable.
12333 (follow-get-scrolled-point): New function.
12334 (follow-scrol-up, follow-scroll-down): Add autoload cookies.
12335 Reformulate the code. Put `scroll-command' properties on the functions.
12336 Correct minor errors in ...-down's doc string and code.
12337 (follow-calc-win-end): Amend incomplete doc string. Use
12338 `pos-visible-in-window-p' to check whether EOB is in the window.
12339 (follow-estimate-first-window-start): Correct an off-by-1 error.
12340 (follow-adjust-window): Add handling for explicit scrolling operations.
12342 2015-09-26 Paul Eggert <eggert@cs.ucla.edu>
12344 * admin/MAINTAINERS: Add self, plus list some more files
12347 2015-09-26 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
12349 New DWIM commands for changing letter-case
12351 * lisp/simple.el (upcase-dwim, downcase-dwim, capitalize-dwim):
12352 New functions. (Bug#21501)
12354 2015-09-26 Eli Zaretskii <eliz@gnu.org>
12356 * etc/PROBLEMS: Document problems with pasting on MS-Windows.
12358 2015-09-26 Eli Zaretskii <eliz@gnu.org>
12360 Make face realization be more frame-specific
12362 * src/frame.h (struct f): New flag face_change.
12363 * src/xfaces.c (Finternal_make_lisp_face)
12364 (Finternal_copy_lisp_face, Finternal_set_lisp_face_attribute)
12365 (update_face_from_frame_parameter): Set the face_change flag only
12366 for the frame whose faces are affected.
12367 * src/xdisp.c (init_iterator): If a frame's face_change flag is
12368 set, free faces only on that frame.
12369 (redisplay_internal): Disable "display optimization 1" if the
12370 frame's face_change flag is set.
12371 (redisplay_window): Don't allow skipping a window's redisplay if
12372 its frame's face_change flag is set.
12373 * src/frame.c (x_set_screen_gamma): Instead of calling
12374 Fclear_face_cache, call clear_face_cache and set
12375 windows_or_buffers_changed to a non-zero value. This avoids
12376 setting the global face_change flag that triggers face realization
12377 on all frames and thorough redisplay of all of them.
12379 * lisp/term/tty-colors.el (tty-register-default-colors): Don't
12380 clear face cache if the selected frame is a GUI frame.
12382 2015-09-26 Tassilo Horn <tsdh@gnu.org>
12384 Remove font-latex specific check
12386 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
12387 Use syntax-ppss data to identify verbatim contents.
12389 2015-09-25 Tassilo Horn <tsdh@gnu.org>
12391 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
12392 Fix some false negatives.
12394 2015-09-25 Eli Zaretskii <eliz@gnu.org>
12396 Reorder Windows version in Emacs manifests
12398 * nt/emacs-x64.manifest:
12399 * nt/emacs-x86.manifest: Reorder Windows version from lowest to
12402 2015-09-25 Eli Zaretskii <eliz@gnu.org>
12404 Update Emacs manifest files for Windows 10
12406 * nt/emacs-x86.manifest:
12407 * nt/emacs-x64.manifest: Declare compatibility with Windows 10.
12409 2015-09-25 Eli Zaretskii <eliz@gnu.org>
12411 Avoid non-ASCII decoding errors in C src files
12416 * src/doprnt.c: Add 'coding' cookies -- these files include
12417 Unicode characters and should be decoded as UTF-8.
12419 2015-09-25 Alan Mackenzie <acm@muc.de>
12421 Resurrect edebug-set-initial-mode, repurposing it to set the global mode
12423 * lisp/emacs-lisp/edebug.el (edebug-initial-mode-alist): Uncomment, and
12424 amend to match current modes and functions.
12425 (edebug-set-initial-mode): Uncomment and change from setting a defun's
12426 `edebug-initial-mode''s property to setting the variable
12427 `edebug-initial-mode'.
12428 (top level): Create new binding C-x C-a C-m for
12429 `edebug-set-initial-mode'.
12431 * doc/lispref/edebug.texi (Edebug Execution Modes): Document
12432 `edebug-set-initial-mode' and its new key binding.
12433 (Edebug Options): Mention the new command in the pertinent place.
12435 * etc/NEWS: Write entry for this change.
12437 2015-09-25 Eli Zaretskii <eliz@gnu.org>
12439 Avoid non-ASCII decoding errors in Texinfo files
12441 * doc/misc/tramp.texi:
12442 * doc/lispref/strings.texi:
12443 * doc/lispref/positions.texi:
12444 * doc/lispref/help.texi:
12445 * doc/lispref/functions.texi:
12446 * doc/lispintro/emacs-lisp-intro.texi:
12447 * doc/emacs/text.texi:
12448 * doc/emacs/modes.texi:
12449 * doc/emacs/mini.texi:
12450 * doc/emacs/display.texi:
12451 * doc/emacs/custom.texi:
12452 * doc/emacs/basic.texi: Add 'coding' cookies -- these files use
12453 Unicode characters and should be decoded as UTF-8.
12454 * doc/lispref/frames.texi (Size Parameters): Don't use a non-ASCII
12455 apostrophe unnecessarily.
12457 2015-09-25 Paul Eggert <eggert@cs.ucla.edu>
12462 2015-09-25 c-ctype: rewrite to use inline functions
12463 2015-09-24 maint: add coding cookies to non-ASCII sources
12464 2015-09-24 gitlog-to-changelog: trim only trailing whitespaces
12465 * build-aux/gitlog-to-changelog, doc/misc/texinfo.tex:
12466 * lib/acl-internal.c, lib/acl-internal.h, lib/c-ctype.c:
12467 * lib/c-ctype.h, lib/get-permissions.c, lib/qcopy-acl.c:
12468 * lib/set-permissions.c:
12471 2015-09-24 Paul Eggert <eggert@cs.ucla.edu>
12473 Update publicsuffix.txt from upstream
12475 * etc/publicsuffix.txt: Update from
12476 https://publicsuffix.org/list/effective_tld_names.dat
12477 dated 2015-09-24 17:29:21 UTC.
12479 2015-09-24 Eli Zaretskii <eliz@gnu.org>
12481 Prevent timers from messing up TTY menus
12483 * src/term.c (tty_menu_activate): Inhibit redisplay for as long as
12484 the TTY menu is open. (Bug#21530)
12486 2015-09-24 Paul Eggert <eggert@cs.ucla.edu>
12488 No need to mention K&R C in c-mode intro
12490 2015-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
12492 Fix recent bootstrap problems
12494 * src/syntax.c (parse_sexp_propertize): Fix last fix.
12495 * lisp/nxml/nxml-mode.el (nxml-comment-quote-nested): Fix paren typo.
12496 * lisp/emacs-lisp/lisp-mode.el: Require cl-lib for cl-progv.
12498 2015-09-24 Michael Albinus <michael.albinus@gmx.de>
12500 * src/gfilenotify.c (Fgfile_add_watch): Decrease polling rate.
12502 2015-09-23 Ivan Andrus <darthandrus@gmail.com>
12504 Properly quote nested xml comments (Bug#6267) (Bug#20001)
12506 * lisp/nxml/nxml-mode.el (nxml-comment-quote-nested): New function.
12507 (nxml-mode): Set comment-quote-nested-function.
12509 2015-09-23 Ivan Andrus <darthandrus@gmail.com>
12511 Allow major-modes full control over quoting nested comments
12513 * lisp/newcomment.el (comment-quote-nested-function): New variable.
12514 (comment-quote-nested-default): New function.
12515 (comment-quote-nested): Use `comment-quote-nested-function'.
12517 2015-09-23 Paul Eggert <eggert@cs.ucla.edu>
12519 Prefer CALLN in a few more places
12521 * src/macfont.m (macfont_set_family_cache):
12522 * src/nsterm.m (append2):
12523 * src/xterm.c (x_cr_export_frames):
12524 Prefer CALLN to allocating the arg arrays by hand.
12526 2015-09-23 Michael Albinus <michael.albinus@gmx.de>
12528 Adapt file-notify-test02-events test case
12530 * test/automated/file-notify-tests.el (file-notify-test02-events):
12531 Create a new watch for every test.
12533 2015-09-23 Michael Albinus <michael.albinus@gmx.de>
12535 Continue gfilenotify.c implementation of missing parts
12537 * lisp/filenotify.el (file-notify-add-watch): Append `flags' to
12538 `gfile-add-watch' call.
12539 (file-notify-rm-watch): Modify `file-notify-descriptors' only
12540 after calling the low level functions.
12542 * src/gfilenotify.c (dir_monitor_callback): Check, whether
12543 event_type is expected.
12544 (Fgfile_add_watch): Allow also `change'and `attribute-change' for FLAGS.
12545 (Fgfile_rm_watch): Fix typo.
12546 (syms_of_gfilenotify): Declare Qchange and Qattribute_change.
12548 2015-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12550 * src/syntax.c (parse_sexp_propertize): Handle spurious
12551 e_property_truncated flag.
12552 (update_syntax_table_forward): Remove invalid assertion.
12554 2015-09-23 Eli Zaretskii <eliz@gnu.org>
12556 * src/xdisp.c (produce_stretch_glyph): Support ':relative-width'
12557 space display spec on text-mode terminals, by calling
12558 PRODUCE_GLYPHS instead of x_produce_glyphs. Remove the
12559 HAVE_WINDOW_SYSTEM guards from the supporting code, as well as the
12560 test for a GUI frame.
12562 2015-09-23 Oleh Krehel <ohwoeowho@gmail.com>
12564 Move let-when-compile to lisp-mode.el
12566 This fixes the bootstrapping problem of `let-when-compile' using
12567 `cl-progv' while being in subr.el (i.e. before cl stuff was loaded).
12569 2015-09-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
12571 * lisp/url/url-http.el (url-http-parse-headers): Do not
12572 automatically include Authorization header in redirect.
12575 2015-09-22 Eli Zaretskii <eliz@gnu.org>
12577 Clarify documentation of ':relative-width'
12579 * doc/lispref/display.texi (Specified Space): Document that
12580 ':relative-width' is only supported on GUI frames.
12582 2015-09-22 Eli Zaretskii <eliz@gnu.org>
12584 Fix 'current-column' in presence of :relative-width
12586 * src/indent.c (check_display_width): Support ':relative-width'
12587 in a display spec that specifies a stretch glyph. (Bug#21533)
12589 2015-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12591 Reformat the pdbtrack remote-file fix ChangeLog.2 entry
12593 ... to conform better to CONTRIBUTE guidelines.
12595 2015-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
12597 * lisp/progmodes/prolog.el: Fix indentation of empty line
12599 * lisp/emacs-lisp/smie.el (smie-rules-function): Document new
12600 `empty-line-token' element.
12601 (smie-indent-empty-line): New function.
12602 (smie-indent-functions): Add it.
12604 * lisp/progmodes/prolog.el (prolog-smie-rules): Fix :list-intro
12605 behavior and use the new `empty-line-token' element (bug#21526).
12606 (prolog-mode-variables): Fix comment-start-skip setting to match
12609 * test/indent/prolog.prolog: Add nested indentation tests.
12611 * lisp/newcomment.el (comment-normalize-vars): Fix default value of
12612 comment-start-skip not to misuse submatch 1.
12614 2015-09-22 Alan Mackenzie <acm@muc.de>
12616 Make description of `edebug-initial-mode' user friendly
12620 * doc/lispref/edebug.texi (Edebug Execution Modes): Change the
12621 description of `edebug-initial-mode' from that of its implementation
12622 to that of its visual effect and use. Move the paragraph higher up.
12624 2015-09-22 Eli Zaretskii <eliz@gnu.org>
12626 lisp/progmodes/gud.el (gud-format-command): Fix last commit
12628 * lisp/progmodes/gud.el (gud-format-command): Don't use Tramp internal
12629 functions 'tramp-file-name-localname' and 'tramp-dissect-file-name'.
12631 2015-09-22 Tassilo Horn <tsdh@gnu.org>
12633 Improve last commit to process.c
12635 2015-09-22 Michael Albinus <michael.albinus@gmx.de>
12637 Implement gfile-valid-p
12639 * lisp/filenotify.el (file-notify-callback): Fix typo.
12640 (gfile-valid-p): Remove defalias.
12642 * src/gfilenotify.c (dir_monitor_callback): Cancel the monitor if
12643 the file or directory to be watched is deleted.
12644 (Fgfile_add_watch): Make watch_object a triple.
12645 (Fgfile_rm_watch): Check, whether watch is cancelled already.
12646 (Fgfile_valid_p): New defun.
12647 (syms_of_gfilenotify): Declare Sgfile_valid_p.
12649 2015-09-22 Tassilo Horn <tsdh@gnu.org>
12651 Remove callback-handled channels from Available set
12653 * src/process.c (wait_reading_process_output): Remove channel from
12654 Available set if it is handled by a callback, e.g., dbus or
12655 inotify (bug#21313).
12657 2015-09-21 Mark Oteiza <mvoteiza@udel.edu>
12659 Use lunate epsilon for TeX \epsilon
12661 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
12662 Add \varepsilon using GREEK SMALL LETTER EPSILON, and change
12663 \epsilon to use GREEK LUNATE EPSILON SYMBOL
12665 2015-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12667 * lisp/progmodes/prolog.el: Fix nested electric if-then-else
12669 * lisp/progmodes/prolog.el (prolog-find-unmatched-paren): Use innermost
12670 rather than outermost paren (bug#21526).
12672 2015-09-21 Paul Eggert <eggert@cs.ucla.edu>
12674 Improve git diff hunk headers for .el, .texi
12676 Problem reported by Alan Mackenzie in:
12677 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00826.html
12678 * .gitattributes (*.el, *.texi): New patterns.
12679 * autogen.sh: Configure diff.elisp.xfuncname and
12680 diff.texinfo.xfuncname if using Git.
12682 2015-09-21 Eli Zaretskii <eliz@gnu.org>
12684 Don't rely on defaults in decoding UTF-8 encoded Lisp files
12687 * lisp/textmodes/rst.el:
12688 * lisp/whitespace.el: Add an explicit UTF-8 encoding tag.
12690 2015-09-21 Paul Eggert <eggert@cs.ucla.edu>
12692 Clarify or replace a few \u escapes
12694 * doc/lispref/nonascii.texi (Character Properties)
12695 More-detailed commentary for \u escapes.
12696 * lisp/progmodes/python.el (python--prettify-symbols-alist):
12697 * lisp/replace.el (query-replace-from-to-separator):
12698 * lisp/textmodes/rst.el (rst-bullets, rst-re-alist-def)
12699 (rst-mode-syntax-table):
12700 * lisp/whitespace.el (whitespace-display-mappings):
12701 Prefer actual character to \u escape when this makes the code
12702 easier to follow in the usual case where Unicode chars can be
12705 2015-09-21 Paul Eggert <eggert@cs.ucla.edu>
12707 Pacify GCC -Wmaybe-uninitialized in xdisp.c
12709 * src/xdisp.c (face_before_or_after_it_pos): Use do-while rather
12710 than while loop to avoid GCC -Wmaybe-uninitialized diagnostic with
12711 charpos. The loop should always execute at least once anyway.
12713 2015-09-21 Tassilo Horn <tsdh@gnu.org>
12715 Signal error on invalid regexp
12717 * lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries):
12718 Signal an error when the user tries searching with a regexp
12719 matching the empty string.
12721 2015-09-21 Eli Zaretskii <eliz@gnu.org>
12723 Another fix of file-notify-tests for w32notify
12725 * test/automated/file-notify-tests.el (file-notify-test02-events):
12726 Further adaptation for w32notify: reduce the number of expected
12727 'changed' events. (Bug#21435)
12729 2015-09-21 Michael Albinus <michael.albinus@gmx.de>
12731 Adapt tests and manual for w32notify
12733 * doc/lispref/os.texi (File Notifications): w32notify does not
12734 send `attribute-changed' events.
12736 * test/automated/file-notify-tests.el (file-notify--test-with-events):
12737 Simplify parameters. Adapt all callees.
12738 (file-notify-test02-events): w32notify does not send
12739 `attribute-changed' events.
12740 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
12741 Do not skip in case of w32notify. Simply ignore this part of the test.
12743 2015-09-21 Dima Kogan <dima@secretsauce.net>
12745 Fix setting breakpoints when remote-debugging
12747 * lisp/progmodes/gud.el (gud-format-command): Send localized file
12748 names to the debugger running on the remote. (Bug#13304)
12750 2015-09-21 Nicolas Petton <nicolas@petton.fr>
12752 Better docstring and parameter name for seq-find
12754 * lisp/emacs-lisp/seq.el (seq-find): Improve the docstring and rename
12755 the parameter `sentinel' to `default'.
12757 * doc/lispref/sequences.texi (Sequence Functions): Update the
12758 documentation for `seq-find' accordingly.
12760 2015-09-21 Eli Zaretskii <eliz@gnu.org>
12762 Avoid infinite recursion while displaying box face
12764 * src/xdisp.c (face_before_or_after_it_pos): Fix calculation of
12765 the previous string/buffer character position under bidi
12766 iteration. (Bug#21428)
12768 2015-09-21 Anders Lindgren <andlind@gmail.com>
12770 Keep upper edge unchanged when changing size of NS frame
12772 * src/nsterm.m (x_set_window_size): Keep upper frame edge unchanged
12775 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12777 * lisp/progmodes/prolog.el: Improve handling of if/then/else.
12778 (prolog-smie-rules): Accommodate standard if/then/else special
12780 (prolog-mode): Add . to electric-indent-chars.
12781 (prolog-electric--if-then-else): Re-indent the line before adding space
12782 after the new char (bug#21526).
12784 2015-09-20 Mark Oteiza <mvoteiza@udel.edu>
12786 Add prettify symbols to python-mode
12788 * lisp/progmodes/python.el (python-prettify-symbols-alist):
12790 (python-mode): Use it
12792 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12794 * lisp/emacs-lisp/syntax.el (syntax-begin-function): Make obsolete.
12796 2015-09-20 Jostein Kjønigsen <jostein@secure.kjonigsen.net> (tiny change)
12798 (compilation-error-regexp-alist-alist): Tone down guile-file
12800 * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
12801 Make guile-file a bit less enthusiastic (bug#21496).
12803 2015-09-20 Drew Csillag <drew@thecsillags.com>
12805 * lisp/progmodes/m4-mode.el (m4-font-lock-keywords):
12806 Fix m4_* highlighting.
12808 * lisp/progmodes/m4-mode.el (m4-font-lock-keywords): Fix recognition
12809 of commands when they have a "m4_" prefix.
12811 2015-09-20 Paul Eggert <eggert@cs.ucla.edu>
12813 '.' -> `.' in doc string
12815 * lisp/emacs-lisp/timer.el (run-at-time): In doc string, quote
12816 individual chars with grave quotes instead of straight quotes, as
12817 this works better when they are translated to curved quotes.
12819 2015-09-20 Michael Albinus <michael.albinus@gmx.de>
12821 Improve file notifications, especially for Tramp
12823 * doc/lispref/files.texi (Magic File Names):
12824 Mention `file-notify-valid-p'.
12826 * doc/lispref/os.texi (File Notifications):
12827 Describe `file-notify-valid-p'.
12829 * etc/NEWS: Add `file-notify-valid-p'.
12831 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch):
12832 Improve implementation.
12833 (tramp-gvfs-monitor-file-process-filter): Rename from
12834 `tramp-gvfs-file-gvfs-monitor-file-process-filter'. Delete
12835 process if appropriate.
12837 * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12838 Improve implementation.
12839 (tramp-sh-gvfs-monitor-dir-process-filter): Rename from
12840 `tramp-sh-file-gvfs-monitor-dir-process-filter'. Delete process
12842 (tramp-sh-inotifywait-process-filter): Rename from
12843 `tramp-sh-file-inotifywait-process-filter'. Delete process if
12846 * lisp/net/tramp.el (tramp-handle-file-notify-rm-watch):
12847 Use `delete-process'.
12848 (tramp-handle-file-notify-valid-p): Check also, that file or
12849 directory to be watched still exists.
12851 * test/automated/file-notify-tests.el (file-notify--test-timeout):
12852 New defun. Use it at all places a timeout is needed.
12853 (file-notify--test-cleanup): Delete directories recursively.
12854 Cleanup also Tramp connections.
12855 (file-notify-test02-events): Add tests for `attribute-change'.
12856 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
12857 Add tests for `file-notify-rm-watch'.
12859 2015-09-20 Paul Eggert <eggert@cs.ucla.edu>
12861 Use %s to format strings instead of splicing them
12863 If FOO might contain quotes that are part of a file or variable
12864 name, the quotes should not be translated when showing FOO’s name
12865 in a diagnostic. So, for example, (message (concat (FOO ": bar")))
12866 is not quite right, as it would translate FOO’s quotes.
12867 Change it to (message "%s: bar" FOO) instead.
12868 * lisp/allout.el (allout-process-exposed):
12869 * lisp/calc/calc-ext.el (calc-do-prefix-help):
12870 * lisp/calc/calc-store.el (calc-store-into):
12871 * lisp/calendar/todo-mode.el (todo-category-completions):
12872 * lisp/cedet/semantic/complete.el (semantic-completion-message):
12873 * lisp/org/ob-latex.el (convert-pdf):
12874 * lisp/org/org-crypt.el (org-crypt-check-auto-save):
12875 * lisp/org/ox-latex.el (org-latex-compile):
12876 * lisp/org/ox-man.el (org-man-compile):
12877 * lisp/org/ox-odt.el (org-odt--export-wrap):
12878 * lisp/org/ox-texinfo.el (org-texinfo-compile):
12879 * lisp/progmodes/ruby-mode.el (ruby-in-ppss-context-p):
12880 * lisp/progmodes/verilog-mode.el (verilog-batch-execute-func)
12881 (verilog-signals-combine-bus, verilog-read-defines)
12882 (verilog-getopt-file, verilog-expand-dirnames)
12883 (verilog-modi-lookup, verilog-modi-modport-lookup-one):
12884 * lisp/term/ns-win.el (ns-spi-service-call):
12885 Use %s to avoid translating quotes of file names etc. in diagnostics.
12887 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12889 * lisp/progmodes/js.el (js--syntax-begin-function): Remove.
12890 (js-mode): Don't set syntax-begin-function.
12892 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12894 * lisp/font-lock.el (font-lock-compile-keywords): Don't assume
12895 syntax-begin-function is a symbol.
12897 2015-09-20 Eli Zaretskii <eliz@gnu.org>
12899 Improve documentation of 'run-at-time'
12900 * lisp/emacs-lisp/timer.el (run-at-time): Improve the doc string.
12901 In particular, don't refer to 'diary-entry-time', because it is
12902 unavailable until diary-lib is loaded. Also, refer to
12903 'timer-duration-words', not 'timer-duration', as the latter's doc
12904 string says nothing about the accepted strings.
12906 2015-09-19 Jay Belanger <jay.p.belanger@gmail.com>
12908 * lisp/calc/calc-ext.el (calc-do-prefix-help): Tidy up error message.
12910 2015-09-19 Ken Manheimer <ken.manheimer@gmail.com>
12912 Repair pdbtrack remote file tracking
12913 * lisp/progmodes/python.el (python-pdbtrack-set-tracked-buffer):
12914 Rectify pdbtrack so it follows transitions from one remote source
12917 2015-09-19 Artur Malabarba <bruce.connor.am@gmail.com>
12919 * lisp/emacs-lisp/timer.el (run-at-time): Docstring formatting.
12921 2015-09-19 Eli Zaretskii <eliz@gnu.org>
12923 Adapt vc-src to the old-new vc-checkin API
12924 * lisp/vc/vc-src.el (vc-src-checkin): Accept and ignore an
12925 additional optional parameter.
12927 2015-09-19 Simen Heggestøyl <simenheg@gmail.com>
12929 Add overflow module to CSS property list
12930 * lisp/textmodes/css-mode.el (css-property-ids): Add properties
12931 from CSS Overflow Module Level 3.
12933 2015-09-19 Eli Zaretskii <eliz@gnu.org>
12935 Fix documentation of "C-u C-x v v"
12936 * doc/emacs/maintaining.texi (Advanced C-x v v): Make the
12937 documentation of "C-u C-x v v" match what the code does.
12939 Resurrect the ability to specify a revision in vc-next-action
12940 * lisp/vc/vc-bzr.el (vc-bzr-checkin):
12941 * lisp/vc/vc-dav.el (vc-dav-checkin):
12942 * lisp/vc/vc-git.el (vc-git-checkin):
12943 * lisp/vc/vc-hg.el (vc-hg-checkin):
12944 * lisp/vc/vc-mtn.el (vc-mtn-checkin): Accept and silently ignore
12945 an additional optional argument, the revision to checkin.
12946 * lisp/vc/vc-sccs.el (vc-sccs-checkin):
12947 * lisp/vc/vc-cvs.el (vc-cvs-checkin):
12948 * lisp/vc/vc-rcs.el (vc-rcs-checkin): Allow to optionally specify
12949 a revision to checkin.
12950 * lisp/vc/vc.el (vc-next-action): Allow to optionally specify the
12951 revision when checking in files.
12952 See http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00688.html
12955 2015-09-18 Wilson Snyder <wsnyder@wsnyder.org>
12957 * lisp/progmodes/verilog-mode.el (verilog-forward-sexp-function)
12958 (verilog-decls-princ, verilog-modport-princ)
12959 (verilog-modi-modport-lookup-one): Fix checkdoc warnings.
12961 2015-09-17 Jay Belanger <jay.p.belanger@gmail.com>
12963 Fix the routine for help on Calc's prefixes
12964 * lisp/calc/calc-ext.el (calc-prefix-help-retry): New variable.
12965 (calc-do-prefix-help): Use `read-char' to determine the next Calc
12968 2015-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
12970 * lisp/font-lock.el (font-lock-beginning-of-syntax-function): Remove.
12971 (font-lock-fontify-block): Don't let-bind it.
12972 (font-lock-compile-keywords): Don't use it.
12973 (font-lock-set-defaults): Don't set it. Allow the variable alist to
12974 start one slot earlier, instead.
12975 * lisp/emacs-lisp/syntax.el (font-lock-beginning-of-syntax-function):
12977 (syntax-ppss): Don't use it either.
12978 * lisp/font-core.el (font-lock-defaults): Remove SYNTAX-BEGIN
12980 * doc/emacs/display.texi (Font Lock): Don't mention
12981 font-lock-beginning-of-syntax-function.
12982 * doc/lispref/modes.texi (Font Lock Basics): Update description of
12983 font-lock-defaults.
12984 (Syntactic Font Lock): Remove font-lock-beginning-of-syntax-function.
12985 * lisp/loadhist.el (unload-feature-special-hooks):
12986 Remove font-lock-beginning-of-syntax-function.
12987 * lisp/obsolete/lazy-lock.el (lazy-lock-fontify-region):
12988 * lisp/emacs-lisp/lisp.el (beginning-of-defun-raw): Don't let-bind
12989 font-lock-beginning-of-syntax-function.
12991 2015-09-17 Paul Eggert <eggert@cs.ucla.edu>
12993 Backslash cleanup in Elisp source files
12994 This patch should not change behavior. It typically omits backslashes
12995 where they are redundant (e.g., in the string literal "^\$").
12996 In a few places, insert backslashes where they make regular
12997 expressions clearer: e.g., replace "^\*" (equivalent to "^*") with
12998 "^\\*", which has the same effect as a regular expression.
12999 Also, use ‘\ %’ instead of ‘\%’ when avoiding confusion with SCCS IDs,
13000 and similarly use ‘\ $’ instead of ‘\$’ when avoiding confusion with
13001 RCS IDs, as that makes it clearer that the backslash is intended.
13003 Some more minor backslash fixes
13004 * test/automated/compile-tests.el (compile-tests--test-regexps-data):
13005 * test/automated/info-xref.el (info-xref-test-write-file):
13006 Double backslashes in strings.
13008 Fix several backslash typos in Elisp strings
13009 * lisp/calendar/todo-mode.el (todo-files, todo-rename-file)
13010 (todo-find-filtered-items-file, todo-reset-nondiary-marker)
13011 (todo-reset-done-string, todo-reset-comment-string)
13012 (todo-reset-highlight-item):
13013 * lisp/erc/erc-networks.el (erc-networks-alist):
13014 * lisp/gnus/gnus-art.el (gnus-button-handle-library):
13015 * lisp/gnus/gnus-group.el (gnus-read-ephemeral-gmane-group-url):
13016 * lisp/gnus/nntp.el (nntp-via-shell-prompt)
13017 (nntp-telnet-shell-prompt):
13018 * lisp/gnus/spam-report.el (spam-report-gmane-regex):
13019 * lisp/image-dired.el (image-dired-rotate-original):
13020 (image-dired-get-exif-file-name):
13021 * lisp/international/latin1-disp.el (latin1-display-ucs-per-lynx):
13022 * lisp/mail/undigest.el (rmail-digest-parse-rfc1153strict):
13023 * lisp/mh-e/mh-letter.el (mh-file-is-vcard-p):
13024 * lisp/mh-e/mh-mime.el (mh-file-mime-type-substitutions):
13025 * lisp/net/shr-color.el (shr-color->hexadecimal):
13026 * lisp/org/org-bibtex.el (org-bibtex-fields):
13027 * lisp/org/org-docview.el (org-docview-export):
13028 * lisp/org/org-entities.el (org-entities):
13029 * lisp/org/ox-icalendar.el (org-icalendar-cleanup-string):
13030 * lisp/progmodes/cperl-mode.el (cperl-indent-exp):
13031 * lisp/progmodes/ebnf2ps.el (ebnf-file-suffix-regexp)
13032 (ebnf-style-database):
13033 * lisp/progmodes/idlw-help.el (idlwave-do-context-help1):
13034 * lisp/progmodes/ruby-mode.el (ruby-imenu-create-index-in-block):
13035 * lisp/progmodes/sql.el (sql-product-alist):
13036 * lisp/progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist)
13037 (verilog-error-font-lock-keywords)
13038 (verilog-assignment-operator-re):
13039 * lisp/progmodes/vhdl-mode.el (vhdl-compiler-alist):
13040 * lisp/textmodes/reftex-parse.el (reftex-parse-from-file):
13041 * lisp/vc/add-log.el (change-log-version-number-regexp-list):
13042 Fix typo by replacing ‘\’ with ‘\\’ in a string literal.
13043 For example, to get the regular expression ‘\.’ use the string
13044 literal "\\.", not "\." (which is equivalent to ".").
13045 * lisp/emulation/viper-util.el (viper-glob-unix-files):
13046 Remove stray ‘\j’ from string.
13047 * lisp/gnus/nntp.el (nntp-via-shell-prompt)
13048 (nntp-telnet-shell-prompt):
13049 Treat > like $ when matching a shell prompt.
13050 * lisp/progmodes/make-mode.el (makefile-browse):
13051 Properly quote a diagnostic.
13053 Fix minor quoting problems in diagnostics
13054 * lisp/tutorial.el (tutorial--describe-nonstandard-key):
13055 * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
13056 Follow text-quoting-style in diagnostic, and quote a file name.
13058 2015-09-17 Eli Zaretskii <eliz@gnu.org>
13060 * doc/lispref/frames.texi (Cursor Parameters):
13061 Document 'x-stretch-cursor'.
13063 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
13065 Omit unnecessary \ before paren in C docstrings
13066 Although \( is needed in docstrings in Elisp code, it is not needed in
13067 docstrings in C code, since C function definitiions do not start with
13068 a parenthesis. The backslashes made the docstrings a bit harder to
13069 read and to format in columns. Also, some C docstrings had ( in
13070 column 1 and this did not appear to be causing any problems. So,
13071 simplify C docstrings by replacing \( with ( and \) with ).
13073 A few more minor quoting fixes in a script and a text file
13075 Minor quoting fixes in scripts and doc
13076 Prefer straight quotes in random script files, as they are not
13077 converted. Prefer grave quotes in a couple of places in the manual
13078 that were missed earlier, as these quotes are converted.
13080 Minor backslash fixes in manuals and scripts
13081 * Makefile.in (install-arch-indep):
13082 * admin/charsets/compact.awk:
13083 * admin/charsets/gb180302.awk (gb_to_index):
13084 * admin/charsets/gb180304.awk (gb_to_index):
13085 Avoid undefined behavior in Awk regular expression backslashes.
13086 * doc/misc/efaq.texi (Matching parentheses):
13087 Omit unnecessary backslashes.
13088 * doc/misc/gnus-faq.texi (FAQ 5-8):
13089 Avoid undefined behavior in suggested sed backslash usage.
13091 Add -Wswitch to --enable-gcc-warnings
13092 Make --enable-gcc-warnings a bit pickier, by also using -Wswitch.
13093 * configure.ac (WERROR_CFLAGS): Don’t add -Wno-switch.
13094 * lib-src/etags.c (main, consider_token, C_entries):
13095 * src/coding.c (encode_invocation_designation):
13096 * src/data.c (Ftype_of):
13097 * src/eval.c (Fdefvaralias, default_toplevel_binding)
13098 (Fbacktrace__locals, mark_specpdl):
13099 * src/lisp.h (record_xmalloc):
13100 * src/syntax.c (scan_lists, scan_sexps_forward):
13101 * src/window.c (window_relative_x_coord):
13102 * src/xdisp.c (push_it, pop_it):
13103 * src/xterm.c (xg_scroll_callback, x_check_fullscreen):
13104 Error out or do nothing (as appropriate) if a switch statement
13105 with an enum value does not cover all of the enum.
13106 * src/dispextern.h (struct iterator_stack_entry.u.comp):
13107 Remove unused member discovered by using -Wswitch.
13108 * src/lisp.h (record_xmalloc): Add a ‘+ 0’ to pacify -Wswitch.
13109 * src/vm-limit.c (check_memory_limits):
13110 Simplify warning-diagnostic computation by using a table.
13112 etags ‘fatal’ function is now printf-like
13113 * lib-src/etags.c (fatal): Now printf-like. All callers changed.
13114 Also, now static; not clear why it needed to be extern.
13115 (verror): New function, with most of the old contents of ‘error’.
13116 (fatal, error): Use it.
13118 2015-09-16 Eli Zaretskii <eliz@gnu.org>
13120 More adaptations in file-notify-tests.el
13121 * test/automated/file-notify-tests.el
13122 (file-notify-test05-dir-validity): Skip for w32notify in
13123 batch-mode. (Bug#21432)
13125 2015-09-16 Michael Albinus <michael.albinus@gmx.de>
13127 Adapt test in file-notify-tests.el
13128 * test/automated/file-notify-tests.el
13129 (file-notify-test04-file-validity): Skip for w32notify in
13130 batch-mode. Add test lost last commit.
13132 2015-09-16 Dima Kogan <dima@secretsauce.net>
13134 winner no longer holds on to dead frames
13135 * lisp/winner.el (winner-change-fun): Cull dead frames.
13136 This prevents a potentially massive memory leak. See:
13137 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00619.html
13139 2015-09-16 Michael Albinus <michael.albinus@gmx.de>
13141 Use common report_file_notify_error function
13142 * src/fileio.c (report_file_notify_error): New function.
13143 * src/inotify.c (report_inotify_error): Remove function.
13144 (inotify_callback, symbol_to_inotifymask, Finotify_add_watch)
13145 (Finotify_rm_watch): Use report_file_notify_error.
13146 * src/lisp.h (report_file_notify_error): Declare external function.
13147 * src/w32notify.c (report_w32notify_error): Remove function.
13148 (Fw32notify_add_watch, Fw32notify_rm_watch):
13149 Use report_file_notify_error.
13151 2015-09-16 Jay Belanger <jay.p.belanger@gmail.com>
13154 * doc/misc/calc.texi (Single-Variable Statistics): Fix the wording of
13155 the documentation of the root mean square.
13157 2015-09-16 Martin Rudalics <rudalics@gmx.at>
13159 Remove tool_bar_redisplayed_once and associated code.
13160 * src/frame.h (tool_bar_redisplayed_once): Remove slot.
13161 * src/frame.c (make_frame, x_set_font): Remove initialization of
13162 f->tool_bar_redisplayed_once.
13163 * src/w32fns.c (x_change_tool_bar_height):
13164 * src/xfns.c (x_change_tool_bar_height): Don't check for
13165 f->tool_bar_redisplayed_once.
13166 * src/xdisp.c (redisplay_internal): Remove handling of
13167 f->tool_bar_redisplayed_once.
13169 2015-09-16 Eli Zaretskii <eliz@gnu.org>
13171 Restore some of the quoting in the manuals
13172 * doc/lispref/windows.texi (Coordinates and Windows)
13173 (Coordinates and Windows):
13174 * doc/lispref/variables.texi (Lexical Binding)
13175 (File Local Variables):
13176 * doc/lispref/text.texi (Format Properties):
13177 * doc/lispref/symbols.texi (Symbol Components):
13178 * doc/lispref/strings.texi (Creating Strings):
13179 * doc/lispref/sequences.texi (Sequence Functions):
13180 * doc/lispref/searching.texi (Regexp Special, Regexp Search)
13181 (Search and Replace):
13182 * doc/lispref/processes.texi (Bindat Spec):
13183 * doc/lispref/os.texi (Idle Timers):
13184 * doc/lispref/objects.texi (Basic Char Syntax):
13185 * doc/lispref/numbers.texi (Float Basics, Random Numbers):
13186 * doc/lispref/nonascii.texi (Character Properties):
13187 * doc/lispref/modes.texi (Major Mode Conventions, Mode Hooks)
13188 (Mode Line Variables):
13189 * doc/lispref/minibuf.texi (Text from Minibuffer):
13190 * doc/lispref/loading.texi (Autoload):
13191 * doc/lispref/keymaps.texi (Controlling Active Maps):
13192 * doc/lispref/frames.texi (Frame Layout, Size and Position)
13193 (Size Parameters, Implied Frame Resizing):
13194 * doc/lispref/files.texi (Changing Files, Magic File Names):
13195 * doc/lispref/eval.texi (Self-Evaluating Forms):
13196 * doc/lispref/display.texi (Progress, Abstract Display)
13197 (Abstract Display Example, Bidirectional Display):
13198 * doc/lispref/commands.texi (Event Mod):
13199 * doc/emacs/windows.texi (Displaying Buffers):
13200 * doc/emacs/trouble.texi (Bug Criteria, Checklist):
13201 * doc/emacs/text.texi (Enriched Text):
13202 * doc/emacs/programs.texi (MixedCase Words):
13203 * doc/emacs/picture-xtra.texi (Insert in Picture)
13205 * doc/emacs/misc.texi (Emacs Server, Printing):
13206 * doc/emacs/mini.texi (Minibuffer History):
13207 * doc/emacs/maintaining.texi (Old Revisions, VC Change Log)
13208 (Pulling / Pushing):
13209 * doc/emacs/killing.texi (Yanking, Cut and Paste, Clipboard):
13210 * doc/emacs/help.texi (Help, Help Echo):
13211 * doc/emacs/glossary.texi (Glossary):
13212 * doc/emacs/frames.texi (Mouse Commands, Creating Frames)
13214 * doc/emacs/files.texi (Reverting, Saving, Directories):
13215 * doc/emacs/entering.texi (Exiting):
13216 * doc/emacs/emacs.texi (Top):
13217 * doc/emacs/cmdargs.texi (Window Size X, Icons X):
13218 * doc/emacs/anti.texi (Antinews): Restore quoting of text where
13219 appropriate or replace quoting with @dfn.
13220 * doc/misc/ediff.texi (Window and Frame Configuration):
13221 * doc/lispref/processes.texi (Network Feature Testing):
13222 * doc/lispref/display.texi (Display Margins): Quote the phrase
13223 after "a.k.a." where appropriate.
13225 2015-09-16 Tassilo Horn <tsdh@gnu.org>
13227 Clarify reftex-extra-bindings docs
13228 * lisp/textmodes/reftex-vars.el (reftex-extra-bindings):
13229 * doc/misc/reftex.texi (Key Bindings): Document that the variable
13230 only has an effect at load-time.
13232 2015-09-16 Daniel McClanahan <danieldmcclanahan@gmail.com> (tiny change)
13234 * lisp/emacs-lisp/lisp-mode.el (lisp--el-match-keyword): Fix
13235 search argument. (Bug#21492) (Bug#21493)
13237 2015-09-16 Tassilo Horn <tsdh@gnu.org>
13239 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
13240 Add pretty symbols for \qquad and \varrho.
13242 2015-09-15 Jay Belanger <jay.p.belanger@gmail.com>
13244 Add new functions for the root mean square of a (Calc) vector
13245 * lisp/calc/calc-stat.el (calcFunc-rms, calc-vector-rms):
13247 * lisp/calc/calc-ext.el (calc-init-extensions): Add keybinding for
13248 `calc-vector-rms', add autoloads for `calc-vector-rms' and
13250 * lisp/calc/calc-map.el (calc-u-oper-keys): Add entry for
13252 * lisp/calc/calc-menu.el (calc-vectors-menu): Add entry for
13254 * doc/misc/calc.texi (Single-Variable Statistics): Document the rms
13257 2015-09-15 Stephen Leake <stephen_leake@stephe-leake.org>
13259 Add monotone EDE generic project
13260 * lisp/cedet/ede/generic.el (ede-enable-generic-projects):
13261 Add monotone generic project.
13263 Revert premature commit
13264 * doc/lispref/files.texi: Revert premature commit of change to
13265 file-name-all-completions.
13267 Fix a bug in elisp--xref-find-definitions related to cl-generic defaults
13268 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Fix bug
13269 with cl-generic defaults.
13270 (elisp--xref-find-references): Add doc string.
13271 * test/automated/elisp-mode-tests.el (xref-elisp-generic-*): Improve
13274 Fix bugs in eieio-oref-default related to class symbols
13275 * lisp/emacs-lisp/eieio-core.el (class-p): Handle symbol properly.
13276 (eieio-oref-default): Handle class properly.
13278 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
13280 Quote “fullboth” when defining it
13281 * doc/lispref/frames.texi (Size Parameters): Use @dfn for “fullboth”
13282 and rewrite the containing paragraph, which was awkward. (Bug#21472).
13284 2015-09-15 Eli Zaretskii <eliz@gnu.org>
13286 Minor doc fix in emacs/ack.texi
13287 * doc/emacs/ack.texi (Acknowledgments): Fix an xref missing the
13290 2015-09-15 Michael Albinus <michael.albinus@gmx.de>
13292 Adapt tests in auto-revert-tests.el
13293 * test/automated/auto-revert-tests.el (auto-revert--timeout):
13294 Make it a defconst.
13295 (auto-revert--wait-for-revert): New defun.
13296 (auto-revert-test00-auto-revert-mode)
13297 (auto-revert-test01-auto-revert-tail-mode)
13298 (auto-revert-test02-auto-revert-mode-dired): Use it.
13300 2015-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
13302 * lisp/emacs-lisp/lisp-mode.el (lisp-mode-symbol-regexp): New const.
13303 Use it everywhere "\\(\\sw\\|\\s_\\|\\\\.\\)+" was used.
13304 (cl-lib-fdefs): Add defgeneric.
13305 (cl-kw): Add all elements of eieio-kw and cl-lib-kw.
13306 (eieio-kw, cl-lib-kw, el-kw): Remove.
13308 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
13310 Quote less in manuals
13311 The manuals often used quotes ``...'' when it is better to use @dfn or
13312 @code or capitalized words or no quoting at all. For example, there is
13313 no need for the `` and '' in “if a variable has one effect for
13314 @code{nil} values and another effect for ``non-@code{nil}'' values”.
13315 Reword the Emacs, Lisp intro, and Lisp reference manuals to eliminate
13316 unnecessary quoting like this, and to use @dfn etc. instead when called
13319 2015-09-15 Mark Oteiza <mvoteiza@udel.edu>
13321 * lisp/custom.el (load-theme): Only compute hash when needed.
13323 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
13325 Pacify --enable-gcc-warnings
13326 * src/inotify.c (report_inotify_error): Declare it _Noreturn.
13328 2015-09-15 Michael Albinus <michael.albinus@gmx.de>
13330 Improve error reports in inotify.c
13331 * src/inotify.c (report_inotify_error): New function. Clone of
13332 report_w32notify_error.
13333 (inotify_callback, symbol_to_inotifymask, Finotify_add_watch)
13334 (Finotify_rm_watch): Use it.
13336 2015-09-15 Eli Zaretskii <eliz@gnu.org>
13338 Fix the file-notify tests for watch validation on w32
13339 * test/automated/file-notify-tests.el
13340 (file-notify-test04-file-validity): Move the directory deletion
13341 out of the file-notify--test-with-events macro.
13342 (file-notify-test04-file-validity)
13343 (file-notify-test05-dir-validity): Enlarge the timeout of
13344 read-event to 0.5, as 0.1 is borderline on w32. (Bug#21432)
13346 2015-09-15 Tassilo Horn <tsdh@gnu.org>
13348 Use OPEN BOX instead of space for \quad.
13349 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Use OPEN BOX
13350 character for \quad instead of a space.
13352 2015-09-15 Eli Zaretskii <eliz@gnu.org>
13354 Add missing *.pbm images
13355 * etc/images/connect.pbm: New file.
13356 * etc/images/custom/down-pushed.pbm: New file.
13357 * etc/images/custom/down.pbm: New file.
13358 * etc/images/custom/right-pushed.pbm: New file.
13359 * etc/images/custom/right.pbm: New file.
13360 * etc/images/describe.pbm: New file.
13361 * etc/images/disconnect.pbm: New file.
13362 * etc/images/ezimage/bits.pbm: New file.
13363 * etc/images/ezimage/bitsbang.pbm: New file.
13364 * etc/images/ezimage/box-minus.pbm: New file.
13365 * etc/images/ezimage/box-plus.pbm: New file.
13366 * etc/images/ezimage/box.pbm: New file.
13367 * etc/images/ezimage/checkmark.pbm: New file.
13368 * etc/images/ezimage/dir-minus.pbm: New file.
13369 * etc/images/ezimage/dir-plus.pbm: New file.
13370 * etc/images/ezimage/dir.pbm: New file.
13371 * etc/images/ezimage/doc-minus.pbm: New file.
13372 * etc/images/ezimage/doc-plus.pbm: New file.
13373 * etc/images/ezimage/doc.pbm: New file.
13374 * etc/images/ezimage/info.pbm: New file.
13375 * etc/images/ezimage/key.pbm: New file.
13376 * etc/images/ezimage/label.pbm: New file.
13377 * etc/images/ezimage/lock.pbm: New file.
13378 * etc/images/ezimage/mail.pbm: New file.
13379 * etc/images/ezimage/page-minus.pbm: New file.
13380 * etc/images/ezimage/page-plus.pbm: New file.
13381 * etc/images/ezimage/page.pbm: New file.
13382 * etc/images/ezimage/tag-gt.pbm: New file.
13383 * etc/images/ezimage/tag-minus.pbm: New file.
13384 * etc/images/ezimage/tag-plus.pbm: New file.
13385 * etc/images/ezimage/tag-type.pbm: New file.
13386 * etc/images/ezimage/tag-v.pbm: New file.
13387 * etc/images/ezimage/tag.pbm: New file.
13388 * etc/images/ezimage/unlock.pbm: New file.
13389 * etc/images/gnus/important.pbm: New file.
13390 * etc/images/gnus/mail-send.pbm: New file.
13391 * etc/images/gnus/receipt.pbm: New file.
13392 * etc/images/gnus/toggle-subscription.pbm: New file.
13393 * etc/images/gnus/unimportant.pbm: New file.
13394 * etc/images/gud/all.pbm: New file.
13395 * etc/images/gud/rcont.pbm: New file.
13396 * etc/images/gud/recstart.pbm: New file.
13397 * etc/images/gud/recstop.pbm: New file.
13398 * etc/images/gud/rfinish.pbm: New file.
13399 * etc/images/gud/rnext.pbm: New file.
13400 * etc/images/gud/rnexti.pbm: New file.
13401 * etc/images/gud/rstep.pbm: New file.
13402 * etc/images/gud/rstepi.pbm: New file.
13403 * etc/images/gud/thread.pbm: New file.
13404 * etc/images/lock-broken.pbm: New file.
13405 * etc/images/lock-ok.pbm: New file.
13406 * etc/images/lock.pbm: New file.
13407 * etc/images/mail/copy.pbm: New file.
13408 * etc/images/mail/forward.pbm: New file.
13409 * etc/images/mail/not-spam.pbm: New file.
13410 * etc/images/mail/outbox.pbm: New file.
13411 * etc/images/mail/preview.pbm: New file.
13412 * etc/images/mail/save-draft.pbm: New file.
13413 * etc/images/mh-logo.pbm: New file.
13414 * etc/images/mpc/add.pbm: New file.
13415 * etc/images/mpc/ffwd.pbm: New file.
13416 * etc/images/mpc/next.pbm: New file.
13417 * etc/images/mpc/pause.pbm: New file.
13418 * etc/images/mpc/play.pbm: New file.
13419 * etc/images/mpc/prev.pbm: New file.
13420 * etc/images/mpc/rewind.pbm: New file.
13421 * etc/images/mpc/stop.pbm: New file.
13422 * etc/images/redo.pbm: New file.
13423 * etc/images/smilies/braindamaged.pbm: New file.
13424 * etc/images/smilies/cry.pbm: New file.
13425 * etc/images/smilies/dead.pbm: New file.
13426 * etc/images/smilies/evil.pbm: New file.
13427 * etc/images/smilies/forced.pbm: New file.
13428 * etc/images/smilies/grin.pbm: New file.
13429 * etc/images/smilies/indifferent.pbm: New file.
13430 * etc/images/sort-ascending.pbm: New file.
13431 * etc/images/sort-column-ascending.pbm: New file.
13432 * etc/images/sort-criteria.pbm: New file.
13433 * etc/images/sort-descending.pbm: New file.
13434 * etc/images/sort-row-ascending.pbm: New file.
13435 * etc/images/unchecked.pbm: New file.
13436 * etc/images/zoom-in.pbm: New file.
13437 * etc/images/README: Update instructions for PBM files.
13439 Add separator.pbm tool-bar image
13440 * etc/images/separator.pbm: New file. Having it avoids the side
13441 effect of changing the tool-bar height when the default font's size
13442 changes and XPM image support is not available, due to the SPC
13443 characters that are left in the Lisp string used to display the tool
13444 bar, because there are no images to display instead of those SPC
13447 Make show-paren-match face visible on mono-color displays
13448 * lisp/faces.el (show-paren-match): Use the underline face for
13449 mono-color displays. (Bug#21481)
13451 2015-09-14 Paul Eggert <eggert@cs.ucla.edu>
13453 Don’t double-encode non-ASCII mail clipboard
13454 * lisp/mail/mailclient.el (mailclient-send-it):
13455 Also fix the case when mailclient-place-body-on-clipboard-flag
13456 is non-nil. Problem reported by Eli Zaretskii (Bug#21471#37).
13458 2015-09-14 Michael Albinus <michael.albinus@gmx.de>
13460 Adapt file-notify-tests.el test cases
13461 * lisp/filenotify.el (file-notify-rm-watch): Ignore `file-notify-error'.
13462 * src/inotify.c (Finotify_valid_p): Adapt docstring.
13463 * test/automated/file-notify-tests.el
13464 (file-notify-test03-autorevert)
13465 (file-notify-test04-file-validity)
13466 (file-notify-test04-file-validity-remote)
13467 (file-notify-test05-dir-validity)
13468 (file-notify-test05-dir-validity-remote): Adapt docstring.
13469 (file-notify-test04-file-validity): Let events arrive before
13470 calling final `file-notify-valid-p'. Do not ignore errors.
13471 (file-notify-test05-dir-validity): Do not manipulate
13472 `temporary-file-directory', it isn't necessary. Let events arrive
13473 before calling final `file-notify-valid-p'. Do not ignore errors.
13475 2015-09-14 Paul Eggert <eggert@cs.ucla.edu>
13477 Don’t double-encode non-ASCII for mail client
13478 * lisp/mail/mailclient.el (mailclient-encode-string-as-url):
13479 Use RFC 6068’s list of unreserved characters.
13480 (mailclient-send-it): When encoding the body as a URL,
13481 first decode it as per Content-Type: and Content-Transfer-Encoding:,
13482 as URLs must use percent-encoded UTF-8 (Bug#21471).
13483 * doc/misc/url.texi (mailto): Update RFC number.
13485 2015-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13487 * lisp/progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use dolist.
13489 2015-09-14 Alan Mackenzie <acm@muc.de>
13491 Replace `cadar' with `cadr/car', since `cadar' is problematic on Emacs
13492 (c-make-init-lang-vars-fun): Replace two occurrences of `cadar' with
13495 2015-09-14 Eli Zaretskii <eliz@gnu.org>
13497 Clarify documentation of char-table extra slots
13498 * doc/lispref/sequences.texi (Char-Tables): Clarify that extra
13499 slot numbers are zero-based. (Bug#21467)
13501 2015-09-14 Alan Mackenzie <acm@muc.de>
13503 Elisp mode: Make font-lock and imenu handle escaped characters in symbols
13505 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression)
13506 (lisp--el-match-keyword, lisp-el-font-lock-keywords-1)
13507 (lisp-cl-font-lock-keywords-1, lisp-el-font-lock-keywords-2)
13508 (lisp-cl-font-lock-keywords-2, lisp-string-in-doc-position-p):
13509 Insert "\\|\\\\." into regexps which match symbols.
13511 2015-09-14 Eli Zaretskii <eliz@gnu.org>
13513 Improve the doc string of w32notify-valid-p
13514 * src/w32notify.c (Fw32notify_valid_p): Mention in the doc string
13515 that removing a watch makes its object invalid.
13517 2015-09-14 Tassilo Horn <tsdh@gnu.org>
13519 Fix tests for file-notify-valid-p
13520 * test/automated/file-notify-tests.el (file-notify--test-cleanup):
13521 Use delete-directory to delete file-notify--test-tmpfile if it is
13522 a directory. Likewise for file-notify--test-tmpfile1.
13523 (file-notify-test04-file-validity)
13524 (file-notify-test05-dir-validity): Delete the parent directory of
13525 the test. Ignore errors when cleaning up after the test.
13527 2015-09-14 Eli Zaretskii <eliz@gnu.org>
13529 Report file-notify-error in w32notify.c
13530 * src/w32notify.c (report_w32notify_error): New function.
13531 (Fw32notify_add_watch, Fw32notify_rm_watch): Use it to report
13532 errors, instead of calling report_file_error. (Bug#21432)
13534 Implement w32notify-valid-p
13535 * src/w32notify.c (Fw32notify_valid_p): New function. (Bug#21432)
13536 * lisp/filenotify.el (w32notify-valid-p): No longer an alias for
13539 2015-09-14 Tassilo Horn <tsdh@gnu.org>
13541 Test file-notify-valid-p
13542 * test/automated/file-notify-tests.el
13543 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
13546 2015-09-13 Eli Zaretskii <eliz@gnu.org>
13548 Fix markup in ELisp manual
13549 * doc/lispref/frames.texi (Font and Color Parameters): Fix markup
13550 of the 'alpha' parameter value. (Bug#21470)
13552 2015-09-13 Michael Albinus <michael.albinus@gmx.de>
13554 Introduce `file-notify-valid-p'
13555 * lisp/filenotify.el (file-notify-valid-p): New defun.
13556 (gfile-valid-p, w32notify-valid-p): Make them an alias to `identity'.
13557 * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist)
13558 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
13559 * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist)
13560 * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist)
13561 <file-notify-valid-p>: Add handler.
13562 * lisp/net/tramp.el (tramp-file-name-for-operation):
13563 Add `file-notify-valid-p'.
13564 (tramp-handle-file-notify-valid-p): New defun.
13565 * src/inotify.c (Finotify_valid_p): New defun.
13566 (syms_of_inotify): Declare Sinotify_valid_p.
13568 2015-09-13 Paul Eggert <eggert@cs.ucla.edu>
13570 Port Unicode char detection to FreeBSD+svgalib
13571 Problem reported by Ashish SHUKLA in:
13572 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00531.html
13573 * configure.ac: Check for struct unipair.unicode instead of for
13574 <linux/kd.h>, since that’s more specific to what the code
13576 * src/terminal.c: Use HAVE_STRUCT_UNIPAIR_UNICODE, not HAVE_LINUX_KD_H.
13578 * src/indent.c (Fvertical_motion): Simplify bugfix (Bug#21468).
13580 2015-09-13 Eli Zaretskii <eliz@gnu.org>
13582 Fix vertical cursor motion across overlay strings with newlines
13583 * src/indent.c (Fvertical_motion): Don't leave point in the middle
13584 of an overlay string with newlines, as that will position the
13585 cursor after the string at whatever column is there. (Bug#21468)
13587 2015-09-12 Michael Albinus <michael.albinus@gmx.de>
13589 Fix tests in file-notify-tests.el
13590 * test/automated/file-notify-tests.el: Remove Tramp declarations.
13591 (file-notify-test00-availability): Print remote command w/o Tramp
13592 internal functions.
13593 (file-notify-test02-events, file-notify-test02-events-remote):
13595 (file-notify-test03-autorevert): Use `format-message' when
13596 inspecting *Messages* buffer.
13598 2015-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13600 Bind inhibit-modification-hooks rather than a/b-c-f
13601 * lisp/wid-edit.el (widget-editable-list-insert-before)
13602 (widget-editable-list-delete-at):
13603 * lisp/progmodes/cperl-mode.el (cperl-find-pods-heres)
13604 (cperl-font-lock-unfontify-region-function):
13605 * lisp/progmodes/antlr-mode.el (save-buffer-state-x):
13606 * lisp/obsolete/longlines.el (longlines-mode):
13607 * lisp/obsolete/fast-lock.el (save-buffer-state):
13608 * lisp/mouse.el (mouse-save-then-kill-delete-region):
13609 * lisp/gnus/message.el (message-hide-headers):
13610 * lisp/eshell/esh-mode.el (eshell-send-input, eshell-output-filter):
13611 * lisp/ibuffer.el (ibuffer-update-title-and-summary)
13612 (ibuffer-redisplay-engine): Bind inhibit-modification-hooks to t rather
13613 than after/before-change-functions to nil.
13615 2015-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
13617 (jit-lock-deferred-fontify): Pay attention to skipped redisplays
13618 * lisp/jit-lock.el (jit-lock-deferred-fontify): Make sure we refresh
13619 the buffers, even if the forced redisplay is interrupted.
13621 * lisp/emacs-lisp/eieio-core.el (class-p): Accept class objects
13623 Merge syntax-propertize--done and parse-sexp-propertize-done
13624 * lisp/emacs-lisp/syntax.el (syntax-propertize--done): Remove.
13625 (syntax-propertize): Set syntax-propertize--done even if
13626 syntax-propertize-function is nil. Avoid recursive invocations.
13627 (syntax-propertize-chunks): New var.
13628 (internal--syntax-propertize): Use it. Rename from syntax--jit-propertize.
13630 (parse-sexp-propertize-function): Don't set any more.
13631 * src/syntax.c (SETUP_SYNTAX_TABLE): Call parse_sexp_propertize as needed.
13632 (parse_sexp_propertize): Don't assume charpos is not yet propertized.
13633 Call Qinternal__syntax_propertize instead of
13634 Vparse_sexp_propertize_function. Truncate e_property if needed.
13635 (update_syntax_table_forward): Streamline.
13636 (syms_of_syntax): Define Qinternal__syntax_propertize.
13637 (syntax_propertize__done): Rename from parse_sexp_propertize_done.
13639 2015-09-11 Paul Eggert <eggert@cs.ucla.edu>
13641 Prefer straight quoting in some text files
13642 Mostly this just changes ` to ' in static text. Some exceptions:
13643 * INSTALL.REPO: Use curved quotes, as the diagnostic in question
13644 typically does that now.
13645 * admin/quick-install-emacs (TRY, top level):
13646 Use straight quoting in diagnostics.
13647 * src/README: Fix working-directory confusion.
13649 * CONTRIBUTE: Move send-email here from git-workflow.
13651 2015-09-11 Michael Albinus <michael.albinus@gmx.de>
13653 Improve file notifications in Tramp
13654 * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
13655 Set proper events to watch for.
13656 (tramp-sh-file-gvfs-monitor-dir-process-filter): Report only
13659 2015-09-11 Eli Zaretskii <eliz@gnu.org>
13661 Fix NS build with --enable-checking='glyphs'
13662 * src/nsfns.m (unwind_create_frame): Make the preprocessor
13663 conditionals for referencing 'dpyinfo' consistent throughout the
13664 function. (Bug#21426)
13666 2015-09-10 Nicolas Petton <nicolas@petton.fr>
13669 This function is similar to `seq-some' but returns the found element.
13670 In the cases where nil can be the found element, a sentinel optional
13671 argument can be provided to avoid ambiguities.
13672 * lisp/emacs-lisp/seq.el (seq-find): New function.
13673 * test/automated/seq-tests.el (test-seq-find): Add tests for `seq-find'.
13674 * doc/lispref/sequences.texi (Sequence Functions): Add documentation for
13677 2015-09-10 Tassilo Horn <tsdh@gnu.org>
13679 Document file-notify--test-with-events.
13680 * test/automated/file-notify-tests.el (file-notify--test-with-events):
13683 2015-09-10 Michael Albinus <michael.albinus@gmx.de>
13685 Report used native library in file-notify-tests.el
13686 * test/automated/file-notify-tests.el
13687 (tramp-get-remote-gvfs-monitor-dir)
13688 (tramp-get-remote-inotifywait): Declare them.
13689 (file-notify-test00-availability): Print used native library.
13691 2015-09-10 Mark Oteiza <mvoteiza@udel.edu>
13693 * lisp/mpc.el (mpc--proc-connect): Use file-name-absolute-p.
13694 (mpc-file-local-copy): Check for absolute path. Check more config
13697 2015-09-10 Eli Zaretskii <eliz@gnu.org>
13699 Improve documentation of categories
13700 * doc/lispref/syntax.texi (Categories): Clarify the example of
13701 using define-category and modify-category-entry. (Bug#21448)
13703 2015-09-10 Paul Eggert <eggert@cs.ucla.edu>
13705 Revert some stray curved quotes I missed earlier
13706 Problem reported by David Kastrup in:
13707 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00440.html
13708 * lisp/international/mule-cmds.el (leim-list-header):
13709 Use format-message with an ASCII-only format.
13711 Prefer NUMBERP to spelling it out
13712 * src/editfns.c (styled_format):
13713 * src/frame.h (NUMVAL):
13714 * src/image.c (parse_image_spec):
13715 * src/lisp.h (CHECK_NUMBER_OR_FLOAT)
13716 (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER):
13717 * src/process.c (Fsignal_process):
13718 * src/xdisp.c (calc_pixel_width_or_height, on_hot_spot_p):
13719 * src/xfaces.c (check_lface_attrs):
13720 * src/xselect.c (x_fill_property_data, x_send_client_event):
13721 Use NUMBERP rather than INTEGERP || FLOATP.
13723 2015-09-10 Tassilo Horn <tsdh@gnu.org>
13725 Improve file-notify-tests
13726 * test/automated/file-notify-tests.el: Use lexical-binding.
13727 (file-notify--test-cleanup): New function.
13728 (file-notify-test00-availability, file-notify-test01-add-watch)
13729 (file-notify-test02-events, file-notify-test03-autorevert): Use it.
13730 (file-notify--test-with-events): New macro.
13731 (file-notify-test02-events): Use it.
13733 2015-09-10 Paul Eggert <eggert@cs.ucla.edu>
13735 Add patch-sending instructions to git-workflow
13736 From a suggestion by Mitchel Humpherys in:
13737 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00421.html
13738 * admin/notes/git-workflow (Sending patches): New section.
13740 Port to GIFLIB 5.0.6 and later
13741 Problem reported by Mitchel Humpherys in:
13742 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00420.html
13743 * src/image.c (HAVE_GIFERRORSTRING) [HAVE_GIF]: New macro.
13744 (GifErrorString, init_gif_functions) [HAVE_GIF && WINDOWSNT]:
13745 (gif_load) [HAVE_GIF]: Use it.
13747 2015-09-10 Glenn Morris <rgm@gnu.org>
13749 * lisp/cedet/ede/auto.el (ede-project-autoload): Doc fix.
13751 2015-09-09 Glenn Morris <rgm@gnu.org>
13753 * test/automated/file-notify-tests.el (file-notify-test02-events):
13756 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
13758 Refix movemail GCC pacification
13759 Problem reported by Ken Brown in:
13760 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00406.html
13761 * lib-src/movemail.c (main): Fix previous change.
13763 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
13765 * lisp/calendar/time-date.el (time-to-seconds, time-less-p):
13766 Mark unused vars with underscore.
13768 * src/syntax.c (SETUP_SYNTAX_TABLE): Move truncation...
13769 (parse_sexp_propertize): ...from here.
13771 * lisp/filenotify.el: Use lexical-binding
13772 (file-notify-add-watch): Avoid add-to-list.
13774 2015-09-09 Tassilo Horn <tsdh@gnu.org>
13776 Start checking event types in file-notify tests
13777 * test/automated/file-notify-tests.el (file-notify--test-events):
13779 (file-notify--test-event-handler): Append received event to
13780 file-notify--test-events for later analysis.
13781 (file-notify-test02-events): Assert that the expected notifications have
13782 arrived in the expected order.
13784 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
13786 Merge from gnulib and texinfo
13788 2015-08-03 Improve port of stdalign to C++11
13789 * lib/stdalign.in.h: Copy from gnulib.
13790 * doc/misc/texinfo.tex: Copy from texinfo.
13792 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
13794 Make syntax.c call syntax-propertize on demand
13795 * lisp/emacs-lisp/syntax.el (syntax--jit-propertize): New function.
13796 (parse-sexp-propertize-function): Use it.
13797 (syntax-propertize): Disable parse-sexp-propertize-function.
13798 * src/syntax.c (parse_sexp_propertize, update_syntax_table_forward):
13800 (syms_of_syntax): New vars `parse-sexp-propertize-done' and
13801 `parse-sexp-propertize-function'.
13802 * src/syntax.h (struct gl_state_s): Add `e_property_truncated' field.
13803 (UPDATE_SYNTAX_TABLE_FORWARD): Use update_syntax_table_forward.
13804 (SETUP_BUFFER_SYNTAX_TABLE): Set e_property_truncated.
13805 * lisp/progmodes/elisp-mode.el (elisp-byte-code-syntax-propertize):
13806 Don't assume `point' is set.
13808 2015-09-09 Eli Zaretskii <eliz@gnu.org>
13810 Fix indentation of an @example in ELisp manual
13811 * doc/lispref/syntax.texi (Categories): Untabify the example.
13814 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
13816 Define internal-char-font even if --without-x
13817 The function is used now even in non-graphical environments.
13818 Problem reported by Glenn Morris in:
13819 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00401.html
13820 * src/font.c (Finternal_char_font): Move here ...
13821 * src/fontset.c (Finternal_char_font): ... from here.
13823 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
13825 * lisp/emacs-lisp/cl-generic.el (cl-generic-generalizers):
13828 2015-09-09 Eli Zaretskii <eliz@gnu.org>
13830 Fix display of complex local data types in GDB-MI
13831 * lisp/progmodes/gdb-mi.el (gdb-locals-handler-custom): If a
13832 variable has no value, display "<complex data type>" as a
13833 placeholder, instead of a confusing "nil". (Bug#21438)
13835 2015-09-09 Oleh Krehel <ohwoeowho@gmail.com>
13837 Remove redundant redefinition of seq-drop-while from seq.el
13838 * lisp/emacs-lisp/seq.el (seq-drop-while): Define only once.
13840 2015-09-09 Phil Sainty <psainty@orcon.net.nz>
13842 * lisp/emacs-lisp/package.el (package--ensure-init-file):
13843 More robust check for `package-initialize' calls in init file.
13844 This function accepts an optional argument, but calls passing
13845 an argument would not have been detected.
13847 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
13849 Port movemail to RHEL 6 with --enable-gcc-warnings
13850 * lib-src/movemail.c (main): Declare local only if needed.
13852 Port recent Linux console changes to RHEL 6
13853 * src/terminal.c [HAVE_LINUX_KD_H]: Include <sys/ioctl.h>.
13855 Improvements for curved quotes on Linux consule
13856 This should help Emacs work better out-of-the-box on Linux consoles,
13857 which have only limited support for displaying Unicode characters.
13858 Also, undo the recent change that caused text-quoting-style to
13859 affect quote display on terminals, so that the two features are
13860 independent. See Alan Mackenzie in:
13861 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00244.html
13862 Finally, add a style parameter to startup--setup-quote-display,
13863 so that this function can also be invoked after startup, with
13864 different styles depending on user preference at the time.
13865 * configure.ac: Check for linux/kd.h header.
13866 * doc/emacs/display.texi (Text Display): Document quote display.
13867 * doc/lispref/display.texi (Active Display Table):
13869 * lisp/startup.el (startup--setup-quote-display, command-line):
13870 text-quoting-style no longer affects quote display.
13871 * doc/lispref/frames.texi (Terminal Parameters): Fix typo.
13872 * lisp/international/mule-util.el (char-displayable-p):
13873 * lisp/startup.el (startup--setup-quote-display):
13874 On a text terminal supporting glyph codes, use the reported
13875 glyph codes instead of the terminal coding system, as this
13876 is more accurate on the Linux console.
13877 * lisp/startup.el (startup--setup-quote-display):
13878 New optional arg STYLE.
13879 * src/fontset.c (Finternal_char_font):
13880 Report glyph codes for a text terminal, if they are available.
13881 Currently this is supported only for the Linux console.
13882 * src/termhooks.h (struct terminal): New member glyph-code-table.
13883 * src/terminal.c [HAVE_LINUX_KD_H]: Include <errno.h>, <linux/kd.h>.
13884 (calculate_glyph_code_table) [HAVE_LINUX_KD_H]: New function.
13885 (terminal_glyph_code): New function.
13887 2015-09-08 Juri Linkov <juri@linkov.net>
13889 * lisp/info.el (Info-fontify-node): Don't stop at the non-title
13890 underline. (Bug#21433)
13892 2015-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
13894 * lisp/calendar/time-date.el (with-decoded-time-value): Fix debug spec.
13896 2015-09-08 Tassilo Horn <tsdh@gnu.org>
13898 Fix double-reporting of rename events with inotify
13899 * lisp/filenotify.el (file-notify-callback): Fix double-reporting
13900 of rename events with inotify (bug#21435).
13902 2015-09-08 Vasilij Schneidermann <v.schneidermann@gmail.com> (tiny change)
13904 * lisp/play/tetris.el (tetris-move-down): New command (bug#21360).
13905 (tetris-mode-map): Use it.
13907 2015-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
13909 Remove a few simple cases of global redisplay
13910 * src/dispnew.c (redraw_frame): Don't redisplay all frames.
13911 * src/xdisp.c (echo_area_display): Set the frame's `redisplay' bit
13912 rather than returning a "resized_p" boolean.
13913 (redisplay_internal): Adjust call accordingly.
13914 * src/xfaces.c (free_realized_faces): Don't redisplay all frames.
13915 (free_all_realized_faces): Set windows_or_buffers_changed so as to ease
13916 tracking of this undesirable situation.
13918 * src/process.c (status_notify): Avoid global redisplay (bug#11822)
13919 * src/process.c (status_notify): Only set the update_mode_line on the
13920 relevant buffers rather than setting it globally.
13922 2015-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13924 * lisp/electric.el (electric-quote-post-self-insert-function):
13925 Don't use syntax-ppss if comment-use-syntax is nil (e.g. message-mode).
13926 (electric-quote-mode): Activate everywhere in message-mode.
13928 2015-09-07 Paul Eggert <eggert@cs.ucla.edu>
13930 Go back to grave quoting in source-code docstrings etc.
13931 This reverts almost all my recent changes to use curved quotes
13932 in docstrings and/or strings used for error diagnostics.
13933 There are a few exceptions, e.g., Bahá’í proper names.
13934 * admin/unidata/unidata-gen.el (unidata-gen-table):
13935 * lisp/abbrev.el (expand-region-abbrevs):
13936 * lisp/align.el (align-region):
13937 * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet)
13938 (outlineify-sticky):
13939 * lisp/apropos.el (apropos-library):
13940 * lisp/bookmark.el (bookmark-default-annotation-text):
13941 * lisp/button.el (button-category-symbol, button-put)
13942 (make-text-button):
13943 * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
13944 * lisp/calc/calc-embed.el (calc-do-embedded):
13945 * lisp/calc/calc-ext.el (calc-user-function-list):
13946 * lisp/calc/calc-graph.el (calc-graph-show-dumb):
13947 * lisp/calc/calc-help.el (calc-describe-key)
13948 (calc-describe-thing, calc-full-help):
13949 * lisp/calc/calc-lang.el (calc-c-language)
13950 (math-parse-fortran-vector-end, math-parse-tex-sum)
13951 (math-parse-eqn-matrix, math-parse-eqn-prime)
13952 (calc-yacas-language, calc-maxima-language, calc-giac-language)
13953 (math-read-giac-subscr, math-read-math-subscr)
13954 (math-read-big-rec, math-read-big-balance):
13955 * lisp/calc/calc-misc.el (calc-help, report-calc-bug):
13956 * lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
13957 (calc-auto-recompute):
13958 * lisp/calc/calc-prog.el (calc-fix-token-name)
13959 (calc-read-parse-table-part, calc-user-define-invocation)
13960 (math-do-arg-check):
13961 * lisp/calc/calc-store.el (calc-edit-variable):
13962 * lisp/calc/calc-units.el (math-build-units-table-buffer):
13963 * lisp/calc/calc-vec.el (math-read-brackets):
13964 * lisp/calc/calc-yank.el (calc-edit-mode):
13965 * lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
13966 * lisp/calendar/appt.el (appt-display-message):
13967 * lisp/calendar/diary-lib.el (diary-check-diary-file)
13968 (diary-mail-entries, diary-from-outlook):
13969 * lisp/calendar/icalendar.el (icalendar-export-region)
13970 (icalendar--convert-float-to-ical)
13971 (icalendar--convert-date-to-ical)
13972 (icalendar--convert-ical-to-diary)
13973 (icalendar--convert-recurring-to-diary)
13974 (icalendar--add-diary-entry):
13975 * lisp/calendar/time-date.el (format-seconds):
13976 * lisp/calendar/timeclock.el (timeclock-mode-line-display)
13977 (timeclock-make-hours-explicit, timeclock-log-data):
13978 * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
13979 (todo-item-mark, todo-check-format)
13980 (todo-insert-item--next-param, todo-edit-item--next-key)
13982 * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
13983 * lisp/cedet/mode-local.el (describe-mode-local-overload)
13984 (mode-local-print-binding, mode-local-describe-bindings-2):
13985 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
13986 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
13987 * lisp/cus-start.el (standard):
13988 * lisp/cus-theme.el (describe-theme-1):
13989 * lisp/custom.el (custom-add-dependencies, custom-check-theme)
13990 (custom--sort-vars-1, load-theme):
13991 * lisp/descr-text.el (describe-text-properties-1, describe-char):
13992 * lisp/dired-x.el (dired-do-run-mail):
13993 * lisp/dired.el (dired-log):
13994 * lisp/emacs-lisp/advice.el (ad-read-advised-function)
13995 (ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
13996 (ad-disable-advice, ad-remove-advice, ad-set-argument)
13997 (ad-set-arguments, ad--defalias-fset, ad-activate)
13999 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
14000 (byte-compile-unfold-lambda, byte-optimize-form-code-walker)
14001 (byte-optimize-while, byte-optimize-apply):
14002 * lisp/emacs-lisp/byte-run.el (defun, defsubst):
14003 * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
14004 (byte-compile-log-file, byte-compile-format-warn)
14005 (byte-compile-nogroup-warn, byte-compile-arglist-warn)
14006 (byte-compile-cl-warn)
14007 (byte-compile-warn-about-unresolved-functions)
14008 (byte-compile-file, byte-compile--declare-var)
14009 (byte-compile-file-form-defmumble, byte-compile-form)
14010 (byte-compile-normal-call, byte-compile-check-variable)
14011 (byte-compile-variable-ref, byte-compile-variable-set)
14012 (byte-compile-subr-wrong-args, byte-compile-setq-default)
14013 (byte-compile-negation-optimizer)
14014 (byte-compile-condition-case--old)
14015 (byte-compile-condition-case--new, byte-compile-save-excursion)
14016 (byte-compile-defvar, byte-compile-autoload)
14017 (byte-compile-lambda-form)
14018 (byte-compile-make-variable-buffer-local, display-call-tree)
14019 (batch-byte-compile):
14020 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use):
14021 * lisp/emacs-lisp/chart.el (chart-space-usage):
14022 * lisp/emacs-lisp/check-declare.el (check-declare-scan)
14023 (check-declare-warn, check-declare-file)
14024 (check-declare-directory):
14025 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
14026 (checkdoc-message-text-engine):
14027 * lisp/emacs-lisp/cl-extra.el (cl-parse-integer)
14028 (cl--describe-class):
14029 * lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
14030 (cl--generic-describe, cl-generic-generalizers):
14031 * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
14032 (cl-symbol-macrolet):
14033 * lisp/emacs-lisp/cl.el (cl-unload-function, flet):
14034 * lisp/emacs-lisp/copyright.el (copyright)
14035 (copyright-update-directory):
14036 * lisp/emacs-lisp/edebug.el (edebug-read-list):
14037 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
14038 * lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
14040 * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
14041 * lisp/emacs-lisp/eieio-speedbar.el:
14042 (eieio-speedbar-child-make-tag-lines)
14043 (eieio-speedbar-child-description):
14044 * lisp/emacs-lisp/eieio.el (defclass, change-class):
14045 * lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
14046 (elint-init-form, elint-check-defalias-form)
14047 (elint-check-let-form):
14048 * lisp/emacs-lisp/ert.el (ert-get-test, ert-results-mode-menu)
14049 (ert-results-pop-to-backtrace-for-test-at-point)
14050 (ert-results-pop-to-messages-for-test-at-point)
14051 (ert-results-pop-to-should-forms-for-test-at-point)
14052 (ert-describe-test):
14053 * lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
14054 (find-function-library):
14055 * lisp/emacs-lisp/generator.el (iter-yield):
14056 * lisp/emacs-lisp/gv.el (gv-define-simple-setter):
14057 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
14058 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
14059 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
14060 * lisp/emacs-lisp/nadvice.el (advice--make-docstring)
14061 (advice--make, define-advice):
14062 * lisp/emacs-lisp/package-x.el (package-upload-file):
14063 * lisp/emacs-lisp/package.el (package-version-join)
14064 (package-disabled-p, package-activate-1, package-activate)
14065 (package--download-one-archive)
14066 (package--download-and-read-archives)
14067 (package-compute-transaction, package-install-from-archive)
14068 (package-install, package-install-selected-packages)
14069 (package-delete, package-autoremove, describe-package-1)
14070 (package-install-button-action, package-delete-button-action)
14071 (package-menu-hide-package, package-menu--list-to-prompt)
14072 (package-menu--perform-transaction)
14073 (package-menu--find-and-notify-upgrades):
14074 * lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
14075 * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
14076 * lisp/emacs-lisp/ring.el (ring-previous, ring-next):
14077 * lisp/emacs-lisp/rx.el (rx-check, rx-anything)
14078 (rx-check-any-string, rx-check-any, rx-check-not, rx-=)
14079 (rx-repeat, rx-check-backref, rx-syntax, rx-check-category)
14081 * lisp/emacs-lisp/smie.el (smie-config-save):
14082 * lisp/emacs-lisp/subr-x.el (internal--check-binding):
14083 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
14084 * lisp/emacs-lisp/testcover.el (testcover-1value):
14085 * lisp/emacs-lisp/timer.el (timer-event-handler):
14086 * lisp/emulation/viper-cmd.el (viper-toggle-parse-sexp-ignore-comments)
14087 (viper-toggle-search-style, viper-kill-buffer)
14088 (viper-brac-function):
14089 * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
14090 * lisp/env.el (setenv):
14091 * lisp/erc/erc-button.el (erc-nick-popup):
14092 * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login, english):
14093 * lisp/eshell/em-dirs.el (eshell/cd):
14094 * lisp/eshell/em-glob.el (eshell-glob-regexp)
14095 (eshell-glob-entries):
14096 * lisp/eshell/em-pred.el (eshell-parse-modifiers):
14097 * lisp/eshell/esh-opt.el (eshell-show-usage):
14098 * lisp/facemenu.el (facemenu-add-new-face)
14099 (facemenu-add-new-color):
14100 * lisp/faces.el (read-face-name, read-face-font, describe-face)
14101 (x-resolve-font-name):
14102 * lisp/files-x.el (modify-file-local-variable):
14103 * lisp/files.el (locate-user-emacs-file, find-alternate-file)
14104 (set-auto-mode, hack-one-local-variable--obsolete)
14105 (dir-locals-set-directory-class, write-file, basic-save-buffer)
14106 (delete-directory, copy-directory, recover-session)
14107 (recover-session-finish, insert-directory)
14108 (file-modes-char-to-who, file-modes-symbolic-to-number)
14109 (move-file-to-trash):
14110 * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer):
14111 * lisp/find-cmd.el (find-generic, find-to-string):
14112 * lisp/finder.el (finder-commentary):
14113 * lisp/font-lock.el (font-lock-fontify-buffer):
14114 * lisp/format.el (format-write-file, format-find-file)
14115 (format-insert-file):
14116 * lisp/frame.el (get-device-terminal, select-frame-by-name):
14117 * lisp/fringe.el (fringe--check-style):
14118 * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
14119 * lisp/help-fns.el (help-fns--key-bindings)
14120 (help-fns--compiler-macro, help-fns--parent-mode)
14121 (help-fns--obsolete, help-fns--interactive-only)
14122 (describe-function-1, describe-variable):
14123 * lisp/help.el (describe-mode)
14124 (describe-minor-mode-from-indicator):
14125 * lisp/image.el (image-type):
14126 * lisp/international/ccl.el (ccl-dump):
14127 * lisp/international/fontset.el (x-must-resolve-font-name):
14128 * lisp/international/mule-cmds.el (prefer-coding-system)
14129 (select-safe-coding-system-interactively)
14130 (select-safe-coding-system, activate-input-method)
14131 (toggle-input-method, describe-current-input-method)
14132 (describe-language-environment):
14133 * lisp/international/mule-conf.el (code-offset):
14134 * lisp/international/mule-diag.el (describe-character-set)
14135 (list-input-methods-1):
14136 * lisp/mail/feedmail.el (feedmail-run-the-queue):
14137 * lisp/mouse.el (minor-mode-menu-from-indicator):
14138 * lisp/mpc.el (mpc-playlist-rename):
14139 * lisp/msb.el (msb--choose-menu):
14140 * lisp/net/ange-ftp.el (ange-ftp-shell-command):
14141 * lisp/net/imap.el (imap-interactive-login):
14142 * lisp/net/mairix.el (mairix-widget-create-query):
14143 * lisp/net/newst-backend.el (newsticker--sentinel-work):
14144 * lisp/net/newst-treeview.el (newsticker--treeview-load):
14145 * lisp/net/rlogin.el (rlogin):
14146 * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
14147 * lisp/obsolete/otodo-mode.el (todo-more-important-p):
14148 * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
14149 * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
14150 * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
14151 * lisp/org/ob-core.el (org-babel-goto-named-src-block)
14152 (org-babel-goto-named-result):
14153 * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
14154 * lisp/org/ob-ref.el (org-babel-ref-resolve):
14155 * lisp/org/org-agenda.el (org-agenda-prepare):
14156 * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
14157 (org-clock-resolve):
14158 * lisp/org/org-ctags.el (org-ctags-ask-rebuild-tags-file-then-find-tag):
14159 * lisp/org/org-feed.el (org-feed-parse-atom-entry):
14160 * lisp/org/org-habit.el (org-habit-parse-todo):
14161 * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
14162 (org-mouse-context-menu):
14163 * lisp/org/org-table.el (org-table-edit-formulas):
14164 * lisp/org/ox.el (org-export-async-start):
14165 * lisp/proced.el (proced-log):
14166 * lisp/progmodes/ada-mode.el (ada-get-indent-case)
14167 (ada-check-matching-start, ada-goto-matching-start):
14168 * lisp/progmodes/ada-prj.el (ada-prj-display-page):
14169 * lisp/progmodes/ada-xref.el (ada-find-executable):
14170 * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
14171 * lisp/progmodes/etags.el (etags-tags-apropos-additional):
14172 * lisp/progmodes/flymake.el (flymake-parse-err-lines)
14173 (flymake-start-syntax-check-process):
14174 * lisp/progmodes/python.el (python-shell-get-process-or-error)
14175 (python-define-auxiliary-skeleton):
14176 * lisp/progmodes/sql.el (sql-comint):
14177 * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
14178 * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate):
14179 * lisp/recentf.el (recentf-open-files):
14180 * lisp/replace.el (query-replace-read-from)
14181 (occur-after-change-function, occur-1):
14182 * lisp/scroll-bar.el (scroll-bar-columns):
14183 * lisp/server.el (server-get-auth-key):
14184 * lisp/simple.el (execute-extended-command)
14185 (undo-outer-limit-truncate, list-processes--refresh)
14186 (compose-mail, set-variable, choose-completion-string)
14187 (define-alternatives):
14188 * lisp/startup.el (site-run-file, tty-handle-args, command-line)
14190 * lisp/subr.el (noreturn, define-error, add-to-list)
14191 (read-char-choice, version-to-list):
14192 * lisp/term/common-win.el (x-handle-xrm-switch)
14193 (x-handle-name-switch, x-handle-args):
14194 * lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
14195 * lisp/textmodes/reftex-ref.el (reftex-label):
14196 * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
14197 * lisp/textmodes/two-column.el (2C-split):
14198 * lisp/tutorial.el (tutorial--describe-nonstandard-key)
14199 (tutorial--find-changed-keys):
14200 * lisp/type-break.el (type-break-noninteractive-query):
14201 * lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
14202 (wdired-do-perm-changes):
14203 * lisp/whitespace.el (whitespace-report-region):
14204 Prefer grave quoting in source-code strings used to generate help
14206 * lisp/faces.el (face-documentation):
14207 No need to convert quotes, since the result is a docstring.
14208 * lisp/info.el (Info-virtual-index-find-node)
14209 (Info-virtual-index, info-apropos):
14210 Simplify by generating only curved quotes, since info files are
14211 typically that ways nowadays anyway.
14212 * lisp/international/mule-diag.el (list-input-methods):
14213 Don’t assume text quoting style is curved.
14214 * lisp/org/org-bibtex.el (org-bibtex-fields):
14215 Revert my recent changes, going back to the old quoting style.
14217 2015-09-07 Artur Malabarba <bruce.connor.am@gmail.com>
14219 * lisp/emacs-lisp/package.el: Reduce autoloading before compiling.
14220 (package--autoloads-file-name)
14221 (package--activate-autoloads-and-load-path): New function.
14222 (package-activate-1): Delegate autoloading and load-path
14223 configuration to `package--activate-autoloads-and-load-path'.
14224 (package--compile): Before compilation, call
14225 `package--activate-autoloads-and-load-path' instead of
14226 `package-activate-1'.
14228 2015-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14230 * src/keyboard.c (read_key_sequence): Complete last fix (bug#21403).
14232 2015-09-07 Eli Zaretskii <eliz@gnu.org>
14234 Fix deletion of symlinks to directories on MS-Windows
14235 * src/w32.c (sys_unlink): If 'unlink' fails, and the argument is a
14236 symlink to a directory, try again with 'rmdir'.
14237 (is_symlink): If the argument is a symlink to a directory, set a
14238 bit in the return value to indicate that fact.
14240 2015-09-07 Artur Malabarba <bruce.connor.am@gmail.com>
14242 * lisp/emacs-lisp/package.el (package-initialize): Set enable-at-startup
14243 When `package-initialize' is called as part of loading the init file,
14244 the user probably doesn't want it to be called again afterwards.
14245 In this situation, `package-initialize' now sets
14246 `package-enable-at-startup' to nil to prevent that. The user can have
14247 the old behavior by setting this variable to t after the call to
14248 `package-initialize'. (Bug#21423)
14249 * doc/emacs/package.texi (Package Installation): Document it.
14250 * doc/lispref/package.texi (Packaging Basics): Document it.
14251 * etc/NEWS: Document it.
14253 2015-09-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
14255 Bump version of ntlm.el to 2.00
14256 * lisp/net/ntlm.el: Bump version to 2.00. New maintainer.
14259 2015-09-06 Adam Sjøgren <asjo@koldfront.dk>
14261 * doc/misc/gnus.texi (Mail Source Specifiers):
14262 Allow :mailbox to be a list.
14264 2015-09-06 Dmitry Gutov <dgutov@yandex.ru>
14266 * lisp/progmodes/etags.el (etags-tags-completion-table):
14267 Allow even one non-regular character before the implicit tag name.
14268 Reported at http://emacs.stackexchange.com/questions/15269/.
14270 2015-09-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
14272 Add support for NTLMv2 authentication
14273 * lisp/net/ntlm.el (ntlm): New customization group.
14274 (ntlm-compatibility-level): New defcustom.
14275 (ntlm-compute-timestamp): New function.
14276 (ntlm-generate-nonce): Likewise.
14277 (ntlm-build-auth-response): Add support for NTLMv2 authentication.
14279 2015-09-06 Artur Malabarba <bruce.connor.am@gmail.com>
14281 * lisp/emacs-lisp/package.el: Rename custom faces.
14282 All of the recently introduced faces, like `package-name-face', have
14283 been renamed to no end in `-face' to comply with the convention
14284 described in (info "(elisp) Defining Faces").
14285 (package-name, package-description)
14286 (package-status-built-in, package-status-external)
14287 (package-status-available, package-status-new)
14288 (package-status-held, package-status-disabled)
14289 (package-status-installed, package-status-dependency)
14290 (package-status-unsigned, package-status-incompat)
14291 (package-status-avail-obso): New faces.
14292 (package-menu--print-info-simple): Use them.
14294 2015-09-06 Adam Sjøgren <asjo@koldfront.dk>
14296 mail-source.el: Make the imap mail-source's :mailbox handle a list
14297 * lisp/gnus/mail-source.el (mail-source-fetch-imap):
14298 Allow :mailbox to be a list.
14300 2015-09-06 Eric Abrahamsen <eric@ericabrahamsen.net>
14302 nnimap.el: Handle nil arg to nnimap-request-group
14303 * lisp/gnus/nnimap.el (nnimap-request-group): Handle nil "info" arg.
14304 This arg isn't always passed in, check it's not nil before making it
14305 into a list. The active arg will also be nil if the group is new,
14308 2015-09-06 Michael Albinus <michael.albinus@gmx.de>
14310 File notifications: Support renaming over directory boundaries
14311 * lisp/filenotify.el (file-notify-handle-event):
14312 (file-notify--pending-event): Adapt docstring.
14313 (file-notify--descriptor, file-notify-callback): Reimplement in
14314 order to support renaming over directory boundaries.
14315 (file-notify-add-watch): Adapt `file-notify--descriptor' call.
14316 * doc/lispref/os.texi (File Notifications): Remove limitation of
14317 file renaming to the same directory.
14319 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
14321 Spelling fix (Bug#21420)
14323 2015-09-05 Nicolas Petton <nicolas@petton.fr>
14325 Improve the semantic of map-some
14326 Update map-some to return the returned by the predicate, similar to
14328 * lisp/emacs-lisp/map.el (map-some): Update the function to return the
14329 return value of the predicate.
14330 * test/automated/map-tests.el (test-map-some): Update the test to check
14331 for non-nil values only.
14333 Rename map-contains-key-p and map-some-p
14334 Remove the "-p" suffix from both function names.
14335 * lisp/emacs-lisp/map.el (map-contains-key, map-some):
14336 Rename the functions.
14337 * test/automated/map-tests.el (test-map-contains-key, test-map-some):
14338 Update both test functions.
14340 Improve the semantic of seq-some
14341 Update seq-some to return non-nil if the predicate returns non-nil for
14342 any element of the seq, in which case the returned value is the one
14343 returned by the predicate.
14344 * lisp/emacs-lisp/seq.el (seq-some): Update the function and its
14346 * test/automated/seq-tests.el (test-seq-some): Add a regression test.
14347 * doc/lispref/sequences.texi (Sequence Functions): Update the
14348 documentation for seq-some.
14350 Rename seq-some-p to seq-some and seq-contains-p to seq-contains
14351 * lisp/emacs-lisp/seq.el (seq-some, seq-contains): Rename the functions
14352 without the "-p" prefix.
14353 * test/automated/seq-tests.el (test-seq-some, test-seq-contains): Update
14354 the tests accordingly.
14355 * doc/lispref/sequences.texi (Sequence Functions): Update the
14356 documentation for seq.el.
14358 2015-09-05 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
14360 text-quoting-style for usage of fn names with ‘’
14361 * lisp/help.el (help--docstring-quote): Don’t assume
14362 text-quoting-style is ‘curve’ when generating usage strings for
14363 functions whose names contain curved quotes.
14365 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
14367 Fix fix for describe-function keybinding confusion
14368 This fixes a bug introduced by the previous patch.
14369 * lisp/help-fns.el (help-fns--signature):
14370 Last arg of help-fns--signature is now a buffer, or nil if a
14371 raw signature is wanted. All callers changed.
14372 (describe-function-1): Use this to do the right thing with signatures.
14374 2015-09-05 Johan Bockgård <bojohan@gnu.org>
14376 * doc/lispref/frames.texi (Mouse Tracking): Fix typo.
14378 Use PAT rather than UPAT in pcase macros
14379 * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
14380 * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>: Use PAT rather
14383 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
14385 Fix describe-function keybinding confusion
14386 * lisp/help-fns.el (describe-function-1): Compute signature
14387 in the original buffer, not in standard-output, so that
14388 substitute-command-keys uses the proper keybindings.
14389 This fixes Bug#21412, introduced in commit
14390 2015-06-11T10:23:46-0700!eggert@cs.ucla.edu.
14392 2015-09-05 Xue Fuqiao <xfq.free@gmail.com>
14394 * doc/emacs/programs.texi (Program Modes): Remove an index entry.
14396 2015-09-05 Robert Pluim <rpluim@gmail.com> (tiny change)
14398 Avoid read error messages from 'inotify'
14399 * src/process.c (wait_reading_process_output): Add a
14400 'tls_available' set and manipulate it instead of 'Available' when
14401 checking TLS inputs. Assign the value to 'Available' only if we
14402 find any TLS data waiting to be read. This avoids error messages
14403 from 'inotify' that tries to read data it shouldn't. (Bug#21337)
14405 2015-09-05 Eli Zaretskii <eliz@gnu.org>
14407 Avoid errors in thing-at-point with 2nd argument non-nil
14408 * lisp/thingatpt.el (thing-at-point): Only call 'length' on
14409 sequences. (Bug#21391)
14411 2015-09-05 Philip <pipcet@gmail.com> (tiny change)
14413 Fix segfaults due to using a stale face ID
14414 * src/xdisp.c (forget_escape_and_glyphless_faces): New function.
14415 (display_echo_area_1, redisplay_internal): Call it to avoid
14416 reusing stale face IDs for 'escape-glyph' and 'glyphless-char'
14417 faces, which could case a segfault if the frame's face cache was
14418 freed since the last redisplay. (Bug#21394)
14419 * src/xfaces.c (free_realized_faces):
14420 Call forget_escape_and_glyphless_faces.
14421 * src/dispextern.h (forget_escape_and_glyphless_faces): Add prototype.
14423 2015-09-04 Paul Eggert <eggert@cs.ucla.edu>
14425 Fix minor problems with " in manual
14427 2015-09-04 Michael Albinus <michael.albinus@gmx.de>
14429 * doc/misc/tramp.texi (Frequently Asked Questions): New item for ad-hoc
14432 2015-09-04 Paul Eggert <eggert@cs.ucla.edu>
14434 Support automated ‘make check’ in non-C locale
14435 This lets the builder optionally test Emacs behavior in other locales.
14436 The C locale is still the default for tests.
14437 * test/automated/Makefile.in (TEST_LOCALE): New macro.
14439 * test/automated/flymake-tests.el (flymake-tests--current-face):
14440 Use C locale for subprocesses so that tests behave as expected.
14441 * test/automated/python-tests.el:
14442 (python-shell-prompt-validate-regexps-1)
14443 (python-shell-prompt-validate-regexps-2)
14444 (python-shell-prompt-validate-regexps-3)
14445 (python-shell-prompt-validate-regexps-4)
14446 (python-shell-prompt-validate-regexps-5)
14447 (python-shell-prompt-validate-regexps-6)
14448 (python-shell-prompt-set-calculated-regexps-1):
14449 Adjust expected output to match locale.
14450 * test/automated/tildify-tests.el (tildify-test--test)
14451 (tildify-space-test--test, tildify-space-undo-test--test):
14452 This test assumes UTF-8 encoding.
14454 2015-09-03 Paul Eggert <eggert@cs.ucla.edu>
14456 Fix some more docstring etc. quoting problems
14457 Mostly these fixes prevent the transliteration of apostrophes
14458 that should stay apostrophes. Also, prefer curved quotes in
14459 Bahá’í proper names, as that’s the preferred Bahá’í style and
14460 these names are chock-full of non-ASCII characters anyway.
14461 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-autoload)
14462 (eieio-defclass-internal):
14463 * lisp/emacs-lisp/eieio.el (defclass):
14464 * lisp/hi-lock.el (hi-lock-mode):
14465 Don’t transliterate Lisp apostrophes when generating a
14466 doc string or diagnostic.
14467 * lisp/international/mule-diag.el (list-coding-systems-1):
14468 * lisp/international/ogonek.el (ogonek-jak, ogonek-how):
14469 * lisp/mail/sendmail.el (sendmail-query-user-about-smtp):
14470 * lisp/vc/ediff-mult.el (ediff-redraw-registry-buffer):
14471 * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
14472 Substitute quotes before putting them in the help buffer.
14474 2015-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
14476 Re-add the notion of echo_prompt lost in the translation
14477 * src/keyboard.h (struct kboard): Replace echo_after_prompt with new
14478 echo_prompt which contains the actual string. Update all uses.
14479 * src/keyboard.c (kset_echo_prompt): New function.
14480 (echo_update): Add echo_prompt at the very beginning.
14481 (read_char): Remove workaround for bug#19875, not needed any more.
14482 (read_key_sequence): Set echo_prompt rather than echo_string
14484 (mark_kboards): Mark echo_prompt.
14486 Fix disassembly of non-compiled lexical functions (bug#21377)
14487 * lisp/emacs-lisp/bytecomp.el (byte-compile): Handle `closure' arg.
14488 * lisp/emacs-lisp/disass.el: Use lexical-binding.
14489 (disassemble): Recognize `closure's as well.
14490 (disassemble-internal): Use indirect-function and
14491 help-function-arglist, and accept `closure's.
14492 (disassemble-internal): Use interactive-form.
14493 (disassemble-1): Use functionp.
14495 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
14496 Don't compose inside verbatim blocks!
14498 2015-09-03 Mark Oteiza <mvoteiza@udel.edu>
14500 * lisp/thingatpt.el (thing-at-point-uri-schemes): Add "man:"
14503 * lisp/mpc.el (mpc--proc-connect): Handle unix sockets (bug#19394).
14505 2015-09-03 Dmitry Gutov <dgutov@yandex.ru>
14507 vc-git-mode-line-string: Explicitly re-apply the face
14508 * lisp/vc/vc-git.el (vc-git-mode-line-string): Explicitly re-apply
14509 the face (bug#21404).
14511 2015-09-02 Paul Eggert <eggert@cs.ucla.edu>
14513 Treat initial-scratch-message as a doc string
14514 * doc/emacs/building.texi (Lisp Interaction):
14515 * doc/lispref/os.texi (Startup Summary):
14516 * etc/NEWS: Document this.
14517 * lisp/startup.el (initial-scratch-message):
14518 Look up find-file’s key rather than hardcoding it.
14519 (command-line-1): Substitute the doc string.
14520 This also substitutes the quotes, which will help test display
14521 quoting at startup.
14523 Fix describe-char bug with glyphs on terminals
14524 * lisp/descr-text.el (describe-char): Terminals can have glyphs in
14525 buffers too, so don’t treat them differently from graphic displays.
14526 Without this fix, describe-char would throw an error on a terminal
14527 if given a glyph with a non-default face.
14529 Follow text-quoting-style in display table init
14530 This attempts to fix a problem reported by Alan Mackenzie in:
14531 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00112.html
14532 * doc/lispref/display.texi (Active Display Table):
14533 Mention how text-quoting-style affects it.
14534 * doc/lispref/help.texi (Keys in Documentation):
14535 Say how to set text-quoting-style in ~/.emacs.
14536 * etc/NEWS: Document the change.
14537 * lisp/startup.el (startup--setup-quote-display):
14538 Follow user preference if text-quoting-style is set.
14539 (command-line): Setup quote display again if user expresses
14540 a preference in .emacs.
14542 2015-09-02 K. Handa <handa@gnu.org>
14545 * src/ftfont.c (ftfont_drive_otf): otf_positioning_type_components_mask
14546 -> OTF_positioning_type_components_mask.
14548 Fix previous change
14549 * src/ftfont.c (ftfont_drive_otf): Remember some bits of
14550 OTF_Glyph->positioning_type in MFLTGlyphFT->libotf_positioning_type.
14552 2015-09-01 David Caldwell <david@porkrind.org> (tiny change)
14554 * lisp/vc/vc-hooks.el (vc-refresh-state): New command.
14555 Rename from vc-find-file-hook and make interactive.
14556 (vc-find-file-hook): Redefine as obsolete alias.
14558 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
14560 Escape ` and ' in doc
14561 Escape apostrophes and grave accents in docstrings if they are
14562 are supposed to stand for themselves and are not quotes. Remove
14563 apostrophes from docstring examples like ‘'(calendar-nth-named-day
14564 -1 0 10 year)’ that confuse source code with data. Do some other
14565 minor docstring fixups as well, e.g., insert a missing close quote.
14567 2015-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
14569 Generalize the prefix-command machinery of C-u
14570 * lisp/simple.el (prefix-command-echo-keystrokes-functions)
14571 (prefix-command-preserve-state-hook): New hooks.
14572 (internal-echo-keystrokes-prefix): New function.
14573 (prefix-command--needs-update, prefix-command--last-echo): New vars.
14574 (prefix-command-update, prefix-command-preserve): New functions.
14575 (reset-this-command-lengths): New compatibility definition.
14576 (universal-argument--mode): Call prefix-command-update.
14577 (universal-argument, universal-argument-more, negative-argument)
14578 (digit-argument): Call prefix-command-preserve-state.
14579 * src/keyboard.c: Call internal-echo-keystrokes-prefix to build
14580 the "prefix argument" to echo.
14581 (this_command_key_count_reset, before_command_key_count)
14582 (before_command_echo_length): Delete variables.
14583 (echo_add_key): Always add a space.
14584 (echo_char): Remove.
14585 (echo_dash): Don't give up when this_command_key_count is 0, since that
14586 is now the case after a prefix command.
14587 (echo_update): New function, extracted from echo_now.
14588 (echo_now): Use it.
14589 (add_command_key, read_char, record_menu_key): Remove old disabled code.
14590 (command_loop_1): Don't refrain from pushing an undo boundary when
14591 prefix-arg is set. Remove other prefix-arg special case, now handled
14592 directly in the prefix commands instead. But call echo_now if there's
14593 a prefix state to echo.
14594 (read_char, record_menu_key): Use echo_update instead of echo_char.
14595 (read_key_sequence): Use echo_now rather than echo_dash/echo_char.
14596 (Freset_this_command_lengths): Delete function.
14597 (syms_of_keyboard): Define Qinternal_echo_keystrokes_prefix.
14598 (syms_of_keyboard): Don't defsubr Sreset_this_command_lengths.
14599 * lisp/simple.el: Use those new hooks for C-u.
14600 (universal-argument--description): New function.
14601 (prefix-command-echo-keystrokes-functions): Use it.
14602 (universal-argument--preserve): New function.
14603 (prefix-command-preserve-state-hook): Use it.
14604 (command-execute): Call prefix-command-update if needed.
14605 * lisp/kmacro.el (kmacro-step-edit-prefix-commands)
14606 (kmacro-step-edit-prefix-index): Delete variables.
14607 (kmacro-step-edit-query, kmacro-step-edit-insert): Remove ad-hoc
14608 support for prefix arg commands.
14609 (kmacro-step-edit-macro): Don't bind kmacro-step-edit-prefix-index.
14610 * lisp/emulation/cua-base.el (cua--prefix-override-replay)
14611 (cua--shift-control-prefix): Use prefix-command-preserve-state.
14612 Remove now unused arg `arg'.
14613 (cua--prefix-override-handler, cua--prefix-repeat-handler)
14614 (cua--shift-control-c-prefix, cua--shift-control-x-prefix):
14615 Update accordingly.
14616 (cua--prefix-override-timeout): Don't call reset-this-command-lengths
14618 (cua--keep-active, cua-exchange-point-and-mark): Don't set mark-active
14619 if the mark is not set.
14621 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
14623 Rework quoting in Emacs Lisp Introduction
14624 * doc/lispintro/emacs-lisp-intro.texi (Sample let Expression)
14625 (if in more detail, type-of-animal in detail, else): Rework the
14626 early example to use " rather than ' so that we don’t burden
14627 complete novices with the low-priority detail of text quoting style.
14628 (Complete zap-to-char, kill-region, Complete copy-region-as-kill)
14629 (kill-new function, kill-ring-yank-pointer)
14630 (Complete forward-sentence, Loading Files)
14631 (Code for current-kill, Code for current-kill, yank):
14632 Resurrect the Emacs 22 versions of the code, which uses grave
14633 quoting style in doc strings.
14634 (Complete zap-to-char): Mention how quoting works in doc strings.
14636 Setup quote display only if interactive
14637 * lisp/startup.el (command-line):
14638 Skip call to startup--setup-quote-display if noninteractive.
14639 Without this change, python-shell-prompt-validate-regexps-1
14640 fails in test/automated/python-tests.el when run in an
14641 en_US.utf8 locale on Fedora.
14643 2015-09-01 Katsumi Yamaoka <yamaoka@jpl.org>
14645 Use defalias at the top level
14646 * lisp/gnus/gnus-util.el (gnus-format-message):
14647 * lisp/net/tls.el (tls-format-message): Use defalias at the top level
14648 so as to make eval-and-compile unnecessary. Thanks to Stefan Monnier.
14650 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
14652 terminal-init-w32console mimicks command-line
14653 Problem reported by Eli Zaretskii.
14654 * lisp/startup.el (startup--setup-quote-display):
14655 New function, refactored from a part of ‘command-line’.
14656 (command-line): Use it.
14657 * lisp/term/w32console.el (terminal-init-w32console):
14658 Use it, so that this function stays consistent with ‘command-line’.
14660 Display replacement quotes with shadow glyphs
14661 * lisp/startup.el (command-line): When displaying ASCII
14662 replacements for curved quotes, use a shadow glyph instead of a
14663 regular one, to avoid ambiguity.
14665 2015-09-01 Michael Albinus <michael.albinus@gmx.de>
14667 * lisp/net/tramp-sh.el (tramp-methods) <sudo>: Mask "Password:".
14669 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
14671 Docstring fixes re quotes in C code
14672 Fix some docstring quoting problems, mostly by escaping apostrophe.
14674 2015-09-01 Michael Albinus <michael.albinus@gmx.de>
14676 Some Tramp password fixes
14677 * lisp/net/tramp.el (tramp-clear-passwd): Clear also the passwords
14679 * lisp/net/tramp-sh.el (tramp-methods) <sudo>: Move "-p" "Password:"
14680 at the beginning of the command. Otherwise, it could be
14681 interpreted as password prompt if the remote host echoes the
14683 (tramp-remote-coding-commands): Add "openssl enc -base64".
14685 2015-09-01 Dmitry Gutov <dgutov@yandex.ru>
14687 Make vc-git-working-revision always return the commit hash
14688 * lisp/vc/vc-git.el (vc-git-working-revision):
14689 Return the commit hash (bug#21383).
14690 (vc-git--symbolic-ref): New function, extracted from above.
14691 (vc-git-mode-line-string): Use it.
14693 2015-09-01 K. Handa <handa@gnu.org>
14695 Use the new type MFLTGlyphFT for MFLTGlyphString.glyphs
14696 * src/ftfont.c (MFLTGlyphFT): New type.
14697 (ftfont_get_glyph_id, ftfont_get_metrics, ftfont_drive_otf)
14698 (ftfont_shape_by_flt): Make MFLTGlyphFT the actual type of
14699 elements in the array MFLTGlyphString.glyphs.
14701 2015-09-01 Stephen Leake <stephen_leake@stephe-leake.org>
14703 Improve comments in elisp-mode.el, elisp-mode-tests.el
14704 * lisp/progmodes/elisp-mode.el: Clean up FIXMEs, comments.
14706 Delete Emacs 25 test in mode-local.el
14707 * lisp/cedet/mode-local.el (describe-mode-local-overload):
14708 Fix missed an edit in previous commit.
14710 Show all known mode-local overrides in *Help*
14711 * lisp/cedet/mode-local.el (describe-mode-local-overload):
14712 Assume Emacs 25. Add all known mode-local overrides.
14714 2015-09-01 Katsumi Yamaoka <yamaoka@jpl.org>
14716 * lisp/gnus/gnus-sum.el (gnus-summary-search-article):
14717 Ensure that the article where the search word is found is displayed
14718 and pointed to in the summary buffer.
14720 2015-08-31 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
14722 * lisp/newcomment.el (comment-dwim): Use `use-region-p'.
14723 When the region is active, but is empty (length 0), act as though
14724 the region was not active; that is, put a comment at the end of
14725 the line. (Bug#21119)
14727 2015-08-31 Katsumi Yamaoka <yamaoka@jpl.org>
14729 Port tls.el to older Emacs
14730 * lisp/net/tls.el (tls-format-message):
14731 Alias to format-message, or format if not available.
14732 (open-tls-stream): Use it.
14734 2015-08-31 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
14736 hideif.el: Recognize .h++ as C++ header
14737 * lisp/progmodes/hideif.el (hide-ifdef-header-regexp): Add .h++.
14739 isearch: Document character folding mode
14740 * lisp/isearch.el (isearch-forward):
14741 Mention `isearch-toggle-character-fold' in doc string.
14743 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
14745 Quoting fixes in ERC and Eshell
14746 * lisp/erc/erc-autoaway.el (erc-autoaway-set-away):
14747 * lisp/erc/erc-backend.el (define-erc-response-handler):
14748 * lisp/erc/erc-fill.el (erc-fill-static-center):
14749 * lisp/eshell/em-dirs.el (eshell-save-some-last-dir):
14750 * lisp/eshell/em-glob.el (eshell-glob-entries):
14751 * lisp/eshell/em-hist.el (eshell-save-some-history):
14752 * lisp/eshell/em-unix.el (eshell-remove-entries, eshell/rm)
14753 (eshell-shuffle-files):
14754 * lisp/eshell/esh-cmd.el (eshell-do-eval):
14755 * lisp/eshell/esh-proc.el (eshell-process-interact)
14756 (eshell-query-kill-processes):
14757 Respect ‘text-quoting-style’ in diagnostics and doc strings.
14759 Quoting fixes in Gnus
14760 * lisp/gnus/gnus-agent.el:
14761 (gnus-agent-possibly-synchronize-flags-server):
14762 * lisp/gnus/gnus-art.el (gnus-article-browse-delete-temp-files):
14763 * lisp/gnus/gnus-eform.el (gnus-edit-form):
14764 * lisp/gnus/gnus-group.el (gnus-group-edit-group)
14765 (gnus-group-nnimap-edit-acl):
14766 * lisp/gnus/gnus-topic.el (gnus-topic-edit-parameters):
14767 * lisp/gnus/mail-source.el (mail-source-delete-old-incoming):
14768 * lisp/gnus/message.el (message-strip-subject-encoded-words)
14769 (message-check-recipients, message-send-form-letter):
14770 * lisp/gnus/mm-decode.el (mm-display-part):
14771 * lisp/gnus/mm-uu.el (mm-uu-pgp-signed-extract-1):
14772 * lisp/gnus/mml-smime.el (mml-smime-get-dns-cert)
14773 (mml-smime-get-ldap-cert):
14774 * lisp/gnus/spam-report.el (spam-report-process-queue):
14775 Respect ‘text-quoting-style’ in diagnostics.
14776 * lisp/gnus/gnus-art.el (article-display-face)
14777 * lisp/gnus/gnus-fun.el (gnus-display-x-face-in-from):
14778 Use straight quoting in email.
14779 * lisp/gnus/rfc2231.el (rfc2231-decode-encoded-string):
14780 Escape apostrophes in doc strings.
14782 Quoting fixes in lisp mail, mh-e, net, url
14783 * lisp/mail/emacsbug.el (report-emacs-bug)
14784 (report-emacs-bug-hook): Use straight quotes in outgoing email,
14785 * lisp/mail/feedmail.el (feedmail-message-action-help-blat):
14786 * lisp/mail/rmail.el (rmail-unknown-mail-followup-to):
14787 * lisp/mail/rmailout.el (rmail-output-read-file-name):
14788 * lisp/net/imap.el (imap-interactive-login):
14789 * lisp/net/tls.el (open-tls-stream):
14790 * lisp/url/url-auth.el (url-register-auth-scheme):
14791 Respect ‘text-quoting-style’ in diagnostics.
14792 * lisp/mh-e/mh-e.el (mh-sortm-args):
14793 Quote docstring example using text quotes, not as a Lisp quote.
14795 2015-08-31 Stephen Leake <stephen_leake@stephe-leake.org>
14797 Fix some byte-compiler warnings in EDE
14798 This fixes a bug that caused ede-generic-new-autoloader to overwrite the
14799 existing autoloader list, rather than add to it.
14800 * lisp/cedet/ede/auto.el (ede-project-class-files): Delete obsolete name
14801 argument to eieio class constructor.
14802 (ede-show-supported-projects): New.
14803 (ede-add-project-autoload): Replace obsolete `eieio-object-name-string'
14804 with (oref ... name).
14805 (ede-auto-load-project): Use slot name, not initarg key.
14806 * lisp/cedet/ede/generic.el (ede-generic-load)
14807 (ede-generic-find-matching-target): Use slot name, not initarg key.
14808 (ede-find-target): Use oref-default on class name.
14809 (ede-generic-new-autoloader): Delete obsolete name argument to eieio
14811 (ede-enable-generic-projects): Make project type names unique.
14813 2015-08-31 Eli Zaretskii <eliz@gnu.org>
14815 Fix directory accessibility tests for w32 network volumes
14816 * src/w32.c (faccessat): Don't fail with network volumes without a
14818 (w32_accessible_directory_p): Handle network volumes without a
14821 Fix handling long file names in readdir on MS-Windows
14822 * src/w32.c (sys_readdir): Append "\*" to the directory after
14823 converting it to UTF-16/ANSI, not before, to avoid overflowing the
14824 260-character limit on file names in filename_to_utf16/ansi.
14826 Make file-accessible-directory-p reliable on MS-Windows
14827 * src/w32.c (w32_accessible_directory_p): New function.
14828 * src/w32.h (w32_accessible_directory_p): Add prototype.
14829 * src/fileio.c (file_accessible_directory_p) [WINDOWSNT]: Call
14830 w32_accessible_directory_p to test a directory for accessibility
14831 by the current user. (Bug#21346)
14832 (Ffile_accessible_directory_p): Remove the w32 specific caveat
14833 from the doc string.
14835 2015-08-31 Martin Rudalics <rudalics@gmx.at>
14837 Don't call do_pending_window_change in signal handlers (Bug#21380)
14838 * src/gtkutil.c (xg_frame_resized):
14839 * src/xterm.c (x_set_window_size):
14840 * src/w32term.c (x_set_window_size): Don't call
14841 do_pending_window_change.
14843 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
14845 Quoting fixes in lisp/org
14846 * lisp/org/org-agenda.el (org-search-view, org-todo-list)
14848 * lisp/org/org-capture.el (org-capture-mode)
14849 * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
14850 (org-ctags-ask-append-topic):
14851 * lisp/org/org.el (org-time-string-to-time)
14852 (org-time-string-to-absolute):
14853 * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
14854 (org-ctags-ask-append-topic):
14855 * lisp/org/org.el (org-time-string-to-time)
14856 (org-time-string-to-absolute):
14857 Respect ‘text-quoting-style’ in diagnostics.
14858 * lisp/org/org-agenda.el (org-agenda-custom-commands)
14859 (org-agenda-dim-blocked-tasks): Plural of TODO is TODOs, not TODO’s.
14860 * lisp/org/org-capture.el (org-capture-fill-template):
14861 Avoid contraction in output file that might be ASCII.
14862 * lisp/org/org-compat.el (format-message):
14863 Define if not already defined, for backward compatibility.
14864 * lisp/org/org-src.el (org-edit-src-save):
14865 * lisp/org/org.el (org-cycle, org-ctrl-c-ctrl-c):
14866 Escape apostrophes in diagnostics.
14868 Treat “instead” strings as docstrings
14869 * lisp/emacs-lisp/bytecomp.el (byte-compile-form):
14870 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
14871 Substitute quotes in instead strings.
14873 2015-08-31 Nicolas Petton <nicolas@petton.fr>
14875 Better documentation of seq-let
14876 * doc/lispref/sequences.texi (Sequence Functions): Rephrase the
14877 documentation of seq-let.
14879 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
14881 * lisp/international/ccl.el: Fix quoting.
14883 Quoting fixes in lisp/international and lisp/leim
14884 * lisp/international/ccl.el (ccl-dump, ccl-dump-call):
14885 * lisp/international/ja-dic-utl.el (skkdic-lookup-key):
14886 * lisp/international/mule-cmds.el:
14887 (select-safe-coding-system-interactively, leim-list-file-name):
14888 * lisp/international/quail.el (quail-use-package, quail-help):
14889 * lisp/international/titdic-cnv.el (tit-process-header)
14891 Respect text quoting style in doc strings and diagnostics.
14892 * lisp/international/quail.el (lisp/international/quail.el):
14893 * lisp/leim/quail/ethiopic.el ("ethiopic"):
14894 Escape apostrophes in doc strings.
14896 Make ‘text-quoting-style’ a plain defvar
14897 It doesn’t need customization, as it’s likely useful only by experts.
14898 Suggested by Stefan Monnier in:
14899 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg01020.html
14900 * lisp/cus-start.el: Remove doc.c section for builtin customized vars.
14902 Quoting fixes in lisp/textmodes
14903 * lisp/textmodes/bibtex.el (bibtex-validate)
14904 (bibtex-validate-globally, bibtex-search-entries):
14905 * lisp/textmodes/ispell.el (ispell-command-loop):
14906 * lisp/textmodes/page-ext.el (search-pages, pages-directory):
14907 * lisp/textmodes/texinfmt.el (texinfmt-version)
14908 (texinfo-format-region, texinfo-format-buffer-1):
14909 * lisp/textmodes/two-column.el (2C-split):
14910 Respect text quoting style in doc strings and diagnostics.
14911 * lisp/textmodes/conf-mode.el (conf-mode-map, conf-quote-normal):
14912 * lisp/textmodes/sgml-mode.el (sgml-specials, sgml-mode):
14913 Escape apostrophes in doc strings.
14915 Documentation fixes re quotes
14916 Prefer curved quotes in examples if users will typically see
14917 curved quotes when the examples run.
14918 Mention format-message when appropriate.
14919 Don’t use @code in examples.
14920 Quote an apostrophe with @kbd.
14922 Quoting fixes in lisp/progmodes
14923 * lisp/progmodes/cc-engine.el (c-bos-report-error):
14924 * lisp/progmodes/cpp.el (cpp-edit-reset):
14925 * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
14926 * lisp/progmodes/etags.el (etags-tags-apropos-additional)
14927 (etags-tags-apropos, list-tags, tags-apropos):
14928 * lisp/progmodes/executable.el (executable-set-magic):
14929 * lisp/progmodes/octave.el (octave-sync-function-file-names)
14930 (octave-help, octave-find-definition-default-filename)
14931 (octave-find-definition):
14932 Respect text quoting style in doc strings and diagnostics.
14933 * lisp/progmodes/cc-langs.el (c-populate-syntax-table):
14934 * lisp/progmodes/verilog-mode.el (verilog-auto-reset-widths):
14935 * lisp/progmodes/vhdl-mode.el (vhdl-electric-quote):
14936 Escape apostrophes in doc strings.
14937 * lisp/progmodes/cmacexp.el (c-macro-expansion):
14938 Use straight quoting in ASCII comment.
14939 * lisp/progmodes/idlwave.el (idlwave-auto-fill-split-string)
14940 (idlwave-pad-keyword):
14941 * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate)
14942 (vhdl-electric-open-bracket, vhdl-electric-close-bracket):
14943 (vhdl-electric-semicolon, vhdl-electric-comma)
14944 (vhdl-electric-period, vhdl-electric-equal):
14945 Use directed quotes in diagnostics and doc strings.
14947 2015-08-30 Xue Fuqiao <xfq.free@gmail.com>
14949 Minor documentation and NEWS tweak
14950 * doc/lispintro/emacs-lisp-intro.texi (fwd-para let):
14951 Add an index entry.
14952 * etc/NEWS: Fix a typo in character-fold-to-regexp.
14954 2015-08-30 Michael Albinus <michael.albinus@gmx.de>
14956 * lisp/net/tramp-sh.el (tramp-convert-file-attributes):
14957 Revert patch from 2015-08-24. Tramp shall behave like for local files.
14958 * test/automated/tramp-tests.el (tramp-test18-file-attributes):
14961 2015-08-30 Paul Eggert <eggert@cs.ucla.edu>
14963 Text quoting fixes in cedet, emulation, emacs-lisp
14964 * lisp/cedet/ede.el (ede-check-project-directory):
14965 * lisp/cedet/semantic/analyze/debug.el
14966 (semantic-analyzer-debug-insert-include-summary):
14967 * lisp/cedet/semantic/bovine/c.el (semantic-c-describe-environment):
14968 * lisp/cedet/semantic/decorate/include.el
14969 (semantic-decoration-unknown-include-describe)
14970 (semantic-decoration-all-include-summary):
14971 * lisp/cedet/semantic/ia.el (semantic-ia-fast-jump):
14972 * lisp/emulation/edt.el (edt-load-keys):
14973 * lisp/emulation/viper-cmd.el
14974 (viper-display-current-destructive-command)
14975 (viper-query-replace, viper-brac-function):
14976 * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-compile):
14977 * lisp/emulation/viper-macs.el (viper-unrecord-kbd-macro):
14978 Respect text quoting style in doc string or diagnostic.
14979 * lisp/cedet/mode-local.el (describe-mode-local-overload):
14980 Use format-message to avoid overtranslating quotes.
14981 * lisp/emacs-lisp/checkdoc.el (checkdoc-in-sample-code-p):
14982 Escape an apostrophe in a docstring.
14983 * lisp/emacs-lisp/warnings.el (lwarn): Fix doc string.
14985 2015-08-29 Daniel Colascione <dancol@dancol.org>
14987 Fix which-func for curly quotes: look for symbol, not message
14988 * lisp/progmodes/which-func.el (which-func-ff-hook): Look for new
14989 imenu-unavailable error symbol instead of trying to match message
14991 * lisp/imenu.el (imenu-unavailable): New error.
14992 (imenu-unavailable-error): New function.
14994 2015-08-29 Eli Zaretskii <eliz@gnu.org>
14996 Fix Python tests on MS-Windows
14997 * test/automated/python-tests.el
14998 (python-shell-calculate-command-1): Run python-shell-interpreter
14999 through shell-quote-argument before comparing with what
15000 python-shell-calculate-command returns.
15001 (python-shell-calculate-pythonpath-1)
15002 (python-shell-calculate-pythonpath-2)
15003 (python-shell-calculate-process-environment-2): Use path-separator
15004 instead of a literal ':'.
15005 (python-shell-calculate-exec-path-2)
15006 (python-shell-calculate-exec-path-3)
15007 (python-shell-calculate-exec-path-4)
15008 (python-shell-with-environment-1)
15009 (python-shell-with-environment-2): Run "/env/bin" through
15010 expand-file-name before comparing with exec-path. (Bug#21375)
15012 2015-08-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15014 Use Core Text types/functions/variables/enumerators directly
15015 * src/macfont.h (FontDescriptorRef, FontRef, FontSymbolicTraits)
15016 (CharacterCollection): Remove typedefs. All uses replaced with
15018 (MAC_FONT_NAME_ATTRIBUTE, MAC_FONT_FAMILY_NAME_ATTRIBUTE)
15019 (MAC_FONT_TRAITS_ATTRIBUTE, MAC_FONT_SIZE_ATTRIBUTE)
15020 (MAC_FONT_CASCADE_LIST_ATTRIBUTE)
15021 (MAC_FONT_CHARACTER_SET_ATTRIBUTE, MAC_FONT_LANGUAGES_ATTRIBUTE)
15022 (MAC_FONT_FORMAT_ATTRIBUTE, MAC_FONT_SYMBOLIC_TRAIT)
15023 (MAC_FONT_WEIGHT_TRAIT, MAC_FONT_WIDTH_TRAIT)
15024 (MAC_FONT_SLANT_TRAIT): Remove macros. All uses replaced with
15026 (MAC_FONT_TRAIT_ITALIC, MAC_FONT_TRAIT_BOLD)
15027 (MAC_FONT_TRAIT_MONO_SPACE, MAC_FONT_TRAIT_COLOR_GLYPHS)
15028 (MAC_FONT_FORMAT_BITMAP)
15029 (MAC_CHARACTER_COLLECTION_IDENTITY_MAPPING)
15030 (MAC_CHARACTER_COLLECTION_ADOBE_JAPAN1): Remove enumerators.
15031 All uses replaced with definitions.
15032 (kCTFontTraitItalic, kCTFontTraitBold, kCTFontTraitMonoSpace)
15033 (kCTFontTraitColorGlyphs, kCTCharacterCollectionIdentityMapping)
15034 (kCTCharacterCollectionAdobeJapan1 kCTFontOrientationDefault):
15035 Add compatibility enumerators for older versions.
15036 (mac_font_descriptor_create_with_attributes)
15037 (mac_font_descriptor_create_matching_font_descriptors)
15038 (mac_font_descriptor_create_matching_font_descriptor)
15039 (mac_font_descriptor_copy_attribute)
15040 (mac_font_descriptor_supports_languages)
15041 (mac_font_create_with_name, mac_font_get_size)
15042 (mac_font_copy_family_name, mac_font_copy_character_set)
15043 (mac_font_get_glyphs_for_characters, mac_font_get_ascent)
15044 (mac_font_get_descent, mac_font_get_leading)
15045 (mac_font_get_underline_position)
15046 (mac_font_get_underline_thickness, mac_font_copy_graphics_font)
15047 (mac_font_copy_non_synthetic_table): Remove macros. All uses
15048 replaced with definitions.
15049 (mac_font_create_preferred_family_for_attributes)
15050 (mac_font_get_advance_width_for_glyph)
15051 (mac_font_get_bounding_rect_for_glyph)
15052 (mac_font_create_available_families, mac_font_shape):
15053 Remove macros for renamed functions.
15054 (mac_nsctfont_copy_font_descriptor): Remove unused macro.
15055 * src/macfont.m (mac_font_descriptor_supports_languages):
15056 Rename from mac_ctfont_descriptor_supports_languages.
15057 (mac_font_create_preferred_family_for_attributes): Rename from
15058 mac_ctfont_create_preferred_family_for_attributes.
15059 (mac_font_get_advance_width_for_glyph): Rename from
15060 mac_ctfont_get_advance_width_for_glyph.
15061 Use kCTFontOrientationDefault also for older versions.
15062 (mac_font_get_bounding_rect_for_glyph): Rename from
15063 mac_ctfont_get_bounding_rect_for_glyph.
15064 Use kCTFontOrientationDefault also for older versions.
15065 (mac_font_create_available_families): Rename from
15066 mac_ctfont_create_available_families.
15067 (mac_font_equal_in_postscript_name): Rename from
15068 mac_ctfont_equal_in_postscript_name. All uses changed.
15069 (mac_font_create_line_with_string_and_font): Rename from
15070 mac_ctfont_create_line_with_string_and_font. All uses changed.
15071 (mac_font_shape): Rename from mac_ctfont_shape.
15072 (mac_font_family_compare): Remove unused declaration.
15074 2015-08-29 Paul Eggert <eggert@cs.ucla.edu>
15076 Fix minor text quoting in calc, calendar, vc
15077 * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
15078 * lisp/calc/calc-help.el (calc-j-prefix-help):
15079 * lisp/calc/calc-misc.el (calc-help):
15080 * lisp/calc/calc.el (calc-algebraic-mode, calc-mode):
15081 Escape an apostrophe in a docstring.
15082 * lisp/calc/calc-forms.el (calc-hms-notation):
15083 * lisp/calc/calc-mode.el (calc-display-raw, calc-algebraic-mode):
15084 Escape an apostrophe in a diagnostic.
15085 * lisp/calc/calc-misc.el (calc-help):
15086 * lisp/calendar/diary-lib.el (diary-include-files):
15087 * lisp/calendar/todo-mode.el (todo-prefix, todo-item-mark):
15088 * lisp/vc/diff-mode.el (diff-delete-trailing-whitespace):
15089 * lisp/vc/ediff-diff.el (ediff-same-contents):
15090 * lisp/vc/ediff-merg.el (ediff-re-merge):
15091 * lisp/vc/ediff-ptch.el (ediff-patch-file-internal):
15092 * lisp/vc/ediff-util.el (ediff-test-save-region)
15093 (ediff-status-info):
15094 * lisp/vc/ediff.el (ediff-merge-revisions)
15095 (ediff-merge-revisions-with-ancestor):
15096 * lisp/vc/pcvs.el (cvs-mode-checkout, cvs-vc-command-advice):
15097 * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
15098 Respect text quoting style in doc string or diagnostic.
15099 * lisp/calc/calc-prog.el (calc-kbd-push, calc-kbd-pop):
15100 * lisp/vc/add-log.el (change-log-goto-source):
15101 Avoid double-formatting.
15102 * lisp/vc/ediff-init.el (format-message):
15103 New backward-compatibility alias.
15105 2015-08-28 Paul Eggert <eggert@cs.ucla.edu>
15107 Fix minor text quoting problems in lisp top level
15108 * lisp/apropos.el (apropos-describe-plist):
15109 * lisp/cus-theme.el (customize-themes):
15110 * lisp/dired.el (dired-log):
15111 * lisp/help-fns.el (describe-variable):
15112 * lisp/hexl.el (hexl-insert-multibyte-char):
15113 * lisp/info.el (Info-finder-find-node):
15114 * lisp/json.el (json-read-string):
15115 * lisp/novice.el (disabled-command-function)
15116 (disabled-command-function):
15117 * lisp/startup.el (normal-mouse-startup-screen):
15118 * lisp/woman.el (WoMan-log, WoMan-warn):
15119 Respect text quoting style in doc string or diagnostic.
15120 * lisp/replace.el (replace-character-fold):
15121 * src/syntax.c (Fmodify_syntax_entry):
15122 Escape an apostrophe in a docstring.
15123 * lisp/tempo.el (tempo-define-template):
15124 Remove confusing apostrophe from docstring.
15125 * lisp/whitespace.el (whitespace-mark-x):
15126 Use directed quotes in docstring.
15128 2015-08-28 Simen Heggestøyl <simenheg@gmail.com>
15130 Fix indentation rule in css-mode
15131 * lisp/textmodes/css-mode.el (css-smie-rules): Fix indentation of
15132 brackets in presence of pseudo-selectors. (Bug#21328)
15134 2015-08-28 Eli Zaretskii <eliz@gnu.org>
15136 Fix a bug in recording a macro while flyspell-mode is active
15137 * lisp/subr.el (sit-for): Don't call read-event when recording a
15140 2015-08-27 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
15142 Tweak startup screen quoting
15143 * lisp/startup.el (normal-splash-screen): Use standard
15144 "M-" abbrevation rather than a confusingly-different one.
15145 (normal-no-mouse-startup-screen): Follow ‘text-quoting-style’.
15147 2015-08-27 Paul Eggert <eggert@cs.ucla.edu>
15149 Add test case for ‘format’ bug and refactor
15150 * src/editfns.c (styled_format): Refactor internally, mostly by
15151 moving declarations closer to uses. This should not affect behavior.
15152 * test/automated/textprop-tests.el (textprop-tests-format): New test.
15154 Fix ‘format’ bug with property offsets
15155 * src/editfns.c (styled_format): Fix recently-introduced ‘format’
15156 bug in calculating string property offsets (Bug#21351).
15158 Use straight quotes in lib-src diagnostics
15159 These auxiliary programs can’t use Emacs’s text-quoting-style,
15160 and it’s too much trouble to redo that mechanism by hand.
15161 So just use straight quotes for now.
15162 * lib-src/ebrowse.c (main):
15163 * lib-src/emacsclient.c (decode_options, main):
15164 * lib-src/etags.c (Ada_help, default_C_help, Cplusplus_help)
15165 (Forth_help, HTML_help, Lisp_help, Makefile_help, Objc_help)
15166 (Perl_help, PHP_help, Python_help, Scheme_help, TeX_help, auto_help)
15167 (none_help, print_language_names, print_help, add_regex)
15168 (suggest_asking_for_help):
15169 * lib-src/make-docfile.c (write_c_args, scan_c_stream):
15170 Use straight quotes in diagnostics.
15172 ‘text-quoting-style’ fixes for admin
15173 * admin/admin.el (cusver-scan, cusver-check):
15174 * admin/authors.el (authors-canonical-file-name):
15175 * admin/bzrmerge.el (bzrmerge-missing):
15176 Respect ‘text-quoting-style’ in diagnostics.
15178 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
15180 Assume GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS
15181 This removes the need for GCPRO1 etc. Suggested by Stefan Monnier in:
15182 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00918.html
15183 * doc/lispref/internals.texi (Writing Emacs Primitives):
15185 Document the change.
15186 * src/alloc.c (gcprolist, dump_zombies, MAX_ZOMBIES, zombies)
15187 (nzombies, ngcs, avg_zombies, max_live, max_zombies, avg_live)
15188 (Fgc_status, check_gcpros, relocatable_string_data_p, gc-precise):
15189 * src/bytecode.c (mark_byte_stack) [BYTE_MARK_STACK]:
15190 * src/eval.c (gcpro_level) [DEBUG_GCPRO]:
15191 * src/lisp.h (struct handler.gcpro, struct gcpro, GC_MARK_STACK)
15192 (GC_USE_GCPROS_AS_BEFORE, GC_MAKE_GCPROS_NOOPS)
15193 (GC_MARK_STACK_CHECK_GCPROS, GC_USE_GCPROS_CHECK_ZOMBIES)
15194 (BYTE_MARK_STACK, GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, GCPRO6)
15195 (GCPRO7, UNGCPRO, RETURN_UNGCPRO):
15196 Remove. All uses removed. The code now assumes
15197 GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS.
15198 * src/bytecode.c (relocate_byte_stack):
15199 Rename from unmark_byte_stack, since it now only relocates.
15200 All callers changed.
15201 * src/frame.c (make_frame): Add an IF_LINT to pacify GCC 5.2
15202 with GCPROs removed.
15203 * src/systime.h: Use EMACS_LISP_H as the canary instead of GCPRO1.
15204 * test/automated/finalizer-tests.el (finalizer-basic)
15205 (finalizer-circular-reference, finalizer-cross-reference)
15207 * test/automated/generator-tests.el (cps-test-iter-close-finalizer):
15208 Remove tests, as they depend on gc-precise.
15210 2015-08-26 Nicolas Petton <nicolas@petton.fr>
15212 Improve seq-concatenate for new sequence types
15213 Use the new `seq-into-sequence' in seqs passed to `seq-concatenate' to
15214 ensure that concatenation happens on sequences only. This makes it
15215 possible to use `seq-concatenate' for new types of seqs.
15216 * lisp/emacs-lisp/seq.el (seq-into-sequence, seq-concatenate):
15217 New function used in `seq-concatenate'.
15218 * test/automated/seq-tests.el (test-seq-into-sequence): New unit test
15219 for seq-into-sequence.
15221 2015-08-26 Stephen Leake <stephen_leake@stephe-leake.org>
15223 Add mode local overrides to xref-find-definitions
15224 * lisp/cedet/mode-local.el (xref-mode-local--override-present)
15225 (xref-mode-local-overload): New; add mode local overrides to
15226 xref-find-definitions.
15227 * test/automated/elisp-mode-tests.el: Add mode local override tests.
15228 (xref-elisp-test-run): Handle indented defuns.
15229 (xref-elisp-generic-*): Improve doc strings.
15230 * lisp/progmodes/elisp-mode.el (elisp-xref-find-def-functions): New.
15231 (elisp--xref-find-definitions): Use it.
15233 Add mode local overrides to describe-function
15234 * lisp/cedet/mode-local.el (describe-mode-local-overload):
15235 New; add mode local overrides to describe-function.
15236 * etc/NEWS: Document change.
15238 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
15240 Prefer straight quoting in some etc text files
15241 These files are plain text and might be used by non-Emacs apps.
15242 They’re mostly ASCII, so just use straight quotes.
15244 Fix quoting in ‘message_with_string’
15245 * src/nsfont.m (nsfont_open): Use directed quotes in format; they
15247 * src/xdisp.c (message_to_stderr): New function, refactored from
15248 part of ‘message3_nolog’.
15249 (message3_nolog): Use it.
15250 (message_with_string): Use it. Don’t mishandle NUL bytes when
15251 noninteractive. Prefer AUTO_STRING when it’s most likely faster.
15252 Use ‘format-message’, not ‘format’, so that quotes are translated.
15254 2015-08-26 Eli Zaretskii <eliz@gnu.org>
15256 Mention false positives of file-accessible-directory on w32
15257 * src/fileio.c (Ffile_accessible_directory_p): Doc fix.
15260 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
15262 Treat error strings as help
15263 * src/print.c (print_error_message): Translate quotes and command
15264 keys in errmsg so that users see, e.g., "Symbol’s value as
15265 variable is void: foo" when text-quoting-style is curved.
15267 2015-08-26 Michael Albinus <michael.albinus@gmx.de>
15269 * lisp/net/tramp-cache.el (top): Use `message', not `format-message'.
15271 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
15273 Top-level elisp files respect ‘text-quoting-style’
15274 In top-level elisp files, use format-message in diagnostic formats,
15275 so that they follow user preference as per ‘text-quoting-style’
15276 rather than being hard-coded to quote `like this'.
15277 * lisp/allout.el (allout-get-configvar-values):
15278 * lisp/apropos.el (apropos-symbols-internal):
15279 * lisp/dired-aux.el (dired-do-shell-command, dired-create-files)
15280 (dired-do-create-files-regexp, dired-create-files-non-directory):
15281 * lisp/dired-x.el (dired-do-run-mail):
15282 * lisp/dired.el (dired-log, dired-dnd-handle-local-file):
15283 * lisp/disp-table.el (standard-display-european):
15284 * lisp/find-dired.el (find-dired):
15285 * lisp/forms.el (forms-mode):
15286 * lisp/ido.el (ido-buffer-internal):
15287 * lisp/info.el (Info-index-next):
15288 * lisp/outline.el (outline-invent-heading):
15289 * lisp/printing.el (pr-ps-outfile-preprint, pr-i-ps-send):
15290 * lisp/proced.el (proced-log):
15291 * lisp/ps-print.el (ps-print-preprint, ps-get-size):
15292 * lisp/recentf.el (recentf-open-files, recentf-save-list):
15293 * lisp/savehist.el (savehist-save):
15294 * lisp/server.el (server-ensure-safe-dir):
15295 * lisp/ses.el (ses-rename-cell):
15296 * lisp/simple.el (list-processes--refresh):
15297 * lisp/startup.el (command-line):
15298 * lisp/strokes.el (strokes-unset-last-stroke)
15299 (strokes-execute-stroke):
15300 Use format-message so that quotes are restyled.
15301 * lisp/cus-edit.el (custom-raised-buttons, customize-browse):
15302 Don’t quote ‘raised’.
15303 * lisp/descr-text.el (describe-char):
15304 * lisp/dirtrack.el (dirtrack-debug-message):
15305 * lisp/hexl.el (hexl-insert-multibyte-char):
15306 Apply substitute-command-keys to help string.
15307 * lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
15308 (wdired-do-perm-changes):
15309 Let dired-log do the formatting.
15311 2015-08-25 Paul Eggert <eggert@cs.ucla.edu>
15313 Go back to grave quoting in Tramp
15314 * lisp/net/tramp-adb.el:
15315 * lisp/net/tramp-cache.el:
15316 * lisp/net/tramp-compat.el:
15317 * lisp/net/tramp-gvfs.el:
15318 * lisp/net/tramp-gw.el:
15319 * lisp/net/tramp-sh.el:
15320 * lisp/net/tramp-smb.el:
15321 * lisp/net/tramp.el:
15322 Stick with grave quoting in diagnostics strings. This is more
15323 portable to older Emacs, desirable for Tramp.
15324 * lisp/net/tramp-cache.el: Use ‘format-message’, not ‘format’,
15325 for diagnostic that needs requoting.
15326 * lisp/net/tramp-compat.el (format-message):
15327 Fall back on simple ‘format’, since that’s good enough now.
15329 Go back to grave quoting in Gnus
15330 * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
15331 * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
15332 (gnus-agent-fetch-headers):
15333 * lisp/gnus/gnus-int.el (gnus-start-news-server):
15334 * lisp/gnus/gnus-registry.el:
15335 (gnus-registry--split-fancy-with-parent-internal)
15336 (gnus-registry-post-process-groups):
15337 * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
15338 * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
15339 * lisp/gnus/gnus-topic.el (gnus-topic-rename):
15340 * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
15341 * lisp/gnus/spam.el (spam-check-blackholes):
15342 Stick with grave quoting in diagnostics strings. This is more
15343 portable to older Emacs, desirable for Gnus.
15345 Fix customization of text-quoting-style
15346 * lisp/cus-edit.el (custom-guess-type, custom-variable-documentation):
15347 * lisp/wid-edit.el (widget-docstring):
15348 Get raw docstring here since it’s cooked later and should not be
15350 * lisp/cus-edit.el (custom-group-value-create):
15351 Cook the docstring before inserting it.
15352 * lisp/cus-start.el (text-quoting-style): Quote the customization
15353 docstrings according to the new rules. Give curved examples.
15355 format-message now curves ` and '
15356 That way, the caller doesn’t have to use curved quotes to
15357 get diagnostics that match the text-quoting-style preferences.
15358 Suggested by Dmitry Gutov in:
15359 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00893.html
15360 This means we no longer need %qs, so remove that format.
15361 While we’re at it, fix an unlikely bug and lessen the pressure
15362 on the garbage collector by processing the string once rather
15363 than twice in the usual case.
15364 * doc/lispref/strings.texi (Formatting Strings):
15365 * etc/NEWS: Document this.
15366 * lisp/subr.el (format-message): Remove; now done in C.
15367 * src/callint.c (Fcall_interactively):
15368 * src/editfns.c (Fmessage, Fmessage_box):
15369 Use Fformat_message instead of Finternal__text_restyle
15370 followed by Fformat.
15371 * src/doc.c (LSQM, RSQM): Remove; all uses changed to use
15373 (Fsubstitute_command_keys): Prefer AUTO_STRING to build_string
15374 when pure ASCII now suffices. Fix unlikely bug when parsing
15375 unibyte string containing non-ASCII bytes. Use inline code
15376 rather than memcpy, as it’s a tiny number of bytes.
15377 (Finternal__text_restyle): Remove; no longer used.
15378 (syms_of_doc): Don’t declare it.
15379 * src/editfns.c (Fformat): Rewrite in terms of new function
15381 (Fformat_message): New function, moved here from subr.el.
15382 (styled_format): New function, with the old guts of Fformat,
15383 except it now optionally transliterates quotes, and it transliterates
15384 traditional grave accent and apostrophe quoting as well.
15385 Remove recently-added q flag; no longer needed or used.
15386 (syms_of_editfns): Define format-message.
15387 * src/lisp.h (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
15388 Remove; no longer need to be global symbols.
15389 * src/xdisp.c (vadd_to_log): Use Fformat_message, not Fformat,
15390 so that callers can use `%s'.
15391 * src/image.c (image_size_error, xbm_load_image, xbm_load)
15392 (xpm_load, pbm_load, png_load_body, jpeg_load_body, tiff_load)
15393 (gif_load, imagemagick_load_image, imagemagick_load, svg_load)
15394 (svg_load_image, gs_load, x_kill_gs_process):
15395 * src/lread.c (load_warn_old_style_backquotes):
15396 * src/xfaces.c (load_pixmap):
15397 * src/xselect.c (x_clipboard_manager_error_1):
15398 Use `%s' instead of %qs in formats.
15400 2015-08-25 Eli Zaretskii <eliz@gnu.org>
15402 Minor fixes in doc/emacs/search.texi
15403 * doc/emacs/search.texi (Basic Isearch): Fix a typo.
15404 (Special Isearch): Use @w{} to generate several consecutive spaces
15405 with Texinfo 6. (Bug#21345)
15407 2015-08-25 Michael Albinus <michael.albinus@gmx.de>
15409 * lisp/net/tramp-sh.el (tramp-awk-encode, tramp-awk-decode)
15410 (tramp-awk-coding-test): New defconsts.
15411 (tramp-remote-coding-commands): Use them.
15412 (tramp-find-inline-encoding): Check for Perl only if necessary.
15414 2015-08-25 Xue Fuqiao <xfq.free@gmail.com>
15416 * doc/lispintro/emacs-lisp-intro.texi (Run a Program): Add some
15417 index entries for the special form `quote'.
15419 2015-08-25 Paul Eggert <eggert@cs.ucla.edu>
15423 Gnus format-message typo fix
15424 * lisp/gnus/gnus-util.el (gnus-format-message):
15425 Fix typo when running in older Emacs.
15427 Prefer directed to neutral quotes in docstings and diagnostics.
15428 In docstrings, escape apostrophes that would otherwise be translated
15429 to curved quotes using the newer, simpler rules.
15430 * admin/unidata/unidata-gen.el (unidata-gen-table):
15431 * lisp/align.el (align-region):
15432 * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet):
15433 * lisp/bookmark.el (bookmark-default-annotation-text):
15434 * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
15435 * lisp/calc/calc-lang.el (math-read-giac-subscr)
15436 (math-read-math-subscr):
15437 * lisp/calc/calc-misc.el (report-calc-bug):
15438 * lisp/calc/calc-prog.el (calc-fix-token-name)
15439 (calc-read-parse-table-part):
15440 * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
15441 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
15442 * lisp/dabbrev.el (dabbrev-expand):
15443 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
15444 * lisp/emacs-lisp/elint.el (elint-get-top-forms):
15445 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
15446 * lisp/emulation/viper-cmd.el (viper-toggle-search-style):
15447 * lisp/erc/erc-button.el (erc-nick-popup):
15448 * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login):
15449 * lisp/eshell/em-dirs.el (eshell/cd):
15450 * lisp/eshell/em-glob.el (eshell-glob-regexp):
15451 * lisp/eshell/em-pred.el (eshell-parse-modifiers):
15452 * lisp/eshell/esh-arg.el (eshell-parse-arguments):
15453 * lisp/eshell/esh-opt.el (eshell-show-usage):
15454 * lisp/files-x.el (modify-file-local-variable):
15455 * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer)
15456 (filesets-update-pre010505):
15457 * lisp/find-cmd.el (find-generic, find-to-string):
15458 * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
15459 * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
15460 (gnus-agent-fetch-headers):
15461 * lisp/gnus/gnus-int.el (gnus-start-news-server):
15462 * lisp/gnus/gnus-registry.el:
15463 (gnus-registry--split-fancy-with-parent-internal):
15464 * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
15465 * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
15466 * lisp/gnus/gnus-topic.el (gnus-topic-rename):
15467 * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
15468 * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
15469 * lisp/gnus/spam.el (spam-check-blackholes):
15470 * lisp/mail/feedmail.el (feedmail-run-the-queue):
15471 * lisp/mpc.el (mpc-playlist-rename):
15472 * lisp/net/ange-ftp.el (ange-ftp-shell-command):
15473 * lisp/net/mairix.el (mairix-widget-create-query):
15474 * lisp/net/tramp-cache.el:
15475 * lisp/obsolete/otodo-mode.el (todo-more-important-p):
15476 * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
15477 * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
15478 * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
15479 * lisp/org/ob-core.el (org-babel-goto-named-src-block)
15480 (org-babel-goto-named-result):
15481 * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
15482 * lisp/org/ob-ref.el (org-babel-ref-resolve):
15483 * lisp/org/org-agenda.el (org-agenda-prepare):
15484 * lisp/org/org-bibtex.el (org-bibtex-fields):
15485 * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
15486 (org-clock-resolve):
15487 * lisp/org/org-feed.el (org-feed-parse-atom-entry):
15488 * lisp/org/org-habit.el (org-habit-parse-todo):
15489 * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
15490 (org-mouse-context-menu):
15491 * lisp/org/org-table.el (org-table-edit-formulas):
15492 * lisp/org/ox.el (org-export-async-start):
15493 * lisp/play/dunnet.el (dun-score, dun-help, dun-endgame-question)
15494 (dun-rooms, dun-endgame-questions):
15495 * lisp/progmodes/ada-mode.el (ada-goto-matching-start):
15496 * lisp/progmodes/ada-xref.el (ada-find-executable):
15497 * lisp/progmodes/antlr-mode.el (antlr-options-alists):
15498 * lisp/progmodes/flymake.el (flymake-parse-err-lines)
15499 (flymake-start-syntax-check-process):
15500 * lisp/progmodes/python.el (python-define-auxiliary-skeleton):
15501 * lisp/progmodes/sql.el (sql-comint):
15502 * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
15503 * lisp/server.el (server-get-auth-key):
15504 * lisp/subr.el (version-to-list):
15505 * lisp/textmodes/reftex-ref.el (reftex-label):
15506 * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
15507 * lisp/vc/ediff-diff.el (ediff-same-contents):
15508 * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
15509 * test/automated/tramp-tests.el (tramp-test33-asynchronous-requests):
15510 Use directed rather than neutral quotes in diagnostics.
15512 Treat ' like ’ even when not matching `
15513 This is simpler and easier to explain, and should encourage better
15514 typography. Do this in Electric Quote mode and when translating
15515 quotes in docstrings. Inspired by a suggestion by Dmitry Gutov in:
15516 https://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00806.html
15517 * doc/emacs/text.texi (Quotation Marks):
15518 * doc/lispref/help.texi (Keys in Documentation):
15521 * lisp/electric.el (electric-quote-post-self-insert-function):
15522 * src/doc.c (Fsubstitute_command_keys):
15523 Always treat ' like ’ even when not matched by an open quote.
15525 2015-08-25 Glenn Morris <rgm@gnu.org>
15527 * doc/emacs/cal-xtra.texi (Holiday Customizing): Fix typo in example.
15528 * lisp/calendar/holidays.el (calendar-holidays): Fix doc typo.
15530 2015-08-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15532 * src/macfont.m (macfont_create_family_with_symbol):
15533 Accept localized names.
15535 2015-08-24 Paul Eggert <eggert@cs.ucla.edu>
15537 Tramp diagnostics as per ‘text-quoting-style’
15538 * lisp/net/tramp-adb.el (tramp-adb-handle-file-truename)
15539 (tramp-adb-get-ls-command, tramp-adb-handle-make-directory)
15540 (tramp-adb-handle-delete-directory)
15541 (tramp-adb-handle-delete-file)
15542 (tramp-adb-handle-file-local-copy)
15543 (tramp-adb-handle-write-region, tramp-adb-handle-copy-file)
15544 (tramp-adb-send-command-and-check, tramp-adb-wait-for-output)
15545 (tramp-adb-maybe-open-connection):
15546 * lisp/net/tramp-cache.el:
15547 * lisp/net/tramp-compat.el (tramp-compat-temporary-file-directory)
15548 (tramp-compat-octal-to-decimal)
15549 (tramp-compat-coding-system-change-eol-conversion):
15550 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler)
15551 (tramp-gvfs-do-copy-or-rename-file)
15552 (tramp-gvfs-handle-delete-directory)
15553 (tramp-gvfs-handle-delete-file)
15554 (tramp-gvfs-handle-expand-file-name)
15555 (tramp-gvfs-handle-file-local-copy)
15556 (tramp-gvfs-handle-file-notify-add-watch)
15557 (tramp-gvfs-handle-make-directory)
15558 (tramp-gvfs-handle-write-region, tramp-gvfs-url-file-name):
15559 * lisp/net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
15560 (tramp-gw-aux-proc-sentinel, tramp-gw-open-connection):
15561 * lisp/net/tramp-sh.el (tramp-sh-handle-file-truename)
15562 (tramp-sh-handle-set-visited-file-modtime)
15563 (tramp-sh-handle-set-file-modes)
15564 (tramp-sh-handle-file-name-all-completions)
15565 (tramp-sh-handle-add-name-to-file, tramp-do-copy-or-rename-file)
15566 (tramp-do-copy-or-rename-file-directly)
15567 (tramp-do-copy-or-rename-file-out-of-band)
15568 (tramp-sh-handle-make-directory)
15569 (tramp-sh-handle-delete-directory, tramp-sh-handle-delete-file)
15570 (tramp-sh-handle-insert-directory, tramp-process-sentinel)
15571 (tramp-sh-handle-start-file-process)
15572 (tramp-sh-handle-file-local-copy)
15573 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
15574 (tramp-sh-handle-file-notify-add-watch, tramp-maybe-send-script)
15575 (tramp-find-file-exists-command, tramp-open-shell)
15577 (tramp-open-connection-setup-interactive-shell)
15578 (tramp-find-inline-encoding, tramp-find-inline-compress)
15579 (tramp-compute-multi-hops, tramp-maybe-open-connection)
15580 (tramp-wait-for-output, tramp-send-command-and-check)
15581 (tramp-send-command-and-read, tramp-get-remote-path)
15582 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
15583 (tramp-get-ls-command-with-quoting-style)
15584 (tramp-get-test-command, tramp-get-remote-ln)
15585 (tramp-get-remote-perl, tramp-get-remote-stat)
15586 (tramp-get-remote-readlink, tramp-get-remote-trash)
15587 (tramp-get-remote-touch, tramp-get-remote-gvfs-monitor-dir)
15588 (tramp-get-remote-inotifywait, tramp-get-remote-id)
15589 (tramp-get-remote-python):
15590 * lisp/net/tramp-smb.el (tramp-smb-errors)
15591 (tramp-smb-handle-add-name-to-file, tramp-smb-handle-copy-file)
15592 (tramp-smb-handle-delete-directory)
15593 (tramp-smb-handle-delete-file)
15594 (tramp-smb-handle-file-local-copy)
15595 (tramp-smb-handle-make-directory)
15596 (tramp-smb-handle-make-directory-internal)
15597 (tramp-smb-handle-make-symbolic-link)
15598 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-acl)
15599 (tramp-smb-handle-set-file-modes)
15600 (tramp-smb-handle-write-region, tramp-smb-get-file-entries):
15601 * lisp/net/tramp.el (tramp-debug-message, tramp-error)
15602 (tramp-process-actions):
15603 Generate diagnostics according to ‘text-quoting-style’, by
15604 using curved quotes in format strings and ‘format-message’
15606 * lisp/net/tramp-compat.el (format-message):
15607 Define a replacement, if it’s an older version of Emacs
15608 that doesn’t have it already.
15610 * etc/NEWS: Clarify text-quoting-style and electric-quote-mode.
15612 2015-08-24 Xue Fuqiao <xfq.free@gmail.com>
15614 Fix documentation for `save-excursion'
15615 * doc/lispref/positions.texi (Excursions):
15616 * doc/lispintro/emacs-lisp-intro.texi (save-excursion)
15617 (Template for save-excursion, Point and mark): `save-excursion'
15618 does not save&restore the mark any more.
15620 2015-08-24 Michael Albinus <michael.albinus@gmx.de>
15622 * lisp/net/tramp-sh.el (tramp-stat-marker, tramp-stat-quoted-marker):
15624 (tramp-do-file-attributes-with-stat)
15625 (tramp-do-directory-files-and-attributes-with-stat): Use them.
15626 (tramp-convert-file-attributes): Remove double slashes in symlinks.
15627 * test/automated/tramp-tests.el (tramp-test18-file-attributes):
15628 Handle symlinks with "//" in the file name.
15630 Revert fbb5531fa11d13854b274d28ccd329c9b6652cfc for tramp.el.
15632 2015-08-24 Nicolas Petton <nicolas@petton.fr>
15634 Fix cl-subseq and cl-concatenate
15635 * lisp/emacs-lisp/cl-extra.el (cl-subseq, cl-concatenate): Do not use
15637 * lisp/emacs-lisp/seq.el (seq-concatenate): Call cl-concatenate in
15640 2015-08-24 Pip Cet <pipcet@gmail.com> (tiny change)
15642 Fix full-screen code when there is no window manager (Bug#21317)
15643 * src/xterm.h (x_wm_supports): Declare external.
15644 * src/xterm.c (wm_suppports): Rename to `x_wm_supports', export.
15645 (do_ewmh_fullscreen, x_ewmh_activate_frame): Adjust for rename.
15646 (x_check_fullscreen): Call `x_wm_set_size_hint', restore
15647 `fullscreen' frame parameter.
15648 * src/gtkutil.c (x_wm_set_size_hint): Set size hints when running
15649 without a window manager.
15651 2015-08-24 Glenn Morris <rgm@gnu.org>
15653 * lisp/version.el (emacs-version): No longer include build host.
15654 * doc/lispref/intro.texi (Version Info): Update example.
15656 2015-08-24 Paul Eggert <eggert@cs.ucla.edu>
15658 * doc/lispref/elisp.texi: Fix typo in previous change.
15660 More-conservative ‘format’ quote restyling
15661 Instead of restyling curved quotes for every call to ‘format’,
15662 create a new function ‘format-message’ that does the restyling,
15663 and using the new function instead of ‘format’ only in contexts
15664 where this seems appropriate.
15665 Problem reported by Dmitry Gutov and Andreas Schwab in:
15666 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00826.html
15667 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00827.html
15668 * doc/lispref/commands.texi (Using Interactive):
15669 * doc/lispref/control.texi (Signaling Errors, Signaling Errors):
15670 * doc/lispref/display.texi (Displaying Messages, Progress):
15671 * doc/lispref/elisp.texi:
15672 * doc/lispref/help.texi (Keys in Documentation):
15673 * doc/lispref/minibuf.texi (Minibuffer Misc):
15674 * doc/lispref/strings.texi (Formatting Strings):
15676 Document the changes.
15677 * lisp/abbrev.el (expand-region-abbrevs):
15678 * lisp/apropos.el (apropos-library):
15679 * lisp/calc/calc-ext.el (calc-record-message)
15680 (calc-user-function-list):
15681 * lisp/calc/calc-help.el (calc-describe-key, calc-full-help):
15682 * lisp/calc/calc-lang.el (math-read-big-balance):
15683 * lisp/calc/calc-store.el (calc-edit-variable):
15684 * lisp/calc/calc-units.el (math-build-units-table-buffer):
15685 * lisp/calc/calc-yank.el (calc-edit-mode):
15686 * lisp/calendar/icalendar.el (icalendar-export-region)
15687 (icalendar--add-diary-entry):
15688 * lisp/cedet/mode-local.el (mode-local-print-binding)
15689 (mode-local-describe-bindings-2):
15690 * lisp/cedet/semantic/complete.el (semantic-completion-message):
15691 * lisp/cedet/semantic/edit.el (semantic-parse-changes-failed):
15692 * lisp/cedet/semantic/wisent/comp.el (wisent-log):
15693 * lisp/cedet/srecode/insert.el (srecode-insert-show-error-report):
15694 * lisp/descr-text.el (describe-text-properties-1, describe-char):
15695 * lisp/dframe.el (dframe-message):
15696 * lisp/dired-aux.el (dired-query):
15697 * lisp/emacs-lisp/byte-opt.el (byte-compile-log-lap-1):
15698 * lisp/emacs-lisp/bytecomp.el (byte-compile-log)
15699 (byte-compile-log-file, byte-compile-warn, byte-compile-form):
15700 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
15701 (cconv-analyze-form):
15702 * lisp/emacs-lisp/check-declare.el (check-declare-warn):
15703 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
15704 * lisp/emacs-lisp/cl-macs.el (cl-symbol-macrolet):
15705 * lisp/emacs-lisp/edebug.el (edebug-format):
15706 * lisp/emacs-lisp/eieio-core.el (eieio-oref):
15707 * lisp/emacs-lisp/eldoc.el (eldoc-minibuffer-message)
15709 * lisp/emacs-lisp/elint.el (elint-file, elint-log):
15710 * lisp/emacs-lisp/find-func.el (find-function-library):
15711 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
15712 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
15713 * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
15714 * lisp/emacs-lisp/package.el (package-compute-transaction)
15715 (package-install-button-action, package-delete-button-action)
15716 (package-menu--list-to-prompt):
15717 * lisp/emacs-lisp/timer.el (timer-event-handler):
15718 * lisp/emacs-lisp/warnings.el (lwarn, warn):
15719 * lisp/emulation/viper-cmd.el:
15720 (viper-toggle-parse-sexp-ignore-comments)
15721 (viper-kill-buffer, viper-brac-function):
15722 * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
15723 * lisp/facemenu.el (facemenu-add-new-face):
15724 * lisp/faces.el (face-documentation, read-face-name)
15725 (face-read-string, read-face-font, describe-face):
15726 * lisp/files.el (find-alternate-file, hack-local-variables)
15727 (hack-one-local-variable--obsolete, write-file)
15728 (basic-save-buffer, delete-directory):
15729 * lisp/format.el (format-write-file, format-find-file)
15730 (format-insert-file):
15731 * lisp/help-fns.el (help-fns--key-bindings)
15732 (help-fns--compiler-macro, help-fns--obsolete)
15733 (help-fns--interactive-only, describe-function-1)
15734 (describe-variable):
15735 * lisp/help.el (describe-mode):
15736 * lisp/info-xref.el (info-xref-output):
15737 * lisp/info.el (Info-virtual-index-find-node)
15738 (Info-virtual-index, info-apropos):
15739 * lisp/international/kkc.el (kkc-error):
15740 * lisp/international/mule-cmds.el:
15741 (select-safe-coding-system-interactively)
15742 (select-safe-coding-system, describe-input-method):
15743 * lisp/international/mule-conf.el (code-offset):
15744 * lisp/international/mule-diag.el (describe-character-set)
15745 (list-input-methods-1):
15746 * lisp/international/quail.el (quail-error):
15747 * lisp/minibuffer.el (minibuffer-message):
15748 * lisp/mpc.el (mpc--debug):
15749 * lisp/msb.el (msb--choose-menu):
15750 * lisp/net/ange-ftp.el (ange-ftp-message):
15751 * lisp/net/gnutls.el (gnutls-message-maybe):
15752 * lisp/net/newst-backend.el (newsticker--sentinel-work):
15753 * lisp/net/newst-treeview.el (newsticker--treeview-load):
15754 * lisp/net/nsm.el (nsm-query-user):
15755 * lisp/net/rlogin.el (rlogin):
15756 * lisp/net/soap-client.el (soap-warning):
15757 * lisp/net/tramp.el (tramp-debug-message):
15758 * lisp/nxml/nxml-outln.el (nxml-report-outline-error):
15759 * lisp/nxml/nxml-parse.el (nxml-parse-error):
15760 * lisp/nxml/rng-cmpct.el (rng-c-error):
15761 * lisp/nxml/rng-match.el (rng-compile-error):
15762 * lisp/nxml/rng-uri.el (rng-uri-error):
15763 * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
15764 * lisp/org/org-ctags.el:
15765 (org-ctags-ask-rebuild-tags-file-then-find-tag):
15766 * lisp/proced.el (proced-log):
15767 * lisp/progmodes/ebnf2ps.el (ebnf-log):
15768 * lisp/progmodes/flymake.el (flymake-log):
15769 * lisp/progmodes/vhdl-mode.el (vhdl-warning-when-idle):
15770 * lisp/replace.el (occur-1):
15771 * lisp/simple.el (execute-extended-command)
15772 (undo-outer-limit-truncate, define-alternatives):
15773 * lisp/startup.el (command-line):
15774 * lisp/subr.el (error, user-error, add-to-list):
15775 * lisp/tutorial.el (tutorial--describe-nonstandard-key)
15776 (tutorial--find-changed-keys):
15777 * src/callint.c (Fcall_interactively):
15778 * src/editfns.c (Fmessage, Fmessage_box):
15779 Restyle the quotes of format strings intended for use as a
15780 diagnostic, when restyling seems appropriate.
15781 * lisp/subr.el (format-message): New function.
15782 * src/doc.c (Finternal__text_restyle): New function.
15783 (syms_of_doc): Define it.
15785 2015-08-23 Paul Eggert <eggert@cs.ucla.edu>
15787 * etc/NEWS: The new ‘q’ flag is not an incompatible change.
15789 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
15791 python.el: Fix python-shell-buffer-substring on indented code
15793 * lisp/progmodes/python.el (python-shell-buffer-substring):
15794 Respect current line indentation when calculating string.
15795 * test/automated/python-tests.el
15796 (python-shell-buffer-substring-10)
15797 (python-shell-buffer-substring-11)
15798 (python-shell-buffer-substring-12): New tests.
15800 2015-08-23 Paul Eggert <eggert@cs.ucla.edu>
15802 Fix minor glitches from ‘format’ reversion
15803 * doc/lispref/strings.texi (Formatting Strings):
15804 After reversion, ‘text-quoting-style’ is documented in ‘Keys in
15805 Documentation’, not below.
15806 * src/syntax.c (Finternal_describe_syntax_value):
15807 Prefer AUTO_STRING to build_string where either will do, as
15808 AUTO_STRING is a bit faster.
15810 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
15812 python.el: Defer shell setup code until first interactive prompt
15813 * lisp/progmodes/python.el
15814 (python-shell-comint-watch-for-first-prompt-output-filter):
15816 (inferior-python-mode): Use it.
15817 (python-shell-first-prompt-hook): New hook.
15818 (python-shell-send-setup-code)
15819 (python-shell-completion-native-turn-on-maybe-with-msg): Attach to
15820 this hook instead of inferior-python-hook.
15822 2015-08-23 Nicolas Petton <nicolas@petton.fr>
15824 Remove the calls to `seq-into` from `seq-concatenate`
15825 Since most new types of seq would have to be defined as sequences (cons
15826 cells or CL structs, mostly), there is no need to convert the seqs to
15827 sequences (which can be a fairly expensive operation).
15828 * lisp/emacs-lisp/seq.el (seq-concatenate): Do not ensure that seqs are
15831 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
15833 python.el: Fix completion for pdb interactions
15834 * lisp/progmodes/python.el (python-shell-completion-setup-code):
15835 Simplify. Toggle print_mode for native wrapped completer.
15836 (python-shell-completion-native-setup): Ensure process buffer.
15837 Add print_mode attribute to completer wrapper to toggle returning
15838 or printing candidates.
15839 (python-shell-completion-native-get-completions): Cleanup.
15840 (python-shell-completion-get-completions): Cleanup.
15841 (python-shell-completion-at-point): Perform prompt checks.
15842 Force fallback completion in pdb interactions.
15844 2015-08-23 Nicolas Petton <nicolas@petton.fr>
15846 Make seq.el more extensible by using cl-defmethod
15847 * lisp/emacs-lisp/seq.el: Define seq.el functions using cl-defmethod to
15848 make it easier to extend seq.el with new "seq types".
15849 * test/automated/seq-tests.el (test-setf-seq-elt): New test.
15850 * lisp/emacs-lisp/cl-extra.el (cl-subseq): Move back the definition of
15851 subseq in cl-extra.el, and use it in seq.el.
15853 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
15855 python.el: Fix prompt detection with user overridden interpreter
15856 * lisp/progmodes/python.el (python-shell-prompt-detect):
15857 Honor buffer local python-shell-interpreter and
15858 python-shell-interpreter-interactive-arg.
15860 2015-08-23 Eli Zaretskii <eliz@gnu.org>
15862 Support exec-directory with non-ASCII characters on Windows
15863 * src/w32proc.c (sys_spawnve): Make sure exec-directory is encoded
15864 in the system's ANSI codepage, when it is used for invoking
15867 2015-08-23 Andreas Schwab <schwab@linux-m68k.org>
15869 Revert "Extend ‘format’ to translate curved quotes"
15870 This reverts commit 244c801689d2f7a80480d83cd7d092d4762ebe08.
15872 Revert "Prefer ‘format’ to ‘substitute-command-keys’"
15873 This reverts commit 6af5aad26411ffe21c3fe4bc5438347110910111.
15875 2015-08-23 Xue Fuqiao <xfq.free@gmail.com>
15877 * doc/lispintro/emacs-lisp-intro.texi (Switching Buffers):
15878 Clarify "invisible window".
15880 2015-08-23 Xue Fuqiao <xfq.free@gmail.com>
15882 * doc/emacs/modes.texi (Choosing Modes): Minor doc fix for
15883 magic-fallback-mode-alist.
15885 2015-08-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
15887 python.el: fallback completion, ffap and eldoc setup enhancements
15888 Setup codes are now sent continuously so that the current frame is
15889 always taken into account. This allows working within debuggers
15890 and always keeping a fresh version of setup codes that will return
15892 * lisp/progmodes/python.el (python-shell-setup-codes): Cleanup.
15893 (python-shell-send-setup-code): Send code only when
15894 python-shell-setup-codes is non-nil.
15895 (python-shell-completion-string-code): Cleanup trailing newline.
15896 (python-shell-completion-get-completions): Always use
15897 python-shell-completion-setup-code.
15898 (python-ffap-setup-code): Work with any object, not only modules.
15899 (python-ffap-string-code): Cleanup trailing newline.
15900 (python-ffap-module-path): Always use python-ffap-setup-code.
15901 (python-eldoc-string-code): Cleanup trailing newline.
15902 (python-eldoc--get-doc-at-point): Always use
15903 python-eldoc-setup-code. Return non-nil only if docstring is
15906 python.el: Increase native completion robustness
15907 * lisp/progmodes/python.el (python-shell-completion-native-setup):
15908 Make completer print real candidates and just return dummy ones to
15909 avoid input modification.
15910 (python-shell-completion-native-get-completions): Set
15911 comint-redirect-insert-matching-regexp to non-nil and make
15912 comint-redirect-finished-regexp match the last dummy candidate.
15913 Use python-shell-accept-process-output to wait for the full list
15916 2015-08-22 Eli Zaretskii <eliz@gnu.org>
15918 Fix invocation of programs via cmdproxy.exe
15919 * src/w32proc.c (sys_spawnve): Use exec-directory, not
15920 invocation-directory, for finding cmdproxy.exe. When Emacs is
15921 run from the source tree, look for cmdproxy.exe in the same source
15924 2015-08-22 Simen Heggestøyl <simenheg@gmail.com>
15926 Handle comments inside unquoted URIs in css-mode
15927 * lisp/textmodes/css-mode.el (css--uri-re): New defconst.
15928 (css-syntax-propertize-function): New defconst.
15929 (css--font-lock-keywords): Handle parens around unquoted URIs.
15930 (css-mode): Set `syntax-propertize-function'.
15932 2015-08-22 Eli Zaretskii <eliz@gnu.org>
15934 Support invocation of Hunspell with multiple dictionaries
15935 * lisp/textmodes/ispell.el (ispell-parse-hunspell-affix-file):
15936 Support lists of dictionaries of the form "DICT1,DICT2,...".
15937 (ispell-hunspell-add-multi-dic): New command. (Bug#20495)
15939 Minor formatting changes in ispell.el
15940 * lisp/textmodes/ispell.el (ispell-create-debug-buffer)
15941 (ispell-print-if-debug, ispell-aspell-find-dictionary)
15942 (ispell-aspell-add-aliases, ispell-hunspell-dict-paths-alist)
15943 (ispell-hunspell-dictionary-alist)
15944 (ispell-hunspell-fill-dictionary-entry)
15945 (ispell-find-hunspell-dictionaries, ispell-send-replacement)
15946 (ispell-buffer-with-debug, ispell-complete-word)
15947 (ispell-current-dictionary, ispell-current-personal-dictionary)
15948 (ispell-accept-output, ispell-minor-mode)
15949 (ispell-personal-dictionary, ispell-dictionary-alist)
15950 (ispell-really-aspell, ispell-really-hunspell)
15951 (ispell-encoding8-command, ispell-aspell-supports-utf8)
15952 (ispell-aspell-dictionary-alist, ispell-set-spellchecker-params):
15953 Fix whitespace, inconsistent capitalization, and arguments in doc
15956 2015-08-22 Martin Rudalics <rudalics@gmx.at>
15958 * lisp/window.el (adjust-window-trailing-edge): Fix bug where this
15959 function refused to resize a size-preserved window.
15961 2015-08-22 Eli Zaretskii <eliz@gnu.org>
15963 * doc/lispref/windows.texi (Selecting Windows): Improve
15964 documentation and indexing of 'window-use-time'.
15966 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
15968 * lisp/progmodes/cc-vars.el, lisp/progmodes/cc-styles.el:
15969 * lisp/progmodes/cc-mode.el, lisp/progmodes/cc-menus.el:
15970 * lisp/progmodes/cc-langs.el, lisp/progmodes/cc-guess.el:
15971 * lisp/progmodes/cc-fonts.el, lisp/progmodes/cc-engine.el:
15972 * lisp/progmodes/cc-defs.el, lisp/progmodes/cc-cmds.el:
15973 * lisp/progmodes/cc-bytecomp.el, lisp/progmodes/cc-awk.el:
15974 * lisp/progmodes/cc-align.el, lisp/net/soap-client.el:
15975 Fix up commenting style.
15977 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
15979 text-quoting-style in emacs-lisp diagnostics
15980 * lisp/emacs-lisp/advice.el (ad-read-advised-function)
15981 (ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
15982 (ad-disable-advice, ad-remove-advice, ad-set-argument)
15983 (ad-set-arguments):
15984 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
15985 (byte-compile-unfold-lambda, byte-optimize-form-code-walker)
15986 (byte-optimize-while, byte-optimize-apply):
15987 * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
15988 (byte-compile-log-file, byte-compile-format-warn)
15989 (byte-compile-nogroup-warn, byte-compile-arglist-warn)
15990 (byte-compile-cl-warn)
15991 (byte-compile-warn-about-unresolved-functions)
15992 (byte-compile-file, byte-compile-fix-header)
15993 (byte-compile--declare-var, byte-compile-file-form-defmumble)
15994 (byte-compile-form, byte-compile-normal-call)
15995 (byte-compile-variable-ref, byte-compile-variable-set)
15996 (byte-compile-subr-wrong-args, byte-compile-setq-default)
15997 (byte-compile-negation-optimizer)
15998 (byte-compile-condition-case--old)
15999 (byte-compile-condition-case--new, byte-compile-save-excursion)
16000 (byte-compile-defvar, byte-compile-autoload)
16001 (byte-compile-lambda-form)
16002 (byte-compile-make-variable-buffer-local, display-call-tree)
16003 (batch-byte-compile):
16004 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
16005 (cconv-analyze-form):
16006 * lisp/emacs-lisp/chart.el (chart-space-usage):
16007 * lisp/emacs-lisp/check-declare.el (check-declare-scan)
16008 (check-declare-warn, check-declare-file)
16009 (check-declare-directory):
16010 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
16011 (checkdoc-message-text-engine):
16012 * lisp/emacs-lisp/cl-extra.el (cl-parse-integer):
16013 * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
16014 (cl-symbol-macrolet):
16015 * lisp/emacs-lisp/cl.el (cl-unload-function, flet):
16016 * lisp/emacs-lisp/copyright.el (copyright)
16017 (copyright-update-directory):
16018 * lisp/emacs-lisp/edebug.el (edebug-read-list):
16019 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
16020 * lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
16021 (eieio-oref, eieio-oset-default):
16022 * lisp/emacs-lisp/eieio-speedbar.el:
16023 (eieio-speedbar-child-make-tag-lines)
16024 (eieio-speedbar-child-description):
16025 * lisp/emacs-lisp/eieio.el (defclass, change-class):
16026 * lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
16027 (elint-init-form, elint-check-defalias-form)
16028 (elint-check-let-form):
16029 * lisp/emacs-lisp/ert.el (ert-get-test):
16030 * lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
16031 (find-function-library):
16032 * lisp/emacs-lisp/generator.el (iter-yield):
16033 * lisp/emacs-lisp/gv.el (gv-define-simple-setter):
16034 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
16035 * lisp/emacs-lisp/package-x.el (package-upload-file):
16036 * lisp/emacs-lisp/package.el (package-version-join)
16037 (package-disabled-p, package-activate-1, package-activate)
16038 (package--download-one-archive)
16039 (package--download-and-read-archives)
16040 (package-compute-transaction, package-install-from-archive)
16041 (package-install, package-install-selected-packages)
16042 (package-delete, package-autoremove)
16043 (package-install-button-action, package-delete-button-action)
16044 (package-menu-hide-package, package-menu--list-to-prompt)
16045 (package-menu--perform-transaction)
16046 (package-menu--find-and-notify-upgrades):
16047 * lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
16048 * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
16049 * lisp/emacs-lisp/ring.el (ring-next, ring-previous):
16050 * lisp/emacs-lisp/rx.el (rx-check, rx-anything):
16051 * lisp/emacs-lisp/smie.el (smie-config-save):
16052 * lisp/emacs-lisp/subr-x.el (internal--check-binding):
16053 * lisp/emacs-lisp/testcover.el (testcover-1value):
16054 Use curved quotes in diagnostic format strings.
16056 2015-08-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
16058 python.el: Ensure remote process-environment on non-interactive processes
16059 * lisp/progmodes/python.el
16060 (python-shell-tramp-refresh-process-environment): New function.
16061 (python-shell-with-environment): Use it.
16062 * test/automated/python-tests.el (python-shell-with-environment-2):
16065 python.el: Enhancements to process environment setup.
16066 * lisp/progmodes/python.el (python-shell-process-environment)
16067 (python-shell-extra-pythonpaths, python-shell-exec-path)
16068 (python-shell-virtualenv-root): Update docstring. Remove :safe.
16069 (python-shell-setup-codes): Remove :safe.
16070 (python-shell-remote-exec-path): New defcustom.
16071 (python-shell--add-to-path-with-priority): New macro.
16072 (python-shell-calculate-pythonpath): Give priority to
16073 python-shell-extra-pythonpaths. Update docstring.
16074 (python-shell-calculate-process-environment): Give priority to
16075 python-shell-process-environment. Update docstring.
16076 (python-shell-calculate-exec-path): Give priority to
16077 python-shell-exec-path and calculated virtualenv bin directory.
16079 (python-shell-tramp-refresh-remote-path): New function.
16080 (python-shell-with-environment): Use it when working remotely and
16081 do not modify tramp-remote-path. Allow nesting.
16082 (python-shell-calculate-command): Remove useless
16083 python-shell-with-environment call.
16084 * test/automated/python-tests.el (python-shell-calculate-pythonpath-1)
16085 (python-shell-calculate-pythonpath-2)
16086 (python-shell-calculate-process-environment-6)
16087 (python-shell-calculate-process-environment-7)
16088 (python-shell-calculate-process-environment-8)
16089 (python-shell-calculate-exec-path-3)
16090 (python-shell-calculate-exec-path-4)
16091 (python-shell-calculate-exec-path-5)
16092 (python-shell-calculate-exec-path-6)
16093 (python-shell-with-environment-3): New tests.
16094 (python-shell-calculate-process-environment-2)
16095 (python-shell-calculate-process-environment-3)
16096 (python-shell-calculate-process-environment-4)
16097 (python-shell-calculate-process-environment-5)
16098 (python-shell-calculate-exec-path-1)
16099 (python-shell-calculate-exec-path-2)
16100 (python-shell-with-environment-1)
16101 (python-shell-with-environment-2): Update and simplify.
16103 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
16105 Avoid hard-coding "M-x command" in docstrings
16106 * lisp/calendar/todo-mode.el (todo-mode):
16107 * lisp/desktop.el (desktop-save-mode):
16108 * lisp/edmacro.el (edit-kbd-macro):
16109 * lisp/emacs-lisp/package.el (package-menu-execute):
16110 * lisp/emulation/viper-cmd.el (viper-ask-level):
16111 * lisp/emulation/viper-init.el (viper-expert-level):
16112 * lisp/filesets.el (filesets-add-buffer):
16113 * lisp/follow.el (follow-mode):
16114 * lisp/gnus/auth-source.el (auth-sources):
16115 * lisp/international/ogonek.el (ogonek-informacja)
16116 (ogonek-information):
16117 * lisp/net/tramp.el (tramp-process-actions):
16118 * lisp/org/org-gnus.el (org-gnus-no-new-news):
16119 * lisp/org/org.el (org-ellipsis):
16120 * lisp/progmodes/python.el (python-shell-get-process-or-error):
16121 * lisp/progmodes/vhdl-mode.el (vhdl-mode):
16122 * lisp/server.el (server-start):
16123 * lisp/type-break.el (type-break-noninteractive-query):
16124 * lisp/userlock.el (ask-user-about-supersession-help):
16125 * lisp/whitespace.el (whitespace-report-region):
16126 Prefer (substitute-command-keys "`\\[foo-command]'")
16127 to "`M-x foo-command'" in docstrings and the like.
16129 2015-08-21 Tassilo Horn <tsdh@gnu.org>
16131 Use add-function for prettify-symbols-compose-predicate
16132 * lisp/textmodes/tex-mode.el (tex-common-initialization): Set
16133 prettify-symbols-compose-predicate in terms of add-function.
16134 * etc/NEWS: Mention prettify-symbols-compose-predicate and
16135 prettify-symbols-mode support in tex-mode.
16137 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
16139 * lisp/emacs-lisp/smie.el (smie-indent-current-column): New fun.
16140 (smie-indent-exps, smie-indent-keyword): Use it.
16141 * test/indent/css-mode.css: Test alignment with leading comment.
16143 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
16145 Respect text-quoting-style in (*Finder*) menus
16146 * lisp/info.el (info--prettify-description):
16147 Treat description as a docstring, so that it's requoted as
16148 per text-quoting-style.
16150 2015-08-21 Martin Rudalics <rudalics@gmx.at>
16152 Document `window-use-time' in Elisp manual
16153 * doc/lispref/windows.texi (Selecting Windows): Document
16156 2015-08-21 Eli Zaretskii <eliz@gnu.org>
16158 * src/w32uniscribe.c (_WIN32_WINNT): Define to 0x0600.
16159 This is a cleaner fix for Bug#21260 than the previous change.
16161 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
16163 Respect text-quoting-style in calc
16164 In calc, tespect text-quoting-style preference in diagnostic
16165 formats and fix a few similar problems in docstrings.
16166 * lisp/calc/calc-aent.el (math-read-factor):
16167 * lisp/calc/calc-embed.el (calc-do-embedded):
16168 * lisp/calc/calc-ext.el (calc-user-function-list)
16169 * lisp/calc/calc-graph.el (calc-graph-show-dumb):
16170 * lisp/calc/calc-help.el (calc-describe-key)
16171 (calc-describe-thing):
16172 * lisp/calc/calc-lang.el (calc-c-language)
16173 (math-parse-fortran-vector-end, math-parse-tex-sum)
16174 (math-parse-eqn-matrix, math-parse-eqn-prime)
16175 (calc-yacas-language, calc-maxima-language, calc-giac-language)
16176 (math-read-big-rec, math-read-big-balance):
16177 * lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
16178 (calc-auto-recompute):
16179 * lisp/calc/calc-prog.el (calc-user-define-invocation)
16180 (math-do-arg-check):
16181 * lisp/calc/calc-store.el (calc-edit-variable):
16182 * lisp/calc/calc-units.el (math-build-units-table-buffer):
16183 * lisp/calc/calc-vec.el (math-read-brackets):
16184 * lisp/calc/calc-yank.el (calc-edit-mode):
16185 * lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
16186 Use curved quotes in diagnostic format strings.
16187 * lisp/calc/calc-help.el (calc-describe-thing):
16188 Format docstrings with substitute-command-keys.
16189 * lisp/calc/calc-help.el (calc-j-prefix-help):
16190 * lisp/calc/calc-misc.el (calc-help):
16191 * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
16192 Escape a docstring "`".
16194 2015-08-21 Eli Zaretskii <eliz@gnu.org>
16196 Fix documentation of 'menu-set-font' and 'set-frame-font'
16197 * lisp/menu-bar.el (menu-set-font): Doc fix. (Bug#21303)
16198 * doc/lispref/frames.texi (Frame Font): Document that
16199 set-frame-font with the last argument 't' will also make the font
16200 the default for the future GUI frames.
16202 Document '--create-frame' option to emacsclient
16203 * doc/emacs/misc.texi (emacsclient Options): Document the
16204 '--create-frame' option. (Bug#21308)
16206 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
16208 * lisp/progmodes/js.el (js-mode): Don't eagerly syntax propertize.
16210 2015-08-21 Eli Zaretskii <eliz@gnu.org>
16212 Document 'get-mru-window' in the ELisp manual
16213 * doc/lispref/windows.texi (Cyclic Window Ordering): Document
16214 'get-mru-window'. (Bug#21306)
16216 Clarify documentation of 'get-buffer-window-list'
16217 * doc/lispref/windows.texi (Buffers and Windows): Mention that the
16218 current window, if relevant, will be the first in the list
16219 returned by 'get-buffer-window-list'.
16220 * lisp/window.el (get-buffer-window-list): Doc fix. (Bug#21305)
16222 2015-08-21 Vasilij Schneidermann <v.schneidermann@gmail.com>
16224 In `ielm' use `pop-to-buffer-same-window' (Bug#20848)
16225 * lisp/ielm.el (ielm): Use `pop-to-buffer-same-window' instead of
16226 `switch-to-buffer'.
16228 2015-08-21 Kaushal Modi <kaushal.modi@gmail.com> (tiny change)
16230 In woman.el use `display-buffer' instead of `switch-to-buffer' (Bug#21047)
16231 * lisp/woman.el (woman-really-find-file, WoMan-find-buffer): Use
16232 `display-buffer' instead of `switch-to-buffer'.
16234 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
16236 Follow user preference in calendar diagnostics
16237 Respect text-quoting-style preference in diagnostic formats by
16238 using curved quotes (which are translated as per text-quoting-style)
16239 instead of grave accent and apostrophe (which are not).
16240 * lisp/calendar/appt.el (appt-display-message):
16241 * lisp/calendar/diary-lib.el (diary-check-diary-file)
16242 (diary-mail-entries, diary-from-outlook):
16243 * lisp/calendar/icalendar.el (icalendar-export-region)
16244 (icalendar--convert-float-to-ical)
16245 (icalendar--convert-date-to-ical)
16246 (icalendar--convert-ical-to-diary)
16247 (icalendar--convert-recurring-to-diary)
16248 (icalendar--add-diary-entry):
16249 * lisp/calendar/time-date.el (format-seconds):
16250 * lisp/calendar/timeclock.el (timeclock-mode-line-display)
16251 (timeclock-make-hours-explicit):
16252 * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
16253 (todo-item-mark, todo-check-format)
16254 (todo-insert-item--next-param, todo-edit-item--next-key)
16256 Use curved quotes in diagnostic format strings.
16257 * lisp/calendar/icalendar.el (icalendar-import-format-sample):
16258 * test/automated/icalendar-tests.el (icalendar--import-format-sample):
16259 Just use straight quoting for simple test case.
16261 2015-08-21 Michael Albinus <michael.albinus@gmx.de>
16263 * src/gfilenotify.c (Fgfile_add_watch):
16264 Handle errors from g_file_monitor.
16266 2015-08-21 Martin Rudalics <rudalics@gmx.at>
16268 In frames.texi use "minibuffer-less frame" instead of "non-minibuffer frame"
16269 * doc/lispref/frames.texi (Frame Layout): Use "minibuffer-less
16270 frame" instead of "non-minibuffer frame".
16272 Fix frame geometry related text
16273 * doc/lispref/frames.texi (Frame Layout):
16274 Rename `x-frame-geometry' to `frame-geometry'.
16275 * doc/lispref/frames.texi (Mouse Position):
16276 * doc/lispref/windows.texi (Coordinates and Windows):
16277 Use `set-mouse-absolute-pixel-position' instead of
16278 `x-set-mouse-absolute-pixel-position'.
16280 Sanitize frame geometry related functions
16281 * src/nsfns.m (Fx_frame_geometry): Rename to Fns_frame_geometry.
16282 (Fx_frame_edges): Rename to Fns_frame_edges.
16283 * src/w32fns.c (Fx_frame_geometry): Rename to Fw32_frame_geometry.
16284 (Fx_frame_edges): Rename to Fw32_frame_edges.
16285 (Fx_mouse_absolute_pixel_position): Rename to
16286 Fw32_mouse_absolute_pixel_position.
16287 (Fx_set_mouse_absolute_pixel_position): Rename to
16288 Fw32_set_mouse_absolute_pixel_position.
16289 * lisp/frame.el (x-frame-geometry, w32-frame-geometry)
16290 (ns-frame-geometry, x-frame-edges, w32-frame-edges)
16291 (ns-frame-edges, w32-mouse-absolute-pixel-position)
16292 (x-mouse-absolute-pixel-position)
16293 (w32-set-mouse-absolute-pixel-position)
16294 (x-set-mouse-absolute-pixel-position): Declare.
16295 (frame-geometry, mouse-absolute-pixel-position)
16296 (set-mouse-absolute-pixel-position): New functions.
16297 (frame-edges): Rewrite in terms of x-/w32-/ns-frame-edges.
16299 2015-08-21 Eli Zaretskii <eliz@gnu.org>
16301 Fix MinGW64 build broken by latest w32uniscribe.c changes
16302 * src/w32uniscribe.c (UNISCRIBE_OPENTYPE): Define to 0x0100, for
16303 MinGW64. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
16306 2015-08-21 Tassilo Horn <tsdh@gnu.org>
16308 Add TeX defaults for prettify-symbol-mode
16309 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
16310 Rename from tex-prettify-symbols-alist.
16311 (tex--prettify-symbols-compose-p): New function.
16312 (tex-common-initialization): Use them as prettify-symbols-alist
16313 and prettify-symbols-compose-predicate.
16315 Generalize prettify-symbols to arbitrary modes
16316 * lisp/progmodes/prog-mode.el
16317 (prettify-symbols-default-compose-p): New function.
16318 (prettify-symbols-compose-predicate): New variable.
16319 (prettify-symbols--compose-symbol): Use it.
16321 2015-08-20 Paul Eggert <eggert@cs.ucla.edu>
16323 Don't quote symbols 'like-this' in docstrings etc.
16324 * admin/unidata/uvs.el (uvs-insert-fields-as-bytes):
16325 * lisp/allout-widgets.el (allout-widgets-count-buttons-in-region):
16326 * lisp/allout.el (allout-add-resumptions, allout-mode):
16327 * lisp/calculator.el (calculator-operators):
16328 * lisp/cedet/data-debug.el (dd-propertize):
16329 * lisp/cedet/ede/proj-prog.el (ede-proj-target-makefile-program):
16330 * lisp/cedet/semantic/analyze/debug.el:
16331 (semantic-analyzer-debug-global-miss-text):
16332 * lisp/cedet/semantic/lex-spp.el:
16333 (semantic-lex-spp-replace-or-symbol-or-keyword):
16334 * lisp/cedet/semantic/symref.el:
16335 (semantic-symref-cleanup-recent-buffers-fcn):
16336 * lisp/cedet/semantic/tag.el (semantic-tag-class):
16337 * lisp/cedet/srecode/el.el (srecode-semantic-handle-:el-custom):
16338 * lisp/gnus/nnmairix.el (nnmairix-propagate-marks-upon-close):
16339 * lisp/gnus/pop3.el (pop3-authentication-scheme):
16340 * lisp/help-fns.el (describe-function-orig-buffer):
16341 * lisp/imenu.el (imenu--history-list):
16342 * lisp/mail/feedmail.el (feedmail-confirm-outgoing)
16343 (feedmail-display-full-frame, feedmail-deduce-bcc-where)
16344 (feedmail-queue-default-file-slug)
16345 (feedmail-queue-buffer-file-name):
16346 * lisp/net/mairix.el (mairix-searches-mode-map):
16347 * lisp/net/newst-backend.el (newsticker-retrieval-method)
16348 (newsticker-auto-mark-filter-list):
16349 * lisp/obsolete/vi.el (vi-mode):
16350 * lisp/progmodes/cc-engine.el (c-literal-type):
16351 * lisp/progmodes/cpp.el (cpp-face):
16352 * lisp/progmodes/ebrowse.el (ebrowse-electric-list-looper):
16353 * lisp/progmodes/elisp-mode.el (elisp--xref-make-xref):
16354 * lisp/progmodes/pascal.el (pascal-auto-lineup):
16355 * lisp/progmodes/prog-mode.el (prog-widen):
16356 * lisp/progmodes/verilog-mode.el (verilog-regexp-words)
16357 (verilog-auto-lineup, verilog-auto-reset-widths)
16358 (verilog-auto-arg-format, verilog-auto-inst-template-numbers):
16359 * lisp/textmodes/flyspell.el (flyspell-maybe-correct-transposition)
16360 (flyspell-maybe-correct-doubling):
16361 * lisp/textmodes/table.el (table-justify, table-justify-cell)
16362 (table-justify-row, table-justify-column, table-insert-sequence)
16363 (table--justify-cell-contents):
16364 * lisp/url/url-auth.el (url-get-authentication):
16365 * lisp/window.el (display-buffer-record-window):
16366 * lisp/xml.el (xml-parse-file, xml-parse-region):
16367 * src/gfilenotify.c (Fgfile_add_watch):
16368 Don't quote symbols with apostrophes in doc strings.
16369 Use asymmetric quotes instead.
16370 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
16371 Likewise for symbol in diagnostic.
16372 * lisp/image.el (image-extension-data):
16373 * lisp/register.el (frame-configuration-to-register):
16374 * src/buffer.c (syms_of_buffer):
16375 Remove bogus apostrophes after symbols.
16376 * lisp/thumbs.el (thumbs-conversion-program):
16377 Quote Lisp string values using double-quotes, not apostrophes.
16379 2015-08-20 Martin Rudalics <rudalics@gmx.at>
16381 Describe frame geometry and related functions in Elisp manual
16382 * doc/lispref/display.texi (Size of Displayed Text, Line Height)
16383 (Showing Images): Update references.
16384 * doc/lispref/elisp.texi (Top): Update node listing.
16385 * doc/lispref/frames.texi (Frame Geometry): New node.
16386 Move `Size and Position' section here.
16387 (Size Parameters): Update references.
16388 (Mouse Position): Update references and nomenclature.
16389 Describe new functions `x-mouse-absolute-pixel-position' and
16390 `x-set-mouse-absolute-pixel-position'.
16391 * doc/lispref/windows.texi (Window Sizes): Update references.
16392 (Resizing Windows): Update references. Move description of
16393 `fit-frame-to-buffer' here.
16394 (Coordinates and Windows): Update nomenclature and references.
16395 Describe new arguments of `window-edges'. Comment out
16396 descriptions of `window-left-column', `window-top-line',
16397 `window-pixel-left' and `window-pixel-top'. Describe
16398 `window-absolute-pixel-position'.
16400 2015-08-20 Alan Mackenzie <acm@muc.de>
16402 Handling of `c-parse-state'. Fix low level bug.
16403 * lisp/progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
16404 Add "CASE 3.5" to handle `cache-pos' being only slightly before `here'.
16406 2015-08-20 Andreas Politz <politza@hochschule-trier.de>
16408 * lisp/wid-edit.el (widget-color--choose-action): Quit *Color*
16409 window instead of deleting it.
16411 2015-08-20 Martin Rudalics <rudalics@gmx.at>
16413 In w32fns.c's Fx_frame_geometry rewrite check whether frame has a titlebar
16414 * src/w32fns.c (Fx_frame_geometry): Use title_bar.rgstate[0] to
16415 determine whether frame has a titlebar.
16416 Suggested by Eli Zaretskii <eliz@gnu.org>
16418 2015-08-20 Tassilo Horn <tsdh@gnu.org>
16420 Add a prettify-symbols-alist for (La)TeX
16421 * lisp/textmodes/tex-mode.el (tex-prettify-symbols-alist):
16422 New variable holding an alist suitable as prettify-symbols-alist in
16425 2015-08-19 Alan Mackenzie <acm@muc.de>
16427 Make electric-pair-mode, delete-selection-mode and CC Mode cooperate.
16428 Fixes debbugs#21275.
16429 In Emacs >= 25, let electric-pair-mode take precedence over
16430 delete-selection-mode.
16431 * lisp/delsel.el (delete-selection-uses-region-p): New function,
16432 previously a lambda expression in a property value for
16433 `self-insert-command'.
16434 (top-level): Set the `delete-selection' property of
16435 `self-insert-command' to `delete-selection-uses-region-p'.
16436 * lisp/progmodes/cc-cmds.el (top-level): Give the `delete-selection'
16437 property for c-electric-\(brace\|paren\) the value
16438 `delete-selection-uses-region-p' when the latter function exists.
16440 2015-08-19 Paul Eggert <eggert@cs.ucla.edu>
16442 Fix key binding quoting in tutorial *Help*
16443 * lisp/tutorial.el (tutorial--describe-nonstandard-key):
16444 When generating help for custom key bindings, use the user-preferred
16445 quoting style rather than hardcoding the grave style.
16447 2015-08-19 Eli Zaretskii <eliz@gnu.org>
16449 Improve and future-proof OTF fonts support in w32uniscribe.c
16450 * src/w32uniscribe.c (uniscribe_otf_capability): Add commentary
16451 about the expected results and why the new Uniscribe APIs are not
16452 used in this function.
16453 (ScriptGetFontScriptTags_Proc, ScriptGetFontLanguageTags_Proc)
16454 (ScriptGetFontFeatureTags_Proc): New function typedefs.
16455 (uniscribe_new_apis): New static variable.
16456 (uniscribe_check_features): New function, implements OTF features
16457 verification while correctly accounting for features in the list
16458 after the nil member, if any.
16459 (uniscribe_check_otf_1): New function, retrieves the features
16460 supported by the font for the requested script and language using
16461 the Uniscribe APIs available from Windows Vista onwards.
16462 (uniscribe_check_otf): If the new Uniscribe APIs are available,
16463 use them in preference to reading the font data directly. Call
16464 uniscribe_check_features to verify that the requested features are
16465 supported, replacing the original incomplete code.
16466 (syms_of_w32uniscribe): Initialize function pointers for the new
16467 Uniscribe APIs. (Bug#21260)
16468 (otf_features): Scan the script, langsys, and feature arrays back
16469 to front, so that the result we return has them in alphabetical
16470 order, like ftfont.c does.
16471 * src/w32fns.c (syms_of_w32fns) <w32-disable-new-uniscribe-apis>:
16472 New variable for debugging w32uniscribe.c code.
16474 2015-08-19 Artur Malabarba <bruce.connor.am@gmail.com>
16476 * lisp/isearch.el (isearch-search-fun-default): Revert a5bdb87
16477 Remove usage of `isearch-lax-whitespace' inside the `iearch-word'
16478 clause of `isearch-search-fun-default'. That lax variable does not
16479 refer to lax-whitespacing. Related to (bug#21777).
16480 This reverts commit a5bdb872edb9f031fe041faf9a8c0be432e5f64c.
16481 * lisp/character-fold.el (character-fold-search): Set to nil.
16482 Default to nil for now, until someone implements proper
16483 lax-whitespacing with char-fold searching.
16485 2015-08-19 Martin Rudalics <rudalics@gmx.at>
16487 Fix doc-string of `help-mode-finish'.
16488 * lisp/help-mode.el (help-mode-finish): Fix doc-string.
16490 In nsimage.m include coding.h (Bug#21292)
16491 * src/nsimage.m (top-level): Include coding.h (Bug#21292).
16493 Move window edge functions to Elisp.
16494 * src/window.c (Fwindow_edges, Fwindow_pixel_edges)
16495 (Fwindow_absolute_pixel_edges, Fwindow_inside_edges)
16496 (Fwindow_inside_pixel_edges, Fwindow_inside_absolute_pixel_edges):
16498 (calc_absolute_offset): Remove.
16499 * lisp/frame.el (frame-edges): New function.
16500 * lisp/window.el (window-edges, window-pixel-edges)
16501 (window-absolute-pixel-edges): Move here from window.c.
16502 (window-body-edges, window-body-pixel-edges)
16503 (window-absolute-body-pixel-edges): Move here from window.c and
16504 rename "inside" to "body". Keep old names as aliases.
16505 (window-absolute-pixel-position): New function.
16507 2015-08-19 Katsumi Yamaoka <yamaoka@jpl.org>
16509 [Gnus]: Use overlay functions directly
16510 * lisp/gnus/gnus-art.el (gnus-mime-inline-part, gnus-mm-display-part)
16511 (gnus-insert-mime-button, gnus-mime-buttonize-attachments-in-header)
16512 (gnus-article-highlight-signature, gnus-article-extend-url-button)
16513 (gnus-article-add-button, gnus-insert-prev-page-button)
16514 (gnus-insert-next-page-button, gnus-insert-mime-security-button):
16515 * lisp/gnus/gnus-cite.el (gnus-cite-delete-overlays)
16516 (gnus-cite-add-face):
16517 * lisp/gnus/gnus-html.el (gnus-html-wash-tags):
16518 * lisp/gnus/gnus-salt.el (gnus-tree-read-summary-keys)
16519 (gnus-tree-recenter, gnus-highlight-selected-tree):
16520 * lisp/gnus/gnus-sum.el (gnus-summary-show-all-threads)
16521 (gnus-summary-show-thread, gnus-summary-hide-thread)
16522 (gnus-highlight-selected-summary):
16523 * lisp/gnus/gnus-util.el (gnus-put-overlay-excluding-newlines):
16524 * lisp/gnus/message.el (message-fix-before-sending)
16525 (message-toggle-image-thumbnails):
16526 * lisp/gnus/mm-decode.el (mm-convert-shr-links):
16527 * lisp/gnus/sieve.el (sieve-highlight, sieve-insert-scripts):
16528 Use overlay functions directly instead of using gnus-overlay-*,
16529 message-overlay-*, and sieve-overlay-*.
16530 * lisp/gnus/gnus-sum.el (gnus-remove-overlays):
16531 * lisp/gnus/gnus.el (gnus-make-overlay, gnus-copy-overlay)
16532 (gnus-delete-overlay, gnus-overlay-get, gnus-overlay-put)
16533 (gnus-move-overlay, gnus-overlay-buffer, gnus-overlay-start)
16534 (gnus-overlay-end, gnus-overlays-at, gnus-overlays-in):
16535 * lisp/gnus/message.el (message-delete-overlay, message-make-overlay)
16536 (message-overlay-get, message-overlay-put, message-overlays-in):
16537 * lisp/gnus/sieve.el (sieve-make-overlay, sieve-overlay-put)
16538 (sieve-overlays-at): Remove.
16540 2015-08-19 Martin Rudalics <rudalics@gmx.at>
16542 In w32fns.c condition TITLEBAR_INFO declaration on WINDOWS version
16543 * src/w32fns.c (TITLEBAR_INFO): Make it a typedef so MinGW64
16544 builds can use the declaration from the system headers.
16545 (GetTitleBarInfo_Proc, Fx_frame_geometry): Adapt to new
16546 definition of TITLEBAR_INFO.
16547 Suggested by Eli Zaretskii <eliz@gnu.org>
16549 2015-08-19 Glenn Morris <rgm@gnu.org>
16551 * lisp/gnus/nnmaildir.el (nnmaildir-flag-mark-mapping): Add "P".
16553 2015-08-19 Paul Eggert <eggert@cs.ucla.edu>
16555 Use new q ‘format’ flag when fixing quotes in C
16556 * src/image.c (image_size_error): New function. All uses of
16557 image_error with "Invalid image size ..." changed to use it.
16558 * src/image.c (image_size_error, xbm_load_image, xbm_load)
16559 (xpm_load, xpm_load_image, xpm_load, pbm_load, png_load_body)
16560 (jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
16561 (imagemagick_load, svg_load, svg_load_image, gs_load)
16562 (x_kill_gs_process):
16563 * src/lread.c (load_warn_old_style_backquotes):
16564 * src/xfaces.c (load_pixmap):
16565 * src/xselect.c (x_clipboard_manager_error_1):
16566 Use %qs, not uLSQM and uRSQM.
16567 * src/syntax.c (Finternal_describe_syntax_value):
16568 Prefer Fsubstitute_command_keys to Fformat, as this lets
16569 us use AUTO_STRING.
16570 * src/xdisp.c (vadd_to_log): Use AUTO_STRING on the format argument,
16571 as it's now guaranteed to be ASCII.
16572 * src/xselect.c (x_clipboard_manager_error_2):
16573 Avoid grave accent in low-level stderr diagnostic.
16575 2015-08-19 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
16577 New q flag for ‘format’
16578 * doc/lispref/processes.texi (Sentinels):
16579 Don't hardwire grave quoting style in example.
16580 * doc/lispref/strings.texi (Formatting Strings):
16582 Document new q flag.
16583 * src/editfns.c (Fformat): Implement it.
16585 2015-08-18 Daiki Ueno <ueno@gnu.org>
16587 pinentry.el: Add debugging support
16588 * lisp/net/pinentry.el (pinentry-debug): New variable.
16589 (pinentry-debug-buffer): New variable.
16590 (pinentry--process-filter): Send input to the debug buffer, if
16591 `pinentry-debug' is set.
16593 pinentry.el: Improve multiline prompt
16594 * lisp/net/pinentry.el (pinentry--prompt): Simplify the interface.
16595 (pinentry--process-filter): Use `pinentry--prompt' for CONFIRM
16598 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
16600 Fix multibyte confusion in diagnostics
16601 * src/print.c (print_error_message):
16602 Don't assume that the caller's name is unibyte.
16603 * src/xdisp.c (vadd_to_log):
16604 Don't assume that the formatted diagnostic is unibyte.
16606 Fix file name encodings in diagnostics
16607 Also, close some minor races when opening image files, by opening
16608 them once instead of multiple times.
16609 * src/gtkutil.c (xg_get_image_for_pixmap):
16610 * src/image.c (xpm_load, tiff_load, gif_load, imagemagick_load)
16612 * src/nsimage.m (allocInitFromFile:):
16613 * src/xfns.c (xg_set_icon):
16614 Encode file name, since x_find_image_file no longer does that.
16615 * src/image.c (x_find_image_fd): New function.
16616 (x_find_image_file): Use it. Do not encode resulting file name,
16617 since callers sometimes need it decoded.
16618 (slurp_file): File arg is now a fd, not a file name.
16619 All callers changed. This saves us having to open the file twice.
16620 (xbm_load, xpm_load, pbm_load, png_load_body, jpeg_load_body)
16622 Use x_find_image_fd and fdopen to save a file-open.
16623 Report file name that failed.
16624 * src/lread.c (openp): If PREDICATE is t, open the file in binary mode.
16626 2015-08-18 Dmitry Gutov <dgutov@yandex.ru>
16628 Allow blink-matching-paren to jump off screen
16629 * doc/emacs/programs.texi (Matching): Mention the
16630 `blink-matching-paren' value `jump-offscreen'.
16631 * lisp/simple.el (blink-matching-paren): New possible value.
16632 (blink-matching-paren-on-screen): Clarify the docstring.
16633 (blink-matching-open): Handle `jump-offscreen' (bug#21286).
16635 Refine the previous change
16636 * lisp/simple.el (blink-matching-open): Use minibuffer-message
16637 outside of save-excursion (bug#21286).
16639 2015-08-18 Martin Rudalics <rudalics@gmx.at>
16641 Rewrite and add frame geometry related functions.
16642 * src/frame.c (Fframe_position): New function.
16643 (Fset_frame_position): Rename parameters and rewrite doc-string.
16644 (syms_of_frame): Remove Qframe_position, Qframe_outer_size,
16645 Qtitle_height and Qframe_inner_size. Add Qouter_edges,
16646 Qouter_position, Qouter_size, Qnative_edges, Qinner_edges,
16648 * src/nsfns.m (frame_geometry): New function.
16649 (Fx_frame_geometry): Call frame_geometry.
16650 (Fx_frame_edges): New function.
16651 * src/w32fns.c (C_CHILDREN_TITLEBAR, TITLEBAR_INFO)
16652 (GetTitleBarInfo_Proc): Define these so we can use the
16653 GetTitleBarInfo API.
16654 (Fw32_frame_menu_bar_size, Fw32_frame_rect): Remove.
16655 (Fx_frame_geometry): Rewrite.
16656 (Fx_frame_edges, Fx_mouse_absolute_pixel_position)
16657 (Fx_set_mouse_absolute_pixel_position): New functions.
16658 * src/xfns.c (frame_geometry): New function.
16659 (Fx_frame_geometry): Call frame_geometry.
16660 (Fx_frame_edges, Fx_mouse_absolute_pixel_position)
16661 (Fx_set_mouse_absolute_pixel_position): New functions.
16663 2015-08-18 Michael Albinus <michael.albinus@gmx.de>
16665 Improve Tramp's compatibility
16666 * lisp/net/tramp.el (tramp-get-method-parameter):
16667 * lisp/net/tramp-adb.el (tramp-adb-parse-device-names)
16668 (tramp-adb-get-device):
16669 * lisp/net/trampver.el (tramp-repository-get-version):
16670 Use `tramp-compat-replace-regexp-in-string'.
16672 2015-08-18 Pierre Téchoueyres <pierre.techoueyres@free.fr> (tiny change)
16674 * lisp/net/tramp-cmds.el (tramp-reporter-dump-variable):
16675 Encode/decode string.
16677 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
16679 Clarify what happens to match data on failure
16680 Problem reported by Ernesto Alfonso (Bug#21279).
16681 * doc/lispref/searching.texi (Regexp Search, Simple Match Data):
16682 Document more carefully what happens to match data after a failed
16684 * src/search.c (Fmatch_beginning, Fmatch_end): Document that
16685 the return value is undefined if the last search failed.
16686 (Fmatch_data): Simplify doc string line 1.
16688 2015-08-18 Daiki Ueno <ueno@gnu.org>
16690 Revert "pinentry.el: Support external passphrase cache"
16691 This reverts commit e086e55a664ec27fbca7b3231c4b32cb78a89337.
16692 pinentry.el shouldn't directly interact with the secrets service,
16693 but ask the caller to cache the passphrase.
16695 2015-08-17 Xue Fuqiao <xfq.free@gmail.com>
16697 * doc/emacs/sending.texi (Mail Misc): Fix two index entries for
16698 Message mode hooks.
16700 2015-08-17 Daiki Ueno <ueno@gnu.org>
16702 epg.el: Make gpgconf output parsing future proof
16703 * lisp/epg.el (epg--start): Count the number of fields in "gpgconf
16704 --list-options" output.
16706 pinentry.el: Support external passphrase cache
16707 * lisp/net/pinentry.el (pinentry-use-secrets): New user option.
16708 (pinentry--allow-external-password-cache): New local variable.
16709 (pinentry--key-info): New local variable.
16710 (secrets-enabled, secrets-search-items, secrets-get-secret):
16712 (pinentry--send-passphrase): New function, split from
16713 `pinentry--process-filter'.
16714 (pinentry--process-filter): Use secrets.el to retrieve passphrase
16715 from login keyring.
16717 pinentry.el: Popup window for multiline prompt
16718 * lisp/net/pinentry.el (pinentry): New custom group.
16719 (pinentry-popup-prompt-window): New user option.
16720 (pinentry-prompt-window-height): New user option.
16721 (pinentry--prompt-buffer): New variable.
16722 (pinentry-prompt-mode-map): New variable.
16723 (pinentry-prompt-mode): New function.
16724 (pinentry--prompt): New function.
16725 (pinentry--process-filter): Use `pinentry--prompt' instead of
16726 `read-passwd' and `y-or-n-p'.
16728 2015-08-17 Katsumi Yamaoka <yamaoka@jpl.org>
16730 message.el: Silent the byte compiler
16731 * lisp/gnus/message.el (message-overlay-put, message-make-overlay)
16732 (message-kill-all-overlays, message-overlays-in, message-overlay-get)
16733 (message-delete-overlay, message-window-inside-pixel-edges):
16734 Declare before using.
16736 * lisp/gnus/message.el (message-overlay-get, message-overlays-in)
16737 (message-window-inside-pixel-edges): XEmacs compatible functions.
16739 2015-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16741 * lisp/gnus/message.el (message-toggle-image-thumbnails): New command.
16743 2015-08-17 Noah Friedman <friedman@splode.com>
16745 * lisp/simple.el (blink-matching-open): Restore point before
16746 calling minibuffer-message.
16748 2015-08-17 Ronnie Schnell <ronnie@driver-aces.com>
16750 * lisp/play/dunnet.el: Update version number in header (now
16753 2015-08-17 Paul Eggert <eggert@cs.ucla.edu>
16755 Curved quotes in --batch diagnostics in non-UTF-8
16756 When run with --batch, check that curved quotes are compatible with
16757 the system locale before outputting them in diagnostics.
16758 Problem reported by Eli Zaretskii in:
16759 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00594.html
16760 * lisp/startup.el (command-line): Set internal--text-quoting-flag
16761 after the standard display table is initialized.
16762 * src/doc.c (default_to_grave_quoting_style): New function.
16763 (text_quoting_style): Use it.
16764 (text_quoting_flag): New static var, visible to Lisp as
16765 internal--text-quoting-flag.
16766 * src/emacs.c: Include <wchar.h> if available.
16767 (using_utf8): New function.
16768 (main): Use it to initialize text_quoting_flag.
16769 * src/regex.h (btowc) [WIDE_CHAR_SUPPORT && emacs]:
16770 Don't define, as it's not needed and it clashes with wchar.h.
16772 2015-08-17 Glenn Morris <rgm@gnu.org>
16774 * doc/misc/tramp.texi (Configuration): Reword to avoid warning
16775 from makeinfo about spurious "Note:" cross-reference, and for grammar.
16777 2015-08-17 Ilya Zakharevich <ilya@math.berkeley.edu>
16779 Minor change in variable initialization on MS-Windows
16780 * src/w32fns.c <after_dead_key>: Initialize to -1.
16781 (deliver_wm_chars): If after_deadkey is zero, don't set after_dead
16784 Fix a bug with LWindow key remapping on MS-Windows
16785 * src/w32fns.c (deliver_wm_chars): Fix a typo. (Bug#21276)
16787 2015-08-17 Eli Zaretskii <eliz@gnu.org>
16789 Improve fontset support for latest OTF script tags
16790 * lisp/international/fontset.el (otf-script-alist): Add some
16791 missing script tags.
16792 (setup-default-fontset): Include settings for v2 versions of the
16793 script tags used by some modern OTF/TTF fonts.
16795 2015-08-17 Paul Eggert <eggert@cs.ucla.edu>
16799 2015-08-16 Paul Eggert <eggert@cs.ucla.edu>
16801 Use curved quotes in core elisp diagnostics
16802 In the core elisp files, use curved quotes in diagnostic formats,
16803 so that they follow user preference as per ‘text-quoting-style’
16804 rather than being hard-coded to quote `like this'.
16805 * lisp/abbrev.el (expand-region-abbrevs):
16806 * lisp/button.el (button-category-symbol, button-put)
16807 (make-text-button):
16808 * lisp/cus-start.el:
16809 * lisp/custom.el (custom-add-dependencies, custom-check-theme)
16810 (custom--sort-vars-1, load-theme):
16811 * lisp/emacs-lisp/byte-run.el (defun, defsubst):
16812 * lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
16813 (cl-generic-generalizers):
16814 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
16815 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
16816 * lisp/emacs-lisp/nadvice.el (advice--make-docstring)
16817 (advice--make, define-advice):
16818 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
16819 * lisp/emacs-lisp/timer.el (timer-event-handler):
16820 * lisp/env.el (setenv):
16821 * lisp/facemenu.el (facemenu-add-new-face)
16822 (facemenu-add-new-color):
16823 * lisp/faces.el (face-documentation, read-face-name)
16824 (face-read-string, read-face-font, face-spec-set-match-display)
16825 (read-color, x-resolve-font-name):
16826 * lisp/files.el (locate-user-emacs-file, find-alternate-file)
16827 (set-auto-mode, hack-local-variables)
16828 (hack-one-local-variable--obsolete)
16829 (dir-locals-set-directory-class, write-file)
16830 (basic-save-buffer, delete-directory, copy-directory)
16831 (recover-session, recover-session-finish, insert-directory)
16832 (file-modes-char-to-who, file-modes-symbolic-to-number)
16833 (move-file-to-trash):
16834 * lisp/font-lock.el (font-lock-fontify-buffer):
16835 * lisp/format.el (format-write-file, format-find-file)
16836 (format-insert-file):
16837 * lisp/frame.el (get-device-terminal, select-frame-by-name):
16838 * lisp/fringe.el (fringe--check-style):
16839 * lisp/help.el (describe-minor-mode-from-indicator):
16840 * lisp/image.el (image-type):
16841 * lisp/international/fontset.el (x-must-resolve-font-name):
16842 * lisp/international/mule-cmds.el (prefer-coding-system)
16843 (select-safe-coding-system-interactively)
16844 (select-safe-coding-system, activate-input-method)
16845 (toggle-input-method, describe-current-input-method):
16846 * lisp/international/mule-conf.el (code-offset):
16847 * lisp/mouse.el (minor-mode-menu-from-indicator):
16848 * lisp/replace.el (query-replace-read-from)
16849 (occur-after-change-function, occur-1):
16850 * lisp/scroll-bar.el (scroll-bar-columns):
16851 * lisp/simple.el (execute-extended-command)
16852 (undo-outer-limit-truncate, compose-mail, set-variable)
16853 (choose-completion-string, define-alternatives):
16854 * lisp/startup.el (site-run-file, tty-handle-args)
16855 (command-line, command-line-1):
16856 * lisp/subr.el (noreturn, define-error, add-to-list)
16857 (read-char-choice):
16858 * lisp/term/common-win.el (x-handle-xrm-switch)
16859 (x-handle-name-switch, x-handle-args):
16860 * lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
16861 Use curved quotes in diagnostics.
16862 * lisp/international/mule.el (find-auto-coding):
16863 Use " to quote in a diagnostic, to be consistent with the rest of
16866 Convert lisp/term/x-win.el to UTF-8
16867 * lisp/term/x-win.el: Convert to UTF-8. This doesn't affect
16868 runtime behavior, and the file is multilingual so compile-time
16869 appearance shouldn't be an issue.
16870 * admin/notes/unicode: Document this.
16872 2015-08-16 Wilson Snyder <wsnyder@wsnyder.org>
16874 Update verilog-mode.el to 2015-05-14-6232468-vpo-GNU.
16875 * lisp/progmodes/verilog-mode.el: Fix some non-automated indent
16876 issues and comments, bug#943.
16877 (verilog-type-font-keywords): Cycle delay operators like ##1 and
16878 ##[0:$] are now highlighted in their entirety similarly to the #
16879 delay-control operator. Likewise, the followed-by operators #-#
16880 and #=# are no longer partially highlighed.
16881 (verilog-backward-syntactic-ws-quick)
16882 (verilog-skip-backward-comments): Minor performance improvements
16883 to buffer traversal functions for reduced latency.
16884 (verilog-calc-1, verilog-in-deferred-immediate-final-p): When the
16885 keyword 'final' follows 'assert/assume/cover', then it is part of
16886 a deferred immediate assertion item and should not be treated as a
16887 final construct for indentation. Reported by Yuri Sugihara.
16888 (verilog-do-indent): Virtual task/function/class definition lines
16889 should not be considered as declarations. Reported by Enzo Chi.
16890 (verilog-do-indent): Do not falsely indent to '=' of
16891 property/sequence operators on subsequent lines of a multi-line
16893 (verilog-assignment-operator-re): Fix '!==' operator and add
16894 support for '<->', ':/', '#-#', and '#=#' operators.
16895 (verilog-calculate-indent, verilog-label-be): Enable
16896 case-sensitive regular expression parsing when looking for
16898 (verilog-calc-1): Detect 'pure virtual method' declarations which
16899 exist in abstract classes. Reported by Enzo Chi and Kaushal Modi.
16900 (verilog-backward-ws&directives): When moving back to the start of
16901 a line and the preceeding line ended with an escaped-newline, then
16902 jump up one line. This properly consumes a multi-line
16903 pre-processor directive. Reported by Kaushal Modi.
16904 (verilog-dpi-import-export-re, verilog-extended-complete-re)
16905 (verilog-calc-1): Teach verilog-mode to properly indent after a
16906 DPI import/export statement that resides outside of a module.
16907 Reported by Kaushal Modi.
16908 (verilog-extended-complete-re): Update regexp to match both
16909 "DPI-C" and "DPI". Reported by Kaushal Modi.
16911 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
16913 substitute-command-keys a few more doc strings
16914 * lisp/allout.el (outlineify-sticky):
16915 * lisp/files.el (hack-one-local-variable--obsolete):
16916 * lisp/help-fns.el (help-fns--obsolete, describe-variable):
16917 Use substitute-command-keys on some doc strings so that
16918 they don't use hard-coded key bindings or quoting styles.
16920 Fix quoting in Fformat calls
16921 * src/image.c (xbm_read_bitmap_data, xbm_load_image, xbm_load)
16922 (xpm_load, xpm_load_image, pbm_load, png_load_body)
16923 (jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
16924 (imagemagick_load, svg_load, svg_load_image, gs_load)
16925 (x_kill_gs_process):
16926 * src/lread.c (load_warn_old_style_backquotes):
16927 * src/xfaces.c (load_pixmap):
16928 * src/xselect.c (x_clipboard_manager_error_1):
16929 Quote diagnostics according to user preference when calling
16930 Fformat or its derivatives.
16932 2015-08-15 Glenn Morris <rgm@gnu.org>
16934 * admin/admin.el (set-version, set-copyright): Remove deleted files.
16936 2015-08-15 Stephen Leake <stephen_leake@stephe-leake.org>
16938 Allow describe-function helpers to access buffer-local values
16939 This will be used by cedet/mode-local.el `describe-mode-local-override'
16940 on `help-fns-describe-function-functions' in upstream CEDET.
16941 * lisp/help-fns.el (describe-function-orig-buffer): New, let-bound in
16942 `describe-function'.
16943 (describe-function): Bind it, save it on the help xref stack.
16945 Handle pulse-background being nil
16946 * lisp/cedet/pulse.el (pulse-lighten-highlight): Inherit
16947 pulse-background, handle it being nil.
16949 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
16951 Fix "\`" confusion in Lisp strings
16952 * admin/authors.el (authors-canonical-author-name):
16953 Fix typo by using "\\`" not "\`" in string RE.
16954 * lisp/obsolete/complete.el (PC-complete-as-file-name):
16955 * lisp/obsolete/vi.el (vi-backward-blank-delimited-word):
16956 * lisp/progmodes/verilog-mode.el (verilog-mode-map):
16957 Use plain "`", not the equivalent-but-confusing "\`", in strings.
16958 * lisp/textmodes/texinfmt.el: Fix comment likewise.
16960 2015-08-15 Dani Moncayo <dmoncayo@gmail.com>
16962 * nt/zipdist.bat: Remove -- no longer used.
16964 2015-08-15 Jürgen Hötzel <juergen@archlinux.org>
16966 * lisp/net/tramp-sh.el (tramp-remote-selinux-p): Use "selinuxenabled"
16967 rather than "getenforce".
16968 (tramp-sh-handle-set-file-selinux-context): Do not
16969 cache SELinux context if not all context components are given.
16971 2015-08-15 Eli Zaretskii <eliz@gnu.org>
16973 Add doc strings to 2 help-mode.el functions
16974 * lisp/help-mode.el (help-mode-setup, help-mode-finish): Add doc
16975 strings. (Bug#21263)
16977 Remove files used by the old MS-Windows specific build procedure
16978 * admin/unidata/makefile.w32-in:
16979 * doc/emacs/makefile.w32-in:
16980 * doc/lispintro/makefile.w32-in:
16981 * doc/lispref/makefile.w32-in:
16982 * doc/misc/makefile.w32-in:
16983 * leim/makefile.w32-in:
16984 * lib-src/makefile.w32-in:
16985 * lib/makefile.w32-in:
16986 * lisp/makefile.w32-in:
16989 * nt/emacs-src.tags:
16992 * nt/makefile.w32-in:
16993 * nt/multi-install-info.bat:
16996 * src/makefile.w32-in: Files deleted.
16997 * nt/configure.bat: Remove everything except the blurb about the
16998 new build procedure.
16999 * make-dist: Remove references to makefile.w32-in in various
17000 directories, and to files in nt/ that were deleted.
17001 * etc/NEWS: Mention the fact that the files were dropped.
17003 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
17005 * doc/emacs/mule.texi (Charsets): Give fuller title for ISO-IR.
17008 2015-08-14 Paul Eggert <eggert@cs.ucla.edu>
17010 Default to inotify instead of gfile
17011 * configure.ac (with_file_notification): Fix typo that
17012 prevented suppression of file notification if HAVE_NS.
17013 (NOTIFY_OBJ): Prefer inotify to gfile if both exist and
17014 with_file_notification is 'yes' (Bug#21241).
17015 * etc/NEWS: Mention this.
17017 Fix broken URLs for ISO-IR
17018 * doc/emacs/mule.texi (Charsets):
17019 * lisp/international/mule-conf.el:
17020 Fix broken URL (Bug#21248).
17022 Low-level diagnostics now use ‘text-quoting-style’
17023 * src/doprnt.c (doprnt):
17024 Format ` and ' as per ‘text-quoting-style’.
17025 * src/xdisp.c (vmessage, message): Mention that the format should
17026 not contain ` or '.
17028 Prefer ‘format’ to ‘substitute-command-keys’
17029 * src/character.h (uLSQM, uRSQM): Move here ...
17030 * src/doc.c (uLSQM, uRSQM): ... from here.
17031 * src/doc.c (Fsubstitute_command_keys):
17032 * src/syntax.c (Finternal_describe_syntax_value):
17033 * lisp/cedet/mode-local.el (mode-local-print-binding)
17034 (mode-local-describe-bindings-2):
17035 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
17036 * lisp/cus-theme.el (describe-theme-1):
17037 * lisp/descr-text.el (describe-text-properties-1, describe-char):
17038 * lisp/emacs-lisp/cl-extra.el (cl--describe-class):
17039 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
17040 * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
17041 * lisp/emacs-lisp/package.el (describe-package-1):
17042 * lisp/faces.el (describe-face):
17043 * lisp/help-fns.el (help-fns--key-bindings)
17044 (help-fns--compiler-macro, help-fns--parent-mode)
17045 (help-fns--obsolete, help-fns--interactive-only)
17046 (describe-function-1, describe-variable):
17047 * lisp/help.el (describe-mode):
17048 Prefer ‘format’ to ‘substitute-command-keys’ when either will do
17049 to implement quoting style. This generally makes the code simpler.
17051 Extend ‘format’ to translate curved quotes
17052 This is a followup to the recent doc string change, and deals with
17053 diagnostics and the like. This patch is more conservative than
17054 the doc string change, in that the behavior of ‘format’ changes
17055 only if its first arg contains curved quotes and the user prefers
17056 straight or grave quotes. (Come to think of it, perhaps we should
17057 be similarly conservative with doc strings too, but that can wait.)
17058 The upside of this conservatism is that existing usage is almost
17059 surely unaffected. The downside is that we'll eventually have to
17060 change Emacs's format strings to use curved quotes in places where
17061 the user might want curved quotes, but that's a simple and
17062 mechanical translation that I'm willing to do later. (Bug#21222)
17063 * doc/lispref/help.texi (Keys in Documentation):
17064 Move description of text-quoting-style from here ...
17065 * doc/lispref/strings.texi (Formatting Strings):
17066 ... to here, and describe new behavior of ‘format’.
17067 * etc/NEWS: Describe new behavior.
17068 * lisp/calc/calc-help.el (calc-describe-thing):
17069 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
17070 * lisp/info.el (Info-find-index-name):
17071 Use ‘concat’ rather than ‘format’ to avoid misinterpretation
17072 of recently-added curved quotes.
17073 * src/doc.c (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
17075 * src/lisp.h: ... to here.
17076 * src/doc.c (text_quoting_style): New function.
17077 (Fsubstitute_command_keys): Use it.
17078 * src/editfns.c (Fformat): Implement new behavior.
17079 * src/lisp.h (enum text_quoting_style): New enum.
17081 2015-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
17083 * src/keyboard.c: Use false/true instead of 0/1 for booleans.
17084 * src/keyboard.h (struct kboard): Mark kbd_queue_has_data as boolean.
17086 2015-08-14 Michael Albinus <michael.albinus@gmx.de>
17088 * lisp/net/tramp-sh.el (tramp-sh-handle-file-acl): Do not redirect
17089 stderr to /dev/null, this is done in `tramp-send-command-and-check'.
17091 2015-08-14 Jürgen Hötzel <juergen@archlinux.org>
17093 Flush file properties in Tramp
17094 * lisp/net/tramp-sh.el (tramp-sh-handle-set-file-modes)
17095 (tramp-sh-handle-set-file-times):
17096 * lisp/net/tramp-adb.el (tramp-adb-handle-set-file-modes)
17097 (tramp-adb-handle-set-file-times): Flush the file properties of
17100 2015-08-14 Ronnie Schnell <ronnie@driver-aces.com>
17102 * doc/emacs/misc.texi (Amusements): Fixed typo.
17104 2015-08-14 Eli Zaretskii <eliz@gnu.org>
17106 Don't miss warnings about removing string text properties while dumping
17107 * src/alloc.c (purecopy): Warn about removing a string's text
17108 properties even when the same string was already pure-copied
17110 * lisp/progmodes/elisp-mode.el (elisp--xref-format)
17111 (elisp--xref-format-extra): Fix the commentary.
17113 2015-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
17115 * lisp/progmodes/sh-script.el (sh-mode): Handle .cshrc (bug#21049).
17117 2015-08-13 Magnus Henoch <magnus.henoch@gmail.com>
17119 * lisp/progmodes/compile.el: Use lexical-binding.
17120 (compilation-move-to-column): Assume 8-wide TABs (bug#21038).
17122 2015-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
17124 (uniquify-ask-about-buffer-names-p): Remove, unused (bug#21037)
17125 * lisp/uniquify.el: Remove redundant `:group's.
17127 2015-08-13 Jürgen Hötzel <juergen@archlinux.org>
17129 * lisp/net/tramp-adb.el
17130 (tramp-adb-handle-directory-files-and-attributes): Make a copy of
17131 result to prevent modification of the tramp-cache by side effects.
17132 Use the correct cache key.
17134 2015-08-13 Paul Eggert <eggert@cs.ucla.edu>
17136 Make add_to_log varargs
17137 * src/alloc.c (run_finalizer_handler):
17138 * src/charset.c (load_charset_map_from_vector):
17139 * src/nsimage.m (ns_load_image):
17140 * src/xfaces.c (load_pixmap, load_color2):
17141 Simplify, now that add_to_log has a variable number of args.
17142 * src/image.c (image_error): Take a variable number of args.
17143 Callers simplified.
17144 * src/lisp.h (add_to_log, vadd_to_log): Adjust to new APIs.
17145 * src/xdisp.c (format_nargs, vadd_to_log): New functions.
17146 (add_to_log): Make varargs, and reimplement in terms of vadd_to_log.
17147 * src/xfaces.c (merge_face_ref): Fix typo that omitted color name.
17149 Optional args for holiday-greek-orthodox-easter
17150 * etc/NEWS: Document this.
17151 * lisp/calendar/holidays.el (holiday-greek-orthodox-easter):
17152 Add optional args N and STRING, mimicking the API and code of
17153 ‘holiday-easter-etc’. From suggestion by Foivos S. Zakkak (Bug#21256).
17155 2015-08-13 Stephen Leake <stephen_leake@stephe-leake.org>
17157 xref-find-definitions: Exclude more generic function items.
17158 * lisp/emacs-lisp/cl-generic.el (cl--generic-search-method):
17160 (cl--generic-find-defgeneric-regexp): New.
17161 (find-function-regexp-alist): Add it.
17162 * lisp/emacs-lisp/find-func.el (find-feature-regexp): Move here from
17163 elisp-mode.el, change to search for ";;; Code:"
17164 (find-alias-regexp): Move here from elisp-mode.el, cleaned up.
17165 (find-function-regexp-alist): Add them.
17166 * lisp/progmodes/elisp-mode.el:
17167 (elisp--xref-format, elisp--xref-format-extra): Change back to
17168 defvar due to bug#21237.
17169 (elisp--xref-find-definitions): Exclude co-located default methods for
17170 generic functions. Also exclude implicitly declared defgeneric.
17171 (elisp--xref-find-definitions): Handle C source properly. Exclude minor
17172 mode variables defined by 'define-minor-mode'.
17173 * test/automated/elisp-mode-tests.el: Declare generic functions, add
17175 (xref-elisp-test-run): Fix bug.
17176 (emacs-test-dir): Improve initial value.
17177 (find-defs-defun-defvar-el): Don't expect defvar.
17178 (find-defs-feature-el): Match change to find-feature-regexp.
17180 2015-08-13 Eli Zaretskii <eliz@gnu.org>
17182 Improve warning about purecopy of strings with properties
17183 * src/alloc.c (purecopy): Show the offending string with the
17184 warning about removing its text properties.
17186 2015-08-12 Alan Mackenzie <acm@muc.de>
17188 Introduce new macros to cover Emacs's new names in cl-lib.el
17189 This also eliminates `mapcan' warnings in XEmacs.
17190 * lisp/progmodes/cc-defs.el (c--mapcan-status): New variable to
17191 characterise [X]Emacs versions.
17192 (top-level): Require either 'cl or 'cl-lib, depending on
17194 Change this back to cc-external-require from an eval-when-compile
17196 (c--mapcan, c--set-difference, c--intersection, c--macroexpand-all)
17197 (c--delete-duplicates): New macros which expand into either old or new
17199 (c-make-keywords-re, c-lang-defconst, c-lang-const): Use the new macros
17200 rather than the old names.
17201 * lisp/progmodes/cc-engine.el (c-declare-lang-variables): Use c--mapcan
17202 rather than mapcan.
17203 * lisp/progmodes/cc-fonts.el (c-compose-keywords-list): Use c--mapcan.
17204 * lisp/progmodes/cc-langs.el (top-level): Require either 'cl or 'cl-lib,
17205 depending on c--mapcan-status.
17206 (c-filter-ops, c-all-op-syntax-tokens, c-assignment-op-regexp)
17207 (c-type-start-kwds, c-prefix-spec-kwds, c-specifier-key)
17208 (c-not-decl-init-keywords, c-not-primitive-type-keywords)
17209 (c-paren-any-kwds, c-<>-sexp-kwds, c-block-stmt-kwds, c-expr-kwds)
17210 (c-decl-block-key, c-keywords, c-keywords-obarray)
17211 (c-regular-keywords-regexp, c-primary-expr-regexp)
17212 (c-primary-expr-regexp, c-block-prefix-disallowed-chars)
17213 (c-known-type-key, c-nonlabel-token-key)
17214 (c-make-init-lang-vars-fun): Use the new macros rather than the old
17217 2015-08-12 Oleh Krehel <ohwoeowho@gmail.com>
17219 loadhist.el (read-feature): Conform to completing-read
17220 * lisp/loadhist.el (read-feature): According to `completing-read'
17221 documentation, if collection is a list, then it must be a list of
17222 strings, not a list of symbols like before.
17224 2015-08-12 David Kastrup <dak@gnu.org>
17226 Deal gracefully with up-events (Bug#19746)
17227 * src/keyboard.c (apply_modifiers_uncached, parse_solitary_modifier)
17228 (parse_modifiers_uncached): React gracefully to "up-" modifiers:
17229 those may easily be injected by user-level Lisp code.
17230 (read_key_sequence): Discard unbound up-events like unbound
17231 down-events: they are even more likely only relevant for special
17233 While Emacs will not produce up-events on its own currently (those are
17234 converted to drag or click events before being converted to
17235 Lisp-readable structures), the input queue can be made to contain them
17236 by synthesizing events to `unread-command-events'. Emacs should deal
17237 consistently with such events.
17239 2015-08-12 Eli Zaretskii <eliz@gnu.org>
17241 Fix display of thin lines whose newline has line-height property of t
17242 * src/xdisp.c (append_space_for_newline): Don't try to fix ascent
17243 and descent values of non-empty glyph rows, since they could have
17244 forced low values deliberately. (Bug#21243)
17246 2015-08-12 Richard Stallman <rms@gnu.org>
17248 Offer to combine multiple To or CC fields.
17249 * lisp/mail/sendmail.el (mail-combine-fields): New function.
17250 (mail-send): Call 'mail-combine-fields'.
17252 Don't decrypt encrypted files.
17253 * lisp/mail/mail-utils.el (mail-file-babyl-p): Bind epa-inhibit to t.
17255 Handle encrypted mbox files.
17256 * lisp/mail/rmailout.el (rmail-output-as-mbox): Decrypt and reencrypt
17257 the mbox file if necessary.
17259 Re-enable mime processing after decryption. Add 'decrypt' keyword.
17260 * lisp/mail/rmail.el (rmail-epa-decrypt-1): New subroutine.
17261 (rmail-epa-decrypt): rmail-epa-decrypt-1 broken out.
17262 In a mime message, reenable Mime and show the parts that
17264 Add keyword "decrypt" if anything decrypted.
17266 epa-inhibit inhibits auto-recognition of .gpg files
17267 * lisp/epa-file.el (epa-inhibit): New variable.
17268 (epa-file-handler): Check epa-inhibit.
17270 2015-08-12 Artur Malabarba <bruce.connor.am@gmail.com>
17272 * lisp/emacs-lisp/lisp-mnt.el (lm-header): Add save-excursion.
17274 2015-08-11 Fabián Ezequiel Gallina <fgallina@gnu.org>
17276 Respect python.el imenu when semantic-mode is off
17278 * lisp/cedet/semantic/wisent/python.el: Do not force
17279 wisent-python-default-setup on python-mode-hook.
17281 2015-08-11 Paul Eggert <eggert@cs.ucla.edu>
17283 Give names to Unicode code points in C code
17284 * src/character.h (NO_BREAK_SPACE, SOFT_HYPHEN)
17285 (ZERO_WIDTH_NON_JOINER, ZERO_WIDTH_JOINER, HYPHEN)
17286 (NON_BREAKING_HYPHEN, LEFT_SINGLE_QUOTATION_MARK)
17287 (RIGHT_SINGLE_QUOTATION_MARK, PARAGRAPH_SEPARATOR)
17288 (LEFT_POINTING_ANGLE_BRACKET, RIGHT_POINTING_ANGLE_BRACKET)
17289 (LEFT_ANGLE_BRACKET, RIGHT_ANGLE_BRACKET)
17290 (OBJECT_REPLACEMENT_CHARACTER):
17291 New named constants for Unicode code points.
17292 * src/bidi.c (bidi_fetch_char, CANONICAL_EQU):
17293 * src/composite.c (char_composable_p):
17294 * src/lread.c (readevalloop, read1):
17295 * src/xdisp.c (get_next_display_element):
17297 * src/doc.c (LEFT_SINGLE_QUOTATION_POINT):
17298 Remove; now in character.h.
17300 2015-08-11 Stephen Leake <stephen_leake@stephe-leake.org>
17302 elisp--xref-find-definitions handle cl-defstuct default constructor
17303 * lisp/progmodes/elisp-mode.el (elisp-xref-find): Add FIXME.
17304 (elisp--xref-format-extra): Rename from elisp--xref-format-cl-defmethod.
17305 (elisp--xref-find-definitions): Handle cl-defstuct default constructor.
17306 * test/automated/elisp-mode-tests.el (xref-elisp-test-run): Split out
17307 from xref-elisp-test for ease of debugging.
17308 (xref-elisp-deftest): Rename from xref-elisp-test.
17309 (find-defs-constructor): New test.
17310 (find-defs-defgeneric-el): Match batch test config.
17311 (compile): Required for find-defs compilation-minor-mode test.
17312 (find-defs-defvar-el): Match code change.
17313 (find-defs-face-el): Match code change.
17314 * lisp/progmodes/xref.el (xref-find-function, xref-find-definitions):
17315 Improve doc string.
17317 2015-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
17319 * lisp/replace.el (perform-replace): Document `replacements'.
17320 (perform-replace): Move the description of the format of `replacements'
17321 from the body's comment to the doc string.
17323 2015-08-11 Jürgen Hötzel <juergen@archlinux.org>
17325 * lisp/net/tramp-adb.el (tramp-adb-prompt): Match leading escape
17326 sequence. Recent adb version send initial escape sequences, even
17327 when terminal type is set to TERM=dumb.
17329 2015-08-10 Stephen Leake <stephen_leake@stephe-leake.org>
17331 Rewrite elisp--xref-find-definitions to handle many more cases; add tests
17332 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
17334 (elisp--xref-format-cl-defmethod): New defconst.
17335 (find-feature-regexp, find-alias-regexp): New defcustoms.
17336 (elisp--xref-make-xref): New function.
17337 (elisp--xref-find-definitions): Rewrite using the above, handle many
17338 more cases. Always output all available definitions.
17339 (xref-location-marker): No need for special cases.
17340 * test/automated/elisp-mode-tests.el: Add more tests of
17341 elisp--xref-find-definitions, improve current tests.
17343 2015-08-10 Eli Zaretskii <eliz@gnu.org>
17345 Fix recording of events pushed onto unread-command-events
17346 * src/keyboard.c (read_char): Make sure events read from
17347 unread-command-events and unread-post-input-method-events are
17348 always recorded by record_char. Reported by David Kastrup
17350 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00193.html.
17352 2015-08-10 Samer Masterson <samer@samertm.com>
17354 Set file buffer as current for "--file"
17355 * lisp/startup.el (command-line-1): Set file buffer as current before
17356 it is displayed so it can be used with options like "--eval".
17359 2015-08-10 Eli Zaretskii <eliz@gnu.org>
17361 Avoid setting LC_NUMERIC on MS-Windows to anything but "C"
17362 * src/emacs.c (synchronize_locale) [WINDOWSNT]: Call fixup_locale
17363 after setting LC_ALL to the desired locale, to avoid affecting how
17364 numbers are read and printed. (Bug#21223)
17366 2015-08-10 Alan Mackenzie <acm@muc.de>
17368 Fix "Invalid search bound (wrong side of point)" in fontification
17369 * lisp/progmodes/cc-fonts.el (c-font-lock-declarators): After skipping
17370 an initialization expression, check point is not beyond the
17371 fontification limit.
17373 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
17375 Fix DPI calculation when Xft/DPI is default
17376 * src/xsettings.c (parse_settings): Don't use Xft/DPI default
17377 value of -1, which evaluates to 2**32 - 1 (Bug#21152).
17378 Remove unnecessary cast while we're in the neighborhood.
17380 2015-08-09 Dmitry Gutov <dgutov@yandex.ru>
17382 Add project-vc-search-path and project-vc-ignores
17383 * lisp/progmodes/project.el (project-vc): New group.
17384 (project-vc-search-path, project-vc-ignores): New variables.
17385 (project--value-in-dir): Utility function.
17386 (project-search-path, project-ignores): Use them.
17387 * lisp/progmodes/xref.el (xref--rgrep-command): Only replace `./'
17388 at bos. Don't add extra `/'. Don't prepend with `*' if replaced.
17390 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
17392 Fix some minor quoting issues with grave accent
17393 * src/dispnew.c (add_window_display_history) [GLYPH_DEBUG]:
17394 Remove redundant quotes.
17395 * src/doc.c (uLSQM, uRSQM): New macros.
17396 * src/doc.c (Fsubstitute_command_keys):
17397 * src/syntax.c (Finternal_describe_syntax_value): Follow the user
17398 preference for quotes rather than hardcoding the ‘grave’ style.
17399 * src/regex.c (PUSH_FAILURE_POINT, POP_FAILURE_POINT)
17400 (re_match_2_internal) [DEBUG]: In debugging output, quote C
17401 strings with "...", not `...'.
17403 ChangeLog.2 ignores remote-tracking merges
17404 * build-aux/gitlog-to-emacslog: Ignore commit logs matching
17405 "Merge remote-tracking branch '.*'" too. See Eli Zaretskii in:
17406 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00384.html
17408 2015-08-09 Nicolas Richard <youngfrog@members.fsf.org>
17410 Use kpsewhich in ffap-latex-mode, if available
17411 * lisp/ffap.el (ffap-latex-guess-rules): New variable.
17412 (ffap-latex-mode): Use kpsewhich if available.
17414 ffap: disallow braces in filenames for tex modes
17415 * lisp/ffap.el (ffap-string-at-point-mode-alist): Don't allow
17416 braces in tex-related modes.
17418 Remove useless backslashes from ffap-string-at-point-mode-alist
17419 * lisp/ffap.el (ffap-string-at-point-mode-alist): Remove useless and
17420 misleading backslashes from default value.
17422 Augment docstring of ffap-string-at-point-mode-alist
17423 * lisp/ffap.el (ffap-string-at-point-mode-alist): Describe how BEG
17424 and END are handled.
17426 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
17428 * lisp/org/org-src.el (org-edit-src-code)
17429 (org-edit-fixed-width-region):
17430 * lisp/simple.el (completion-setup-function):
17431 Remove calls to substitute-command-keys that always just return
17434 2015-08-09 Daiki Ueno <ueno@gnu.org>
17436 * lisp/epa.el (epa-exit-buffer-function): Set to `quit-window'.
17439 2015-08-09 Ivan Kanis <ivan@kanis.fr>
17441 Fix link to source code in help window
17442 * lisp/help-fns.el (find-lisp-object-file-name): Remove code that
17443 will never work due to Glenn Morris change a6d63d9 on Apr 20 2013
17444 'No longer include timestamp in header of .elc files'. Add code
17445 that will return .el source file in load-path.
17447 2015-08-09 Artur Malabarba <bruce.connor.am@gmail.com>
17449 * lisp/isearch.el (isearch-search-fun-default): (Bug#21164)
17450 Respect `isearch-lax-whitespace' when searching through
17453 2015-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
17455 * test/automated/ert-tests.el (ert-test-deftest): Add FIXME.
17457 * lisp/org/org.el: Fix up some lexical scoping warnings, and use dolist
17458 * lisp/org/org.el (org-set-regexps-and-options-for-tags, org-goto-map)
17459 (org-set-regexps-and-options, org-assign-fast-keys)
17460 (org-contextualize-keys, org-contextualize-validate-key)
17461 (org-notes-order-reversed-p, org-local-logging, org-map-entries)
17462 (org-find-olp, org-find-exact-heading-in-directory)
17463 (org-cycle-agenda-files, org-release-buffers, org-fill-template)
17464 (org-agenda-prepare-buffers, org-occur-in-agenda-files)
17465 (org-replace-escapes): Use dolist.
17466 (org-mode): Optimize away XEmacs-only code.
17467 (org-refile-get-targets): Remove unused var `f'.
17468 (org-fast-todo-selection): Remove unused var `e'.
17469 (org-make-tags-matcher): Use dolist. Remove unused var `term'.
17470 (org-fast-tag-selection): Use dolist. Remove unused var `e'.
17471 (org-format-latex): Use dolist. Remove unused var `e'.
17472 (org-toggle-heading): Access vars lexically rather than dynamically.
17473 (org-backward-sentence, org-forward-sentence, org-meta-return)
17474 (org-kill-line): Mark arg as unused.
17475 (org-submit-bug-report): Silence compiler warning.
17476 (org-occur-in-agenda-files): Don't use add-to-list on local vars.
17477 (org-get-cursor-date): Remove unused var `tm'.
17478 (org-comment-or-uncomment-region): Use standard name `_'.
17479 (reftex-docstruct-symbol, reftex-cite-format): Declare to
17480 silence byte-compiler.
17481 (org-reftex-citation): Add `org--' prefix to dynamically scoped
17484 2015-08-08 Paul Eggert <eggert@cs.ucla.edu>
17486 Electric quote if coding is undecided or no conv
17487 * lisp/electric.el (electric--insertable-p): Also say that a
17488 string is insertable if the buffer file coding system is undecided
17489 or uses no conversion, as curved quotes will work in either case.
17491 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Simplify configuration.
17493 2015-08-08 Eli Zaretskii <eliz@gnu.org>
17495 Fix overlay string display regressions introduced in Emacs 24.5
17496 * src/xdisp.c (pop_it): Reset the flag to ignore overlays at this
17497 buffer position, if we move the iterator to a new position as
17498 result of jumping over text covered by a "replacing" display
17500 * test/redisplay-testsuite.el (test-redisplay-4): Add 2 new tests.
17502 Support recovery from C stack overflow on MS-Windows
17503 * src/w32fns.c (w32_reset_stack_overflow_guard)
17504 (stack_overflow_handler): New functions for handling C stack
17505 overflow exceptions.
17506 (my_exception_handler): Handle EXCEPTION_STACK_OVERFLOW exceptions
17507 specially, and zero out except_addr if we do.
17508 (globals_of_w32fns): Initialize dwMainThreadId in non-interactive
17510 * src/sysdep.c [HAVE_STACK_OVERFLOW_HANDLING]: Add !WINDOWSNT to
17511 the condition, as HAVE_STACK_OVERFLOW_HANDLING is now defined for
17512 the MinGW build, but the code guarded by that is for Posix hosts.
17513 * src/keyboard.c (command_loop) [WINDOWSNT]:
17514 Call w32_reset_stack_overflow_guard.
17515 * nt/inc/ms-w32.h (sigjmp_buf): New typedef.
17516 (sigsetjmp): New macro.
17517 (w32_reset_stack_overflow_guard): Declare the prototype.
17518 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Set to 1 for MinGW.
17520 2015-08-07 Phillip Lord <phillip.lord@newcastle.ac.uk>
17522 Improve error signalling for seq-subseq
17523 * lisp/emacs-lisp/seq.el (seq-subseq): The existing behavior is to error
17524 when indexes are too large, but to silently ignore numbers which
17525 are too negative for lists. String and vector handling errors in
17526 both cases. This has been regularized. Error signaling behavior
17527 has been explicitly added to the doc string.
17529 * lisp/cl-extra.el (cl-subseq): Defers to (seq-subseq) and is
17530 therefore also impacted by this change. Update the doc string
17533 * test/automated/seq-tests.el (test-seq-subseq): Tests have been
17534 added for these exceptional cases, as well as one non exceptional
17537 2015-08-07 Jürgen Hötzel <juergen@archlinux.org>
17539 Improve error checking in tramp-adb.el
17540 * lisp/net/tramp-adb.el (tramp-adb-ls-output-name-less-p):
17541 Improve error checking. "ls -l" on Android in Enforcing mode can
17542 print "lstat './FILENAME failed: Permission denied".
17544 2015-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
17546 * lisp/emacs-lisp/cl-generic.el (cl--generic-struct-tag): Don't burp on
17547 non-struct vectors.
17549 2015-08-07 Stephen Leake <stephen_leake@stephe-leake.org>
17551 Fix typo in lisp/window.el, more `display-buffer-use-some-frame'
17552 * lisp/window.el: Fix typo that broke build.
17553 (display-buffer--action-function-custom-type):
17554 Add `display-buffer-use-some-frame'.
17555 (display-buffer): Add `display-buffer-use-some-frame' to doc string.
17557 Add support for 'inhibit-same-window in 'display-buffer-use-some-frame'
17558 * lisp/window.el (display-buffer-use-some-frame): Add support for
17559 'inhibit-same-window in alist.
17560 * doc/lispref/windows.texi (display-buffer-use-some-frame):
17561 Doc support for 'inhibit-same-window in alist.
17563 2015-08-07 Eli Zaretskii <eliz@gnu.org>
17565 Avoid infinite loop in display of invisible text in strings
17566 * src/xdisp.c (handle_invisible_prop): If the next change of
17567 invisibility spec does not mean the beginning of a visible text,
17568 update the string position from which to start the search for the
17569 next invisibility change. This avoids an infinite loop when we
17570 have more than one invisibility spec that are made inactive by
17571 buffer-invisibility-spec. Simplify code. (Bug#21200)
17572 * test/redisplay-testsuite.el (test-redisplay-4): Add a test case
17573 for the situation that caused bug #21200.
17575 2015-08-06 Artur Malabarba <bruce.connor.am@gmail.com>
17577 * lisp/emacs-lisp/package.el: Simplify describe-package-1
17578 (package-help-section-name-face): New face.
17579 (package--print-help-section): New function.
17580 (describe-package-1): Refactor section printing.
17581 (package-make-button): Use face instead of font-lock-face, which
17582 doesn't work on buttons.
17584 * lisp/emacs-lisp/package.el: Define custom faces
17585 (package-name-face, package-description-face)
17586 (package-status-built-in-face, package-status-external-face)
17587 (package-status-available-face, package-status-new-face)
17588 (package-status-held-face, package-status-disabled-face)
17589 (package-status-installed-face, package-status-dependency-face)
17590 (package-status-unsigned-face, package-status-incompat-face)
17591 (package-status-avail-obso-face): New faces.
17592 (package-menu--print-info-simple): Use them.
17594 2015-08-05 Paul Eggert <eggert@cs.ucla.edu>
17596 Fix some confusion with ‘format’
17597 * lisp/allout-widgets.el (allout-widgets-before-change-handler)
17598 (allout-graphics-modification-handler):
17599 Protect arbitrary string in a format context with "%s" format.
17601 * lisp/cedet/semantic/bovine/scm.el: Fix comment.
17602 * lisp/calendar/icalendar.el (icalendar--convert-sexp-to-ical):
17603 * lisp/erc/erc-button.el (erc-button-beats-to-time):
17604 * lisp/gnus/message.el (message-send-form-letter):
17605 * lisp/org/ob-core.el (org-babel-check-evaluate)
17606 (org-babel-confirm-evaluate):
17607 * lisp/org/ob-fortran.el (org-babel-fortran-var-to-fortran):
17608 * lisp/org/ox-latex.el (org-latex-compile):
17609 * lisp/org/ox-man.el (org-man-compile):
17610 * lisp/org/ox-odt.el (org-odt-template):
17611 * lisp/org/ox-texinfo.el (org-texinfo-compile):
17612 * lisp/progmodes/prolog.el (prolog-help-info)
17613 (prolog-view-predspec):
17614 * lisp/progmodes/ruby-mode.el (ruby-parse-partial):
17615 * lisp/progmodes/verilog-mode.el (verilog-showscopes):
17616 * lisp/textmodes/rst.el (rst-replace-lines):
17617 Change (message (format ...)) to (message ...), and likewise
17618 for ‘error’. This lessens the probability of confusion when the
17619 output of ‘format’ contains ‘%’.
17621 2015-08-05 Artur Malabarba <bruce.connor.am@gmail.com>
17623 * lisp/replace.el (replace-character-fold): Default to nil.
17625 * lisp/character-fold.el: Fix lax whitespace.
17626 (character-fold-table): Don't make space match other whitespace chars.
17627 (character-fold-to-regexp): Simplify lax behavior.
17629 2015-08-05 Dmitry Gutov <dgutov@yandex.ru>
17631 Preserve window point in xref-find-definitions-other-window
17632 Fix the problem reported by Ingo Logmar in
17633 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00152.html
17634 * lisp/progmodes/xref.el (xref--goto-char): Extract from
17635 xref--goto-location.
17636 (xref--pop-to-location): Use it. Replace xref--goto-location with
17637 a direct xref-location-marker call.
17638 (xref--show-location): Likewise.
17639 (xref--display-position): Use xref--goto-char.
17641 * lisp/progmodes/project.el: Add a paragraph to the front matter.
17643 2015-08-04 David Kastrup <dak@gnu.org>
17645 * lisp/vc/emerge.el (emerge-show-file-name):
17646 * lisp/progmodes/vhdl-mode.el (vhdl-electric-dash)
17647 (vhdl-comment-insert, vhdl-hooked-abbrev):
17648 * lisp/progmodes/octave.el (inferior-octave-dynamic-list-input-ring):
17649 * lisp/progmodes/fortran.el (fortran-window-create-momentarily):
17650 * lisp/progmodes/ebrowse.el (ebrowse-hack-electric-buffer-menu):
17651 * lisp/progmodes/cperl-mode.el (cperl-putback-char):
17652 * lisp/obsolete/vip.el (vip-escape-to-emacs)
17653 (vip-prefix-arg-value, vip-prefix-arg-com):
17654 * lisp/obsolete/terminal.el (te-escape-extended-command-unread):
17655 * lisp/leim/quail/tibetan.el (quail-tibetan-update-translation)
17656 (quail-tibkey-update-translation):
17657 * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
17658 * lisp/leim/quail/lao.el (quail-lao-update-translation):
17659 * lisp/leim/quail/japanese.el (quail-japanese-update-translation)
17660 (quail-japanese-self-insert-and-switch-to-alpha):
17661 * lisp/leim/quail/hangul.el (hangul2-input-method)
17662 (hangul3-input-method, hangul390-input-method):
17663 * lisp/language/hanja-util.el (hangul-to-hanja-char):
17664 * lisp/international/robin.el (robin-input-method):
17665 * lisp/international/quail.el (quail-start-translation)
17666 (quail-start-conversion):
17667 * lisp/gnus/gnus-art.el (gnus-article-describe-key)
17668 (gnus-article-describe-key-briefly):
17669 * lisp/eshell/em-hist.el (eshell-list-history):
17670 * lisp/term.el (term-dynamic-list-input-ring)
17671 (term-dynamic-list-completions):
17672 * lisp/subr.el (momentary-string-display):
17673 * lisp/simple.el (read-quoted-char):
17674 * lisp/pcomplete.el (pcomplete-show-completions):
17675 * lisp/kmacro.el (kmacro-repeat-on-last-key):
17676 * lisp/info.el (Info-summary):
17677 * lisp/ehelp.el (electric-help-command-loop):
17678 * lisp/ebuff-menu.el (electric-buffer-list)
17679 (Electric-buffer-menu-exit):
17680 * lisp/double.el (double-translate-key):
17681 * lisp/comint.el (comint-dynamic-list-input-ring)
17682 (comint-dynamic-list-completions): Do not overwrite preexisting
17683 contents of `unread-command-events' when putting new events into it.
17685 2015-08-04 Daniel Colascione <dancol@dancol.org>
17687 Improve ansi-color filtering of unrecognized escape sequences
17688 * lisp/ansi-color.el (ansi-color-drop-regexp): Recognize mode-setting
17690 (ansi-color-filter-apply, ansi-color-apply): Filter out
17691 unrecognized escape sequences.
17693 2015-08-04 Artur Malabarba <bruce.connor.am@gmail.com>
17695 * lisp/emacs-lisp/package.el (package-menu-mode-map): Convert menu
17696 definitions to `easy-menu-define', improve a couple to account for
17697 async, and add a couple of new commands.
17699 2015-08-03 Jürgen Hötzel <juergen@archlinux.org>
17701 * lisp/net/tramp-cache.el (tramp-set-file-property): Fix code typo.
17703 2015-08-03 Ingo Lohmar <i.lohmar@gmail.com>
17705 Add new 'calendar-weekend-days' option
17706 Make the days receiving the 'calendar-weekend-header' face freely
17707 customizable, as they differ by region/culture.
17708 * doc/emacs/calendar.texi (Move to Beginning or End): Document the
17710 * lisp/calendar/calendar.el (calendar-generate-month): New variable
17711 calendar-weekend-days to customize day header fontification.
17713 2015-08-03 Paul Eggert <eggert@cs.ucla.edu>
17715 Redo text-quoting-style variable
17716 Rename help-quote-translation to text-quoting-style,
17717 and use symbols rather than characters as values.
17718 This follows suggestions along these lines by Alan Mackenzie in:
17719 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00343.html
17720 and by Drew Adams in:
17721 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00048.html
17722 * doc/lispref/help.texi (Keys in Documentation)
17724 * lisp/cus-start.el (standard):
17725 * src/doc.c (Fsubstitute_command_keys, syms_of_doc):
17726 Document and/or implement the new behavior instead of the old.
17727 (syms_of_doc): New symbols 'grave' and 'straight'.
17729 2015-08-03 Nikolaus Rath <Nikolaus@rath.org>
17731 nnimap.el: Use IMAP MOVE extension if available
17732 * lisp/gnus/nnimap.el (nnimap-request-move-article)
17733 (nnimap-process-expiry-targets, nnimap-split-incoming-mail):
17734 Use MOVE extension if available.
17736 nnimap.el: Explicitly ask for server capabilities
17737 * lisp/gnus/nnimap.el (nnimap-open-connection-1): Don't assume full
17738 capabilities will be returned in the login-result.
17740 2015-08-02 Paul Eggert <eggert@cs.ucla.edu>
17742 Treat help strings like other doc strings
17743 * doc/lispref/text.texi (Special Properties), etc/NEWS: Document this.
17744 * lisp/epa.el (epa--select-keys): Remove no-longer-needed calls to
17745 substitute-command-keys.
17746 * src/keyboard.c (show_help_echo, parse_menu_item): Call
17747 substitute-command-keys on the help string before displaying it.
17749 Also mention "curly quotes"
17750 See Drew Adams's email in:
17751 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00040.html
17752 * doc/lispref/help.texi (Keys in Documentation):
17753 Add index entry "curly quotes".
17754 * etc/NEWS: Use the phrase "curly quotes" too.
17756 ede-proj-target-makefile docstring tweaks
17757 * lisp/cedet/ede/proj.el (ede-proj-target-makefile):
17758 Consistently use "all:" to describe the all: target,
17759 replacing three different and confusingly-quoted usages.
17761 2015-08-02 Evgeny Fraimovitch <johnlen7@gmail.com> (tiny change)
17763 Don't abort emacsclientw when -a was specified
17764 * lib-src/emacsclient.c (set_tcp_socket) [WINDOWSNT]: Don't error
17765 out if we are in emacsclientw and -a was specified.
17767 2015-08-02 Eli Zaretskii <eliz@gnu.org>
17769 Fix handling of 1st keystroke on MS-Windows
17770 * src/w32fns.c (globals_of_w32fns): Initialize after_deadkey to -1.
17771 This is needed to correctly handle the session's first keystroke,
17772 if it has any modifiers. (Bug#19994)
17774 2015-08-02 Paul Eggert <eggert@cs.ucla.edu>
17776 Substitute some customization etc. doc strings
17777 These changes apply substitute-command-keys to some
17778 doc strings that were going through untranslated
17779 when creating customization or other widgets.
17780 * lisp/cus-edit.el (custom-group-value-create):
17781 * lisp/wid-edit.el (widget-default-create):
17782 (widget-push-button-value-create):
17783 Treat the widget tag as a doc string.
17784 * lisp/emacs-lisp/cl-extra.el (cl--describe-class-slot):
17785 Treat the :documentation value as a doc string.
17786 * lisp/wid-edit.el (widget-choose):
17787 Treat the choice names as doc strings.
17788 (widget-default-create): Treat the :doc value as a doc string.
17789 (widget-toggle-value-create): Treat the :on and :off values
17791 (widget-documentation-string-value-create):
17792 Substitute the doc string.
17794 2015-08-01 Dmitry Gutov <dgutov@yandex.ru>
17796 Add a second argument to project-ignores
17797 * lisp/progmodes/project.el (project-ignores): Add a second
17799 * lisp/progmodes/project.el (project-ignores): Only include the VC
17800 ignores if DIR is the VC root.
17801 * lisp/progmodes/xref.el (xref-find-regexp): Update accordingly.
17803 2015-08-01 Eli Zaretskii <eliz@gnu.org>
17805 Prevent incorrect display when 'line-spacing' variable is set
17806 * src/xdisp.c (try_window_id): Give up this optimization if the
17807 buffer has its 'line-spacing' variable set non-nil.
17809 2015-08-01 Dmitry Gutov <dgutov@yandex.ru>
17811 Don't pass NOVISIT to find-file
17812 * lisp/progmodes/etags.el (next-file):
17813 Don't pass NOVISIT to find-file (bug#21175).
17815 Ignore buffer restriction for tags-loop-eval
17816 * lisp/progmodes/etags.el (tags-loop-continue): Ignore buffer
17817 restriction (bug#21167).
17819 2015-08-01 Eli Zaretskii <eliz@gnu.org>
17821 Fix a thinko in 'ffap-gopher-at-point'
17822 * lisp/ffap.el (ffap-gopher-at-point): Fix last change. (Bug#21168)
17824 Honor 'line-spacing' for empty lines
17825 * src/xdisp.c (append_space_for_newline): Honor 'line-height'
17826 property and 'line-spacing' frame parameter or variable or
17827 property for empty lines, by doing the same processing as in
17828 x_produce_glyph for newline characters. (Bug#21165)
17830 2015-08-01 Paul Eggert <eggert@cs.ucla.edu>
17832 Simplify by assuming C99 integer division
17833 * src/floatfns.c (ceiling2, floor2, truncate2):
17834 Assume C99 (i.e., Fortran) semantics for integer division.
17835 This simplifies the code.
17837 2015-07-31 Paul Eggert <eggert@cs.ucla.edu>
17839 Don't overflow if computing approximate percentage
17840 * lisp/align.el (align-region):
17841 * lisp/cedet/semantic.el (semantic-repeat-parse-whole-stream):
17842 * lisp/cedet/semantic/wisent.el (wisent-parse-region):
17843 * lisp/cus-edit.el (custom-buffer-create-internal):
17844 * lisp/emacs-lisp/checkdoc.el (checkdoc-interactive-ispell-loop)
17845 (checkdoc-message-interactive-ispell-loop, checkdoc-next-error)
17846 (checkdoc-next-message-error):
17847 * lisp/emacs-lisp/eieio-opt.el (eieio-display-method-list):
17848 * lisp/epa.el (epa-progress-callback-function):
17849 * lisp/erc/erc-dcc.el (erc-dcc-do-LIST-command):
17850 * lisp/ffap.el (ffap-menu-rescan):
17851 * lisp/gnus/nnbabyl.el (nnbabyl-retrieve-headers):
17852 * lisp/gnus/nndiary.el (nndiary-retrieve-headers):
17853 * lisp/gnus/nneething.el (nneething-retrieve-headers):
17854 * lisp/gnus/nnmbox.el (nnmbox-retrieve-headers):
17855 * lisp/gnus/nnmh.el (nnmh-retrieve-headers):
17856 * lisp/gnus/nnml.el (nnml-retrieve-headers):
17857 * lisp/gnus/nnspool.el (nnspool-retrieve-headers):
17858 * lisp/gnus/nntp.el (nntp-retrieve-headers)
17859 (nntp-retrieve-articles):
17860 * lisp/imenu.el (imenu--relative-position):
17861 * lisp/international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
17862 (skkdic-convert-okuri-nasi):
17863 * lisp/net/ange-ftp.el (ange-ftp-process-handle-hash):
17864 * lisp/nxml/rng-valid.el (rng-compute-mode-line-string):
17865 * lisp/org/org-list.el (org-update-checkbox-count):
17866 * lisp/org/org.el (org-table-map-tables)
17867 (org-update-parent-todo-statistics):
17868 * lisp/play/decipher.el (decipher-insert-frequency-counts)
17869 (decipher-analyze-buffer):
17870 * lisp/profiler.el (profiler-format-percent):
17871 * lisp/progmodes/cc-cmds.el (c-progress-update):
17872 * lisp/progmodes/cpp.el (cpp-highlight-buffer):
17873 * lisp/progmodes/idlwave.el (idlwave-convert-xml-system-routine-info)
17874 (idlwave-list-load-path-shadows):
17875 * lisp/progmodes/opascal.el (opascal-step-progress):
17876 * lisp/progmodes/vhdl-mode.el (vhdl-update-progress-info)
17877 (vhdl-scan-directory-contents):
17878 * lisp/textmodes/bibtex.el (bibtex-progress-message):
17879 * lisp/textmodes/flyspell.el (flyspell-small-region)
17880 (flyspell-external-point-words):
17881 * lisp/textmodes/table.el (table-recognize):
17882 Prefer (floor (* 100.0 NUMERATOR) DENOMINATOR) when calculating
17883 progress-report percentages and the like. This avoids problems
17884 if (* 100 NUMERATOR) would overflow.
17885 * lisp/gnus/gnus-registry.el (gnus-registry-import-eld):
17886 * lisp/gnus/registry.el (registry-reindex):
17887 Use (* 100.0 ...) rather than (* 100 ...) to avoid int overflow issues.
17888 * lisp/descr-text.el (describe-char):
17889 * lisp/org/org-colview.el (org-nofm-to-completion):
17890 * lisp/ps-print.el (ps-plot):
17891 * lisp/simple.el (what-cursor-position):
17892 Prefer (round (* 100.0 NUMERATOR) DENOMINATOR) to a
17893 more-complicated and less-accurate approximation.
17895 Fix some int overflows in profiler.c
17896 * src/profiler.c (make_log): Make args EMACS_INT, not int,
17897 to avoid unwanted behavior on 'int' overflow.
17898 (make_log, evict_lower_half, record_backtrace):
17899 Use ptrdiff_t, not int, for object indexes.
17901 Port to pedantic memcpy
17902 * src/keyboard.c (menu_bar_items, tool_bar_items):
17903 * src/xrdb.c (magic_db):
17904 Port to pedantic memcpy implementations that reject memcpy (0, 0, 0).
17908 2015-07-29 time_rz: port to pedantic memcpy
17909 * lib/time_rz.c: Copy from gnulib.
17911 2015-07-31 Artur Malabarba <bruce.connor.am@gmail.com>
17913 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
17914 When updating the very last entry, tabulated-list-print would
17915 erase it and then try to look at the next one (which obviously
17918 2015-07-31 Eli Zaretskii <eliz@gnu.org>
17920 Allow to use the old key processing code on MS-Windows
17921 * src/w32fns.c (syms_of_w32fns) <w32-use-fallback-wm-chars-method>:
17923 (w32_wnd_proc): Use it to invoke the old code that processed
17924 character keys, as fallback, when this variable is non-nil.
17925 Fix typos in comments. (Bug#19994)
17927 2015-07-31 Ilya Zakharevich <ilya@math.berkeley.edu>
17929 Improve handling of Unicode keyboard input on MS-Windows
17930 * src/w32fns.c (get_wm_chars, deliver_wm_chars): New functions.
17931 (FPRINTF_WM_CHARS) [DEBUG_WM_CHARS]: New macro for debugging.
17932 (w32_wnd_proc): Call deliver_wm_chars to process non-special keys
17933 upon receiving WM_KEYDOWN or WM_SYSKEYDOWN messages. If that is
17934 successful, don't call TranslateMessage. (Bug#19994)
17936 2015-07-30 Dmitry Gutov <dgutov@yandex.ru>
17938 Fix default-directory in changeset diffs after vc-print-log
17939 * lisp/vc/log-view.el (log-view-diff-common): Move the
17940 revision-granularity check back into log-view-diff-changeset.
17941 (log-view-diff-changeset): Bind default-directory to the current
17944 Rename project-directories to project-roots
17945 * lisp/progmodes/project.el (project-search-path-function)
17946 (project-search-path): Update the docstring.
17947 (project-directories): Rename to `project-roots', update all
17948 callers and implementations accordingly.
17949 (project-root): Remove.
17950 * lisp/progmodes/xref.el (xref-find-regexp): Use * instead of *.*
17951 as the default file mask.
17953 2015-07-30 Eli Zaretskii <eliz@gnu.org>
17955 Support long URLs in w32-shell-execute
17956 * src/w32fns.c (Fw32_shell_execute): Don't use filename_to_utf16
17957 and filename_to_ansi to convert the DOCUMENT argument, as it could
17958 be a URL that is not limited to MAX_PATH characters. Instead, use
17959 MultiByteToWideChar directly, and allocate heap storage as
17960 required to accommodate the converted string. Likewise with
17961 non-Unicode operation. Ensure OPERATION is null-terminated, even
17962 if it is longer than 32K bytes. (Bug#21158)
17964 2015-07-30 Stephen Leake <stephen_leake@stephe-leake.org>
17966 * lisp/vc/vc-mtn.el (vc-mtn-find-revision): Handle null rev.
17968 2015-07-29 Stephen Leake <stephen_leake@stephe-leake.org>
17970 Add docs for display-buffer action display-buffer-use-some-frame
17971 * lisp/window.el (display-buffer-use-some-frame): Improve doc string.
17972 * doc/lispref/windows.texi (Display Action Functions):
17973 Add display-buffer-use-some-frame.
17974 * etc/NEWS: Mention display-buffer-use-some-frame.
17976 Add display-buffer action display-buffer-use-some-frame
17977 * lisp/window.el (display-buffer-use-some-frame): New.
17979 Handle vc-mtn error more gently
17980 * lisp/vc/vc-mtn.el (vc-mtn-mode-line-string): Return "" when
17983 2015-07-29 Michael Albinus <michael.albinus@gmx.de>
17985 Fix Tramp problems with multihops, and nc
17986 * lisp/net/tramp-cache.el (tramp-get-file-property)
17987 (tramp-set-file-property, tramp-flush-file-property)
17988 (tramp-get-connection-property, tramp-set-connection-property)
17989 (tramp-flush-connection-property): Remove hop from vector.
17990 * lisp/net/tramp-gw.el (tramp-gw-process-filter): Ignore errors.
17991 * lisp/net/tramp-sh.el (tramp-methods) <nc>: Separate STDERR.
17992 (tramp-do-copy-or-rename-file-out-of-band): Increase timeout of
17994 (tramp-sh-handle-start-file-process): Do not show hops in prompt.
17995 * lisp/net/tramp.el (tramp-handle-file-name-as-directory)
17996 (tramp-handle-file-name-directory, tramp-handle-file-remote-p):
17997 Keep hop in result.
17998 * test/automated/tramp-tests.el (tramp-test02-file-name-dissect):
18001 2015-07-29 Eli Zaretskii <eliz@gnu.org>
18003 Resurrect highlighting of repeated words by Flyspell Mode
18004 * lisp/textmodes/flyspell.el (flyspell-word): Leave some non-word
18005 characters between point and the doublon candidate, so that
18006 flyspell-word-search-backward finds it. (Bug#21157)
18008 Fix redisplay of large images on expose events
18009 * src/xdisp.c (expose_window, expose_area): Avoid comparisons
18010 between signed negative values and unsigned values. This
18011 prevented redisplay on expose events when the window showed a very
18014 2015-07-29 Paul Eggert <eggert@cs.ucla.edu>
18016 Remove unnecessary stack overflow dependency
18017 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING):
18018 Don't worry about $ac_cv_header_sys_resource_h and
18019 $ac_cv_func_getrlimit, as they're no longer needed for this.
18020 Problem reported by Eli Zaretskii in:
18021 http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00443.html
18023 2015-07-28 Andy Moreton <andrewjmoreton@gmail.com> (tiny change)
18025 Pacify compilation -Wincompatible-pointer-types warnings
18026 * src/w32proc.c (Fw32_get_codepage_charset): Avoid compilation
18028 (CompareStringW_Proc): New typedef.
18029 (w32_compare_strings): Use it, to pacify compiler warnings under
18030 "-Wincompatible-pointer-types".
18031 * src/w32fns.c (GetDiskFreeSpaceExW_Proc)
18032 (GetDiskFreeSpaceExA_Proc): New typedefs.
18033 (Ffile_system_info): Use them, to pacify compiler warnings under
18034 "-Wincompatible-pointer-types".
18036 2015-07-28 Paul Eggert <eggert@cs.ucla.edu>
18038 Fix subscript error in calculate_direct_scrolling
18039 Use slightly-longer cost vectors. Without this change,
18040 calculate_direct_scrolling can have a subscript violation when
18041 FRAME_LINES (frame) <= delta.
18042 * src/scroll.c (calculate_scrolling, calculate_direct_scrolling)
18043 (line_ins_del, do_line_insertion_deletion_costs):
18044 Allocate and use slightly-larger cost vectors, ones based on
18045 FRAME_TOTAL_LINES instead of FRAME_LINES.
18047 Fix uninitalized value in encode_coding_object
18048 * src/coding.c (encode_coding_object): Also initialize
18049 coding->src_pos and coding->src_pos_byte when NILP (src_object).
18050 This avoids later use of uninitialized storage.
18052 2015-07-27 Xue Fuqiao <xfq.free@gmail.com>
18054 * doc/lispref/variables.texi (Variable Aliases): Typo fix.
18057 2015-07-27 Paul Eggert <eggert@cs.ucla.edu>
18061 2015-07-27 time_rz: port better to MinGW
18062 2015-07-27 time: port __need_time_t to MinGW
18063 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
18064 * lib/strftime.c, lib/time.in.h, lib/time_rz.c: Copy from gnulib.
18065 * lib/time-internal.h: New file, from gnulib.
18067 2015-07-27 Eli Zaretskii <eliz@gnu.org>
18069 Handle NULL pointers in w32heap.c allocation routines
18070 * src/w32heap.c (FREEABLE_P): Consider a NULL pointer "not
18072 (realloc_after_dump, realloc_before_dump, free_before_dump):
18073 Handle NULL pointers gracefully, as Emacs now seems to expect that.
18075 Fix Cairo build without PNG
18076 * src/image.c: Define PNG function when USE_CAIRO is defined, even
18077 if HAVE_PNG is not. (Bug#21133)
18079 MS-Windows follow-up for recent TZ-related changes
18080 * nt/mingw-cfg.site (ac_cv_header_pthread_h)
18081 (gl_cv_sys_struct_timespec_in_pthread_h): Force to "no", to avoid
18082 picking up 'struct timespec' from pthread.h, if it is installed on
18083 the user's system. We want either the definitions from MinGW
18084 system headers, if available, or the Gnulib replacements if not.
18085 * nt/inc/ms-w32.h <struct timespec>: Don't define, as we now use
18087 * lib/time.in.h: Don't let __need_* symbols affect what happens on
18088 MinGW. These symbols are defined by MinGW system headers, but we
18089 don't want that to affect whether Gnulib portions of the header
18090 are or aren't used.
18092 2015-07-26 Paul Eggert <eggert@cs.ucla.edu>
18094 * src/ftfont.c (ftfont_close): Add comment re Bug#20890.
18096 New optional ZONE arg for format-time-string etc.
18097 This simplifies time conversions in other time zones.
18098 It also prevents display-time-world tampering with TZ (Bug#21020).
18099 * admin/admin.el (add-release-logs):
18100 Use improved add-log-time-format API.
18101 * admin/merge-gnulib (GNULIB_MODULES): Add time_rz, timegm.
18102 (GNULIB_TOOL_FLAGS): Avoid flexmember, setenv, unsetenv.
18103 * configure.ac (tzalloc): Remove test for this, since
18104 Emacs no longer uses HAVE_TZALLOC directly.
18105 * doc/lispref/os.texi (Time of Day, Time Conversion)
18107 * etc/NEWS: Document the new behavior.
18108 Merge from gnulib, incorporating:
18109 2015-07-25 strftime: fix newly-introduced bug on Solaris
18110 2015-07-23 fprintftime, strftime: use timezone_t args
18111 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
18112 * lib/strftime.c, lib/strftime.h, lib/time.in.h, m4/sys_time_h.m4:
18114 Update from gnulib.
18115 * lib/time_rz.c, lib/timegm.c, m4/time_rz.m4, m4/timegm.m4:
18116 New files from gnulib.
18117 * lisp/time-stamp.el (time-stamp-string):
18118 * lisp/time.el (display-time-world-list)
18119 (display-time-world-display):
18120 Use new API, with time zone arg.
18121 * lisp/time.el (display-time-world-display):
18122 Fix race when current-time advances while we're running.
18123 * lisp/vc/add-log.el (add-log-iso8601-time-zone)
18124 (add-log-iso8601-time-string): Accept optional time zone arg.
18125 * lisp/vc/add-log.el (add-change-log-entry):
18126 * lisp/vc/log-edit.el (log-edit-changelog-ours-p): Use new arg.
18127 * nt/gnulib.mk: Propagate lib/gnulib.mk changes here.
18128 Add rules for the time module, since they're now needed
18130 * src/conf_post.h (getenv_TZ, setenv_TZ): New macros.
18131 (emacs_getenv_TZ, emacs_setenv_TZ): New decls.
18132 * src/editfns.c: Include errno.h.
18133 (set_time_zone_rule): Omit unnecessary forward decl.
18134 (initial_tz): Remove, replacing with ...
18135 (local_tz, wall_clock_tz, utc_tz): New static vars and constants.
18136 (tzeqlen): New constant; prefer it to (sizeof "TZ=" - 1).
18137 (emacs_localtime_rz, emacs_mktime_z, xtzalloc, xtzfree)
18138 (tzlookup): New static functions.
18139 (init_editfns): New arg DUMPING. All uses changed.
18140 (init_editfns): Omit most initialization if dumping, not if
18141 !initialized. Initialize wall_clock_tz and local_tz.
18142 (emacs_nmemftime, format_time_string): Time zone argument can now
18143 be any time zone, not just a boolean for UTC or local time. All
18145 (Fformat_time_string, Fencode_time, Fcurrent_time_string)
18146 (Fcurrent_time_zone): New optional arg ZONE.
18147 (Fdecode_time, Fset_time_zone_rule): ZONE arg can now also take
18148 the same form as with the other new additions.
18149 (decode_time_zone): Remove; no longer needed.
18150 (tzvalbuf): Now file-scope.
18151 (emacs_getenv_TZ, emacs_setenv_TZ): New functions.
18152 (syms_of_editfns): Define Qwall.
18153 * src/editfns.c (mktime_z) [!HAVE_TZALLOC]:
18154 * src/systime.h (mktime_z, timezone_t, tzalloc, tzfree)
18156 Remove; now supplied by gnulib.
18157 * src/emacs.c (main):
18158 * src/lisp.h (init_editfns): Adjust to init_editfns API change.
18160 2015-07-26 Shigeru Fukaya <shigeru.fukaya@gmail.com>
18162 Fix infinite loop in delete-consecutive-dups
18163 * lisp/subr.el (delete-consecutive-dups): Work even if the last
18164 element is nil (Bug#20588). Avoid rescan of a circular list in
18165 deletion of last element.
18167 2015-07-26 Martin Rudalics <rudalics@gmx.at>
18169 Have `x-frame-geometry' return nil for terminal and initial
18171 * src/nsfns.m (Fx_frame_geometry):
18172 * src/xfns.c (Fx_frame_geometry): Return nil for initial and
18174 * src/w32fns.c (Fw32_frame_menu_bar_size, Fw32_frame_rect)
18175 (Fx_frame_geometry): Return nil for terminal frames
18177 2015-07-26 HOSOYA Kei <hosoyakei.free@gmail.com> (tiny change)
18179 * etc/tutorials/TUTORIAL.ja: Improve translation.
18181 2015-07-25 Eli Zaretskii <eliz@gnu.org>
18183 Avoid crashes when w32 GUI functions are called in -batch
18184 * src/w32fns.c (Fx_frame_geometry, Fw32_frame_rect)
18185 (Fw32_frame_menu_bar_size, Fw32_send_sys_command): Don't call
18186 FRAME_W32_WINDOW for initial frame. (Bug#21132)
18188 Fix flyspell-check-previous-highlighted-word
18189 * lisp/textmodes/flyspell.el
18190 (flyspell-check-previous-highlighted-word): Really accept a
18191 numeric argument, as the doc string describes. Fix an off-by-one
18192 error in looking up overlays, so invocation with point immediately
18193 after a word would check that word. Clarify the doc string as
18194 Suggested by N. Jackson <nljlistbox2@gmail.com>. (Bug#21129)
18196 2015-07-24 Michael Albinus <michael.albinus@gmx.de>
18198 Minor cleanup in tramp-tests.el
18199 * test/automated/tramp-tests.el (tramp-test31-*, tramp-test32-*):
18200 Implement using the documented interface
18201 `tramp-connection-properties', rather than with internal functions.
18203 2015-07-24 Harald Hanche-Olsen <hanche@math.ntnu.no> (tiny change)
18205 Pass lambdas to `skeleton-read'
18206 * lisp/skeleton.el (skeleton-read): Allow PROMPT to be a function.
18207 * lisp/textmodes/sgml-mode.el (sgml-attributes, sgml-value): Pass
18208 lambdas to `skeleton-read' (bug#20386).
18210 2015-07-24 Eli Zaretskii <eliz@gnu.org>
18212 * INSTALL (DETAILED BUILDING AND INSTALLATION):
18213 Mention --without-imagemagick.
18215 Don't require GUI frames and mouse for Flyspell menus
18216 * lisp/textmodes/flyspell.el (flyspell-correct-word-before-point)
18217 (flyspell-emacs-popup): Require neither a GUI frame nor mouse
18218 support, since pop-up menus work with text terminals and can be
18219 controlled via the keyboard.
18221 Improve documentation of Flyspell commands
18222 * doc/emacs/fixit.texi (Spelling): Mention Flyspell commands that
18223 can be invoked via the keyboard. Mention those commands by name
18224 and add them to the fn index. (Bug#21125)
18226 2015-07-23 Michael Albinus <michael.albinus@gmx.de>
18228 Fix some Tramp problems with HP-UX
18229 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
18230 Add "tab0" to stty call.
18231 * test/automated/tramp-tests.el (tramp-persistency-file-name):
18233 (tramp--test-hpux-p): New defun.
18234 (tramp--test-utf8): Use it.
18236 2015-07-22 Glenn Morris <rgm@gnu.org>
18238 * build-aux/update-subdirs: Put "no-update-autoloads: t" in output.
18240 2015-07-22 Eli Zaretskii <eliz@gnu.org>
18242 Fix point positioning in ffap-next-guess
18243 * lisp/ffap.el (ffap-url-at-point): Set ffap-string-at-point-region,
18244 as our callers expect. This was clobbered as part of fixing
18245 bug#5673. (Bug#21107)
18246 (ffap-gopher-at-point): Set ffap-string-at-point-region.
18248 2015-07-22 Martin Rudalics <rudalics@gmx.at>
18250 * lisp/window.el (even-window-sizes): Fix customization type.
18252 Optionally even widths of `display-buffer' windows. (Bug#21100)
18253 * lisp/window.el (quit-restore-window): Restore width if
18255 (display-buffer-record-window): Record width when window is
18256 reused and horizontally combined.
18257 (even-window-sizes): New option to allow evening window widths.
18258 (even-window-heights): Defalias to `even-window-sizes'.
18259 (window--even-window-heights): Rename to
18260 `window--even-window-sizes'. Handle side-by-side windows.
18261 (display-buffer-use-some-window): Call `window--even-window-sizes'
18262 instead of `window--even-window-heights'.
18263 * lisp/help.el (resize-temp-buffer-window): Fix indentation.
18264 * doc/lispref/windows.texi (Choosing Window Options): Describe
18265 `even-window-sizes'.
18266 (Coordinates and Windows): Fix typo.
18268 2015-07-22 Stephen Leake <stephen_leake@stephe-leake.org>
18270 Add file name to autoload error messages
18271 * lisp/emacs-lisp/autoload.el (autoload-save-buffers):
18272 Add condition-case to add file name to error message.
18274 2015-07-22 Michael Albinus <michael.albinus@gmx.de>
18276 * lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options):
18277 Use 0.0.0.1 as test host.
18279 2015-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
18281 (advice--called-interactively-skip): Fix inf-loop (bug#21083)
18282 * lisp/emacs-lisp/nadvice.el (advice--called-interactively-skip):
18283 Fix inf-loop (bug#21083).
18285 2015-07-21 Glenn Morris <rgm@gnu.org>
18287 * test/automated/package-test.el (package-test-signed):
18288 Update for recent changes.
18290 * test/automated/elisp-mode-tests.el
18291 (elisp-xref-finds-both-function-and-variable)
18292 (elisp-xref-finds-only-function-for-minor-mode):
18293 Update for recent xref name changes.
18295 2015-07-21 Dmitry Gutov <dgutov@yandex.ru>
18297 Make eldoc timer non-repeatable
18298 * lisp/emacs-lisp/eldoc.el (eldoc-schedule-timer): Make the timer
18299 non-repeatable. Since it's on post-command hook, that just wasted
18302 2015-07-21 Michael Albinus <michael.albinus@gmx.de>
18304 Mention `tramp-connection-properties' in NEWS
18306 Sync with Tramp repository
18307 * doc/misc/tramp.texi (Configuration): Note, that Tramp must be
18308 required prior changing its configuration.
18309 (Connection caching, Predefined connection information)
18310 (Remote shell setup): Fix typos.
18311 (Predefined connection information): Describe, how to overwrite
18312 parameters of `tramp-methods'.
18313 (Remote programs, Remote processes, Traces and Profiles):
18315 (Remote programs): Remove superfluous comment.
18316 * doc/misc/trampver.texi: Update release number.
18317 * lisp/net/tramp-cache.el (tramp-connection-properties):
18319 * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file): New defun.
18320 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file): Use it.
18321 (tramp-gvfs-handle-make-directory): Reimplement PARENTS handling,
18322 "gvfs-mkdir -p ..." does not work robust.
18323 (tramp-gvfs-maybe-open-connection):
18324 Adapt `tramp-get-method-parameter' call.
18325 * lisp/net/tramp-sh.el (tramp-methods):
18326 Add `tramp-remote-shell-login' parameter where it fits.
18327 (tramp-get-remote-path): Use it.
18328 (tramp-make-copy-program-file-name): Fix quoting for "psftp" method.
18329 (all): Adapt `tramp-get-method-parameter' calls.
18330 * lisp/net/tramp.el (tramp-methods): Adapt docstring.
18331 (tramp-get-method-parameter): Replace argument METHOD by VEC.
18332 Check also for hits in `tramp-connection-properties'. Adapt docstring.
18333 (tramp-get-remote-tmpdir): Cache only the local name of tmpdir.
18334 (all): Adapt `tramp-get-method-parameter' calls.
18335 * lisp/net/trampver.el: Update release number.
18336 * test/automated/tramp-tests.el (tramp--instrument-test-case):
18337 Add "^make-symbolic-link not supported$" to `debug-ignored-errors'.
18338 (tramp-test13-make-directory, tramp--test-adb-p)
18339 (tramp--test-smb-or-windows-nt-p): Simplify.
18340 (tramp--test-ftp-p, tramp--test-gvfs-p): New defuns.
18341 (tramp--test-special-characters): Fix docstring. Add gvfs and
18343 (tramp--test-utf8): Fix docstring.
18345 2015-07-20 Dmitry Gutov <dgutov@yandex.ru>
18347 Add new xref-query-replace command
18348 * lisp/progmodes/xref.el (xref--match-buffer-bounds):
18349 New function, extracted from xref-pulse-momentarily.
18350 (xref-query-replace): New command.
18351 (xref--query-replace-1): New helper function.
18352 (xref--xref-buffer-mode-map): Add `r' binding.
18354 2015-07-20 Paul Eggert <eggert@cs.ucla.edu>
18356 Simplify icalendar decoding of Z dates
18357 * lisp/calendar/icalendar.el (icalendar--decode-isodatetime):
18358 Simplify calculation of time strings with trailing "Z".
18360 2015-07-19 Dmitry Gutov <dgutov@yandex.ru>
18362 Do not corrupt grep-find-ignored-files
18363 * lisp/progmodes/project.el (project-ignores): Change the order of
18364 the arguments to nconc, in order not to corrupt grep-find-ignored-files.
18366 Add xref-match-item, and use it
18367 * lisp/progmodes/xref.el (xref-match-bounds): New generic function.
18368 (xref-file-location): Add reader for the column slot.
18369 (xref-match-item): New class.
18370 (xref-match-bounds): A method implementation for it.
18371 (xref-make-match): New constructor function.
18372 (xref--current-item): New private variable.
18373 (xref-pulse-momentarily): Use it.
18374 (xref--pop-to-location): Change the first argument to an xref
18375 item, instead of location, bind xref--current-item.
18376 Update all callers.
18377 (xref-next-line, xref-prev-line, xref--next-error-function)
18378 (xref--mouse-2): Look for the property `xref-item',
18379 instead of `xref-location'.
18380 (xref--item-at-point): Likewise. This function replaces
18381 `xref-location-at-point'. Update all callers.
18382 (xref--insert-xrefs): Add the `xref-item' text property, instead
18383 of `xref-location'.
18384 (xref--collect-match): Use xref-make-match.
18386 * lisp/progmodes/xref.el (xref-item): Rename from `xref--xref'.
18387 Update all references.
18389 * lisp/progmodes/xref.el (xref--xref): Rename the `description'
18392 vc-hg: Perform the print-log call asynchronously
18393 * lisp/vc/vc-hg.el (vc-hg-print-log): Perform the call
18394 asynchronously (bug#21067).
18396 Add xref-after-jump-hook and xref-after-return-hook
18397 * lisp/progmodes/xref.el (xref-after-jump-hook)
18398 (xref-after-return-hook): New hooks.
18399 (xref-pulse-on-jump): Remove, in favor of the above.
18400 (xref-pulse-momentarily): Rename from xref--maybe-pulse.
18401 (xref--pop-to-location, xref--display-position)
18402 (xref-pop-marker-stack): Use the new hooks, as requested in
18403 http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00213.html
18405 2015-07-19 Bozhidar Batsov <bozhidar@batsov.com>
18407 * lisp/progmodes/js.el (js-mode): Correct the lighter.
18409 2015-07-19 Leo Liu <sdl.web@gmail.com>
18411 Fix a bug in cfengine3-mode
18412 * lisp/progmodes/cfengine.el (cfengine3-mode): Handle nil
18413 eldoc-documentation-function.
18415 2015-07-18 Julien Danjou <julien@danjou.info>
18417 sieve-mode: support "body" test command
18418 * lisp/gnus/sieve-mode.el (sieve-font-lock-keywords):
18419 Add missing "body" test command.
18421 2015-07-18 Eli Zaretskii <eliz@gnu.org>
18423 Fix info-apropos when the default encoding is Latin-N
18424 * lisp/info.el (Info-find-node-2): Reset the buffer's encoding to
18425 'undecided', so that it is set to the encoding of the Info file we
18426 are about to insert. Otherwise, 'info-apropos' will fail to find
18427 some index nodes in some UTF-8 encoded files, if the buffer's
18428 previous encoding is Latin-N or some such.
18430 2015-07-18 Ivan Andrus <darthandrus@gmail.com>
18432 * lisp/epg.el (epg--start): Check that gpgconf can be found
18435 Expose more file types to OS X that Emacs understands
18436 * nextstep/Cocoa/Emacs.base/Contents/Info.plist: Add editor role for
18437 sty, dtx, json, and org files. Export UTIs for el, elc, and org files.
18439 2015-07-18 Eli Zaretskii <eliz@gnu.org>
18441 Fix visual-order cursor movement when lines are truncated
18442 * src/xdisp.c (Fmove_point_visually): When lines are truncated,
18443 simulate display in a window of infinite width, to allow move_it_*
18444 functions reach positions outside of normal window dimensions.
18445 Remove code that tried to handle a subset of these situations by
18446 manual iteration of buffer text. (Bug#17777)
18448 Fix following Info cross-references to anchors
18449 * lisp/info.el (Info-read-subfile): Add to the returned value the
18450 length of subfile preamble, after converting it to file's byte
18451 offset, as expected by the caller. Use bufferpos-to-filepos.
18452 (Info-find-node-2): If searching for a node with a
18453 1000-character slop fails, try again with a 10000-character slop,
18454 to account for known bugs in Texinfo 5.0 and 5.1. (Bug#21055)
18455 * lisp/international/mule-util.el (bufferpos-to-filepos): New
18457 * etc/NEWS: Mention bufferpos-to-filepos.
18459 Fix scrolling backwards on TTY frames under scroll-conservatively
18460 * src/xdisp.c (move_it_vertically_backward): Fix off-by-one error
18461 in moving backwards on TTY frames. (Bug#21080)
18463 2015-07-17 Dmitry Gutov <dgutov@yandex.ru>
18465 Consider a jsdoc tag to be a beginning of a paragraph as well
18466 * lisp/progmodes/js.el (js-mode): Change c-paragraph-start to
18467 consider a jsdoc tag to be a beginning of a paragraph as well.
18469 2015-07-17 Artur Malabarba <bruce.connor.am@gmail.com>
18471 * lisp/emacs-lisp/package.el: Fix warnings.
18473 * lisp/emacs-lisp/package.el (package-buffer-info):
18474 Add author and maintainers to `package-buffer-info'.
18476 * lisp/emacs-lisp/package.el: Many small changes.
18477 Replace all instances of 'face with 'font-lock-face.
18478 (describe-package-1): Improve some strings and move the summary
18480 (package-install-file): Update docstring.
18481 (package-menu-hide-package): Bind to `H'.
18483 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
18484 Fix error handling.
18486 2015-07-17 Paul Eggert <eggert@cs.ucla.edu>
18488 Fix hang with large yanks This should fix the bug fixed by Mike
18490 https://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00106.html
18491 A problem in this area has been reported by several users; see
18492 Bug#16737, Bug#17101, Bug#17026, Bug#17172, Bug#19320, Bug#20283.
18493 This fix differs from Mike Crowe's patch in that it should avoid a
18494 race condition that could lose SIGIO signals. ignore_sigio dates
18495 back to the 1980s when some platforms couldn't block signals, and
18496 could only ignore them, which led to races when signals arrived
18497 while being ignored. We shouldn't have to worry about those old
18499 * src/dispextern.h, src/sysdep.c (ignore_sigio): Remove.
18500 * src/emacs.c (shut_down_emacs):
18501 Don't call ignore_sigio; unrequest_sigio should suffice.
18502 * src/keyboard.c (kbd_buffer_store_buffered_event):
18503 Use unrequest_sigio, not ignore_sigio.
18504 (kbd_buffer_get_event):
18505 Call request_sigio when getting the ball rolling again.
18507 2015-07-17 Artur Malabarba <bruce.connor.am@gmail.com>
18509 * lisp/obsolete/longlines.el (longlines-search-function):
18510 Fallback on `isearch-search-fun-default'.
18512 2015-07-17 Tassilo Horn <tsdh@gnu.org>
18515 * lisp/net/rcirc.el (rcirc-completion-at-point): Support completion
18516 of mentions/messages with @nick instead of just nick.
18518 2015-07-16 Michael Albinus <michael.albinus@gmx.de>
18521 * lisp/autorevert.el (auto-revert-handler): Do not check for
18522 `buffer-modified-p'.
18523 * lisp/files.el (buffer-stale--default-function): Check for
18524 `buffer-modified-p'.
18525 * test/automated/auto-revert-tests.el
18526 (auto-revert-test02-auto-revert-mode-dired): Adapt test.
18528 2015-07-16 Ari Roponen <ari.roponen@gmail.com>
18530 Fix delete-dups bug on long lists
18531 * lisp/subr.el (delete-dups):
18532 Don't mistakenly keep some dups when applied to long lists.
18534 2015-07-16 Paul Eggert <eggert@cs.ucla.edu>
18536 Better heuristic for C stack overflow
18537 Improve the heuristic for distinguishing stack overflows from
18538 other SIGSEGV causes (Bug#21004). Corinna Vinschen explained that
18539 the getrlimit method wasn't portable to Cygwin; see:
18540 https://www.cygwin.com/ml/cygwin/2015-07/msg00092.html
18541 Corinna suggested pthread_getattr_np but this also has problems.
18542 Instead, replace the low-level system stuff with a simple
18543 heuristic based on known good stack addresses.
18544 * src/eval.c, src/lisp.h (near_C_stack_top): New function.
18545 * src/sysdep.c: Don't include <sys/resource.h>.
18546 (stack_direction): Remove. All uses removed.
18547 (stack_overflow): New function.
18548 (handle_sigsegv): Use it instead of incorrect getrlimit heuristic.
18549 Make SEGV fatal in non-main threads.
18551 2015-07-16 Daiki Ueno <ueno@gnu.org>
18553 epg: Automatically start pinentry server
18554 * lisp/epg-config.el (epg-gpgconf-program): New variable.
18555 * lisp/epg.el (epg--start): Call `pinentry-start' if
18556 allow-emacs-pinentry is set in ~/.gnupg/gpg-agent.conf.
18558 2015-07-15 Katsumi Yamaoka <yamaoka@jpl.org>
18560 * lisp/gnus/nnimap.el: Fix my last bogus change.
18561 Reinstall Stefan Monnier's change that was made in
18562 <83d824bc4041332f338ad7e5e830f443535aa300>.
18564 2015-07-15 Paul Eggert <eggert@cs.ucla.edu>
18568 2015-07-05 acl-permissions: Document FreeBSD ACL_TYPE_NFS4 acls
18569 2015-07-05 acl-permissions: Fix on FreeBSD
18570 2015-07-05 file-has-acl, acl-permissions: fix some more HP-UX typos
18571 * lib/acl-internal.c, lib/acl-internal.h, lib/get-permissions.c:
18572 * lib/set-permissions.c: Copy from gnulib.
18574 Port to stricter C99
18575 * src/keyboard.h (kbd_buffer_store_event_hold):
18576 Don't return a void expression.
18578 2015-07-15 Xue Fuqiao <xfq.free@gmail.com>
18580 * doc/emacs/frames.texi (Creating Frames):
18581 Fix the command `C-x 5 m' runs.
18583 2015-07-14 Michael Albinus <michael.albinus@gmx.de>
18585 New autorevert tests
18586 * test/automated/auto-revert-tests.el: New file.
18588 2015-07-14 Paul Eggert <eggert@cs.ucla.edu>
18590 Clear gcprolist etc. after stack overflow
18591 After stack overflow, command_loop calls init_eval, and this needs to
18592 clear gcprolist and byte_stack_list (Bug#20996).
18593 * src/alloc.c (init_alloc):
18594 Move gcprolist and byte_stack_list initialization from here ...
18595 * src/eval.c (init_eval): ... to here.
18597 2015-07-13 Xue Fuqiao <xfq.free@gmail.com>
18599 * doc/emacs/windows.texi (Pop Up Window): Fix the description
18602 2015-07-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
18604 Avoid deprecated enums in mac-ct font backend driver
18605 * src/macfont.m (mac_font_copy_default_descriptors_for_language)
18606 (mac_ctfont_get_advance_width_for_glyph)
18607 (mac_ctfont_get_bounding_rect_for_glyph): Avoid deprecated enums.
18609 Cache font family in mac-ct font backend driver
18610 * src/macfont.m (macfont_family_cache): New variable.
18611 (syms_of_macfont): Initialize it.
18612 (macfont_available_families_cache): New variable.
18613 (macfont_invalidate_family_cache, macfont_get_family_cache_if_present)
18614 (macfont_set_family_cache, macfont_invalidate_available_families_cache)
18615 (macfont_handle_font_change_notification)
18616 (macfont_init_font_change_handler)
18617 (macfont_copy_available_families_cache): New functions.
18618 (macfont_create_family_with_symbol): Use font family caches.
18619 (macfont_list, macfont_list_family):
18620 Use macfont_copy_available_families_cache instead of
18621 mac_font_create_available_families.
18623 2015-07-12 Dmitry Gutov <dgutov@yandex.ru>
18625 Show the default value in the prompt
18626 * lisp/progmodes/xref.el: Add `M-?' binding for
18627 xref-find-references. Declare functions `grep-read-files' and
18628 `grep-expand-template'.
18629 (xref--read-identifier): Show the default value in the prompt.
18631 * lisp/progmodes/xref.el (xref-find-regexp): When called with
18632 prefix argument, ask for file patterns to search as well. When
18633 prompting for the directory, require an existing one.
18634 (xref-collect-matches): Add a new argument, FILES. Use it in the
18637 Add `project-ignores'
18638 * lisp/progmodes/project.el (project-ignores): New generic
18639 function, and an implementation for the VC project type.
18640 * lisp/progmodes/xref.el (xref--rgrep-command): Split, as a
18641 variant of rgrep-default-command that handles a generic list of
18643 (xref-collect-matches): Use it, and pass through to it the value
18644 of the newly added argument.
18645 (xref-find-regexp): Handle ignored paths within the project.
18646 Remove outdated comment.
18647 * lisp/vc/vc.el (vc-default-ignore-completion-table):
18648 Skip the comments and the empty lines.
18650 2015-07-12 Xue Fuqiao <xfq.free@gmail.com>
18652 * doc/emacs/buffers.texi (Misc Buffer): Add a cross reference.
18654 2015-07-11 Eric Abrahamsen <eric@ericabrahamsen.net>
18656 gnus-registry.el: Correct function argument order
18657 * lisp/gnus/gnus-registry.el (gnus-registry--set/remove-mark):
18658 Reverse the order of function arguments.
18660 2015-07-11 Dmitry Gutov <dgutov@yandex.ru>
18662 Bind grep-highlight-matches to nil
18663 * lisp/progmodes/xref.el (xref-collect-matches):
18664 Bind grep-highlight-matches to nil (bug#20728).
18666 2015-07-11 Nikolaus Rath <Nikolaus@rath.org>
18668 nnimap.el: Fix IMAP message size parsing
18669 * lisp/gnus/nnimap.el (nnimap-transform-headers):
18670 Don't assume that UID comes before RFC822.SIZE.
18672 2015-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
18674 * lisp/gnus/nnimap.el: Clean up "unused var" warnings
18675 (auth-source-creation-prompts): Declare.
18676 (nnimap-retrieve-headers, nnimap-status-message)
18677 (nnimap-request-create-group, nnimap-request-delete-group)
18678 (nnimap-close-group, nnimap-request-move-article)
18679 (nnimap-request-accept-article, nnimap-request-newgroups)
18680 (nnimap-request-post, nnimap-dummy-active-number)
18681 (nnimap-save-mail-spec, nnimap-get-groups): Add _ to unused vars.
18682 (nnimap-parse-flags): Remove unused var `p'.
18683 (nnimap-retrieve-group-data-early): Remove unused var `groups'.
18684 (nnimap-flags-to-marks): Remove unused var `totalp'.
18686 2015-07-10 Andy Moreton <andrewjmoreton@gmail.com> (tiny change)
18688 * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 20MB.
18690 2015-07-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
18692 * src/macfont.m (macfont_list): Ignore font families lacking
18695 2015-07-09 Dmitry Gutov <dgutov@yandex.ru>
18697 Don't check the exit status, it can be misleading
18698 * lisp/progmodes/xref.el (xref-collect-matches): Don't check the
18699 exit status, it can be misleading.
18701 Introduce a Project API
18702 * lisp/progmodes/project.el: New file.
18703 * lisp/cedet/ede.el (project-try-ede): New function.
18704 (project-root): New implementation.
18705 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
18706 Set project-search-path-function.
18707 (elisp--xref-find-references): Delegate some logic to
18708 project-search-path.
18709 (elisp-search-path): New function.
18710 (elisp-xref-find): Don't implement `matches' anymore.
18711 * lisp/progmodes/etags.el: Don't implement `matches'.
18712 Delegate some logic to project-search-path.
18713 (etags-search-path): New function.
18714 * lisp/progmodes/xref.el (xref-find-function):
18715 Remove `matches' from the API.
18716 (xref-find-regexp): Move whatever common logic was in elisp and
18717 etags implementations, and search the directories returned by
18718 project-directories and project-search-path.
18720 2015-07-09 Nicolas Petton <nicolas@petton.fr>
18722 * test/automated/map-tests.el (test-map-delete-return-value):
18725 Add support for gv.el in map.el
18726 * lisp/emacs-lisp/map.el (map-elt, map-delete): Declare a gv-expander.
18727 * lisp/emacs-lisp/map.el (map-put): Refactor using `setf' and `map-elt'.
18728 * test/automated/map-tests.el: Update tests to work with the new
18729 implementations of map-elt and map-put.
18731 2015-07-09 Glenn Morris <rgm@gnu.org>
18733 * lisp/emacs-lisp/debug.el (debug-help-follow): Use describe-symbol.
18735 2015-07-09 Dmitry Gutov <dgutov@yandex.ru>
18737 Syntax-propertize until the end of the line first
18738 * lisp/progmodes/xref.el (xref--collect-match): Syntax-propertize
18739 until the end of the line first.
18741 2015-07-09 Xue Fuqiao <xfq.free@gmail.com>
18743 * doc/emacs/files.texi (File Archives): Add a cross reference.
18745 2015-07-08 Nikolaus Rath <Nikolaus@rath.org>
18747 nnimap.el: Handle plain value for nnimap-stream
18748 * lisp/gnus/nnimap.el (nnimap-open-connection-1): Always query
18749 capabilities, so that a 'plain value for the `nnimap-stream' server
18750 variable is handled correctly.
18751 * doc/misc/gnus.texi (Customizing the IMAP Connection):
18752 Document the 'plain option.
18754 2015-07-08 Leo Liu <sdl.web@gmail.com>
18756 Fix bug in thing-at-point--bounds-of-well-formed-url
18757 * lisp/thingatpt.el (thing-at-point--bounds-of-well-formed-url): Make
18758 sure boundary contains current point.
18760 2015-07-08 Dmitry Gutov <dgutov@yandex.ru>
18762 * lisp/progmodes/xref.el (xref-collect-matches): Use `nreverse'
18765 Declare whitespace-line-column a safe file-local
18766 * lisp/whitespace.el (whitespace-line-column): Declare to be a
18767 safe file-local when the value is an integer.
18769 2015-07-08 Eric Abrahamsen <eric@ericabrahamsen.net>
18771 gnus-group.el: Check if group names are already strings
18772 * lisp/gnus/gnus-group.el (gnus-group-group-name):
18773 The group name may already be a string.
18774 Specifically, in the group list reached from the *Server* buffer,
18775 the 'gnus-group text property returns a string. Everywhere else
18776 it returns a symbol.
18778 nnimap.el: Remove unused let variables
18779 * lisp/gnus/nnimap.el (nnimap-request-group): Variables are not used.
18781 2015-07-08 Eli Zaretskii <eliz@gnu.org>
18783 Support "maximized" property of runemacs's shortcut
18784 * nt/runemacs.c (WinMain): If runemacs is invoked "maximized", pass
18785 the '--maximized' switch to Emacs.
18787 Support "minimized" property of runemacs's shortcut
18788 * nt/runemacs.c (WinMain): If runemacs is invoked "minimized",
18789 pass the '--iconic' switch to Emacs. (Bug#20991)
18791 2015-07-08 Xue Fuqiao <xfq.free@gmail.com>
18794 * doc/emacs/files.texi (Diff Mode): Fix the description of `C-c
18796 * doc/emacs/arevert-xtra.texi (Auto Reverting the Buffer Menu):
18797 Add a cross reference.
18799 2015-07-08 Nicolas Richard <youngfrog@members.fsf.org>
18801 * lisp/obsolete/landmark.el: Add Obsolete-since header.
18803 2015-07-07 Glenn Morris <rgm@gnu.org>
18805 * test/automated/ert-tests.el (ert-test-deftest):
18806 Update for recent changes.
18808 2015-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
18810 (gv-setter, gv-synthetic-place, gv-delay-error): New funs/macros
18811 * lisp/emacs-lisp/gv.el (gv-setter): New function.
18812 (gv-invalid-place): New error.
18813 (gv-get): Use them.
18814 (gv-synthetic-place, gv-delay-error): New places.
18815 * lisp/emacs-lisp/cl-generic.el (cl--generic-setf-rewrite): Remove.
18816 (cl-defgeneric, cl-defmethod): Use gv-setter.
18818 2015-07-07 Fabrice Popineau <fabrice.popineau@gmail.com>
18820 Make vc-tests work with MSYS svn program
18821 * lisp/vc/vc-svn.el (vc-svn-create-repo): Fix the file:// URL when
18822 svn is an MSYS program.
18824 2015-07-07 Ken Brown <kbrown@cornell.edu>
18826 Improve recent change to emacsclient on Cygwin
18827 * lisp/server.el (server-process-filter): Remove redundant check
18828 that 'cygwin-convert-file-name-from-windows' is defined as a
18829 function on Cygwin. Don't call that function unless its argument
18830 starts with a drive letter.
18832 2015-07-07 Artur Malabarba <bruce.connor.am@gmail.com>
18834 * lisp/emacs-lisp/package.el (package-compute-transaction):
18835 Fix void variable due to `found-something' being in the wrong `let'.
18837 2015-07-07 Nicolas Richard <theonewiththeevillook@yahoo.fr>
18839 * lisp/play/landmark.el: Move to lisp/obsolete/.
18841 2015-07-07 Martin Rudalics <rudalics@gmx.at>
18843 Have `x-show-tip' handle `right' and `bottom' frame parameters
18844 * src/nsfns.m (compute_tip_xy, Fx_show_tip)
18845 * src/w32fns.c (compute_tip_xy, Fx_show_tip)
18846 * src/xfns.c (compute_tip_xy, Fx_show_tip): Allow aligning
18847 tooltips also via `right' and `bottom' frame parameters.
18849 2015-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
18851 Add online-help support to describe types
18852 * lisp/help-fns.el (describe-symbol-backends): Move to help-mode.el.
18853 (describe-symbol): Improve the selection of default.
18854 * lisp/help-mode.el: Require cl-lib.
18855 (describe-symbol-backends): Move from help-fns.el.
18856 (help-make-xrefs): Use it.
18857 * lisp/emacs-lisp/cl-extra.el (describe-symbol-backends): Add entry
18859 (cl--typedef-regexp): New const.
18860 (find-function-regexp-alist): Add entry for types.
18861 (cl-help-type, cl-type-definition): New buttons.
18862 (cl-find-class): New function.
18863 (cl-describe-type): New command.
18864 (cl--describe-class, cl--describe-class-slot)
18865 (cl--describe-class-slots): New functions, moved from eieio-opt.el.
18866 * lisp/emacs-lisp/cl-generic.el (cl--generic-method-documentation)
18867 (cl--generic-all-functions, cl--generic-specializers-apply-to-type-p):
18868 New functions. Moved from eieio-opt.el.
18869 (cl--generic-class-parents): New function, extracted from
18870 cl--generic-struct-specializers.
18871 (cl--generic-struct-specializers): Use it.
18872 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Use pcase-dolist.
18873 Improve constructor's docstrings.
18874 (cl-struct-unknown-slot): New error.
18875 (cl-struct-slot-offset): Use it.
18876 * lisp/emacs-lisp/cl-preloaded.el (cl-struct-define): Record the type
18877 definition in current-load-list.
18878 * lisp/emacs-lisp/eieio-core.el (eieio--known-slot-names): New var.
18879 (eieio--add-new-slot): Set it.
18880 (eieio-defclass-internal): Use new name for current-load-list.
18881 (eieio-oref): Add compiler-macro to warn about unknown slots.
18882 * lisp/emacs-lisp/eieio.el (defclass): Update eieio--known-slot-names
18883 as compile-time as well. Improve constructor docstrings.
18884 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
18885 (eieio--help-print-slot, eieio-help-class-slots): Move to cl-extra.el.
18886 (eieio-class-def): Remove button.
18887 (eieio-help-constructor): Use new name for load-history element.
18888 (eieio--specializers-apply-to-class-p, eieio-all-generic-functions)
18889 (eieio-method-documentation): Move to cl-generic.el.
18890 (eieio-display-method-list): Use new names.
18891 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
18892 Add "define-linline".
18893 (lisp-fdefs): Remove "defsubst".
18894 (el-fdefs): Add "defsubst", "cl-defsubst", and "define-linline".
18895 * lisp/emacs-lisp/macroexp.el (macroexp--warned): New var.
18896 (macroexp--warn-and-return): Use it to avoid inf-loops.
18897 Add `compile-only' argument.
18899 2015-07-06 Fabián Ezequiel Gallina <fgallina@gnu.org>
18901 python.el: Fix local/remote shell environment setup
18902 * lisp/progmodes/python.el (python-shell-with-environment):
18903 Fix remote/local environment setup.
18904 * test/automated/python-tests.el (python-shell-with-environment-1)
18905 (python-shell-with-environment-2): New tests.
18907 2015-07-06 Glenn Morris <rgm@gnu.org>
18909 * lisp/simple.el (set-variable): Tweak recent doc fix.
18911 2015-07-06 Ken Brown <kbrown@cornell.edu>
18913 * src/sysdep.c (handle_sigsegv) [CYGWIN]: Increase STACK_DANGER_ZONE.
18915 2015-07-06 Glenn Morris <rgm@gnu.org>
18917 * lisp/simple.el (set-variable): Use user-error for type mismatch.
18919 2015-07-06 Ken Brown <kbrown@cornell.edu>
18921 * src/emacs.c (main): Don't increase the stack size on Cygwin.
18923 2015-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
18925 (describe-symbol): Rewrite describe-function-or-variable
18926 * lisp/help-fns.el (describe-symbol-backends): New var.
18927 (help-xref-stack-item): Declare.
18928 (describe-symbol): Rename from describe-function-or-variable.
18929 Rewrite using describe-symbol-backends instead of help-xref-interned.
18930 * lisp/help.el (help-map): Use it.
18931 * lisp/help-mode.el (help-symbol, help-follow-symbol): Use it.
18932 (help-xref-interned): Make it into an obsolete alias.
18934 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-save): Don't ignore
18935 `file' arg (bug#20972). Always use utf-8-emacs. Use with-temp-buffer
18938 2015-07-06 Wolfgang Jenkner <wjenkner@inode.at>
18940 Fix parsing glitches in dired-mark-sexp (bug#13575)
18941 * lisp/dired-x.el (dired-x--string-to-number): New function.
18942 (dired-mark-sexp): Use it. Tweak dired-re-inode-size. Fix usage
18943 of directory-listing-before-filename-regexp. Consider
18944 forward-word harmful and replace it. Add more verbiage in
18945 comments and doc string.
18947 2015-07-06 Fabián Ezequiel Gallina <fgallina@gnu.org>
18949 python.el: Respect process environment for remote shells
18950 * lisp/progmodes/python.el
18951 (python-shell-calculate-process-environment): Calculate
18952 process-environment or tramp-remote-process-environment depending
18953 whether current file is remote.
18954 (python-shell-calculate-exec-path): Calculate exec-path or
18955 tramp-remote-path depending whether current file is remote.
18956 (python-shell-with-environment): New macro.
18957 (python-shell-prompt-detect, python-shell-calculate-command)
18958 (python-shell-make-comint, python-check): Use it.
18960 python.el: Avoid making let-bound defvars buffer local (Bug#18244)
18961 * lisp/progmodes/python.el (python-shell--interpreter)
18962 (python-shell--interpreter-args): New vars.
18963 (inferior-python-mode, python-shell-make-comint): Use them.
18965 python.el: Fixes for IPython 3.x (Bug#20580)
18966 * lisp/progmodes/python.el:
18967 (python-shell-completion-native-setup): Fix IPython 3.x setup.
18968 (python-shell-completion-native-get-completions): Fix timeout
18971 python.el: Fix mark-defun behavior (Bug#19665)
18972 * lisp/progmodes/python.el (python-mark-defun): New function.
18973 * test/automated/python-tests.el (python-mark-defun-1)
18974 (python-mark-defun-2, python-mark-defun-3): New tests.
18976 2015-07-05 Glenn Morris <rgm@gnu.org>
18978 * lisp/progmodes/f90.el (f90-type-def-re): Handle attribute lists
18979 such as "extends(parent), private". (Bug#20969)
18980 * test/automated/f90.el (f90-test-bug20969, f90-test-bug20969b):
18983 2015-07-05 Paul Eggert <eggert@cs.ucla.edu>
18985 Avoid duplicate calls to current_timespec
18986 * src/process.c (wait_reading_process_output):
18987 Cache current_timespec results as long as we're not waiting.
18989 2015-07-05 Ian Kelling <ian@iankelling.org>
18991 Avoid returning early reading process output due to SIGIO
18992 * src/process.c (wait_reading_process_output): Extend the behavior of
18993 not breaking due to not finding output when a timer has lowered the
18994 timeout to include when SIGIO lowers the timeout.
18996 Don't return as fast reading any process output
18997 * src/process.c (wait_reading_process_output):
18998 The patch for Bug#17647 returns too fast sometimes when reading
18999 from any processes. Revert part of it, and limit the timeout more
19000 sensibly (Bug#20978).
19002 Refactor timeouts in wait_reading_process_output
19003 * src/process.c (wait_reading_process_output):
19004 Simplify timeouts with an enum. Remove a redundant condition.
19007 Remove ADAPTIVE_READ_BUFFERING ifdef
19008 * src/process.c (make-process, make-pipe-process, deactivate_process)
19009 (wait_reading_process_output, read_process_output, send_process)
19010 (init_process_emacs): ifdef ADAPTIVE_READ_BUFFERING was originally
19011 added in case there was an operating system in which it was not
19012 useful. That was 11 years ago and it hasn't happened. Make
19013 development easier by not considering the effect of changes on a
19014 theoretical OS where this is disabled (Bug#20978).
19016 2015-07-05 Glenn Morris <rgm@gnu.org>
19018 * lisp/simple.el (set-variable): Doc fix.
19020 * lisp/progmodes/fortran.el (fortran-line-length): Doc fix.
19022 2015-07-05 Ian Kelling <ian@iankelling.org>
19024 accept-process-output fix
19025 This is a followon to the fix for bug#17647 (Bug#20976).
19026 * src/process.c (status_notify): Fix too high return in some cases.
19028 2015-07-05 Artur Malabarba <bruce.connor.am@gmail.com>
19030 * lisp/character-fold.el (character-fold-table):
19031 Only fold decompositions if at least one character is non-spacing.
19034 2015-07-05 Paul Eggert <eggert@cs.ucla.edu>
19038 2015-07-04 file-has-acl, acl-permissions: fix HP-UX typos
19039 2015-07-03 set-permissions.c: adjust acl_from_mode's cpp guard
19040 2015-07-02 update-copyright: fix test failure with perl >= 5.22
19041 2015-07-01 gnulib-common.m4: change the ARFLAGS default to 'cr'
19042 2015-07-01 acl: fix definition of acl_from_mode on FreeBSD
19043 * build-aux/update-copyright, doc/misc/texinfo.tex, lib/acl-internal.h:
19044 * lib/set-permissions.c, m4/gnulib-common.m4: Copy from gnulib.
19046 2015-07-05 Christoph Wedler <christoph.wedler@sap.com>
19048 Respect `prog-indentation-context' in python.el
19049 * lisp/progmodes/python.el (python-indent-guess-indent-offset)
19050 (python-indent-context, python-indent--calculate-indentation)
19051 (python-info-current-defun)
19052 (python-info-dedenter-opening-block-message)
19053 (python-info-line-ends-backslash-p)
19054 (python-info-beginning-of-backslash)
19055 (python-info-continuation-line-p): Use `prog-widen'.
19056 (python-indent--calculate-indentation)
19057 (python-indent--calculate-levels)
19058 (python-indent-calculate-indentation): Use `prog-first-column'.
19059 (python-indent--calculate-levels): Simplify.
19060 Ignore also initial empty lines for syntax calculation.
19061 * lisp/progmodes/python.el (python-indent-context): Return
19062 :no-indent for first non-empty line, not just in line 1.
19063 * test/automated/python-tests.el (python-indent-base-case)
19064 (python-indent-inside-paren-1, python-indent-inside-paren-2)
19065 (python-indent-inside-paren-3, python-indent-inside-paren-4)
19066 (python-indent-inside-paren-5, python-indent-inside-paren-6)
19067 (python-indent-after-backslash-1)
19068 (python-indent-after-backslash-2)
19069 (python-indent-after-backslash-3)
19070 (python-indent-after-backslash-4, python-indent-inside-string-1):
19071 Expect :no-indent for first non-empty line.
19073 2015-07-04 Daniel Colascione <dancol@dancol.org>
19075 Factor isearch word description into new function
19076 * lisp/isearch.el (isearch--describe-word-mode): New function.
19077 (isearch-message-prefix, isearch-query-replace): Use it.
19079 2015-07-04 Eli Zaretskii <eliz@gnu.org>
19081 Fix mouse pointer on w32 when a menu is active
19082 * src/w32fns.c (w32_wnd_proc): Don't change the mouse pointer
19083 shape while a menu is in use. This started happening since we now
19084 send WM_EMACS_SHOWCURSOR messages when the mouse moves.
19086 2015-07-04 Martin Rudalics <rudalics@gmx.at>
19088 Fix processing of alpha parameter for Windows tip frames (Bug#17344)
19089 * src/w32fns.c (x_create_tip_frame): Fix processing alpha
19090 parameter. (Bug#17344)
19092 Have `compilation-set-window' use right window for getting fringes
19094 * lisp/progmodes/compile.el (compilation-set-window):
19095 Take `window-fringes' from argument window.
19097 2015-07-03 Glenn Morris <rgm@gnu.org>
19099 Update eieio tests for recent eieio-core change.
19100 * test/automated/eieio-test-persist.el (persist-test-save-and-compare):
19101 * test/automated/eieio-tests.el
19102 (eieio-test-32-slot-attribute-override-2):
19103 Replace the deleted eieio--class-v with cl--find-class.
19105 2015-07-03 Martin Rudalics <rudalics@gmx.at>
19107 Fix some issues with `window-divider-mode'
19108 * lisp/frame.el (window-divider-default-places): New option.
19109 (window-divider-mode): Remove option.
19110 (window-divider-mode): Make it a "regular" minor mode.
19111 (window-divider-width-valid-p): Drop frame- prefix.
19112 (window-divider-mode-apply): New argument ENABLE. Drop frame-
19113 prefix. Handle `window-divider-default-places'.
19114 (frame--window-divider-mode-set-and-apply): Remove.
19115 (window-divider-default-bottom-width)
19116 (window-divider-default-right-width): Drop :group entries.
19117 * lisp/menu-bar.el (menu-bar-bottom-and-right-window-divider)
19118 (menu-bar-right-window-divider, menu-bar-bottom-window-divider)
19119 (menu-bar-no-window-divider): Set `window-divider-default-places'
19120 and call `window-divider-mode'.
19121 * doc/emacs/frames.texi (Window Dividers): Document
19122 `window-divider-default-places'.
19124 2015-07-02 Xue Fuqiao <xfq.free@gmail.com>
19126 * doc/emacs/display.texi (Displaying Boundaries):
19127 * doc/emacs/search.texi (Word Search): Add cross references.
19129 2015-07-02 Paul Eggert <eggert@cs.ucla.edu>
19131 -batch should not affect ‘’ -> `' display
19132 * lisp/startup.el (command-line): Do the ‘’ -> `' check even if
19133 -batch (Bug#20926).
19135 2015-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
19137 * lisp/emacs-lisp/eieio-core.el (eieio--class-v): Remove
19138 * lisp/emacs-lisp/eieio-core.el, lisp/emacs-lisp/eieio.el:
19139 * lisp/emacs-lisp/eieio-opt.el, lisp/emacs-lisp/eieio-compat.el:
19140 Use cl--find-class instead.
19142 * lisp/term/xterm.el (xterm--query): Fix paren typo (bug#20951).
19144 2015-07-02 Martin Rudalics <rudalics@gmx.at>
19146 Some further fixes in Change Window node (Bug#20183)
19147 * doc/emacs/windows.texi (Change Window): Replace "rearranging"
19148 by "resizing" in section title. Add some concept indices.
19149 Suggested by N. Jackson (Bug#20183).
19151 * doc/emacs/windows.texi (Change Window): Reference window
19154 Document new `window-divider-mode'.
19155 * lisp/frame.el (window-divider-mode): Fix doc-string.
19156 * doc/emacs/frames.texi (Window Dividers): New section.
19158 Improve accessibility of window dividers (Bug#20183)
19159 * lisp/faces.el (window-divider)
19160 (window-divider-first-pixel, window-divider-last-pixel): Change
19161 membership from `frames' to `window-divider' customization group.
19162 * lisp/frame.el (window-divider): New customization group.
19163 (window-divider-mode): New minor mode.
19164 (window-divider-default-bottom-width)
19165 (window-divider-default-right-width): New options.
19166 (frame--window-divider-previous-mode): New variable.
19167 (frame-window-divider-width-valid-p)
19168 (frame--window-divider-mode-apply)
19169 (frame--window-divider-mode-set-and-apply): New functions.
19170 * lisp/menu-bar.el (menu-bar-options-save): Save
19171 window-divider-mode settings.
19172 (menu-bar-window-divider-customize)
19173 (menu-bar-bottom-and-right-window-divider)
19174 (menu-bar-right-window-divider, menu-bar-bottom-window-divider)
19175 (menu-bar-no-window-divider): New functions.
19176 (menu-bar-showhide-window-divider-menu): New variable.
19177 (menu-bar-showhide-menu): Show/hide window divider menu.
19178 * lisp/mouse.el (mouse-split-window-vertically)
19179 (mouse-split-window-horizontally): Replace `error' by
19180 `user-error'. Bind `window-combination-resize' to nil.
19181 (top-level): Add/reorder mouse key bindings on mode- and
19184 2015-07-02 Paul Eggert <eggert@cs.ucla.edu>
19186 Don't display ‘’ as `' under X in en_GB
19187 The curved quote setup code invokes (char-displayable-p ?‘),
19188 but this isn’t reliable until after the X frame replaces the
19189 terminal frame (Bug#20926).
19190 * lisp/international/mule-cmds.el (set-locale-environment):
19191 Move curved quote setup code from here ...
19192 * lisp/startup.el (command-line): ... to here, after creating
19195 2015-07-01 Nicolas Richard <youngfrog@members.fsf.org>
19197 * lisp/emacs-lisp/seq.el (seq-difference): Fix typo in docstring.
19199 * lisp/ido.el (ido-restrict-to-matches): Add an optional argument
19200 to reverse the meaning (Bug#15631).
19202 2015-07-01 Eli Zaretskii <eliz@gnu.org>
19204 Be more tolerant to fonts named "Foobar-12"
19205 * src/frame.c (x_set_font): If font_spec_from_name returns nil,
19206 don't barf; instead, request a new fontset to be generated. This
19207 avoids unnecessarily rejecting fonts named against XLFD rules. See
19208 http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html,
19209 for the description of the original problem.
19210 * lisp/faces.el (set-face-attribute): Don't be fooled too easily
19211 by a hyphen in a font's name.
19213 Fix value of posn-at-pont in R2L lines
19214 * src/keyboard.c (Fposn_at_x_y, Fposn_at_point): Allow X pixel
19215 coordinate of -1, for a newline in a right-to-left line that
19216 overflowed into the left fringe.
19218 2015-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19220 (cl--copy-slot-descriptor): Copy the `props' alist as well
19221 * lisp/emacs-lisp/cl-preloaded.el (cl--copy-slot-descriptor-1):
19222 Rename from cl--copy-slot-descriptor.
19223 (cl--copy-slot-descriptor): New function. Copy the alist (bug#20914).
19225 2015-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
19227 * lisp/term/xterm.el (xterm--query): Avoid generating garbage
19228 (xterm-query-timeout): New var.
19229 (xterm--query): Use it. Fallback on async method if we timeout before
19230 getting the first byte of the reply (bug#12354).
19232 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
19235 * lisp/character-fold.el (character-fold-search):
19236 * lisp/emacs-lisp/package.el (package-hidden-regexps):
19239 2015-06-30 Xue Fuqiao <xfq.free@gmail.com>
19241 * doc/emacs/frames.texi (Frame Commands): Typo fix. (Bug#20946)
19243 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
19245 In strings, prefer plain ` and ' to \` and \'
19246 * lisp/allout.el (allout-insert-listified):
19247 * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19248 * lisp/ls-lisp.el (ls-lisp-UCA-like-collation)
19249 (ls-lisp-string-lessp):
19250 * lisp/menu-bar.el (menu-bar-open):
19251 * lisp/obsolete/otodo-mode.el (todo-top-priorities):
19252 * lisp/progmodes/compile.el (compile):
19253 * lisp/progmodes/etags.el (tags-loop-scan):
19254 * lisp/progmodes/make-mode.el (makefile-browser-insert-continuation):
19255 * lisp/subr.el (posn-actual-col-row):
19256 * lisp/term/pc-win.el (x-list-fonts):
19257 * lisp/textmodes/texinfmt.el (texinfmt-version):
19258 * lisp/textmodes/texnfo-upd.el (texinfo-master-menu):
19259 * lisp/time.el (display-time-world-list):
19260 * lisp/tmm.el (tmm-menubar):
19261 * src/buffer.c (syms_of_buffer):
19262 * src/fileio.c (syms_of_fileio):
19263 Omit unnecessary and confusing backslash before quote.
19264 * lisp/erc/erc.el (erc-cmd-LASTLOG):
19265 * lisp/progmodes/flymake.el (flymake-fix-file-name):
19266 * lisp/progmodes/vhdl-mode.el (vhdl-in-extended-identifier-p):
19267 Fix string that was intended to escape a backslash and not a quote.
19269 2015-06-30 Glenn Morris <rgm@gnu.org>
19271 * leim/Makefile.in, lisp/Makefile.in: Add missing EXEEXT definition.
19273 * lisp/Makefile.in (MH_E_SRC, TRAMP_SRC, CAL_SRC):
19274 Replace hard-coded lists with wildcard + filter-out.
19276 * configure.ac (system-configuration-features): Add X11, NS.
19278 Improve reproducibility of generated loaddefs file
19279 * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19280 Make the return value the modtime of the input file (if no autoloads).
19281 (update-directory-autoloads): In the "no autoloads" section,
19282 use "most recent modtime" rather than "current time".
19284 2015-06-30 Artur Malabarba <bruce.connor.am@gmail.com>
19286 * lisp/emacs-lisp/package.el (package--remove-hidden): Fix logic.
19289 2015-06-30 Nicolas Petton <nicolas@petton.fr>
19291 * doc/lispref/sequences.texi: Add documentation for seq-min and seq-max.
19293 Add seq-min and seq-max
19294 Bump version number.
19295 * lisp/emacs-lisp/seq.el (seq-min, seq-max): New functions.
19296 * test/automated/seq-tests.el: Add tests for seq-min and seq-max.
19298 2015-06-30 Eli Zaretskii <eliz@gnu.org>
19300 Make sure sleep-for always delays for as long as it's told
19301 * src/dispnew.c (Fsleep_for): Call wait_reading_process_output in
19302 a loop, to ensure we always wait exactly the required amount of
19305 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
19307 Fix pointer signedness glitch
19308 * src/font.c (font_load_for_lface): Use SSDATA, not SDATA.
19310 2015-06-30 Eli Zaretskii <eliz@gnu.org>
19312 Don't block changes in mouse pointer inside 'track-mouse'
19314 * doc/lispref/frames.texi (Mouse Tracking): Document the special
19315 effect of setting 'track-mouse' to 'dragging'.
19316 * lisp/textmodes/artist.el (artist-mouse-draw-continously):
19317 * lisp/ruler-mode.el (ruler-mode-mouse-drag-any-column-iteration):
19318 * lisp/mouse-drag.el (mouse-drag-throw):
19319 * lisp/mouse.el (mouse-drag-line): Set 'track-mouse' to 'dragging'
19320 to avoid changes in the shape of the mouse pointer.
19321 * src/xdisp.c (define_frame_cursor1): Don't change the mouse
19322 pointer shape when do_mouse_tracking has the value of 'dragging',
19323 not just any non-nil value. (Bug#20934)
19324 (syms_of_xdisp): DEFSYM 'dragging'.
19326 2015-06-30 Artur Malabarba <bruce.connor.am@gmail.com>
19328 * lisp/isearch.el (isearch-toggle-word): Fix toggle.
19330 * lisp/emacs-lisp/package.el (package-compute-transaction):
19331 Don't assume version sorting.
19333 * lisp/emacs-lisp/package.el (package--save-selected-packages):
19334 Don't save before init time, to avoid overwriting configurations.
19337 2015-06-30 Xue Fuqiao <xfq.free@gmail.com>
19339 * doc/emacs/display.texi (Standard Faces, Fringes): Add cross
19342 2015-06-29 Ted Zlatanov <tzz@lifelogs.com>
19344 Update for the upcoming CFEngine 3.7 release: support macros and
19345 quoted context strings; reformat JSON; indent promise attributes 2
19346 units by default; give function parameter descriptions in the eldoc
19348 * lisp/progmodes/cfengine.el: Update version and docs and fix name.
19349 Autoload `json-pretty-print'. Support new features in 3.7.
19350 (cfengine-parameters-indent): Set default promise attribute indent to
19351 2 more than the promise itself.
19352 (cfengine3-macro-regex): New variable to match the new macro syntax.
19353 (cfengine3-font-lock-keywords): Use it to highlight macros.
19354 (cfengine3-indent-line): Use it to indent macros to column 0.
19355 (cfengine3-class-selector-regex): Update for the new quoted strings
19357 (cfengine3-reformat-json-string): New function to reformat a JSON
19358 string using `json-pretty-print'.
19359 (cfengine3-format-function-docstring): Use function parameter
19360 description if it's provided by the cf-promises syntax dump.
19362 2015-06-29 Michael R. Mauger <michael@mauger.com>
19364 Cygwin emacsclient handles w32 file names
19365 * lisp/server.el (server-process-filter): Allow Cygwin's
19366 emacsclient to be used as a file handler on MS-Windows.
19368 2015-06-29 Katsumi Yamaoka <yamaoka@jpl.org>
19370 * lisp/isearch.el (isearch-exit): Don't call isearch-done twice
19373 2015-06-29 Eli Zaretskii <eliz@gnu.org>
19375 * doc/lispref/text.texi (Sticky Properties): Improve wording.
19378 Allow font names that end in "-NN", where NN is a number
19379 * src/font.c (font_load_for_lface): If the font-spec didn't match
19380 any available fonts, try again without interpreting trailing "-NN"
19381 as the font size. For the description of the original problem, see
19382 http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html
19384 .gdbinit followup to changes in !USE_LSB_TAG
19385 * src/.gdbinit (xgetsym): Don't left-shift $ptr even under
19386 !USE_LSB_TAG, as Emacs no longer does.
19388 2015-06-29 Wolfgang Jenkner <wjenkner@inode.at>
19390 * lisp/calc-store.el (calc-insert-permanent-variable): Heed case.
19391 Otherwise `s p' of f and F will stomp on each other's value.
19394 2015-06-29 Artur Malabarba <bruce.connor.am@gmail.com>
19396 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
19397 Don't block remember-pos if buffer isn't displayed. (Bug#20921)
19399 2015-06-29 Nicolas Richard <theonewiththeevillook@yahoo.fr>
19401 * lisp/emacs-lisp/package.el (describe-package): Use symbol-at-point
19402 as additional guess.
19404 * lisp/emacs-lisp/package.el (describe-package): Convert the guess
19407 2015-06-28 Paul Eggert <eggert@cs.ucla.edu>
19409 apropos-library quoting fix
19410 * lisp/apropos.el (apropos-library): Quote library consistently
19411 with the rest of the quoting used by apropos.
19413 Clarify interpreter-mode-alist doc
19414 * lisp/files.el (interpreter-mode-alist):
19415 Reword to avoid confusing quoting that wasn't working anyway.
19417 2015-06-28 Michael Albinus <michael.albinus@gmx.de>
19419 Sync with Tramp 2.2.12
19420 * doc/misc/trampver.texi:
19421 * lisp/net/trampver.el: Update release number.
19422 * test/automated/tramp-tests.el (tramp-test13-make-directory):
19425 2015-06-28 Artur Malabarba <bruce.connor.am@gmail.com>
19427 * lisp/isearch.el (isearch-mode): Don't char-fold regexps (bug#20913).
19429 2015-06-27 Dmitry Gutov <dgutov@yandex.ru>
19431 Bind grep-highlight-matches around the rgrep call
19432 * lisp/progmodes/grep.el (zrgrep): Bind grep-highlight-matches
19433 around the rgrep call (bug#20728).
19435 Put "--color" before the other options in grep-command
19436 * lisp/progmodes/grep.el (grep-compute-defaults): Put "--color"
19437 before the other options in grep-command (bug#20912).
19439 Add --color Grep option to the command dynamically
19440 * lisp/progmodes/grep.el (grep-template, grep-find-template):
19441 Update the description for <C>. (Bug#20728)
19442 (grep-compute-defaults): Don't add the --color option to
19443 grep-options. Only add it to grep-command.
19444 (grep-expand-keywords): Expand the env value opts into <C>.
19445 (grep-expand-template): Replace cf in the env with the opts list,
19446 that can include -i and --color.
19447 * lisp/progmodes/xref.el (xref-collect-matches): Do not remove
19448 "--color=always" from the template, because we don't have to.
19450 2015-06-27 Paul Eggert <eggert@cs.ucla.edu>
19452 cl-extra fixes for most-negative-fixnum
19453 * lisp/emacs-lisp/cl-extra.el (cl-gcd, cl-lcm, cl-random):
19454 Don't mishandle an argument equal to most-negative-fixnum,
19455 whose absolute value equals itself.
19456 (cl-gcd, cl-lcm): Use dolist rather than doing it by hand.
19458 Initialize cl--gensym-counter to 0
19459 Previously it was initialized to a random value, which made it
19460 harder to reproduce earlier Emacs runs. The need for a random
19461 value went away when Emacs introduced and used the #: syntax for
19462 uninterned symbols (Bug#20862).
19463 * doc/misc/cl.texi (Creating Symbols, Common Lisp Compatibility):
19464 Document that cl--gensym-counter now starts with 0.
19465 * lisp/emacs-lisp/cl-lib.el (cl--gensym-counter): Remove.
19466 (cl--random-time): Move to near only remaining use.
19467 * lisp/emacs-lisp/cl-macs.el (cl--gensym-counter): Initialize to 0.
19469 Improve docstring for macroexp-let2
19470 * lisp/emacs-lisp/macroexp.el (macroexp-let2):
19471 Improve as per suggestion by RMS in:
19472 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00621.html
19473 Also, rename args to match new doc string.
19475 2015-06-27 Eli Zaretskii <eliz@gnu.org>
19477 Fix VC test suite on MS-Windows
19478 * lisp/vc/vc-svn.el (vc-svn-create-repo): Make sure the file: URL
19479 always starts with 3 slashes after the colon.
19480 * test/automated/vc-tests.el (vc-test--create-repo-function): Use
19481 'w32-application-type' to invoke CVS on MS-Windows with properly
19482 formatted CVSROOT directory name.
19484 Add a new function w32-application-type
19485 * src/w32proc.c (Fw32_application_type): New function.
19487 Avoid error in TLS connections due to incorrect format
19488 * src/gnutls.c (Fgnutls_boot): Use the %x conversion specifier in
19489 the call to 'error', instead of the unsupported %u. Reported by
19490 lo2net <fangtao0901@gmail.com>. (Bug#20908)
19492 2015-06-26 Artur Malabarba <bruce.connor.am@gmail.com>
19494 * lisp/replace.el (replace-search): Fix regexp case (bug#20901).
19496 2015-06-26 Leo Liu <sdl.web@gmail.com>
19498 * lisp/emacs-lisp/cl-indent.el: Fix indentation for
19499 `with-output-to-string' in elisp.
19501 Revert "lisp/emacs-lisp/cl-indent.el: Fix indent of
19502 with-output-to-string".
19503 This reverts commit 659199f2ca5f283fb246faa78a244e5ca25f53dd.
19505 2015-06-26 Eli Zaretskii <eliz@gnu.org>
19507 Minor corrections in ELisp manual
19508 * doc/lispref/nonascii.texi (Character Properties): Correct
19509 inaccuracies in description of values of the Unicode properties.
19511 Fix invisible mouse pointers on Windows.
19512 * src/w32fns.c: Include windowsx.h.
19513 (w32_wnd_proc): If the mouse moved and the mouse pointer is
19514 invisible, make it visible again even when the main (Lisp)
19516 * src/w32term.c (w32_toggle_invisible_pointer): Rather then
19517 garbaging the frame have the input thread call SetCursor.
19519 2015-06-26 Martin Rudalics <rudalics@gmx.at>
19521 Provide invisible mouse pointers on Windows (Bug#6105) (Bug#12922)
19522 * src/w32fns.c (w32_wnd_proc): Handle f->pointer_invisible
19523 for WM_SETCURSOR and WM_EMACS_SETCURSOR cases.
19524 * src/w32term.c (w32_hide_hourglass): Handle f->pointer_invisible.
19525 (w32_toggle_invisible_pointer): New function.
19526 (w32_create_terminal): Add w32_toggle_invisible_pointer as
19527 toggle_invisible_pointer_hook for this terminal.
19529 2015-06-25 Xue Fuqiao <xfq.free@gmail.com>
19531 Doc fix for deletion commands
19532 'delete-char' does not respect the value of 'delete-active-region'.
19533 * doc/emacs/killing.texi (Deletion):
19534 Fix documentation for some single-char deletion commands.
19536 * doc/emacs/help.texi (Apropos):
19537 Improve documentation of 'apropos-do-all'.
19539 * doc/emacs/help.texi (Help Summary):
19540 Improve documentation of 'describe-mode'.
19542 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
19544 Fix submake dependency bug with .h files
19545 * src/Makefile.in ($(libsrc)/make-docfile$(EXEEXT)):
19546 Depend on $(lib)/libgnu.a, so that we build $(lib)/*/*.h
19547 before the submake in $(libsrc) would spin off a subsubmake
19548 for $(lib) in parallel with our submake for $(lib) (Bug#20894).
19550 2015-06-25 Artur Malabarba <bruce.connor.am@gmail.com>
19552 * lisp/character-fold.el (character-fold-table): Reuse `table'.
19554 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
19556 Translate undisplayable ‘ to `
19557 * doc/lispref/help.texi (Keys in Documentation):
19558 * lisp/international/mule-cmds.el (set-locale-environment):
19559 * lisp/term/w32console.el (terminal-init-w32console):
19560 * src/doc.c (Fsubstitute_command_keys, Vhelp_quote_translation):
19561 If ‘ is not displayable, transliterate it to `, not to '. See:
19562 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00542.html
19564 Fix C99 incompatibilities in Cairo code
19565 * src/image.c (xpm_load) [USE_CAIRO]:
19566 * src/xterm.c (x_cr_accumulate_data) [USE_CAIRO]:
19567 Fix pointer signedness problem.
19569 2015-06-25 Oleh Krehel <ohwoeowho@gmail.com>
19571 lisp/emacs-lisp/cl-indent.el: Fix indent of with-output-to-string
19572 * lisp/emacs-lisp/cl-indent.el (common-lisp-indent-function):
19573 `with-output-to-string' should have the same indent as `progn'.
19574 This is in line with the declaration of `with-output-to-string'.
19576 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
19578 Get ‘./configure; make -C src emacs’ to work
19579 Without this fix, lib/fcntl.h isn't built in time (Bug#20894).
19580 * lib-src/Makefile.in (../lib/libgnu.a):
19581 * src/Makefile.in ($(lib)/libgnu.a): Build all, not libgnu.a.
19583 2015-06-24 Paul Eggert <eggert@cs.ucla.edu>
19585 Fix GC bugs --with-wide-int and Qnil == 0
19586 Use the same alignment for the !USE_LSB_TAG case as for the
19587 more-typical USE_LSB_TAG case. The attempt to support arbitrary
19588 alignments with !USE_LSB_TAG had subtle bugs in garbage collection
19589 once we changed the representation of symbols so that Qnil == 0.
19590 Problem reported by Eli Zaretskii (Bug#20862).
19591 * src/alloc.c (XMALLOC_HEADER_ALIGNMENT) [XMALLOC_OVERRUN_CHECK]:
19592 * src/alloc.c (vector_alignment, union aligned_Lisp_Symbol)
19593 (union aligned_Lisp_Misc, maybe_lisp_pointer, pure_alloc):
19594 Use same alignment for !USE_LSB_TAG as for USE_LSB_TAG.
19595 * src/alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS): Remove.
19596 This optimization in the !USE_LSB_TAG case is no longer valid when
19597 symbols are represented via offsets. Change the only use to
19598 assume that pointers might hide in objects.
19599 * src/lisp.h (alignas) [!USE_LSB_TAG]:
19600 Require support in this case, too.
19601 (TAG_SYMOFFSET, XSYMBOL) [!USE_LSB_TAG]: Do not shift the offset.
19602 This is OK, because the !USE_LSB_TAG case now applies only when
19603 Lisp_Object is wider than void *, so there's no longer any need
19604 to shift the offset. Not shifting the offset means that
19605 symbol representations have the same alignment as pointers,
19606 which the GC assumes.
19608 2015-06-24 Xue Fuqiao <xfq.free@gmail.com>
19610 * doc/lispintro/emacs-lisp-intro.texi (Data types):
19611 Improve documentation of 'substring'.
19613 2015-06-24 Artur Malabarba <bruce.connor.am@gmail.com>
19615 * lisp/character-fold.el (character-fold-table): Fix table generation.
19617 2015-06-24 Glenn Morris <rgm@gnu.org>
19619 * nextstep/Makefile.in (all): Make it the first target.
19620 (../src/emacs${EXEEXT}): Add rule for making it.
19622 2015-06-24 Artur Malabarba <bruce.connor.am@gmail.com>
19624 * etc/NEWS: Fix mention to old function name.
19626 * lisp/character-fold.el: New file (Bug#20887)
19627 (character-fold-to-regexp): New function.
19628 * lisp/replace.el (replace-search): Check value of
19629 `character-fold-search'.
19630 * lisp/isearch.el: Move character-folding code to
19632 (isearch-toggle-character-fold): New command.
19633 (isearch-mode-map): Bind it to "\M-sf".
19634 (isearch-mode): Check value of `character-fold-search'.
19636 2015-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
19638 lisp/subr.el (remove-from-invisibility-spec): Handle the t case
19639 * lisp/subr.el (remove-from-invisibility-spec): Make sure `element'
19640 is visible even if it's not yet in buffer-invisibility-spec (bug#20468).
19642 * lisp/progmodes/xref.el (xref-location-group, xref-location-marker)
19643 (xref--insert-xrefs, xref-collect-references): Avoid init-args in oref.
19645 2015-06-24 Glenn Morris <rgm@gnu.org>
19647 * Makefile.in (install-arch-dep): Don't set sticky bit on the binary.
19649 2015-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
19651 lisp/gnus/nnmaildir.el: Silence lexical warnings
19652 * lisp/gnus/nnmaildir.el (nnmaildir--prepare): Use a more
19654 (nnmaildir--update-nov): Remove unused var `numdir'.
19655 (nnmaildir-request-type, nnmaildir--scan, nnmaildir-request-newgroups)
19656 (nnmaildir-request-group, nnmaildir-request-create-group)
19657 (nnmaildir-request-post, nnmaildir-request-move-article)
19658 (nnmaildir-request-accept-article, nnmaildir-active-number):
19660 (nnmaildir-get-new-mail, nnmaildir-group-alist)
19661 (nnmaildir-active-file): Declare.
19662 (nnmaildir-request-scan): Remove unused vars `group' and `grp-dir'.
19663 (nnmaildir-request-update-info): Remove unused vars `dotfile', `num',
19664 `mark', `end', `new-mark', and `mark-sym'.
19665 (nnmaildir-retrieve-headers): Remove unused args `srv-dir', `dir',
19667 (nnmaildir-request-expire-articles):
19668 Remove unused vars `article', `stop' and `nlist2'.
19669 (nnmaildir-request-set-mark): Remove unused vars `begin', `article' and
19670 `end'. Use nnmaildir--article when dyn-binding is needed.
19671 Give the value directly in the `let' for `del-mark', `del-action',
19672 `add-action', and `set-action'. Don't use `add-to-list' on a local var.
19673 (nnmaildir-close-server): Declare those local vars that need to be
19676 2015-06-24 Paul Eggert <eggert@cs.ucla.edu>
19678 * src/keyboard.h (kbd_buffer_store_event_hold): Remove unused local.
19680 Port selection info fix to clang
19681 * src/keyboard.h (kbd_buffer_store_event_hold):
19682 Don't assume C11 semantics for alignof (Bug#20756).
19684 Fix bug that munged selection info
19685 On some optimizing C compilers, copying a structure did not
19686 copy the padding bytes between elements, and the type punning
19687 between struct input_data and struct selection_input_data did
19688 not work. Change the C code to use a proper union type instead.
19689 Problem reported by YAMAMOTO Mitsuharu (Bug#20756).
19690 * src/keyboard.c (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr)
19691 (readable_events, discard_mouse_events, kbd_buffer_events_waiting)
19692 (kbd_buffer_get_event, process_special_events, stuff_buffered_input)
19694 Use union buffered_input_event, not struct input_event.
19695 (clear_event, deliver_input_available_signal, process_special_events):
19696 Remove unnecessary forward decls.
19697 (kbd_buffer_store_buffered_event): New function, mostly just the
19698 old kbd_buffer_store_event_hold, except its argument is of type
19699 union buffered_input_event, not struct input_event.
19700 (kbd_buffer_unget_event): Define only if HAVE_X11, since it's
19701 not needed otherwise. Argument is now of type
19702 struct selection_input_event *, not struct input_event *.
19703 All callers changed.
19704 (clear_event): Arg is now of type union buffered_input_event *,
19705 not struct input_event *. All callers changed.
19706 * src/keyboard.h [HAVE_X11]: Include "xterm.h".
19707 (union buffered_input_event): New type.
19708 (kbd_buffer_store_event_hold): Now an inline function,
19710 * src/termhooks.h (EVENT_KIND_WIDTH): New constant.
19711 (struct input_event): Use it.
19712 * src/xselect.c (struct selection_event_queue):
19713 Make elements be of type struct selection_input_event,
19714 not struct input_event.
19715 (selection_input_event_equal): New static function.
19716 (x_queue_event): Use it.
19717 (x_queue_event, x_decline_selection_request)
19718 (x_selection_current_request, x_reply_selection_request)
19719 (x_handle_selection_request, x_handle_selection_clear)
19720 (x_handle_selection_event): Use struct selection_input_event,
19721 not struct input_event. All callers changed.
19722 (x_convert_selection): Omit unused first arg. All callers changed.
19723 (Fx_disown_selection_internal): Omit unnecessary union.
19724 * src/xterm.c (handle_one_xevent): Use new union buffered_input_event
19725 rather than rolling our own equivalent. Prefer sie.kind when
19726 setting up that kind of structure.
19727 Call kbd_buffer_store_buffered_event, not kbd_buffer_store_event_hold.
19728 * src/xterm.h (struct selection_input_event: Use EVENT_KIND_WIDTH.
19729 (SELECTION_EVENT_DISPLAY, SELECTION_EVENT_DPYINFO)
19730 (SELECTION_EVENT_REQUESTOR, SELECTION_EVENT_SELECTION)
19731 (SELECTION_EVENT_TARGET, SELECTION_EVENT_PROPERTY)
19732 (SELECTION_EVENT_TIME, x_handle_selection_event):
19733 Arg is now of type struct selection_input_event *)
19734 not struct input_event *. All callers changed.
19736 2015-06-23 Glenn Morris <rgm@gnu.org>
19738 * Makefile.in (install-arch-dep): Simplify with Make conditionals.
19740 2015-06-23 Artur Malabarba <bruce.connor.am@gmail.com>
19742 * lisp/isearch.el: Fold many unicode characters to ASCII.
19743 (isearch-character-fold-search, isearch--character-fold-extras)
19744 (isearch--character-fold-table): New variable.
19745 (isearch--character-folded-regexp): New function.
19746 (isearch-search-fun-default): Use them.
19747 * lisp/replace.el (replace-character-fold): New variable.
19748 (replace-search): Use it.
19749 * etc/NEWS: Document it.
19751 2015-06-23 Glenn Morris <rgm@gnu.org>
19753 Check for an input event before showing a dialog box. (Bug#20813)
19754 * lisp/subr.el (y-or-n-p):
19755 * src/fns.c (Fyes_or_no_p): Check last-input-event as well
19756 as last-nonmenu-event.
19758 2015-06-23 Jürgen Hartmann <juergen_hartman_@hotmail.com> (tiny change)
19760 Respect ‘switch-to-visible-buffer’ more rigidly. (Bug#20861)
19761 * lisp/window.el (switch-to-visible-buffer): Doc adjustment.
19762 (switch-to-prev-buffer, switch-to-next-buffer): Respect
19763 switch-to-visible-buffer independent of the windows history.
19765 2015-06-23 Paul Eggert <eggert@cs.ucla.edu>
19767 * src/keyboard.c (last_timer_event): Remove unused var.
19769 2015-06-23 Artur Malabarba <bruce.connor.am@gmail.com>
19771 * test/automated/package-test.el (package-test-update-listing):
19774 2015-06-23 Glenn Morris <rgm@gnu.org>
19776 Revert 2014-06-25 nextstep/Makefile change.
19777 * nextstep/Makefile.in (${ns_appbindir}): Remove rule.
19778 (${ns_appbindir}/Emacs, links): Create ns_appbindir in the rule,
19779 not as an order-only prerequisite.
19781 * configure.ac (--with-ns): Enable by default on OS X.
19783 2015-06-23 Leo Liu <sdl.web@gmail.com>
19785 Fix shell-for/backward-command to exclude spaces
19786 * lisp/shell.el (shell-forward-command, shell-backward-command):
19787 Handle the 'move case from re-search-forward/backward.
19788 fixes debbugs:20873
19790 2015-06-22 Juri Linkov <juri@linkov.net>
19792 * lisp/replace.el (query-replace-read-from): Add separator to
19793 the local binding of text-property-default-nonsticky. (Bug#20690)
19795 * lisp/simple.el (shell-command-on-region): Replace 'error' with 'user-error'.
19798 2015-06-22 Ken Brown <kbrown@cornell.edu>
19800 Enable CPU profiling on Cygwin
19801 * src/syssignal.h [CYGWIN] (PROFILER_CPU_SUPPORT): Revert previous
19802 change that undefined this.
19803 (SIGEV_SIGNAL): Ensure that this is defined as a macro.
19804 * src/profiler.c [CYGWIN] (timer_getoverrun): Define as a macro on
19807 Improve diagnostics of profiler-cpu-start
19808 * src/profiler.c (setup_cpu_timer): Change return type to 'int';
19809 return -1 if the sampling interval is invalid.
19810 (Fprofiler_cpu_start): Improve error message if 'setup_cpu_timer'
19813 2015-06-22 Artur Malabarba <bruce.connor.am@gmail.com>
19815 * lisp/emacs-lisp/package.el: Exclude packages by name.
19816 (package-hidden-regexps): New variable.
19817 (package-menu--refresh): Use it.
19818 (package-menu-hide-package): New command.
19820 * lisp/emacs-lisp/package.el: Rename hide-obsolete to toggle-hiding.
19822 2015-06-22 Eli Zaretskii <eliz@gnu.org>
19824 Fix debug-timer-check on systems without HAVE_TIMERFD
19825 * src/atimer.c (Fdebug_timer_check) [!HAVE_TIMERFD]: Actively run
19826 the expired timers, since wait_reading_process_output doesn't.
19827 (debug_timer_callback): Enlarge the tolerance to 20 msec.
19829 Fix RCS crashes in vc-test
19830 * lisp/vc/vc-rcs.el (vc-rcs-register): Avoid crashes with some old
19831 ports of 'ci' on MS-Windows by always passing the -t- switch.
19833 2015-06-22 Glenn Morris <rgm@gnu.org>
19835 * doc/emacs/package.texi (Packages):
19836 * doc/emacs/trouble.texi (Known Problems): Remove faq cross-references.
19838 * doc/misc/efaq-w32.texi (Downloading): Copyedits. (Bug#20851)
19840 2015-06-22 Paul Eggert <eggert@cs.ucla.edu>
19842 Port tests to help-quote-translation
19843 * test/automated/ert-x-tests.el (ert-test-describe-test):
19844 * test/automated/package-test.el (package-test-describe-package)
19845 (package-test-signed): Allow straight quotes, too.
19847 2015-06-22 Dmitry Gutov <dgutov@yandex.ru>
19849 Make find-function-on-key use the current window
19850 * lisp/emacs-lisp/find-func.el (find-function-on-key-do-it):
19851 Extract from `find-function-on-key', add a second argument.
19852 (find-function-on-key): Use it (bug#19679).
19853 (find-function-on-key-other-window)
19854 (find-function-on-key-other-frame): New commands.
19856 2015-06-21 Nicolas Petton <nicolas@petton.fr>
19858 Revert "Define `map-elt' as a generalized variable"
19859 This reverts commit 8b6d82d3ca86f76ed964063b3941a7c6ab0bf1c6.
19861 2015-06-21 Ken Brown <kbrown@cornell.edu>
19863 Drop support for CPU profiling on Cygwin
19864 * src/syssignal.h (PROFILER_CPU_SUPPORT): Don't define on Cygwin.
19867 2015-06-21 Paul Eggert <eggert@cs.ucla.edu>
19869 Fix some “nested” quoting confusion in doc strings
19870 * lisp/emacs-lisp/advice.el (ad-map-arglists):
19871 * lisp/kermit.el (kermit-clean-on):
19872 * lisp/mh-e/mh-comp.el (mh-repl-group-formfile):
19873 * src/keyboard.c (Frecursive_edit):
19874 Use curved quotes when quoting text containing apostrophe,
19875 so that the apostrophe isn't curved in the output.
19877 2015-06-21 Nicolas Petton <nicolas@petton.fr>
19879 Define `map-elt' as a generalized variable
19880 * lisp/emacs-lisp/map.el (map-elt): Define a gv-expander.
19881 * lisp/emacs-lisp/map.el (map--dispatch): Tighten the code.
19882 * lisp/emacs-lisp/map.el (map-put): Redefine it as a function using a
19883 `setf' with `map-elt'.
19884 * test/automated/map-tests.el: Comment out `test-map-put-literal'.
19886 2015-06-21 Michael Albinus <michael.albinus@gmx.de>
19888 Improve error handling in tramp-adb.el
19889 * lisp/net/tramp-adb.el (tramp-adb-handle-file-local-copy):
19890 Improve error handling.
19892 2015-06-21 Nicolas Petton <nicolas@petton.fr>
19894 Reuse `alist-get' in map.el
19895 * lisp/emacs-lisp/map.el (map-elt): Use `alist-get' to retrieve alist
19898 2015-06-21 Eli Zaretskii <eliz@gnu.org>
19900 Fix bytecomp-tests--warnings when $TMPDIR has a long name
19901 * test/automated/bytecomp-tests.el (bytecomp-tests--warnings):
19902 Allow the warning to begin on the 3rd, not only 2nd line, which
19903 happens if temporary-file-directory has a very long name.
19905 Expect 2 icalendar tests to fail on MS-Windows
19906 * test/automated/icalendar-tests.el (icalendar-import-with-timezone)
19907 (icalendar-real-world): Make them expected failures on MS-Windows.
19909 2015-06-20 Paul Eggert <eggert@cs.ucla.edu>
19911 Improve port of settings UI to older displays
19912 * lisp/cus-start.el (standard): Don't assume curved quotes are
19913 easily distinguishable when users are tinkering with a setting
19914 that affects how curved quotes are generated.
19916 Fix quoting in electric-quote-mode doc string
19917 * lisp/electric.el (electric-quote-mode): Fix quoting.
19918 This is a fallout from the recent change introducing
19919 ‘help-quote-translation’.
19923 * doc/misc/texinfo.tex, lib/set-permissions.c: Merge from gnulib.
19925 * src/doc.c (syms_of_doc): Remove unused symbols.
19927 2015-06-20 Martin Rudalics <rudalics@gmx.at>
19929 * lisp/window.el (window-state-put): Undedicate target window
19930 before putting STATE into it. (Bug#20848)
19932 2015-06-19 Paul Eggert <eggert@cs.ucla.edu>
19934 Merge from origin/emacs-24
19935 a5e6f33 Fixes: debbugs:20832
19936 b9f02cf Fixes: debbugs:20832
19938 2015-06-19 Eli Zaretskii <eliz@gnu.org>
19940 Fix file-in-directory-p when the directory is UNC
19941 * lisp/files.el (file-in-directory-p): Support files and
19942 directories that begin with "//". (Bug#20844)
19944 2015-06-19 Stephen Berman <stephen.berman@gmx.net>
19946 * lisp/calendar/todo-mode.el (todo-show): Don't visit todo file
19947 in the minibuffer. (Bug#20832)
19949 2015-06-19 Nicolas Richard <youngfrog@members.fsf.org>
19951 * lisp/calendar/todo-mode.el (todo-show): Signal an error if buffer
19952 for adding new todo file is empty but modified. (Bug#20832)
19954 2015-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
19956 (filepos-to-bufferpos): Further tweaks to the utf-16 code
19957 * lisp/international/mule-util.el (filepos-to-bufferpos):
19958 Fix typo. Move non-exact check to the utf-16 branch (the only one
19959 affected). Don't use byte-to-position for the utf-16 case.
19961 2015-06-19 Eli Zaretskii <eliz@gnu.org>
19963 Minor fixes in filepos-to-bufferpos
19964 * lisp/international/mule-util.el (filepos-to-bufferpos): Remove
19965 test for utf-8-emacs. Exempt single-byte encodings from the
19966 'use-exact' path when QUALITY is 'exact'. Test UTF-16 encodings
19967 for BOM before subtracting 2 bytes. Use 'identity' when adjusting
19968 UTF-16 encoded files for CR-LF EOLs.
19970 2015-06-19 Paul Eggert <eggert@cs.ucla.edu>
19972 Improve the optional translation of quotes
19973 Fix several problems with the recently-added custom variable
19974 help-quote-translation where the code would quote inconsistently
19975 in help buffers. Add support for quoting 'like this', which
19976 is common in other GNU programs in ASCII environments. Change
19977 help-quote-translation to use more mnemonic values: values are now the
19978 initial quoting char, e.g., (setq help-quote-translation ?`) gets the
19979 traditional Emacs help-buffer quoting style `like this'. Change the
19980 default behavior of substitute-command-keys to match what's done in
19981 set-locale-environment, i.e., quote ‘like this’ if displayable,
19982 'like this' otherwise.
19983 * doc/lispref/help.texi (Keys in Documentation): Document
19984 new behavior of substitute-command-keys, and document
19985 help-quote-translation.
19986 * doc/lispref/tips.texi (Documentation Tips):
19987 Mention the effect of help-quote-translation.
19988 * etc/NEWS: Mention new behavior of substitute-command-keys,
19989 and merge help-quote-translation news into it.
19990 When talking about doc strings, mention new ways to type quotes.
19991 * lisp/cedet/mode-local.el (overload-docstring-extension):
19992 Revert my recent change to this function, which shouldn't be
19993 needed as the result is a doc string.
19994 * lisp/cedet/mode-local.el (mode-local-print-binding)
19995 (mode-local-describe-bindings-2):
19996 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
19997 * lisp/cus-theme.el (describe-theme-1):
19998 * lisp/descr-text.el (describe-text-properties-1, describe-char):
19999 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
20000 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
20001 (eieio-help-constructor):
20002 * lisp/emacs-lisp/package.el (describe-package-1):
20003 * lisp/faces.el (describe-face):
20004 * lisp/help-fns.el (help-fns--key-bindings)
20005 (help-fns--compiler-macro, help-fns--parent-mode)
20006 (help-fns--obsolete, help-fns--interactive-only)
20007 (describe-function-1, describe-variable):
20008 * lisp/help.el (describe-mode):
20009 Use substitute-command-keys to ensure a more-consistent quoting
20010 style in help buffers.
20011 * lisp/cus-start.el (standard):
20012 Document new help-quote-translation behavior.
20013 * lisp/emacs-lisp/lisp-mode.el (lisp-fdefs):
20014 * lisp/help-mode.el (help-xref-symbol-regexp, help-xref-info-regexp)
20015 (help-xref-url-regexp):
20016 * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
20017 * lisp/wid-edit.el (widget-documentation-link-regexp):
20018 Also match 'foo', in case we're in a help buffer generated when
20019 help-quote-translation is ?'.
20020 * src/doc.c: Include disptab.h, for DISP_CHAR_VECTOR.
20021 (LEFT_SINGLE_QUOTATION_MARK, uLSQM0, uLSQM1, uLSQM2, uRSQM0)
20022 (uRSQM1, uRSQM2, LSQM, RSQM): New constants.
20023 (Fsubstitute_command_keys): Document and implement new behavior.
20024 (Vhelp_quote_translation): Document new behavior.
20026 2015-06-18 Glenn Morris <rgm@gnu.org>
20028 * lisp/cus-start.el (help-quote-translation): Add :version.
20030 * src/doc.c (Fsubstitute_command_keys): Make previous change compile.
20032 2015-06-18 Alan Mackenzie <acm@muc.de>
20034 Make translation of quotes to curly in doc strings optional.
20035 * src/doc.c (traditional, prefer-unicode): New symbols.
20036 (help-quote-translation): New variable.
20037 (Fsubstitute_command_keys): Make translation of quotes dependent on
20038 `help-quote-translation'; also translate curly quotes back to ASCII
20040 * lisp/cus-start.el (top-level): Add a customization entry for
20041 `help-quote-translation'.
20043 2015-06-18 Artur Malabarba <bruce.connor.am@gmail.com>
20045 * lisp/emacs-lisp/package.el: Don't always propagate async errors
20046 (package--with-work-buffer-async): Only propagate the error if the
20047 callback returns non-nil.
20048 (package--download-one-archive): Return nil on the signature
20049 checking callback if we accept unsigned.
20050 (package--download-and-read-archives): Return non-nil on the
20051 archive download callback.
20053 2015-06-18 Martin Rudalics <rudalics@gmx.at>
20055 Set image_cache_refcount before x_default_parameter calls. (Bug#20802)
20056 * src/nsfns.m (Fx_create_frame):
20057 * src/xfns.c (Fx_create_frame, x_create_tip_frame): Move setting
20058 image_cache_refcount before first x_default_parameter call.
20060 2015-06-18 Eli Zaretskii <eliz@gnu.org>
20062 Improve and extend filepos-to-bufferpos
20063 * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
20064 Don't barf if F returns nil for some argument.
20065 (filepos-to-bufferpos): Expand to support UTF-16 and not assume
20066 that every encoding of type 'charset' is single-byte.
20068 2015-06-18 Artur Malabarba <bruce.connor.am@gmail.com>
20070 * lisp/emacs-lisp/package.el (package-menu--perform-transaction):
20071 Properly delete packages. (Bug#20836)
20073 2015-06-18 Eli Zaretskii <eliz@gnu.org>
20075 Update data files from just-released Unicode 8.0
20076 * etc/NEWS: Update wording since Unicode 8.0 is no longer in draft
20078 * test/BidiCharacterTest.txt: Update from Unicode 8.0.
20079 * admin/unidata/BidiMirroring.txt:
20080 * admin/unidata/BidiBrackets.txt:
20081 * admin/unidata/UnicodeData.txt: Update from Unicode 8.0.
20083 2015-06-18 Paul Eggert <eggert@cs.ucla.edu>
20085 Document curved quotes a bit better
20086 * doc/emacs/basic.texi (Inserting Text):
20087 Mention C-x 8. Change example to use curved quote rather
20088 than infinity, as this lets us give more ways to do it.
20089 * doc/emacs/mule.texi (International Chars): Mention C-x 8 shortcuts
20090 and quotation marks.
20091 * doc/emacs/text.texi (Quotation Marks):
20092 * doc/lispref/tips.texi (Documentation Tips):
20093 Add "curly quotes" and "curved quotes" to the index.
20094 * doc/emacs/text.texi (Quotation Marks):
20095 Give the C-x 8 shorthands for curved quotes.
20096 Cross-reference to "Quotation Marks".
20098 2015-06-17 Daiki Ueno <ueno@gnu.org>
20100 Add pinentry.el for better GnuPG integration
20101 * lisp/pinentry.el: New file.
20102 * etc/NEWS: Add entry about pinentry.el.
20103 * lisp/epg.el (epg--start): Set INSIDE_EMACS envvar.
20106 2015-06-17 Artur Malabarba <bruce.connor.am@gmail.com>
20108 * lisp/emacs-lisp/package.el: Slightly better error reporting.
20110 2015-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20112 (define-minor-mode): Use setq-default for :global minor modes
20113 * lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
20114 Use setq-default for :global minor modes (bug#20712).
20116 2015-06-17 Eli Zaretskii <eliz@gnu.org>
20118 Avoid infloop in redisplay with tall images
20119 * src/xdisp.c (try_scrolling): Prevent an infloop when scrolling
20120 down near ZV. (Bug#20808)
20121 Call bidi_unshelve_cache to avoid memory leaks. Use IT_CHARPOS
20122 instead of CHARPOS.
20124 2015-06-17 Artur Malabarba <bruce.connor.am@gmail.com>
20126 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
20127 Fix error reporting.
20129 * lisp/emacs-lisp/let-alist.el: Move to lisp/emacs-lisp/let-alist.el
20131 * lisp/emacs-lisp/package.el: Revert buffer after any operation
20132 Call `package-menu--post-refresh' after any operation that changes
20133 the package database (`package-install' and `package-delete'). To
20134 avoid performance issues in large transactions, these functions
20135 add `post-refresh' to `post-command-hook' instead of calling it
20137 (package-menu--mark-or-notify-upgrades): New function.
20138 (list-packages): Add it to `package--post-download-archives-hook'.
20139 (package-menu--post-refresh): Lose the upgrade-checking code, add
20140 code to remove itself from `post-command-hook'.
20141 (package-install, package-delete): Add it to `post-command-hook'.
20142 (package-menu-execute): Don't call `package-menu--post-refresh'.
20144 2015-06-17 Stephen Leake <stephen_leake@stephe-leake.org>
20146 Add missing function xref-location-group for elisp-mode.
20147 * lisp/progmodes/elisp-mode.el: Add missing function xref-location-group.
20149 2015-06-17 Wolfgang Jenkner <wjenkner@inode.at>
20151 * src/editfns.c (Fbyte_to_position): Fix bytepos not at char boundary.
20152 The behavior now matches the description in the manual. (Bug#20783)
20154 2015-06-17 Xue Fuqiao <xfq.free@gmail.com>
20156 * etc/tutorials/TUTORIAL.cn: Update; synchronize with TUTORIAL.
20158 2015-06-17 Glenn Morris <rgm@gnu.org>
20160 Generate char-script-table from Unicode source. (Bug#20789)
20161 * admin/unidata/Makefile.in (AWK): New, set by configure.
20162 (all): Add charscript.el.
20163 (blocks): New variable.
20164 (charscript.el, ${unidir}/charscript.el): New targets.
20165 (extraclean): Also remove generated charscript.el.
20166 * admin/unidata/blocks.awk: New script.
20167 * admin/unidata/Blocks.txt: New data file, from unicode.org.
20168 * lisp/international/characters.el: Load charscript.
20169 * src/Makefile.in (charscript): New variable.
20170 (${charscript}): New target.
20171 (${lispintdir}/characters.elc): Depend on charscript.elc.
20172 (temacs$(EXEEXT)): Depend on charscript.
20174 * lisp/international/characters.el (char-script-table): Tweak
20175 some ranges to better match the source. (Bug#20789#17)
20177 Remove "no-byte-compile: t" from a few files.
20178 * lisp/obsolete/bruce.el, lisp/obsolete/keyswap.el:
20179 * lisp/obsolete/patcomp.el: No reason not to compile these.
20181 2015-06-16 Glenn Morris <rgm@gnu.org>
20183 Fix some typos in copied Unicode data. (Bug#20789)
20184 * lisp/international/characters.el (char-script-table):
20185 * lisp/international/fontset.el (script-representative-chars)
20186 (setup-default-fontset): Fix typos.
20188 * lisp/emacs-lisp/check-declare.el (check-declare-warn):
20189 Don't print filename twice (it's in the prefix now).
20191 * lisp/emacs-lisp/pcase.el (pcase--u1): Revert earlier workaround.
20194 Address a compilation warning.
20195 * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defalias):
20196 Replace 't' with '_' in pcase.
20198 Address some check-declare warnings.
20199 * lisp/simple.el (tabulated-list-print):
20200 * lisp/progmodes/elisp-mode.el (xref-collect-matches):
20201 * lisp/term/ns-win.el (ns-selection-owner-p, ns-selection-exists-p)
20202 (ns-get-selection): Update declarations.
20204 Address some compilation warnings.
20205 * lisp/elec-pair.el (electric-pair-post-self-insert-function):
20206 * lisp/vc/vc-git.el (vc-git-file-type-as-string):
20207 Replace 't' with '_' in pcase.
20209 Address some compilation warnings.
20210 * lisp/face-remap.el (text-scale-adjust):
20211 * lisp/menu-bar.el (popup-menu-normalize-position):
20212 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand):
20213 * lisp/emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
20214 * lisp/emacs-lisp/generator.el (cps--transform-1):
20215 * lisp/emacs-lisp/macroexp.el (macroexp--expand-all):
20216 * lisp/obsolete/vc-arch.el (vc-arch-mode-line-string):
20217 * lisp/progmodes/octave.el (octave-goto-function-definition)
20218 (octave-find-definition-default-filename):
20219 Replace 't' with '_' in pcase.
20221 * lisp/emacs-lisp/pcase.el (pcase--u1):
20222 Paper-over today's bootstrap failure.
20224 2015-06-16 Nicolas Petton <nicolas@petton.fr>
20226 * lisp/emacs-lisp/seq.el: Fix a byte-compiler warnings related to pcase.
20228 * lisp/emacs-lisp/map.el (map-into): Fix a byte-compiler warning.
20230 Better confirmation message in `find-alternate-file' (Bug#20830)
20231 * lisp/files.el (find-alternate-file'): Improve the confirmation
20232 message to show the buffer name.
20234 Better docstring for null. (Bug#20815)
20235 * src/data.c (null): Improves the docstring, saying what null returns
20236 when OBJECT is non-nil.
20238 2015-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
20240 * lisp/net/newst-treeview.el: Use lexical-binding.
20242 (filepos-to-bufferpos): Add missing cases. Make sure it terminates.
20243 * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
20244 New auxiliary function, extracted from filepos-to-bufferpos.
20245 Make sure it terminates.
20246 (filepos-to-bufferpos): Use it to fix the latin-1-dos case.
20247 Add support for the `exact' quality.
20249 2015-06-16 Cédric Chépied <cedric.chepied@gmail.com>
20251 Identify feeds in newsticker treeview with :nt-feed property
20252 * lisp/net/newst-treeview.el:
20253 (newsticker--treeview-nodes-eq): Use property :nt-feed instead of :tag.
20255 2015-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
20257 * lisp/emacs-lisp/pcase.el: Improve docs and error handling.
20258 (pcase--self-quoting-p): Floats aren't self-quoting.
20259 (pcase): Tweak docstring.
20260 (pcase--u1): Deprecate the t pattern. Improve error detection for
20262 (\`): Tweak docstring. Signal an error for unrecognized cases.
20265 2015-06-16 Eli Zaretskii <eliz@gnu.org>
20267 Fix infloop in filepos-to-bufferpos
20268 * lisp/international/mule-util.el (filepos-to-bufferpos): Fix EOL
20269 offset calculation, and make it conditional on the eol-type of the
20270 file's encoding. (Bug#20825)
20272 2015-06-16 Martin Rudalics <rudalics@gmx.at>
20274 Fix handling of image cache refcounts. (Bug#20802)
20275 This backports Eli Zaretskii's solution of this problem for W32
20277 * src/nsfns.m (image_cache_refcount): Define unconditionally.
20278 (unwind_create_frame): If the image cache's reference count
20279 hasn't been updated yet, do that now.
20280 (Fx_create_frame): Set image_cache_refcount unconditionally.
20281 * src/xfns.c (image_cache_refcount): Define unconditionally.
20282 (unwind_create_frame): If the image cache's reference count
20283 hasn't been updated yet, do that now.
20284 (Fx_create_frame, x_create_tip_frame): Set image_cache_refcount
20286 * src/w32fns.c (image_cache_refcount): Make it a ptrdiff_t as on
20289 2015-06-16 Nils Ackermann <nils@ackermath.info>
20291 Improve reftex-label-regexps default value
20292 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Make
20293 keyvals label regexp more strict to better cope with unbalanced
20294 brackets common in math documents.
20296 2015-06-16 Glenn Morris <rgm@gnu.org>
20298 * doc/emacs/calendar.texi (Format of Diary File):
20299 Move "nonmarking" from here...
20300 (Displaying the Diary): ... to here.
20302 * doc/emacs/calendar.texi (Format of Diary File, Displaying the Diary):
20303 Swap the order of these nodes.
20304 * doc/emacs/emacs.texi: Update detailed menu for the above change.
20306 * doc/emacs/calendar.texi (Specified Dates, Special Diary Entries):
20307 Update date of examples.
20308 (Diary, Format of Diary File): Move example from former to latter.
20309 Reduce duplication.
20311 No need for cp51932.el, eucjp-ms.el to not be compiled any more.
20312 * admin/charsets/cp51932.awk, admin/charsets/eucjp-ms.awk:
20313 Don't set no-byte-compile in the outputs.
20314 * lisp/loadup.el: Don't specify uncompiled cp51932, eucjp-ms.
20316 2015-06-15 Glenn Morris <rgm@gnu.org>
20318 * lisp/calendar/calendar.el (diary-file): Use locate-user-emacs-file.
20319 * doc/emacs/calendar.texi (Diary, Format of Diary File):
20320 Update for above diary-file change.
20322 * lisp/macros.el (name-last-kbd-macro, kbd-macro-query)
20323 (apply-macro-to-region-lines): Use user-error.
20325 * lisp/textmodes/page-ext.el (add-new-page, pages-directory)
20326 (pages-directory-for-addresses): Doc fixes.
20328 2015-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20330 * lisp/info.el: Cleanup bytepos/charpos issues
20331 * lisp/international/mule-util.el: Use lexical-binding.
20332 (filepos-to-bufferpos): New function.
20333 * lisp/info.el (Info-find-in-tag-table-1): Use 0-based file positions.
20334 (Info-find-node-2): Use filepos-to-bufferpos (bug#20704).
20335 (Info-read-subfile, Info-search): Use 0-based file positions.
20337 * lisp/progmodes/perl-mode.el: Refine handling of /re/ and y/abc/def/
20338 (perl--syntax-exp-intro-keywords): New var.
20339 (perl--syntax-exp-intro-regexp, perl-syntax-propertize-function): Use it.
20342 2015-06-15 Paul Eggert <eggert@cs.ucla.edu>
20344 Fix quoting when making derived mode docstring
20345 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
20346 Nest regexp-quote inside format, not the reverse.
20347 Problem reported by Artur Malabarba in:
20348 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00206.html
20350 2015-06-15 Eli Zaretskii <eliz@gnu.org>
20352 Fix current-iso639-language on MS-Windows
20353 * lisp/international/mule-cmds.el (set-locale-environment):
20354 Downcase the locale name before interning it. This is so the
20355 'current-iso639-language' on MS-Windows matches the ':lang'
20356 property of font-spec objects.
20358 Limit Symbola usage some more
20359 * lisp/international/fontset.el (setup-default-fontset): Limit
20360 Symbol coverage of Currency Symbols to u+20B6..u+20CF.
20363 2015-06-15 Nicolas Petton <nicolas@petton.fr>
20365 * lisp/emacs-lisp/map.el (map-let): Better docstring.
20367 2015-06-15 Paul Eggert <eggert@cs.ucla.edu>
20369 * test/automated/help-fns.el (abc\\\[universal-argument\]b\`c\'d\\e\"f):
20370 (help-fns-test-funny-names): Spelling fixes.
20372 2015-06-14 Glenn Morris <rgm@gnu.org>
20374 * lisp/version.el (emacs-repository-version-git): Demote errors.
20375 Check result is a hash.
20377 2015-06-14 Artur Malabarba <bruce.connor.am@gmail.com>
20379 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
20380 Catch errors that happen before going async. (Bug#20809)
20382 2015-06-14 Eli Zaretskii <eliz@gnu.org>
20384 Another improvement of documentation of set-fontset-font
20385 * doc/lispref/display.texi (Fontsets): Say explicitly that
20386 CHARACTER can be a single codepoint.
20387 * src/fontset.c (Fset_fontset_font): Doc fix.
20389 Another improvement for symbol and punctuation characters
20390 * lisp/international/fontset.el (setup-default-fontset): Exclude
20391 from Symbola character ranges for symbols and punctuation covered
20392 well by popular Unicode fonts. Prefer fixed-misc Unicode font, if
20393 installed and where its coverage of symbols and punctuation is
20394 known to be good. (Bug#20727)
20396 2015-06-14 Christoph Wedler <christoph.wedler@sap.com>
20398 Some generic support for multi-mode indentation.
20399 * lisp/progmodes/prog-mode.el (prog-indentation-context):
20401 (prog-first-column, prog-widen): New convenience functions.
20403 2015-06-14 Artur Malabarba <bruce.connor.am@gmail.com>
20405 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
20406 Don't assume that `tabulated-list-printer' will leave point at the
20407 end of the buffer. (Bug#20810)
20409 2015-06-13 Glenn Morris <rgm@gnu.org>
20411 Tweaks for getting repository version; a bit more like it was for bzr
20412 * lisp/version.el (emacs-repository-version-git)
20413 (emacs-repository--version-git-1): New functions,
20414 split from emacs-repository-get-version.
20415 (emacs-repository-get-version): Make the second argument meaningful.
20417 * lisp/startup.el (command-line-1): Inform if skipping relative
20418 file names due to deleted PWD.
20420 * src/xsmfns.c (x_session_initialize): Avoid libSM crash
20421 when starup directory is missing. (Bug#18851)
20422 (errno.h): Include it.
20424 2015-06-13 Paul Eggert <eggert@cs.ucla.edu>
20426 Better fix for documenting `X as "`X"
20427 Fix suggested by Stefan Monnier.
20428 * lisp/help-fns.el (help-fns--signature):
20429 Insert "`X", not "(\` X)", when documenting `X (Bug#20759).
20430 * lisp/help.el (help-split-fundoc, help--make-usage-docstring):
20431 Don't treat `X specially, as help-fns--signature now handles this.
20433 2015-06-13 Eli Zaretskii <eliz@gnu.org>
20435 Improve the default fontset when Symbola is not installed
20436 * lisp/international/fontset.el (setup-default-fontset): Only
20437 prepend Symbola and FreeMono font specs for symbols and
20438 punctuation; do not replace the default spec for them. This
20439 should have better results when Symbola/FreeMono are not
20440 installed. (Bug#20727)
20442 Improve documentation of ':lang' in font specs
20443 * src/font.c (Ffont_spec): Doc fix: elaborate on the values and
20444 use of the ':lang' property of the font spec.
20445 * doc/emacs/frames.texi (Fonts): Document the language names that
20446 can be in the STYLE part of XLFD.
20447 * doc/lispref/display.texi (Low-Level Font): Document the ':lang'
20450 * nt/README: Don't advertise the (obsolescent) w32 FAQ.
20452 * nt/README.W32: Don't advertise the (obsolescent) w32 FAQ.
20454 Revert last change in fontset.el
20455 * lisp/international/fontset.el (setup-default-fontset): Revert
20456 the change "Configure Symbola font only if installed", since font
20457 search is evidently not yet set up when this function is called.
20460 2015-06-12 Glenn Morris <rgm@gnu.org>
20462 Ensure early startup warnings are visible at the end. (Bug#20792)
20463 * lisp/emacs-lisp/warnings.el (display-warning):
20464 If startup isn't complete, delay the warning.
20465 * lisp/startup.el (normal-top-level, command-line):
20466 Let display-warning automatically handle the needed delays.
20467 Run delayed-warnings-hook.
20469 * lisp/version.el (emacs-repository-get-version):
20470 Avoid calling external executable if possible. (Bug#20799)
20472 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
20474 Document `X as "`X", not as "(` X)"
20475 * lisp/help.el (help-split-fundoc, help--make-usage-docstring):
20476 Document (backquote FOO) as "`FOO", not as "(` FOO)" (Bug#20759).
20478 * src/print.c (print_object): Minor simplification.
20480 2015-06-12 Glenn Morris <rgm@gnu.org>
20482 * src/buffer.c (init_buffer): Add final newline to message.
20484 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
20486 Configure Symbola font only if installed
20487 * lisp/international/fontset.el (setup-default-fontset):
20488 Don't specify the Symbola font if it's not installed.
20489 Likewise for FreeMono. (Bug#20727)
20491 2015-06-12 Eli Zaretskii <eliz@gnu.org>
20493 Configure Symbola font only for symbols and punctuation
20494 * lisp/international/fontset.el (setup-default-fontset): Leave
20495 only symbols and punctuation in the fontset setup for Symbola
20496 font; remove "Greek and Coptic" and "Cyrillic Supplement".
20499 2015-06-12 Andreas Schwab <schwab@linux-m68k.org>
20501 Fix crash in fontset-info
20502 * src/fontset.c (Ffontset_info): Check that the RFONT-DEF elt is
20505 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
20507 Port to Solaris 10 sparc + Sun C 5.13
20508 * configure.ac (SETUP_SLAVE_PTY) [sol2* | unixware]:
20509 Adjust to process.c change.
20510 * src/process.c (create_process): Declare volatile variables at
20511 top level of this function, so that they're less likely to be
20512 reused later in the function in the code executed by the vforked
20513 child. Do not declare locals used only in the vforked child, as
20514 they might share memory with locals still live in the parent.
20515 Instead, use the same variables in the child as in the parent.
20516 This works around a subtle bug that causes a garbage collector
20517 crash when Emacs is built with Sun C 5.13 sparc on Solaris 10.
20519 2015-06-12 Glenn Morris <rgm@gnu.org>
20521 * lisp/startup.el (normal-top-level): Don't let *Messages* get
20522 a nil default-directory.
20524 2015-06-11 Glenn Morris <rgm@gnu.org>
20526 * lisp/startup.el (normal-top-level): Use delay-warning. (Bug#20792)
20528 Some progress towards starting with PWD deleted. (Bug#18851)
20529 * src/buffer.c (init_buffer): Handle get_current_dir_name failures.
20530 * lisp/startup.el (normal-top-level, command-line-1):
20531 * lisp/minibuffer.el (read-file-name-default):
20532 Handle default-directory being nil.
20534 2015-06-11 Paul Eggert <eggert@cs.ucla.edu>
20536 Fix "not a tty" bug on Solaris 10
20537 * configure.ac (PTY_OPEN): Define to plain 'open'
20538 on SVR4-derived hosts, so that the O_CLOEXEC flag isn't set.
20539 * src/process.c (allocate_pty): Set the O_CLOEXEC flag after
20540 calling PTY_TTY_NAME_SPRINTF, for the benefit of SVR4-derived
20541 hosts that call grantpt which does its work via a setuid subcommand
20542 (Bug#19191, Bug#19927, Bug#20555, Bug#20686).
20543 Also, set O_CLOEXEC even if PTY_OPEN is not defined, since it
20544 seems relevant in that case too.
20546 2015-06-11 Juri Linkov <juri@linkov.net>
20548 * lisp/bindings.el (debug-ignored-errors): Add mark-inactive.
20549 * lisp/simple.el (kill-region): Replace 'error' with 'user-error'.
20552 2015-06-11 Glenn Morris <rgm@gnu.org>
20554 * lisp/international/characters.el (char-script-table): Fix typo.
20556 2015-06-11 Paul Eggert <eggert@cs.ucla.edu>
20558 Fix quoting of help for functions with odd names
20559 While investigating Bug#20759, I discovered other quoting problems:
20560 C-h f mishandled characters like backslash and quote in function names.
20561 This fix changes the behavior so that 'C-h f pcase RET' now
20562 generates "... (\` QPAT) ..." instead of "... (` QPAT) ...",
20563 because '(format "%S" '(` FOO))' returns "(\\` FOO)". A comment
20564 in src/lread.c's read1 function says that the backslash will be
20565 needed starting in Emacs 25, which implies that 'format' is
20566 correct and the old pcase documention was wrong to omit the backslash.
20567 * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
20568 * lisp/help-fns.el (help-fns--signature):
20569 * lisp/help.el (help-add-fundoc-usage):
20570 * lisp/progmodes/elisp-mode.el (elisp-function-argstring):
20571 Use help--make-usage-docstring rather than formatting
20573 * lisp/emacs-lisp/pcase.el (pcase--make-docstring):
20574 Return raw docstring.
20575 * lisp/help-fns.el (help-fns--signature): New arg RAW, to return
20576 raw docstring. Take more care to distinguish raw from cooked dstrings.
20577 (describe-function-1): Let help-fns--signature substitute
20579 * lisp/help.el (help--docstring-quote): New function.
20580 (help-split-fundoc): Use it, to quote funny characters more
20582 (help--make-usage): Rename from help-make-usage, since this
20583 should be private. Leave an obsolete alias for the old name.
20584 (help--make-usage-docstring): New function.
20585 * test/automated/help-fns.el (help-fns-test-funny-names): New test.
20587 2015-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
20589 * lisp/thingatpt.el (in-string-p): Revert last change,
20590 since in-string-p is not used in thingatpt.el but only from outside.
20591 Also, use lexical binding.
20593 2015-06-11 Artur Malabarba <bruce.connor.am@gmail.com>
20595 * lisp/emacs-lisp/let-alist.el (let-alist--deep-dot-search): Fix cons.
20596 * test/automated/let-alist.el (let-alist-cons): Test it.
20598 2015-06-11 Nicolas Richard <theonewiththeevillook@yahoo.fr>
20600 * src/syntax.c (Fbackward_prefix_chars): Reword docstring.
20602 2015-06-10 Glenn Morris <rgm@gnu.org>
20604 * build-aux/gitlog-to-emacslog: Also ignore pointless merge commits.
20606 Improve generated ChangeLog for gitmerge.el commits. (Bug#20717)
20607 * build-aux/gitlog-to-changelog: Handle gitmerge.el skipped commits.
20608 * admin/gitmerge.el (gitmerge-commit-message):
20609 Exclude "skipped" messages from ChangeLog once again.
20611 Slight namespace cleanup for thingatpt.el.
20612 * lisp/thingatpt.el (thing-at-point--in-string-p)
20613 (thing-at-point--end-of-sexp, thing-at-point--beginning-of-sexp)
20614 (thing-at-point--read-from-whole-string): Rename from
20615 old versions without "thing-at-point--" prefix.
20616 Keep old versions as obsolete aliases. Update all uses.
20618 * lisp/emacs-lisp/checkdoc.el (checkdoc-get-keywords):
20619 Move requiring of finder from here...
20620 (checkdoc-package-keywords): ... to here.
20622 Use 'user-error' in a few calendar files.
20623 * lisp/calendar/appt.el (appt-add):
20624 * lisp/calendar/calendar.el (calendar-absolute-from-gregorian)
20625 (calendar-generate):
20626 * lisp/calendar/diary-lib.el (diary-mail-entries, diary-cyclic):
20627 Replace 'error' with 'user-error'.
20629 * lisp/progmodes/f90.el (f90-backslash-not-special): Use user-error.
20631 * lisp/files-x.el (add-file-local-variable):
20632 Special-case 'lexical-binding'. (Bug#20641)
20634 * lisp/progmodes/executable.el (executable-self-display): Obsolete.
20635 No longer autoload.
20636 * doc/misc/autotype.texi (Executables):
20637 Undocument executable-self-display.
20639 * lisp/progmodes/executable.el (executable-self-display):
20640 Use non-obsolete tail syntax. (Bug#20779)
20641 (executable-self-display): Doc update.
20643 2015-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
20645 * lisp/emacs-lisp/checkdoc.el: Use lexical-binding
20646 (finder-known-keywords): Silence byte-compiler.
20648 2015-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
20650 * lisp/simple.el (eval-expression): Macroexpand before evaluating
20653 * lisp/progmodes/sh-script.el: Better handle nested quotes.
20654 (sh-here-doc-open-re): Don't mis-match the <<< operator (bug#20683).
20655 (sh-font-lock-quoted-subshell): Make sure double quotes within single
20656 quotes don't mistakenly end prematurely the surrounding string.
20658 * lisp/progmodes/elisp-mode.el: Require cl-lib for cl-defstruct.
20660 2015-06-09 Glenn Morris <rgm@gnu.org>
20662 * test/automated/Makefile.in (ELFILES): Sort.
20664 * Makefile.in (SUBDIR_MAKEFILES):
20665 * lwlib/Makefile.in (WARN_CFLAGS):
20666 Use built-in Make functions rather than echo+sed.
20668 2015-06-09 Eli Zaretskii <eliz@gnu.org>
20670 Update char-script-table
20671 * lisp/international/characters.el (char-script-table): Update
20672 from Unicode 8.0 Draft.
20674 Improve font selection for punctuation and other symbols
20675 * src/fontset.c (face_for_char): If the character's script is
20676 'symbol', and the font used for ASCII face has a glyph for it, use
20677 the font for the ASCII face instead of searching the fontsets.
20678 This comes instead of NS-specific code that used the current
20679 face's font instead, which is now disabled due to undesirable
20680 consequences. (Bug#20727)
20682 2015-06-08 Dmitry Gutov <dgutov@yandex.ru>
20684 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
20685 Skip past `#' to find BEG (bug#20771).
20686 * test/automated/elisp-mode-tests.el
20687 (elisp-completes-functions-after-hash-quote): New test.
20689 2015-06-08 Eli Zaretskii <eliz@gnu.org>
20691 Fix compilation warning/error in --without-x builds
20692 * src/xdisp.c (append_space_for_newline): Condition GUI-specific
20693 code on HAVE_WINDOW_SYSTEM.
20695 Improve the default fontset wrt symbols
20696 * lisp/international/fontset.el (setup-default-fontset): Better
20697 setup of fontset-default for symbols: use Symbola and FreeMono.
20700 2015-06-08 Oleh Krehel <ohwoeowho@gmail.com>
20702 Add new command checkdoc-package-keywords
20703 * lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag):
20705 (checkdoc-list-of-strings-p): Add doc.
20706 (checkdoc-current-buffer): When `checkdoc-package-keywords-flag' is
20707 non-nil, call `checkdoc-package-keywords'.
20708 (checkdoc-get-keywords): New defun.
20709 (checkdoc-package-keywords): New command. Warns if the current file
20710 has package.el-style keywords that aren't in `finder-known-keywords'.
20711 * etc/NEWS: Add entry.
20713 2015-06-08 Eli Zaretskii <eliz@gnu.org>
20715 Avoid crashes when key-binding is called from a timer
20716 * src/keymap.c (Fkey_binding): Don't segfault if called with an
20717 empty vector as KEY. (Bug#20705)
20719 Fix a thinko in arc-mode.el
20720 * lisp/arc-mode.el (archive-zip-summarize): Fix last change in the
20721 non-Zip64 case. (Bug#20769)
20723 2015-06-08 Artur Malabarba <bruce.connor.am@gmail.com>
20725 * lisp/emacs-lisp/package.el (package-delete): Make interactive.
20727 2015-06-08 Oleh Krehel <ohwoeowho@gmail.com>
20729 * lisp/emacs-lisp/checkdoc.el (checkdoc-file): New function.
20730 (checkdoc-error): When `checkdoc-diagnostic-buffer' is set to
20731 "*warn*", print the warning to the standard output. (bug#20754)
20733 2015-06-07 Glenn Morris <rgm@gnu.org>
20735 * admin/update_autogen (changelog_files): Remove gitlog-to-emacslog.
20737 * src/font.c (syms_of_font) <font-log>: Doc fix.
20739 Remove the obsolete leading "*" from some C doc strings.
20740 * src/coding.c (syms_of_coding):
20741 * src/font.c (syms_of_font): Remove leading "*" from docs.
20742 * lisp/cus-start.el (enable-character-translation): Add it.
20744 2015-06-07 Paul Eggert <eggert@cs.ucla.edu>
20746 Move gen_origin from program to data
20747 That way, 'make change-history' needs to change only ChangeLog.2,
20748 instead of having to change two files.
20749 * ChangeLog.2: Add commit info for range that this file covers.
20750 * Makefile.in (new_commit_regexp): New macro.
20751 (change-history-nocommit): Simplify, by putting what used to be
20752 the gen_origin value into the data (ChangeLog.2) rather than
20753 into the program (gitlog-to-emacslog).
20754 * build-aux/gitlog-to-emacslog (gen_origin): Calculate from
20755 the input file (e.g., ChangeLog.2) rather than by having a
20756 constant in the program. Substitute it into the output.
20758 2015-06-07 Dmitry Gutov <dgutov@yandex.ru>
20760 * lisp/help-fns.el (help-fns--signature): Quote any quotes in the
20761 function name (bug#20759).
20763 2015-06-07 Eli Zaretskii <eliz@gnu.org>
20765 Adapt 'struct timespec' to next release of MinGW runtime
20766 * nt/inc/ms-w32.h (struct timespec): Don't declare if
20767 __struct_timespec_defined is defined.
20769 2015-06-06 Paul Eggert <eggert@cs.ucla.edu>
20773 2015-06-06 acl-permissions: pacify -Wsuggest-attribute=const
20774 2015-06-05 stdio: Don't redefine gets when using C++
20775 2015-06-05 acl-permissions: port to AIX, C89 HP-UX
20776 2015-06-02 file-has-acl: fix build on Mac OS X 10
20777 2015-06-01 gnulib-tool: concatenate lib_SOURCES to a single line
20778 2015-06-01 pthread_sigmask: discount system version if a simple macro
20779 2015-05-31 readlinkat: avoid OS X 10.10 trailing slash bug
20780 * doc/misc/texinfo.tex, lib/acl-internal.h, lib/get-permissions.c:
20781 * lib/readlinkat.c, lib/set-permissions.c, lib/stdio.in.h:
20782 * m4/acl.m4, m4/pthread_sigmask.m4, m4/readlinkat.m4: Copy from gnulib.
20783 * lib/gnulib.mk: Regenerate.
20785 2015-06-06 Juri Linkov <juri@linkov.net>
20787 * lisp/progmodes/grep.el (zrgrep): Let-bind grep-highlight-matches
20788 before calling grep-compute-defaults because now it affects the
20789 command lines computed in grep-compute-defaults. (Bug#20728)
20791 2015-06-06 Glenn Morris <rgm@gnu.org>
20793 Address some compilation warnings.
20794 * lisp/international/mule-cmds.el (w32-get-console-codepage)
20795 (w32-get-console-output-codepage):
20796 * lisp/progmodes/elisp-mode.el (xref-collect-references):
20797 * lisp/version.el (cairo-version-string): Declare.
20798 * lisp/erc/erc.el (erc-nickname-in-use): Fix typo.
20800 2015-06-06 Eli Zaretskii <eliz@gnu.org>
20802 Fix display when a font claims large values of ascent and descent
20803 This fixes bug#20628.
20804 * src/xdisp.c (get_phys_cursor_geometry): Correct the Y
20805 coordinate of a hollow cursor glyph when the original glyph's
20806 ascent is too small.
20807 (get_font_ascent_descent, normal_char_ascent_descent)
20808 (normal_char_height): New functions.
20809 (handle_single_display_spec, append_space_for_newline)
20810 (calc_pixel_width_or_height, produce_stretch_glyph)
20811 (calc_line_height_property): Use normal_char_ascent_descent and
20812 normal_char_height.
20813 (x_produce_glyphs): When font-global values of ascent and descent
20814 are too large, use per-character glyph metrics instead, if
20815 possible. But don't allow the glyph row's ascent and descent
20816 values become smaller than the values from the metrics of the
20817 font's "normal" character.
20818 * src/xftfont.c (xftfont_draw):
20819 * src/w32font.c (w32font_draw): Correct the values of ascent and
20820 descent used to draw glyphless characters' hex code in a box.
20821 * src/xterm.c (x_draw_glyph_string_background):
20822 * src/xdisp.c (x_produce_glyphs):
20823 * src/w32term.c (x_draw_glyph_string_background):
20824 * src/nsterm.m (ns_maybe_dumpglyphs_background): Use FONT_TOO_HIGH
20825 to detect fonts whose global ascent and descent values are too
20826 large to be used in layout decision, and redraw the background
20828 * src/dispextern.h (FONT_TOO_HIGH): New macro.
20829 (get_font_ascent_descent): Add prototype.
20830 * src/xterm.c (x_new_font):
20831 * src/w32term.c (x_new_font):
20832 * src/nsterm.m (x_new_font):
20833 * src/font.c (font_open_entity):
20834 * src/composite.c (composition_gstring_width):
20835 Use get_font_ascent_descent to obtain reasonable values for ascent
20836 and descent of a font.
20838 2015-06-06 Nicolas Richard <youngfrog@members.fsf.org>
20840 Add assertion in adjust_point_for_property
20841 * src/keyboard.c (adjust_point_for_property): Add eassert for
20842 current buffer being shown in selected window.
20844 2015-06-06 Dmitry Gutov <dgutov@yandex.ru>
20846 Replace uses of in-string-p; make it obsolete
20847 * lisp/thingatpt.el (in-string-p): Declare obsolete (bug#20732).
20848 (end-of-sexp, beginning-of-sexp): Use syntax-ppss instead.
20850 2015-06-06 Eli Zaretskii <eliz@gnu.org>
20852 Fix Dired display of an explicit list of files by ls-lisp.el
20853 * lisp/ls-lisp.el (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt)
20854 (ls-lisp-gid-d-fmt, ls-lisp-gid-s-fmt): Make the initial values be
20855 correct for when displaying individual files separately, not as
20856 part of listing a directory, in which case these values are not
20857 recomputed by 'ls-lisp-insert-directory', but used verbatim.
20859 * lisp/dired.el (dired): Doc fix. (Bug#20739)
20861 2015-06-06 Nicolas Richard <youngfrog@members.fsf.org>
20863 Do not adjust point in a non-selected window
20864 * src/keyboard.c (command_loop_1): Do not adjust point when
20865 current buffer is not shown in selected window (Bug#20590).
20867 * etc/DEBUG: Mention 'maybe_call_debugger'
20869 2015-06-05 Nicolas Petton <nicolas@petton.fr>
20871 Fix a unit test for map.el
20872 * test/automated/map-tests.el (test-map-let): Fix the test to work
20873 with the new syntax of `map-let'.
20875 * lisp/emacs-lisp/map.el (map-let): Better docstring.
20877 Better syntax for the map pcase pattern
20878 * lisp/emacs-lisp/map.el: Improves the map pcase pattern to take
20879 bindings of the form (KEY PAT) or SYMBOL. KEY is not quoted.
20881 * lisp/emacs-lisp/map.el (map--dispatch): Better docstring.
20883 Fix a byte-compiler error in map-put and map-delete
20884 * lisp/emacs-lisp/map.el (map-put, map-delete): Ensure that `setq' is
20885 called with a symbol.
20887 2015-06-05 Glenn Morris <rgm@gnu.org>
20889 * admin/gitmerge.el (gitmerge-commit-message):
20890 Revert to including "skipped" messages in ChangeLog once again.
20892 2015-06-05 Tassilo Horn <tsdh@gnu.org>
20894 Use string> instead of equiv lambda with string<
20895 * lisp/help.el (view-emacs-news): Use string> instead of equivalent
20896 lambda with string<.
20898 2015-06-05 Glenn Morris <rgm@gnu.org>
20900 * lisp/emacs-lisp/map.el (map--dispatch): Move before use.
20901 (map--delete-array): Fix typo.
20903 * test/automated/map-tests.el: Replace "assert" with "should".
20905 * lisp/Makefile.in (SUBDIRS): Rename from SUBDIRS_ABS.
20906 (SUBDIRS_REL): Derive from SUBDIRS.
20908 Tweak some build messages.
20909 * lisp/Makefile.in ($(lisp)/loaddefs.el):
20910 * lisp/cus-dep.el (custom-make-dependencies):
20911 * lisp/finder.el (finder-compile-keywords): Say what we are doing.
20912 * lisp/international/titdic-cnv.el (batch-titdic-convert):
20913 Don't say how to compile.
20915 2015-06-05 Paul Eggert <eggert@cs.ucla.edu>
20917 Omit U+0332 COMBINING LOW LINE in previous change
20918 It turns out that it does not work on Ubuntu 15.04.
20920 Fix transliteration of Bahá'í months
20921 * lisp/calendar/cal-bahai.el (calendar-bahai-month-name-array):
20922 Improve quality of Latin transliteration of Bahá'í month names.
20924 Fix curved quotes in a few places
20925 * lisp/calc/calc-misc.el (calc-help): Fix quoting.
20926 The strings in question are not doc strings, so this partially
20927 undoes the recent change that assumed they were doc strings.
20928 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
20929 * lisp/info.el (Info-finder-find-node):
20931 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
20932 Also allow curved quotes in doc strings.
20934 2015-06-04 Glenn Morris <rgm@gnu.org>
20936 * lisp/Makefile.in (AM_V_at): Add missing definition.
20938 * lisp/Makefile.in: Quieten output a bit.
20939 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el):
20940 Don't echo directories, since the commands we invoke print them.
20942 * lisp/Makefile.in: Replace shell fragments in variables with $(shell).
20943 (SUBDIRS_REL, SUBDIRS_ABS, SUBDIRS_ALMOST, SUBDIRS_FINDER)
20944 (SUBDIRS_SUBDIRS): New variables.
20945 (setwins, setwins_almost, setwins_finder, setwins_for_subdirs):
20947 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el, $(lisp)/loaddefs.el)
20948 (update-subdirs, compile-main, compile-clean):
20949 Replace "setwins" usage with new "SUBDIRS" variables.
20951 * lisp/vc/compare-w.el (compare-windows-get-window-function):
20954 2015-06-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20956 * src/ftfont.c (ftfont_open2): Round divisions by upEM.
20958 Undo removal of x_clear_area call on expose for GTK3 or cairo
20959 * src/xterm.c (handle_one_xevent) [HAVE_GTK3 || USE_CAIRO]:
20960 Clear exposed area. (Bug#20677)
20962 2015-06-04 Glenn Morris <rgm@gnu.org>
20964 * doc/lispref/hash.texi (Creating Hash): Remove obsolete makehash.
20966 * lisp/Makefile.in (check-defun-dups): Also skip ldefs-boot.
20968 * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
20969 Rename from quail-lao-update-translation, since lao.el defines that.
20971 2015-06-04 Dmitry Gutov <dgutov@yandex.ru>
20973 Handle new-style advice in find-funct
20974 * lisp/emacs-lisp/find-func.el (find-function-advised-original):
20975 Handle new-style advice. Return the symbol's function definition.
20977 (find-function-library): Update accordingly.
20979 2015-06-04 Nicolas Petton <nicolas@petton.fr>
20983 * lisp/emacs-lisp/map.el: Better docstring for the map pcase macro.
20985 Add new function string-greaterp
20986 * lisp/subr.el (string-greaterp): New function. Also aliased to
20988 * test/automated/subr-tests.el (string-comparison-test): Add unit
20989 tests for `string>'and `string<'.
20990 * src/fns.c (string-lessp): Better docstring.
20992 2015-06-04 Eli Zaretskii <eliz@gnu.org>
20994 Fix timezone-related functions on MS-Windows
20995 * src/editfns.c (set_time_zone_rule) [WINDOWSNT]: Always call
20996 'xputenv', even if no reallocation of tzvalbuf was necessary.
20997 This fixes a bug in timezone-related functions on MS-Windows.
20998 Reported by Fabrice Popineau <fabrice.popineau@gmail.com>.
21000 2015-06-03 Paul Eggert <eggert@cs.ucla.edu>
21002 Don't pass raw directory name to 'error'
21003 * lisp/files.el (basic-save-buffer-2): Avoid format error if
21004 a directory name contains a string like "%s".
21006 2015-06-03 Dmitry Gutov <dgutov@yandex.ru>
21008 Override 'grep --color=always'
21009 * lisp/progmodes/xref.el (xref-collect-matches):
21010 Override --color=always in grep-find-template.
21012 2015-06-03 Michael Albinus <michael.albinus@gmx.de>
21014 Fix error introduced recently in file-notify-tests.el
21015 * test/automated/file-notify-tests.el
21016 (file-notify--test-remote-enabled): Do not use `file-notify--test-desc'.
21017 (file-notify--deftest-remote): Revert previous patch, not
21020 2015-06-03 Wolfgang Jenkner <wjenkner@inode.at>
21022 * src/indent.c (Fvertical_motion): Amend motion by 0 lines.
21023 Starting from a display string after a newline, point went to the
21024 previous line. Also, fix an inadvertent use of a buffer position
21025 with FETCH_BYTE. (Bug#20701)
21027 2015-06-03 Michael Albinus <michael.albinus@gmx.de>
21029 Instrument file-notify-test.el in order to catch hydra error
21030 * test/automated/file-notify-tests.el (file-notify--deftest-remote):
21031 Wrap body by `ignore-case', in order to trap non-local errors.
21033 2015-06-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21035 Undo previous changes in non-toolkit scroll bar drawing
21036 * src/xterm.c (x_scroll_bar_set_handle, x_scroll_bar_expose)
21037 [!USE_TOOLKIT_SCROLL_BARS]: Draw into scroll bar window. (Bug#20668)
21039 2015-06-03 Paul Eggert <eggert@cs.ucla.edu>
21041 * .gitignore: Also ignore doc/*/*/*.html and .ps.
21043 Support quotes 'like this' in info files
21044 This is possible when 'makeinfo --disable-encoding' is used
21046 * lisp/calc/calc-help.el (calc-describe-thing):
21047 * lisp/gnus/gnus-art.el (gnus-button-alist):
21048 * lisp/info.el (Info-find-index-name):
21049 * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
21050 Also support quotes 'like this'.
21051 * lisp/calc/calc-help.el (calc-describe-thing): Simplify.
21052 * lisp/finder.el (finder-font-lock-keywords): Remove var that
21053 hasn't been used in years, instead of bothering to fix its quoting.
21055 2015-06-02 Paul Eggert <eggert@cs.ucla.edu>
21057 * .gitignore: Remove !test/etags/html-src/*.html.
21058 It's no longer needed, since *.html was removed. Sort.
21060 2015-06-02 Dmitry Gutov <dgutov@yandex.ru>
21062 Restore <D> instead of '.' in grep-find-template
21063 * lisp/cedet/semantic/symref/grep.el
21064 (semantic-symref-grep-use-template): Update a comment.
21065 * lisp/progmodes/grep.el (grep-compute-defaults): Restore <D>
21066 instead of '.' in grep-find-template (bug#20719).
21067 (rgrep): Pass nil as the directory to rgrep-default-command.
21068 * lisp/progmodes/grep.el (grep-expand-keywords): Use '.' as the
21069 default value for DIR.
21070 * lisp/progmodes/xref.el (xref-collect-matches): Drop the
21073 2015-06-02 Glenn Morris <rgm@gnu.org>
21075 * configure.ac (emacs_config_features): Add X toolkit and scroll-bars.
21077 * configure.ac (emacs_config_features): Add Cairo.
21079 * configure.ac [HAVE_GTK3]: Remove USE_CAIRO that gets reset later.
21081 2015-06-02 Michael Albinus <michael.albinus@gmx.de>
21083 Ensure that autorevert works for remote files in file-notify-tests.el
21084 * test/automated/file-notify-tests.el (file-notify--test-desc):
21086 (file-notify--test-remote-enabled)
21087 (file-notify-test00-availability, file-notify-test01-add-watch)
21088 (file-notify-test02-events): Use it.
21089 (file-notify--test-event-test): Check proper descriptor.
21090 (file-notify-test03-autorevert): Ensure that
21091 `visited-file-modtime' has changed. (Bug#20392)
21093 2015-06-02 Nicolas Petton <nicolas@petton.fr>
21095 Add a pcase pattern for maps and `map-let' based on it
21096 * lisp/emacs-lisp/map.el (map-let): New macro.
21097 (map--make-pcase-bindings, map--make-pcase-patterns): New functions.
21098 * test/automated/map-tests.el: New test for `map-let'.
21100 2015-06-02 Dmitry Gutov <dgutov@yandex.ru>
21102 Reuse rgrep mechanics in xref-find-regexp
21103 * lisp/progmodes/grep.el (rgrep-default-command):
21104 Extract from `rgrep'.
21105 * lisp/progmodes/xref.el (xref-collect-references): Split from
21106 `xref-collect-matches'. Only handle the case of symbol search.
21107 (xref-collect-matches): Instead of Semantic Symref, use
21108 `rgrep-default-command', to take advantage of its directory and
21109 file ignore settings.
21110 (xref--collect-match): Remove the last argument, leaving the
21111 regexp construction up to the caller.
21112 * lisp/progmodes/elisp-mode.el (elisp--xref-find-matches):
21113 Change to take the xref-collect- function to use as an argument.
21114 (elisp-xref-find): Update accordingly.
21115 * lisp/progmodes/etags.el (etags--xref-find-matches)
21116 (etags-xref-find): Same.
21118 Move xref-elisp-location to elisp-mode.el
21119 * lisp/progmodes/xref.el (xref-elisp-location)
21120 (xref-make-elisp-location, xref-location-marker): Remove here.
21121 (xref--xref): Don't limit the type of the location slot.
21122 * lisp/progmodes/elisp-mode.el (xref-elisp-location):
21123 Define as a cl-struct here.
21124 (xref-location-marker): Move here.
21126 2015-06-02 Eli Zaretskii <eliz@gnu.org>
21128 Minor tweaks for .gitignore
21129 * .gitignore: Don't ignore versioned *.html and *.ps files.
21130 Don't ignore admin/notes/tags that might be ignored as TAGS
21131 on case-insensitive filesystems. (Bug#20710)
21133 2015-06-02 Paul Eggert <eggert@cs.ucla.edu>
21135 Generate curved quotes in ert doc
21136 * lisp/emacs-lisp/ert.el (ert--print-test-for-ewoc)
21137 (ert-results-mode-menu)
21138 (ert-results-pop-to-backtrace-for-test-at-point)
21139 (ert-results-pop-to-messages-for-test-at-point)
21140 (ert-results-pop-to-should-forms-for-test-at-point)
21141 (ert-describe-test):
21142 Quote ‘like this’, not `like this', when generating doc strings
21144 * test/automated/ert-x-tests.el (ert-test-describe-test):
21145 Allow quoting ‘like this’.
21147 2015-06-02 Nicolas Richard <youngfrog@members.fsf.org>
21149 Add test for previous commit
21150 * test/automated/replace-tests.el: New file.
21151 (query-replace--split-string-tests): Add test for previous commit.
21153 Avoid confusion in query-replace history when replacing NUL chars
21154 * lisp/replace.el (query-replace--split-string): New function.
21155 (query-replace-read-from): Rely on the 'separator' property
21156 instead of searching for the NUL character (Bug#20690).
21158 2015-06-02 Glenn Morris <rgm@gnu.org>
21160 Merge from origin/emacs-24
21161 8b5f2f4 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
21163 * admin/gitmerge.el (gitmerge-commit-message):
21164 Exclude "skipped" messages from ChangeLog.
21166 2015-06-01 Michael Albinus <michael.albinus@gmx.de>
21168 Sync with Tramp repository
21169 * lisp/net/tramp.el (tramp-message): Dump connection buffer error
21171 (tramp-handle-make-auto-save-file-name): When calling
21172 `make-auto-save-file-name' internally, make sure it uses Unix-like
21173 behavior, not Windows-like behavior.
21174 * lisp/net/tramp-sh.el (tramp-set-file-uid-gid): Add a timeout for
21175 the local case, because "chown" might fail on w32.
21176 * lisp/net/trampver.el (tramp-repository-get-version): Don't run
21179 2015-06-01 Eli Zaretskii <eliz@gnu.org>
21181 MS-Windows followup for batch stdout/stderr output changes
21182 * lisp/international/mule-cmds.el (set-locale-environment):
21183 In batch mode, use console codepages for keyboard and terminal
21184 encoding. (Bug#20545)
21186 Update .gitattributes for DOS EOL files
21187 * .gitattributes: Use "whitespace=cr-at-eol" for files with DOS
21188 CRLF end-of-line format.
21190 NS equivalents of xterm.c and w32term.c changes
21191 * src/nsterm.m (ns_maybe_dumpglyphs_background): Force redraw of
21192 glyph string background also when the font in use claims
21193 preposterously large global height value. Helps to remove
21194 artifacts left from previous displays when glyphless characters
21195 are displayed as hex code in a box.
21196 (x_new_font): Call get_font_ascent_descent to obtain a reasonable
21197 value for FRAME_LINE_HEIGHT, even when a font claims very large
21198 value for its height.
21200 2015-06-01 Paul Eggert <eggert@cs.ucla.edu>
21202 Avoid grave accent quoting in stderr diagnostics
21203 A few Emacs diagnostics go directly to stderr, and so can't easily
21204 contain curved quotes (as non-UTF-8 locales might mishandle them).
21205 Instead of bothering to add support for this rarity, reword the
21206 diagnostics so that they don't use grave accent to quote.
21207 * src/alloc.c (mark_memory): Fix comment.
21208 * src/buffer.c (init_buffer):
21209 * src/dispnew.c (init_display):
21210 * src/emacs.c (main, sort_args):
21211 * src/lread.c (dir_warning):
21212 * src/term.c (init_tty):
21213 * src/unexmacosx.c (unexec):
21214 * src/xfns.c (select_visual):
21215 * src/xterm.c (cvt_string_to_pixel, x_io_error_quitter):
21216 Reword stderr diagnostics to avoid quoting `like this'.
21217 * src/unexmacosx.c: Include errno.h.
21218 * src/xfns.c (select_visual): Encode value for locale.
21220 2015-05-31 Paul Eggert <eggert@cs.ucla.edu>
21222 Treat batch stdout/stderr like standard display
21223 Calls like (print FOO) could generate improperly encoded or
21224 hard-to-read output if FOO contains characters outside the system
21225 locale. Fix this by treating batch stdout and stderr like
21226 interactive standard display, when it comes to transliterating and
21227 encoding characters (Bug#20545).
21228 * doc/emacs/mule.texi (Communication Coding):
21229 * doc/lispref/display.texi (Active Display Table):
21230 * doc/lispref/nonascii.texi (Locales):
21232 * src/coding.c (syms_of_coding):
21233 * src/dispnew.c (syms_of_display):
21235 * src/print.c: Include disptab.h.
21236 (printchar_to_stream): New function, with much of the guts of the
21237 old Fexternal_debugging_output, except this one also uses the
21238 standard display table.
21239 (printchar, strout, Fexternal_debugging_output): Use it.
21241 2015-05-31 Glenn Morris <rgm@gnu.org>
21243 * src/emacs.c (syms_of_emacs) <system-configuration-features>: Doc fix.
21245 2015-05-31 Paul Eggert <eggert@cs.ucla.edu>
21247 Remove DEFSYMs that aren't used at the C level. Also:
21248 * src/decompress.c (Qzlib_dll):
21249 * src/font.c (Qunicode_sip):
21250 * src/frame.c (Qtip_frame):
21251 * src/ftfont.c (Qserif):
21252 * src/gnutls.c (Qgnutls_dll):
21253 * src/xml.c (Qlibxml2_dll):
21255 * src/w32fns.c (syms_of_w32fns): ... to here,
21256 as these are used only on MS-Windows.
21258 2015-05-31 Michael Albinus <michael.albinus@gmx.de>
21260 Use another default value for tramp-histfile-override
21261 * lisp/net/tramp-sh.el (tramp-histfile-override):
21262 Use ".tramp_history" as default.
21265 2015-05-29 Nicolas Petton <nicolas@petton.fr>
21267 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
21269 2015-05-16 Nicolas Petton <nicolas@petton.fr>
21271 * etc/NEWS: Add an entry about map.el.
21273 Improve the docstring of functions in map.el
21274 Since a map is not a data structure but a concept, adding information
21275 about the possible types of maps can be useful information.
21276 * lisp/emacs-lisp/map.el: Add documentation about the type of MAP to
21277 each public function.
21279 2015-04-29 Nicolas Petton <nicolas@petton.fr>
21281 * lisp/emacs-lisp/map.el (map-empty-p): Faster implementation using
21282 specific tests depending on the type of the map.
21284 * lisp/emacs-lisp/map.el: Better docstrings.
21286 2015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
21288 * lisp/emacs-lisp/map.el (map-pairs): Dump redundant lambda.
21290 2015-04-25 Nicolas Petton <nicolas@petton.fr>
21292 * lisp/emacs-lisp/map.el (map--elt-list): Better docstring.
21294 * lisp/emacs-lisp/map.el (map--elt-list): Minor refactoring.
21296 Fix a false negative in `map-elt' with alists and values being nil
21297 * lisp/emacs-lisp/map.el (map-elt): If map is an alist and key is
21298 found but its associated value is nil, do not return the default
21300 * test/automated/map-tests.el: Add a regression test.
21302 2015-04-24 Nicolas Petton <nicolas@petton.fr>
21304 * lisp/emacs-lisp/map.el (map--dispatch): Improve the docstring.
21306 Do not signal an error when trying to delete a key from an array
21307 * lisp/emacs-lisp/map.el (map-delete): When map is an array, check if
21308 the key is present to avoid signaling an error.
21309 * test/automated/map-tests.el: Add a test for deleting non-existing
21312 * lisp/emacs-lisp/map.el: Better docstring.
21314 Minor improvement in map-elt
21315 * lisp/emacs-lisp/map.el (map-elt): Do not use `ignore-errors' when
21316 doing a lookup in arrays, but check the boundaries of the array
21318 * test/automated/map-tests.el: Adds a test for `map-elt' with arrays
21319 and a negative integer as key.
21321 2015-04-21 Nicolas Petton <nicolas@petton.fr>
21323 * test/automated/map-tests.el: Refactoring of test methods.
21325 * test/automated/map-tests.el: Renamed from map-test.el.
21327 2015-04-18 Nicolas Petton <nicolas@petton.fr>
21329 * lisp/emacs-lisp/map.el (map-into): Better error message.
21331 * lisp/emacs-lisp/map.el: Remove byte-compilation warnings.
21333 Throw an error when converting a map into an unknown map type
21334 * lisp/emacs-lisp/map.el (map-into): Throw an error if type is
21336 * test/automated/map-tests.el: Add a regression test.
21338 New library map.el similar to seq.el but for mapping data structures.
21339 * test/automated/map-tests.el: New file.
21340 * lisp/emacs-lisp/map.el: New file.
21342 2015-05-30 Dmitry Gutov <dgutov@yandex.ru>
21344 * lisp/progmodes/etags.el (tag-implicit-name-match-p): Make sure
21345 there's no explicit tag name (bug#20629).
21347 2015-05-30 Paul Eggert <eggert@cs.ucla.edu>
21350 * src/editfns.c, src/lisp.h (format2): Remove.
21351 It is more trouble than it's worth, now that we have CALLN.
21352 This is just a minor refactoring.
21353 * src/buffer.c (Fkill_buffer):
21354 * src/dbusbind.c (XD_OBJECT_TO_STRING):
21355 * src/fileio.c (barf_or_query_if_file_exists):
21356 Adjust to format2 going away.
21358 Don't misencode C-generated messages
21359 Also, be more consistent about calls to 'Fmessage' vs 'message'.
21360 * src/alloc.c (Fgc_status):
21361 Prefer AUTO_STRING to build_string for Fmessage call.
21362 * src/data.c (Fmake_variable_buffer_local)
21363 (Fmake_local_variable, Fmake_variable_frame_local):
21364 * src/doc.c (store_function_docstring):
21365 Use Fmessage, not message, since the argument can contain
21366 non-ASCII characters, and this can cause the resulting message
21367 to be incorrectly encoded for the current environment.
21368 * src/fns.c (maybe_resize_hash_table):
21369 * src/xselect.c (x_clipboard_manager_save_all):
21370 Use message, not Fmessage, since Fmessage's power isn't needed here.
21371 * src/process.c (Fmake_network_process): Reword message to avoid %s.
21372 * src/xdisp.c (vmessage): Document restrictions on message contents.
21373 (message_nolog) [false]: Remove unused code.
21375 Use \r rather than ^M in string literals
21376 This is less likely to cause problems on platforms that
21377 use CRLF (or CR!) termination for lines.
21379 Update .gitattributes to match current sources
21380 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00879.html
21381 * .gitattributes: Accommodate tests that insist on DOS format.
21382 Remove test/automated/data/decompress/foo-gzipped.
21383 Add etc/e/eterm-color.
21385 2015-05-30 Eli Zaretskii <eliz@gnu.org>
21387 * doc/emacs/mule.texi (Modifying Fontsets):
21388 Document face-ignored-fonts. (Bug#20628)
21390 Add etags test for the new -Q option
21391 * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
21392 * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
21393 * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
21394 test-case changes below.
21395 * test/etags/ETAGS.good_6: New file.
21396 * test/etags/cp-src/x.cc: New file.
21397 * test/etags/Makefile (CPSRC): Add x.cc.
21398 (check): Add one more test, for -Q.
21400 2015-05-30 Dmitry Gutov <dgutov@yandex.ru>
21402 Use list for the tags completion table, not obarray
21403 * lisp/progmodes/etags.el (etags-tags-completion-table): Return a
21404 list instead of an obarray
21405 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00876.html).
21406 (tags-completion-table): Combine those lists.
21407 (tags-completion-table): Update the docstring.
21409 2015-05-30 Eli Zaretskii <eliz@gnu.org>
21411 Restore EOL format testing in etags
21412 * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
21413 * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
21414 * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
21415 test-case changes below.
21416 * test/etags/html-src/algrthms.html: Convert back to DOS EOL format.
21417 * test/etags/cp-src/c.C (B): Add back stray CR character.
21418 * test/etags/c-src/dostorture.c: Add back.
21419 * test/etags/Makefile (CSRC): Add back c-src/dostorture.c.
21421 2015-05-30 Vitaly Takmazov <vitalyster@gmail.com> (tiny change)
21423 Declare Emacs on MS-Windows to be DPI-aware
21424 * nt/emacs-x86.manifest (asmv3:windowsSettings): Add dpiAware.
21425 * nt/emacs-x64.manifest (asmv3:windowsSettings): Add dpiAware.
21426 This avoids Windows entering compatibility mode for Emacs,
21427 which causes fonts to look less nice.
21429 2015-05-30 Michael Albinus <michael.albinus@gmx.de>
21431 Improve Tramp traces
21432 * lisp/net/trampver.el (tramp-repository-get-version): New defun.
21433 * lisp/net/tramp.el (tramp-debug-message): Use it.
21435 2015-05-30 Paul Eggert <eggert@cs.ucla.edu>
21437 backup-buffer minor reworking of internals
21438 * lisp/files.el (backup-buffer): Rework to avoid a couple of
21439 unused locals inadvertently introduced in the previous change.
21441 backup-buffer now reports .emacs.d/%backup% ills
21442 * lisp/files.el (backup-buffer): If the write to .emacs.d/%backup%
21443 fails due to disk space exhaustion or whatever, do not pretend
21444 that it succeeded. More generally, do a better job of checking
21445 for I/O failures, and limit the scope of the condition-case to
21446 just the operations where file errors should be caught and ignored
21447 (Bug#20595). Also, don't bother trying to delete later backups if
21448 an earlier deletion fails, as this is a sign of trouble and it's
21449 better to stop when there's trouble.
21451 copy-file now truncates output after writing
21452 * src/fileio.c (Fcopy_file): Truncate output after writing rather
21453 than before. This is more likely to work than truncation before
21454 writing, if the file system is out of space or the user is over
21455 disk quota (Bug#20595). Also, check for read errors.
21457 2015-05-29 Artur Malabarba <bruce.connor.am@gmail.com>
21459 * lisp/emacs-lisp/package.el (package-load-all-descriptors):
21460 Don't load descriptors from directories above the package directories.
21462 2015-05-29 Paul Eggert <eggert@cs.ucla.edu>
21465 This incorporates the following (Bug#20681):
21466 2015-05-29 acl-permissions: Fix build on Mac OS X and older AIX
21467 2015-05-29 acl-permissions: Fix build on Solaris and Cygwin
21468 * lib/set-permissions.c: Copy from gnulib.
21470 2015-05-29 Michael Albinus <michael.albinus@gmx.de>
21472 Improve Tramp traces
21473 * lisp/net/tramp.el (tramp-call-process-region): New defun.
21474 * lisp/net/tramp-sh.el (tramp-get-inline-coding): Use it.
21476 2015-05-29 Glenn Morris <rgm@gnu.org>
21478 * test/automated/vc-tests.el: Try enabling tests on hydra.nixos.org.
21480 2015-05-29 Wolfgang Jenkner <wjenkner@inode.at>
21482 * src/xfns.c (x_set_menu_bar_lines): Fix calls to x_clear_area.
21483 The signature was changed in the cairo branch, merged on 2015-05-23.
21484 This oversight broke compiling only the non-toolkit X version.
21486 2015-05-29 Samer Masterson <samer@samertm.com>
21488 * doc/lispref/os.texi: Update initial-buffer-choice docs.
21490 2015-05-29 Glenn Morris <rgm@gnu.org>
21492 * test/automated/vc-tests.el (vc-test-rcs04-checkout-model):
21493 Mark as an expected failure.
21495 2015-05-29 Paul Eggert <eggert@cs.ucla.edu>
21497 Change package test to look for curved quotes
21498 * test/automated/package-test.el (package-test-describe-package)
21499 (package-test-signed): Search for curved single quotes as well as
21500 for grave accent and apostrophe.
21502 2015-05-28 Katsumi Yamaoka <yamaoka@jpl.org>
21504 * lisp/gnus/gnus-art.el (gnus-button-alist): Re-revert last change.
21505 cf. <http://news.gmane.org/group/gmane.emacs.devel/thread=186896>
21507 2015-05-28 Samer Masterson <samer@samertm.com>
21509 Show files when `initial-buffer-choice' is non-nil
21510 * lisp/startup.el (command-line-1): When Emacs is given a file as an
21511 argument and `initial-buffer-choice' is non-nil, display both the file
21512 and `initial-buffer-choice'. For more than one file, show
21513 `initial-buffer-choice' and *Buffer List*. Refactor display-changing
21514 commands out of the command line arg parser.
21515 (initial-buffer-choice): Clarify docstring.
21517 2015-05-28 Eli Zaretskii <eliz@gnu.org>
21520 * nt/gnulib.mk (libgnu_a_SOURCES): Add get-permissions.c back.
21521 (gnulib module qcopy-acl): Add back, as it is harmless. This
21522 minimizes differences wrt lib/gnulib.mk.
21524 Fix the MS-Windows build as followup to gnulib update
21525 * nt/gnulib.mk (libgnu_a_SOURCES): Remove get-permissions.c and
21526 set-permissions.c, as they don't compile on MinGW.
21527 (gnulib module qcopy-acl): Remove, as it needs set-permissions.c.
21529 2015-05-28 Paul Eggert <eggert@cs.ucla.edu>
21531 Revert my change to gnus-art.el
21532 * lisp/gnus/gnus-art.el (gnus-button-alist): Revert last change.
21533 It wasn't that important, and it caused a Gnus build to fail. See:
21534 http://www.randomsample.de:4456/builders/emacs-devel/builds/734
21536 New minor mode Electric Quote
21537 This lets you easily insert quotes ‘like this’ by typing
21538 quotes `like this', and similarly you can easily insert
21539 quotes “like this” by typing quotes ``like this'' (Bug#20545).
21540 * doc/emacs/basic.texi (Inserting Text):
21541 * doc/emacs/modes.texi (Minor Modes):
21542 * etc/NEWS: Document it.
21543 * doc/emacs/text.texi (Quotation Marks): New section.
21544 * lisp/electric.el (electric-quote-comment)
21545 (electric-quote-string, electric-quote-paragraph):
21547 (electric--insertable-p)
21548 (electric-quote-post-self-insert-function): New functions.
21549 (electric-quote-mode, electric-quote-local-mode): New minor modes.
21550 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
21551 Add curved single quotes to electric-pair-text-pairs.
21552 Set electric-quote-string in this buffer.
21554 A few more doc string fixes (Bug#20385)
21556 Accept curved quotes in doc strings
21557 * lisp/info-look.el (info-lookup-guess-custom-symbol):
21558 (info-lookup-alist): Treat ‘’ like `' when parsing help buffers etc.
21560 Generate curved quotes in pseudo-info nodes
21561 * lisp/info.el (Info-virtual-index-find-node)
21562 (Info-virtual-index, Info-apropos-find-node, info-apropos):
21563 Quote ‘like this’, not `like this', when generating pseudo-info nodes.
21565 Fix minor quoting problems in doc strings
21566 Most of these fixes involve escaping grave accents that are
21567 actually intended to be grave accents, not left quotes.
21570 Support curved quotes in doc strings
21571 Emacs's traditional doc string style has been to quote symbols
21572 `like this'. This worked well on now-obsolete terminals where
21573 ` and ' were symmetric quotes, but nowadays curved quotes
21574 ‘like this’ look better. Support quoting the new way too.
21576 * doc/lispref/tips.texi (Documentation Tips): Symbols can be quoted
21577 ‘like-this’ as well as `like-this'.
21578 * etc/NEWS: Mention this.
21579 * lisp/cedet/mode-local.el (overload-docstring-extension)
21580 (mode-local-print-binding, mode-local-describe-bindings-2):
21581 * lisp/cus-theme.el (describe-theme-1):
21582 * lisp/descr-text.el (describe-text-properties-1, describe-char):
21583 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
21584 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
21585 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
21586 (eieio-help-constructor):
21587 * lisp/emacs-lisp/package.el (describe-package-1):
21588 * lisp/faces.el (describe-face):
21589 * lisp/help-fns.el (help-fns--key-bindings)
21590 (help-fns--compiler-macro, help-fns--parent-mode, help-fns--obsolete):
21591 (help-fns--interactive-only, describe-function-1):
21592 (describe-variable):
21593 * lisp/help.el (describe-mode):
21594 * lisp/international/mule-cmds.el (describe-input-method)
21595 (describe-language-environment):
21596 * lisp/international/mule-diag.el (describe-character-set)
21597 (print-coding-system-briefly, list-input-methods)
21598 (list-input-methods-1):
21599 Insert curved quotes rather than grave accent and apostrophe.
21600 * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
21601 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
21602 (checkdoc-proper-noun-region-engine):
21603 * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2)
21604 (lisp-cl-font-lock-keywords-2):
21605 * lisp/finder.el (finder-font-lock-keywords):
21606 * lisp/gnus/gnus-art.el (gnus-button-alist):
21607 * lisp/help-fns.el (help-do-arg-highlight)
21608 (describe-function-1, describe-variable):
21609 * lisp/help-mode.el (help-xref-symbol-regexp)
21610 (help-xref-info-regexp, help-xref-url-regexp):
21611 * lisp/help.el (describe-mode):
21612 * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
21613 * lisp/wid-edit.el (widget-documentation-link-regexp):
21614 Parse symbols quoted ‘like-this’ as well as `like-this'.
21615 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
21616 Add "‘" and "’" to electric-pair-text-pairs.
21617 (elisp--form-quoted-p): Also allow "‘" as a quoting char.
21618 (elisp-completion-at-point, elisp--preceding-sexp):
21619 Also treat "‘" and "’" as quoting chars.
21621 substitute-command-keys now curves quotes
21622 So, for example, it turns "`abc'" into "‘abc’" (Bug#20385).
21623 * doc/lispref/help.texi (Keys in Documentation):
21624 * etc/NEWS: Document this.
21625 * src/doc.c (Fsubstitute_command_keys): Implement it.
21627 2015-05-28 Glenn Morris <rgm@gnu.org>
21629 * lisp/mail/rmailsum.el (rmail-summary-by-recipients)
21630 (rmail-summary-by-topic, rmail-summary-by-senders):
21631 No longer strip leading/trailing whitespace.
21633 * lisp/progmodes/f90.el (f90-type-def-re): Add "type, extends".
21634 (f90-no-block-limit): Add "enum". (Bug#20680)
21635 * test/automated/f90.el (f90-test-bug20680, f90-test-bug20680b):
21638 2015-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
21640 * lisp/isearch.el (isearch--current-buffer): Give a default value.
21641 Un-revert changes mistakenly dropped by f9fabb2b.
21643 2015-05-27 Paul Eggert <eggert@cs.ucla.edu>
21647 2015-05-27 qacl: Reimplement qset_acl and qcopy_acl (Bug#20666)
21648 2015-05-27 file-has-acl: Split feature tests again (Bug#20667)
21649 2015-05-27 string: fix build failure on BSD/OSX with FORTIFY_SOURCE
21650 2015-05-26 stdio: limit __gnu_printf__ witness to gcc 4.4+
21651 2015-05-26 inttypes: force correct mingw PRIdMAX even without <stdio.h>
21652 2015-05-26 stdio: fix probe on mingw under gcc 5.1
21653 * admin/merge-gnulib (GNULIB_MODULES):
21654 Replace qacl with qcopy-acl, since we don't need the rest of qacl.
21655 * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
21656 * lib/inttypes.in.h, lib/qcopy-acl.c, lib/qset-acl.c:
21657 * lib/string.in.h, m4/acl.m4, m4/stdio_h.m4:
21658 Get latest versions from gnulib.
21659 * lib/get-permissions.c, lib/set-permissions.c: New files.
21660 * lib/gnulib.mk, m4/gnulib-comp.m4:
21662 * nt/gnulib.mk: Merge lib/gnulib.mk changes by hand.
21664 2015-05-27 Dmitry Gutov <dgutov@yandex.ru>
21666 * lisp/vc/vc-dispatcher.el (vc-setup-buffer): Delete the old
21668 (vc-do-command): Rather than here (bug#20608).
21670 2015-05-27 Ivan Shmakov <ivan@siamics.net>
21672 Avoid gratuitous delete-dups in face-at-point
21673 * lisp/faces.el (face-at-point): Do not compute the properly
21674 ordered, duplicate-free list if only a single value is
21675 requested anyway. (Bug#20519)
21677 Show the exact C-x 8 RET invocation in describe-char
21678 * lisp/descr-text.el (describe-char): Show the exact C-x 8 RET
21679 invocation instead of a template. (Bug#20522)
21681 2015-05-27 Artur Malabarba <bruce.connor.am@gmail.com>
21683 * lisp/emacs-lisp/package.el: Don't erase tags on refresh.
21684 (package-menu--post-refresh): Call `tabulated-list-print' with the
21685 UPDATE argument. This only affects the refresh action, the revert
21686 action still erases tags.
21687 (package-menu-get-status): Change `assq' to `assoc'.
21688 (package-menu--mark-upgrades-1): New function.
21689 (package-menu--mark-upgrades-pending): New variable.
21690 (package-menu-mark-upgrades): Use them to delay marking until
21691 after refresh is done.
21692 (package-menu--post-refresh): Call mark-upgrades-1 if
21693 mark-upgrades-pending is non-nil.
21695 2015-05-27 Michael Albinus <michael.albinus@gmx.de>
21697 * lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
21698 Fix typo in "Improve tramp-handle-make-auto-save-file-name"
21699 (commit 3953c4be2816537be95520605d45b866dc731f4b).
21701 2015-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
21703 * lisp/isearch.el (isearch--current-buffer): New var.
21704 (isearch-update): Set cursor-sensor-inhibit here.
21705 (isearch-done): Unset cursor-sensor-inhibit in the right buffer
21708 Change inhibit-point-motion-hooks to t
21709 * src/textprop.c (syms_of_textprop): Default Vinhibit_point_motion_hooks
21710 to t and document it as obsolete.
21712 2015-05-27 Eli Zaretskii <eliz@gnu.org>
21714 Support ZIP files that use Zip64 extensions
21715 * lisp/arc-mode.el (archive-zip-summarize): Handle the new ZIP
21716 format of central directory offsets used by Zip64 extensions.
21719 2015-05-27 Michael Albinus <michael.albinus@gmx.de>
21721 New test tramp-test30-make-auto-save-file-name
21722 * test/automated/tramp-tests.el
21723 (tramp-test30-make-auto-save-file-name): New test.
21724 (tramp-test31-special-characters)
21725 (tramp-test31-special-characters-with-stat)
21726 (tramp-test31-special-characters-with-perl)
21727 (tramp-test31-special-characters-with-ls, tramp-test32-utf8)
21728 (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
21729 (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
21730 (tramp-test34-recursive-load, tramp-test35-unload): Rename.
21732 Improve tramp-handle-make-auto-save-file-name
21733 * lisp/net/tramp.el (tramp-auto-save-directory): Add :tags.
21734 (tramp-handle-make-auto-save-file-name): Let native
21735 `make-auto-save-file-name' use `auto-save-file-name-transforms',
21736 if `tramp-auto-save-directory' is not set.
21738 2015-05-27 Glenn Morris <rgm@gnu.org>
21740 No longer set dired-directory in eshell. (Bug#16477)
21741 * lisp/eshell/esh-mode.el (eshell-mode):
21742 * lisp/eshell/em-dirs.el (eshell/cd): No longer set dired-directory.
21744 * lisp/mail/sendmail.el (mail-position-on-field): Doc fix.
21746 Make c-submit-bug-report file reports at debbugs.gnu.org. (Bug#15784)
21747 * lisp/progmodes/cc-mode.el (c-mode-help-address):
21748 Change to submit@debbugs.
21749 (c-mode-bug-package): New constant.
21750 (mail-position-on-field): Declare.
21751 (c-submit-bug-report): Insert X-Debbugs-Package header.
21752 * doc/misc/cc-mode.texi (Mailing Lists and Bug Reports):
21753 Mention debbugs.gnu.org.
21755 2015-05-26 Glenn Morris <rgm@gnu.org>
21757 * lisp/mail/rmailsum.el: Commas no longer separate regexps. (Bug#19026)
21758 (rmail-summary-by-recipients, rmail-summary-by-topic)
21759 (rmail-summary-by-senders): No longer use mail-comma-list-regexp.
21760 * doc/emacs/rmail.texi (Rmail Make Summary): Update for this change.
21762 2015-05-26 Paul Eggert <eggert@cs.ucla.edu>
21764 Handle curved quotes in info files
21765 * lisp/calc/calc-help.el (calc-describe-thing):
21766 * lisp/info.el (Info-find-index-name)
21767 (Info-try-follow-nearest-node, Info-fontify-node):
21768 * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
21769 In info files, process quotes ‘like this’ the same way we process
21770 quotes `like this'. This catches a few places we missed earlier.
21772 2015-05-26 Dmitry Gutov <dgutov@yandex.ru>
21774 xref-prompt-for-identifier: Use a list value
21775 * lisp/progmodes/xref.el (xref-prompt-for-identifier): Allow list
21776 value, to be interpreted as a list of commands.
21777 (xref--prompt-p): New function.
21778 (xref--read-identifier): Use it.
21780 2015-05-26 Eli Zaretskii <eliz@gnu.org>
21782 Teach MS-Windows font back-end return per-glyph ascent/descent
21783 * src/w32font.h (struct w32_metric_cache): Add ascent and descent
21785 * src/w32font.c (w32font_text_extents): Compute, cache, and
21786 accumulate per-glyph ascent and descent values, instead of copying
21787 global values from the font. If the values are not available from
21788 the font data, i.e., non-TTF fonts, fall back on font-global values.
21789 (compute_metrics): Compute and return per-glyph ascent and descent
21790 values, if returned by GetGlyphOutlineW, falling back on
21791 font-global values. (Bug#20628)
21792 * src/w32term.c (w32_draw_rectangle): Add 1 pixel to width and
21793 height of rectangle to be drawn, to be compatible with
21794 XDrawRectangle. Fixes glyphless-char display as hex codes in a
21795 box, when per-glyph ascent/descent values are used.
21797 2015-05-26 Artur Malabarba <bruce.connor.am@gmail.com>
21799 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
21800 Don't sort if sorter is nil.
21802 2015-05-26 Michael Albinus <michael.albinus@gmx.de>
21805 * lisp/net/tramp-sh.el (tramp-set-auto-save): Remove it. There
21806 are major modes which set `auto-save-mode' on their own rules;
21807 Tramp shall not overwrite such settings.
21809 2015-05-26 Glenn Morris <rgm@gnu.org>
21811 * lisp/desktop.el: If modes aren't autoloaded, try simple guesswork.
21812 (desktop-load-file): Guess that "foobar" defines "foobar-mode".
21813 (desktop-buffer-mode-handlers, desktop-minor-mode-handlers):
21815 (vc-dir-mode): Remove unnecessary autoload.
21817 2015-05-25 Philipp Stephani <phst@google.com>
21819 * lisp/term/xterm.el: Add gui-get-selection support via OSC-52.
21820 (xterm--extra-capabilities-type): Add `getSelection'.
21821 (xterm--query): Add `no-async' argument.
21822 (xterm--init-activate-get-selection): New function.
21823 (terminal-init-xterm): Use it.
21824 (xterm--init-modify-other-keys): Rename from
21825 terminal-init-xterm-modify-other-keys.
21826 (xterm--init-bracketed-paste-mode): Rename from
21827 terminal-init-xterm-bracketed-paste-mode.
21828 (xterm--init-activate-set-selection): Rename from
21829 terminal-init-xterm-activate-set-selection.
21830 (xterm--selection-char): New function.
21831 (gui-backend-set-selection): Use it. Use the &context to only apply
21832 this method in terminals where we enabled the feature.
21833 (gui-backend-get-selection): New method.
21835 2015-05-25 Daniel Colascione <dancol@dancol.org>
21837 * lisp/progmodes/cc-langs.el (c-constant-kwds): Add C-language
21838 keyword constants to C++.
21840 2015-05-25 Paul Eggert <eggert@cs.ucla.edu>
21842 Make TAGS files more portable to MS-Windows
21843 * etc/NEWS: Document this.
21844 * lib-src/etags.c (readline_internal) [DOS_NT]:
21845 Don't treat CRs differently from GNUish hosts.
21846 * lisp/progmodes/etags.el (etags-goto-tag-location):
21847 Adjust STARTPOS to account for the skipped CRs in dos-style files.
21849 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
21851 Improve fix of bug#20634 in tramp-sh.el
21853 2015-05-25 Eli Zaretskii <eliz@gnu.org>
21855 Fix a typo in last commit
21856 * lib-src/etags.c (C_entries): Fix a typo.
21857 * test/etags/ETAGS.good_1:
21858 * test/etags/ETAGS.good_2:
21859 * test/etags/ETAGS.good_3:
21860 * test/etags/ETAGS.good_4:
21861 * test/etags/ETAGS.good_5:
21862 * test/etags/CTAGS.good: Update due to the change in etags.c.
21864 Fix tagging of class members in C-like OO languages
21865 * lib-src/etags.c (longopts): Add new option --class-qualify and
21867 (print_help): Add help text for --class-qualify.
21868 (main): Add handling of -Q.
21869 (consider_token, C_entries) <omethodparm>: Append argument types
21870 to Objective C methods only if --class-qualify was specified.
21871 Qualify C++, Objective C, and Java class members with their class
21872 names only if --class-qualify was specified.
21873 (C_entries): If --class-qualify was not specified, remove the
21874 namespace and class qualifiers from tag names of C++ methods.
21875 This allows to use etags.el as xref back-end without the
21876 tag-symbol-match-p method, which greatly increases the number of
21877 potentially false positives. (Bug#20629)
21878 * doc/man/etags.1: Update to document the new --class-qualify
21880 * test/etags/ETAGS.good_1:
21881 * test/etags/ETAGS.good_2:
21882 * test/etags/ETAGS.good_3:
21883 * test/etags/ETAGS.good_4:
21884 * test/etags/ETAGS.good_5:
21885 * test/etags/CTAGS.good: Update due to changes in etags.c.
21887 2015-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
21889 (cl-generic-define-method): Side effects are evil (bug#20644)
21890 * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method): Don't reuse
21891 cons-cells that might be used as keys in an `equal' hash-table.
21893 2015-05-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21895 Make erc timestamps visible again
21896 * lisp/erc/erc-stamp.el (erc-munge-invisibility-spec):
21897 Make timestamps visible again (if requested).
21899 2015-05-25 Eli Zaretskii <eliz@gnu.org>
21901 Fix last change in etags.c that broke tagging compresed files
21902 * lib-src/etags.c (process_file_name) [MSDOS || DOS_NT]: Fix
21903 quoting of decompression shell command for MS-Windows/MS-DOS.
21905 2015-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
21907 * lisp/emacs-lisp/cl-macs.el (cl-tagbody): Scope cl--tagbody-alist.
21910 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
21912 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer):
21913 Fix typo in "Inhibit `epa-file-handler' in Tramp"
21914 (commit 89035e247591c8d688fce922b7079881aa110f33).
21916 2015-05-25 Orivej Desh <orivej@gmx.fr> (tiny change)
21918 Fix IPv6 addresses in Tramp
21919 * lisp/net/tramp-sh.el (tramp-make-copy-program-file-name):
21920 Add square brackets around host name.
21922 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
21924 Inhibit `epa-file-handler' in Tramp (Bug#20634)
21925 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
21926 (tramp-sh-handle-insert-file-contents-literally): Inhibit also
21927 `epa-file-handler'.
21929 2015-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21931 * lisp/emacs-lisp/pcase.el: Use PAT rather than UPAT in docstring.
21932 (pcase-let): Document the behavior in case the pattern doesn't match.
21934 2015-05-24 Artur Malabarba <bruce.connor.am@gmail.com>
21936 * lisp/emacs-lisp/tabulated-list.el: New optional print method.
21937 (tabulated-list-print): New optional argument, UPDATE. If
21938 non-nil, the list is printed by only adding and deleting the
21939 changed entries, instead of erasing the whole buffer. This method
21940 is much faster when few or no entries have changed.
21941 * doc/lispref/modes.texi (Tabulated List Mode): Document it.
21942 * etc/NEWS: Document it.
21944 * lisp/emacs-lisp/tabulated-list.el: Improve printing.
21945 (tabulated-list--get-sorter): New function.
21946 (tabulated-list-print): Restore window-line when remember-pos is
21947 passed and optimize away the `nreverse'.
21949 2015-05-24 Paul Eggert <eggert@cs.ucla.edu>
21951 Simpilify etags TEX mode scanning
21952 * lib-src/etags.c (TEX_mode, TEX_esc, TEX_opgrp, TEX_clgrp):
21953 Remove static vars.
21954 (TeX_commands): Deduce escapes here instead.
21955 (TEX_LESC, TEX_SESC, TEX_mode): Remove; all uses removed.
21956 This removes the need for a reset_input call.
21958 Improve etags I/O error reporting
21960 Don't include sys/types.h and sys/stat.h; no longer needed.
21961 (infilename): New static var.
21962 (process_file_name): Don't call 'stat'. Instead, just open the
21963 file for reading and report any errors. Don't bother making
21964 a copy of the file argument; it's not needed. Be more careful to
21965 use the failing errno when reporting an error.
21966 Quote the real name better (though no perfectly)
21967 when passing it to the shell.
21968 (reset_input): New function, which reports I/O errors.
21969 All uses of 'rewind' changed to use this function.
21970 (perhaps_more_input): New function, which also checks for
21971 I/O errors. All uses of 'feof' changed to use this function.
21972 (analyze_regex): Report an error if fclose fails.
21973 (readline_internal): Report an error if getc fails.
21974 (etags_mktmp): Return an error if close fails.
21976 etags.c: avoid side effects in 'if'
21977 * lib-src/etags.c (process_file_name, Perl_functions)
21978 (TEX_decode_env): Hoist side effects into previous statement.
21981 * .gitignore: Ignore all *.stamp files. Sort.
21982 Ignore [0-9]*.txt (commonly used name for git patches)
21983 and /vc-dwim-log-* (vc-dwim temporary).
21985 2015-05-24 Eli Zaretskii <eliz@gnu.org>
21987 Fix last change in etags.c, which failed the test suite
21988 * lib-src/etags.c (intoken): Add '$' to the set, as it was there
21989 before the last change.
21991 2015-05-23 Glenn Morris <rgm@gnu.org>
21993 Remove charset map files from repository, generate in first bootstrap
21994 * admin/charsets/Makefile.in (${srcdir}/charsets.stamp): New.
21995 (all): Create the stamp file.
21996 (extraclean): Delete the stamp file.
21997 * src/Makefile.in (lispintdir, charsets): New variables.
21998 (${lispintdir}/cp51932.el, ${lispintdir}/eucjp-ms.el, ${charsets}):
22000 (emacs$(EXEEXT), temacs$(EXEEXT)): Depend on $charsets.
22001 * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
22002 * etc/charsets/*.map: Remove from repository.
22004 2015-05-23 Paul Eggert <eggert@cs.ucla.edu>
22006 Cleanup etags.c to use locale-independent code
22007 Although this doesn't alter behavior (as etags doesn't use
22008 setlocale), the new version is more clearly locale-independent and
22009 the executable is a bit smaller on my platform.
22010 * lib-src/etags.c: Include <limits.h>, for UCHAR_MAX.
22011 Include <c-ctype.h> instead of <ctype.h>.
22012 (CHARS, CHAR, init, _wht, _nin, _itk, _btk, _etk, white, nonam, endtk)
22014 Remove; no longer needed.
22015 (iswhite, ISALNUM, ISALPHA, ISDIGIT, ISLOWER, lowcase): Remove.
22016 All callers changed to use c_isspace, c_isalnum, c_isalpha, c_isdigit,
22017 c_islower, c_tolower, respectively.
22018 (notinname, begtoken, intoken, endtoken): Rewrite as functions
22019 instead of macros, and initialize the tables at compile-time
22020 rather than at run-time.
22022 Put default action first in src/Makefile
22023 * src/Makefile.in (all): Put this rule before lisp.mk.
22024 That way, plain 'make' works in the src directory again.
22026 2015-05-23 Glenn Morris <rgm@gnu.org>
22028 * Makefile.in: Fix extraclean rule.
22029 (extraclean_dirs): New.
22030 (extraclean): Use it.
22032 2015-05-23 Eli Zaretskii <eliz@gnu.org>
22034 Avoid compiler warning in image.c on MS-Windows
22035 * src/w32term.h (x_query_color): Add prototype, to avoid compiler
22036 warning in image.c.
22038 2015-05-23 Glenn Morris <rgm@gnu.org>
22040 Fix --without-toolkit-scroll-bars builds.
22041 * src/xterm.c (x_scroll_bar_set_handle) [!USE_TOOLKIT_SCROLL_BARS]:
22042 Add new argument to x_clear_area1.
22043 (XTset_horizontal_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
22044 Update x_clear_area arguments.
22046 * admin/charsets/glibc/: New directory, imported from glibc 2.21.
22047 * admin/charsets/Makefile.in (GLIBC_CHARMAPS):
22048 Change to included version.
22049 (LOCAL, local, totalclean): Remove.
22050 (extraclean): Delete all generated files.
22052 2015-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22054 * lisp/pcmpl-cvs.el (pcmpl-cvs-entries): Don't assume
22055 CVS/Entries exists.
22057 * lisp/progmodes/xref.el (xref-find-apropos): Use read-string.
22059 * lisp/progmodes/etags.el (tags-completion-at-point-function):
22060 Don't trust the find-tag function.
22062 2015-05-23 Paul Eggert <eggert@cs.ucla.edu>
22064 Pacify --enable-gcc-warnings
22065 * src/frame.h (x_query_color): Remove redundant extern decl.
22066 * src/ftcrfont.c (ftcrfont_glyph_extents, ftcrfont_list)
22067 (ftcrfont_match, ftcrfont_open, ftcrfont_close)
22068 (ftcrfont_text_extents, ftcrfont_draw):
22069 * src/xterm.c (x_set_window_size_1, *x_color_cells, x_update_end)
22070 (XTframe_up_to_date, x_clear_area1, x_clear_frame)
22071 (x_ins_del_lines, frame_highlight, frame_unhighlight)
22072 (x_new_focus_frame, x_focus_changed, XTframe_rehighlight)
22073 (x_draw_hollow_cursor, x_draw_bar_cursor, x_flush, x_update_begin)
22074 (x_update_window_begin, x_connection_closed)
22075 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
22076 (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
22077 (*x_gc_get_ext_data, x_extension_initialize)
22078 (x_cr_accumulate_data):
22079 Remove redundant static decl. Many of these GCC doesn't complain
22080 about, but we might as well clean out the duplication while we're
22081 in the neighborhood.
22082 * src/xterm.c (x_fill_trapezoid_for_relief):
22083 Remove decl of nonexistent function.
22085 2015-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22087 Replace gui-method macros with cl-generic with &context
22088 * lisp/frame.el (gui-method--name, gui-method, gui-method-define)
22089 (gui-method-declare, gui-call): Remove.
22090 (frame-creation-function): Use cl-defgeneric.
22091 (make-frame): Adjust callers.
22092 * lisp/menu-bar.el (menu-bar-edit-menu):
22093 Use gui-backend-selection-exists-p.
22094 * lisp/select.el (x-get-clipboard): Use gui-backend-get-selection.
22095 (gui-backend-get-selection): New cl-generic to replace
22096 gui-get-selection method.
22097 (gui-backend-set-selection): New cl-generic to replace
22098 gui-set-selection method.
22099 (gui-selection-owner-p): New cl-generic to replace
22100 gui-selection-owner-p method.
22101 (gui-backend-selection-exists-p): New cl-generic to replace
22102 gui-selection-exists-p method. Adjust all callers.
22103 * lisp/server.el (server-create-window-system-frame): Don't ignore
22104 window-system spec even when unsupported.
22105 * lisp/simple.el (deactivate-mark): Use new gui-backend-* functions.
22106 * lisp/startup.el (handle-args-function, window-system-initialization):
22108 (command-line): Adjust calls accordingly.
22109 * lisp/term/ns-win.el (ns-window-system-initialization): Turn into
22110 a window-system-initialization method.
22111 (handle-args-function, frame-creation-function): Use cl-defmethod.
22112 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
22113 (gui-get-selection): Use cl-defmethod on the new functions instead.
22114 * lisp/term/pc-win.el (w16-get-selection-value): Turn into
22115 a gui-backend-get-selection method.
22116 (gui-selection-exists-p, gui-selection-owner-p, gui-set-selection):
22117 Use cl-defmethod on the new functions instead.
22118 (msdos-window-system-initialization): Turn into
22119 a window-system-initialization method.
22120 (frame-creation-function, handle-args-function): Use cl-defmethod.
22121 * lisp/term/w32-win.el (w32-window-system-initialization): Turn into
22122 a window-system-initialization method.
22123 (handle-args-function, frame-creation-function): Use cl-defmethod.
22124 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
22125 (gui-get-selection): Use cl-defmethod on the new functions instead.
22126 * lisp/term/x-win.el (x-window-system-initialization): Turn into
22127 a window-system-initialization method.
22128 (handle-args-function, frame-creation-function): Use cl-defmethod.
22129 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
22130 (gui-get-selection): Use cl-defmethod on the new functions instead.
22131 * lisp/term/xterm.el (xterm--set-selection): Turn into
22132 a gui-backend-set-selection method.
22133 * src/nsselect.m (Fns_selection_exists_p): Remove unused arg `terminal'.
22134 (Fns_selection_owner_p): Remove unused arg `terminal'.
22135 (Fns_get_selection): Remove unused args `time_stamp' and `terminal'.
22137 2015-05-23 Eli Zaretskii <eliz@gnu.org>
22139 Revert "Fix etags Bug#20629 that broke C++ support"
22140 This reverts commit 13dd9d4f7e75d2c78aa5537cef09de03663e9748.
22142 2015-05-23 Jan D <jan.h.d@swipnet.se>
22144 Fix etags Bug#20629 that broke C++ support
22145 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
22146 Revert commit from Sun May 10 (Bug#20629).
22148 Merge branch 'cairo'.
22149 Main work done by YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>.
22150 Small fixes and image work by Jan D. <jan.h.d@swipnet.se>.
22152 Merge branch 'master' into cairo
22154 Fixes to compile cairo branch without cairo
22155 * src/gtkutil.c (xg_update_scrollbar_pos): x_clear_area takes frame as
22157 * src/xterm.c (handle_one_xevent): Surround x_cr_destroy_surface with
22160 2015-05-23 Artur Malabarba <bruce.connor.am@gmail.com>
22162 * lisp/emacs-lisp/package.el: Always update selected-packages.
22163 (package--update-selected-packages): New function.
22164 (package-menu-execute): Use it before starting the transaction,
22165 this way the list of selected packages is updated even when the
22167 (package-menu--perform-transaction): Don't edit selected-packages.
22169 2015-05-23 Eli Zaretskii <eliz@gnu.org>
22171 Fix etags reading of compressed files
22172 * lib-src/etags.c (O_CLOEXEC) [WINDOWSNT]: Define.
22173 Include fcntl.h, for O_CLOEXEC.
22174 (process_file_name): Don't use 'popen', whose streams cannot be
22175 rewound. Instead, uncompress the file to a temporary file,
22176 created by 'etags_mktmp', and read from that as usual.
22177 (etags_mktmp): New function.
22178 * test/etags/ETAGS.good_1:
22179 * test/etags/ETAGS.good_2:
22180 * test/etags/ETAGS.good_3:
22181 * test/etags/ETAGS.good_4:
22182 * test/etags/ETAGS.good_5: Update to be consistent with latest
22183 changes in etags.c regarding reading compressed files.
22185 Improve documentation of 'set-fontset-font'
22186 * doc/lispref/display.texi (Fontsets): Document the value of nil
22187 for the 3rd argument of 'set-fontset-font'.
22189 Fix documentation of forward-line
22190 * src/cmds.c (Fforward_line): Clarify the return value if the line
22191 at end of accessible portion of the buffer has no newline.
22192 * doc/lispref/positions.texi (Text Lines): Document what happens
22193 if the line at end of accessible portion of buffer has no newline.
22196 2015-05-22 Glenn Morris <rgm@gnu.org>
22198 * admin/charsets/Makefile.in (TRANS_TABLE): Add short aliases.
22200 * admin/charsets/mapconv (LC_ALL): Set to C.
22202 * Makefile.in: Add admin/charsets into top-level clean rules.
22203 (clean): Add admin/charsets.
22204 (maybeclean_dirs): New variable.
22205 (distclean, bootstrap-clean, maintainer-clean): Use $maybeclean_dirs.
22207 * admin/charsets/Makefile.in (LOCAL, local): Fix members.
22209 2015-05-22 Artur Malabarba <bruce.connor.am@gmail.com>
22211 * lisp/emacs-lisp/package.el (package-selected-packages): Fix doc.
22213 2015-05-22 Glenn Morris <rgm@gnu.org>
22215 Generate admin/charsets Makefile via configure, and make more portable
22216 * configure.ac (SUBDIR_MAKEFILES): Add admin/charsets/Makefile.
22217 (admin/charsets/Makefile): Generate it.
22218 * admin/charsets/Makefile.in: Rename from Makefile.
22219 (AWK, srcdir, top_srcdir, AM_DEFAULT_VERBOSITY):
22220 New variables, set by configure.
22221 (charsetdir, lispintdir, mapfiledir, AM_V_GEN, am__v_GEN_)
22222 (am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_, am__v_at_0)
22223 (am__v_at_1, LOCAL, mapconv, run_mapconv, big5, compact, cp51932)
22224 (cp932, eucjp_ms, gb180302, gb180304, kuten): New variables.
22225 (TRANS_TABLE, CHARSETS): Add directory prefix to value.
22226 (all): Declare PHONY.
22227 (local): New PHONY target.
22228 (map_template): New template. Use to define short PHONY aliases.
22229 (*.map): Add directory prefixes to targets and prerequisites.
22230 Respect make verbosity.
22231 (JISC6226.map): Replace non-portable sed append without newline.
22232 (install): Remove rule.
22233 (clean): Only delete temporary sedscript.
22234 (bootstrap-clean, distclean, maintainer-clean, extraclean)
22235 (totalclean): New PHONY rules.
22236 * admin/charsets/mapconv (BASE): Replace basename with expr.
22237 (FILE): Add "mapfiles" subdirectory.
22238 (AWK): New variable. Use throughout in place of "awk".
22239 (main): Use "gunzip -c" in place of "zcat".
22240 Don't leave whitespace before "p", for older sed.
22241 * admin/charsets/mapfiles/PTCP154: Add final newline,
22242 to make older sed versions happy.
22244 2015-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
22246 * lisp/autorevert.el: Use lexical-binding. Fix hook usage.
22247 (global-auto-revert-ignore-buffer, auto-revert-notify-modified-p)
22248 (auto-revert-notify-watch-descriptor): Use defvar-local.
22249 (find-file-hook, auto-revert-tail-mode)
22250 (auto-revert-notify-add-watch): Use setq-local.
22251 (auto-revert-notify-add-watch): Don't call make-local-variable on
22252 kill-buffer-hook (bug#20601).
22254 2015-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
22256 Change defgeneric so it doesn't completely redefine the function
22257 * lisp/emacs-lisp/cl-generic.el (cl-generic-define): Don't throw away
22258 previously defined methods.
22259 (cl-generic-define-method): Let-bind purify-flag instead of
22261 (cl--generic-prefill-dispatchers): Only define during compilation.
22262 (cl-method-qualifiers): Remove redundant alias.
22263 (help-fns-short-filename): Silence byte-compiler.
22264 * test/automated/cl-generic-tests.el:
22265 Adjust to new defgeneric semantics.
22267 2015-05-21 Artur Malabarba <bruce.connor.am@gmail.com>
22269 * lisp/emacs-lisp/package.el (package-menu-execute):
22270 Remove reference to remove-dups.
22272 2015-05-21 kwhite <kwhite@gnu.org>
22274 * lisp/erc/erc.el: Hide network/channel messages.
22275 (erc-network-hide-list, erc-channel-hide-list): New lists to define
22276 message types per network/channel.
22277 (erc-add-targets): New function to parse list of targets.
22278 (erc-hide-current-message-p): Modify to check for new targets.
22280 2015-05-21 Paul Eggert <eggert@cs.ucla.edu>
22282 Don't quote nil and t in doc strings
22283 This is as per "Tips for Documentation Strings" in the elisp manual.
22284 For consistency, do the same in diagnostics and comments.
22286 2015-05-21 Eli Zaretskii <eliz@gnu.org>
22288 Fix a minor problem with mouse-face on mode line
22289 * src/xdisp.c (note_mode_line_or_margin_highlight): Reset the
22290 mouse face also if the mouse pointer hovers above mode-line glyphs
22291 that don't come from any Lisp string. (Bug#20620)
22293 2015-05-21 Artur Malabarba <bruce.connor.am@gmail.com>
22295 * lisp/emacs-lisp/package.el: Fix selected-package logic.
22296 (package-menu-execute): Mark as selected all non-upgrade packages
22298 (package-menu--perform-transaction): Don't mark anything.
22300 * lisp/emacs-lisp/package.el: Mode-line progress report.
22301 (package-menu--transaction-status): New variable.
22302 (package-menu-mode, package-menu--perform-transaction): Use it.
22304 * lisp/emacs-lisp/package.el: Better transaction messages.
22305 (package-menu--partition-transaction): New function.
22306 (package-menu--prompt-transaction-p, package-menu-execute):
22308 (package-menu--perform-transaction): Don't do any messaging.
22310 * lisp/emacs-lisp/package.el: Revert async package transactions.
22311 (package-menu-async): Update doc.
22312 (package-install-from-archive, package-download-transaction)
22313 (package-install, package-menu--perform-transaction)
22314 (package-menu-execute): Remove asynchronous functionality.
22316 2015-05-21 Paul Eggert <eggert@cs.ucla.edu>
22318 Revert doc string changes to f90.el
22319 Problem reported by Glenn Morris in:
22320 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00596.html
22321 * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
22322 Revert recent changes to doc strings, as it's intended that they
22323 use grave accent, not quote.
22325 2015-05-20 Bozhidar Batsov <bozhidar@batsov.com>
22327 * lisp/emacs-lisp/subr-x.el (hash-table-empty-p):
22328 Improve parameter name.
22330 * lisp/emacs-lisp/subr-x.el (hash-table-empty-p): New inline function.
22332 2015-05-20 Paul Eggert <eggert@cs.ucla.edu>
22334 Don't require help-fns when not needed
22335 * lisp/emacs-lisp/autoload.el, lisp/emacs-lisp/advice.el:
22336 * lisp/emacs-lisp/elint.el:
22337 Don't require help-fns at the top level
22338 * lisp/emacs-lisp/advice.el (ad-arglist):
22339 * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
22340 Don't require help-fns. (Bug#17001)
22342 2015-05-20 Eli Zaretskii <eliz@gnu.org>
22344 Fix slash collapsing in etags on MS-Windows
22345 * lib-src/etags.c (canonicalize_filename) [DOS_NT]: Separate the
22346 MS-Windows code from the Posix code, and support collapsing both
22347 forward- and back-slashes on MS-Windows. Fixes a regression found
22350 Improve documentation of glyphless-char-display
22351 * doc/lispref/display.texi (Glyphless Chars): Improve
22352 documentation of glyphless character display.
22354 Fix "acronym" display of glyphless characters on w32
22355 * src/w32term.c (x_draw_glyphless_glyph_string_foreground): Don't
22356 ignore "acronym" substitutes of 1 character for glyphless characters.
22358 2015-05-20 Oleh Krehel <ohwoeowho@gmail.com>
22360 Add an automated test for let-when-compile
22361 * test/automated/subr-tests.el (let-when-compile): New test.
22363 Add let-when-compile macro instead of using pcase-let
22364 * lisp/subr.el (let-when-compile): New let-like macro that makes its
22365 bindings known to macros like `eval-when-compile' in the body.
22366 * lisp/emacs-lisp/lisp-mode.el: Change the top-level `pcase-let' to
22367 a `let-when-compile'. Also comment out the unused lexical var
22369 The change greatly improves readability, while providing almost the
22370 same (even shorter) byte code: instead of pre-evaluating 10 variables,
22371 tossing them into a list, and destructuring that list a full screen
22372 page later, the variables are simply bound as they are evaluated,
22373 wrapped individually in `eval-when-compile'.
22375 2015-05-20 Artur Malabarba <bruce.connor.am@gmail.com>
22377 * lisp/emacs-lisp/package.el: "Delete" button in Help buffer.
22378 (package-delete-button-action): New function.
22379 (describe-package-1): Add Delete button.
22381 * lisp/emacs-lisp/package.el: Better dependency description.
22382 (package--used-elsewhere-p): New optional arg, ALL, and return
22383 package-desc objects instead of names.
22384 (package-delete): Update accordingly.
22385 (describe-package-1): Describe which packages require the package.
22387 2015-05-20 Martin Rudalics <rudalics@gmx.at>
22389 Fix handling and doc-string of FRAME arg of `other-buffer' (Bug#20533)
22390 * src/buffer.c (Fother_buffer): Argument FRAME must denote a live frame.
22393 Improve `switch-to-buffer' in strongly dedicated windows (Bug#20472)
22394 * lisp/window.el (switch-to-buffer-in-dedicated-window): New option.
22395 (switch-to-buffer): If the selected window is strongly dedicated
22396 to its buffer, signal error before prompting for buffer name.
22397 Handle `switch-to-buffer-in-dedicated-window'.
22398 * doc/lispref/windows.texi (Switching Buffers):
22399 Document `switch-to-buffer-in-dedicated-window'.
22401 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
22403 Prefer "this" to “this” in doc strings
22404 This mostly just straightens quotes introduced in my previous patch.
22405 Suggested by Dmitry Gutov in:
22406 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00565.html
22407 * lisp/faces.el, lisp/gnus/gnus-group.el, lisp/ldefs-boot.el:
22408 * lisp/mail/supercite.el, lisp/net/tramp.el, lisp/recentf.el:
22409 * lisp/textmodes/artist.el, lisp/textmodes/rst.el:
22410 * lisp/textmodes/tildify.el, lisp/vc/ediff-util.el:
22411 * lisp/vc/log-edit.el, lisp/xt-mouse.el:
22412 Prefer straight double quotes to curved double quotes in doc strings.
22414 Fix minor quoting problems in doc strings
22415 These were glitches regardless of how or whether we tackle the
22416 problem of grave accent in doc strings.
22417 * lisp/calc/calc-aent.el (math-restore-placeholders):
22418 * lisp/ido.el (ido-ignore-buffers, ido-ignore-files):
22419 * lisp/leim/quail/cyrillic.el ("bulgarian-alt-phonetic"):
22420 * lisp/leim/quail/hebrew.el ("hebrew-new")
22421 ("hebrew-biblical-sil"):
22422 * lisp/leim/quail/thai.el ("thai-kesmanee"):
22423 * lisp/progmodes/idlw-shell.el (idlwave-shell-file-name-chars):
22424 Used curved quotes to avoid ambiguities like ‘`''’ in doc strings.
22425 * lisp/calendar/calendar.el (calendar-month-abbrev-array):
22426 * lisp/cedet/semantic/mru-bookmark.el (semantic-mrub-cache-flush-fcn):
22427 * lisp/cedet/semantic/symref.el (semantic-symref-tool-baseclass):
22428 * lisp/cedet/semantic/tag.el (semantic-tag-copy)
22429 (semantic-tag-components):
22430 * lisp/cedet/srecode/cpp.el (srecode-semantic-handle-:cpp):
22431 * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
22432 * lisp/emacs-lisp/byte-opt.el (byte-optimize-all-constp):
22433 * lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-engine):
22434 * lisp/emacs-lisp/generator.el (iter-next):
22435 * lisp/gnus/gnus-art.el (gnus-treat-strip-list-identifiers)
22436 (gnus-article-mode-syntax-table):
22437 * lisp/net/rlogin.el (rlogin-directory-tracking-mode):
22438 * lisp/net/soap-client.el (soap-wsdl-get):
22439 * lisp/net/telnet.el (telnet-mode):
22440 * lisp/org/org-compat.el (org-number-sequence):
22441 * lisp/org/org.el (org-remove-highlights-with-change)
22442 (org-structure-template-alist):
22443 * lisp/org/ox-html.el (org-html-link-org-files-as-html):
22444 * lisp/play/handwrite.el (handwrite-10pt, handwrite-11pt)
22445 (handwrite-12pt, handwrite-13pt):
22446 * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
22447 * lisp/progmodes/idlwave.el (idlwave-mode, idlwave-check-abbrev):
22448 * lisp/progmodes/verilog-mode.el (verilog-tool)
22449 (verilog-string-replace-matches, verilog-preprocess)
22450 (verilog-auto-insert-lisp, verilog-auto-insert-last):
22451 * lisp/textmodes/makeinfo.el (makeinfo-options):
22452 * src/font.c (Ffont_spec):
22453 Fix minor quoting problems in doc strings, e.g., missing quote,
22454 ``x'' where `x' was meant, etc.
22455 * lisp/erc/erc-backend.el (erc-process-sentinel-2):
22456 Fix minor quoting problem in other string.
22457 * lisp/leim/quail/ethiopic.el ("ethiopic"):
22458 * lisp/term/tvi970.el (tvi970-set-keypad-mode):
22459 Omit unnecessary quotes.
22460 * lisp/faces.el (set-face-attribute, set-face-underline)
22461 (set-face-inverse-video, x-create-frame-with-faces):
22462 * lisp/gnus/gnus-group.el (gnus-group-nnimap-edit-acl):
22463 * lisp/mail/supercite.el (sc-attribs-%@-addresses)
22464 (sc-attribs-!-addresses, sc-attribs-<>-addresses):
22465 * lisp/net/tramp.el (tramp-methods):
22466 * lisp/recentf.el (recentf-show-file-shortcuts-flag):
22467 * lisp/textmodes/artist.el (artist-ellipse-right-char)
22468 (artist-ellipse-left-char, artist-vaporize-fuzziness)
22469 (artist-spray-chars, artist-mode, artist-replace-string)
22470 (artist-put-pixel, artist-text-see-thru):
22471 * lisp/vc/ediff-util.el (ediff-submit-report):
22472 * lisp/vc/log-edit.el (log-edit-changelog-full-paragraphs):
22473 Use double-quotes rather than TeX markup in doc strings.
22474 * lisp/skeleton.el (skeleton-pair-insert-maybe):
22475 Reword to avoid the need for grave accent and apostrophe.
22476 * lisp/xt-mouse.el (xterm-mouse-tracking-enable-sequence):
22477 Don't use grave and acute accents to quote.
22479 2015-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
22481 * lisp/emacs-lisp/generator.el (cps--gensym, cps--transform-1):
22484 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
22486 Try to port new etags tests to MS-Windows
22487 * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
22488 * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
22489 * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
22490 Adjust to test-case changes below.
22491 * test/etags/Makefile (CSRC): Remove dostorture.c.
22492 Whatever it was trying to test, wasn't working portably.
22493 (LC_ALL): Remove. Apparently there wasn't an encoding problem,
22494 just a line-ending problem.
22495 * test/etags/c-src/dostorture.c: Remove.
22496 * test/etags/cp-src/c.C: Remove stray CR.
22497 * test/etags/html-src/algrthms.html: Remove trailing CRs.
22498 State UTF-8 as the encoding. The file is ASCII so it doesn't matter,
22499 but if someone edits it later it should stay UTF-8-compatible.
22501 2015-05-19 Eli Zaretskii <eliz@gnu.org>
22503 Fix display of overlapping window-specific overlays
22504 * src/keyboard.c (adjust_point_for_property): When adjusting point
22505 due to display strings, ignore overlays that are specific to
22506 windows other than the currently selected one.
22507 * src/xdisp.c (handle_single_display_spec): If the display
22508 property comes from an overlay, arrange for buffer iteration to
22509 resume only after the end of that overlay. (Bug#20607)
22511 2015-05-19 Dmitry Gutov <dgutov@yandex.ru>
22513 New command icomplete-force-complete-and-exit
22514 * lisp/icomplete.el (icomplete-force-complete-and-exit):
22516 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00461.html)
22517 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00516.html).
22518 (icomplete-minibuffer-map): Bind C-j to it.
22519 (icomplete-forward-completions, icomplete-backward-completions):
22520 Mention the new command in the docstring.
22521 * lisp/minibuffer.el (minibuffer-force-complete-and-exit):
22522 Revert the previous fix for bug#17545.
22524 2015-05-19 Martin Rudalics <rudalics@gmx.at>
22528 In Elisp manual explain how to override window manager positioning
22530 * doc/lispref/frames.texi (Position Parameters): Give example of
22531 how to override a window manager positioning decision.
22533 Clarify concept of "surrogate minibuffer frames" (Bug#20538)
22534 * src/frame.c (Fdelete_frame): In doc-string mention that frame
22535 can't be deleted if it has a surrogate minibuffer.
22536 * doc/lispref/frames.texi (Minibuffers and Frames)
22537 (Deleting Frames): Explain "surrogate minibuffer frames".
22539 * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 19/12 MB.
22541 2015-05-18 Glenn Morris <rgm@gnu.org>
22543 Add option to ignore commit lines matching a pattern in ChangeLog
22544 * build-aux/gitlog-to-changelog: Add --ignore-line option.
22545 * build-aux/gitlog-to-emacslog: Ignore lines matching '^; '.
22547 2015-05-18 Paul Eggert <eggert@cs.ucla.edu>
22549 Don't skip new etags tests on non-UTF-8 hosts
22550 Problem reported by Eli Zaretskii for MS-Windows.
22551 * test/etags/Makefile (UTF8_LOCALE, UTF8_ENCODING): Remove.
22552 (LC_ALL): Set to C if the current locale isn't UTF-8.
22553 (.PHONY): Remove ediff_1 thru ediff_5.
22554 (check): Always run.
22556 2015-05-18 Glenn Morris <rgm@gnu.org>
22558 * lisp/calculator.el (calculator-funcall):
22559 * lisp/textmodes/artist.el (artist-spray-random-points):
22560 Use standard degree/radian conversion utilities.
22562 Further lisp-complete-symbol related cleanup.
22563 * lisp/emacs-lisp/lisp.el (lisp-complete-symbol):
22564 Unadvertise non-functional argument. Replace obsolete alias.
22566 2015-05-18 Dmitry Gutov <dgutov@yandex.ru>
22568 Add a test case for Maven warning ouput
22569 * test/automated/compile-tests.el
22570 (compile-tests--test-regexps-data): Add a case for Maven warning
22572 (compile--test-error-line): Check the compilation message type, if
22573 it's specified in the test data.
22575 2015-05-18 Paul Pogonyshev <pogonyshev@gmail.com>
22577 Update Maven compilation-mode entry to distinguish warnings
22578 * lisp/progmodes/compile.el
22579 (compilation-error-regexp-alist-alist): Update Maven entry to
22580 distinguish warnings (bug#20556).
22582 2015-05-18 Przemysław Wojnowski <esperanto@cumego.com>
22584 * test/automated/sgml-mode-tests.el: New file.
22586 2015-05-18 Dmitry Gutov <dgutov@yandex.ru>
22588 Improve handling of the first Git revision
22589 * lisp/vc/log-view.el (log-view-toggle-entry-display): When
22590 there's no next entry, delete until the end of the buffer.
22591 (log-view-end-of-defun-1): Stop at eob.
22592 * lisp/vc/vc-annotate.el
22593 (vc-annotate-show-diff-revision-at-line-internal): Don't give up
22594 when previous-revision is nil.
22595 * lisp/vc/vc-git.el (vc-git-expanded-log-entry): End the arguments
22596 with `--' to avoid ambiguity.
22597 (vc-git-annotate-extract-revision-at-line): Exclude `^' from the
22598 returned revision string.
22599 (vc-git-annotate-time): Expect `^' before the first revision.
22600 * lisp/vc/vc-git.el (vc-git-diff): Diff against an empty tree if
22601 REV1 is nil, and REV2 is not.
22602 * lisp/vc/vc.el: Update the description of the `diff' function.
22604 2015-05-18 Oleh Krehel <ohwoeowho@gmail.com>
22606 Allow checkdoc to be called in batch
22607 * lisp/emacs-lisp/checkdoc.el (checkdoc-error): When `noninteractive'
22608 is non-nil, echo the error with `warn'.
22609 How it can be used in -batch:
22610 (with-current-buffer (find-file "checkdoc.el")
22611 (checkdoc-current-buffer t))
22613 2015-05-18 Glenn Morris <rgm@gnu.org>
22615 * lisp/calendar/solar.el (solar-ecliptic-coordinates): Use float-pi.
22617 2015-05-17 Paul Eggert <eggert@cs.ucla.edu>
22619 * admin/notes/unicode: New section "binary files".
22621 Change new etags test to use UTF-8 encoding
22622 * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
22623 * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
22624 * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
22625 * test/etags/html-src/index.shtml, test/etags/html-src/software.html:
22626 * test/etags/html-src/softwarelibero.html:
22627 Switch to UTF-8 encoding.
22628 * test/etags/Makefile (SRCS): Adjust to switch to UTF-8.
22629 Remove Makefile, as it's too incestuous to have the test input
22630 include the build procedure.
22631 (UTF8_LOCALE, UTF_ENCODING): New macros.
22632 (LC_ALL): If possible, set to a UTF-8 encoding if not already UTF-8.
22633 (check): Skip if not UTF-8.
22634 (.PHONY): New rule.
22635 (FRC): Remove, as superseded by .PHONY. All uses removed.
22636 (regexfile): Prefer printf to echo when outputting oddball chars.
22637 (.PRECIOUS): Remove, as these files are not built.
22639 Rename 'foo-gzipped' to 'foo.gz'
22640 * test/automated/data/decompress/foo.gz:
22641 Rename from test/automated/data/decompress/foo-gzipped,
22642 to make it easier for other tools to tell that it's compressed.
22643 * test/automated/zlib-tests.el (zlib--decompress):
22644 Adjust to renamed file.
22646 2015-05-17 Dmitry Gutov <dgutov@yandex.ru>
22648 Set up default-directory
22649 * lisp/vc/vc-annotate.el (vc-annotate-mode-map): Remove duplicate
22651 (vc-annotate-show-changeset-diff-revision-at-line): Set up an
22652 appropriate value for default-directory.
22654 2015-05-17 Samer Masterson <samer@samertm.com>
22656 * lisp/eshell/em-term.el (eshell-term-sentinel):
22657 No-op by default, only kills term buffer if
22658 `eshell-destroy-buffer-when-process-dies' is non-nil. (Bug#18108)
22659 (eshell-destroy-buffer-when-process-dies): New custom to preserve
22662 eshell: Introduce new buffer syntax
22663 The new buffer syntax '#<buffer-name>' is equivalent to '#<buffer
22664 buffer-name>'. Remove `eshell-buffer-shorthand', as it is no longer
22665 needed (Bug#19319).
22666 * lisp/eshell/esh-io.el (eshell-buffer-shorthand): Remove.
22667 (eshell-get-target): Remove shorthand-specific code.
22668 * lisp/eshell/esh-arg.el (eshell-parse-special-reference): Parse
22671 2015-05-17 Jan D <jan.h.d@swipnet.se>
22673 Merge branch 'master' into cairo
22675 2015-04-26 Jan D <jan.h.d@swipnet.se>
22677 Merge branch 'master' into cairo
22679 Add PBM support for cairo
22680 * src/image.c (xcolor_to_argb32): New function.
22681 (get_spec_bg_or_alpha_as_argb): Call xcolor_to_argb32.
22682 (pbm_load, png_load_body, jpeg_load_body, gif_load): Only use
22683 XImagePtr if ! USE_CAIRO.
22684 (pbm_load): Add cairo support.
22686 2015-04-12 Jan D <jan.h.d@swipnet.se>
22688 * src/xterm.c (x_free_cr_resources): Rename from x_prepare_for_xlibdraw.
22689 (x_cr_draw_frame, x_cr_export_frames, x_shift_glyphs_for_insert)
22690 (x_free_frame_resources): Rename x_prepare_for_xlibdraw to
22691 x_free_cr_resources.
22693 Handle specified bg in images. Use generic libpng code for PNGs.
22694 * src/image.c (get_spec_bg_or_alpha_as_argb)
22695 (create_cairo_image_surface): New functions when USE_CAIRO.
22696 (xpm_load): Call the above functions. Handle XPM without mask
22698 (png_load_body): Handle USE_CAIRO case.
22699 (png_load): Remove USE_CAIRO specific fuction, modify png_load_body
22701 (jpeg_load_body): Call create_cairo_image_surface.
22702 (gif_load, svg_load_image): Handle specified background, call
22703 create_cairo_image_surface.
22704 * src/xterm.c (x_draw_image_glyph_string): Add missing USE_CAIRO.
22706 2015-04-11 Jan D <jan.h.d@swipnet.se>
22708 Support GIF and TIFF with cairo
22709 * configure.ac: Allow jpeg with cairo.
22710 Allow tiff and gif with cairo.
22711 * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
22712 (tiff_load): Create cairo image surface if USE_CAIRO.
22715 Support JPEG with USE_CAIRO
22716 * configure.ac: Allow jpeg with cairo.
22717 * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
22719 2015-04-05 Jan D <jan.h.d@swipnet.se>
22721 Support RSVG and cairo
22722 * configure.ac: Allow rsvg with cairo. Move back HAVE_RSVG.
22723 * src/dispextern.h (struct image): Add cr_data2 if cairo.
22724 * src/image.c: #undef COLOR_TABLE_SUPPORT when USE_CAIRO.
22725 (x_clear_image): Free cr_data and cr_data2 if set.
22726 (xpm_load): Assign data to cr_data2.
22727 (svg_load_image): Convert from GdkPixbuf to CAIRO_FORMAT_ARGB32.
22729 2015-04-03 Jan D <jan.h.d@swipnet.se>
22731 Introduce limited Xpm support (32 bit ZPixmap) for Cairo
22732 * configure.ac (HAVE_RSVG): Move after cairo.
22733 (USE_CAIRO): Disable rsvg, don't disable Xpm.
22734 * src/image.c (prepare_image_for_display): Don't load if USE_CAIRO.
22735 (x_clear_image): If USE_CAIRO, also free possible img->ximg->obdata and
22736 don't return early.
22737 (ALLOC_XPM_COLORS): Don't define when USE_CAIRO.
22738 (xpm_load): Convert simple Xpms (32 bit ZPixmap) to CAIRO_FORMAT_ARGB32
22739 and create a surface.
22741 Tool tips for menus did not show any text.
22742 * src/xterm.c (x_update_begin): Don't create any surface for non-visible
22743 tip frames, the geometry may be wrong.
22745 Merge branch 'master' into cairo, fixes tooltips not shown.
22747 Merge branch 'master' into cairo
22749 Add CAIRO_CFLAGS to lwlib/Makefile.in
22750 * Makefile.in (CAIRO_CFLAGS): Add.
22752 2015-02-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22754 * src/ftcrfont.c (ftcrfont_draw): Don't flush when drawing to screen.
22756 2015-02-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22758 Draw outermost line using black relief and erase corners also for cairo.
22759 * src/xterm.c [USE_CAIRO]: Include math.h.
22760 (enum corners) [USE_CAIRO]: New enum.
22761 (x_erase_corners_for_relief) [USE_CAIRO]: New function.
22762 (x_draw_relief_rect) [USE_CAIRO]: Use it. If box width is larger
22763 than 1, draw the outermost line using the black relief.
22765 * src/xterm.c (x_fill_trapezoid_for_relief):
22766 Remove unnecessary cairo_close_path.
22768 2015-02-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22770 * src/xterm.c (x_draw_relief_rect) [USE_CAIRO]: Reset clipping.
22772 * src/xterm.c (x_draw_stretch_glyph_string):
22773 Call x_reset_clip_rectangles instead of XSetClipMask.
22775 Use int instead of unsigned int for width and height args.
22776 * src/xterm.c (x_cr_draw_image, x_fill_rectangle, x_draw_rectangle)
22777 (x_fill_trapezoid_for_relief): Use int instead of unsigned int for
22778 width and height args.
22780 Modernize k&r cairo-related function declarations.
22781 * src/gtkutil.c (xg_page_setup_dialog, xg_get_page_setup, draw_page)
22782 (xg_print_frames_dialog): Modernize k&r declarations.
22783 * src/xfns.c (Fx_export_frames, Fx_page_setup_dialog, Fx_get_page_setup)
22784 (Fx_print_frames_dialog): Modernize k&r declarations.
22785 * src/xterm.c (x_gc_get_ext_data, x_extension_initialize)
22786 (x_begin_cr_clip, x_end_cr_clip, x_set_cr_source_with_gc_foreground)
22787 (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
22788 (x_cr_destroy_fringe_bitmap, x_cr_draw_frame, x_cr_accumulate_data)
22789 (x_cr_destroy, x_cr_export_frames, x_prepare_for_xlibdraw)
22790 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
22791 (x_draw_rectangle, x_clear_window, x_fill_trapezoid_for_relief)
22792 (x_clear_area): Modernize k&r declarations.
22794 Implement wave-style variant of underlining for cairo.
22795 * src/xterm.c (x_draw_horizontal_wave) [USE_CAIRO]: New function.
22796 (x_draw_underwave) [USE_CAIRO]: Use it.
22798 * src/xterm.c (x_draw_window_divider): Use x_fill_rectangle
22799 instead of XFillRectangle.
22801 2015-02-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22803 Fix fringe bitmap initialization for cairo
22804 * src/fringe.c (init_fringe_bitmap) [USE_CAIRO]: Adjust bitmap
22805 data for cairo image surface.
22806 * src/xterm.c (x_cr_define_fringe_bitmap):
22807 Call cairo_surface_mark_dirty.
22809 2015-02-11 Jan D <jan.h.d@swipnet.se>
22812 * configure.ac (with-cairo): New option.
22813 (USE_CAIRO): Default to yes for Gtk+ 3. Add code to test for cairo,
22814 set CAIRO_CFLAGS, CAIRO_LIBS. Add ftcrfonto to FONT_OBJ if cairo.
22815 Output "Does Emacs use cairo?".
22816 * lisp/version.el (emacs-version): Add cairo version.
22817 * src/Makefile.in (CAIRO_CFLAGS, CAIRO_LIBS): New variables.
22818 (FONT_OBJ): Add comment about ftcrfont.
22819 (ALL_CFLAGS): Add CAIRO_CFLAGS.
22820 (LIBES): Add CAIRO_LIBS.
22821 * src/dispextern.h (struct image): Add cr_data for cairo.
22822 (x_cr_init_fringe): Declare.
22823 * src/font.c (syms_of_font): Call syms_of_ftcrfont for cairo.
22824 * src/font.h (ftcrfont_driver, syms_of_ftcrfont): Declare
22825 * src/fringe.c (x_cr_init_fringe): New function name that shares code
22826 with w32_init_fringe.
22827 * src/ftcrfont.c: New font driver for cairo, based on the ftfont driver.
22828 * src/ftfont.c (ftfont_info_size); New global variable.
22829 (ftfont_open2): New extern function almost the same as old ftfont_open,
22830 but takes the font_object as argument.
22831 (ftfont_open): Build font object and call ftfont_open2.
22832 * src/ftfont.h (ftfont_open2, ftfont_info_size): Declare.
22833 * src/gtkutil.c (xg_clear_under_internal_border)
22834 (xg_update_scrollbar_pos, xg_update_horizontal_scrollbar_pos):
22835 Only queue_draw if not cairo. Change args to x_clear_area.
22836 (xg_get_font): Use Qftcr when using cairo, Qxft otherwise.
22837 (xg_page_setup_dialog, xg_get_page_setup, draw_page)
22838 (xg_print_frames_dialog): New functions for printing.
22839 * src/gtkutil.h (xg_page_setup_dialog, xg_get_page_setup)
22840 (xg_print_frames_dialog): Declare.
22841 * src/image.c: Add defined (USE_CAIRO) for PNG.
22842 Add !defined USE_CAIRO for W32 PNG code.
22843 (x_clear_image): If cairo, destroy the surface in cr_data.
22844 (png_load): Add new cairo compatible implementation.
22845 (lookup_image_type): Add defined (USE_CAIRO) for define png_type.
22846 * src/xfns.c: New section Printing.
22847 (x-export-frames, x-page-setup-dialog, x-get-page-setup)
22848 (x-print-frames-dialog): New printing functions.
22849 (Fx_create_frame, x_create_tip_frame): Register ftcrfont if cairo.
22850 (syms_of_xfns): Defsym Qorientation, Qtop_margin, Qbottom_margin,
22851 Qportrait, Qlandscape, Qreverse_portrait, Qreverse_landscape).
22852 (syms_of_xfns): Provide cairo and defvar cairo-version-string.
22853 defsubr Sx_page_setup_dialog, Sx_get_page_setup, Sx_print_frames_dialog.
22854 * src/xterm.c (x_clear_area1, x_prepare_for_xlibdraw)
22855 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
22856 (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
22857 (x_gc_get_ext_data, x_extension_initialize, x_cr_accumulate_data):
22859 (FRAME_CR_CONTEXT, FRAME_CR_SURFACE): New macros.
22860 (max_fringe_bmp, fringe_bmp): New variables.
22861 (x_gc_get_ext_data, x_extension_initialize)
22862 (x_cr_destroy_surface, x_begin_cr_clip, x_end_cr_clip)
22863 (x_set_cr_source_with_gc_foreground)
22864 (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
22865 (x_cr_destroy_fringe_bitmap, x_cr_draw_image, x_cr_draw_frame)
22866 (x_cr_accumulate_data, x_cr_destroy, x_cr_export_frames)
22867 (x_prepare_for_xlibdraw, x_set_clip_rectangles)
22868 (x_reset_clip_rectangles, x_fill_rectangle, x_draw_rectangle)
22869 (x_clear_window, x_fill_trapezoid_for_relief): New functions.
22870 (x_update_begin): Create cairo surface if needed.
22871 (x_draw_vertical_window_border): Call x_fill_rectangle for cairo.
22872 (x_update_end): Paint cairo drawing surface to xlib surface.
22873 (x_clear_under_internal_border, x_after_update_window_line): Adjust
22874 arguments to x_clear_area.
22875 (x_draw_fringe_bitmap): Call x_fill_rectangle. Get GC values and
22876 call x_cr_draw_image for cairo. Call x_reset_clip_rectangles instead
22878 (x_set_glyph_string_clipping)
22879 (x_set_glyph_string_clipping_exactly): Use x_set_clip_rectangles
22880 instead of XSetClipRectangles.
22881 (x_clear_glyph_string_rect, x_draw_glyph_string_background):
22882 Use x_fill_rectangle instead of XFillRectangle.
22883 (x_draw_glyph_string_foreground)
22884 (x_draw_composite_glyph_string_foreground)
22885 (x_draw_glyphless_glyph_string_foreground): Use x_draw_rectangle
22886 instead of XDrawRectangle.
22887 (x_draw_relief_rect): Add code for USE_CAIRO.
22888 Call x_reset_clip_rectangles instead of XSetClipMask.
22889 (x_draw_box_rect): x_set_clip_rectangles instead of XSetClipRectangles,
22890 x_fill_rectangle instead of XFillRectangle, x_reset_clip_rectangles
22891 instead of XSetClipMask.
22892 (x_draw_image_foreground, x_draw_image_foreground_1):
22893 x_draw_rectangle instead of XDrawRectangle.
22894 (x_draw_glyph_string_bg_rect): x_fill_rectangle instead of
22896 (x_draw_image_glyph_string): If img has cr_data, use it as
22898 (x_draw_stretch_glyph_string): x_set_clip_rectangles instead of
22899 XSetClipRectangles, x_fill_rectangle instead of XFillRectangle.
22900 (x_draw_glyph_string): x_fill_rectangle instead of XFillRectangle.,
22901 x_reset_clip_rectangles instead of XSetClipMask.
22902 (x_shift_glyphs_for_insert): Call x_prepare_for_xlibdraw.
22903 (x_clear_area1): New function that calls XClearArea.
22904 (x_clear_area): Takes frame as parameter, calls x_clear_area1 for
22906 (x_clear_frame): x_clear_window instead of XClearWindow.
22907 (x_scroll_run): Set frame garbaged if cairo.
22908 (XTmouse_position): Initialize *part to 0.
22909 (x_scroll_bar_create): Adjust arguments to x_clear_area.
22910 (x_scroll_bar_set_handle): x_clear_area1 instead of x_clear_area,
22911 x_fill_rectangle instead of XFillRectangle.
22912 (XTset_vertical_scroll_bar, XTset_horizontal_scroll_bar): Adjust
22913 arguments to x_clear_area.
22914 (x_scroll_bar_expose): x_draw_rectangle instead of XDrawRectangle.
22915 (handle_one_xevent): Adjust arguments to x_clear_area.
22916 Destroy cairo surface for frame if ConfigureNotify.
22917 (x_clip_to_row): x_set_clip_rectangles instead of XSetClipRectangles.
22918 (x_draw_hollow_cursor): x_draw_rectangle instead of XDrawRectangle,
22919 x_reset_clip_rectangles instead of XSetClipMask.
22920 (x_draw_bar_cursor): x_fill_rectangle instead of XFillRectangle,
22921 x_reset_clip_rectangles instead of XSetClipMask.
22922 (x_clear_frame_area): Adjust arguments to x_clear_area.
22923 (x_free_frame_resources): Call x_prepare_for_xlibdraw.
22924 (x_term_init): Call x_extension_initialize if cairo.
22925 (x_redisplay_interface): Add x_cr_define_fringe_bitmap,
22926 x_cr_destroy_fringe_bitmap for cairo.
22927 (x_initialize): Call x_cr_init_fringe for cairo.
22928 * src/xterm.h: Add include of cairo header files.
22929 (x_bitmap_record): Add img if cairo.
22930 (x_gc_ext_data): New struct for cairo.
22931 (x_display_info): Add ext_codes for cairo.
22932 (x_output): Add cr_context and cr_surface for cairo.
22933 (x_clear_area): Change arguments from Display*/Window to frame pointer.
22934 (x_query_color, x_begin_cr_clip, x_end_cr_clip)
22935 (x_set_cr_source_with_gc_foreground, x_set_cr_source_with_gc_background)
22936 (x_cr_draw_frame, x_cr_export_frames): Declare.
22938 2015-05-17 Johan Bockgård <bojohan@gnu.org>
22940 Fix integer-valued `mouse-highlight' (Bug#20590)
22941 * src/xterm.c (handle_one_xevent) [USE_GTK]: Fix ifdef scope.
22943 2015-05-17 Eli Zaretskii <eliz@gnu.org>
22945 MS-Windows followup for ASCIIfication of curved quotes
22946 * lisp/term/w32console.el (terminal-init-w32console): Repeat the
22947 test for curved quotes being displayable, after switching the
22948 terminal encoding. (Bug#20545)
22950 2015-05-17 Jan D <jan.h.d@swipnet.se>
22952 Add comment that x_shift_glyphs_for_insert is never called
22953 * src/xterm.c (x_shift_glyphs_for_insert, x_redisplay_interface):
22954 Add comment that this function is never called.
22956 2015-05-16 Glenn Morris <rgm@gnu.org>
22958 * src/lisp.mk: Remove from repository and generate at build-time.
22959 * src/Makefile.in (lisp.mk): New rule to generate from loadup.el.
22960 (shortlisp_filter): New variable.
22961 (emacs$(EXEEXT), $(etc)/DOC): Depend on lisp.mk.
22962 (distclean): Remove lisp.mk.
22963 * Makefile.in ($(MAKEFILE_NAME)): No longer depend on src/lisp.mk.
22964 * lisp/loadup.el: Tweak layout to make it easier to parse.
22965 * make-dist: Do not distribute src/lisp.mk.
22967 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
22969 Display shorter dates in Git annotate output
22970 * lisp/vc/vc-git.el (vc-git-annotate-command): Use the short date
22971 format (when not overridden with vc-git-annotate-switches).
22972 (vc-git-annotate-time): Support the short format, as well as ISO
22973 8601 that has been used until now (bug#5428).
22975 2015-05-16 Paul Eggert <eggert@cs.ucla.edu>
22977 ASCIIfy curved quotes on displays lacking them
22978 * lisp/international/mule-cmds.el (set-locale-environment):
22979 If curved quotes don't work, display straight ASCII approximations
22982 2015-05-16 Glenn Morris <rgm@gnu.org>
22984 Small src/Makefile simplification
22985 * src/lisp.mk (shortlisp): Rename from lisp, remove $lispsource prefix.
22986 * src/Makefile.in (lisp): Derive from shortlisp.
22987 ($(etc)/DOC): Use $shortlisp rather than parsing lisp.mk.
22989 2015-05-16 Eli Zaretskii <eliz@gnu.org>
22991 * lisp/help-mode.el (help-go-forward): Doc fix.
22994 * doc/lispref/debugging.texi (Profiling): Improve indexing.
22997 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
22999 * lisp/vc/vc-git.el (vc-git-resolve-when-done): Use `unless' to
23000 have one fewer `not'.
23002 * lisp/vc/vc-git.el (vc-git-diff-switches)
23003 (vc-git-annotate-switches, vc-git-resolve-conflicts)
23004 (vc-git-program, vc-git-root-log-format): Remove the redundant
23005 :group declarations.
23007 2015-05-16 Nicolas Petton <nicolas@petton.fr>
23009 Removes the predicate from lisp-complete-symbol (Bug#20456)
23010 * lisp/emacs-lisp/lisp.el (lisp-complete-symbol): Do not use predicate
23011 and remove it from the docstring.
23013 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
23015 Add new option vc-git-resolve-conflicts
23016 * lisp/vc/vc-git.el (vc-git-resolve-conflicts): New variable.
23017 (vc-git-find-file-hook): Add to after-save-hook only when the
23019 (vc-git-resolve-when-done): Update to honor the new variable.
23022 2015-05-16 Artur Malabarba <bruce.connor.am@gmail.com>
23024 * lisp/emacs-lisp/tabulated-list.el: Don't error on null header-string.
23025 (tabulated-list-init-header): Document new behavior.
23026 (tabulated-list-print-fake-header): Do nothing if
23027 `tabulated-list--header-string' is nil.
23028 (tabulated-list--header-string): Add a docstring.
23029 * doc/lispref/modes.texi (Tabulated List Mode): Document it.
23030 * etc/NEWS: Document it.
23032 2015-05-15 Leo Liu <sdl.web@gmail.com>
23034 Revert "Fix cps--gensym"
23035 * lisp/emacs-lisp/generator.el (cps--gensym): Revert commit
23036 fbda511ab8069d0115eafca411a43353b85431b1 on 2015-05-14.
23038 2015-05-15 Glenn Morris <rgm@gnu.org>
23040 Replace AC_SUBST_FILE in configure with include in Makefiles
23041 * configure.ac (DEPDIR, MKDEPDIR, deps_frag, lwlib_deps_frag)
23042 (oldxmenu_deps_frag, lisp_frag): Remove output variables/files.
23043 (AUTO_DEPEND): New output variable.
23044 * lwlib/Makefile.in (AUTO_DEPEND): New, set by configure.
23045 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
23046 (lwlib_deps_frag): Replace by conditional include.
23047 * lwlib/autodeps.mk: Remove file.
23048 * oldXMenu/Makefile.in (AUTO_DEPEND): New, set by configure.
23049 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
23050 (oldxmenu_deps_frag): Replace by conditional include.
23051 * oldXMenu/autodeps.mk: Remove file.
23052 * src/Makefile.in (AUTO_DEPEND): New, set by configure.
23053 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
23054 (lisp_frag): Replace by an include.
23055 (deps_frag): Replace by conditional include.
23056 * src/autodeps.mk: Remove file.
23058 Tweak japanese.el's loading of dependencies
23059 * lisp/loadup.el: Explicitly load cp51932 and eucjp-ms.
23060 * lisp/language/japanese.el: Use require rather than load.
23061 * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
23063 * admin/charsets/eucjp-ms.awk, admin/charsets/cp51932.awk:
23064 Provide a feature in the generated file.
23066 2015-05-15 Jan D <jan.h.d@swipnet.se>
23069 * src/nsmenu.m (ns_popup_dialog)
23070 * src/nsimage.m (initFromXBM:width:height:fg:bg:)
23071 * src/nsfns.m (Fx_create_frame): Remove unused variables.
23072 (Fns_read_file_name): Initialize fname, remove ret.
23073 * src/nsterm.m (ns_draw_window_cursor): Handle DEFAULT_CURSOR in switch.
23074 (ns_get_color, ns_set_horizontal_scroll_bar, keyDown):
23075 Remove unused variable.
23076 (init): Add parantesis in if.
23077 (ns_create_terminal): Assign set_horizontal_scroll_bar_hook.
23079 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
23081 Fix a enum conversion warning in macfont.m
23082 * src/macfont.h (CharacterCollection): Typedef to NSCharacterCollection.
23083 (MAC_CHARACTER_COLLECTION_*): Use the NS variants.
23085 2015-05-15 Eli Zaretskii <eliz@gnu.org>
23087 * lisp/textmodes/ispell.el (ispell-aspell-find-dictionary):
23088 Support Aspell dictionaries with names like "de-alt". (Bug#20581)
23090 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
23092 * lisp/cus-start.el: Add ns-confirm-quit.
23094 Fix warnings on OSX 10.10
23095 * src/nsfns.m (MODAL_OK_RESPONSE): New define for different
23097 (Fns_read_file_name): Check against MODAL_OK_RESPONSE.
23098 (compute_tip_xy): Use convertRectToScreen for OSX >= 10.7
23099 * src/nsmenu.m (initWithContentRect:styleMask:backing:defer:)
23100 * src/nsimage.m (allocInitFromFile, setPixmapData): Only call
23101 setScalesWhenResized for OSX < 10.6.
23102 * src/nsterm.h (EmacsScroller): Declare scrollerWidth.
23103 * src/nsterm.m (ns_copy_bits): New function that does not use
23104 deprecated NSCopyBits.
23105 (ns_scroll_run, ns_shift_glyphs_for_insert): Call ns_copy_bits.
23106 (runAlertPanel): New function.
23107 (applicationShouldTerminate:): Call runAlertPanel.
23108 (initFrameFromEmacs, toggleFullScreen:): Only call
23109 useOptimizedDrawing for OSX < 10.10.
23110 (initFrameFromEmacs:): Only call allocateGState for OSX < 10.10.
23111 (windowWillUseStandardFrame:defaultFrame:): Cast arg to abs to int.
23112 (draggingEntered:): Returns NSDragOperation.
23113 (scrollerWidth): Use scrollerWidthForControlSize for OSX >= 10.7.
23115 2015-05-15 Artur Malabarba <bruce.connor.am@gmail.com>
23117 * lisp/emacs-lisp/package.el: Don't ensure-init during startup.
23118 (package--init-file-ensured): New variable.
23119 (package-initialize, package--ensure-init-file): Use it.
23121 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
23123 Honor :fore/background for XBM on NS (Bug#14969)
23124 * src/nsterm.h (EmacsImage): Add xbm_fg, remove initFromSkipXBM,
23125 initFromXBM takes bg, fg args, remove flip arg.
23126 (ns_image_from_XBM): Add bg, fg args.
23127 * src/image.c (x_create_bitmap_from_data)
23128 (Create_Pixmap_From_Bitmap_Data): ns_image_from_XBM takes bg, fg args.
23129 * src/nsimage.m (ns_image_from_XBM): Add fg, bg args, pass to
23130 initFromXBM. Remove flip arg.
23131 (initFromSkipXBM): Move code to initFromXBM.
23132 (initFromXBM): Actually set fg and bg, instead of playing alpha games.
23133 Use fg, bg from args (Bug#14969). Remove if (length) section, was
23135 Remove bit flipping (bitPat, swt), generated incorrect images when
23136 width/height wasn't a multiple of 8.
23137 (setXBMColor:): Modify planes by comparing to saved xbm_fg.
23138 * src/nsterm.m (ns_draw_fringe_bitmap): initFromXBM takes fg, bg args,
23141 2015-05-15 Artur Malabarba <bruce.connor.am@gmail.com>
23143 * lisp/emacs-lisp/package.el: Be more careful with the init file.
23144 (package--ensure-init-file): Check that user-init-file is set,
23145 exists, is readable, and is writable. (Bug#20584)
23146 Also expand the docstring.
23148 2015-05-14 Wilson Snyder <wsnyder@wsnyder.org>
23150 Sync with upstream verilog-mode revision 6232468
23151 * lisp/progmodes/verilog-mode.el
23152 (verilog-font-lock-grouping-keywords-face)
23153 (verilog-highlight-grouping-keywords): Fix use of face when
23154 `verilog-highlight-grouping-keywords' set. Reported by Jeff Pompa.
23155 (verilog-auto-reset): Fix AUTORESET to ignore member resets if
23156 parent is reset, bug906. Reported by Ken Schmidt.
23157 (verilog-auto-inout-module): Add fourth regexp argument to
23158 AUTOINOUTMODULE and AUTOINOUTCOMP for signals to not match, bug856.
23159 Reported by John Tillema.
23160 (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
23161 modport if signal attachment is itself a modport. Reported by
23163 (verilog-auto-reset, verilog-auto-sense-sigs): Fix AUTORESET with
23164 always_comb and always_latch, bug844. Reported by Greg Hilton.
23165 (verilog-at-constraint-p, verilog-beg-of-statement-1): Fix hanging
23166 with many curly-bracket pairs, bug663.
23167 (verilog-set-auto-endcomments): Fix end comments for functions of
23168 type void, etc. Reported by Alex Reed.
23169 (verilog-do-indent): Fix electric tab deleting form-feeds. Note
23170 caused by indent-line-to deleting tabls pre 24.5.
23171 (verilog-nameable-item-re): Fix nameable items that can have an
23172 end-identifier to include endchecker, endgroup, endprogram,
23173 endproperty, and endsequence. Reported by Alex Reed.
23174 (verilog-label-be): When auto-commenting a buffer, consider
23175 auto-comments on all known keywords (not just a subset thereof).
23176 Reported by Alex Reed.
23177 (verilog-auto-end-comment-lines-re)
23178 (verilog-end-block-ordered-re, verilog-set-auto-endcomments):
23179 Automatically comment property/endproperty blocks to match other
23180 similar blocks like sequence/endsequence, function/endfunction, etc.
23181 Reported by Alex Reed.
23182 (verilog-set-auto-endcomments): Detect the function- or task-name
23183 when auto-commenting blocks that lack an explicit portlist.
23184 Reported by Alex Reed.
23185 (verilog-auto, verilog-auto-insert-last): Add AUTOINSERTLAST to
23186 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
23187 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
23188 is nil, fix indenting initial/final to match always statements,
23189 bug825. Reported by Tim Clapp.
23190 (verilog-extended-complete-re): Fix indentation of DPI-C imports
23191 with c_identifiers, and DPI-C imports, bug557. Reported by ZeDong
23192 Mao and Jason Forkey.
23193 (verilog-read-decls): Fix parsing typed interfaces. Fix
23194 AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
23195 Fix localparam not being ignored in AUTOINSTPARAM,
23196 bug889. Reported by Shannon Hill.
23197 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY,
23198 bug793. Reported by Pierre-David Pfister.
23199 (verilog-auto-arg-format, verilog-auto-arg-ports):
23200 Add verilog-auto-arg-format to support newlines in AUTOARG.
23201 Reported by Jie Xiao.
23202 (verilog-batch-execute-func): Do not batch re-auto files loaded by
23203 Local Variables. Fix printing "no changes to be saved" with
23204 verilog-batch. Reported by Dan Dever.
23205 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
23206 interface-only modules, bug721. Reported by Dean Hoyt.
23207 Author: Alex Reed <acreed4@gmail.com>
23208 * lisp/progmodes/verilog-mode.el (verilog-beg-of-statement):
23209 Don't treat '<keyword>:<identifier>' as the start of a labeled
23210 statement, bug905. Reported by Enzo Chi.
23211 (verilog-directive-re, verilog-compiler-directives)
23212 (verilog-keywords): Match full set of IEEE 2012-1800 compiler
23213 directives (plus some extras) when determining indentation, bug
23214 901. Reported by Bernd Beuster.
23215 (verilog-at-constraint-p): Fix indentation of coverpoint bins if
23216 iff expression doesn't start with word-character, bug900.
23217 (verilog-optional-signed-range-re, verilog-optional-signed-re):
23218 Fix incorrect indentation/alignment of unsigned declarations,
23220 (verilog-looking-back, verilog-in-attribute-p): Fix labeling of
23221 always constructs, bug895.
23222 (verilog-calc-1): Fix verilog-mode constraint indentation, bug324.
23223 Reported by Eric Mastromarchi.
23224 (verilog-beg-of-statement): Fix indenting for some forms of
23225 constraintsm bug433. Reported by Brad Parker. Fix indentation of
23226 continued assignment incorrect if first line ends with ']', bug437.
23227 Reported by Dan Dever. Fix indention of cover inside an
23228 ifdef, bug 862. Reported by Bernd Beuster. Fix labeling do-while
23230 (verilog-preprocessor-re): Fix fork/end UNMATCHED warning, bug859.
23231 Reported by Kaushal Modi.
23232 (verilog-set-auto-endcomments): Fix endlabel end comments, bug888.
23233 (verilog-backward-token): Fix indenting sensitivity lists with
23234 named events, bug840. Reed.
23235 (verilog-no-indent-begin-re): Fix `verilog-indent-begin-after-if'
23236 nil not honoring 'forever', 'foreach', and 'do' keywords.
23238 2015-05-14 Paul Eggert <eggert@cs.ucla.edu>
23240 Check for invalid GTK+ monitor scales
23241 * src/gtkutil.c (xg_get_gdk_scale): Return 1 for invalid scales,
23242 INT_MAX for too-large scales. All callers changed to assume the
23243 result is valid (Bug#20432).
23244 (xg_frame_set_char_size, xg_update_scrollbar_pos):
23245 Calculate scale only if needed.
23246 Show ASCII approximations instead.
23248 2015-05-14 Eli Zaretskii <eliz@gnu.org>
23250 Fix daemon crashes when linum-mode is turned on early on
23251 * src/window.c (Fwindow_end): Don't try calling display engine
23252 functions on initial-frame frame. (Bug#20565)
23254 Fix selective diff browsing in Ediff
23255 * lisp/vc/ediff-util.el (ediff-focus-on-regexp-matches):
23256 Go to the beginning of the region before searching for the
23257 ediff-regexp-focus-* regexps. (Bug#20568)
23259 2015-05-14 Jan D <jan.h.d@swipnet.se>
23262 * src/gtkutil.c (delete_cb): Don't send delete event here, it does
23263 arrive in the main loop, even for Gtk 3 (Bug#20142).
23265 Don't access display after i/o error (Bug#19147).
23266 * src/xterm.c (x_connection_closed): Add third arg ioerror.
23267 If ioerror, set display to 0 (Bug#19147).
23268 (x_error_quitter): Call x_connection_closed with third arg false.
23269 (x_io_error_quitter): Call x_connection_closed with third arg true.
23271 Handle GTK_SCALE, fixes Bug#20432.
23272 * src/gtkutil.c (xg_get_gdk_scale): New function.
23273 (xg_frame_set_char_size)
23274 (x_wm_set_size_hint, xg_get_default_scrollbar_width)
23275 (xg_get_default_scrollbar_height)
23276 (xg_update_horizontal_scrollbar_pos): Take GTK_SCALE in to account
23277 when setting sizes (Bug#20432).
23279 2015-05-13 Leo Liu <sdl.web@gmail.com>
23281 * lisp/emacs-lisp/generator.el (cps--gensym): Fix.
23283 2015-05-13 Glenn Morris <rgm@gnu.org>
23285 Fix bootstrap (void function cl-member).
23286 * lisp/emacs-lisp/cl-lib.el: Load cl-seq if no cl-loaddefs file.
23287 * lisp/emacs-lisp/cl-seq.el: Provide a feature.
23289 2015-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23291 * lisp/loadup.el ("emacs-lisp/cl-generic"): Preload
23292 * src/lisp.mk (lisp): Add emacs-lisp/cl-generic.elc.
23293 * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method):
23294 Avoid defalias for closures which are not immutable.
23295 (cl--generic-prefill-dispatchers): New macro. Use it to prefill
23296 the dispatchers table with various entries.
23297 * lisp/emacs-lisp/ert.el (emacs-lisp-mode-hook):
23298 * lisp/emacs-lisp/seq.el (emacs-lisp-mode-hook): Use add-hook.
23300 2015-05-13 Eli Zaretskii <eliz@gnu.org>
23302 Improve tagging of C bindings in DEFVAR_*
23303 * src/Makefile.in (TAGS): Add --regex options to tag the C binding
23306 2015-05-13 Paul Eggert <eggert@cs.ucla.edu>
23308 * src/editfns.c (Fformat): Fix use-after-free bug (Bug#20548).
23310 2015-05-12 Glenn Morris <rgm@gnu.org>
23312 * lisp/progmodes/tcl.el (tcl-filter):
23313 Handle comint-prompt-read-only like gud.el does. (Bug#20549)
23315 Add basic VC push support
23316 * lisp/vc/vc.el (vc-push): New autoloaded command.
23317 * lisp/vc/vc-hooks.el (vc-prefix-map, vc-menu-map): Add vc-push.
23318 * lisp/vc/vc-bzr.el (vc-bzr--pushpull): New, factored from vc-bzr-pull.
23319 (vc-bzr-pull): Reimplement using vc-bzr--pushpull.
23320 (vc-bzr-push): New.
23321 * lisp/vc/vc-git.el (vc-git--pushpull): New, factored from vc-git-pull.
23322 (vc-git-pull): Reimplement using vc-git--pushpull.
23323 (vc-git-push): New.
23324 * lisp/vc/vc-hg.el (vc-hg--pushpull): New, factored from vc-hg-pull.
23325 (vc-hg-pull, vc-hg-push): Reimplement using vc-hg--pushpull.
23326 * doc/emacs/maintaining.texi (Pulling / Pushing):
23327 Rename from "VC Pull". Mention pushing.
23328 (VC With A Merging VCS, VC Change Log): Update xrefs.
23329 (Branches): Update menu.
23330 * doc/emacs/emacs.texi: Update menu.
23331 * etc/NEWS: Mention this.
23333 2015-05-12 Nicolas Petton <nicolas@petton.fr>
23335 Improve the seq pcase pattern and the `seq-let' macro
23336 * lisp/emacs-lisp/seq.el: The pcase pattern now matches only if the
23337 object is a sequence, and binds each element of ARGS to the
23338 corresponding element of the sequence.
23340 2015-05-12 Eli Zaretskii <eliz@gnu.org>
23342 Fix tags created from DEFVAR_* declarations in C
23343 * src/Makefile.in (TAGS): Improve the --regex argument to etags,
23344 to make tags extracted from DEFVAR_* declarations more accurate.
23346 Add a test suite for etags
23347 * test/etags/: New test suite, adapted from
23348 http://fly.isti.cnr.it/pub/software/unix/etags-regression-test.tar.bz2,
23349 whose original author is Francesco Potortì <pot@gnu.org>.
23351 Fix tagging of symbols in C enumerations
23352 * lib-src/etags.c (consider_token): Don't tag symbols in
23353 expressions that assign values to enum constants. See
23354 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00291.html
23356 (C_entries): Reset fvdef to fvnone after processing a preprocessor
23357 conditional and after a comma outside of parentheses.
23359 2015-05-12 Glenn Morris <rgm@gnu.org>
23361 * lisp/url/url-handlers.el (url-file-name-completion)
23362 (url-file-name-all-completions): Silence compiler.
23364 * lisp/emacs-lisp/chart.el (chart-axis-draw): Replace obsolete alias.
23366 * lisp/play/dunnet.el (dun-dos-boot-msg): Fix time. (Bug#20554)
23368 2015-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23370 * lisp/emacs-lisp/cl-generic.el: Add dispatch on &context arguments
23371 (cl--generic-mandatory-args): Remove.
23372 (cl--generic-split-args): New function.
23373 (cl-generic-define, cl--generic-lambda): Use it.
23374 (cl-generic-define-method): Use it as well, and add support for
23376 (cl--generic-get-dispatcher): Handle &context dispatch.
23377 (cl--generic-cache-miss): `dispatch-arg' can now be a
23378 context expression.
23379 (cl--generic-dispatchers): Pre-fill.
23380 * test/automated/cl-generic-tests.el (sm-generic-test-12-context):
23383 2015-05-11 Glenn Morris <rgm@gnu.org>
23385 * make-dist: Abort if "make ChangeLog" fails. Add "--no-changelog".
23387 2015-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
23389 * lisp/term/xterm.el: Fix xterm-paste handling for rxvt
23390 * lisp/term/rxvt.el: Require term/xterm.
23391 (rxvt-function-map): Use xterm-rxvt-function-map.
23392 (rxvt-standard-colors): Move before first use.
23393 (terminal-init-rxvt): Use xterm--push-map and
23394 xterm-register-default-colors.
23395 (rxvt-rgb-convert-to-16bit, rxvt-register-default-colors): Remove.
23396 * lisp/term/xterm.el (xterm-rxvt-function-map): New var.
23397 Move shared bindings between rxvt and xterm to it.
23398 (xterm-function-map): Use it. Move the xterm-paste binding to
23399 xterm-rxvt-function-map (bug#20444).
23400 (xterm-standard-colors): Move before first use.
23401 (xterm--push-map): New function.
23402 (xterm-register-default-colors): Take standard colors as argument.
23403 (terminal-init-xterm): Use it. Adjust call to
23404 xterm-register-default-colors.
23406 2015-05-11 Glenn Morris <rgm@gnu.org>
23408 * lisp/term/x-win.el: Quieten --without-x compilation.
23409 (x-own-selection-internal, x-disown-selection-internal)
23410 (x-selection-owner-p, x-selection-exists-p, x-get-selection-internal):
23413 * Makefile.in (emacslog): Remove srcdir.
23414 (ChangeLog): Update for the above.
23416 2015-05-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
23418 python.el: better limit for looking-back calls
23419 * lisp/progmodes/python.el (python-shell-accept-process-output):
23420 Use last comint prompt start as limit for looking-back.
23422 2015-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
23424 CEDET (srecode-insert-fcn): Fix use of oref on a class
23425 * lisp/cedet/srecode/insert.el (srecode-insert-fcn): Fix use of oref
23426 on a class. Reported by Pierre Lorenzon.
23427 (srecode-template-inserter-point): Remove declaration.
23429 CEDET (srecode-create-dictionary): Avoid obsolete object name
23430 * lisp/cedet/srecode/dictionary.el (srecode-create-dictionary):
23431 Don't use a symbol as an object name. Reported by Pierre Lorenzon.
23433 2015-05-10 Paul Eggert <eggert@cs.ucla.edu>
23435 C-x 8 shorthands for curved quotes, Euro, etc.
23436 Although C-x 8 lets you insert arbitrary Unicode characters,
23437 it's awkward to use this to insert commonly used symbols such as curved
23438 quotes, the Euro symbol, etc. This patch adds simpler sequences for
23439 characters commonly found in English text and in basic math.
23440 For example, assuming the Alt key works on your keyboard and iso-transl
23441 is loaded, one can now type "A-[" instead of "A-RET LEFT SIN TAB RET"
23442 to get the character "‘" (U+2018 LEFT SINGLE QUOTATION MARK).
23444 * doc/emacs/mule.texi (Unibyte Mode):
23445 A few other printing characters now work too.
23446 * etc/NEWS: Document this.
23447 * lisp/international/iso-transl.el (iso-transl-char-map):
23448 Also support the following characters:
23449 ‐ ‑ ‒ – — ― ‘ ’ “ ” † ‡ • ′ ″ € № ← → ↔ − ≈ ≠ ≤ ≥
23451 2015-05-10 Dmitry Gutov <dgutov@yandex.ru>
23453 Add xref-find-regexp
23454 * lisp/progmodes/xref.el (xref-find-function): Describe the
23456 (xref-find-regexp): New command, using it.
23457 (xref-collect-references): Rename to xref-collect-matches.
23458 (xref--collect-reference): Rename to xref--collect-match.
23459 (xref-collect-matches, xref--collect-match): Accept new argument,
23460 KIND. Update accordingly.
23461 (xref--regexp-to-extended): New function.
23462 * lisp/progmodes/elisp-mode.el (elisp-xref-find): Support the
23464 (elisp--xref-find-matches): Accept new argument. Resolve a FIXME.
23465 * lisp/progmodes/etags.el (etags-xref-find):
23466 Support the `matches' action.
23467 (etags--xref-find-matches): New function.
23469 2015-05-10 Glenn Morris <rgm@gnu.org>
23471 * Makefile.in: Fixes for recent change-history changes.
23472 (change-history-nocommit): Update footer regexp.
23473 Ensure output script stays executable.
23475 2015-05-10 Nicolas Petton <nicolas@petton.fr>
23477 New version of `seq-let' based on a pcase pattern
23478 * lisp/emacs-lisp/seq.el (seq-let): Define the macro in terms of a
23479 pcase pattern if `pcase-defmacro' is defined (Emacs>=25.1).
23481 2015-05-10 Przemysław Wojnowski <esperanto@cumego.com>
23483 Add basic HTML5 tags and a template
23484 * lisp/textmodes/sgml-mode.el: Basic HTML5 support.
23485 (html-tag-alist): Add HTML5 tags.
23486 (html-tag-help): Add new tags descriptions.
23487 (html-navigational-links): Template for nav links.
23488 (html-html5-template): Template for a HTML5 page.
23490 2015-05-10 Dmitry Gutov <dgutov@yandex.ru>
23492 semantic/symref/grep: Don't use word boundaries
23493 * lisp/cedet/semantic/symref/grep.el
23494 (semantic-symref-perform-search): Instead of wrapping input in
23495 word boundaries, check that the characters before and after are
23496 not word constituents.
23498 semantic/symref/grep: Support regexp search
23499 * lisp/cedet/semantic/symref.el
23500 (semantic-symref-hit-to-tag-via-buffer): Don't regexp-quote when
23501 the search type is regexp.
23502 * lisp/cedet/semantic/symref/grep.el
23503 (semantic-symref-perform-search): Support the regexp search type.
23504 Pass -E to Grep when it's used.
23506 semantic-symref-regexp: Allow to input an arbitrary string
23507 * lisp/cedet/semantic/symref/list.el (semantic-symref-regexp):
23508 Allow to input an arbitrary string interactively.
23510 Remove tag-symbol-match-p from etags-xref-find-definitions-tag-order
23511 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
23512 Remove tag-symbol-match-p from the default value
23513 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00292.html).
23515 Declare find-tag obsolete
23516 * lisp/progmodes/etags.el (find-tag): Declare obsolete in favor of
23517 xref-find-definitions.
23519 2015-05-10 Jan D <jan.h.d@swipnet.se>
23521 Draw composite string correctly (Bug#20537)
23522 * src/nsterm.m (ns_draw_composite_glyph_string_foreground):
23524 (ns_draw_glyph_string): Call it.
23526 2015-05-09 Eli Zaretskii <eliz@gnu.org>
23528 Avoid infloop in ERC
23529 * lisp/simple.el (line-move-to-column): Ignore field boundaries
23530 while computing line beginning position. (Bug#20498)
23532 2015-05-08 Glenn Morris <rgm@gnu.org>
23534 * Makefile.in (ChangeLog): No longer pass "srcprefix"; cd instead.
23535 * build-aux/gitlog-to-emacslog: Check called from right directory.
23536 (srcprefix): Remove.
23538 * build-aux/gitlog-to-emacslog: Get rid of "distprefix".
23539 * Makefile.in (ChangeLog): No longer pass "distprefix".
23540 * make-dist: Update "make ChangeLog" syntax for the above change.
23542 * build-aux/gitlog-to-emacslog: Don't hard-code "ChangeLog.2".
23543 * Makefile.in (ChangeLog): Pass -n to gitlog-to-emacslog.
23545 * build-aux/gitlog-to-emacslog: Add "for earlier changes" to footer.
23547 Add command-line option-parsing to gitlog-to-emacslog
23548 * build-aux/gitlog-to-emacslog: Add command-line options.
23549 By default, refuse to remove an existing output file.
23550 * Makefile.in (CHANGELOG): Update default.
23551 (ChangeLog): Do not test for existing file.
23552 (change-history-nocommit): Ensure temp file does not exist.
23554 Quieten --without-x compilation
23555 * lisp/term/common-win.el: Provide a feature.
23556 * lisp/term/x-win.el (term/common-win): Require it.
23558 * lisp/dired-aux.el (dired-do-print): Require lpr.
23560 Quieten compilation, eg in --without-x builds
23561 * lisp/dired-aux.el (lpr-printer-switch):
23562 * lisp/frame.el (tool-bar-height):
23563 * lisp/linum.el (font-info):
23564 * lisp/window.el (font-info, overflow-newline-into-fringe)
23566 * lisp/emacs-lisp/package-x.el (tar-data-buffer):
23567 * lisp/gnus/gnus-util.el (iswitchb-mode):
23568 * lisp/mail/rmailmm.el (libxml-parse-html-region):
23569 * lisp/net/nsm.el (gnutls-peer-status)
23570 (gnutls-peer-status-warning-describe):
23571 * lisp/net/shr.el (libxml-parse-xml-region):
23572 * lisp/url/url-http.el (gnutls-peer-status): Declare.
23574 2015-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23576 CEDET (srecode-pop, srecode-peek): Don't use `subclass'
23577 * lisp/cedet/srecode/insert.el (srecode-pop, srecode-peek): Don't use
23578 `subclass' since they're never called with a class.
23579 (srecode-insert-method, srecode-insert-subtemplate): Avoid obsolete
23580 srecode-dictionary-child-p.
23582 2015-05-08 Nicolas Richard <theonewiththeevillook@yahoo.fr>
23584 * lisp/help.el (help--binding-locus): Document argument POSITION.
23587 2015-05-08 Paul Eggert <eggert@cs.ucla.edu>
23590 * doc/misc/texinfo.tex: Get latest version.
23592 2015-05-08 Oleh Krehel <ohwoeowho@gmail.com>
23594 ffap.el (ffap-read-file-or-url): Fix completing-read call
23595 * lisp/ffap.el (ffap-read-file-or-url): The HIST argument of
23596 `completing-read' should be a symbol.
23598 2015-05-08 Eli Zaretskii <eliz@gnu.org>
23600 Verify file modifications by other programs
23601 * src/filelock.c (lock_file): Check whether the file was modified
23602 since it was visited even if 'create-lockfiles' is nil. (Bug#18828)
23604 Fix keyboard macros that include function keys
23605 * src/keyboard.c (read_char_minibuf_menu_prompt): Record function
23606 keys in the macro before returning. (Bug#20454)
23608 2015-05-08 Glenn Morris <rgm@gnu.org>
23610 * build-aux/gitlog-to-changelog: Treat "Tiny-change" like
23611 "Copyright-paperwork-exempt". (Bug#20324)
23613 * lisp/vc/log-edit.el: Handle "(tiny change)". (Bug#20324)
23614 (log-edit-rewrite-tiny-change): New variable.
23615 (log-edit-insert-changelog): Maybe add "Copyright-paperwork-exempt".
23616 (log-edit-changelog-ours-p): Set log-edit-author to a cons.
23617 * etc/NEWS: Mention this.
23619 * lisp/calc/calc.el (math-zerop): Declare.
23621 * lisp/emacs-lisp/eieio-opt.el (help-fns-short-filename): Declare.
23623 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
23625 * lisp/emacs-lisp/subr-x.el (if-let): Fix debug spec.
23626 Support the case when BINDINGS is a single tuple. (Bug#20525)
23628 * etc/NEWS: Fix typo in previous commit
23629 (14bb519f1034ddb38ce375cbad7095d9b07f8b26).
23631 2015-05-07 Jan D <jan.h.d@swipnet.se>
23633 * configure.ac: Warn for multiple display crash for all Gtk+ versions.
23634 Output URL to Gtk+ bug (Bug#20452).
23636 * lisp/term/ns-win.el (ns-paste-secondary): Use gui-get-selection.
23638 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
23640 * lisp/emacs-lisp/package.el: New "external" package status.
23641 An external package is any installed package that's not built-in
23642 and not from `package-user-dir', which usually means it's from an
23643 entry in `package-directory-list'. They are treated much like
23644 built-in packages, in that they cannot be through the Package Menu
23645 deleted and are not considered for upgrades.
23646 (package-desc-status): Identify if a package is installed outside
23647 `package-user-dir'.
23648 (package-menu--print-info-simple)
23649 (package-menu--status-predicate): Add support for it.
23650 * etc/NEWS: Document it.
23652 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23654 * lisp/mail/rmail.el: Use lexical-binding.
23655 (rmail-bury): Remove unused var `buffer-to-bury'.
23656 (rmail-get-new-mail): Remove unused vars `opoint' and `success'.
23657 (rmail-parse-url): Remove unused var `proto', `user', and `host'.
23658 (rmail-unrmail-new-mail-maybe): Remove unused var `new-file'.
23659 (rmail-insert-inbox-text): Remove unused var `movemail'.
23660 (rmail-add-mbox-headers): Remove unused var `limit'.
23661 (rmail-undelete-previous-message): Remove unused var `value'.
23662 (rmail-reply): Remove unused vars `resent-to', `resent-cc',
23664 (rmail-mime-mbox-buffer, rmail-mime-view-buffer): Declare.
23665 (rmail-restore-desktop-buffer): Rename arguments.
23667 2015-05-06 Glenn Morris <rgm@gnu.org>
23669 * Makefile.in (change-history-commit): Add missing piece of previous.
23671 Avoid unnecessary bumping of Makefile.in's timestamp
23672 * Makefile.in (gen_origin): Move to gitlog-to-emacslog.
23673 (emacslog): New variable.
23674 (ChangeLog): Use $emacslog. Don't pass $gen_origin.
23675 (unchanged-history-files): Use $emacslog rather than Makefile.in.
23676 (change-history-nocommit): Store hash in $emacslog.
23677 * build-aux/gitlog-to-emacslog (gen_origin): Move default here.
23678 * admin/update_autogen (changelog_files): Update for the above.
23680 * Makefile.in: Don't always insist on removing existing "ChangeLog".
23681 (CHANGELOG): New variable.
23682 (no-ChangeLog): Remove.
23683 (ChangeLog): Replace "no-ChangeLog"; pass output file to script.
23684 (change-history-nocommit): Use a temp file rather than insisting
23685 on deletion of any existing "ChangeLog".
23687 * build-aux/gitlog-to-emacslog: Allow specification of output.
23689 * admin/update_autogen: Add option to update ChangeLog.
23690 (usage): Mention -H.
23691 (changelog_flag, changelog_n, changelog_files): New variables.
23692 (main): Check for -H, and maybe run change-history-nocommit.
23694 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23696 * lisp/subr.el (delete-dups): Pre-size the hashtable.
23698 * lisp/emacs-lisp/cl.el (define-modify-macro): Make sure
23699 cl--arglist-args is defined (bug#20517).
23701 2015-05-06 Glenn Morris <rgm@gnu.org>
23703 * Makefile.in (change-history-nocommit): New.
23705 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
23707 * lisp/cedet/pulse.el (pulse-momentary-unhighlight): Only cancel
23708 timer when it is non-nil
23709 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00223.html).
23711 2015-05-06 Glenn Morris <rgm@gnu.org>
23713 Quieten CEDET compilation
23714 * lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym->tag):
23715 Invert fboundp test to quieten on current Emacs.
23716 * lisp/cedet/ede/config.el (ede-shell-run-something)
23717 (semanticdb-file-table-object, semanticdb-needs-refresh-p)
23718 (semanticdb-refresh-table): Declare.
23719 (ede-preprocessor-map): Require semantic/db.
23721 Quieten cc-mode compilation
23722 * lisp/progmodes/cc-awk.el (c-forward-sws):
23723 * lisp/progmodes/cc-cmds.el (c-forward-subword, c-backward-subword):
23726 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
23728 * lisp/subr.el (delete-dups): Avoid nreverse.
23730 2015-05-06 Artur Malabarba <bruce.connor.am@gmail.com>
23732 * lisp/subr.el (delete-dups): Make it destructive again.
23734 2015-05-06 Paul Eggert <eggert@cs.ucla.edu>
23736 * doc/lispref/sequences.texi (Sequence Functions): Fix quoting.
23738 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23740 * lisp/emacs-lisp/testcover.el: Don't use edebug--read (bug#20487).
23741 * lisp/emacs-lisp/testcover.el: Use lexical-binding.
23742 (testcover--read): Rename from testcover-read. Change calling
23743 convention. Use edebug-read-and-maybe-wrap-form now that edebug-read
23745 (testcover-start): Use add-function. Move edebug-all-defs binding to
23747 (testcover-this-defun): Tighten scope of edebug-all-defs binding.
23748 (testcover-mark): Remove unused var `item'.
23749 * src/lread.c (syms_of_lread): Default load-read-function to `read'.
23751 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
23753 * lisp/subr.el (delete-dups): When there are more than 100 candidates,
23754 use a hash table. This can result in ~500 times speed-up for typical
23755 collections of size 5000, like that of `load-library'.
23757 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23759 CEDET: Avoid `oref' on classes in a few more cases
23760 * lisp/cedet/ede/generic.el (ede-find-target):
23761 * lisp/cedet/ede.el (ede-project-forms-menu): Avoid `oref' on classes.
23762 * lisp/cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Remove unused
23765 * lisp/cedet/semantic/symref/grep.el: Fix unused var warnings.
23766 (grepflags, greppattern): Declare.
23767 (semantic-symref-perform-search): Remove unused var `pat'.
23769 CEDET (srecode-compile-inserter): Avoid `oref' on classes
23770 * lisp/cedet/srecode/compile.el (srecode-compile-inserter):
23771 Avoid `oref' on classes (bug#20491).
23772 (srecode-compile-split-code): Remove unused var `key'.
23774 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
23776 Clean up pulse.el a little
23777 * lisp/cedet/pulse.el (pulse): Remove.
23778 (pulse-momentary-timer): Save instead of the stop time.
23779 (pulse-momentary-highlight-overlay):
23780 Call pulse-momentary-unhighlight first thing.
23781 Treat pulse-momentary-overlay as a single value, not a list.
23782 Save the created timer. Only pass the stop time to the timer.
23783 (pulse-tick): Update accordingly.
23784 (pulse-momentary-unhighlight): Treat pulse-momentary-overlay as a
23785 single value. Cancel the timer.
23787 2015-05-06 Tassilo Horn <tsdh@gnu.org>
23789 * lisp/textmodes/reftex-cite.el (reftex-format-bib-entry):
23790 Support the biblatex journaltitle field.
23792 2015-05-05 Glenn Morris <rgm@gnu.org>
23794 Minor declare-function improvement
23795 * lisp/emacs-lisp/bytecomp.el
23796 (byte-compile-macroexpand-declare-function):
23797 Handle declarations after calls. (Bug#20509)
23799 * lisp/progmodes/js.el (js--optimize-arglist): Remove declaration.
23801 * lisp/w32-fns.el (w32-shell-name): Silence compiler.
23803 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
23805 Pulse using a timer
23806 * lisp/cedet/pulse.el (pulse-momentary-stop-time): New variable.
23807 (pulse-momentary-highlight-overlay): Set up the timer instead of
23809 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/).
23810 (pulse-tick): New function.
23811 (pulse-momentary-unhighlight): Cut off the stop time.
23812 (pulse-delay): Update the docstring WRT to not using sit-for.
23814 Add semantic/symref/grep file patterns for ruby-mode
23815 * lisp/cedet/semantic/symref/grep.el
23816 (semantic-symref-filepattern-alist): Add patterns for ruby-mode.
23817 Clarify the docstring.
23819 Don't require match
23820 * lisp/progmodes/xref.el (xref--read-identifier): Don't require
23821 match. That doesn't work for every command, and some identifier
23822 completion tables are bound to be imperfect anyway.
23824 2015-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23826 * lisp/cedet/semantic/grammar.el: Fix compiler warnings (bug#20505).
23827 (semantic-grammar--template-expand): New function.
23828 (semantic-grammar-header, semantic-grammar-footer): Use it.
23829 (semantic-grammar--lex-block-specs): Remove unused var `block-spec'.
23830 (semantic-grammar-file-regexp): Refine regexp.
23831 (semantic-grammar-eldoc-get-macro-docstring):
23832 Use elisp-get-fnsym-args-string when available.
23833 (semantic-idle-summary-current-symbol-info): Use new elisp-* names
23834 instead of the old eldoc-* names.
23835 * lisp/emacs-lisp/eldoc.el (eldoc-docstring-format-sym-doc): Move back
23836 from elisp-mode.el. Tweak calling convention.
23837 * lisp/progmodes/elisp-mode.el (package-user-dir): Declare.
23838 (elisp-get-fnsym-args-string): Add `prefix' argument. Rename from
23839 elisp--get-fnsym-args-string.
23840 (elisp--highlight-function-argument): Add `prefix' arg.
23841 (elisp-get-var-docstring): Rename from elisp--get-var-docstring.
23842 (elisp--docstring-format-sym-doc): Move back to eldoc.el.
23844 2015-05-05 Glenn Morris <rgm@gnu.org>
23846 * lisp/help-fns.el (describe-function-1):
23847 Handle builtins with advertised calling conventions. (Bug#20479)
23849 2015-05-05 Nicolas Petton <nicolas@petton.fr>
23851 Merge branch 'seq-let'
23853 Update `seq-let' documentation
23854 * doc/lispref/sequences.texi: Update the documentation of `seq-let'
23855 with the support of `&rest'.
23857 Add support for &rest in `seq-let'
23858 * lisp/emacs-lisp/seq.el (seq--make-bindings): Add support for `&rest'
23859 in the argument list.
23860 * test/automated/seq-tests.el: Add a test for parsing and binding
23861 `&rest' in `seq-let'.
23863 2015-05-05 Pierre Lorenzon <devel@pollock-nageoire.net> (tiny change)
23865 * lisp/emacs-lisp/eieio-custom.el (eieio-object-value-get):
23866 Add missing increment (Bug#20467).
23867 (eieio-object-value-create): Adjust to new slots representation
23869 (eieio-object-value-create): Fix missed adjustment to new
23870 representation of slots metadata.
23872 2015-05-05 Nicolas Petton <nicolas@petton.fr>
23874 * lisp/emacs-lisp/seq.el (seq--make-bindings): Improve the docstring.
23876 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
23878 Work around "Attempt to modify read-only object"
23879 * lisp/progmodes/elisp-mode.el (elisp--xref-format): Extract from
23880 elisp--xref-find-definitions, to work around "Attempt to modify
23881 read-only object" error.
23883 Only skip some variables that have function counterparts
23884 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
23885 Only skip minor-mode-named variable if it's defined in a Lisp
23886 file, and it's in minor-mode-list (bug#20506).
23887 * test/automated/elisp-mode-tests.el
23888 (elisp-xref-finds-both-function-and-variable)
23889 (elisp-xref-finds-only-function-for-minor-mode): New tests.
23891 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
23893 * lisp/progmodes/xref.el (xref--location-at-point): Revert the
23895 (xref--insert-xrefs): Buttonize the whole line, including the
23896 number at the beginning.
23898 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
23899 Make sure we're inside the let bindings.
23900 * test/automated/elisp-mode-tests.el
23901 (elisp-completes-functions-after-let-bindings): New test.
23903 2015-05-04 Glenn Morris <rgm@gnu.org>
23905 * lisp/cedet/semantic/grammar.el (eldoc-function-argstring)
23906 (eldoc-docstring-format-sym-doc, eldoc-last-data-store)
23907 (eldoc-get-fnsym-args-string, eldoc-get-var-docstring):
23908 Remove outdated declarations.
23910 Replace instances of "(eval-when-compile (autoload ...))"
23911 * lisp/gnus/gnus-art.el (nneething-get-file-name):
23912 Declare rather than autoload.
23913 * lisp/gnus/gnus-async.el (gnus-html-prefetch-images):
23914 Remove pointless autoload.
23915 * lisp/gnus/gnus-sync.el (gnus-group-topic): Autoload at run-time.
23916 (gnus-topic-create-topic, gnus-topic-enter-dribble):
23917 Declare rather than autoload.
23918 * lisp/gnus/mm-archive.el (gnus-recursive-directory-files)
23919 (mailcap-extension-to-mime): Autoload at run-time.
23920 * lisp/gnus/mm-util.el (latin-unity-massage-name)
23921 (latin-unity-maybe-remap, latin-unity-representations-feasible-region)
23922 (latin-unity-representations-present-region):
23923 Declare rather than autoload.
23924 * lisp/gnus/mml-smime.el (epg-make-context)
23925 (epg-passphrase-callback-function): Autoload at run-time.
23926 (epg-context-set-signers, epg-context-result-for)
23927 (epg-new-signature-digest-algorithm)
23928 (epg-verify-result-to-string, epg-list-keys, epg-verify-string)
23929 (epg-sign-string, epg-encrypt-string)
23930 (epg-context-set-passphrase-callback, epg-sub-key-fingerprint)
23931 (epg-configuration, epg-expand-group, epa-select-keys):
23932 Declare rather than autoload.
23933 * lisp/gnus/nnir.el (nnimap-change-group, nnimap-make-thread-query):
23934 Autoload at run-time.
23935 (gnus-group-topic-name, nnimap-buffer, nnimap-command)
23936 (gnus-registry-get-id-key, gnus-registry-action):
23937 Declare rather than autoload.
23938 * lisp/gnus/nnmail.el (mail-send-and-exit): Autoload at run-time.
23939 * lisp/gnus/spam.el (spam-stat-buffer-change-to-non-spam)
23940 (spam-stat-buffer-change-to-spam, spam-stat-buffer-is-non-spam)
23941 (spam-stat-buffer-is-spam, spam-stat-load, spam-stat-save)
23942 (spam-stat-split-fancy): Remove pointless autoloads.
23943 * lisp/net/mairix.el: Load gnus-util when compiling.
23944 (gnus-group-read-ephemeral-group, gnus-summary-toggle-header)
23945 (message-field-value): Declare rather than autoload.
23946 (mairix-gnus-ephemeral-nndoc, mairix-gnus-fetch-field):
23947 Check gnus-alive-p is fbound.
23948 (vm-quit, vm-visit-folder, vm-select-folder-buffer)
23949 (vm-check-for-killed-summary, vm-error-if-folder-empty)
23950 (vm-get-header-contents, vm-select-marked-or-prefixed-messages):
23951 Declare rather than autoload.
23953 * lisp/gnus/mm-view.el (epg-decrypt-string): Autoload.
23955 * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
23956 (epg-sub-key-capability, epg-sub-key-validity): Fix declarations.
23958 * lisp/progmodes/elisp-mode.el (xref-collect-references): Declare.
23960 * lisp/emacs-lisp/debug.el (help-xref-interned): Update declaration.
23962 * lisp/allout.el (epg-user-id-string, epg-key-user-id-list):
23963 * lisp/emacs-lisp/package.el (epg-signature-status):
23966 * lisp/play/gametree.el (gametree-show-children-and-entry)
23967 (gametree-apply-layout, gametree-mouse-show-subtree)
23968 (gametree-mouse-hide-subtree): Replace obsolete outline aliases.
23970 * lisp/emacs-lisp/check-declare.el (check-declare-verify):
23971 Handle cl-defgeneric, cl-defmethod.
23973 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
23975 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions):
23976 Highlight both type and symbol name.
23978 Insert, highlight and align line numbers in xref output
23979 * lisp/progmodes/etags.el (xref-location-line): Specialize for
23980 xref-etags-location.
23981 * lisp/progmodes/xref.el (xref-location-line): New generic method.
23982 (xref-file-location): Add reader for the line slot.
23983 (xref--location-at-point): Skip to the `xref-location' property.
23984 (xref--collect-reference): Drop the line number from description.
23985 (xref--insert-xrefs): Insert, highlight and align line numbers.
23987 2015-05-04 Daniel Colascione <dancol@dancol.org>
23989 * lisp/simple.el (save-mark-and-excursion--save)
23990 (save-mark-and-excursion--restore): Fix previous commit
23991 (255a011f0ecf004b31c59945b10154b10fac3af1).
23993 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
23995 Don't pulse the indentation, or the newline
23996 * lisp/cedet/pulse.el (pulse-lighten-highlight)
23997 (pulse-reset-face): Fall back to the inherited background
23999 (pulse-momentary-highlight-region): Add autoload cookie.
24000 * lisp/progmodes/xref.el (xref--maybe-pulse): Don't highlight the
24001 indentation, or the newline, if the line's non-empty
24002 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00118.html).
24004 2015-05-04 Daniel Colascione <dancol@dancol.org>
24006 Add `save-mark-and-excursion', which has the old
24007 `save-excursion' behavior
24008 * doc/lispref/positions.texi (Excursions):
24009 Document `save-mark-and-excursion'.
24010 * lisp/font-lock.el (font-lock-fontify-block):
24011 Use `save-mark-and-excursion' instead of `save-excursion',
24012 restoring Emacs 24 behavior.
24013 * lisp/simple.el (save-mark-and-excursion--save)
24014 (save-mark-and-excursion--restore): New functions.
24015 (save-mark-and-excursion): New user macro.
24016 * src/editfns.c (Fsave_excursion): Mention `save-mark-and-excursion'
24017 in `save-excursion' documentation.
24019 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
24021 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
24022 Classify lone symbol inside let varlist as variable.
24023 * test/automated/elisp-mode-tests.el
24024 (completest-variables-in-let-bindings): New test.
24026 Add xref-pulse-on-jump
24027 * lisp/cedet/pulse.el (pulse-momentary-highlight-one-line):
24028 Add autoload cookie.
24029 * lisp/progmodes/xref.el (xref-pulse-on-jump): New option.
24030 (xref--maybe-pulse): New function.
24031 (xref-pop-marker-stack, xref--pop-to-location)
24032 (xref--display-position): Use it.
24033 (xref--location-at-point): Use back-to-indentation.
24035 2015-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24037 lisp/org/org-{macs,list}.el: Fix lexical warnings
24038 * lisp/org/org-list.el (org-list-struct): Remove unused var `ind'.
24039 (org-list-get-next-item, org-list-get-prev-item)
24040 (org-list-get-children): Mark unused arg `struct'.
24041 (org-list-use-alpha-bul-p): Remove unused var `bul'.
24042 (org-toggle-checkbox): Mark unused var.
24043 (org-update-checkbox-count): Remove unused var `box-num'.
24044 (org-adapt-indentation): Declare.
24045 (org-list-parse-list): Declare var instead of adding a dummy duplicate.
24046 (org-list-send-list): Remove unused var `txt'.
24047 (org-list-to-latex, org-list-to-texinfo): Mark unused arg `params'.
24048 (org-list-to-subtree): Add prefix to dyn-bind var, and declare them.
24049 * lisp/org/org-macs.el: Use `declare'.
24050 (org-with-limited-levels): Declare dyn-bound vars.
24052 2015-05-04 Eli Zaretskii <eliz@gnu.org>
24054 Fix minor issues with CEDET on MS-Windows
24055 * lisp/cedet/semantic/symref/idutils.el
24056 (semantic-symref-parse-tool-output-one-line): Fix the search
24057 regexp to match MS-Windows file names with drive letters.
24059 * lisp/cedet/semantic/symref/grep.el
24060 (semantic-symref-grep-use-template): Remove "--color=always" from
24061 Grep switches on MS-Windows.
24062 (semantic-symref-grep-shell): Use shell-file-name as the default
24063 value, so this works not only on Posix platforms.
24064 (semantic-symref-perform-search): Use shell-quote-argument instead
24065 of literal '..' for portable quoting of Grep command-line
24066 argument. Use shell-command-switch instead of a literal "-c".
24067 * lisp/cedet/semantic/bovine/gcc.el
24068 (semantic-gcc-get-include-paths): Use file-name-absolute-p to test
24069 for an absolute file name in a portable way.
24071 2015-05-04 Artur Malabarba <bruce.connor.am@gmail.com>
24073 * lisp/emacs-lisp/package.el: Remove `package--silence' variable.
24074 (package-import-keyring, package-refresh-contents)
24075 (package-compute-transaction, package--save-selected-packages)
24076 (package-install-from-archive, package-delete)
24077 (package-menu--perform-transaction): Use `inhibit-message' instead.
24078 (package--compile): Set `warning-minimum-level' to :error.
24080 2015-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24082 * lisp/term/screen.el (xterm-screen-extra-capabilities): New custom.
24083 (terminal-init-screen): Use it (bug#20356).
24084 * lisp/term/xterm.el: Provide `term/xterm' instead of `xterm'.
24085 (xterm--extra-capabilities-type): New const.
24086 (xterm-extra-capabilities): Use it.
24087 (xterm--version-handler): Lower the pseudo-version for `screen'.
24089 2015-05-03 Dmitry Gutov <dgutov@yandex.ru>
24091 * lisp/progmodes/xref.el (xref--insert-xrefs): Tweak the faces.
24092 Always insert a newline at the end (to avoid mouse-face background
24093 tail at the last line).
24095 elisp-completion-at-point: Prioritize being quoted over funpos
24096 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
24097 Only consider function position when not inside quoted form
24099 * test/automated/elisp-mode-tests.el: New file.
24101 Stop vc-print-log from jumping to the top
24102 * lisp/vc/vc.el (vc-print-log-internal): Pass nil
24103 GOTO-LOCATION-FUNC to vc-log-internal-common when WORKING-REVISION
24105 (vc-incoming-outgoing-internal): Always pass nil.
24106 (vc-log-internal-common): When GOTO-LOCATION-FUNC is nil, don't
24107 call it, and don't set vc-sentinel-movepoint (bug#15322).
24108 (vc-print-root-log): Don't fetch the root working revision, nor
24109 pass it to vc-print-log-internal.
24111 2015-05-02 Michael Vehrs <Michael.Burschik@gmx.de>
24113 Fix display of keyboard layouts for right-to-left scripts
24114 * lisp/international/quail.el (quail-insert-kbd-layout):
24115 Force left-to-right paragraph direction.
24117 2015-05-02 K. Handa <handa@gnu.org>
24119 * src/cmds.c (internal_self_insert): When we insert spaces for
24120 padding, set point before the padding spaces, not after them.
24122 2015-05-02 Nicolas Petton <nicolas@petton.fr>
24124 * lisp/emacs-lisp/seq.el (seq-p): New alias to `sequencep'.
24126 2015-05-02 Dmitry Gutov <dgutov@yandex.ru>
24128 Fix etags-xref-find for references
24129 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references):
24131 * lisp/progmodes/etags.el (etags-xref-find): Ditto. Prompt for
24132 directory if no tags tables are loaded (bug#19468).
24134 2015-05-02 Philipp Stephani <phst@google.com>
24136 Update the options in whitespace-style defcustom
24137 * lisp/whitespace.el (whitespace-style): Use `set' instead of a
24138 `repeat' because the option is really set-like. Add missing
24139 options. Reorder options to match the order in the
24140 documentation. (Bug#20346)
24142 2015-05-02 Eli Zaretskii <eliz@gnu.org>
24144 Fix error diagnostics of c-macro-expand
24145 * lisp/progmodes/cmacexp.el (c-macro-expansion): Don't bail out
24146 too early if no start-marker string was found -- that generally
24147 means cpp exited abnormally, and we still want to show its error
24148 messages to the user.
24150 Don't require Texinfo 5.0 for Emacs documentation
24151 * doc/emacs/docstyle.texi: Use "@set txicodequoteundirected" and
24152 "@set txicodequotebacktick" instead of "@codequotebacktick on" and
24153 "@codequoteundirected on", respectively, to avoid requiring
24154 Texinfo 5.x for Emacs documentation.
24156 2015-05-01 Simen Heggestøyl <simenheg@gmail.com>
24158 * lisp/files.el (pwd):
24159 When called with a prefix argument, insert the current default
24160 directory at point.
24162 2015-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
24164 * lisp/isearch.el (isearch-mode-map): Allow backspace remapping
24165 * lisp/isearch.el (isearch-mode-map): Don't inhibit
24166 function-key-map remapping for backspace (bug#20466).
24168 2015-05-01 Dmitry Gutov <dgutov@yandex.ru>
24170 Implement xref-find-references in etags and elisp-mode
24171 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): New function.
24172 (elisp-xref-find): Use it.
24173 * lisp/progmodes/etags.el (etags-xref-find): Use `xref-collect-references'.
24174 * lisp/progmodes/xref.el (xref-collect-references):
24175 (xref--collect-reference): New functions.
24177 2015-05-01 Paul Eggert <eggert@cs.ucla.edu>
24179 Prefer plain characters to Texinfo circumlocutions
24180 For example, prefer 'François' to 'Fran\c{c}ois', 'Fran\c cois',
24181 'Fran@,{c}ois' or 'Francois' (all of which were used!) in Texinfo sources.
24183 Fix single-quoting style in PDF manuals
24184 The PDF versions of the GNU manuals used curved single quotes to
24185 represent grave accent and apostrophe, which made it a pain to cut
24186 and paste code examples from them. Fix the PDF versions to use
24187 grave accent and apostrophe for Lisp source code, keystrokes, etc.
24188 This change does not affect the info files, nor does it affect
24189 ordinary uses of curved single quotes in PDF.
24190 * doc/emacs/docstyle.texi: New file, which specifies treatment for
24191 grave accent and apostrophe, as well as the document encoding.
24192 * doc/emacs/emacs-xtra.texi, doc/emacs/emacs.texi:
24193 * doc/lispintro/emacs-lisp-intro.texi:
24194 * doc/lispref/back.texi, doc/lispref/book-spine.texi:
24195 * doc/lispref/elisp.texi, doc/lispref/lay-flat.texi:
24196 * doc/misc/ada-mode.texi, doc/misc/auth.texi:
24197 * doc/misc/autotype.texi, doc/misc/bovine.texi, doc/misc/calc.texi:
24198 * doc/misc/cc-mode.texi, doc/misc/cl.texi, doc/misc/dbus.texi:
24199 * doc/misc/dired-x.texi, doc/misc/ebrowse.texi, doc/misc/ede.texi:
24200 * doc/misc/ediff.texi, doc/misc/edt.texi, doc/misc/efaq-w32.texi:
24201 * doc/misc/efaq.texi, doc/misc/eieio.texi, doc/misc/emacs-gnutls.texi:
24202 * doc/misc/emacs-mime.texi, doc/misc/epa.texi, doc/misc/erc.texi:
24203 * doc/misc/ert.texi, doc/misc/eshell.texi, doc/misc/eudc.texi:
24204 * doc/misc/eww.texi, doc/misc/flymake.texi, doc/misc/forms.texi:
24205 * doc/misc/gnus-coding.texi, doc/misc/gnus-faq.texi:
24206 * doc/misc/gnus.texi, doc/misc/htmlfontify.texi:
24207 * doc/misc/idlwave.texi, doc/misc/ido.texi, doc/misc/info.texi:
24208 * doc/misc/mairix-el.texi, doc/misc/message.texi, doc/misc/mh-e.texi:
24209 * doc/misc/newsticker.texi, doc/misc/nxml-mode.texi:
24210 * doc/misc/octave-mode.texi, doc/misc/org.texi, doc/misc/pcl-cvs.texi:
24211 * doc/misc/pgg.texi, doc/misc/rcirc.texi, doc/misc/reftex.texi:
24212 * doc/misc/remember.texi, doc/misc/sasl.texi, doc/misc/sc.texi:
24213 * doc/misc/semantic.texi, doc/misc/ses.texi, doc/misc/sieve.texi:
24214 * doc/misc/smtpmail.texi, doc/misc/speedbar.texi:
24215 * doc/misc/srecode.texi, doc/misc/todo-mode.texi, doc/misc/tramp.texi:
24216 * doc/misc/url.texi, doc/misc/vhdl-mode.texi, doc/misc/vip.texi:
24217 * doc/misc/viper.texi, doc/misc/widget.texi, doc/misc/wisent.texi:
24218 * doc/misc/woman.texi:
24219 Use it instead of '@documentencoding UTF-8', to lessen the need for
24220 global changes like this in the future.
24221 * doc/emacs/Makefile.in (EMACS_XTRA):
24222 * doc/lispintro/Makefile.in (srcs):
24223 * doc/lispref/Makefile.in (srcs):
24224 Add dependency on docstyle.texi.
24225 * doc/misc/Makefile.in (style): New macro.
24226 (${buildinfodir}/%.info, %.dvi, %.pdf, %.html)
24227 (${buildinfodir}/ccmode.info, ${buildinfodir}/efaq%.info, gnus_deps):
24230 2015-05-01 Glenn Morris <rgm@gnu.org>
24232 * test/automated/cl-lib-tests.el (cl-lib-adjoin-test): Fix it.
24234 * lisp/emacs-lisp/pcase.el (get-edebug-spec, edebug-match)
24235 (help-fns--signature): Declare.
24237 * lisp/emacs-lisp/pcase.el (pcase--make-docstring): Require help-fns.
24239 2015-05-01 Nicolas Petton <nicolas@petton.fr>
24241 New macro seq-let, providing destructuring support to seq.el
24242 * lisp/emacs-lisp/seq.el (seq-let): New macro. `seq-let' is similar
24243 to `cl-destructuring-bind' but works on all sequence types supported
24244 by `seq.el'. Bump version number to 1.6.
24245 * test/automated/seq-tests.el: Add tests for seq-let.
24246 * doc/lispref/sequences.texi: Add documentation for seq-let.
24248 2015-05-01 Pontus Michael <m.pontus@gmail.com>
24250 * lisp/simple.el (blink-matching-open): Better behavior in minibuffer.
24252 2015-05-01 Glenn Morris <rgm@gnu.org>
24254 * lisp/emacs-lisp/ert.el (ert--special-operator-p): Fix previous.
24256 2015-05-01 Artur Malabarba <bruce.connor.am@gmail.com>
24258 * lisp/emacs-lisp/bytecomp.el: Revert "Silence noninteractive compilations"
24259 This reverts commit 9a7ddde977378cb5276a81476ae458889c403267.
24260 This reverts commit 3c0ea587daf8b17960b90603a70e3ac4057d883d.
24261 With message: "* lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'".
24264 2015-05-01 K. Handa <handa@gnu.org>
24266 * lisp/international/mule-cmds.el (input-method-use-echo-area):
24267 Change :type to 'boolean.
24269 2015-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
24271 Start using proportional fonts in eww by default
24272 * lisp/net/shr.el (shr-use-fonts): Switch the default to t, since
24273 it seems to work well.
24275 Fix links in tables in shr
24276 * lisp/net/shr.el: Remove `shr-inhibit-decoration', because that
24277 makes (some) links in tables not work.
24279 2015-05-01 Jan D <jan.h.d@swipnet.se>
24281 * lisp/term/ns-win.el (ns-get-cut-buffer-internal): Remove this alias.
24283 2015-04-30 Glenn Morris <rgm@gnu.org>
24285 * lisp/emacs-lisp/ert.el (ert--special-operator-p):
24286 Update for 2015-02-08 change to indirect-function.
24288 * lisp/term/ns-win.el (ns-get-selection-internal):
24289 Remove declaration for function deleted 2014-10-21.
24291 * lisp/dom.el: Load subr-x when compiling, for when-let.
24293 Silence some compilation warnings
24294 * lisp/emacs-lisp/check-declare.el (compilation-forget-errors):
24295 * lisp/emulation/cua-base.el (delete-active-region):
24296 * lisp/net/net-utils.el (w32-get-console-output-codepage):
24297 * lisp/term/ns-win.el (ns-own-selection-internal)
24298 (ns-disown-selection-internal, ns-selection-owner-p)
24299 (ns-selection-exists-p, ns-get-selection):
24300 Declare for compiler.
24302 Function declaration updates prompted by 'make check-declare'
24303 * lisp/emacs-lisp/package.el (lm-homepage):
24304 * lisp/gnus/gnus-util.el (iswitchb-read-buffer):
24305 * lisp/gnus/mm-decode.el (libxml-parse-html-region):
24306 * lisp/gnus/mml.el (libxml-parse-html-region):
24307 * lisp/gnus/nnrss.el (libxml-parse-html-region):
24308 * lisp/net/eww.el (libxml-parse-html-region):
24309 * lisp/net/shr.el (libxml-parse-html-region):
24310 * lisp/vc/vc-bzr.el (vc-annotate-convert-time):
24311 * lisp/vc/vc-cvs.el (vc-annotate-convert-time):
24312 * lisp/vc/vc-git.el (vc-annotate-convert-time):
24313 * lisp/vc/vc-hg.el (vc-annotate-convert-time):
24314 * lisp/vc/vc-mtn.el (vc-annotate-convert-time):
24315 * lisp/vc/vc-rcs.el (vc-annotate-convert-time):
24316 Update declaration.
24318 Remove compatibility code for 20-year old function renaming
24319 * lisp/progmodes/idlw-shell.el (idlwave-shell-comint-filter):
24320 Make it an obsolete alias.
24321 (idlwave-shell-filter): Change all uses to comint-output-filter.
24323 2015-04-30 Tassilo Horn <tsdh@gnu.org>
24325 Add ace-window face config
24326 * etc/themes/tsdh-light-theme.el (tsdh-light): Add ace-window face
24329 2015-04-30 Paul Eggert <eggert@cs.ucla.edu>
24331 Unclutter 'make doc' output a bit
24332 * Makefile.in ($(DOCS), $(INSTALL_DOC), $(UNINSTALL_DOC)):
24333 Use make subst rather than sh IFS to split target string apart.
24334 This makes 'make' output easier to follow.
24337 * doc/misc/texinfo.tex: Update from gnulib.
24339 2015-04-30 Artur Malabarba <bruce.connor.am@gmail.com>
24341 * lisp/emacs-lisp/package.el: Some speed optimizations on menu refresh.
24342 (package-menu--print-info): Obsolete.
24343 (package-menu--print-info-simple): New function.
24344 (package-menu--refresh): Use it, simplify code, and improve
24346 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24347 Tiny performance improvement.
24349 * lisp/emacs-lisp/package.el (package--message): inhibit-message.
24351 2015-04-29 Paul Eggert <eggert@cs.ucla.edu>
24353 Omit -Wstrict-overflow workaround in GCC 5
24354 * src/process.c: Remove workaround for GCC -Wstrict-overflow bug
24355 if it's GCC 5 or later, as the bug appears to be fixed in GCC 5.1.
24359 2015-04-29 extern-inline: no need for workaround in GCC 5.1
24360 2015-04-26 file-has-acl: port to CentOS 6
24361 * m4/acl.m4, m4/extern-inline.m4: Update from gnulib.
24363 2015-04-29 Helmut Eller <eller.helmut@gmail.com>
24365 Set next-error-* in xref--xref-buffer-mode
24366 * lisp/progmodes/xref.el (xref--xref-buffer-mode):
24367 Set `next-error-function' and `next-error-last-buffer'.
24368 (xref--next-error-function): New function.
24369 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01311.html)
24371 2015-04-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
24373 python.el: Fix warnings on looking-back calls missing LIMIT
24374 * lisp/progmodes/python.el (python-shell-accept-process-output):
24375 Pass LIMIT arg to looking-back.
24377 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
24379 * lisp/emacs-lisp/package.el: Use pushnew for downloads in progress.
24380 (package--download-and-read-archives): Use pushnew instead of
24381 append. If something terrible happened during a previous
24382 download, simply refreshing should now make things work again.
24384 2015-04-29 Dmitry Gutov <dgutov@yandex.ru>
24386 Introduce etags-xref-find-definitions-tag-order
24387 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
24389 (etags--xref-find-definitions): Use it (bug#19468).
24391 2015-04-29 Eli Zaretskii <eliz@gnu.org>
24393 PATH- and completion-related fixes in Eshell on MS-Windows
24394 * lisp/eshell/esh-ext.el (eshell-search-path): When running on
24395 MS-Windows, prepend "." to list of directories produced from PATH,
24396 as Windows always implicitly searches the current directory first.
24397 (eshell-force-execution): Make it have a non-nil default value on
24398 MS-Windows and MS-DOS.
24399 * lisp/eshell/em-cmpl.el (eshell-complete-commands-list): If
24400 eshell-force-execution is non-nil, complete on readable files and
24401 directories, not only executables. When running on MS-Windows,
24402 prepend "." to list of directories produced from PATH, as Windows
24403 always implicitly searches the current directory first.
24405 2015-04-29 Sam Steingold <sds@gnu.org>
24407 Bury RCIRC buffers when there is no activity
24408 * lisp/net/rcirc.el (rcirc-non-irc-buffer): Remove.
24409 (rcirc-bury-buffers): New function.
24410 (rcirc-next-active-buffer): When there is no new activity, use
24411 `rcirc-bury-buffers' to hide all RCIRC buffers.
24413 2015-04-29 Krzysztof Jurewicz <krzysztof.jurewicz@gmail.com> (tiny change)
24415 Fix DBUS query result parsing for secrets-search-items
24416 * lisp/net/secrets.el (secrets-search-items): Fix DBUS query result
24417 parsing. The function assumed that return value of the
24418 SearchItems method called on a collection is a list of two lists,
24419 however this is true only when no collection is specified. GNOME
24420 had used to incorrectly return a list of two lists in both cases,
24421 but this was already fixed:
24422 https://bugzilla.gnome.org/show_bug.cgi?id=695115 . Also fix an
24423 incorrect information in the secrets-search-items’ docstring.
24426 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
24428 * lisp/emacs-lisp/bytecomp.el (byte-compile--message):
24429 Use `inhibit-message' instead of hiding the previous message
24430 with (message nil).
24432 2015-04-29 Oleh Krehel <ohwoeowho@gmail.com>
24434 Remove the deprecated INTERNAL_FIELD macro by expanding it
24435 * src/lisp.h (INTERNAL_FIELD): Remove.
24436 (DEFVAR_KBOARD): Modify accordingly.
24437 * src/alloc.c, src/buffer.c, src/buffer.h, src/category.c:
24438 * src/keyboard.c, src/keyboard.h, src/syntax.c: Adjust users.
24439 * src/buffer.c (compact_buffer): Use BVAR.
24441 2015-04-29 Glenn Morris <rgm@gnu.org>
24443 Replace an obsolete function alias
24444 * lisp/isearch.el (isearch-yank-x-selection):
24445 * lisp/mouse-copy.el (mouse-drag-secondary-pasting)
24446 (mouse-drag-secondary-moving):
24447 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
24448 Replace obsolete alias x-get-selection with gui-get-selection.
24450 2015-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
24452 * lisp/mail/rmailsum.el: Use lexical-binding.
24454 2015-04-29 Glenn Morris <rgm@gnu.org>
24456 * test/automated/package-test.el (package-test-update-archives-async):
24457 Skip test on hydra.nixos.org.
24459 2015-04-28 Glenn Morris <rgm@gnu.org>
24461 * lisp/foldout.el: Update for 2015-01-30 outline.el changes.
24462 (foldout-zoom-subtree, foldout-exit-fold, foldout-mouse-show)
24463 (foldout-mouse-hide-or-exit): Use new names for outline functions.
24465 * lisp/cedet/semantic/bovine/c.el (semantic-c-do-lex-if):
24466 Update for 2014-06-26 hideif.el change.
24468 * lisp/mail/rmailsum.el: Fix search for encoded subjects. (Bug#19088)
24469 (rmail--decode-and-apply): New function.
24470 (rmail-message-regexp-p-1, rmail-message-subject-p): Use it.
24472 * lisp/mail/rmail.el (rmail-highlighted-headers): Fix :type.
24474 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
24476 * lisp/emacs-lisp/package.el: Fix priority-hiding corner case
24477 (package-menu--refresh): Delegate obsolete-hiding to
24478 `package--remove-hidden'.
24479 (package--remove-hidden): Disregard high-priority package if it is
24480 older than the installed one.
24482 2015-04-28 Paul Eggert <eggert@cs.ucla.edu>
24484 Update source file encoding list
24485 Update admin/notes/unicode, along with coding system cookies in
24486 other files, so that the two match each other better.
24487 * admin/notes/unicode: lisp/language/ethio-util.el and
24488 lisp/language/ethiopic.el also use utf-8-emacs.
24489 * admin/notes/hydra, doc/misc/dbus.texi, doc/misc/org.texi:
24490 * doc/misc/remember.texi, etc/refcards/cs-dired-ref.tex:
24491 * etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
24492 * etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
24493 * etc/refcards/sk-survival.tex:
24494 Add "coding: utf-8" so that this file is not mishandled in a
24495 Latin-1 or Big-5 locale.
24496 * lisp/international/robin.el, lisp/org/ox-ascii.el:
24497 Specify utf-8, not utf-8-emacs, as these are plain UTF-8 files.
24498 * lisp/language/ethio-util.el: Fix trailer.
24500 2015-04-28 Eli Zaretskii <eliz@gnu.org>
24502 Fix synchronous invocation of Ispell
24503 * lisp/textmodes/ispell.el (ispell-init-process): Assign a non-nil
24504 value to ispell-process-directory before calling ispell-init-process.
24505 Don't call set-process-coding-system if ispell-async-processp is nil.
24508 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
24510 * lisp/emacs-lisp/package.el: Skip space and comments in init file
24511 (package--ensure-init-file): Insert snippet at first
24512 non-whitespace non-comments line. Respects local-vars at the top
24515 2015-04-28 Glenn Morris <rgm@gnu.org>
24517 * lisp/mail/rmail.el (rmail-copy-headers):
24518 Handle rmail-nonignored-headers being nil. (Bug#18878)
24520 * lisp/subr.el (delay-mode-hooks): Fix doc typo.
24522 * lisp/vc/vc-bzr.el (vc-bzr-after-dir-status):
24523 Don't get confused by a bzrlib version mismatch warning.
24525 2015-04-27 Thomas Fitzsimmons <fitzsim@fitzsim.org>
24527 Change default location of EUDC options file
24528 * etc/NEWS: Document change to EUDC options file's default location.
24529 * lisp/net/eudc-vars.el (eudc-options-file): Use
24530 `locate-user-emacs-file' to change default options file location.
24532 2015-04-27 Glenn Morris <rgm@gnu.org>
24534 * test/automated/package-test.el (package-test-update-archives-async):
24535 Try to handle the test server script dying.
24537 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
24539 * lisp/saveplace.el (save-place-mode): New minor mode.
24540 (save-place): Redefine as an obsolete alias.
24542 * lisp/midnight.el: Make it a minor mode. Allow predicates.
24543 * lisp/midnight.el: Use lexical-binding.
24544 (midnight-mode): Make it a proper minor mode.
24545 (midnight-buffer-display-time): Make arg non-optional.
24546 (midnight-find): Remove.
24547 (clean-buffer-list-kill-never-regexps)
24548 (clean-buffer-list-kill-regexps): Tweak type for new function choice.
24549 (clean-buffer-list-delay): Allow clean-buffer-list-kill-regexps to
24551 (clean-buffer-list): Use cl-find.
24552 Allow clean-buffer-list-kill-never-regexps to contain functions.
24554 2015-04-27 Nicolas Petton <nicolas@petton.fr>
24556 Bump version of seq.el to 1.5
24557 * lisp/emacs-lisp/seq.el (seq-doseq): Remove undocumented return value
24558 from seq-doseq. Bump version number of seq.el.
24560 2015-04-27 Glenn Morris <rgm@gnu.org>
24562 * lisp/mail/rmail.el (rmail-reply):
24563 Decode subject before matching "Re:" prefix. (Bug#20396)
24565 2015-04-27 Artur Malabarba <bruce.connor.am@gmail.com>
24567 * lisp/emacs-lisp/package.el: Small improvements
24568 (package--with-work-buffer-async): More informative error.
24569 (package-install-user-selected-packages): Rename to
24570 `package-install-selected-packages'.
24572 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
24574 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last
24575 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last change.
24576 (eieio--class-make): Remove leftover `tag'.
24578 2015-04-27 Glenn Morris <rgm@gnu.org>
24580 * lisp/gnus/message.el (gnus-extract-address-components):
24581 Remove bogus declaration that was masking previous problem.
24583 2015-04-27 Nicolas Graner <nicolas.graner@u-psud.fr> (tiny change)
24585 * lisp/gnus/message.el (message-insert-formatted-citation-line):
24586 Fix typo. (Bug#20318)
24588 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
24590 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Reuse oldc.
24592 * lisp/textmodes/reftex-toc.el: Improve multi-frame behavior
24593 * lisp/textmodes/reftex-toc.el (reftex-toc-revert): Avoid displaying
24594 the buffer in yet another frame.
24595 (reftex-toc-visit-location): Make sure toc-window has focus at the end
24596 when `final' is nil.
24597 (reftex--rebuilding-toc): Defvar to avoid `boundp' and
24598 silence warnings. Use `--' to clarify that it's internal.
24599 (reftex-toc-next, reftex-toc-previous, reftex-toc-demote)
24600 (reftex-toc-promote): Clarify unused argument.
24601 (reftex--pro-or-de, reftex--start-line, reftex--mark-line):
24602 Add `reftex--' prefix. Fix all users.
24603 (reftex-toc-promote-prepare): Use _ for dummy variable.
24604 (reftex-toc-restore-region): Rename `m.
24606 2015-04-27 Eli Zaretskii <eliz@gnu.org>
24608 Fix a typo in bibtex.el
24609 * lisp/textmodes/bibtex.el (bibtex-insert-kill): Fix a typo from
24610 last change. (Bug#20429)
24612 Fix redisplay of frame after loading new fonts
24613 * src/xdisp.c (redisplay_internal): When retrying redisplay of
24614 a frame because new fonts were loaded, disable all redisplay
24615 optimizations on that frame by calling SET_FRAME_GARBAGED.
24618 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
24620 * lisp/info.el (Info-menu): Properly provide the `default'
24623 * lisp/progmodes/elisp-mode.el (elisp--get-fnsym-args-string):
24624 Catch errors from documentation (bug#20418).
24625 (emacs-lisp-mode-abbrev-table): Remove redundant defvar.
24627 2015-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
24629 * lisp/emacs-lisp/package.el: Move variables to silence byte-compiler.
24630 Remove redundant ":group 'package".
24632 2015-04-26 Eli Zaretskii <eliz@gnu.org>
24634 Fix a typo in rmail.el
24635 * lisp/mail/rmail.el (rmail-ensure-blank-line): Fix a typo in the
24636 last commit. (Bug#20429)
24638 2015-04-26 Dmitry Gutov <dgutov@yandex.ru>
24640 Introduce xref-prompt-for-identifier
24641 * lisp/progmodes/xref.el (xref-prompt-for-identifier): New option.
24642 (xref--read-identifier): Use it
24643 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01205.html).
24645 2015-04-26 João Távora <joaotavora@gmail.com>
24647 `tex-insert-quote' after single `'' opens quotes instead of closing
24648 Without this, it's very hard to precede double quotes with the
24649 apostrophe character, i.e. insert the sequence '``
24650 (quote-backquote-backquote), commonly useful in portuguese, for
24652 * lisp/textmodes/tex-mode.el (tex-insert-quote): Add ?' to the list of
24653 preceding chars making `tex-insert-quote' be in the "opening" context.
24655 2015-04-25 Dmitry Gutov <dgutov@yandex.ru>
24657 Pass `id' to `completing-read' as def instead of initial input
24658 * lisp/progmodes/xref.el (xref--read-identifier): Pass `id' to
24659 `completing-read' as the default value instead of initial input
24660 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01182.html).
24662 2015-04-25 Paul Eggert <eggert@cs.ucla.edu>
24664 Don't freeze with unreadable processes
24665 Don't freeze if an exiting process can't be read from. (Bug#19860).
24666 This fixes a bug I introduced in
24667 2014-07-08T07:24:07Z@eggert@cs.ucla.edu
24668 "* process.c: Add sanity checks for file descriptors."
24669 Dmitry Gutov did most of the legwork in finding the problem.
24670 * src/process.c (wait_reading_process_output):
24671 Treat non-running processes that can't be read from
24672 the same as other non-running processes.
24674 2015-04-25 Alan Mackenzie <acm@muc.de>
24676 Fix change from 2015-04-22 "On C-y, stop some text property entries ..."
24677 * lisp/subr.el (remove-yank-excluded-properties): Put
24678 `with-silent-modifications' around only the last three lines of code.
24680 2015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
24682 * lisp/emacs-lisp/package.el (package-all-keywords): Don't cache
24683 (package--all-keywords): Deleted variable.
24685 * etc/NEWS: Document package-hiding functionality.
24687 2015-04-25 Eli Zaretskii <eliz@gnu.org>
24689 * lisp/window.el (recenter-last-op): Doc fix. (Bug#20419)
24691 Clarify the doc string of 'replace-regexp-in-string'
24692 * lisp/subr.el (replace-regexp-in-string): Doc fix. (Bug#20395)
24694 Improve doc string of 'insert-buffer-substring'
24695 * src/editfns.c (Finsert_buffer_substring): Doc fix. (Bug#20421)
24697 MS-Windows followup for the recent gnulib update
24698 * nt/gnulib.mk (libgnu_a_SOURCES): Replace file-has-acl.c with
24701 2015-04-24 Paul Eggert <eggert@cs.ucla.edu>
24707 2015-04-24 file-has-acl: new module, split from acl
24708 2015-04-24 manywarnings: add GCC 5.1 warnings
24709 2015-04-21 lstat: fix cross-compilation 'ln -s' problem
24710 2015-04-15 qacl: Simplify HP-UX acl_nontrivial check
24711 2015-04-15 acl: On Linux, check for acls without libacl
24712 2015-04-14 tempname: avoid unused parameter warnings (trivial)
24713 * lib/acl-internal.c: New file, from gnulib.
24714 * lib/file-has-acl.c: Remove; no longer imported from gnulib.
24715 * lib/acl-internal.h, lib/gnulib.mk, lib/qcopy-acl.c, lib/tempname.c:
24716 * m4/acl.m4, m4/gnulib-comp.m4, m4/lstat.m4, m4/manywarnings.m4:
24717 Update from gnulib.
24719 Port --enable-gcc-warnings to GCC 5.1 x86-64
24720 * lib-src/ebrowse.c (dump_sym):
24721 * lib-src/hexl.c (main):
24722 * src/ccl.c (ccl_driver):
24723 * src/character.c (string_escape_byte8):
24724 * src/dbusbind.c (xd_retrieve_arg, xd_add_watch):
24725 * src/gnutls.c (Fgnutls_boot):
24726 * src/gtkutil.c (xg_check_special_colors):
24727 * src/image.c (x_build_heuristic_mask):
24728 * src/print.c (safe_debug_print, print_object):
24729 * src/term.c (produce_glyphless_glyph):
24730 * src/xdisp.c (get_next_display_element)
24731 (produce_glyphless_glyph):
24732 * src/xterm.c (x_draw_glyphless_glyph_string_foreground):
24733 Don't use a signed format to print an unsigned integer, or vice
24734 versa. GCC 5.1's new -Wformat-signedness option warns about this.
24735 * src/image.c (png_load_body, jpeg_load_body):
24736 Silence a bogus setjump diagnostic from GCC 5.1 (GCC bug 54561).
24738 2015-04-24 Tassilo Horn <tsdh@gnu.org>
24740 Add new faces to tsdh-light-theme
24741 * etc/themes/tsdh-light-theme.el (tsdh-light): New face
24742 definitions for Info-quoted, ace-jump-face-foreground,
24743 hl-paren-face, show-paren-match, and show-paren-mismatch.
24745 2015-04-24 Nicolas Petton <nicolas@petton.fr>
24747 * lisp/emacs-lisp/seq.el (seq-doseq): Fix the macro.
24749 2015-04-24 Glenn Morris <rgm@gnu.org>
24751 * build-aux/gitlog-to-emacslog:
24752 Use raw log format rather than wrapped one.
24754 2015-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
24756 * lisp/emacs-lisp/seq.el (seq-doseq): Tighten the code.
24757 (seq-doseq): Fix out-of-scope binding.
24758 Don't call `seq-length at every iteration.
24759 Reduce `if's from 3 to 2 per iteration.
24760 (emacs-lisp-mode-hook): Don't tweak in Emacs≥25.
24762 2015-04-24 Glenn Morris <rgm@gnu.org>
24764 * lisp/textmodes/text-mode.el (text-mode-hook):
24765 Move text-mode-hook-identify to default.
24767 * lisp/mouse.el (minor-mode-menu-from-indicator):
24768 Handle non-function members of minor-mode-map-alist. (Bug#20201)
24770 * lisp/help-fns.el (describe-function): More type checking.
24771 (describe-function-1): Handle changed symbol-function. (Bug#20201)
24773 * build-aux/gitlog-to-emacslog: Convert "Fixes:" to "(Bug#)".
24776 2015-04-24 Andreas Schwab <schwab@linux-m68k.org>
24778 shr: strip leading whitespace when expanding URLs
24779 * lisp/net/shr.el (shr-expand-url): Strip leading whitespace from URL.
24781 2015-04-24 Eli Zaretskii <eliz@gnu.org>
24783 Clarify "co-authored" some more
24785 * CONTRIBUTE: Clarify "co-authored-by". (Bug#20400)
24787 Clarify doc strings of functions that search for properties
24788 * src/textprop.c (Fnext_char_property_change)
24789 (Fprevious_char_property_change)
24790 (Fnext_single_char_property_change)
24791 (Fprevious_single_char_property_change, Fnext_property_change)
24792 (Fnext_single_property_change, Fprevious_property_change)
24793 (Fprevious_single_property_change): Clarify doc strings wrt return
24794 value and the optional LIMIT argument. (Bug#20411)
24796 2015-04-24 Glenn Morris <rgm@gnu.org>
24798 * test/automated/message-mode-tests.el (message-mode-propertize):
24799 Handle non-writable HOME; eg on hydra.nixos.org.
24801 2015-04-23 Eli Zaretskii <eliz@gnu.org>
24803 Avoid starting threads by w32-shell-execute
24804 * src/w32fns.c (Fw32_shell_execute): Convert "file:///" URLs into
24805 local file names, before invoking ShellExecute. (Bug#20220)
24807 2015-04-23 Martin Rudalics <rudalics@gmx.at>
24809 Fix following doc-links in `widget-documentation-link-action'
24810 * lisp/wid-edit.el (widget-documentation-link-action): Make
24811 following doc-links less simplistic (Bug#20398).
24813 2015-04-22 Thomas Fitzsimmons <fitzsim@fitzsim.org>
24815 Improve EUDC manual
24816 * doc/misc/eudc.texi (Troubleshooting):
24817 New LDAP troubleshooting subsection.
24819 2015-04-22 Paul Eggert <eggert@cs.ucla.edu>
24821 Omit needless "\ " after multibyte then newline
24822 * src/print.c: Include <c-ctype.h>, for c_isxdigit.
24823 (print_object): When print-escape-multibyte is non-nil and a
24824 multibyte character is followed by a newline or formfeed, followed
24825 by a hex digit, don't output a needless "\ " before the hex digit.
24826 * test/automated/print-tests.el (print-hex-backslash): New test.
24828 2015-04-22 Oleh Krehel <ohwoeowho@gmail.com>
24830 Add a new `inhibit-message' variable
24831 * src/xdisp.c (syms_of_xdisp): Define a boolean `inhibit_message'.
24832 (message3): Don't call `message3_nolog' (i.e. use the Echo Area) when
24833 `inhibit_message' is non-zero.
24834 * etc/NEWS: Add an entry.
24835 * doc/lispref/display.texi: Add an entry for `inhibit-message',
24836 mention it in `message'.
24838 2015-04-22 Martin Rudalics <rudalics@gmx.at>
24840 Fix last fix in `display-buffer-record-window'.
24841 * lisp/window.el (display-buffer-record-window): Fix last fix.
24843 2015-04-22 Eli Zaretskii <eliz@gnu.org>
24845 Minor edits in CONTRIBUTE
24846 * CONTRIBUTE: Rearrange instructions about log messages.
24847 Use "Git" capitalized all over.
24848 Use 2 spaces between sentences.
24850 2015-04-22 Artur Malabarba <bruce.connor.am@gmail.com>
24852 * lisp/files.el (basic-save-buffer): Fix argument.
24854 * lisp/cus-edit.el (custom-file): Consider init-file-had-error.
24855 In case `(and (null custom-file) init-file-had-error)' do the same
24856 thing we'd do if `(null user-init-file)', which is to either error out
24857 or return nil. This is in line with `custom-save-all' which would
24858 throw an error in that situation. (Bug#20355)
24860 * lisp/emacs-lisp/package.el: Hide lower-priority packages in menu.
24861 (package-menu-hide-low-priority): New variable, see its doc.
24862 (package-archive-priorities): Update doc.
24863 (package-desc-priority): New function.
24864 (package-desc-priority-version): Use it.
24865 (package--remove-hidden): New function.
24866 (package-menu--refresh): Use it.
24868 * lisp/emacs-lisp/package.el: Implement displaying obsolete packages.
24869 (package-menu--hide-obsolete): New variable.
24870 (package--remove-hidden): Use it.
24871 (package-menu-hide-obsolete): New interactive function to toggle
24873 (package--quick-help-keys): Document it.
24874 (package-menu-async): Add :version tag.
24875 (package-menu-mode-map): Bind package-menu-hide-obsolete.
24876 (package-desc-status): Indicate non-installed obsolete packages as
24878 (package-menu-mark-install): Allow installation of avail-obso.
24879 (package-menu--status-predicate): Sort avail-obso with available.
24881 2015-04-22 Alan Mackenzie <acm@muc.de>
24883 On C-y, stop some text property entries being written into buffer-undo-list
24884 * lisp/subr.el (remove-yank-excluded-properties): Enclose the code in
24885 `with-silent-modifications'.
24887 2015-04-22 Martin Rudalics <rudalics@gmx.at>
24889 In display-buffer-record-window record selected window if necessary
24890 * lisp/window.el (display-buffer-record-window): Store selected window
24891 if it differs from 3rd element of 'quit-restore' parameter (Bug#20353).
24893 2015-04-22 Tassilo Horn <tsdh@gnu.org>
24895 Fix reftex-citation bug
24896 * lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries):
24897 Fix `wrong-type-argument stringp nil' error that occurs when AUCTeX
24898 integration is enabled and there are no citations in the document
24901 2015-04-21 Dmitry Gutov <dgutov@yandex.ru>
24903 Add or reset based on the presence of MERGE_HEAD
24904 * lisp/vc/vc-git.el (vc-git-find-file-hook): Add
24905 `vc-git-resolve-when-done' to `after-save-hook' in either case.
24906 (vc-git-conflicted-files): Add a TODO.
24907 (vc-git-resolve-when-done): Depending on the presence of
24908 MERGE_HEAD, either update the resolved file in the index, or
24909 remove it from there. (Bug#20292)
24911 2015-04-21 Glenn Morris <rgm@gnu.org>
24913 * lisp/custom.el (custom-declare-group): No need to purecopy
24914 custom-current-group-alist members following recent change to set
24915 it to nil before dumping.
24917 * build-aux/gitlog-to-emacslog: Get footer from ChangeLog.2.
24920 2015-04-21 Daniel Colascione <dancol@dancol.org>
24922 Unbreak no-op buffer save message
24923 * lisp/files.el (basic-save-buffer): Accept called-interactively as
24924 an argument instead of directly invoking called-interactively-p,
24925 which will always yield nil in that context.
24927 2015-04-21 Alan Mackenzie <acm@muc.de>
24929 CC Mode: Do nothing in before/after-change-functions for text
24932 * lisp/progmodes/cc-mode.el (c-basic-common-init): Make
24933 yank-handled-properties buffer local, and remove 'category from it.
24934 (c-called-from-text-property-change-p): New function.
24935 (c-before-change): Don't do anything if a call of the new function
24937 (c-after-change): Don't do much if a call of the new function returns
24939 (c-extend-after-change-region): Put changes to text property 'fontified
24940 inside c-save-buffer-state.
24942 2015-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24944 Fix byte-compiler warnings about looking-back
24945 * lisp/vc/log-view.el (log-view-end-of-defun-1):
24946 * lisp/textmodes/tex-mode.el (latex-forward-sexp-1):
24947 * lisp/textmodes/reftex-ref.el (reftex-goto-label):
24948 * lisp/textmodes/bibtex.el (bibtex-insert-kill):
24949 * lisp/progmodes/sh-script.el (sh--maybe-here-document):
24950 * lisp/progmodes/ruby-mode.el (ruby-end-of-defun):
24951 * lisp/progmodes/ada-mode.el (ada-in-numeric-literal-p):
24952 * lisp/org/org.el (org-insert-heading, org-sort-entries):
24953 * lisp/org/org-mouse.el (org-mouse-end-headline)
24954 (org-mouse-context-menu):
24955 * lisp/org/org-clock.el (org-clock-cancel):
24956 * lisp/man.el (Man-default-man-entry):
24957 * lisp/mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text)
24958 (rmail-ensure-blank-line):
24959 * lisp/mail/footnote.el (Footnote-delete-footnote):
24960 * lisp/mail/emacsbug.el (report-emacs-bug):
24961 * lisp/info.el (Info-follow-reference, Info-fontify-node):
24962 * lisp/info-look.el (info-lookup-guess-custom-symbol):
24963 * lisp/help-fns.el (help-fns--key-bindings):
24964 * lisp/files.el (hack-local-variables):
24965 * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-cmd-complete)
24966 (viper-get-ex-pat, ex-expand-filsyms, viper-get-ex-file)
24967 (viper-complete-filename-or-exit):
24968 * lisp/emulation/viper-cmd.el (viper-backward-indent):
24969 * lisp/emacs-lisp/lisp-mode.el (calculate-lisp-indent):
24970 * lisp/emacs-lisp/elint.el (elint-get-top-forms):
24971 * lisp/cus-edit.el (custom-face-edit-value-create):
24972 * lisp/calendar/todo-mode.el (todo-set-item-priority)
24973 (todo-filter-items-1, todo-convert-legacy-files)
24974 (todo-prefix-overlays): Add explicit second arg to looking-back.
24976 2015-04-20 Glenn Morris <rgm@gnu.org>
24978 Avoid non-nil current-load-list at startup
24979 * src/process.c (init_process_emacs): Move Fprovide statement...
24980 (syms_of_process): ... to here.
24982 * lisp/loadup.el (custom-current-group-alist): Reset before dumping.
24984 * lisp/startup.el (command-line) <site-run-file>: Avoid rogue value
24987 2015-04-20 Ludovic Courtès <ludo@gnu.org>
24989 * lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary.
24992 2015-04-20 Glenn Morris <rgm@gnu.org>
24994 * lisp/cus-start.el (exec-path): Set standard value, to avoid rogue.
24996 Tweak exec-path in uninstalled case
24997 * src/callproc.c (init_callproc): If running uninstalled, do not
24998 include eventual installation libexec directory in exec-path.
25000 2015-04-20 Artur Malabarba <bruce.connor.am@gmail.com>
25002 * lisp/emacs-lisp/package.el: Filter by multiple keywords and
25004 (package-menu-filter): Accept a list of keywords.
25005 (package--all-keywords): New variable to cache known keywords.
25006 (package-all-keywords): Populate it if necessary.
25007 (package-refresh-contents): Reset it.
25009 * lisp/emacs-lisp/package.el: Make archive and status pseudo-keywords
25010 (package--has-keyword-p): Understand "arc:xxxx" and "status:xxxx"
25011 as special keywords which match agains package archive and status
25013 * etc/NEWS: Document it.
25015 2015-04-20 Eli Zaretskii <eliz@gnu.org>
25017 Describe and index "empty overlays".
25018 * doc/lispref/display.texi (Overlays): Improve indexing.
25019 (Managing Overlays): Describe "empty" overlays.
25020 (Overlay Properties, Finding Overlays): Add cross-reference to
25021 where empty overlays are described.
25023 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
25027 Quote 'like this' in top-level files
25028 * CONTRIBUTE, INSTALL, Makefile.in, README, configure.ac, make-dist:
25029 Prefer to single-quote 'like this' (instead of the older style
25031 * configure.ac: Fix some space-before-tab problems that 'git commit'
25034 Use bool for boolean in textprop.c, undo.c
25035 * src/textprop.c (soft, hard): Now constants instead of macros.
25036 (validate_plist): Rewrite to avoid need for boolean local.
25037 (interval_has_all_properties, interval_has_some_properties)
25038 (interval_has_some_properties_list, add_properties)
25039 (remove_properties, get_char_property_and_overlay)
25040 (Fnext_single_char_property_change)
25041 (Fprevious_single_char_property_change, add_text_properties_1)
25042 (Fremove_text_properties, Fremove_list_of_text_properties)
25043 (copy_text_properties):
25044 * src/tparam.c (tparam1):
25045 * src/undo.c (record_change, record_property_change)
25047 Use 'true' and 'false' for booleans.
25049 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
25051 * lisp/vc/vc-git.el (vc-git-find-file-hook):
25052 Call `smerge-start-session' even when dealing with a stash
25053 conflict (bug#20292).
25055 2015-04-19 Vibhav Pant <vibhavp@gmail.com>
25057 Add option to eshell/clear to clear scrollback.
25058 * lisp/eshell/esh-mode.el (eshell/clear-scrollback): New function.
25059 (eshell/clear): Add an optional SCROLLBACK argument. If non-nil,
25060 scrollback contents are cleared.
25061 * etc/NEWS: Describe change.
25062 * doc/misc/eshell.texi: Add entry for `clear'.
25064 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
25066 * src/widget.c (set_frame_size): Prefer 'int' to 'unsigned'
25067 where either will do.
25069 2015-04-19 Steve Purcell <steve@sanityinc.com>
25071 Assume package archive-contents are UTF8-encoded
25072 * lisp/emacs-lisp/package.el (package--read-archive-file):
25073 Set `coding-system-for-read' explicitly to 'utf-8 when reading the
25074 downloaded and cached archive-contents files, so that non-ASCII
25075 characters in package descriptions are displayed correctly in the
25076 `list-packages' menu. (Bug#20231)
25078 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
25080 Abort when looking at stashed changes
25081 * lisp/vc/vc-git.el (vc-git-find-file-hook): Abort when looking at
25082 stashed changes (bug#20292).
25084 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
25086 Refactor low-level printing for simplicity
25087 * src/print.c (PRINTDECLARE): Remove. Move its contents into
25088 PRINTPREPARE; doable now that we assume C99. All callers changed.
25089 (PRINTCHAR): Remove, as it adds more mystery than clarity.
25090 All callers changed.
25091 (strout): Assume that caller computes length. All callers changed.
25092 (print_c_string): New function.
25093 (write_string, write_string_1): Compute length instead of asking
25094 the caller to compute it. All callers changed.
25095 (write_string): Simplify by using write_string_1.
25096 (write_string_1): Simplify by using print_c_string.
25097 (Fterpri): Compute default val more clearly.
25098 (Fprin1_to_string, print_object):
25099 Assume C99 to avoid unnecessary nesting.
25100 (print_object): Prefer print_c_string to multiple printchar, or
25101 to calling strout with -1 length. Coalesce into sprintf when
25104 2015-04-18 Paul Eggert <eggert@cs.ucla.edu>
25106 Prefer "Bug#1234" in commit messages (Bug#20325)
25107 * .dir-locals.el (log-edit-mode): Don't rewrite Bug#,
25108 as this isn't useful for Git.
25109 * CONTRIBUTE: Suggest "Bug#1234" instead of "Fixes: debbugs:1234".
25111 2015-04-18 Glenn Morris <rgm@gnu.org>
25113 * lisp/files.el (auto-mode-alist): Use conf mode for gitconfig, hgrc.
25116 2015-04-18 Tom Willemse <tom@ryuslash.org> (tiny change)
25118 * lisp/elec-pair.el (electric-pair-post-self-insert-function):
25119 Do not use `chomp' as a function. (Bug#19505)
25121 2015-04-18 Glenn Morris <rgm@gnu.org>
25123 * lisp/net/browse-url.el (browse-url, browse-url-at-point): Doc fixes.
25125 * doc/emacs/misc.texi (Sorting): Small edit.
25128 * admin/admin.el (make-manuals): Add emacs-xtra in pdf and ps.
25130 2015-04-18 Simen Heggestøyl <simenheg@gmail.com>
25132 css-mode.el: Support multi-line comment filling
25134 * lisp/textmodes/css-mode.el (css-fill-paragraph): Support multi-line
25136 (css-adaptive-fill): New function.
25137 (css-mode): Set `adaptive-fill-function'.
25138 (scss-mode): Set `comment-continue'.
25140 2015-04-18 Nicolas Petton <nicolas@petton.fr>
25142 * lisp/emacs-lisp/seq.el (seq-concatenate, seq-into):
25143 Better error messages.
25145 2015-04-18 Ivan Radanov Ivanov <ivanradanov@yahoo.co.uk> (tiny change)
25147 Minor improvements in Bulgarian input methods
25148 * lisp/leim/quail/cyrillic.el (bulgarian-phonetic, bulgarian-bds):
25149 Replace U+042C with U+045D, as the former character is not used in
25150 the modern Bulgarian language.
25153 2015-04-17 Thomas Fitzsimmons <fitzsim@fitzsim.org>
25155 Improve EUDC manual
25156 * doc/misc/eudc.texi (LDAP Configuration): Mention simple and SASL
25157 authentication schemes. Add index items. Shorten example server
25160 2015-04-17 Dmitry Gutov <dgutov@yandex.ru>
25162 Don't show both feature and function with the same name
25163 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
25164 Don't show both feature and function with the same name.
25166 (elisp--xref-identifier-location): Skip variable, if it's also
25168 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
25169 Avoid returning both the variable and the function for the same
25172 2015-04-17 Wolfgang Jenkner <wjenkner@inode.at>
25174 Fix fontification of keywords clobbered by the prompt
25175 * lisp/comint.el (comint-output-filter): Remove the uses of
25176 with-silent-modifications I introduced as part of the last change.
25177 This fixes, e.g., erratically missing highlighting when running
25178 ./configure --help; ./configure in a shell-mode buffer with
25179 compilation-shell-minor-mode turned on.
25181 2015-04-17 Glenn Morris <rgm@gnu.org>
25183 * admin/authors.el (authors-valid-file-names)
25184 (authors-renamed-files-alist): Additions.
25186 2015-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
25188 * lisp/indent.el (indent-region): Don't deactivate the mark.
25191 2015-04-17 Sam Steingold <sds@gnu.org>
25193 * lisp/net/rcirc.el (defun-rcirc-command): Mark `target' as ignorable.
25195 2015-04-16 Leo Liu <sdl.web@gmail.com>
25197 * lisp/progmodes/xref.el (xref-push-marker-stack): Add optional arg.
25199 2015-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
25201 * lisp/erc/erc-pcomplete.el (erc-pcomplete):
25202 Don't use `pcomplete' any more.
25204 2015-04-16 Glenn Morris <rgm@gnu.org>
25206 * admin/authors.el (authors-lax-changelogs): Update for erc changes.
25208 2015-04-16 Eli Zaretskii <eliz@gnu.org>
25210 Don't link with -ljpeg on MS-Windows, to avoid dependency on DLL
25211 * configure.ac (LIBJPEG): Leave it empty for MinGW.
25213 2015-04-16 Glenn Morris <rgm@gnu.org>
25215 * lisp/replace.el (query-replace-from-to-separator):
25216 Delay initialization to avoid rogue setting after startup.
25218 2015-04-16 Paul Eggert <eggert@cs.ucla.edu>
25220 Pre-4.6 GCC succeeds with unknown option
25221 * configure.ac (emacs_cv_prog_cc_nopie): Port to pre-4.6 GCC.
25224 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
25226 '[:graph:]' now excludes whitespace, not just ' '
25227 * doc/lispref/searching.texi (Char Classes):
25228 * lisp/emacs-lisp/rx.el (rx): Document [:graph:] to be [:print:]
25229 sans whitespace (not sans space).
25230 * src/character.c (graphicp): Exclude all Unicode whitespace chars,
25232 * src/regex.c (ISGRAPH): Exclude U+00A0 (NO-BREAK SPACE).
25234 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25236 * lisp/subr.el (substitute-key-definition-key, special-form-p)
25237 (macrop): Drop deprecated second arg to indirect-function.
25238 (looking-back): Make the second arg non-optional.
25240 * lisp/org/org-clock.el (org-x11idle-exists-p): Be honest about which
25241 command is actually sent to the shell.
25243 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
25245 Port jpeg configuration to Solaris 10 with Sun C
25246 * configure.ac: Check for jpeglib 6b by trying to link it, instead
25247 of relying on cpp magic that has problems in practice. Check for
25248 both jpeglib.h and jerror.h features. Remove special case for
25249 mingw32, which should no longer be needed (and if it were needed,
25250 should now be addressable by hotwiring emacs_cv_jpeglib).
25253 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25255 Move some Elisp-specific code from lisp-mode.el to elisp-mode.el
25256 * lisp/emacs-lisp/lisp-mode.el (lisp--el-font-lock-flush-elisp-buffers):
25257 Move to elisp-mode.el.
25258 (lisp-mode-variables): (Re)move elisp-specific settings.
25259 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add settings removed
25260 from lisp-mode-variables.
25261 (elisp--font-lock-flush-elisp-buffers): New function, moved from
25264 * lisp/emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p):
25265 Avoid pathological slowdown at top-level in large file.
25267 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
25269 Standardize names of ChangeLog history files
25270 Suggested by Glenn Morris in:
25271 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
25272 * Makefile.in (install-man): Don't treat ChangeLog.1 as a man page.
25273 * doc/man/ChangeLog.1: Rename back from doc/man/ChangeLog.01.
25274 * lisp/erc/ChangeLog.1: New file, containing the old contents of ...
25275 * lisp/erc/ChangeLog.01, lisp/erc/ChangeLog.02, lisp/erc/ChangeLog.03:
25276 * lisp/erc/ChangeLog.04, lisp/erc/ChangeLog.05, lisp/erc/ChangeLog.06:
25277 * lisp/erc/ChangeLog.07, lisp/erc/ChangeLog.08, lisp/erc/ChangeLog.09:
25280 Split top-level entries into pre- and post-April 7
25281 This more clearly distingiushes pre-April-7 ChangeLog entries (which
25282 are for top-level files only) from post-April-7 entries (which are
25283 about files at all levels. Problem reported by Glenn Morris in:
25284 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
25285 * ChangeLog.1: Move post-April-7 entries from here ...
25286 * ChangeLog.2: ... to this new file.
25287 * Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump to 2.
25289 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25291 Fix recent cus-start changes that added customize-rogues
25292 * lisp/cus-start.el (custom-delayed-init-variables): Initialize the
25294 * lisp/loadup.el ("cus-start"): Move to the end to reduce
25297 2015-04-15 Nicolas Petton <nicolas@petton.fr>
25299 Define cl-concatenate as an alias to seq-concatenate
25300 * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Removes duplicated
25301 code by making cl-concatenate an alias to seq-concatenate.
25303 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25305 * src/lread.c (intern_1): Make sure we'd find the symbol we add
25307 * src/xfaces.c (resolve_face_name): Don't use `intern' with
25310 2015-04-15 Glenn Morris <rgm@gnu.org>
25312 * doc/lispref/sequences.texi (Sequence Functions): Fix typo in previous.
25314 2015-04-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
25316 Clean up gnus-uu saving code slightly
25317 * lisp/gnus/gnus-uu.el (gnus-uu-save-article): Make the
25318 save-restriction/widen calls make more sense.
25320 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
25322 Make [:graph:] act like [:print:] sans space
25323 In POSIX [[:print:]] is equivalent to [ [:graph:]], so change
25324 [:graph:] so that it matches everything that [:print:] does,
25326 * doc/lispref/searching.texi (Char Classes):
25328 * lisp/emacs-lisp/rx.el (rx):
25329 Document [:graph:] to be [:print:] sans ' '.
25330 * src/character.c, src/character.h (graphicp): New function.
25331 * src/regex.c (ISGRAPH) [emacs]: Use it.
25332 (BIT_GRAPH): New macro.
25333 (BIT_PRINT): Increase to 0x200, to make room for BIT_GRAPH.
25334 (re_wctype_to_bit) [! WIDE_CHAR_SUPPORT]:
25335 Return BIT_GRAPH for RECC_GRAPH.
25336 (re_match_2_internal) [emacs]: Use ISGRAPH if BIT_GRAPH,
25337 and ISPRINT if BIT_PRINT.
25339 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25341 automated/eieio-test-methodinvoke.el (make-instance) <(subclass C)>:
25342 Don't use call-next-method in a cl-defmethod.
25344 * lisp/emacs-lisp/eieio-core.el (eieio--class): Derive from cl--class
25345 (eieio--class-p): Remove, provided by cl-defstruct.
25347 2015-04-14 Nicolas Petton <nicolas@petton.fr>
25349 Add seq-intersection and seq-difference to the seq library
25350 * lisp/emacs-lisp/seq.el (seq-intersection, seq-difference):
25352 * test/automated/seq-tests.el: Add tests for seq-intersection and
25354 * doc/lispref/sequences.texi: Add documentation for seq-intersection
25355 and seq-difference.
25357 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25359 * lisp/emacs-lisp/eieio-core.el (class-abstract-p): Don't inline,
25360 to avoid leaking internals.
25362 2015-04-14 Sam Steingold <sds@gnu.org>
25364 package--ensure-init-file: widen requires save-restriction
25366 2015-04-14 Eli Zaretskii <eliz@gnu.org>
25368 Improve the commit-msg Git hook for unibyte environments
25369 * build-aux/git-hooks/commit-msg: Set LC_ALL=C, before running Awk
25370 in unibyte environments. (Suggested by Paul Eggert
25371 <eggert@cs.ucla.edu>.) Use a more accurate approximation to
25372 [:print:], based on UTF-8 sequences of the unprintable characters.
25374 Describe problems with cursor caused by Windows Magnifier
25375 * etc/PROBLEMS: Describe the problem with cursor shape on
25376 MS-Windows due to Windows Magnifier.
25379 Make [:print:] support non-ASCII characters correctly
25380 * src/regex.c (ISPRINT): Call 'printablep' for multibyte characters.
25381 (BIT_PRINT): New bit mask.
25382 (re_wctype_to_bit): Return BIT_PRINT for RECC_PRINT.
25383 * src/character.c (printablep): New function.
25384 * src/character.h (printablep): Add prototype.
25385 * lisp/emacs-lisp/rx.el (rx): Doc fix: document the new behavior
25386 of 'print', 'alnum', and 'alphabetic'.
25387 * doc/lispref/searching.texi (Char Classes): Document the new
25388 behavior of [:print:].
25389 * etc/NEWS: Mention the new behavior of [:print:].
25391 Assign correct general-category and names to surrogates
25392 * admin/unidata/unidata-gen.el (unidata-setup-list): Don't ignore
25393 surrogates. This avoids assigning them the default
25394 general-category of 'Cn', i.e. unassigned codepoints.
25395 (unidata-get-name): Give surrogates synthetic names.
25397 2015-04-14 Paul Eggert <eggert@cs.ucla.edu>
25399 Assume C89 offsetof in xterm.c, xlwmenu.c
25400 * lwlib/xlwmenu.c (offset):
25401 * src/xterm.c (cvt_string_to_pixel_args):
25402 Use offsetof, not XtOffset.
25404 2015-04-14 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
25406 Assume C89 offsetof in widget.c
25407 * src/widget.c (XtOffset): Remove; no longer needed.
25408 (offset): Implement via offsetof instead of via pre-C89 XtOffset hack.
25410 Fix think-o in previous patch
25411 * src/window.c (count_windows, get_leaf_windows):
25412 Don't optimize count_windows incorrectly.
25414 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
25416 Avoid some int overflows in window.c
25417 * src/print.c (print_object):
25418 * src/window.c (sequence_number):
25419 * src/window.h (struct window.sequence_number):
25420 Don't assume window sequence number fits in int.
25421 * src/window.c (window_select_count):
25422 * src/window.h (struct window.use_time, window_select_count):
25423 Don't assume window use time fits in int.
25424 * src/window.c (Fsplit_window_internal):
25425 Don't assume user-supplied integer, or sum, fits in int.
25426 (Fset_window_configuration, count_windows, get_leaf_windows)
25427 (save_window_save, Fcurrent_window_configuration):
25428 Use ptrdiff_t for object counts.
25429 (Fset_window_configuration): Omit unused local 'n'.
25430 (count_windows): Simplify by writing in terms of get_leaf_windows.
25431 (get_leaf_windows): Don't store through FLAT if it's null.
25432 (extract_dimension): New static function.
25433 (set_window_margins, set_window_fringes, set_window_scroll_bars):
25434 Use it to avoid undefined behavior when converting user-supplied
25437 2015-04-13 Glenn Morris <rgm@gnu.org>
25439 Minor doc copyedits
25440 * doc/emacs/custom.texi (Init Examples): Tweak example, replace typo.
25441 * doc/lispintro/emacs-lisp-intro.texi (condition-case): Typo fix.
25443 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
25445 [Gnus] Catch the invalid-operation that idna.el will issue
25446 * lisp/gnus/gnus-art.el (gnus-use-idna):
25447 * lisp/gnus/gnus-sum.el (gnus-summary-idna-message):
25448 * lisp/gnus/message.el (message-use-idna):
25449 Catch the invalid-operation that idna.el will issue.
25451 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
25453 * doc/lispref/processes.texi (Shell Arguments): Prefer diff -u.
25455 2015-04-13 Sam Steingold <sds@gnu.org>
25457 package--ensure-init-file: widen before looking for
25458 "(package-initialize)"
25460 2015-04-13 Dmitry Gutov <dgutov@yandex.ru>
25462 Change diff-switches default to `-u' (Bug#20290)
25463 * doc/emacs/files.texi (Comparing Files): Document the new default
25464 value of `diff-switches'.
25465 * doc/emacs/trouble.texi (Sending Patches): Document the preference
25466 for unified diff format. Escape the plus in the suggested `-F' regexp
25468 * lisp/vc/diff.el (diff-switches): Change the default to `-u'.
25470 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
25472 (gnus-group--setup-tool-bar-update): Fix last change
25473 * lisp/gnus/gnus-group.el (gnus-group--setup-tool-bar-update):
25474 cursor-sensor-functions should be a list of functions.
25476 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
25478 * lisp/gnus/gnus-topic.el (gnus-topic-mode):
25479 Use gmm-called-interactively-p.
25481 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
25483 * lisp/loadup.el ("cus-start"): Load it after loaddefs.el
25485 * lisp/cus-start.el (read-buffer-function): Don't advertise
25486 iswitchb-read-buffer any more.
25487 (iswitchb): Don't tweak this obsolete group any more.
25489 2015-04-13 Artur Malabarba <bruce.connor.am@gmail.com>
25491 * lisp/emacs-lisp/package.el: Fix package--ensure-init-file.
25493 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Implement docstrings.
25494 Adding a string after a constructor's argument list will use
25495 that string as the constructor function docstring. If this string
25496 is absent but the struct itself was given a docstring, use that as
25497 the constructor's docstring.
25500 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
25502 Deprecate `intangible' and `point-entered' properties
25503 * lisp/emacs-lisp/cursor-sensor.el: New file.
25504 * lisp/simple.el (pre-redisplay-functions): New hook.
25505 (redisplay--pre-redisplay-functions): New function.
25506 (pre-redisplay-function): Use it.
25507 (minibuffer-avoid-prompt): Mark obsolete.
25508 (redisplay--update-region-highlight): Adapt it to work as a function on
25509 pre-redisplay-functions.
25510 * lisp/cus-start.el (minibuffer-prompt-properties--setter): New fun.
25511 (minibuffer-prompt-properties): Use it. Use cursor-intangible rather
25512 than point-entered to make the prompt intangible.
25513 * lisp/forms.el: Move `provide' calls to the end.
25514 (forms-mode): Don't use `run-hooks' on a local var.
25515 (forms--make-format, forms--make-format-elt-using-text-properties):
25516 Use cursor-intangible rather than `intangible'.
25517 (forms-mode): Enable cursor-intangible-mode.
25518 * lisp/isearch.el (isearch-mode): Use defvar-local.
25519 (cursor-sensor-inhibit): Declare.
25520 (isearch-mode): Set cursor-sensor-inhibit.
25521 (isearch-done): Set it back.
25522 (isearch-open-overlay-temporary, isearch-open-necessary-overlays)
25523 (isearch-close-unnecessary-overlays): Don't bother with `intangible'
25525 * lisp/ses.el (ses-localvars): Remove `mode-line-process'.
25526 (ses-sym-rowcol, ses-cell-value, ses-col-width, ses-col-printer):
25528 (ses-goto-print, ses-print-cell, ses-adjust-print-width)
25529 (ses-goto-data, ses-setup, ses-copy-region): Don't let-bind
25530 inhibit-point-motion-hooks any more.
25531 (ses--cell-at-pos, ses--curcell): New functions, extracted from
25533 (ses-set-curcell): Use them.
25534 (ses-print-cell, ses-setup): Use cursor-intangible instead of
25535 `intangible'. Make sure cursor-intangible isn't sticky at BOB.
25536 (ses-print-cell-new-width, ses-reprint-all, ses-recalculate-all):
25537 Use ses--cell-at-pos.
25538 (ses--mode-line-process, ses--cursor-sensor-highlight): New functions,
25539 extracted from ses-command-hook. Make them work with multiple windows
25540 displaying the same buffer.
25541 (ses-mode): Use them via mode-line-process and pre-redisplay-functions.
25542 Enable cursor-intangible-mode.
25543 (ses-command-hook): Remove cell highlight and mode-line update code.
25544 (ses-forward-or-insert, ses-copy-region-helper, ses-sort-column):
25545 Update for new name of text-property holding the cell name.
25546 (ses-rename-cell): Don't mess with mode-line-process.
25547 * lisp/erc/erc-stamp.el (erc-add-timestamp): Use the new
25548 cursor-sensor-functions property instead of point-entered.
25549 (erc-insert-timestamp-right, erc-format-timestamp):
25550 Use cursor-intangible rather than `intangible'.
25551 (erc-munge-invisibility-spec): Use add-to-invisibility-spec and
25552 remove-from-invisibility-spec. Enable cursor-intangible-mode and
25553 cursor-sensor-mode if needed.
25554 (erc-echo-timestamp): Adapt to calling convention of
25555 cursor-sensor-functions.
25556 (erc-insert-timestamp-right): Remove unused vars `current-window' and
25558 * lisp/gnus/gnus-group.el (gnus-tmp-*): Declare.
25559 (gnus-update-group-mark-positions): Remove unused `topic' var.
25560 (gnus-group-insert-group-line): Remove unused var `header'.
25561 (gnus-group--setup-tool-bar-update): New function.
25562 (gnus-group-insert-group-line): Use it.
25563 (gnus-group-update-eval-form): Declare local
25564 dynamically-bound variables.
25565 (gnus-group-unsubscribe-group): Use \` and \' to match string bounds.
25566 * lisp/gnus/gnus-topic.el (gnus-topic-jump-to-topic)
25567 (gnus-group-prepare-topics, gnus-topic-update-topic)
25568 (gnus-topic-change-level, gnus-topic-catchup-articles)
25569 (gnus-topic-remove-group, gnus-topic-delete, gnus-topic-indent):
25570 Use inhibit-read-only.
25571 (gnus-topic-prepare-topic): Use gnus-group--setup-tool-bar-update.
25572 (gnus-topic-mode): Use define-minor-mode and derived-mode-p.
25573 * lisp/textmodes/reftex-index.el (reftex-display-index):
25574 Use cursor-intangible-mode if available.
25575 (reftex-index-post-command-hook): Check cursor-intangible.
25576 * lisp/textmodes/reftex-toc.el (reftex-toc):
25577 Use cursor-intangible-mode if available.
25578 (reftex-toc-recenter, reftex-toc-post-command-hook):
25579 Check cursor-intangible.
25580 * lisp/textmodes/sgml-mode.el: Use lexical-binding.
25581 (sgml-tag): Use cursor-sensor-functions instead of point-entered.
25582 (sgml-tags-invisible): Use with-silent-modifications and
25583 inhibit-read-only. Enable cursor-sensor-mode.
25584 (sgml-cursor-sensor): Rename from sgml-point-entered and adjust to
25585 calling convention of cursor-sensor-functions.
25586 * lisp/textmodes/table.el (table-cell-map-hook, table-load-hook)
25587 (table-point-entered-cell-hook, table-point-left-cell-hook):
25589 (table-cell-entered-state): Remove var.
25590 (table--put-cell-point-entered/left-property)
25591 (table--remove-cell-properties):
25592 Use cursor-sensor-functions rather than point-entered/left.
25593 (table--point-entered/left-cell-function): Merge
25594 table--point-entered-cell-function and table--point-left-cell-function
25595 and adjust to calling convention of cursor-sensor-functions.
25597 Update ldef-boots.el
25599 * lisp/emacs-lisp/pcase.el (pcase-dolist): Autoload as well.
25601 * doc/misc/eieio.texi: Don't advertise now obsolete constructs
25603 Collapse successive char deletions in the undo log
25604 * src/cmds.c (remove_excessive_undo_boundaries): New function,
25605 extracted from Fself_insert_command.
25606 (Fdelete_char, Fself_insert_command): Use it.
25607 * src/fileio.c (Fmake_symbolic_link): Rename arg to `target'.
25608 * src/keyboard.c (syms_of_keyboard): `top-level' shouldn't be special.
25610 xterm and OSC 52: Add NEWS entry, and tweak the code
25611 * lisp/term/xterm.el (gui-set-selection) <nil>: Move method definition
25613 (terminal-init-xterm-activate-set-selection): Set a terminal property.
25614 (xterm--set-selection): Use it instead of checking the value of
25615 `terminal-initted'. Don't use string-bytes.
25617 2015-04-13 Philipp Stephani <p.stephani2@gmail.com>
25619 xterm.el: Implement OSC-52 functionality for setting the X selection
25620 * lisp/term/xterm.el (xterm-max-cut-length): New var.
25621 (xterm--set-selection, terminal-init-xterm-activate-set-selection):
25623 (terminal-init-xterm, xterm--version-handler): Use them.
25625 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
25627 Remove left over code from when we used an obsolete/loaddefs.el file
25628 * lisp/subr.el (do-after-load-evaluation): Remove left over code from
25629 when we used an obsolete/loaddefs.el file.
25631 * lisp/cedet/semantic/fw.el (semantic-exit-on-input)
25632 (semanticdb-without-unloaded-file-searches): Use declare.
25633 (semantic-fw-add-edebug-spec): Remove.
25635 * lisp/completion.el (completion-lisp-mode-hook):
25636 Use completion-separator-chars rather than local key binding.
25638 * src/*.c: Set deactivate_mark buffer-locally
25640 * src/insdel.c (prepare_to_modify_buffer_1):
25641 * src/fileio.c (Finsert_file_contents): Set deactivate_mark
25644 2015-04-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
25646 python.el: Keep symmetry on sexp navigation with parens
25648 * lisp/progmodes/python.el
25649 (python-nav--forward-sexp): Add argument skip-parens-p.
25650 (python-nav-forward-sexp, python-nav-backward-sexp)
25651 (python-nav-forward-sexp-safe)
25652 (python-nav-backward-sexp-safe): Use it.
25653 * test/automated/python-tests.el
25654 (python-nav-forward-sexp-1): Fix test.
25656 2015-04-12 João Távora <joaotavora@gmail.com>
25658 Don't use `setq-local' in Gnus code
25659 This might break upstream builds with older Emacsen
25660 * lisp/gnus/message.el (message-mode): Use `set' and
25661 `make-local-variable' instead of `setq-local'.
25663 2015-04-12 Paul Eggert <eggert@cs.ucla.edu>
25665 Update Makefile.in's .PHONY dependencies
25666 * Makefile.in (change-history-commit, master-branch-is-current)
25667 (no-ChangeLog): Now phony.
25669 Remove configure's --with-mmdf option
25670 * configure.ac (MAIL_USE_MMDF): Remove.
25671 * etc/NEWS: Document this.
25672 * lib-src/movemail.c: Assume MAIL_USE_MMDF is not defined.
25675 * doc/man/ChangeLog.01: Rename from doc/man/ChangeLog.1.
25676 That way, 'make install' won't think it's a man page.
25677 Reported by Ashish SHUKLA in:
25678 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00656.html
25680 Improve 'make change-history' prereq tests
25681 * Makefile.in (gen_origin): Fix to match what's in the master branch.
25682 (no-ChangeLog, master-branch-is-current): New rules.
25683 (change-history): Depend on them, to avoid similar future problems.
25684 Escape the local-variables string to pacify Emacs when editing
25687 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
25689 * test/automated/package-test.el (with-package-test):
25690 Kill Packages buffer.
25692 * lisp/emacs-lisp/package.el: Improve transaction y-or-n prompt.
25693 (package-menu--prompt-transaction-p): Prompt for "Delete" first,
25694 "Upgrade" last, and use capitalized instead of all-caps.
25696 * lisp/emacs-lisp/package.el: Completely silence async operations.
25697 (package--make-autoloads-and-stuff): Silence autoloads.
25698 (package--save-selected-packages): New function, silences
25699 `customize-save-variable'.
25700 (package--user-selected-p, package-install-from-buffer)
25701 (package-delete, package-install): Use it.
25702 (package-install-from-archive)
25703 (package-menu--perform-transaction): Silence.
25704 (package-menu-execute): Feedback when operation starts.
25706 Use delay-mode-hooks when visiting the init-file
25707 * lisp/emacs-lisp/package.el (package--ensure-init-file):
25709 * lisp/cus-edit.el (custom-save-all): delay-mode-hooks.
25711 * lisp/files.el: Only message when saving if save-silently is nil.
25712 (save-silently): New variable.
25713 (files--message): New function.
25714 (find-file-noselect, save-buffer, basic-save-buffer)
25715 (basic-save-buffer-2, save-some-buffers, not-modified)
25716 (append-to-file): Use them.
25718 2015-04-12 Johan Bockgård <bojohan@gnu.org>
25720 Support debug declarations in pcase macros
25721 * lisp/emacs-lisp/pcase.el (pcase-MACRO): New edebug spec.
25722 (pcase-UPAT): Use it. Remove "`".
25723 (pcase--edebug-match-macro): New function.
25724 (pcase-defmacro): Support debug declarations.
25725 * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
25726 * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>:
25727 * lisp/emacs-lisp/pcase.el (\`): <pcase-defmacro>:
25728 Add debug declaration.
25730 pcase.el: Edebug support for `app' and vector patterns
25731 * lisp/emacs-lisp/pcase.el (pcase-FUN): New edebug spec.
25732 (pcase-UPAT): Use it. Support `app' patterns.
25733 (pcase-QPAT): Support vector patterns.
25735 edebug.el: Disambiguate vector specifications
25736 * lisp/emacs-lisp/edebug.el (edebug-match-list): Always treat
25737 `(vector ...)' as a vector specification, not as a sublist.
25739 (gnus-summary-refer-thread): Don't clobber unread articles
25740 This fixes a bug where `A T' causes "random" articles to become marked
25742 * lisp/gnus/gnus-sum.el (gnus-summary-refer-thread): Make sure
25743 gnus-newsgroup-unreads remains sorted.
25745 mouse-sel.el: Fix mouse-sel-get-selection-function
25746 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
25747 Use gui--last-selected-text-primary instead of no longer existing
25748 gui-last-selected-text.
25750 * lisp/rect.el (delete-whitespace-rectangle-line): Don't cross EOL.
25752 * lisp/net/nsm.el (nsm-query-user): Use cursor-in-echo-area.
25754 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
25756 * lisp/emacs-lisp/package.el (list-packages): Avoid redundant generate.
25758 * lisp/emacs-lisp/package.el (list-packages): Call refresh in
25761 * lisp/emacs-lisp/bytecomp.el: Silence noninteractive compilations.
25762 (byte-compile--interactive): New var.
25763 (byte-compile--message): New function.
25764 (byte-compile-log-1, byte-force-recompile)
25765 (byte-recompile-directory, byte-recompile-file)
25766 (byte-compile-file, compile-defun)
25767 (byte-compile-file-form-defmumble, byte-compile)
25768 (byte-compile-file-form-defalias, display-call-tree): Use it.
25770 * lisp/files.el: Don't message when nothing happened.
25771 (save-some-buffers, basic-save-buffer): Before messaging to say
25772 "nothing was saved" check if (called-interactively-p 'any).
25774 2015-04-12 João Távora <joaotavora@gmail.com>
25776 Summary: Improve sexp-based movement in message-mode
25777 Works by giving citations and smileys a different syntax. This helps
25778 modes like `show-paren-mode', `electric-pair-mode', and C-M-*
25779 sexp-based movement.
25780 * lisp/gnus/message.el (message--syntax-propertize): New function.
25781 (message-mode): Set syntax-related vars.
25782 (message-smileys): New variable.
25783 * test/automated/message-mode-tests.el: New file
25785 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
25787 Use bool for boolean in window.c
25788 * src/window.c: Omit unnecessary static function decls.
25789 (adjust_window_count, select_window, Fselect_window)
25790 (window_body_width, Fwindow_body_height, Fwindow_body_width)
25791 (set_window_hscroll, check_window_containing, Fwindow_at)
25792 (Fwindow_end, Fset_window_start, Fpos_visible_in_window_p)
25793 (unshow_buffer, replace_window, recombine_windows)
25794 (add_window_to_list, candidate_window_p, next_window)
25795 (Fnext_window, Fprevious_window, window_loop, check_all_windows)
25796 (Fget_buffer_window, Fdelete_other_windows_internal)
25797 (replace_buffer_in_windows_safely, set_window_buffer)
25798 (Fset_window_buffer, Fforce_window_update)
25799 (temp_output_buffer_show, make_parent_window)
25800 (window_resize_check, window_resize_apply, Fwindow_resize_apply)
25801 (resize_frame_windows, Fsplit_window_internal)
25802 (Fdelete_window_internal, grow_mini_window, shrink_mini_window)
25803 (Fresize_mini_window_internal, mark_window_cursors_off)
25804 (window_scroll, window_scroll_pixel_based)
25805 (window_scroll_line_based, scroll_command, Fscroll_other_window)
25806 (Fscroll_left, Fscroll_right, displayed_window_lines, Frecenter)
25807 (Fmove_to_window_line, Fset_window_configuration)
25808 (delete_all_child_windows, apply_window_adjustment)
25809 (set_window_fringes, set_window_scroll_bars)
25810 (Fset_window_vscroll, foreach_window, foreach_window_1)
25811 (compare_window_configurations, Fcompare_window_configurations):
25812 Prefer 'bool', 'true', and 'false' for booleans.
25813 * src/window.h (WINDOW_MODE_LINE_LINES)
25814 (WINDOW_HEADER_LINE_LINES): Omit unnecessary "!!" on bool value.
25816 2015-04-11 Artur Malabarba <bruce.connor.am@gmail.com>
25818 Speed up byte-compilation and autoload generation by avoiding mode-hooks
25819 This prevents emacs-lisp-mode-hook from being run everytime an
25820 autoload file is generated, which can account for a fraction of
25821 package installation time depending on the hooks the user has
25823 * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use delay-mode-hooks.
25824 * lisp/emacs-lisp/autoload.el (autoload-find-file)
25825 (autoload-find-generated-file): Use delay-mode-hooks.
25827 * lisp/emacs-lisp/package.el: Improve `package-menu-refresh'.
25828 (package-menu-refresh): Respect async and do new package checking.
25829 (list-packages): Use `package-menu-refresh' instead of repeating code.
25831 * lisp/emacs-lisp/package.el: Improve package-menu-quick-help.
25832 (package--quick-help-keys): New variable.
25833 (package--prettify-quick-help-key): New function.
25834 (package-menu-quick-help): Use it.
25836 * lisp/emacs-lisp/package.el: Fix initially wrong compat table.
25837 (package--build-compatibility-table): Require finder.
25839 * test/automated/package-test.el: Fix new test.
25841 * lisp/emacs-lisp/package.el: Silence async operations.
25842 (package--silence): New variable.
25843 (package--message): New function.
25844 (package-import-keyring, package-refresh-contents)
25845 (package-compute-transaction, package-install, package-delete)
25846 (package-menu--perform-transaction, package-menu-execute): Use it.
25848 * test/automated/package-test.el: Test async functionality.
25849 (package-test-update-archives-async): New test.
25851 2015-04-11 Daiki Ueno <ueno@gnu.org>
25853 Utilize `make-process' in epg.el
25854 * lisp/epg.el (epg-error-output): Abolish.
25855 (epg-context): New slot `error-buffer'.
25856 (epg--start): Use `make-process' and `make-pipe-process'.
25857 (epg--process-filter): Remove code separating stderr from stdout.
25858 (epg-wait-for-completion): Simplify `error-output' handling.
25859 (epg-reset): Dispose error buffer.
25861 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
25863 * .gitignore: Ignore doc temps and outputs.
25865 Port commit-msg to MSYS Bash+Gawk
25866 See Eli Zaretskii in:
25867 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00610.html
25868 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format)
25869 (cent_sign, print_at_sign, at_sign): Revert previous change.
25870 (print_at_sign): Prepend "BEGIN".
25871 (at_sign): Redirect from /dev/null to be safer with pre-POSIX awk.
25873 Port commit-msg to broken MS-Windows shell
25874 * build-aux/git-hooks/commit-msg (cent_sign):
25875 Just use UTF-8 here rather than ASCII + printf, as the latter fails
25876 on a broken MS-Windows shell. Reported by Eli Zaretskii in:
25877 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00592.html
25879 2015-04-11 Chris Zheng <chriszheng99@gmail.com> (tiny change)
25881 Support GnuTLS v3.4 and later on MS-Windows
25882 * src/gnutls.c (syms_of_gnutls) <libgnutls-version>: New DEFSYM.
25883 * lisp/term/w32-win.el (dynamic-library-alist): Determine which
25884 GnuTLS DLL to load according to value of libgnutls-version.
25887 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
25889 Minor quoting etc. fixes to misc manuals
25890 Fix some minor quoting and spacing issues. Distinguish more
25891 clearly among grave accent and apostrophe (which are ASCII) and
25892 single quote (which is not). Prefer the standard terms
25893 "apostrophe" and "grave accent" to alternative names that can be
25894 confusing. Use apostrophes to single-quote ASCII text.
25895 * doc/misc/remember.texi: Spell the mystic's pseudonym in UTF-8
25896 rather than approximating it in ASCII with grave accent.
25898 2015-04-11 Daiki Ueno <ueno@gnu.org>
25900 Respect more keyword args in `make-process'
25901 * src/process.c (Fmake_process): Respect `:sentinel' and `:filter'
25902 keywords as documented.
25904 2015-04-10 Dmitry Gutov <dgutov@yandex.ru>
25906 Extract ChangeLog entries when committing a directory
25907 * lisp/vc/vc-dispatcher.el (vc-log-edit): Update FIXME comment.
25908 * lisp/vc/log-edit.el (log-edit-changelog-insert-entries):
25909 Add a FIXME comment.
25910 (log-edit-changelog-entries): Extract from
25911 `log-edit-changelog-entries', handle FILE being a directory
25912 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00555.html).
25914 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
25916 Fix problems found by --enable-gcc-warnings
25917 * src/process.c (create_process, Fmake_pipe_process)
25918 (Fmake_network_process): Omit unused locals.
25920 Fix commit-msg to handle scissors lines
25921 * build-aux/git-hooks/commit-msg:
25922 Ignore every line after a scissors line, such as a line generated
25923 by 'git commit -v'. Problem reported by Johan Bockgård in:
25924 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00580.html
25926 port commit-msg to Gawk 3.0.4 (1999)
25927 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format, cent_sign)
25928 (print_at_sign, at_sign): New vars. Use them to avoid problems
25929 Eli Zaretskii encountered with Gawk 3.0.4 (1999) on MSYS. See:
25930 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
25932 Have commit-msg report commit failure
25933 * build-aux/git-hooks/commit-msg: If the commit is aborted,
25934 say so. Simplify by doing this at the end. Problem reported
25935 by Eli Zaretskii in:
25936 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
25938 2015-04-10 Thomas Fitzsimmons <fitzsim@fitzsim.org>
25940 Clean up LDAP Configuration section of EUDC manual
25941 * doc/misc/eudc.texi: Combine indices.
25942 (LDAP Configuration): Use command markup. Add index entries.
25943 Change formatting. Wrap long lines. Add noindent markup.
25945 2015-04-10 Daiki Ueno <ueno@gnu.org>
25947 Add facility to collect stderr of async subprocess
25948 * src/w32.h (register_aux_fd): New function declaration.
25949 * src/w32.c (register_aux_fd): New function.
25950 * src/process.h (struct Lisp_Process): New member stderrproc.
25951 * src/process.c (PIPECONN_P): New macro.
25952 (PIPECONN1_P): New macro.
25953 (Fdelete_process, Fprocess_status, Fset_process_buffer)
25954 (Fset_process_filter, Fset_process_sentinel, Fstop_process)
25955 (Fcontinue_process): Handle pipe process specially.
25956 (create_process): Respect p->stderrproc.
25957 (Fmake_pipe_process): New function.
25958 (Fmake_process): Add new keyword argument :stderr.
25959 (wait_reading_process_output): Specially handle a pipe process when
25961 (syms_of_process): Register Qpipe and Smake_pipe_process.
25962 * doc/lispref/processes.texi (Asynchronous Processes): Document
25963 `make-pipe-process' and `:stderr' keyword of `make-process'.
25964 * lisp/subr.el (start-process): Suggest to use `make-process' handle
25965 standard error separately.
25966 * test/automated/process-tests.el (process-test-stderr-buffer)
25967 (process-test-stderr-filter): New tests.
25968 * etc/NEWS: Mention new process type `pipe' and its usage with the
25969 `:stderr' keyword of `make-process'.
25971 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
25973 Minor quoting etc. fixes to lispref manual
25974 * doc/lispref/tips.texi (Documentation Tips):
25975 Distinguish more clearly among grave accent, apostrophe,
25977 * doc/lispref/README, doc/lispref/buffers.texi:
25978 * doc/lispref/commands.texi, doc/lispref/control.texi:
25979 * doc/lispref/customize.texi, doc/lispref/display.texi:
25980 * doc/lispref/elisp.texi, doc/lispref/files.texi:
25981 * doc/lispref/frames.texi, doc/lispref/hash.texi:
25982 * doc/lispref/help.texi, doc/lispref/internals.texi:
25983 * doc/lispref/loading.texi, doc/lispref/makefile.w32-in:
25984 * doc/lispref/markers.texi, doc/lispref/modes.texi:
25985 * doc/lispref/nonascii.texi, doc/lispref/objects.texi:
25986 * doc/lispref/os.texi, doc/lispref/positions.texi:
25987 * doc/lispref/strings.texi, doc/lispref/syntax.texi:
25988 * doc/lispref/text.texi, doc/lispref/tips.texi:
25989 * doc/lispref/two-volume-cross-refs.txt, doc/lispref/windows.texi:
25990 Use American-style double quoting in ordinary text,
25991 and quote 'like this' when single-quoting in ASCII text.
25992 Also, fix some minor spacing issues.
25994 2015-04-10 Michael Albinus <michael.albinus@gmx.de>
25996 Handle symlinked test directory in tramp-tests.el
25997 * test/automated/tramp-tests.el (tramp-test18-file-attributes)
25998 (tramp--test-check-files): Use `file-truename' for directories.
26000 2015-04-10 Eli Zaretskii <eliz@gnu.org>
26002 Fix 'recenter' when visual-line-mode is turned on
26003 * src/window.c (Frecenter): Use the same code for GUI and TTY
26004 frames alike; use vmotion only for "initial" frames. This is
26005 because vmotion doesn't support visual-line-mode. Rewrite the
26006 'iarg >= 0' case to use move_it_* functions instead of using
26007 vmotion, for the same reason. Fix the clipping of the argument
26008 value to support scroll-margin in all cases and avoid unwarranted
26009 recentering. Reported by Milan Stanojević <milanst@gmail.com> in
26010 http://lists.gnu.org/archive/html/help-gnu-emacs/2015-04/msg00092.html,
26013 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
26015 * lisp/abbrev.el (define-abbrev-table): Refine last change.
26017 * lisp/emacs-lisp/cl-lib.el: Partial revert of "2015-04-05 Rationalize
26018 use of c[ad]+r", so as to keep the "cl-" prefix on all
26019 cl-lib definitions.
26021 * lisp/progmodes/vhdl-mode.el (vhdl-prepare-search-2):
26022 Use inhibit-point-motion-hooks.
26024 * lisp/cedet/semantic: Remove some dead code.
26025 * lisp/cedet/semantic/util-modes.el
26026 (semantic-stickyfunc-header-line-format): Emacs<22 is not supported
26028 * lisp/cedet/semantic/fw.el (semantic-buffer-local-value): Emacs<21 is
26029 not supported any more.
26030 (semantic-safe): Use `declare'.
26031 * lisp/cedet/semantic/decorate.el (semantic-set-tag-intangible)
26032 (semantic-tag-intangible-p): Remove unused functions.
26033 * lisp/cedet/semantic/complete.el (semantic-displayor-window-edges):
26034 Remove unused function.
26036 * lisp/gnus/gnus-art.el (gnus-hidden-properties): Simplify.
26037 (gnus-article-hide-text, gnus-article-unhide-text)
26038 (gnus-article-unhide-text-type): Remove special handling of
26039 `intangible' since that property is not used any more.
26040 (gnus-article-treat-body-boundary): Use gnus-hidden-properties.
26042 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
26044 Use the VC root in `log-edit-listfun'
26045 * lisp/vc/vc-dispatcher.el (vc-log-edit): Use the VC root in
26046 `log-edit-listfun'.
26048 2015-04-09 Jay Belanger <jay.p.belanger@gmail.com>
26050 Fix description of Unix time, mention new function.
26051 * lisp/calc/calc-forms.el (calcFunc-unixtime): Fix adjustment for
26053 * doc/misc/calc.texi (Date Forms): Fix description of Unix time.
26054 (Basic Operations on Units): Mention `calc-convert-exact-units'.
26056 2015-04-09 Artur Malabarba <bruce.connor.am@gmail.com>
26058 * lisp/emacs-lisp/package.el: Use mode-line-process for notification.
26060 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
26062 * lisp/vc/log-edit.el (log-edit-insert-changelog-entries):
26063 Don't add newline after the last entry.
26065 2015-04-09 Simen Heggestøyl <simenheg@gmail.com>
26067 css-mode.el: Add "not" pseudo-class
26069 * lisp/textmodes/css-mode.el (css-pseudo-class-ids): Add "not" to
26070 list of CSS pseudo-classes.
26072 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
26074 * etc/NEWS: Add missing entry for "Stop messing with the EMACS env var".
26076 2015-04-09 Michael Albinus <michael.albinus@gmx.de>
26078 Stop messing with the EMACS env var
26079 * doc/emacs/misc.texi (Interactive Shell): Remove description of
26082 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
26084 Adapt 'make change-history' to coding cookie
26085 * Makefile.in (change-history): Adjust to change of format of
26086 ChangeLog file, which now has a coding cookie before an indented
26089 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
26091 Adapt 'make change-history' to coding cookie
26092 * Makefile.in (change-history): Adjust to change of format of
26093 ChangeLog file, which now has a coding cookie before an indented
26096 gitlog-to-changelog coding cookie and mv -i
26097 * build-aux/gitlog-to-emacslog: Use ChangeLog.1, not Makefile.in,
26098 for copyright notice prototype, so that we get a proper "coding:"
26099 cookie. Use 'mv -i' to avoid unconditionally overwriting an
26100 existing ChangeLog. Problems reported by Eli Zaretskii in:
26101 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00504.html
26104 * build-aux/gitlog-to-changelog: Update from gnulib, incorporating:
26105 2015-04-09 gitlog-to-changelog: port to MS-Windows
26107 2015-04-09 Boruch Baum <boruch_baum@gmx.com> (tiny change)
26109 * lisp/bookmark.el (bookmark-bmenu-goto-bookmark): Don't inf-loop.
26112 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
26114 Stop messing with the EMACS env var
26116 * lisp/net/tramp-sh.el (tramp-remote-process-environment):
26117 * lisp/comint.el (comint-exec-1):
26118 * lisp/term.el (term-exec-1): Don't set EMACS envvar.
26119 * lisp/progmodes/compile.el (compilation-start): Same and bring
26120 INSIDE_EMACS's format in line with other users.
26122 css-mode.el (css-smie-rules): Fix indentation after complex selectors
26124 * lisp/textmodes/css-mode.el (css-smie-rules): Don't get confused by
26125 inner structure of selectors.
26127 2015-04-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
26129 python.el: Indent docstring lines to base-indent
26131 Thanks to immerrr <immerrr@gmail.com> for reporting and providing
26133 * lisp/progmodes/python.el
26134 (python-indent-context): Add :inside-docstring context.
26135 (python-indent--calculate-indentation): Handle :inside-docstring.
26136 (python-indent-region): Re-indent docstrings.
26137 * test/automated/python-tests.el (python-indent-region-5)
26138 (python-indent-inside-string-2): Fix tests.
26140 python.el: Increase native completion robustness
26142 Thanks to Carlos Pita <carlosjosepita@gmail.com> for reporting
26143 this and providing useful ideas.
26144 * lisp/progmodes/python.el
26145 (python-shell-completion-native-output-timeout): Increase value.
26146 (python-shell-completion-native-try-output-timeout): New var.
26147 (python-shell-completion-native-try): Use it.
26148 (python-shell-completion-native-setup): New readline setup avoids
26149 polluting current context, ensures output when no-completions are
26150 available and includes output end marker.
26151 (python-shell-completion-native-get-completions): Trigger with one
26152 tab only. Call accept-process-output until output end is found or
26153 python-shell-completion-native-output-timeout is exceeded.
26155 2015-04-08 Samer Masterson <samer@samertm.com>
26157 * lisp/eshell: Make backslash a no-op in front of normal chars
26159 * lisp/eshell/esh-arg.el (eshell-parse-argument-hook): Update comment.
26160 (eshell-parse-backslash): Return escaped character after backslash
26161 if it is special. Otherwise, if the backslash is not in a quoted
26162 string, ignore the backslash and return the character after; if
26163 the backslash is in a quoted string, return the backslash and the
26165 * test/automated/eshell.el (eshell-test/escape-nonspecial)
26166 (eshell-test/escape-nonspecial-unicode)
26167 (eshell-test/escape-nonspecial-quoted)
26168 (eshell-test/escape-special-quoted): Add tests for new
26169 `eshell-parse-backslash' behavior.
26171 2015-04-08 Gustav Hållberg <gustav@gmail.com> (tiny change)
26173 * lisp/vc/diff-mode.el (diff-hunk-file-names): Don't require a TAB
26174 after the file name.
26177 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
26179 Minor quoting etc. fixes to Emacs manual
26180 * doc/emacs/Makefile.in, doc/emacs/ack.texi, doc/emacs/building.texi:
26181 * doc/emacs/calendar.texi, doc/emacs/cmdargs.texi:
26182 * doc/emacs/custom.texi, doc/emacs/dired.texi, doc/emacs/emacs.texi:
26183 * doc/emacs/files.texi, doc/emacs/glossary.texi, doc/emacs/gnu.texi:
26184 * doc/emacs/indent.texi, doc/emacs/macos.texi:
26185 * doc/emacs/maintaining.texi, doc/emacs/makefile.w32-in:
26186 * doc/emacs/programs.texi, doc/emacs/rmail.texi:
26187 * doc/emacs/search.texi, doc/emacs/trouble.texi:
26188 * doc/emacs/vc1-xtra.texi:
26189 Use American-style double quoting in ordinary text,
26190 and quote 'like this' when single-quoting in ASCII text.
26191 Also, fix some minor spacing issues.
26193 Minor quoting etc. fixes to elisp intro
26194 * doc/lispintro/emacs-lisp-intro.texi: Consistently use
26195 American-style double quoting in ordinary text. In ASCII text,
26196 consistently quote 'like this' instead of `like this', unless
26197 Emacs requires the latter.
26199 2015-04-08 Dmitry Gutov <dgutov@yandex.ru>
26201 * CONTRIBUTE: Mention log-edit-insert-changelog.
26203 * CONTRIBUTE: Emphasize creating the top-level ChangeLog file manually.
26205 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
26207 * doc/misc/calc.texi (Summary): Avoid '@:' when usurped.
26209 2015-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
26211 * lisp/emacs-lisp/eieio-core.el (eieio-copy-parents-into-subclass):
26212 Fix inheritance of initargs. (Bug#20270)
26214 2015-04-08 Artur Malabarba <bruce.connor.am@gmail.com>
26216 * lisp/emacs-lisp/package.el (package-menu-mode): Mode-line notification
26217 while dowloading information.
26219 * lisp/emacs-lisp/package.el: More conservative `ensure-init-file'
26220 (package--ensure-init-file): Check file contents before visiting.
26221 (package-initialize): Call it.
26222 (package-install-from-buffer, package-install): Don't call it.
26224 2015-04-08 Eli Zaretskii <eliz@gnu.org>
26226 * src/eval.c (init_eval_once): Bump max_lisp_eval_depth to 800.
26229 2015-04-08 Michael Albinus <michael.albinus@gmx.de>
26231 * lisp/net/tramp-cache.el (tramp-flush-file-property):
26232 Fix nasty scoping bug.
26234 2015-04-08 Tassilo Horn <tsdh@gnu.org>
26236 Add notice to visual commands section
26237 * doc/misc/eshell.texi (Input/Output): Add notice that some tools
26238 such as git call less with its -F option which omits pagination if
26239 the contents is less than one page long. This interferes with
26240 eshell's visual (sub-)commands.
26242 2015-04-07 Dmitry Gutov <dgutov@yandex.ru>
26244 * lisp/ffap.el (ffap-string-at-point-mode-alist): Support
26245 environment variable expansion in file names. (Bug#19839)
26247 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
26249 Prefer double-quote to accent-grave in man pages
26251 2015-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
26254 * lisp/files.el (set-visited-file-name): Clear auto-save if nil.
26256 2015-04-07 Ivan Shmakov <ivan@siamics.net>
26258 Update etc/PROBLEMS.
26259 * etc/PROBLEMS: Mention visible-cursor; a few more mentions of
26260 ~/.Xresources and xrdb(1); refer to 'GNU Coreutils' and
26261 'X Window System' or 'X' (were: 'GNU Fileutils' and 'X Windows',
26262 respectively); other minor updates and tweaks. (Bug#20011)
26264 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
26266 Add doc strings for some Isearch state vars
26267 * lisp/misearch.el (multi-isearch-buffer-list)
26268 (multi-isearch-file-list): Add doc strings.
26271 2015-04-07 Alan Mackenzie <acm@muc.de>
26273 Always mark "<" and ">" in #include directives with text properties.
26274 * lisp/progmodes/cc-fonts.el (c-cpp-matchers): Replace a font-lock
26275 "anchored matcher" with an invocation of
26276 c-make-font-lock-search-function to allow fontification when there's
26277 no trailing space on an "#include <..>" line.
26279 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
26281 Generate a ChangeLog file from commit logs
26282 * .gitignore: Add 'ChangeLog'.
26283 * build-aux/gitlog-to-changelog: New file, from Gnulib.
26284 * build-aux/gitlog-to-emacslog: New file.
26285 * CONTRIBUTE: Document the revised workflow.
26286 * Makefile.in (clean): Remove *.tmp and etc/*.tmp*
26287 instead of just special cases.
26288 (CHANGELOG_HISTORY_INDEX_MAX, CHANGELOG_N, gen_origin): New vars.
26289 (ChangeLog, unchanged-history-files, change-history)
26290 (change-history-commit): New rules.
26291 * admin/admin.el (make-manuals-dist--1):
26292 Don't worry about doc/ChangeLog.
26293 * admin/authors.el: Add a FIXME.
26294 * admin/make-tarball.txt:
26295 * lisp/calendar/icalendar.el:
26296 * lisp/gnus/deuglify.el:
26297 * lisp/obsolete/gulp.el:
26299 Adjust to renamed ChangeLog history files.
26300 * admin/merge-gnulib (GNULIB_MODULES): Add gitlog-to-changelog.
26301 * admin/notes/repo: Call it 'master' a la Git, not 'trunk' a la Bzr.
26302 Remove obsolete discussion of merging ChangeLog files.
26303 New section "Maintaining ChangeLog history".
26304 * build-aux/git-hooks/pre-commit:
26305 Reject attempts to commit files named 'ChangeLog'.
26306 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
26307 * make-dist: Make and distribute top-level ChangeLog if there's a
26308 .git directory. Distribute the new ChangeLog history files
26309 instead of scattered ChangeLog files. Distribute the new files
26310 gitlog-to-changelog and gitlog-to-emacslog.
26313 Rename ChangeLogs for gitlog-to-changelog
26314 This patch was implemented via the following shell commands:
26315 find * -name ChangeLog |
26316 sed 's,.*,git mv & &.1,
26317 s, lisp/ChangeLog\.1$, lisp/ChangeLog.17,
26318 s, lisp/erc/ChangeLog\.1$, lisp/erc/ChangeLog.09,
26319 s, lisp/gnus/ChangeLog\.1$, lisp/gnus/ChangeLog.3,
26320 s, lisp/mh-e/ChangeLog\.1$, lisp/mh-e/ChangeLog.2,
26321 s, src/ChangeLog\.1$, src/ChangeLog.13,' |
26323 git commit -am"[this commit message]"
26325 This file records repository revisions from
26326 commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to
26327 commit d5195155f9a297dc45a40c9b7175715ffe4f1612 (inclusive).
26328 See ChangeLog.1 for earlier changes.
26330 ;; Local Variables:
26334 Copyright (C) 2015-2016 Free Software Foundation, Inc.
26336 This file is part of GNU Emacs.
26338 GNU Emacs is free software: you can redistribute it and/or modify
26339 it under the terms of the GNU General Public License as published by
26340 the Free Software Foundation, either version 3 of the License, or
26341 (at your option) any later version.
26343 GNU Emacs is distributed in the hope that it will be useful,
26344 but WITHOUT ANY WARRANTY; without even the implied warranty of
26345 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26346 GNU General Public License for more details.
26348 You should have received a copy of the GNU General Public License
26349 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.