1 2015-12-18 Phillip Lord <phillip.lord@russet.org.uk>
3 Fix bootstrap issue with dired-loaddefs
5 * lisp/dired.el: Autoloads for secondary files loaded optionally.
7 2015-12-17 Phillip Lord <phillip.lord@russet.org.uk>
9 dired generate autoloads to non-versioned file.
11 * lisp/dired.el: Remove autoloads.
12 * lisp/Makefile.in: Add dired to autogenel.
13 * lisp/dired-aux.el,lisp/dired-x.el: Update file local.
14 * test/lisp/dired-tests.el: Add new test.
16 2015-12-17 Phillip Lord <phillip.lord@russet.org.uk>
18 eieio generate autoloads to non-versioned file.
20 * lisp/Makefile.in: eieio-loaddefs add to autogenel.
21 * lisp/emacs-lisp/eieio.el,lisp/emacs-lisp/eieio-core.el:
23 * lisp/emacs-lisp/eieio-compat.el,lisp/emacs-lisp/eieio-custom.el,
24 lisp/emacs-lisp/eieio-opt.el: Update file local.
25 * test/lisp/emacs-lisp/eieio-tests/eieio-tests.el: New test.
27 2015-12-17 Phillip Lord <phillip.lord@russet.org.uk>
29 htmlfontify generate autoload to non-versioned file.
31 * lisp/Makefile.in: Add htmlfontity-loaddefs to autogenel.
32 * lisp/hfy-cmap.el: Update file local.
33 * lisp/htmlfontify.el: Remove autoloads, add require.
34 * test/lisp/htmlfontify-tests.el: Test autoload functionality.
36 2015-12-17 Phillip Lord <phillip.lord@russet.org.uk>
38 ibuffer generate autoloads to non-versioned file.
40 * lisp/Makefile.in: Add ibuffer-loaddefs to autogenel.
41 * lisp/ibuf-ext.el: Update file local.
42 * lisp/ibuffer.el: Remove autoloads and add a require.
43 * test/lisp/ibuffer-tests.el: Test that autoload is working.
45 2015-12-17 Phillip Lord <phillip.lord@russet.org.uk>
47 rmail generate autoloads to non-versioned file.
49 * lisp/Makefile.in: Add rmail-loaddefs.el to autogenel.
50 * lisp/mail/rmail.el: Remove autoloads, add require.
51 * lisp/mail/rmailedit.el,lisp/mail/rmailkwd.el,
52 lisp/mail/rmailmm.el,lisp/mail/rmailmsc.el,
53 lisp/mail/rmailsort.el,lisp/mail/rmailsum.el,
54 lisp/mail/undigest.el: Update file-local.
55 * test/lisp/mail/rmail-tests.el:
57 2015-12-17 Phillip Lord <phillip.lord@russet.org.uk>
59 Add autoload-force target.
61 * lisp/Makefile.in (autoload-force): New target.
63 2015-12-17 Phillip Lord <phillip.lord@russet.org.uk>
65 ps-print generate autoloads to non versioned file.
67 * lisp/Makefile.in: Add ps-print-loaddefs.el to autogen list.
68 * lisp/ps-print.el: Remove autoloads.
69 * lisp/ps-mule.el: Update file-local.
70 * test/lisp/ps-print-tests.el: Test autoload functionality.
72 2015-12-17 Phillip Lord <phillip.lord@russet.org.uk>
74 reftex generate autoloads to non versioned file.
76 * lisp/Makefile.in: Add reftex-loaddefs to autogen files
77 * lisp/textmodes/reftex.el: Remove autoloads.
78 * lisp/textmodes/reftex-auc.el,lisp/textmodes/reftex-cite.el,
79 lisp/textmodes/reftex-dcr.el,lisp/textmodes/reftex-global.el,
80 lisp/textmodes/reftex-index.el,lisp/textmodes/reftex-parse.el,
81 lisp/textmodes/reftex-ref.el,lisp/textmodes/reftex-sel.el,
82 lisp/textmodes/reftex-toc.el: Update autoload file-local.
83 * test/lisp/textmodes/reftex-tests.el: Add test of an autoloaded
86 2015-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
88 * lisp/calculator.el (calculator-define-key): Undo last change
90 Make map argument mandatory instead (bug#22106).
91 (calculator-add-operators): Pass the argument that's not optional any more.
93 2015-12-03 Glenn Morris <rgm@gnu.org>
95 * Makefile.in: Avoid duplication.
97 (have-tests): New rule.
98 (check, check-maybe): Use it.
100 2015-12-02 Phillip Lord <phillip.lord@russet.org.uk>
102 make check unconditional, check-maybe top-level.
104 * Makefile.in: Add check-maybe target.
105 * test/Makefile.in: Restore unconditional behaviour to make check.
107 2015-12-01 Phillip Lord <phillip.lord@russet.org.uk>
109 Tests now support out-of-source-build.
111 * tests/Makefile.in,test/make-test-deps.emacs-lisp: Remove assumptions
112 about current working directory.
114 2015-12-01 Artur Malabarba <bruce.connor.am@gmail.com>
116 * lisp/emacs-lisp/let-alist.el: Now an Elpa :core package
118 2015-11-30 Phillip Lord <phillip.lord@russet.org.uk>
120 Improve documentation and clean up.
122 * test/Makefile.in: Improve documentation, use EMACS variable
123 correctly, and clean up makefile rules.
125 2015-11-30 Phillip Lord <phillip.lord@russet.org.uk>
127 Update file headers for name change.
129 * (test/src/decompress-tests.el, test/src/alloc-tests.el): Update headers.
131 2015-11-30 Phillip Lord <phillip.lord@russet.org.uk>
133 Test files renamed to new scheme.
135 * (finalizer-tests.el): Now renamed alloc-tests.el
136 * (zlib-tests.el): Now renamed decompress-tests.el.
138 2015-11-30 Phillip Lord <phillip.lord@russet.org.uk>
140 Tests now depend on source files
142 * test/Makefile.in: Include dependences from tests to source files.
143 * test/make-test-deps.emacs-lisp: New file
144 * .gitignore: Ignore generated make include file
146 2015-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
148 * lisp/progmodes/which-func.el: Improve disabling the mode
151 (which-func-modes, which-func-non-auto-modes, which-func-maxout)
152 (which-func, which-func-format): Remove redundant :group arg.
153 (which-func-try-to-enable): New function.
154 (which-func-ff-hook, which-function-mode): Use it.
155 (mode-line-misc-info): Add ourselves here instead of in bindings.el.
156 * lisp/bindings.el (mode-line-misc-info): Remove which-func-mode entry.
158 2015-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
160 * lisp/calculator.el (calculator-define-key): Silence warning
162 ...about unknown calculator-mode-map.
164 2015-11-29 Eli Barzilay <eli@barzilay.org>
166 * lisp/calculator.el: more improvements and bugfixes.
168 - Mark `calculator-paste-decimals' as obsolete. (It wasn't having an
171 - Simplify `calculator-number-to-string' by throwing most of the work
172 onto `number-to-string', leaving just some tweaks for decimal inputs.
173 This leads to some minor changes, for example, pasting "1x1" in hex
174 mode would warn that "x" is ignored and result in "11" (and it wasn't
175 done in decimal mode), whereas now it just ignores everything from the
176 "x" and on and result in a "1" just like in decimal input mode. Also,
177 overflows are left for `number-to-string' to deal with.
179 - `calculator-paste' is very simple as a result.
181 - Extend the simplified `calculator-paste': with a prefix argument it
182 pastes a string as if the characters were entered. This can be used
183 to reduce expressions, but note that it's a simple literal operation,
184 so precedence can be messed, a number can be paster while entering a
185 number, spaces and newlines matter, etc.
187 - Fix a minor bug where "e+" in hex mode wouldn't use "+" as an
190 - Fix a bug in `calculator-put-value': avoid grouping in the display
191 that is used to construct `calculator-curnum'. This would trigger
192 when pasting or getting a value from a register in some radix mode
193 with a large enough value. Another fix: make the output radix equal
194 the input one, otherwise numbers could be converted twice.
196 2015-11-29 Eli Barzilay <eli@barzilay.org>
198 * lisp/calculator.el: Re-do key bindings.
200 Use a helper function that arranges a parent keymap that binds alternate
201 case keys so if some letter key is unbound and it's un/shifted version
202 is, it will get used. This makes the global-map trickery unnecessary.
204 Also switch to passing strings that name keys through `kbd'.
206 2015-11-29 Eli Barzilay <eli@barzilay.org>
208 * lisp/calculator.el: improve radix modes
210 Fix prompt for some input radix with decimal output (eg, "BD" instead of
211 the incorrect "B="); also, some minor docstring tweaks for these.
213 2015-11-29 Eli Barzilay <eli@barzilay.org>
215 * lisp/calculator.el: better reading of register names
217 Use `register-read-with-preview' with a dynamically bound
218 `register-alist' and a proper preview function to read register names.
220 2015-11-29 Eli Barzilay <eli@barzilay.org>
222 * lisp/calculator.el: General improvements
224 Use things like `when', `unless', and `push'.
226 Improve `calculator-last-input' so it doesn't barf when hitting `F1' in
229 2015-11-28 Michael Albinus <michael.albinus@gmx.de>
231 Fix a problem with gfilenotify in filenotify-tests.el
233 * test/lisp/filenotify-tests.el
234 (file-notify--test-expected-events): Remove.
235 (file-notify--test-cleanup): Do not set that variable.
236 (file-notify--test-with-events): EVENTS can also be a list of lists.
237 (file-notify-test02-events, file-notify-test04-file-validity):
238 Adapt expected result.
240 2015-11-28 Eli Zaretskii <eliz@gnu.org>
242 * .gitignore: Adjust to changes in 'test' directory structure.
244 2015-11-28 Eli Zaretskii <eliz@gnu.org>
246 Fix test/manual/etags/Makefile
248 * test/manual/etags/Makefile (ETAGS_PROG, CTAGS_PROG): Adjust to
249 changes in 'test' directory structure.
251 2015-11-27 Phillip Lord <phillip.lord@russet.org.uk>
253 Exclude resource dirs from search for tests.
255 * test/Makefile.in: Test file locations are now found with find
256 rather than using finds native functions.
258 2015-11-27 Phillip Lord <phillip.lord@russet.org.uk>
260 Add test targets without directory names.
262 * (test/Makefile.in): Extend test_template to add two targets for each
265 2015-11-27 Artur Malabarba <bruce.connor.am@gmail.com>
267 * lisp/emacs-lisp/package.el: Require url-handlers
269 2015-11-27 Phillip Lord <phillip.lord@russet.org.uk>
271 Move elisp-mode-tests to new function names.
273 * test/lisp/progmodes/elisp-mode-tests.el (find-defsdefun-c-defvar-c,
274 find-defs-defun-el-defvar-c): Call `elisp--xref-find-definitions'.
276 2015-11-27 Juanma Barranquero <lekktu@gmail.com>
278 * lisp/emacs-lisp/package.el: Declare `url-insert-buffer-contents'
280 2015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
282 Merge branch 'feature/standard-test-location'
284 2015-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
286 * lisp/emacs-lisp/eieio.el: Add some default implementations
288 (standard-class): Mark it obsolete.
289 (slot-missing): Give it a default implementation.
290 (destructor): Simplify and mark it obsolete.
291 (object-print): Give it a default implementation.
292 (eieio-change-class): Rename from change-class.
293 (change-class): Redefine as obsolete alias.
295 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
297 Some final fixes in file notification before merging with master
299 * lisp/filenotify.el (file-notify--rm-descriptor): Remove WHAT arg.
300 (file-notify-callback): Improve check for `stopped' event. Call
301 `file-notify-rm-watch' rather than `file-notify--rm-descriptor'.
302 (file-notify-add-watch): In case FILE is not a directory, call the
303 file monitor for the kqueue backend. Otherwise, call the
304 directory monitor for the upper directory.
306 * src/inotify.c (inotifyevent_to_event): Extract file name from
307 watch_object if the event doesn't provide it.
308 (Finotify_add_watch): Add file name to watch_object.
310 * test/automated/file-notify-tests.el (file-notify--test-timeout):
311 Use different timeouts for different libraries.
312 (file-notify--test-with-events): Suppress lock files. Flush
313 outstanding events before running the body.
314 (file-notify-test02-events, file-notify-test04-file-validity): Do
315 not skip cygwin tests. Add additional test for file creation.
316 Adapt expected result for different backends.
317 (file-notify-test03-autorevert): Some of the tests don't work for
319 (file-notify-test06-many-events): Rename into both directions.
321 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
323 Rework file notifications, kqueue has problems with directory monitors
325 * lisp/filenotify.el (file-notify-add-watch): Call the native
326 add-watch function on the file, not on the dir.
328 * src/kqueue.c (kqueue_compare_dir_list): Make also bookkeeping
329 about already deleted entries.
331 * test/automated/auto-revert-tests.el
332 (auto-revert-test01-auto-revert-several-files): Do not call "cp -f"
333 since this deletes the target file first.
335 * test/automated/file-notify-tests.el (file-notify--test-event-test):
336 Make stronger checks.
337 (file-notify-test01-add-watch, file-notify-test02-events)
338 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
339 Rewrite in order to call file monitors but directory monitors.
340 (file-notify-test06-many-events): Ler rename work in both directions.
342 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
344 Continue with pending events
346 * src/kqueue.c (pending_events): Remove global variable.
347 (kqueue_compare_dir_list): Create `write' event for not used
349 (globals_of_kqueue): Remove initialization of pending_events.
351 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
353 Improve loops in file-notify-test06-many-events
355 * test/automated/file-notify-tests.el (file-notify-test06-many-events):
356 Use `read-event' pauses for the `write-file' loops; otherwise
357 events are lost in inotify and gfilenotify cases.
359 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
361 Handle more complex rename operation in kqueue
363 * src/kqueue.c (pending_events): New variable.
364 (kqueue_compare_dir_list): Handle more complex rename operation.
365 (globals_of_kqueue): Initialize pending_events.
367 * test/automated/file-notify-tests.el (file-notify-test06-many-events):
368 Adapt expected events in the `rename-file' case.
369 (file-notify-test06-many-events-remote): Declare.
371 2015-11-25 Wolfgang Jenkner <wjenkner@inode.at>
373 New test with a larger number of events
375 * test/automated/file-notify-tests.el (file-notify--test-with-events):
376 Make timeout heuristically depend on the number of events.
378 (file-notify-test06-many-events): Use it for new test.
380 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
382 Further fixes for kqueue
384 * lisp/filenotify.el (file-notify-callback): Raise also event if
385 directory name matches.
386 (file-notify-add-watch): Add `create' to the flags for `kqueue'.
388 * src/kqueue.c (kqueue_generate_event): Use watch_object as
389 argument instead of ident. Remove callback argument. Adapt
390 callees. Check actions whether they are monitored flags.
392 * test/automated/file-notify-tests.el (file-notify--test-library):
394 (file-notify-test00-availability, file-notify-test02-events)
395 (file-notify-test04-file-validity)
396 (file-notify-test05-dir-validity): Use it.
397 (file-notify-test02-events, file-notify-test04-file-validity): Add
398 `read-event' calls between different file actions, in order to
399 give the backends a chance to rais an event. Needed especially
400 for kqueue. In case of deleting a directory, there are two
403 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
405 Code cleanup of kqueue.c
407 * src/kqueue.c (kqueue_directory_listing): Skip "." and "..".
408 (kqueue_compare_dir_list): Do not loop when calling
409 directory_files_internal. Remove checks for "." and "..", this is
410 done in kqueue_directory_listing now.
411 (Fkqueue_add_watch): Check for proper emacs_open flags.
413 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
415 Doc changes for kqueue
417 * doc/lispref/os.texi (File Notifications): Add kqueue as backend.
418 Fix some glitches in the example.
420 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
422 Finish implementation in kqueue.c
424 * src/kqueue.c (kqueue_directory_listing, kqueue_callback):
425 Simplify access to list.
426 (kqueue_compare_dir_list): Simplify access to list. Raise
427 `delete' event if directory does not exist any longer. Otherwise,
428 wait until directory contents has changed. Fix error in check.
430 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
432 * lisp/filenotify.el (file-notify-add-watch): Fix thinko.
434 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
438 * lisp/filenotify.el (file-notify-callback): Handle also the
439 `rename' event from kqueue.
440 (file-notify-add-watch): Do not register an entry twice.
442 * src/kqueue.c (kqueue_directory_listing): New function.
443 (kqueue_generate_event): New argument FILE1. Adapt callees.
444 (kqueue_compare_dir_list): Rewrite in order to make it more robust.
446 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
448 Implement directory events
450 * lisp/filenotify.el (file-notify-handle-event)
451 (file-notify-callback): Remove traces.
453 * src/kqueue.c: Include <sys/time.h>.
454 (kqueue_generate_event, kqueue_compare_dir_list): New functions.
455 (kqueue_callback): Use them. Call kevent() with a zero timeout.
456 (Fkqueue_add_watch): Adapt docstring. Support directory events.
457 Compute initial directory listing. Close file descriptor in case
459 (syms_of_kqueue): Declare Qcreate.
461 2015-11-25 Wolfgang Jenkner <wjenkner@inode.at>
463 Build fixes for kqueue support
465 * src/kqueue.c (Fkqueue_add_watch): O_BINARY is not a POSIX open(3)
468 * configure.ac (HAVE_KQUEUE): There is no pkg-config module for native
471 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
473 Continue kqueue implementation
475 * lisp/filenotify.el (file-notify-handle-event)
476 (file-notify-callback): Enable trace messages.
478 * src/kqueue.c: Include also <sys/types.h>.
479 (kqueue_callback): Remove watch in case of NOTE_DELETE or NOTE_RENAME.
480 (Fkqueue_rm_watch, Fkqueue_valid_p): New functions.
481 (syms_of_kqueue): Add them.
483 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
487 * lisp/filenotify.el (file-notify--library)
488 (file-notify-descriptors, file-notify-callback)
489 (file-notify-add-watch, file-notify-rm-watch)
490 (file-notify-valid-p): Add kqueue support.
492 * src/keyboard.c (make_lispy_event): Check also for HAVE_KQUEUE.
494 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
498 * configure.ac (--with-file-notification): Add kqueue.
499 (top): Remove special test for "${HAVE_NS}" and
500 ${with_file_notification}, this is handled inside gfilenotify
501 tests. Add kqueue tests. Use NOTIFY_CFLAGS and NOTIFY_LIBS
502 instead of library specific variables.
504 * src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS.
506 * src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue.
508 * src/kqueue.c: New file.
510 * src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.
512 2015-11-24 Phillip Lord <phillip.lord@russet.org.uk>
514 Update elisp-mode-tests for changed file location.
516 * test/lisp/progmodes/elisp-mode-tests.el:
518 2015-11-24 Phillip Lord <phillip.lord@russet.org.uk>
520 Exclude manual tests from Makefile
524 2015-11-24 Phillip Lord <phillip.lord@russet.org.uk>
526 Move package test files to new directory.
528 * test/lisp/emacs-lisp/package-tests.el: Update resoruce file location.
529 * test/data/package: Moved to test/lisp/emacs-lisp/package-resources
531 2015-11-24 Phillip Lord <phillip.lord@russet.org.uk>
533 Restore delete Makefiles and fix .gitignore.
535 * .gitignore: Update Makefiles to changed locations
536 * test/lisp/progmodes/flymake-resources/Makefile,
537 test/manual/etags/Makefile,
538 test/manual/etags/make-src/Makefile,
539 test/manual/indent/Makefile: Restored and moved to new location.
541 2015-11-24 Phillip Lord <phillip.lord@russet.org.uk>
543 Test infrastructure: updates after directory move
545 * (test/Makefile.in): Support directories several levels deep.
546 * (test/data/flymake): Rename to test/lisp/progmodes/flymake-resources.
547 * (test/lisp/progmodes/flymake-tests.el): Support renamed resource directory.
549 2015-11-24 Phillip Lord <phillip.lord@russet.org.uk>
551 Rename all test files to reflect source layout.
553 * CONTRIBUTE,Makefile.in,configure.ac: Update to reflect
554 test directory moves.
555 * test/file-organisation.org: New file.
556 * test/automated/Makefile.in
557 test/automated/data/decompress/foo.gz
558 test/automated/data/epg/pubkey.asc
559 test/automated/data/epg/seckey.asc
560 test/automated/data/files-bug18141.el.gz
561 test/automated/data/flymake/test.c
562 test/automated/data/flymake/test.pl
563 test/automated/data/package/archive-contents
564 test/automated/data/package/key.pub
565 test/automated/data/package/key.sec
566 test/automated/data/package/multi-file-0.2.3.tar
567 test/automated/data/package/multi-file-readme.txt
568 test/automated/data/package/newer-versions/archive-contents
569 test/automated/data/package/newer-versions/new-pkg-1.0.el
570 test/automated/data/package/newer-versions/simple-single-1.4.el
571 test/automated/data/package/package-test-server.py
572 test/automated/data/package/signed/archive-contents
573 test/automated/data/package/signed/archive-contents.sig
574 test/automated/data/package/signed/signed-bad-1.0.el
575 test/automated/data/package/signed/signed-bad-1.0.el.sig
576 test/automated/data/package/signed/signed-good-1.0.el
577 test/automated/data/package/signed/signed-good-1.0.el.sig
578 test/automated/data/package/simple-depend-1.0.el
579 test/automated/data/package/simple-single-1.3.el
580 test/automated/data/package/simple-single-readme.txt
581 test/automated/data/package/simple-two-depend-1.1.el
582 test/automated/abbrev-tests.el
583 test/automated/auto-revert-tests.el
584 test/automated/calc-tests.el
585 test/automated/icalendar-tests.el
586 test/automated/character-fold-tests.el
587 test/automated/comint-testsuite.el
588 test/automated/descr-text-test.el
589 test/automated/electric-tests.el
590 test/automated/cl-generic-tests.el
591 test/automated/cl-lib-tests.el
592 test/automated/eieio-test-methodinvoke.el
593 test/automated/eieio-test-persist.el
594 test/automated/eieio-tests.el
595 test/automated/ert-tests.el
596 test/automated/ert-x-tests.el
597 test/automated/generator-tests.el
598 test/automated/let-alist.el
599 test/automated/map-tests.el
600 test/automated/advice-tests.el
601 test/automated/package-test.el
602 test/automated/pcase-tests.el
603 test/automated/regexp-tests.el
604 test/automated/seq-tests.el
605 test/automated/subr-x-tests.el
606 test/automated/tabulated-list-test.el
607 test/automated/thunk-tests.el
608 test/automated/timer-tests.el
609 test/automated/epg-tests.el
610 test/automated/eshell.el
611 test/automated/faces-tests.el
612 test/automated/file-notify-tests.el
613 test/automated/auth-source-tests.el
614 test/automated/gnus-tests.el
615 test/automated/message-mode-tests.el
616 test/automated/help-fns.el
617 test/automated/imenu-test.el
618 test/automated/info-xref.el
619 test/automated/mule-util.el
620 test/automated/isearch-tests.el
621 test/automated/json-tests.el
622 test/automated/bytecomp-tests.el
623 test/automated/coding-tests.el
624 test/automated/core-elisp-tests.el
625 test/automated/decoder-tests.el
626 test/automated/files.el
627 test/automated/font-parse-tests.el
628 test/automated/lexbind-tests.el
629 test/automated/occur-tests.el
630 test/automated/process-tests.el
631 test/automated/syntax-tests.el
632 test/automated/textprop-tests.el
633 test/automated/undo-tests.el
634 test/automated/man-tests.el
635 test/automated/completion-tests.el
636 test/automated/dbus-tests.el
637 test/automated/newsticker-tests.el
638 test/automated/sasl-scram-rfc-tests.el
639 test/automated/tramp-tests.el
640 test/automated/obarray-tests.el
641 test/automated/compile-tests.el
642 test/automated/elisp-mode-tests.el
643 test/automated/f90.el
644 test/automated/flymake-tests.el
645 test/automated/python-tests.el
646 test/automated/ruby-mode-tests.el
647 test/automated/subword-tests.el
648 test/automated/replace-tests.el
649 test/automated/simple-test.el
650 test/automated/sort-tests.el
651 test/automated/subr-tests.el
652 test/automated/reftex-tests.el
653 test/automated/sgml-mode-tests.el
654 test/automated/tildify-tests.el
655 test/automated/thingatpt.el
656 test/automated/url-future-tests.el
657 test/automated/url-util-tests.el
658 test/automated/add-log-tests.el
659 test/automated/vc-bzr.el
660 test/automated/vc-tests.el
661 test/automated/xml-parse-tests.el
662 test/BidiCharacterTest.txt
664 test/cedet/cedet-utests.el
665 test/cedet/ede-tests.el
666 test/cedet/semantic-ia-utest.el
667 test/cedet/semantic-tests.el
668 test/cedet/semantic-utest-c.el
669 test/cedet/semantic-utest.el
670 test/cedet/srecode-tests.el
671 test/cedet/tests/test.c
672 test/cedet/tests/test.el
673 test/cedet/tests/test.make
674 test/cedet/tests/testdoublens.cpp
675 test/cedet/tests/testdoublens.hpp
676 test/cedet/tests/testfriends.cpp
677 test/cedet/tests/testjavacomp.java
678 test/cedet/tests/testnsp.cpp
679 test/cedet/tests/testpolymorph.cpp
680 test/cedet/tests/testspp.c
681 test/cedet/tests/testsppcomplete.c
682 test/cedet/tests/testsppreplace.c
683 test/cedet/tests/testsppreplaced.c
684 test/cedet/tests/testsubclass.cpp
685 test/cedet/tests/testsubclass.hh
686 test/cedet/tests/testtypedefs.cpp
687 test/cedet/tests/testvarnames.c
688 test/etags/CTAGS.good
689 test/etags/ETAGS.good_1
690 test/etags/ETAGS.good_2
691 test/etags/ETAGS.good_3
692 test/etags/ETAGS.good_4
693 test/etags/ETAGS.good_5
694 test/etags/ETAGS.good_6
695 test/etags/a-src/empty.zz
696 test/etags/a-src/empty.zz.gz
697 test/etags/ada-src/2ataspri.adb
698 test/etags/ada-src/2ataspri.ads
699 test/etags/ada-src/etags-test-for.ada
700 test/etags/ada-src/waroquiers.ada
701 test/etags/c-src/a/b/b.c
702 test/etags/c-src/abbrev.c
704 test/etags/c-src/dostorture.c
705 test/etags/c-src/emacs/src/gmalloc.c
706 test/etags/c-src/emacs/src/keyboard.c
707 test/etags/c-src/emacs/src/lisp.h
708 test/etags/c-src/emacs/src/regex.h
709 test/etags/c-src/etags.c
710 test/etags/c-src/exit.c
711 test/etags/c-src/exit.strange_suffix
712 test/etags/c-src/fail.c
713 test/etags/c-src/getopt.h
715 test/etags/c-src/machsyscalls.c
716 test/etags/c-src/machsyscalls.h
717 test/etags/c-src/sysdep.h
718 test/etags/c-src/tab.c
719 test/etags/c-src/torture.c
720 test/etags/cp-src/MDiagArray2.h
721 test/etags/cp-src/Range.h
722 test/etags/cp-src/burton.cpp
723 test/etags/cp-src/c.C
724 test/etags/cp-src/clheir.cpp.gz
725 test/etags/cp-src/clheir.hpp
726 test/etags/cp-src/conway.cpp
727 test/etags/cp-src/conway.hpp
728 test/etags/cp-src/fail.C
729 test/etags/cp-src/functions.cpp
730 test/etags/cp-src/screen.cpp
731 test/etags/cp-src/screen.hpp
732 test/etags/cp-src/x.cc
733 test/etags/el-src/TAGTEST.EL
734 test/etags/el-src/emacs/lisp/progmodes/etags.el
735 test/etags/erl-src/gs_dialog.erl
736 test/etags/f-src/entry.for
737 test/etags/f-src/entry.strange.gz
738 test/etags/f-src/entry.strange_suffix
739 test/etags/forth-src/test-forth.fth
740 test/etags/html-src/algrthms.html
741 test/etags/html-src/index.shtml
742 test/etags/html-src/software.html
743 test/etags/html-src/softwarelibero.html
744 test/etags/lua-src/allegro.lua
745 test/etags/objc-src/PackInsp.h
746 test/etags/objc-src/PackInsp.m
747 test/etags/objc-src/Subprocess.h
748 test/etags/objc-src/Subprocess.m
749 test/etags/objcpp-src/SimpleCalc.H
750 test/etags/objcpp-src/SimpleCalc.M
751 test/etags/pas-src/common.pas
752 test/etags/perl-src/htlmify-cystic
753 test/etags/perl-src/kai-test.pl
754 test/etags/perl-src/yagrip.pl
755 test/etags/php-src/lce_functions.php
756 test/etags/php-src/ptest.php
757 test/etags/php-src/sendmail.php
758 test/etags/prol-src/natded.prolog
759 test/etags/prol-src/ordsets.prolog
760 test/etags/ps-src/rfc1245.ps
761 test/etags/pyt-src/server.py
762 test/etags/tex-src/gzip.texi
763 test/etags/tex-src/nonewline.tex
764 test/etags/tex-src/testenv.tex
765 test/etags/tex-src/texinfo.tex
766 test/etags/y-src/atest.y
767 test/etags/y-src/cccp.c
768 test/etags/y-src/cccp.y
769 test/etags/y-src/parse.c
770 test/etags/y-src/parse.y
771 test/indent/css-mode.css
772 test/indent/js-indent-init-dynamic.js
773 test/indent/js-indent-init-t.js
774 test/indent/js-jsx.js
776 test/indent/latex-mode.tex
777 test/indent/modula2.mod
780 test/indent/pascal.pas
781 test/indent/perl.perl
782 test/indent/prolog.prolog
783 test/indent/ps-mode.ps
785 test/indent/scheme.scm
786 test/indent/scss-mode.scss
787 test/indent/sgml-mode-attribute.html
790 test/redisplay-testsuite.el
792 test/automated/buffer-tests.el
793 test/automated/cmds-tests.el
794 test/automated/data-tests.el
795 test/automated/finalizer-tests.el
796 test/automated/fns-tests.el
797 test/automated/inotify-test.el
798 test/automated/keymap-tests.el
799 test/automated/print-tests.el
800 test/automated/libxml-tests.el
801 test/automated/zlib-tests.el: Files Moved.
803 2015-11-20 Michael Albinus <michael.albinus@gmx.de>
805 Rework file notifications, kqueue has problems with directory monitors
807 * lisp/filenotify.el (file-notify-add-watch): Call the native
808 add-watch function on the file, not on the dir.
810 * src/kqueue.c (kqueue_compare_dir_list): Make also bookkeeping
811 about already deleted entries.
813 * test/automated/auto-revert-tests.el
814 (auto-revert-test01-auto-revert-several-files): Do not call "cp -f"
815 since this deletes the target file first.
817 * test/automated/file-notify-tests.el (file-notify--test-event-test):
818 Make stronger checks.
819 (file-notify-test01-add-watch, file-notify-test02-events)
820 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
821 Rewrite in order to call file monitors but directory monitors.
822 (file-notify-test06-many-events): Ler rename work in both directions.
824 2015-11-19 Michael Albinus <michael.albinus@gmx.de>
826 Continie with pending events
828 * src/kqueue.c (pending_events): Remove global variable.
829 (kqueue_compare_dir_list): Create `write' event for not used
831 (globals_of_kqueue): Remove initialization of pending_events.
833 2015-11-19 Michael Albinus <michael.albinus@gmx.de>
835 Improve loops in file-notify-test06-many-events
837 * test/automated/file-notify-tests.el (file-notify-test06-many-events):
838 Use `read-event' pauses for the `write-file' loops; otherwise
839 events are lost in inotify and gfilenotify cases.
841 2015-11-19 Michael Albinus <michael.albinus@gmx.de>
843 Handle more complex rename operation in kqueue
845 * src/kqueue.c (pending_events): New variable.
846 (kqueue_compare_dir_list): Handle more complex rename operation.
847 (globals_of_kqueue): Initialize pending_events.
849 * test/automated/file-notify-tests.el (file-notify-test06-many-events):
850 Adapt expected events in the `rename-file' case.
851 (file-notify-test06-many-events-remote): Declare.
853 2015-11-18 Wolfgang Jenkner <wjenkner@inode.at>
855 New test with a larger number of events.
857 * test/automated/file-notify-tests.el (file-notify--test-with-events):
858 Make timeout heuristically depend on the number of events.
860 (file-notify-test06-many-events): Use it for new test.
862 2015-11-18 Michael Albinus <michael.albinus@gmx.de>
864 Further fixes for kqueue.
866 * lisp/filenotify.el (file-notify-callback): Raise also event if
867 directory name matches.
868 (file-notify-add-watch): Add `create' to the flags for `kqueue'.
870 * src/kqueue.c (kqueue_generate_event): Use watch_object as
871 argument instead of ident. Remove callback argument. Adapt
872 callees. Check actions whether they are monitored flags.
874 * test/automated/file-notify-tests.el (file-notify--test-library):
876 (file-notify-test00-availability, file-notify-test02-events)
877 (file-notify-test04-file-validity)
878 (file-notify-test05-dir-validity): Use it.
879 (file-notify-test02-events, file-notify-test04-file-validity): Add
880 `read-event' calls between different file actions, in order to
881 give the backends a chance to rais an event. Needed especially
882 for kqueue. In case of deleting a directory, there are two
885 2015-11-17 Michael Albinus <michael.albinus@gmx.de>
887 Code cleanup of kqueue.c
889 * src/kqueue.c (kqueue_directory_listing): Skip "." and "..".
890 (kqueue_compare_dir_list): Do not loop when calling
891 directory_files_internal. Remove checks for "." and "..", this is
892 done in kqueue_directory_listing now.
893 (Fkqueue_add_watch): Check for proper emacs_open flags.
895 2015-11-16 Michael Albinus <michael.albinus@gmx.de>
897 Doc changes for kqueue
899 * doc/lispref/os.texi (File Notifications): Add kqueue as backend.
900 Fix some glitches in the example.
902 2015-11-16 Michael Albinus <michael.albinus@gmx.de>
904 Finish implementation in kqueue.c
906 * src/kqueue.c (kqueue_directory_listing, kqueue_callback):
907 Simplify access to list.
908 (kqueue_compare_dir_list): Simplify access to list. Raise
909 `delete' event if directory does not exist any longer. Otherwise,
910 wait until directory contents has changed. Fix error in check.
912 2015-11-16 Michael Albinus <michael.albinus@gmx.de>
914 * lisp/filenotify.el (file-notify-add-watch): Fix thinko.
916 2015-11-15 Michael Albinus <michael.albinus@gmx.de>
920 * lisp/filenotify.el (file-notify-callback): Handle also the
921 `rename' event from kqueue.
922 (file-notify-add-watch): Do not register an entry twice.
924 * src/kqueue.c (kqueue_directory_listing): New function.
925 (kqueue_generate_event): New argument FILE1. Adapt callees.
926 (kqueue_compare_dir_list): Rewrite in order to make it more robust.
928 2015-11-14 Michael Albinus <michael.albinus@gmx.de>
930 Implement directory events
932 * lisp/filenotify.el (file-notify-handle-event)
933 (file-notify-callback): Remove traces.
935 * src/kqueue.c: Include <sys/time.h>.
936 (kqueue_generate_event, kqueue_compare_dir_list): New functions.
937 (kqueue_callback): Use them. Call kevent() with a zero timeout.
938 (Fkqueue_add_watch): Adapt docstring. Support directory events.
939 Compute initial directory listing. Close file descriptor in case
941 (syms_of_kqueue): Declare Qcreate.
943 2015-11-11 Wolfgang Jenkner <wjenkner@inode.at>
945 Build fixes for kqueue support.
947 * src/kqueue.c (Fkqueue_add_watch): O_BINARY is not a POSIX open(3)
950 * configure.ac (HAVE_KQUEUE): There is no pkg-config module for native
953 2015-11-11 Michael Albinus <michael.albinus@gmx.de>
955 Continue kqueue implementation
957 * lisp/filenotify.el (file-notify-handle-event)
958 (file-notify-callback): Enable trace messages.
960 * src/kqueue.c: Include also <sys/types.h>.
961 (kqueue_callback): Remove watch in case of NOTE_DELETE or NOTE_RENAME.
962 (Fkqueue_rm_watch, Fkqueue_valid_p): New functions.
963 (syms_of_kqueue): Add them.
965 2015-11-11 Michael Albinus <michael.albinus@gmx.de>
969 * lisp/filenotify.el (file-notify--library)
970 (file-notify-descriptors, file-notify-callback)
971 (file-notify-add-watch, file-notify-rm-watch)
972 (file-notify-valid-p): Add kqueue support.
974 * src/keyboard.c (make_lispy_event): Check also for HAVE_KQUEUE.
976 2015-11-11 Michael Albinus <michael.albinus@gmx.de>
980 * configure.ac (--with-file-notification): Add kqueue.
981 (top): Remove special test for "${HAVE_NS}" and
982 ${with_file_notification}, this is handled inside gfilenotify
983 tests. Add kqueue tests. Use NOTIFY_CFLAGS and NOTIFY_LIBS
984 instead of library specific variables.
986 * src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS.
988 * src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue.
990 * src/kqueue.c: New file.
992 * src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.
994 2015-11-21 Wilson Snyder <wsnyder@wsnyder.org>
996 verilog-mode.el: Commentary and fix pre-Emacs 21 behavior.
998 * verilog-mode.el (verilog-save-font-no-change-functions):
999 Commentary and fix pre-Emacs 21 behavior.
1001 2015-11-19 Przemysław Wojnowski <esperanto@cumego.com>
1003 Use obarray functions from obarray.
1005 * lisp/abbrev.el (copy-abbrev-table, abbrev-table-p, make-abbrev-table,
1006 abbrev-table-get, abbrev-table-put, abbrev-table-empty-p,
1007 clear-abbrev-table, define-abbrev, abbrev--symbol, abbrev-table-menu):
1008 delegate to obarray.el functions.
1009 * lisp/loadup.el: load obarray before abbrev
1010 * test/automated/abbrev-tests.el: new tests
1012 2015-11-18 Christian Schwarzgruber <c.schwarzgruber.cs@gmail.com> (tiny change)
1014 epa.el: Add option to replace original text
1016 * lisp/epa.el (epa-replace-original-text): New user option.
1019 2015-11-18 Mark Oteiza <mvoteiza@udel.edu>
1021 Add interactive seek command.
1023 * lisp/mpc.el (mpc-cmd-seekcur): New function.
1024 (mpc-seek-current): New command.
1025 (mpc-mode-menu): Add entry for mpc-seek-current
1026 (mpc-mode-map): Bind mpc-seek-current to "g"
1028 2015-11-18 Mark Oteiza <mvoteiza@udel.edu>
1030 Fix issue where a new tempfile was created every refresh
1032 * lisp/mpc.el (mpc-format): Leave dir as relative path
1034 2015-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1036 * lisp/progmodes/cc-defs.el: Use with-silent-modifications
1038 (c-save-buffer-state): Use with-silent-modifications when available.
1039 (c--macroexpand-all): Check macroexpand-all directly rather than
1042 2015-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1044 * lisp/loadup.el: Set max-lisp-eval-depth here
1046 * lisp/Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS): Remove.
1047 (BYTE_COMPILE_FLAGS): Adjust accordingly.
1049 2015-11-17 João Távora <joaotavora@gmail.com>
1051 Minor fix to comment indentation and typo in last commit
1053 * linum.el (linum-update-window): Fix comment indentation and a
1056 2015-11-17 João Távora <joaotavora@gmail.com>
1058 linum-mode plays more nicely with other margin-setting extensions
1060 linum.el will only modify the left margin if it needs to, and will
1061 only reset the it back to 0 if it guesses that no-one has touched that
1062 margin in the meantime.
1064 As such, this is a more of a workaround than an actual fix, but fixes
1065 the problems described in bug#20674 regarding the interaction with
1066 modes such as darkroom-mode and olivetti-mode.
1068 A similar fix was commited to nlinum.el in ELPA.git's
1069 e7f5f549fbfb740b911fb7f33b42381ecece56d8
1071 * linum.el (linum-delete-overlays): Restore margins more
1073 (linum-update-window): Set margins more criteriously.
1075 2015-11-16 Daiki Ueno <ueno@gnu.org>
1077 * lisp/image-mode.el: Support encrypted file
1079 (image-toggle-display-image): Read content from the buffer instead
1080 of the file, if the buffer holds a decrypted data. (Bug#21870)
1082 2015-11-15 Juanma Barranquero <lekktu@gmail.com>
1084 * lisp/progmodes/verilog-mode.el (verilog-save-buffer-state): Add backquote
1086 2015-11-15 Artur Malabarba <bruce.connor.am@gmail.com>
1088 * lisp/emacs-lisp/package.el: Fix a decoding issue
1090 (package--with-response-buffer): Use `url-insert-buffer-contents'.
1091 The previous code had some issues with decoding. Refactoring that
1092 function allows us to use the decoding from url-handlers while still
1093 treating both sync and async requests the same.
1095 * lisp/url/url-handlers.el (url-insert-file-contents): Move some code to
1096 `url-insert-buffer-contents'.
1097 (url-insert-buffer-contents): New function
1099 2015-11-15 Artur Malabarba <bruce.connor.am@gmail.com>
1101 * lisp/emacs-lisp/package.el: Refactor -with-work-buffer-async
1103 (package--with-work-buffer-async): Reimplement as
1104 `package--with-response-buffer'.
1105 (package--with-work-buffer): Mark obsolete.
1106 (package--with-response-buffer): New macro. This is a more self
1107 contained and less contrived version of
1108 `package--with-work-buffer-async'. It uses keyword arguments,
1109 doesn't have async on the name, doesn't fallback on
1110 `package--with-work-buffer', and has _much_ simpler error
1113 (package--check-signature, package--download-one-archive)
1114 (package-install-from-archive, describe-package-1): Use it.
1116 (package--download-and-read-archives): Let
1117 `package--download-one-archive' take care of calling
1118 `package--update-downloads-in-progress'.
1120 2015-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1122 * lisp/progmodes/verilog-mode.el: Use with-silent-modifications
1124 (verilog-save-buffer-state): Use with-silent-modifications when available.
1125 (verilog-save-font-no-change-functions): Don't bind
1126 before/after-change-functions if it's not needed.
1128 2015-11-14 Xue Fuqiao <xfq.free@gmail.com>
1130 * CONTRIBUTE: Remove information about feature freeze.
1132 Merge branch 'release-process-lowercase'
1134 2015-11-14 Xue Fuqiao <xfq.free@gmail.com>
1136 Document the release process
1138 * admin/notes/versioning: Add information about RC releases.
1139 * admin/release-process: Document the release process.
1140 * admin/authors.el (authors-ignored-files):
1141 * admin/README: Change FOR-RELEASE to release-process.
1143 * admin/notes/bugtracker: Don't mention FOR-RELEASE.
1145 2015-11-14 Xue Fuqiao <xfq.free@gmail.com>
1147 * admin/release-process: Rename from admin/FOR-RELEASE.
1149 2015-11-14 David Engster <deng@randomsample.de>
1151 gitmerge: Fix git log command
1153 * admin/gitmerge.el (gitmerge-missing): Use '--left-only' since we
1154 only want commits from the branch that is to be merged.
1155 (gitmerge-setup-log-buffer): Use the same symmetric range as in
1158 2015-11-14 David Engster <deng@randomsample.de>
1160 gitmerge: Try to detect cherry-picks
1162 * admin/gitmerge.el (gitmerge-default-branch): Change to
1164 (gitmerge-missing): Use symmetric difference ('...') between
1165 branch and master so that cherry-picks can be detected.
1167 2015-11-14 Eli Zaretskii <eliz@gnu.org>
1169 Increment Emacs version on master branch
1171 * lisp/cus-edit.el (customize-changed-options-previous-release):
1172 Increase previous version to 24.5.
1175 * msdos/sed2v2.inp: Bump version to 25.1.50.
1177 2015-11-14 Xue Fuqiao <xfq.free@gmail.com>
1179 Mention CONTRIBUTE in README, since it was moved from etc/ to root.
1180 * etc/TODO: Remove the reference to `etc/CONTRIBUTE'.
1181 * README: Mention CONTRIBUTE.
1183 2015-11-13 Wilson Snyder <wsnyder@wsnyder.org>
1185 Update verilog-mode.el to 2015-11-09-b121d60-vpo
1187 * verilog-mode.el (verilog-auto, verilog-delete-auto)
1188 (verilog-modi-cache-results, verilog-save-buffer-state)
1189 (verilog-save-font-no-change-functions): When internally suppressing
1190 change functions, use `inhibit-modification-hooks' and call
1191 `after-change-funtions' to more nicely work with user hooks.
1192 Reported by Stefan Monnier.
1193 (verilog-auto, verilog-delete-auto, verilog-delete-auto-buffer):
1194 Create `verilog-delete-auto-buffer' to avoid double-calling
1195 fontification hooks.
1196 (verilog-restore-buffer-modified-p, verilog-auto)
1197 (verilog-save-buffer-state): Prefer restore-buffer-modified-p over
1198 set-buffer-modified-p. Reported by Stefan Monnier.
1199 (verilog-diff-auto, verilog-diff-buffers-p)
1200 (verilog-diff-ignore-regexp): Add `verilog-diff-ignore-regexp'.
1201 (verilog-auto-inst-port, verilog-read-sub-decls-expr): Fix
1202 AUTOINST with unpacked dimensional parameters, bug981. Reported by
1204 (verilog-read-decls, verilog-read-sub-decls-line): Avoid unneeded
1205 properties inside internal structures. No functional change
1208 2015-11-13 Dmitry Gutov <dgutov@yandex.ru>
1210 Use generic dispatch for xref backends
1212 * lisp/progmodes/xref.el (xref-backend-functions):
1214 (xref-find-function): Remove.
1216 (xref--etags-backend): New functions.
1217 (xref-identifier-at-point-function)
1218 (xref-identifier-completion-table-function): Remove.
1219 (xref-backend-definitions, xref-backend-references)
1220 (xref-backend-apropos, xref-backend-identifier-at-point)
1221 (xref-backend-identifier-completion-table):
1222 New generic functions.
1224 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
1225 Add `elisp--xref-backend' to the beginning of
1226 `xref-backend-functions', locally. Delete references to
1227 removed functions and vars.
1228 (elisp-xref-find): Remove.
1229 (elisp--xref-backend): New function.
1230 (elisp--xref-find-references, elisp--xref-find-apropos)
1231 (elisp--xref-identifier-completion-table):
1232 Turn into appropriately named generic methods.
1234 * lisp/progmodes/etags.el (etags-xref-find): Remove.
1235 (xref-backend-identifier-completion-table)
1236 (xref-backend-references, xref-backend-definitions)
1237 (xref-backend-apropos): New generic methods.
1239 2015-11-13 Juri Linkov <juri@linkov.net>
1241 Support rectangular regions for more commands
1243 * lisp/simple.el (region-extract-function): Handle the arg
1245 (region-insert-function): New function.
1246 (shell-command-on-region): Add arg ‘region-noncontiguous-p’.
1247 If non-nil, operate on multiple chunks.
1248 (region-noncontiguous-p): New function.
1250 * lisp/rect.el: Add function rectangle--insert-region
1251 around region-insert-function.
1252 (extract-rectangle-bounds): New function.
1253 (rectangle--extract-region): Handle the arg value ‘bounds’.
1254 (rectangle--insert-region): New function.
1256 * lisp/emulation/cua-rect.el: Add function cua--insert-rectangle
1257 around region-insert-function.
1258 (cua--extract-rectangle-bounds): New function.
1259 (cua--rectangle-region-extract): Handle the arg value ‘bounds’.
1261 * lisp/replace.el (query-replace, query-replace-regexp): Add arg
1262 ‘region-noncontiguous-p’. Use ‘use-region-p’.
1263 (query-replace-regexp-eval, map-query-replace-regexp)
1264 (replace-string, replace-regexp): Use ‘use-region-p’.
1265 (keep-lines, flush-lines, how-many): Use ‘use-region-p’.
1266 (perform-replace): Add arg ‘region-noncontiguous-p’.
1267 If non-nil, operate on multiple chunks.
1269 * src/casefiddle.c (Fdowncase_region): Add arg ‘region-noncontiguous-p’.
1270 If non-nil, operate on multiple chunks. (Bug#19829)
1272 2015-11-13 Dmitry Gutov <dgutov@yandex.ru>
1274 Handle multiple matches on the same line; add highlighting
1276 * lisp/progmodes/xref.el (xref-location-marker): Interpret the
1277 column value in characters.
1278 (xref--collect-matches): Rename from `xref--collect-match'.
1279 Search for all matches in the hit line. Add `highlight' face to
1280 the matched region in the summary. Update both callers.
1282 2015-11-13 Dmitry Gutov <dgutov@yandex.ru>
1284 Replace xref-match-bounds with xref-match-length
1286 Relying on xref-location-marker to point to the beginning of the match
1288 * lisp/progmodes/xref.el (xref-match-bounds): Remove.
1289 (xref-match-length): Add.
1290 (xref-make-match): Change the arguments.
1291 (xref--match-buffer-bounds): Remove.
1292 (xref-match-item): Store length, instead of end-column.
1293 (xref-pulse-momentarily)
1294 (xref--collect-match)
1295 (xref--query-replace-1): Update accordingly.
1296 (xref-query-replace): Ditto. And check that the search results
1299 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
1304 2015-11-13 xalloc-oversized: improve performance with GCC 5
1305 * lib/xalloc-oversized.h: Copy from gnulib.
1307 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
1309 Spruce up ftfont.c memory allocation
1311 * src/ftfont.c (setup_otf_gstring):
1312 Avoid O(N**2) behavior when reallocating.
1313 (ftfont_shape_by_flt): Prefer xpalloc to xrealloc when
1314 reallocating buffers; this simplifies the code. Do not trust
1315 mflt_run to leave the output areas unchanged on failure, as
1316 this isn’t part of its interface spec.
1318 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
1320 Port recent XCB changes to 64-bit ‘long int’
1322 For historical reasons, libX11 represents 32-bit values like Atoms as
1323 ‘long int’ even on platforms where ‘long int’ is 64 bits. XCB doesn’t
1324 do that, so adapt the recent XCB code to behave properly on 64-bit
1325 platforms. Also, fix what appears to be a bug in the interpretation
1326 of xcb_get_property_value_length, at least on my Fedora platform
1327 which is running libxcb-1.11-5.fc21.
1328 * src/xfns.c (x_real_pos_and_offsets):
1329 * src/xterm.c (get_current_wm_state):
1330 xcb_get_property_value_length returns a byte count, not a word count.
1331 For 32-bit quantities, xcb_get_property_value returns a vector
1332 of 32-bit words, not of (possibly 64-bit) long int.
1334 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
1336 * src/undo.c (run_undoable_change): Now static.
1338 2015-11-13 Eli Zaretskii <eliz@gnu.org>
1340 Remove support for ':timeout' from w32 tray notifications
1342 * src/w32fns.c (Fw32_notification_notify): Delete the code that
1343 supports ':timeout'.
1344 (syms_of_w32fns): Don't DEFSYM ':timeout'. This avoids clashes
1345 with dbusbind.c when D-Bus is compiled in.
1347 * doc/lispref/os.texi (Desktop Notifications): Don't mention
1350 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
1352 * test/automated/simple-test.el: Add test for bug#20698 (bug#21885)
1353 (simple-test--transpositions): New macro.
1354 (simple-transpose-subr): New test.
1356 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
1358 * lisp/progmodes/elisp-mode.el: Declare function `project-roots'
1360 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
1362 * src/undo.c: Small fixes for previous change
1363 (run_undoable_change): Mark void argument list.
1364 (record_property_change): Remove unused variable `boundary'.
1366 2015-11-13 Eli Zaretskii <eliz@gnu.org>
1368 Add a few more variables to redisplay--variables
1370 * lisp/frame.el (redisplay--variables): Add bidi-paragraph-direction
1371 and bidi-display-reordering to the list.
1373 2015-11-13 Eli Zaretskii <eliz@gnu.org>
1375 * lisp/loadup.el: Enlarge the size of the hash table to 80000.
1377 2015-11-13 Eli Barzilay <eli@barzilay.org>
1379 Fix point positioning after transposing with negative arg
1381 * lisp/simple.el (transpose-subr): When invoked with a negative
1382 argument, move point to after the transposed text, like we do
1383 when invoked with a positive argument. (Bug#21885)
1385 2015-11-13 Eli Zaretskii <eliz@gnu.org>
1387 Fix last change in shr.el
1389 * lisp/net/shr.el (shr--have-one-fringe-p): Rename from
1390 have-fringes-p. All callers changed. Doc fix. (Bug#21895)
1392 2015-11-13 Eli Zaretskii <eliz@gnu.org>
1396 * src/w32fns.c (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]:
1397 Don't DEFSYM tray notification symbols if D-Bus is being used.
1399 2015-11-13 Eli Zaretskii <eliz@gnu.org>
1401 Another fix for MinGW64 and Cygwin builds due to notifications
1403 * src/w32fns.c: Ifdef away tray notification code if D-Bus is
1404 being compiled into Emacs.
1405 (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]: Don't defsubr
1406 Sw32_notification_notify and Sw32_notification_close if the code
1407 is not compiled. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1409 2015-11-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1411 Remove intern calls and XXX comments from Fx_export_frames
1413 * src/xfns.c (Fx_export_frames): Use Qpdf, Qpng, Qpostscript, and
1414 Qsvg instead of intern calls. Use "postscript" instead of "ps"
1415 for consistency with image types. Remove XXX comments.
1416 (syms_of_xfns) <Qpdf>: DEFSYM it.
1418 2015-11-12 Eric Hanchrow <eric.hanchrow@gmail.com>
1420 shr: don't invoke unbound function (Bug#21895)
1422 * lisp/net/shr.el (have-fringes-p): New function.
1423 (shr-insert-document, shr-fill-text): Use it.
1425 2015-11-12 Juanma Barranquero <lekktu@gmail.com>
1427 * test/automated/keymaps-test.el: Fix test to make it repeatable
1429 (keymap-store_in_keymap-FASTINT-on-nonchars): Reset Buffer-menu-mode-map
1430 entry to its initial value to make the test repeatable in interactive
1431 sessions (assuming it doesn't fail and crashes Emacs, of course).
1433 2015-11-12 Artur Malabarba <bruce.connor.am@gmail.com>
1435 * test/automated/cl-lib-tests.el (cl-lib-struct-constructors):
1438 2015-11-12 Phillip Lord <phillip.lord@newcastle.ac.uk>
1440 The heuristic that Emacs uses to add an `undo-boundary' has been
1441 reworked, as it interacts poorly with functions on `post-command-hook'
1442 or `after-change-functions'.
1444 * lisp/simple.el: New section added.
1445 * src/cmds.c (remove_excessive_undo_boundaries): Now in lisp.
1446 (self_insert_command): Calls simple.el to amalgamate.
1447 (delete_char): Calls simple.el to amalgamate.
1448 * src/keyboard.c (last_undo_boundary): Removed.
1449 * src/undo.c (run_undoable_change): New function.
1451 2015-11-12 Juri Linkov <juri@linkov.net>
1453 Bind [?\S-\ ] to previous line command in Dired-like modes
1455 * lisp/arc-mode.el (archive-mode-map):
1456 * lisp/dired.el (dired-mode-map):
1457 * lisp/proced.el (proced-mode-map):
1458 * lisp/vc/vc-dir.el (vc-dir-mode-map):
1459 Bind [?\S-\ ] to previous line command.
1462 2015-11-12 Eli Zaretskii <eliz@gnu.org>
1464 Fix the MinGW64 and Cygwin-w32 builds
1466 * src/w32fns.c (MYNOTIFYICONDATAW_V1_SIZE)
1467 (MYNOTIFYICONDATAW_V2_SIZE, MYNOTIFYICONDATAW_V3_SIZE): Define and
1468 use instead of the corresponding NOTIFYICONDATAW_Vn_SIZE macros,
1469 which cause trouble with MinGW42 headers. Ifdef away tray
1470 notifications code for Cygwin. Reported by Andy Moreton
1471 <andrewjmoreton@gmail.com>.
1473 2015-11-12 Simen Heggestøyl <simenheg@gmail.com>
1475 Enable sorting of JSON object keys when encoding
1477 * lisp/json.el (json-encoding-object-sort-predicate): New variable
1478 for specifying a sorting predicate for JSON objects during encoding.
1479 (json--plist-to-alist): New utility function.
1480 (json-encode-hash-table): Re-use `json-encode-alist' when object keys
1482 (json-encode-alist): Sort output by
1483 `json-encoding-object-sort-predicate, when set.
1484 (json-encode-plist): Re-use `json-encode-alist' when object keys are
1486 (json-pretty-print-buffer-ordered): New command to pretty print the
1487 buffer with object keys sorted alphabetically.
1488 (json-pretty-print-ordered): New command to pretty print the region
1489 with object keys sorted alphabetically.
1491 * test/automated/json-tests.el (test-json-plist-to-alist)
1492 (test-json-encode-plist, test-json-encode-hash-table)
1493 (test-json-encode-alist-with-sort-predicate)
1494 (test-json-encode-plist-with-sort-predicate): New tests.
1496 * etc/NEWS: Add an entry for the new commands.
1498 2015-11-12 Juanma Barranquero <lekktu@gmail.com>
1500 * test/automated/keymap-tests.el: New test file.
1502 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
1504 Speed up x_real_pos_and_offsets using XCB
1506 * src/xfns.c (x_real_pos_and_offsets) [USE_XCB]: Add XCB flavors of
1507 all X calls, and pipeline requests when possible, collecting results
1508 later. Eliminate use of x_catch_errors (and thus XSync) in XCB case.
1510 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
1512 Enable use of XCB for checking window manager state
1514 * src/xterm.c (get_current_wm_state) [USE_XCB]: Use XCB calls instead
1515 of XGetWindowProperty plus error-catching, since we can explicitly
1516 check for errors in the XCB version. This eliminates 3 XSync calls on
1517 top of the round-trip actually fetching the information.
1519 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
1521 Detect XCB and save a connection handle
1523 * configure.ac: If using X11, check for XCB libraries and header.
1524 * src/Makefile.in (XCB_LIBS): Define.
1525 (LIBX_EXTRA): Include it.
1527 * src/xterm.h [USE_XCB]: Include X11/Xlib-xcb.h.
1528 (struct x_display_info) [USE_XCB]: Add an XCB connection handle field.
1529 * src/xterm.c (x_term_init) [USE_XCB]: Initialize the new field.
1531 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
1533 Reduce some data dependencies between X calls
1535 Gains nothing in the traditional-Xlib code, but more closely aligns
1536 with how the XCB version will work.
1538 * src/xfns.c (x_real_pos_and_offsets): When translating coordinates,
1539 send coordinates (0,0) to the X server and add in the real coordinates
1540 after getting the response. Move XGetGeometry for outer window inside
1541 error-trapping block. Use DPY variable more, since it's available.
1543 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
1545 Use color cache for creating bitmap
1547 * src/image.c (x_create_bitmap_from_xpm_data) [ALLOC_XPM_COLORS]:
1548 Set attributes to use the caching color allocator. Initialize and
1551 2015-11-12 Eli Barzilay <eli@barzilay.org>
1553 Add "^" to the interactive specs of `dired-next/previous-line'
1555 * lisp/dired.el (dired-next-line, dired-previous-line): It makes sense
1556 to bind these commands to the arrow keys, and that means that they work
1557 better with a "^" in the `interactive' declaration so selection works
1560 2015-11-11 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1562 Sync with soap-client repository, version 3.0.2
1564 * soap-client.el: Bump version to 3.0.2.
1566 * soap-client.el (soap-warning): Use format, not format-message.
1568 * soap-client.el: Add cl-lib to Package-Requires. Require cl-lib.
1569 (soap-validate-xs-simple-type): Use cl-labels instead of cl-flet.
1571 * soap-client.el: Support Emacs versions that do not have
1574 * soap-inspect.el: Remove version header.
1576 * soap-client.el, soap-inspect.el, jira2.el: Fix first line header
1579 2015-11-11 Alan Mackenzie <acm@muc.de>
1581 CC Mode: Respect users' settings of open-paren-in-column-0-is-defun-start
1583 * lisp/progmodes/cc-engine.el (c-backward-single-comment)
1584 (c-backward-comments, c-invalidate-state-cache-1, c-parse-state-1)
1585 (c-guess-basic-syntax):
1586 Remove bindings of open-paren-in-column-0-is-defun-start to nil.
1587 (c-get-fallback-scan-pos): "New" function (existed several years ago).
1588 (c-parse-state-get-strategy): Reintroduce the 'BOD strategy, using
1589 c-get-fallback-scan-pos.
1590 (c-parse-state-1): Handle 'BOD strategy.
1592 * lisp/progmodes/cc-mode.el (c-before-change, c-after-change)
1593 (c-font-lock-fontify-region): Remove bindings of
1594 open-paren-in-column-0-is-defun-start to nil.
1596 * doc/misc/cc-mode.texi (Performance Issues)
1597 (Limitations and Known Bugs): Fix mix up between @chapter and @appendix.
1599 2015-11-11 Artur Malabarba <bruce.connor.am@gmail.com>
1601 * lisp/obarray.el: Fix shadowed variables.
1602 (obarray-map, obarray-remove, obarray-put, obarray-get):
1603 Change OBARRAY arg to OB to avoid shadowing ‘obarray’.
1605 2015-11-11 Eli Zaretskii <eliz@gnu.org>
1607 Avoid error in submitting a form with EWW
1609 * lisp/gnus/mm-url.el (mm-url-form-encode-xwfu): Allow argument
1610 CHUNK to be nil. (Bug#21881)
1612 2015-11-11 Nicolas Petton <nicolas@petton.fr>
1614 Rename seq-p and map-p to seqp and mapp
1616 * lisp/emacs-lisp/seq.el (seqp): New name.
1617 * lisp/emacs-lisp/map.el (mapp): New name.
1618 * doc/lispref/sequences.texi: Update the documentation for seqp.
1619 * test/automated/map-tests.el: Update the tests for mapp.
1621 2015-11-11 Nicolas Petton <nicolas@petton.fr>
1623 Rename obarray-p to obarrayp
1625 * lisp/obarray.el (obarrayp): New name.
1626 * test/automated/obarray-tests.el: Update the tests.
1628 2015-11-11 Nicolas Petton <nicolas@petton.fr>
1630 Rename obarray-foreach to obarray-map
1632 * lisp/obarray.el (obarray-map): New name.
1633 * test/automated/obarray-tests.el: Update the corresponding tests.
1635 2015-11-11 Przemysław Wojnowski <esperanto@cumego.com>
1637 New file with obarray functions
1639 * lisp/obarray.el: Basic obarray functions extracted from abbrev.el.
1640 * test/automated/obarray-tests.el: New file.
1642 2015-11-11 Eli Zaretskii <eliz@gnu.org>
1644 Implement tray notifications for MS-Windows
1646 * src/w32fns.c (MY_NOTIFYICONDATAW): New typedef.
1647 (NOTIFYICONDATAW_V1_SIZE, NOTIFYICONDATAW_V2_SIZE)
1648 (NOTIFYICONDATAW_V3_SIZE, NIF_INFO, NIIF_NONE, NIIF_INFO)
1649 (NIIF_WARNING, NIIF_ERROR, EMACS_TRAY_NOTIFICATION_ID)
1650 (EMACS_NOTIFICATION_MSG): New macros.
1651 (NI_Severity): New enumeration.
1652 (get_dll_version, utf8_mbslen_lim, add_tray_notification)
1653 (delete_tray_notification, Fw32_notification_notify)
1654 (Fw32_notification_close): New functions.
1655 (syms_of_w32fns): Defsubr functions exposed to Lisp. DEFSYM
1656 keywords used by w32-notification-notify.
1658 * doc/lispref/os.texi (Desktop Notifications): Describe the native
1659 w32 tray notifications.
1661 2015-11-11 Michael Albinus <michael.albinus@gmx.de>
1663 Optimize `file-equal-p' and `file-in-directory-p' in Tramp
1665 * lisp/net/tramp.el (tramp-handle-file-equal-p)
1666 (tramp-handle-file-in-directory-p): New defuns. Suggested by
1667 Harvey Chapman <hchapman@3gfp.com>.
1669 * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1670 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1671 * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1672 * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use them.
1674 2015-11-10 Karl Fogel <kfogel@red-bean.com>
1676 * CONTRIBUTE: Encourage adding tests.
1678 Based on this post from John Wiegley:
1680 From: "John Wiegley" <johnw@newartisans.com>
1681 Subject: Re: [Emacs-diffs] master 1f02cbe: Fix bug#21766 and add test
1682 To: Juanma Barranquero <lekktu@gmail.com>
1683 Cc: emacs-diffs@gnu.org, bruce.connor.am@gmail.com,
1684 emacs-devel <emacs-devel@gnu.org>
1685 Date: Wed, 28 Oct 2015 18:45:29 -0700
1686 Message-ID: <m2y4emqwg6.fsf@newartisans.com>
1688 https://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02372.html
1690 2015-11-10 David Reitter <david.reitter@gmail.com>
1692 Avoid creating notification objects when possible
1694 * src/nsterm.m (windowWillEnterFullScreen, windowWillExitFullScreen:)
1695 (windowDidEnterFullScreen, windowDidExitFullScreen): Provide convenience
1696 functions that do not require a notification object. When needed,
1697 define NSWindowDidEnterFullScreenNotification to allow for compilation
1700 2015-11-10 Paul Eggert <eggert@cs.ucla.edu>
1702 Move INTEGER_TO_CONS body out of .h file
1704 * src/data.c (INTBIG_TO_LISP): New macro, with most
1705 of the contents of the old INTEGER_TO_CONS.
1706 (intbig_to_lisp, uintbig_to_lisp): New functions.
1707 * src/lisp.h (INTEGER_TO_CONS):
1708 Simplify by using EXPR_SIGNED and the new functions.
1709 This shrinks code size a bit, and makes it easier to
1710 put a breakpoint on handling of large integers.
1712 2015-11-10 Paul Eggert <eggert@cs.ucla.edu>
1717 2015-11-10 intprops: new public macro EXPR_SIGNED
1718 2015-11-10 intprops: fix typo in clang port
1719 * lib/intprops.h: Copy from gnulib.
1721 2015-11-10 Paul Eggert <eggert@cs.ucla.edu>
1725 * lisp/net/soap-inspect.el (soap-inspect-xs-simple-type):
1726 Fix misspelling in output.
1728 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
1730 * doc/lispref/variables.texi (Directory Local Variables):
1731 Document dir-locals wildcards.
1733 * lisp/files.el (dir-locals-file): Point to Info node.
1735 * doc/emacs/custom.texi (Directory Variables):
1736 Document dir-locals wildcards.
1738 * etc/NEWS: Document new functionality.
1740 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
1742 * lisp/files.el: Don't allow customization of dir-locals sorting.
1743 In retrospect, this is not a good idea for the same reason that
1744 `dir-locals-file' is a defconst, because it is important that this
1745 behaviour be "uniform across different environments and users".
1746 Sure, the user can still change the sorting with a hack, but we
1747 shouldn't encourage them to change it.
1748 (dir-locals--all-files): Return list in the order returned by
1749 `file-expand-wildcards'.
1750 (file-expand-wildcards): Document the sorting predicate used.
1751 (dir-locals-sort-predicate): Delete variable.
1753 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
1755 * lisp/files.el (dir-locals-read-from-file): Better handle errors.
1757 * lisp/isearch.el (search-default-regexp-mode): Change default value.
1759 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
1761 * lisp/files.el (dir-locals-find-file): Don't stop at unreadable files.
1762 `locate-dominating-file' will now keep looking if the files it finds in
1763 a given directory are unreadable (or not files).
1765 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
1767 * lisp/files.el (dir-locals-file): Allow wildcards.
1768 (dir-locals-find-file, dir-locals-collect-variables)
1769 (dir-locals-read-from-file): Update accordingly.
1770 (hack-dir-local-variables): Rename a local variable.
1772 * lisp/files-x.el (modify-dir-local-variable): Update accordingly.
1774 * lisp/help-fns.el (describe-variable): Update accordingly.
1776 * .gitignore: Add .dir-locals?.el.
1778 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
1780 * lisp/emacs-lisp/map.el (map-merge-with): New function.
1782 * test/automated/map-tests.el (test-map-merge-with): New test.
1784 2015-11-09 Karl Fogel <kfogel@red-bean.com>
1786 Fix some recently-perturbed bookmark autoloads
1788 * lisp/bookmark.el (bookmark-set-internal): Remove unnecessary autoload.
1789 (bookmark-set): Restore autoload.
1790 (bookmark-set-no-overwrite): Add autoload.
1792 Thanks to Juanma Barranquero for noticing the autoload problems
1793 introduced by my recent commit adding/changing the above functions
1794 (Sun Nov 8 14:16:43 2015 -0500, git commit 3812e17978).
1796 2015-11-09 Noah Friedman <friedman@splode.com>
1798 * etc/emacs-buffer.gdb (ydump-buffer): Handle case where gap is at
1799 the start of buffer. I don't recall if older versions of gdb were
1800 less strict but you cannot dump a 0-length range in gdb 7.9.1.
1802 2015-11-09 Dmitry Gutov <dgutov@yandex.ru>
1804 * lisp/progmodes/project.el: Update Commentary.
1806 Merge branch 'project-next'
1808 2015-11-09 Dmitry Gutov <dgutov@yandex.ru>
1810 Fold `project-ask-user' into `project-current'
1812 * lisp/progmodes/project.el (project-find-functions):
1813 Remove `project-ask-user'.
1814 (project-ask-user): Remove function and the corresponding
1815 `project-roots' implementation.
1816 (project-current): Add a new argument, MAYBE-PROMPT. Prompt the
1817 user in case there's no project in the current directory. Update
1820 2015-11-09 Karl Fogel <kfogel@red-bean.com>
1822 When VC detects a conflict, specify which file
1824 * lisp/vc/vc.el (vc-message-unresolved-conflicts): New function.
1825 * lisp/vc/vc-svn.el (vc-svn-find-file-hook):
1826 * lisp/vc/vc-hg.el (vc-hg-find-file-hook):
1827 * lisp/vc/vc-bzr.el (vc-bzr-find-file-hook):
1828 * lisp/vc/vc-git.el (vc-git-find-file-hook): Use above new function
1829 to display a standard message that specifies the conflicted file.
1831 Before this change, the message VC used for indicating a conflicted
1832 file was just "There are unresolved conflicts in this file" without
1833 naming the file (and this language was duplicated in several places).
1834 After this change, it's "There are unresolved conflicts in file FOO"
1835 (and this language is now centralized in one function in vc.el).
1837 Justification: It's important for the message to name the conflicted
1838 file because the moment when VC realizes a file is conflicted does not
1839 always come interactively. For example, some people automatically
1840 find a set of Org Mode files on startup, and may keep those .org files
1841 under version control. If any of the files are conflicted, the user
1842 just sees some messages fly by, and might later check the "*Messages*"
1843 buffer to find out what files were conflicted. I'm not saying this
1844 happened to me or anything; it's a purely hypothetical example.
1846 2015-11-09 Eli Zaretskii <eliz@gnu.org>
1848 Fix assertion violation in define-key
1850 * src/keymap.c (store_in_keymap): Don't use XFASTINT on non-character
1851 objects. Reported by Drew Adams <drew.adams@oracle.com>
1852 and Juanma Barranquero <lekktu@gmail.com>.
1854 2015-11-09 Dima Kogan <dima@secretsauce.net>
1856 Fix a memory leak in GC of font cache
1858 * src/alloc.c (compact_font_cache_entry): Don't GC unmarked font
1859 entities if some of the fonts it references are marked. This
1860 plugs a memory leak. (Bug#21556)
1862 2015-11-09 Paul Eggert <eggert@cs.ucla.edu>
1864 Use INT_ADD_WRAPV etc. to check integer overflow
1866 * src/alloc.c (xnmalloc, xnrealloc, xpalloc, Fmake_string):
1867 * src/buffer.c (record_overlay_string, overlay_strings):
1868 * src/casefiddle.c (casify_object):
1869 * src/ccl.c (Fccl_execute_on_string):
1870 * src/character.c (char_width, c_string_width, lisp_string_width)
1871 (count_size_as_multibyte, string_escape_byte8):
1872 * src/coding.c (coding_alloc_by_realloc, produce_chars):
1873 * src/data.c (arith_driver):
1874 * src/dispnew.c (realloc_glyph_pool, init_display):
1875 * src/editfns.c (styled_format):
1876 * src/fns.c (Ffillarray):
1877 * src/ftfont.c (ftfont_shape_by_flt):
1878 * src/gnutls.c (gnutls_hex_string):
1879 * src/gtkutil.c (get_utf8_string):
1880 * src/image.c (x_to_xcolors, x_detect_edges, png_load_body):
1881 * src/keymap.c (Fkey_description):
1882 * src/lisp.h (SAFE_ALLOCA_LISP):
1883 * src/term.c (encode_terminal_code):
1884 * src/tparam.c (tparam1):
1885 * src/xselect.c (x_property_data_to_lisp):
1886 * src/xsmfns.c (smc_save_yourself_CB):
1887 * src/xterm.c (x_term_init):
1888 When checking for integer overflow, prefer INT_MULTIPLY_WRAPV to
1889 more-complicated code involving division and/or
1890 INT_MULTIPLY_OVERFLOW, and similarly for INT_ADD_WRAPV and
1891 subtraction and/or INT_ADD_OVERFLOW.
1892 * src/casefiddle.c (casify_object): Simplify multibyte size check.
1893 * src/character.c: Remove some obsolete ‘#ifdef emacs’s.
1894 * src/data.c (arith_driver): Also check for division overflow,
1895 as that’s now possible given that the accumulator can now contain
1897 * src/lisp.h (lisp_word_count): Remove; no longer used.
1899 2015-11-08 Dmitry Gutov <dgutov@yandex.ru>
1901 Make sure that the ignore file exists
1903 * lisp/vc/vc.el (vc-default-ignore-completion-table):
1904 Make sure that the ignore file exists.
1906 2015-11-08 Michael Sperber <mike@xemacs.org>
1908 * gnus-sum.el (gnus-summary-backend-map): Bind B-backspace to
1909 `gnus-summary-delete-article` in a way that also works on XEmacs.
1911 2015-11-08 Simen Heggestøyl <simenheg@gmail.com>
1913 Add support for retrieving paths to JSON elements
1915 Add support for retrieving the path to a JSON element. This can for
1916 instance be useful to retrieve paths in deeply nested JSON
1919 * lisp/json.el (json-pre-element-read-function)
1920 (json-post-element-read-function): New variables to hold pre- and post
1921 read callback functions for `json-read-array' and `json-read-object'.
1922 (json--path): New variable used internally by `json-path-to-position'.
1923 (json--record-path, json--check-position): New functions used
1924 internally by `json-path-to-position'.
1925 (json-path-to-position): New function for retrieving the path to a
1926 JSON element at a given position.
1927 (json-read-object, json-read-array): Call
1928 `json-pre-element-read-function' and `json-post-element-read-function'
1931 * test/automated/json-tests.el (test-json-path-to-position-with-objects)
1932 (test-json-path-to-position-with-arrays)
1933 (test-json-path-to-position-no-match): New tests for
1934 `json-path-to-position'.
1936 2015-11-08 Karl Fogel <kfogel@red-bean.com>
1938 * etc/NEWS: Mention new `bookmark-set-no-overwrite'.
1940 This really should been part of my previous commit
1941 (Sun Nov 8 14:16:43 2015 -0500, git commit 3812e17978).
1943 2015-11-08 Karl Fogel <kfogel@red-bean.com>
1945 Offer non-overwrite bookmark setter (Bug#15746)
1947 * lisp/bookmark.el (bookmark-set-internal): New helper function to do
1948 what `bookmark-set' used to do, but with more choices for overwrite
1949 vs push, and with minor changes to the interactive prompt format.
1950 (bookmark-set): Rewrite as wrapper around above.
1951 If overwriting, inform the user of that in the prompt.
1952 (bookmark-set-no-overwrite): New function, also done as wrapper.
1953 Bind to "M" in `ctl-x-r-map' autoloads.
1954 (bookmark-map): Similarly bind "M" here.
1956 2015-11-08 Paul Eggert <eggert@cs.ucla.edu>
1958 * src/unexelf.c (NEW_PROGRAM_H): Remove unused macro (Bug#20614).
1960 2015-11-08 Alan Modra <amodra@gmail.com>
1962 ELF unexec: Don't insert a new section
1964 Reuse the .bss section instead, making it SHT_PROGBITS. This way we
1965 don't need to mess with symbol st_shndx, or section sh_link and
1968 This does lead to eu-elflint complaints about symbols defined in .bss
1969 with a needed version, because normally it is undefined symbols that
1970 have needed versions; Defined symbols have version definitions.
1971 The exception is symbols defined by the linker in .dynbss for
1972 variables copied from a shared library in order to avoid text
1973 relocations, with copy relocs to copy their initial values from the
1974 shared library. These symbols are both defined and have needed
1975 versions, and eu-elflink only expects to see them in SHT_NOBITS
1976 sections. Of course there is no real problem with having such symbols
1977 in SHT_PROGBITS sections. glibc ld.so handles them fine.
1979 * src/unexelf.c: Delete outdated comments.
1980 (PATCH_INDEX): Delete.
1981 (find_section): Delete.
1982 (unexec): Don't add a new section. Instead reuse the last bss
1983 section, extending it to cover dumped data. Make bss sections
1984 SHT_PROGBITS. Remove all patching of sh_link, sh_info and
1985 st_shndx. Rename bss sections.
1987 2015-11-08 Alan Modra <amodra@gmail.com>
1989 ELF unexec: Drive from PT_LOAD header rather than sections
1991 This rewrites bss handling in the ELF unexec code. Finding bss
1992 sections by name results in complicated code that
1993 - does not account for all names of possible bss sections,
1994 - assumes specific ordering of bss sections,
1995 - can wrongly choose a SHT_NOBITS section not in the bss segment,
1996 - incorrectly calculates bss size (no accounting for alignment gaps),
1997 - assumes .data and .bss are in the same segment.
1999 All of these problems and more are solved by finding the bss segment
2000 in PT_LOAD headers, ie. the address range included in p_memsz but not
2001 p_filesz of the last PT_LOAD header, then matching SHT_NOBITS sections
2002 in that address range.
2004 * src/unexelf.c: Delete old ppc comment.
2005 (OLD_PROGRAM_H): Define.
2007 (unexec): Don't search for bss style sections by name. Instead,
2008 use the last PT_LOAD header address range covered by p_memsz
2009 but not p_filesz and match any SHT_NOBITS section in that
2010 address range. Simplify initialisation of section header vars.
2011 Don't assume that section headers are above bss segment. Move
2012 copying of bss area out of section loop. Align .data2 section
2013 to 1, since it now covers the entire bss area. For SHT_NOBITS
2014 sections in the bss segment, leave sh_addr and sh_addralign
2015 unchanged, but correct sh_offset. Clear memory corresponding
2016 to SHT_NOBITS .plt section. Delete comment and hacks for
2017 sections partly overlapping bss range now that the full range
2018 is properly calculated. Delete now dead .sbss code.
2021 2015-11-08 Alan Modra <amodra@gmail.com>
2023 ELF unexec: R_*_NONE relocs
2025 These should be ignored on all targets.
2027 * src/unexelf.c (unexec): Ignore R_*_NONE relocs for any target,
2028 not just Alpha. Comment on reloc size assumption.
2030 2015-11-08 Alan Modra <amodra@gmail.com>
2032 ELF unexec: _OBJC_ symbols in bss sections
2034 This code assumed that there was only one bss section. Rather than
2035 checking for a particular index, check the section type. Also, handle
2036 the possibility that the section was SHT_NOBITS originally and is
2037 unchanged, in which case no clearing is needed (and sh_offset isn't
2038 necessarily valid, which can lead to a wild memset).
2040 * src/unexelf.c (unexec): Properly handle _OBJC_ symbols in
2043 2015-11-08 Alan Modra <amodra@gmail.com>
2045 ELF unexec: Symbol table patching
2047 No st_shndx value larger than SHN_LORESERVE should be changed.
2048 * src/unexelf.c (unexec): Don't adjust any st_shndx larger than
2049 SHN_LORESERVE. Error on SHN_XINDEX.
2051 2015-11-08 Alan Modra <amodra@gmail.com>
2053 ELF unexec: Merge Alpha and MIPS COFF debug handling
2055 * src/unexelf.c (unexec): Merge Alpha and MIPS COFF debug handling.
2056 Don't find .mdebug section index, find the section in the loop.
2057 Allow for unlikely possibility that .mdebug is located at sh_offset
2058 before bss segment, by calculating move from difference in
2059 sh_offset rather than just assuming new_data2_size. Simplify
2060 cbLineOffset handling.
2062 2015-11-08 Alan Modra <amodra@gmail.com>
2064 ELF unexec: Tidy code
2066 Separate out some of the more mechanical changes so following patches
2069 * src/unexelf.c (unexec): Rearrange initialisation of program
2070 header vars. Use pointer vars in loops rather than indexing
2071 section header array via macros. Simplify _OBJC_ sym code
2072 and reloc handling code.
2074 2015-11-08 Alan Modra <amodra@gmail.com>
2076 ELF unexec: Correct section header index
2078 First a small fix. The code incorrectly uses "NEW_SECTION_H (n)" when
2079 it should have been using "NEW_SECTION_H (nn)" to find the name of the
2080 section currently being processed. Of course, before the bss
2081 sections, n and nn have the same value, so this doesn't matter except
2082 in the case of .sbss. For .sbss this probably meant .bss (most likely
2083 the next section) was copied from memory. A later patch removes the
2084 bogus .sbss handling anyway.
2086 * src/unexelf.c (unexec): Use correct index to look up names.
2088 2015-11-08 Michael Albinus <michael.albinus@gmx.de>
2092 * lisp/filenotify.el (file-notify--rm-descriptor):
2093 Use `descriptor' instead of computing its value.
2094 (file-notify--descriptor): Additional argument FILE. Adapt all callees.
2095 (file-notify-rm-watch): Use `descriptor' when calling file name handler.
2098 2015-11-08 Dmitry Gutov <dgutov@yandex.ru>
2100 Remove dirs in vc project roots from the the vc project library roots
2102 * lisp/progmodes/project.el (project-library-roots):
2103 Remove directories inside the project roots from the result.
2104 (http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00536.html)
2106 2015-11-07 Dmitry Gutov <dgutov@yandex.ru>
2108 Move and rename xref-find-regexp to the project package
2110 * lisp/progmodes/project.el (project-find-regexp)
2111 (project--read-regexp)
2112 (project--find-regexp-in): New functions.
2114 * lisp/progmodes/xref.el (xref--find-xrefs): Extract from
2115 xref--show-xrefs. Use in existing callers in place of that
2117 (xref--show-xrefs): Only do the "show" part.
2118 (xref-find-regexp): Rename, more or less, to
2119 project-or-libraries-find-regexp.
2121 2015-11-06 Dmitry Gutov <dgutov@yandex.ru>
2123 Abolish temporary buffer management for xref
2125 * lisp/progmodes/xref.el (xref--temporary-buffers)
2127 (xref--inhibit-mark-current)
2128 (xref--mark-selected): Remove. Remove all references.
2129 (xref--show-xrefs): Do not construct the
2130 list of the temporary buffers, nor pass it along.
2132 2015-11-06 Dmitry Gutov <dgutov@yandex.ru>
2134 Rename "search path" to "library roots"
2136 * lisp/emacs-lisp/cl-seq.el (cl-set-difference): Retain the order
2137 of the elements from CL-LIST1.
2139 * test/automated/cl-lib-tests.el (cl-lib-test-set-functions):
2140 Update WRT to the above change.
2142 * lisp/progmodes/project.el (project-search-path-function): Rename
2143 to project-library-roots-function, update the documentation and
2145 (project-search-path): Likewise, to project-library-roots.
2146 (project-roots): Clarify documentation.
2147 (project-vc-search-path): Likewise, to project-vc-library-roots.
2148 (project-library-roots): In addition to the renames, thread the
2149 results through file-name-as-directory.
2150 (project-prune-directories): Accept a variable number of
2151 arguments. Rename to project-combine-directories.
2152 (project-subtract-directories): New function.
2154 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references):
2155 Append project-roots and project-library-roots together.
2157 * lisp/progmodes/etags.el (etags--xref-find-references): Ditto.
2159 2015-11-08 Paul Eggert <eggert@cs.ucla.edu>
2161 Prefer xpalloc to doubling buffers by hand
2163 * src/lread.c (grow_read_buffer): New function, which uses xpalloc.
2164 (read1): Use it for simplicity.
2165 * src/macros.c (store_kbd_macro_char):
2166 * src/minibuf.c (read_minibuf_noninteractive):
2167 * src/term.c (encode_terminal_code):
2168 * src/xrdb.c (magic_db):
2169 Prefer xpalloc to growing buffers by hand.
2170 This doesn’t fix any bugs, but simplifies the code a bit.
2172 2015-11-08 Paul Eggert <eggert@cs.ucla.edu>
2177 2015-11-05 timespec-sub: fix overflow bug; add tests
2178 2015-11-04 intprops: revise _WRAPV macros, revert _OVERFLOW
2179 2015-11-03 intprops: add parentheses
2180 * lib/intprops.h, lib/timespec-add.c, lib/timespec-sub.c:
2183 2015-11-07 David Reitter <david.reitter@gmail.com>
2185 Provide NS notification objects where required to eliminate warnings
2187 * nsterm.m (windowDidResize:, toggleFullScreen:):
2188 Call notification functions with notification objects
2189 as per delegate APIs.
2191 2015-11-07 Noam Postavsky <npostavs@users.sourceforge.net>
2193 Add test for bug #21824
2195 * test/automated/buffer-tests.el: New file.
2196 (overlay-modification-hooks-message-other-buf): New test.
2198 2015-11-07 Kelvin White <kwhite@gnu.org>
2200 * lisp/erc/erc-pcomplete.el (pcomplete-erc-nicks): Fix bug#18771.
2202 2015-11-07 David Reitter <david.reitter@gmail.com>
2204 Ignore fullscreen exit notifications on NS when frame is dead
2206 * nsterm.m (windowDidResize:, windowWillExitFullScreen:)
2207 (windowDidExitFullScreen:): Return if frame is dead.
2208 These functions may be called when a fullscreen frame
2209 is closed; they are called before, not after.
2211 May address Bug#21428.
2213 2015-11-07 Eli Zaretskii <eliz@gnu.org>
2215 Speed up lookup in redisplay--variables
2217 * lisp/frame.el (redisplay--variables): Make it a hash-table.
2219 * src/xdisp.c (maybe_set_redisplay): Access redisplay--variables
2220 as a hash-table. This speeds up this function by an order of
2221 magnitude: where previously a setq was slowed down by 100% by
2222 introducing the maybe_set_redisplay test, it is now only 5%
2224 (syms_of_xdisp) <redisplay--variables>: Doc fix.
2226 2015-11-07 Artur Malabarba <bruce.connor.am@gmail.com>
2228 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Fix a bug.
2230 The defsubst was being created as:
2231 (cl-defsubst name (args) ("DOC") ...)
2233 * test/automated/cl-lib-tests.el (cl-lib-struct-constructors):
2236 2015-11-07 Mihai Olteanu <mihai_olteanu@fastmail.fm> (tiny change)
2238 Update doc string of hexl-mode
2240 * lisp/hexl.el (hexl-mode): Doc fix. (Bug#21800)
2242 2015-11-07 Eli Zaretskii <eliz@gnu.org>
2244 Fix error in copy-abbrev-table
2246 * lisp/abbrev.el (define-abbrev): Don't erase the :abbrev-table-modiff
2247 property of the abbrev-table. (Bug#21828)
2249 * test/automated/abbrev-tests.el: New file.
2251 2015-11-07 Michael Albinus <michael.albinus@gmx.de>
2253 Add test to auto-revert-tests.el for Bug#21841
2255 * test/automated/auto-revert-tests.el
2256 (auto-revert-test01-auto-revert-several-files): New test.
2257 (auto-revert-test02-auto-revert-tail-mode)
2258 (auto-revert-test03-auto-revert-mode-dired): Rename them.
2260 2015-11-07 Martin Rudalics <rudalics@gmx.at>
2262 * doc/lispref/windows.texi (Coordinates and Windows): Fix typo.
2264 2015-11-07 Martin Rudalics <rudalics@gmx.at>
2266 In x_consider_frame_title don't set title of tooltip frames
2268 * src/xdisp.c (x_consider_frame_title): Return immediately for
2269 tooltip frames to avoid displaying empty tooltips.
2271 2015-11-06 Anders Lindgren <andlind@gmail.com>
2273 Fixed NextStep fullscreen problem (bug#21770).
2275 * src/nsterm.m (ns_constrain_all_frames): Don't constrain
2278 2015-11-06 Eli Zaretskii <eliz@gnu.org>
2280 Ensure redisplay after evaluation
2282 * lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp):
2284 * lisp/frame.el (redisplay--variables): Populate the
2285 redisplay--variables list.
2286 * src/xdisp.c (maybe_set_redisplay): New function.
2287 (syms_of_xdisp) <redisplay--variables>: New variable.
2288 * src/window.h (maybe_set_redisplay): Declare prototype.
2289 * src/data.c (set_internal): Call maybe_set_redisplay. (Bug#21835)
2291 2015-11-06 Artur Malabarba <bruce.connor.am@gmail.com>
2293 * test/automated/subr-tests.el (subr-test-when): Fix again.
2295 2015-11-06 Eli Zaretskii <eliz@gnu.org>
2297 Don't invoke overlay modification hooks in wrong buffer
2299 * src/buffer.c (report_overlay_modification): When called with
2300 AFTER non-zero, don't invoke overlay modification hooks if the
2301 buffer recorded in last_overlay_modification_hooks is different
2302 from the current buffer. (Bug#21824)
2304 2015-11-06 Juanma Barranquero <lekktu@gmail.com>
2306 * admin/notes/repo: Fix a few obsolete references to Bazaar.
2308 2015-11-06 Artur Malabarba <bruce.connor.am@gmail.com>
2310 * test/automated/subr-tests.el (subr-test-when): Fix test.
2312 2015-11-06 Martin Rudalics <rudalics@gmx.at>
2314 Avoid division by zero crash observed by Yuan MEI
2316 See http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00194.html.
2318 * src/dispnew.c (required_matrix_height, required_matrix_width):
2319 Avoid division by zero.
2320 * src/xterm.c (x_term_init): Init dpyinfo->smallest_font_height and
2321 dpyinfo->smallest_char_width to 1.
2323 2015-11-06 Eli Zaretskii <eliz@gnu.org>
2325 Ensure redisplay after "C-x C-e"
2327 * lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp): Make sure
2328 redisplay happens to account for any side effects of the evaluated
2331 2015-11-06 Michael Albinus <michael.albinus@gmx.de>
2333 Skip some file notification tests for cygwin
2335 * test/automated/file-notify-tests.el (file-notify--test-with-events):
2336 Remove argument TIMEOUT. Adapt all callees.
2337 (file-notify-test02-events, file-notify-test04-file-validity):
2338 Skip for cygwin. (Bug#21804)
2340 2015-11-05 Stephen Leake <stephen_leake@stephe-leake.org>
2342 * lisp/progmodes/xref.el: Require semantic/symref during compilation.
2344 2015-11-05 Daiki Ueno <ueno@gnu.org>
2346 Suppress redundant Pinentry startup messages
2348 * lisp/net/pinentry.el (pinentry-start): Add optional QUIET argument.
2349 * lisp/epg.el: Declare `pinentry-start'.
2350 (epg--start): Call `pinentry-start' with QUIET argument set.
2352 2015-11-05 Xue Fuqiao <xfq.free@gmail.com>
2354 * doc/emacs/ack.texi (Acknowledgments): Updates.
2356 2015-11-05 Juanma Barranquero <lekktu@gmail.com>
2358 * test/automated/elisp-mode-test.el: Silence some run-time warnings.
2359 (xref-elisp-deftest): Bind `find-file-suppress-same-file-warnings' to t.
2361 2015-11-05 Tassilo Horn <tsdh@gnu.org>
2363 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
2364 Add prettification support for \times.
2366 2015-11-05 Juanma Barranquero <lekktu@gmail.com>
2368 * test/automated/process-tests.el: Skip tests when bash is unavailable.
2369 (process-test-sentinel-accept-process-output)
2370 (process-test-sentinel-sit-for): skip-unless bash executable found.
2372 2015-11-05 Eli Zaretskii <eliz@gnu.org>
2374 Add test for bug #21831
2376 * test/automated/process-tests.el
2377 (start-process-should-not-modify-arguments): New test. (Bug#21831)
2378 Suggested by Nicolas Richard <youngfrog@members.fsf.org>
2380 2015-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2382 * lisp/emacs-lisp/eieio-compat.el: Typo caught by tests.
2384 (eieio--generic-static-object-generalizer): Fix typo.
2385 * test/automated/eieio-tests.el: Byte-compile it again. It looks
2386 like the underlying cause of bug#17852 was fixed in the mean time.
2388 2015-11-04 Artur Malabarba <bruce.connor.am@gmail.com>
2390 Revert "* lisp/subr.el (when): Use `macroexp-progn'"
2392 This reverts commit 8e843831eaf271801836b7a3e4dd3b4fb0bb72b8.
2393 It breaks bootstrapping (duh).
2395 2015-11-04 Artur Malabarba <bruce.connor.am@gmail.com>
2397 * lisp/files.el (report-errors): Obsolete.
2399 (normal-mode, hack-local-variables, dir-locals-find-file):
2400 Use `with-demoted-errors' instead.
2402 2015-11-04 Artur Malabarba <bruce.connor.am@gmail.com>
2404 * lisp/subr.el (when): Use `macroexp-progn'.
2406 * test/automated/subr-tests.el (subr-test-when): New test.
2408 2015-11-04 Juanma Barranquero <lekktu@gmail.com>
2410 * lisp/progmodes/xref.el: Doc fixes.
2411 (xref-make-file-location, xref-make-buffer-location, xref-make)
2412 (xref-make-bogus-location, xref-make-match): Add cross-references.
2413 (xref--insert-xrefs): Fix typo in docstring.
2415 2015-11-04 Anders Lindgren <andlind@gmail.com>
2417 Render fringe bitmaps correctly on NextStep (bug#21301)
2419 The fringe bitmaps were inverted, the background was not transparent,
2420 the image data was horizontally mirrored, and periodic fringe bitmaps
2423 * src/nsimage.m ([EmacsImage initFromXBM:width:height:fg:bg:]):
2424 When both background and foreground colors are 0, set the background
2425 alpha channel to 0 (making the background transparent). When
2426 copying the image data, do this from the most significant bit
2427 (leftmost) to the least (rightmost), to avoid mirroring.
2428 * src/nsterm.m (ns_draw_fringe_bitmap): Don't invert the image bits.
2429 Add support for periodic images (e.g. the empty line indicator).
2431 2015-11-03 Michael Heerdegen <michael_heerdegen@web.de>
2433 * lisp/emacs-lisp/pcase.el (pcase): Tweak docstring.
2435 2015-11-03 Nicolas Petton <nicolas@petton.fr>
2437 * admin/MAINTAINERS: Add seq-tests.el, map-tests.el, and thunk-tests.el.
2439 * admin/MAINTAINERS: Add thunk.el.
2441 2015-11-03 Jay Belanger <jay.p.belanger@gmail.com>
2443 * lisp/calc/calc (calc-bug-address): Change maintainer address.
2445 2015-11-03 Michael Albinus <michael.albinus@gmx.de>
2447 Fix a stupid error in gfilenotify.c
2449 * src/gfilenotify.c (dir_monitor_callback): Cancel monitor only,
2450 if we've got a `deleted' signal AND the file name is the watched one.
2452 2015-11-03 Stephen Leake <stephen_leake@stephe-leake.org>
2454 Fix Bug#21816; case insensitive file system in elisp-mode-tests.el
2456 * test/automated/elisp-mode-tests.el (xref-elisp-test-run):
2457 Use case-insensitive string compare for file names.
2458 (emacs-test-dir): Add 'downcase' to cause case differences (at
2459 least on my system).
2461 2015-11-02 Juanma Barranquero <lekktu@gmail.com>
2463 flymake-tests.el (warning-predicate-rx-gcc): Fix check
2465 * test/automated/flymake-tests.el (warning-predicate-rx-gcc):
2466 Also check that "make" is available, not just "gcc".
2468 2015-11-02 Ken Brown <kbrown@cornell.edu>
2470 Document behavior of collation on Cygwin
2472 * test/automated/fns-tests.el (fns-tests-collate-sort): Mark as
2473 expected failure on Cygwin.
2474 * doc/lispref/strings.texi (Text Comparison): Document that
2475 punctuation and whitespace are not ignored for sorting on Cygwin.
2477 2015-11-02 Dani Moncayo <dmoncayo@gmail.com>
2479 * build-aux/msys-to-w32: Prevent double slashes in w32 path list.
2481 2015-11-01 Glenn Morris <rgm@gnu.org>
2483 * lisp/progmodes/f90.el (f90-no-block-limit): Add associate.
2485 * test/automated/f90.el (f90-test-bug21794): New test.
2487 2015-11-01 Juanma Barranquero <lekktu@gmail.com>
2489 Fix incompatibility with TCC in test for bug#18745
2491 * test/automated/process-tests.el (process-test-quoted-batfile):
2492 Remove spaces unrelated to the bug being tested.
2494 2015-11-01 Michael Albinus <michael.albinus@gmx.de>
2496 Improve completion in tramp-gvfs.el
2498 * lisp/net/tramp-gvfs.el (tramp-zeroconf-parse-device-names):
2499 Rename from `tramp-zeroconf-parse-service-device-names'.
2500 (tramp-zeroconf-parse-webdav-device-names): Remove. Code merged
2501 with `tramp-zeroconf-parse-device-names'.
2502 (tramp-gvfs-parse-device-names): New defun.
2503 (top): Use it when `tramp-zeroconf-parse-device-names' is not
2506 * lisp/net/tramp.el (tramp-set-completion-function): The argument
2507 could also be a zeroconf service type.
2509 2015-10-31 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2511 * lisp/net/ntlm.el: Change version to 2.0.0.
2513 2015-10-31 Juanma Barranquero <lekktu@gmail.com>
2516 * lisp/progmodes/python.el (python-syntax-closing-paren-p): Check with
2517 `eql' instead of `=' to accommodate the case that (syntax-after (point))
2519 * test/automated/python-tests.el (python-indent-inside-paren-7):
2522 2015-10-31 Juanma Barranquero <lekktu@gmail.com>
2524 * test/automated/python-tests.el: Avoid warnings.
2525 (python-tests-with-temp-buffer, python-tests-with-temp-file):
2526 Bind `python-indent-guess-indent-offset' to nil.
2528 2015-10-31 Juanma Barranquero <lekktu@gmail.com>
2530 * src/alloc.c: Silence compiler warnings.
2531 (pointers_fit_in_lispobj_p, mmap_lisp_allowed_p): #ifdef DOUG_LEA_MALLOC.
2533 2015-10-31 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
2535 * etc/NEWS: Fix js-jsx-mode entry punctuation.
2537 2015-10-31 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
2539 Add JSX indentation via js-jsx-mode (Bug#21799)
2541 * progmodes/js.el: Add JSX indentation support.
2542 (js--jsx-end-tag-re)
2543 (js--jsx-after-tag-re): New variables.
2544 (js--jsx-find-before-tag)
2545 (js--jsx-indented-element-p)
2547 (js--expression-in-sgml-indent-line)
2548 (js-jsx-indent-line)
2549 (js-jsx-mode): New functions.
2550 * test/indent/js-jsx.el: New file.
2551 * etc/NEWS: Add information about js-jsx-mode.
2553 2015-10-31 Michael Albinus <michael.albinus@gmx.de>
2555 Minor fix in filenotify.el
2557 * lisp/filenotify.el (file-notify--event-file-name)
2558 (file-notify--event-file1-name): Normalize result with
2559 `directory-file-name'.
2561 2015-10-31 Eli Zaretskii <eliz@gnu.org>
2563 Avoid errors in redisplay--pre-redisplay-functions
2565 * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Don't
2566 use 'bobp', instead compare window-point with 1. (Bug#21730)
2568 2015-10-30 Paul Eggert <eggert@cs.ucla.edu>
2573 2015-10-30 intprops: add WRAPV and const flavors for GCC 5
2574 2015-10-25 stdalign: port to Sun C 5.9
2575 * doc/misc/texinfo.tex, lib/intprops.h, lib/stdalign.in.h:
2578 2015-10-30 Eli Zaretskii <eliz@gnu.org>
2580 * src/w32proc.c (_NLSCMPERROR): Fix a typo in the name of this macro.
2581 (w32_compare_strings): Adjust for the correction.
2583 2015-10-30 Michael Albinus <michael.albinus@gmx.de>
2585 * test/automated/vc-tests.el (vc-test--state)
2586 (vc-test--working-revision, vc-test--checkout-model):
2587 Add result messages.
2589 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
2591 * test/automated/faces-tests.el: Add another test
2593 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
2595 * lisp/faces.el (faces--attribute-at-point): Fix bug
2596 introduced by previous commit.
2598 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
2600 * test/automated/faces-tests.el: New file.
2602 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
2604 * lisp/faces.el: Refactor common code and fix a bug.
2605 (faces--attribute-at-point): New function. Fix a bug when the
2606 face at point is a list of faces and the desired attribute is not
2608 (foreground-color-at-point, background-color-at-point): Use it.
2610 2015-10-30 Przemysław Wojnowski <esperanto@cumego.com>
2612 * etc/tutorials/TUTORIAL.translators: Fix PL names.
2614 2015-10-30 Juanma Barranquero <lekktu@gmail.com>
2616 * lisp/character-fold.el: Provide `character-fold'.
2618 2015-10-30 Tassilo Horn <tsdh@gnu.org>
2620 * etc/themes/tsdh-dark-theme.el (tsdh-dark): Add more faces
2623 2015-10-30 Michael Albinus <michael.albinus@gmx.de>
2625 Some minor fixes for tramp-gvfs.el
2627 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
2628 An attribute returned by gvfs-info might be empty. In case of
2629 undetermined uid or gid, return "UNKNOWN" or -1, respectively.
2630 (tramp-zeroconf-parse-service-device-names): New defun.
2631 Derived from `tramp-zeroconf-parse-workstation-device-names'.
2632 (top): Add completion functions for "afp" and "smb" methods.
2634 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
2636 * test/automated/character-fold-tests.el: New file
2638 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
2640 * test/automated/sort-tests.el: New file.
2641 Tests in this file are randomly generated and then tested with
2642 regular, reverse, and case-fold sorting.
2644 2015-10-30 Eli Zaretskii <eliz@gnu.org>
2646 Describe known problems with pinning Emacs to taskbar
2648 * etc/PROBLEMS: Describe the problem with pinning Emacs to taskbar
2649 on Windows 10. For the details, see the discussion starting at
2650 http://lists.gnu.org/archive/html/help-emacs-windows/2015-09/msg00000.html.
2652 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
2654 * lisp/isearch.el: Avoid an error that blocks isearch.
2655 (isearch-update): Don't error if `isearch--current-buffer' has
2658 * test/automated/isearch-tests.el (isearch--test-update):
2661 2015-10-30 Phil Sainty <psainty@orcon.net.nz>
2663 Fix documentation of 'beginning/end-of-buffer'
2665 * lisp/simple.el (beginning-of-buffer, end-of-buffer): Clarify
2666 conditions under which the mark will be pushed at the previous
2667 position. (Bug#21748)
2669 2015-10-30 Tassilo Horn <tsdh@gnu.org>
2671 Add RefTeX feature idea: editing RefTeX TOC buffers
2673 More face defs for ivy, swiper, ace-window, eshell
2675 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2677 * lisp/gnus/auth-source.el: Silence lexical-binding warnings.
2678 (auth-source-netrc-use-gpg-tokens): Simplify (symbol-value 'VAR) to
2680 (auth-source-backend-parse): Use make-instance.
2681 (auth-source-search): Remove unused key args.
2682 Remove unused vars `accessor-key' and `backend'. Avoid `eval'.
2683 (auth-source-search-backends): Use slot names rather than their initarg.
2684 (auth-source-netrc-create):
2685 (auth-source-delete):
2686 (auth-source-secrets-create, auth-source-plstore-search)
2687 (auth-source-macos-keychain-create, auth-source-macos-keychain-search)
2688 (auth-source-plstore-create, auth-source-netrc-search)
2689 (auth-source-netrc-parse): Remove unused key args.
2690 (auth-source-forget+): Simplify the arglist.
2691 (auth-source-macos-keychain-search-items)
2692 (auth-source-token-passphrase-callback-function): Mark unused args.
2693 (auth-source-epa-extract-gpg-token): Remove unused var `plain'.
2694 (pp-escape-newlines): Declare.
2695 (auto-source--symbol-keyword): New function.
2696 (auth-source-plstore-create, auth-source-netrc-create)
2697 (auth-source-netrc-normalize): Use it.
2698 (auth-source-netrc-search): Don't pass :delete to
2699 auth-source-netrc-parse since it doesn't use it.
2700 (auth-source-plstore-create, auth-source-netrc-create): Use plist-get
2701 symbol-value to index in keyword args.
2702 (auth-source-macos-keychain-result-append): Avoid setq.
2703 (auth-source-netrc-create): Remove unused vars `file' and `add'.
2704 (auth-source-user-or-password): Remove unused var `cname'.
2706 2015-10-29 Juri Linkov <juri@linkov.net>
2708 * lisp/dired.el (dired-unmark-all-files-query): Declare.
2709 (dired-unmark-all-files): Let-bind it and use instead of ‘query’.
2712 2015-10-29 Juri Linkov <juri@linkov.net>
2714 * lisp/ielm.el (ielm-indent-line): Use non-nil arg of comint-bol
2715 to go to the beginning of text line instead of command line.
2716 http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02360.html
2718 2015-10-29 Eli Zaretskii <eliz@gnu.org>
2720 Fix encoding of saving *Help* buffers
2722 * lisp/help-fns.el (describe-function-1): If we use curved quotes,
2723 set help buffer's buffer-file-coding-system to UTF-8. (Bug#21780)
2725 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2727 * lisp/emacs-lisp/cl-generic.el: Add (major-mode MODE) context.
2728 (cl--generic-derived-specializers): New function.
2729 (cl--generic-derived-generalizer): New generalizer.
2730 (cl-generic-generalizers): New specializer (derived-mode MODE).
2731 (cl--generic-split-args): Apply the rewriter, if any.
2732 (cl-generic-define-context-rewriter): New macro.
2733 (major-mode): Use it to define a new context-rewriter, so we can write
2734 `(major-mode MODE)' instead of `(major-mode (derived-mode MODE))'.
2736 * lisp/frame.el (window-system): New context-rewriter so we can write
2737 `(window-system VAL)' instead of (window-system (eql VAL)).
2738 (cl--generic-split-args): Apply the rewriter, if any.
2739 (frame-creation-function): Use the new syntax.
2741 * lisp/term/x-win.el (window-system-initialization)
2742 (handle-args-function, frame-creation-function)
2743 (gui-backend-set-selection, gui-backend-selection-owner-p)
2744 (gui-backend-selection-exists-p, gui-backend-get-selection):
2745 * lisp/term/w32-win.el (window-system-initialization)
2746 (handle-args-function, frame-creation-function)
2747 (gui-backend-set-selection, gui-backend-get-selection)
2748 (gui-backend-selection-owner-p, gui-backend-selection-exists-p):
2749 * lisp/term/pc-win.el (gui-backend-get-selection)
2750 (gui-backend-selection-exists-p, gui-backend-selection-owner-p)
2751 (gui-backend-set-selection, window-system-initialization)
2752 (frame-creation-function, handle-args-function):
2753 * lisp/term/ns-win.el (window-system-initialization)
2754 (handle-args-function, frame-creation-function)
2755 (gui-backend-set-selection, gui-backend-selection-exists-p)
2756 (gui-backend-get-selection):
2757 * lisp/startup.el (handle-args-function):
2758 * lisp/term/xterm.el (gui-backend-get-selection)
2759 (gui-backend-set-selection): Use the new syntax.
2761 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2763 * test/indent/css-mode.css: Add tests for url(...) syntax.
2765 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2767 * lisp/emacs-lisp/smie.el: Use `declare' for `pure'.
2768 (smie-precs->prec2, smie-merge-prec2s, smie-bnf->prec2)
2769 (smie-prec2->grammar): Use `declare'.
2771 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2773 * lisp/emacs-lisp/cl-generic.el: Accommodate future changes.
2774 (cl--generic-generalizer): Add `name' field.
2775 (cl-generic-make-generalizer): Add corresponding `name' argument.
2776 (cl-generic-define-generalizer): New macro.
2777 (cl--generic-head-generalizer, cl--generic-eql-generalizer)
2778 (cl--generic-struct-generalizer, cl--generic-typeof-generalizer)
2779 (cl--generic-t-generalizer): Use it.
2780 (cl-generic-ensure-function): Add `noerror' argument.
2781 (cl-generic-define): Use it so we don't follow aliases.
2782 (cl-generic-define-method): Preserve pre-existing ordering of methods.
2783 (cl--generic-arg-specializer): New function.
2784 (cl--generic-cache-miss): Use it.
2785 (cl-generic-generalizers): Only fset a temporary definition
2787 (cl--generic-struct-tag, cl--generic-struct-specializers):
2788 Allow extra arguments.
2790 * lisp/emacs-lisp/eieio-compat.el
2791 (eieio--generic-static-symbol-generalizer)
2792 (eieio--generic-static-object-generalizer):
2793 Use cl-generic-define-generalizer.
2794 (eieio--generic-static-symbol-specializers): Allow extra arguments.
2796 * lisp/emacs-lisp/eieio-core.el (eieio--generic-generalizer)
2797 (eieio--generic-subclass-generalizer):
2798 Use cl-generic-define-generalizer.
2799 (eieio--generic-subclass-specializers): Allow extra arguments.
2801 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2803 * lisp/emacs-lisp/bytecomp.el (compile-defun): Add defvars in scope.
2805 2015-10-29 Michael Albinus <michael.albinus@gmx.de>
2807 Add "afp" method to Tramp
2809 * doc/misc/tramp.texi (GVFS based methods): Describe `afp' method.
2811 * lisp/net/tramp-gvfs.el (tramp-gvfs-methods): Add "afp" method.
2812 (tramp-gvfs-handle-expand-file-name)
2813 (tramp-gvfs-handler-mounted-unmounted)
2814 (tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec)
2815 (tramp-gvfs-maybe-open-connection): Support also "afp".
2816 (tramp-gvfs-handle-file-attributes): Handle the case of empty
2817 "owner::user" and "owner::group" entries.
2819 2015-10-29 Andy Moreton <andrewjmoreton@gmail.com>
2821 Handle negative coordinates in ‘x_calc_absolute_position’
2823 * src/w32term.c (x_calc_absolute_position): Find display origin to
2824 allow for negative coordinates.
2826 2015-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2828 (internal--syntax-propertize): Save match-data here (bug#21766)
2830 * lisp/emacs-lisp/syntax.el (internal--syntax-propertize): Save match-data.
2831 * lisp/simple.el (delete-trailing-whitespace): Undo last change.
2833 2015-10-28 Dmitry Gutov <dgutov@yandex.ru>
2835 Don't require default-directory to end with a slash
2837 * doc/lispref/files.texi (Magic File Names): Document the change
2838 in unhandled-file-name-directory.
2840 * lisp/url/url-handlers.el
2841 (url-handler-unhandled-file-name-directory): Update accordingly.
2843 * src/buffer.c (default-directory): Update the docsting.
2845 * src/fileio.c (unhandled-file-name-directory): Default to calling
2846 `file-name-as-directory'
2847 (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02294.html).
2849 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
2851 * lisp/isearch.el: Delete some outdated comments.
2853 2015-10-28 Vibhav Pant <vibhavp@gmail.com>
2855 Fix eshell/clear not working if the output has a small line count
2857 * lisp/eshell/esh-mode.el (eshell/clear): Use (window-size) as the
2858 number of newlines to be inserted. This fixes the issue where
2859 eshell/clear wouldn't work if the prompt was not at the bottom of the
2860 window, and the output wasn't too long.
2862 2015-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2864 * lisp/files.el (write-file): Use vc-refresh-state.
2866 * lisp/autorevert.el (auto-revert-handler): Use vc-refresh-state.
2868 * lisp/vc/pcvs.el (cvs-revert-if-needed): Use vc-refresh-state.
2870 2015-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2872 * lisp/emacs-lisp/macroexp.el: Tweak macroexp-if optimizations.
2873 (macroexp-unprogn): Make sure we never return an empty list.
2874 (macroexp-if): Remove unused (and unsafe) optimization.
2875 Optimize (if A T (if B T E)) into (if (or A B) T E) instead, which does
2878 2015-10-28 Juanma Barranquero <lekktu@gmail.com>
2880 Fix bug#21766 and add test
2881 * lisp/simple.el (delete-trailing-whitespace): Save match data when
2882 calling `skip-syntax-backward'.
2883 * test/automated/simple-test.el (simple-delete-trailing-whitespace):
2886 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
2888 * doc/lispref/sequences.texi (Sequence Functions): Fix typo.
2890 2015-10-28 Paul Eggert <eggert@cs.ucla.edu>
2892 * src/dispnew.c (init_display): Simplify overflow checking.
2894 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
2896 * lisp/character-fold.el (character-fold-to-regexp): Fix case
2897 where string ends in space
2899 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
2901 * lisp/emacs-lisp/seq.el (seq-mapn): New function.
2903 * doc/lispref/sequences.texi (Sequence Functions): Document seq-mapn.
2905 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
2907 * lisp/character-fold.el: Make compatible with lax-whitespace.
2908 (character-fold-to-regexp): Rework internals to play nice with
2911 When the user types a space, we want to match the table entry for
2912 ?\s, which is generally a regexp like "[ ...]". However, the
2913 `search-spaces-regexp' variable doesn't "see" spaces inside these
2914 regexp constructs, so we need to use "\\( \\|[ ...]\\)" instead (to
2915 manually expose a space).
2917 Furthermore, the lax search engine acts on a bunch of spaces, not
2918 on individual spaces, so if the string contains sequential spaces
2919 like " ", we need to keep them grouped together like this:
2920 "\\( \\|[ ...][ ...]\\)".
2922 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
2924 * lisp/isearch.el: Refactor momentary messages.
2925 (isearch--momentary-message): New function.
2926 (isearch-toggle-lax-whitespace, isearch-toggle-case-fold)
2927 (isearch-toggle-invisible): Use it.
2929 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
2931 * lisp/isearch.el: Define all toggles with `isearch-define-mode-toggle'.
2932 (isearch-define-mode-toggle): New macro.
2933 (isearch-toggle-invisible): Rename to
2934 `isearch-define-mode-toggle'.
2935 (isearch-toggle-case-fold, isearch-toggle-invisible)
2936 (isearch-toggle-regexp, isearch-toggle-lax-whitespace): Define
2937 with `isearch-define-mode-toggle'.
2939 2015-10-28 Michael Albinus <michael.albinus@gmx.de>
2941 Avoid using `add-to-list' on a let-local var in tramp-smb.el
2943 * lisp/net/tramp-compat.el (tramp-compat-delete-dups): New defun.
2944 * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files): Use it.
2946 2015-10-28 Anders Lindgren <andlind@gmail.com>
2948 Merge branch 'master' of /Volumes/HD2/build/emacs-git-ssh
2950 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/emacs
2952 Merge branch 'master' of /Volumes/HD2/build/emacs-git-ssh
2954 2015-10-28 Michael Albinus <michael.albinus@gmx.de>
2956 * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files):
2957 Revert 692bce5b9eccfae19ae2a5a23a9ccd8d6bf86076, `delete-dups'
2958 does not exist in XEmacs 21.4.
2960 2015-10-28 Anders Lindgren <andlind@gmail.com>
2962 Fixed OS X startup crash
2964 Input events started to arrive before ns_term_init() was finished.
2965 Solved by blocking input. This also seems to correct the "You
2966 can't open the application "Emacs" because it may be damaged or
2967 incomplete" error issued when double-clicking on the Emacs
2970 * nsterm.m (ns_constrain_all_frames, ns_init_term): Block input.
2971 * nsterm.m (ns_send_appdefined, EmacsApp): Trace output.
2973 2015-10-28 Anders Lindgren <andlind@gmail.com>
2975 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/emacs
2977 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
2979 * src/process.c (Fget_buffer_process): Improve docstring.
2980 Document the fact that it doesn't return dead processes.
2982 2015-10-28 Anders Lindgren <andlind@gmail.com>
2984 Fix incorrect NextStep tool-bar-mode -- wrong number of rows in frame.
2986 * nsterm.h (struct ns_output): New flag, in_animation.
2987 * nsfns.m (Fx_create_frame): Initialize in_animation flag.
2988 * nsmenu.m (free_frame_tool_bar, update_frame_tool_bar): Set
2989 in_animation flag around call to "setVisible". Set new tool bar
2990 height before call to setVisible.
2991 * nsterm.m (x_set_window_size): Don't call [view setRow:
2992 andColumns:] as this fools the subsequent call to updateFrameSize
2993 from performing the real resize.
2994 (windowDidResize): Don't update anything when in_animation is
2999 * nsmenu.m (free_frame_tool_bar, update_frame_tool_bar)
3001 * nsterm.m (x_set_window_size, updateFrameSize)
3002 ([EmacsView setRows: andColumns:])
3004 2015-10-28 Nicolas Petton <nicolas@petton.fr>
3006 * lisp/emacs-lisp/thunk.el (thunk-delay): Fix the macro.
3008 2015-10-28 Tassilo Horn <tsdh@gnu.org>
3010 Prettify TeX macros not ending in a word char
3012 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
3013 Prettify macros which don't end in a word character.
3015 2015-10-27 Dmitry Gutov <dgutov@yandex.ru>
3017 Pipe Hg commit descriptions through 'tabindent'
3019 * lisp/vc/vc-hg.el (vc-hg-log-format): Pipe commit description
3020 through 'tabindent'.
3021 (vc-hg-log-view-mode): Set tab-width to 2 locally.
3022 (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02259.html)
3024 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
3026 * lisp/net/tramp-smb.el: Avoid using `add-to-list' on a let-local var.
3027 (tramp-smb-handle-directory-files): Use `delete-dups'.
3029 * lisp/net/tramp.el (auto-save-file-name-transforms): Declare.
3031 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
3033 * lisp/international/ccl.el: Use lexical-binding.
3034 (ccl-compile-if): Remove unused var `false-ic'.
3035 (ccl-compile-write-repeat): Remove unused var `i'.
3036 (ccl-compile-map-single): Remove unused var `id'.
3037 (ccl-dump, ccl-dump-binary): Use explicit let-binding to bind the
3038 dynamic var `ccl-code'.
3040 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
3042 * lisp/json.el (json-new-object): Optimize trivial `list' call.
3044 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
3046 * lisp/help.el: Fix bug with incorrect arglist string.
3047 (help-add-fundoc-usage): Don't mistake a mis-formatted string
3050 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
3052 * lisp/gnus/gnus-topic.el: Silence some warnings.
3053 (gnus-topic-prepare-topic): Remove unused var `topic'.
3054 (gnus-topic-remove-topic): Mark unused arg `hide'.
3055 (gnus-tmp-header): Declare.
3056 (gnus-topic-goto-missing-group): Remove unused var `entry'.
3057 (gnus-topic-unmark-topic): Mark unused arg `dummy'.
3058 (gnus-topic-copy-matching): Mark unused arg `copyp'.
3059 Move initialization of `topic' into its declaration.
3061 2015-10-27 Stephen Leake <stephen_leake@stephe-leake.org>
3065 * lisp/cedet/cedet-global.el (cedet-gnu-global-gtags-call):
3066 Handle warnings from gtags about invalid options.
3067 (cedet-gnu-global-create/update-database): Do incremental update
3070 * lisp/cedet/ede/generic.el (ede-enable-generic-projects):
3071 Get monotone root right.
3073 2015-10-27 Michael Albinus <michael.albinus@gmx.de>
3075 Fall back to polling in autorevert when needed
3077 * lisp/autorevert.el (auto-revert-notify-handler): When a
3078 `stopped' event arrives from file notification, fall back to polling.
3080 * test/automated/file-notify-tests.el
3081 (file-notify-test03-autorevert): Extend test for polling when file
3082 notification ceases to work.
3084 2015-10-27 Dmitry Gutov <dgutov@yandex.ru>
3086 Show full commit messages in 'hg log' when appropriate
3088 * lisp/vc/vc-hg.el (vc-hg-log-format): New variable.
3089 (vc-hg-print-log, vc-hg-expanded-log-entry): Use it.
3090 (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02191.html)
3092 2015-10-27 Nicolas Petton <nicolas@petton.fr>
3094 Use a plain SVG file for the icon
3096 * etc/images/icons/hicolor/scalable/apps/emacs.svg: Use a plain SVG
3097 format instead of the Inkscape SVG format.
3099 2015-10-27 Michael Albinus <michael.albinus@gmx.de>
3101 Fix subtle bug in auto-revert-tests.el
3103 * test/automated/auto-revert-tests.el
3104 (auto-revert-test02-auto-revert-mode-dired): Narrow *Messages*
3105 buffer where it belongs to. (Bug#21668)
3107 2015-10-26 Nicolas Petton <nicolas@petton.fr>
3109 * lisp/emacs-lisp/map.el: Better docstrings.
3111 * lisp/emacs-lisp/seq.el: Better docstrings.
3113 * lisp/emacs-lisp/seq.el: Rename all seq arguments to sequence.
3115 2015-10-26 Phillip Lord <phillip.lord@russet.org.uk>
3117 * lisp/emacs-lisp/ert.el: Print results without newline escaping.
3119 2015-10-26 Stephen Leake <stephen_leake@stephe-leake.org>
3121 Clarify that load-path contents should be directory file names
3123 * doc/lispref/files.texi (Directory Names): Define and use "directory
3124 file name". Recommend `expand-file-name'.
3126 * src/lread.c (load-path): Fix doc string; elements are directory file
3129 2015-10-26 Eli Zaretskii <eliz@gnu.org>
3131 Fix simple-test.el test
3133 * test/automated/simple-test.el (simple-test--dummy-buffer):
3134 Make sure indentation doesn't use TABs, otherwise the 6th test
3137 2015-10-26 Mark Oteiza <mvoteiza@udel.edu>
3139 * lisp/net/eww.el (eww-bookmark-prepare): Use truncate-string-to-width.
3140 `substring' does not account for full width characters.
3142 2015-10-26 Michael Albinus <michael.albinus@gmx.de>
3144 Further work on `stopped' events in filenotify.el
3146 * doc/lispref/os.texi (File Notifications): Rework examples.
3148 * lisp/filenotify.el (file-notify--rm-descriptor): Optional parameter.
3149 (file-notify--rm-descriptor, file-notify-callback): Improve check
3150 for sending `stopped' event.
3151 (file-notify-add-watch): Check for more events for `inotify'.
3153 * test/automated/file-notify-tests.el
3154 (file-notify--test-expected-events): New defvar.
3155 (file-notify--test-with-events): Use it.
3156 (file-notify--test-cleanup): Make it more robust when deleting
3158 (file-notify--test-event-test): Check also for watched directories.
3159 (file-notify--test-event-handler): Suppress temporary .#files.
3160 (file-notify-test02-events, file-notify-test04-file-validity):
3161 Rework `stopped' events.
3162 (file-notify-test05-dir-validity): Wait for events when appropriate.
3164 2015-10-26 Artur Malabarba <bruce.connor.am@gmail.com>
3166 * src/keyboard.c (post-command-hook): Shorten docstring.
3168 2015-10-26 Tassilo Horn <tsdh@gnu.org>
3170 Fix infinite loop in sh-script's SMIE code
3172 * lisp/progmodes/sh-script.el (sh-smie-sh-forward-token): Fix infinite
3175 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
3177 * lisp/isearch.el (search-default-regexp-mode): Revert to nil.
3178 Character-fold search _still_ doesn't play well with
3179 lax-whitespace. So disable it by default (again) for now.
3181 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
3183 * lisp/isearch.el: No visual feedback for default search mode.
3184 During an isearch where character-folding is the default, we don't
3185 want to take up minibuffer space just to tell the user that
3186 "Char-fold " is on. The same goes for other modes, if the user
3187 changes the default. In contrast, if the user toggles OFF the
3188 default mode, they should see "Literal", to distinguish it from
3190 (isearch--describe-regexp-mode): Return "" if describing the
3191 default mode, and return "literal " if describing a plain search
3192 and it is not default.
3194 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
3196 * test/automated/simple-test.el: New file.
3197 Define tests for `newline' and `open-line'.
3199 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
3201 * lisp/simple.el (open-line): Integrate with electric-indent-mode.
3202 Also run `post-self-insert-hook' when called interactively.
3204 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
3206 * lisp/simple.el (open-line): Fix docstring.
3207 Also explain apparently redundant line.
3209 2015-10-25 Thomas Fitzsimmons <fitzsim@fitzsim.org>
3210 Alexandru Harsanyi <AlexHarsanyi@gmail.com>
3212 Sync with soap-client repository, version 3.0.1
3214 * lisp/net/soap-client.el, lisp/net/soap-inspect.el:
3215 Bump version to 3.0.1.
3217 * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Update home page.
3219 2015-10-25 Eli Zaretskii <eliz@gnu.org>
3221 * lisp/progmodes/grep.el (grep): Doc fix. (Bug#21754)
3223 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
3225 * src/keyboard.c (post-command-hook): Extend the docstring.
3226 Mainly, explain how to use it without hanging Emacs, or giving the
3227 impression that it is hanging. Also mention `pre-command-hook'.
3228 (pre-command-hook): Mention `post-command-hook'.
3230 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
3232 * lisp/custom.el (custom-declare-variable): Shorten code again.
3233 Without using pcase this time. We can't use pcase because it is
3234 loaded after custom in loadup.el. Also add a comment explaining
3235 this to future dummies like me.
3237 2015-10-25 Michael Albinus <michael.albinus@gmx.de>
3239 * doc/lispref/os.texi (File Notifications): Document `stopped event'.
3241 2015-10-25 Michael Albinus <michael.albinus@gmx.de>
3243 Introduce `stopped' event in file notification
3245 * lisp/filenotify.el (file-notify--rm-descriptor): New defun.
3246 (file-notify-rm-watch): Use it.
3247 (file-notify-callback): Implement `stopped' event.
3248 (file-notify-add-watch): Mention `stopped' in the docstring.
3249 Check, that upper directory exists.
3251 * test/automated/file-notify-tests.el (file-notify-test01-add-watch):
3253 (file-notify-test02-events): Handle also `stopped' event.
3254 (file-notify-test04-file-validity): Add another test case.
3256 2015-10-25 Paul Eggert <eggert@cs.ucla.edu>
3258 Revert commit that broke 'make bootstrap'
3260 * lisp/custom.el (custom-declare-variable): Revert commit
3261 79fac080d277fed07b3c192890ad59d36d9f83b6. custom.el needs to work
3262 even when pcase has not been defined yet, when doing bootstrapping.
3264 2015-10-25 Paul Eggert <eggert@cs.ucla.edu>
3266 Port recent inline functions fix to Standard C
3268 * src/lisp.h (LISP_MACRO_DEFUN, LISP_MACRO_DEFUN_VOID): Remove.
3269 All uses rewritten to define the function directly rather than to
3270 use a macro to define the function. This conforms to Standard C,
3271 which does not allow stray semicolons at the top level. I hope it
3272 also avoids the problems with TAGS. Those macros, though clever,
3273 were pretty confusing anyway, and it wasn’t clear they were worth
3274 the aggravation even without the TAGS problem.
3276 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
3278 * lisp/isearch.el: Make character-fold search the default again.
3280 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
3282 * lisp/character-fold.el: Many improvements.
3283 (character-fold-search-forward, character-fold-search-backward):
3285 (character-fold-to-regexp): Remove lax-whitespace hack.
3286 (character-fold-search): Remove variable. Only isearch and
3287 query-replace use char-folding, and they both have their own
3288 variables to configure that.
3290 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
3292 * lisp/isearch.el: Generalize definition of regexp-function toggles.
3293 (isearch-specify-regexp-function): New macro for specifying
3294 possible values of `isearch-regexp-function'.
3295 (isearch-toggle-character-fold, isearch-toggle-symbol)
3296 (isearch-toggle-word): Define with `isearch-specify-regexp-function'.
3298 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
3300 * lisp/isearch.el (search-default-regexp-mode): New variable.
3301 (isearch-mode): Use it.
3303 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
3305 * lisp/isearch.el (search-exit-option, search-slow-window-lines)
3306 (search-slow-speed, search-upper-case)
3307 (search-nonincremental-instead, search-whitespace-regexp)
3308 (search-invisible, isearch-hide-immediately)
3309 (isearch-resume-in-command-history, search-ring-max)
3310 (regexp-search-ring-max, search-ring-update, search-highlight)
3311 (isearch-fail): Delete :group entries.
3313 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
3315 * lisp/custom.el (custom-declare-variable): Shorten code a bit.
3317 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
3319 addpm.c: Silence some warnings.
3321 * nt/addpm.c (DdeCommand): Cast pData argument of DdeClientTransaction
3323 (add_registry): Pass NULL to optional lpClass argument of
3324 RegCreateKeyEx, not an empty string.
3326 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
3328 addpm.c: Do not add obsolete GTK libraries to the path.
3330 * nt/addpm.c (REG_GTK, REG_RUNEMACS_PATH): Delete.
3331 (add_registry): Remove variables `size' and `gtk_key'.
3332 Do not add the GTK DLL directory to the library search path; it is
3333 confusing behavior (in particular, the same Emacs version with and
3334 without invoking addpm will use a different path), and the GTK image
3335 libraries are obsolete anyway.
3337 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
3339 addpm.c: Replace existing registry entries, but do not create new ones
3341 * nt/addpm.c (add_registry): If the Emacs registry key exists, replace
3342 existing values from previous versions, but do not add new ones; the
3343 key could exist for other reasons unrelated to old Emacsen, like X-style
3344 resources, or to set some environment variables like HOME or LANG, and
3345 in that case we don't want to populate it with obsolete values.
3347 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
3349 * nt/addpm.c (add_registry): Do not compute unused return value.
3351 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
3353 addpm.c: Don't pass REG_OPTION_NON_VOLATILE to RegOpenKeyEx
3355 * nt/addpm.c (add_registry): Pass 0 to ulOptions argument of
3356 RegOpenKeyEx, not REG_OPTION_NON_VOLATILE. This doesn't change
3357 current behavior because REG_OPTION_NON_VOLATILE is defined to
3358 be 0L anyway, but that option is actually documented only for
3361 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
3363 * src/w32notify.c (Fw32notify_add_watch): Fix version check.
3365 2015-10-24 Eli Zaretskii <eliz@gnu.org>
3367 Update frame title when redisplay scrolls selected window
3369 * src/xdisp.c (redisplay_window): Reconsider the frame's title
3370 when the mode-line of the frame's selected window needs to be
3373 2015-10-24 Eli Zaretskii <eliz@gnu.org>
3375 Update frame title when scrolling the selected window
3377 * src/window.c (wset_update_mode_line): New function, sets either
3378 the window's update_mode_line flag or the global update_mode_lines
3380 (Fset_window_start, set_window_buffer, window_scroll_pixel_based)
3381 (window_scroll_line_based): Call it instead of only setting the
3382 window's update_mode_line flag.
3384 2015-10-24 Eli Zaretskii <eliz@gnu.org>
3386 An even better fix for bug#21739
3388 * src/window.c (set_window_buffer): If the window is the frame's
3389 selected window, set update_mode_lines, not the window's
3390 update_mode_line flag.
3391 * src/buffer.c (Fkill_buffer): Undo last change.
3392 (set_update_modelines_for_buf): Function deleted.
3394 2015-10-24 Thomas Fitzsimmons <fitzsim@fitzsim.org>
3395 Alexandru Harsanyi <AlexHarsanyi@gmail.com>
3397 Sync with soap-client repository, version 3.0.0
3399 * lisp/net/soap-client.el, lisp/net/soap-inspect.el:
3400 Bump version to 3.0.0.
3402 * lisp/net/soap-inspect.el: Merge in changes from Emacs master branch.
3404 * lisp/net/soap-client.el: Merge in changes from Emacs master branch.
3406 * lisp/net/soap-inspect.el: Shorten first line description.
3408 * lisp/net/soap-client.el: Make a small whitespace fix.
3410 * lisp/net/soap-inspect.el: Update copyright years.
3412 * lisp/net/soap-client.el (soap-encoded-namespaces): Move above
3413 first use in soap-encode-xs-element.
3415 * lisp/net/soap-client.el (soap-type-is-array?): new defun
3416 (soap-encode-xs-element): handle array elements in this function
3417 (soap-encode-xs-complex-type): flag error if asked to encode an
3418 array type, this is handled in `soap-encode-xs-element'
3420 * lisp/net/soap-inspect.el (soap-inspect-xs-attribute-group):
3421 Do not print type for attribute group.
3423 * lisp/net/soap-inspect.el (soap-sample-value-for-xs-attribute-group)
3425 (soap-inspect-xs-attribute-group): Likewise.
3427 * lisp/net/soap-inspect.el
3428 (soap-resolve-references-for-xs-attribute-group): Resolve
3429 references of attributes in an attribute group.
3431 * lisp/net/soap-client.el (soap-decode-xs-attributes): Process attribute
3432 type directly, not through soap-wsdl-get.
3434 * lisp/net/soap-client.el (soap-xs-parse-attribute): Leave reference
3435 nil if reference attribute is nil.
3437 * lisp/net/soap-client.el (soap-resolve-references-for-xs-attribute):
3438 Convert XML schema attributes to xsd:string.
3440 * lisp/net/soap-inspect.el (soap-sample-value-for-xs-attribute):
3442 (soap-sample-value-for-xs-simple-type): Prepend attributes to result.
3443 (soap-sample-value-for-xs-complex-type): Likewise.
3444 (soap-inspect-xs-attribute): New function.
3445 (soap-inspect-xs-simple-type): Print attributes.
3446 (soap-inspect-xs-complex-type): Likewise.
3448 * lisp/net/soap-inspect.el (soap-resolve-references-for-xs-simple-type):
3449 Resolve references for attributes.
3450 (soap-resolve-references-for-xs-complex-type): Likewise.
3452 * lisp/net/soap-client.el (soap-xml-node-find-matching-child):
3453 Rename from soap-xml-node-first-child.
3454 (soap-xs-parse-attribute): Call soap-xml-node-find-matching-child.
3455 (soap-xs-parse-simple-type): Likewise.
3457 * lisp/net/soap-client.el (soap-invoke-async): Add error checking.
3459 * lisp/net/soap-client.el (soap-invoke-internal): New function.
3460 (soap-invoke-async): Call soap-invoke-internal.
3461 (soap-invoke): Likewise.
3463 * lisp/net/soap-client.el (soap-invoke-async): Ensure buffer passed to
3464 url-retrieve callback is killed.
3466 * lisp/net/soap-client.el (soap-parse-wsdl-phase-validate-node):
3468 (soap-parse-wsdl-phase-fetch-imports): Likewise.
3469 (soap-parse-wsdl-phase-parse-schema): Likewise.
3470 (soap-parse-wsdl-phase-fetch-schema): Likewise.
3471 (soap-parse-wsdl-phase-finish-parsing): Likewise.
3472 (soap-parse-wsdl): Update calls.
3474 * lisp/net/soap-client.el (soap-invoke-async): Fix callback invocation.
3476 * lisp/net/soap-client.el (soap-invoke-async): New function.
3477 (soap-invoke): Reimplement using soap-invoke-async.
3479 * lisp/net/soap-client.el (soap-parse-server-response):
3481 (soap-invoke): Inline call to soap-parse-server-response.
3483 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
3484 Prevent incorrect warning.
3486 * lisp/net/soap-client.el (soap-parse-server-response):
3487 Rename soap-process-url-response. Destroy the mime part.
3488 (soap-invoke): Call soap-parse-server-response.
3490 * lisp/net/soap-client.el: Update copyright date.
3492 * lisp/net/soap-client.el: Fix checkdoc issues.
3494 * lisp/net/soap-client.el: Fix indentation and long lines.
3496 * lisp/net/soap-client.el (soap-time-format): Remove variable.
3497 (soap-encode-xs-basic-type): Simplify date-time format detection.
3498 (soap-decode-xs-basic-type): Remove soap-time-format support.
3500 * lisp/net/soap-client.el (soap-process-url-response): New function.
3501 (soap-fetch-xml-from-url): Call soap-process-url-response.
3502 (soap-parse-wsdl-phase-1): New function.
3503 (soap-parse-wsdl-phase-2): Likewise.
3504 (soap-parse-wsdl-phase-3): Likewise.
3505 (soap-parse-wsdl-phase-4): Likewise.
3506 (soap-parse-wsdl-phase-5): Likewise.
3507 (soap-parse-wsdl): Call phase functions.
3509 * lisp/net/soap-client.el (soap-decode-xs-basic-type):
3510 Remove one-argument and call.
3512 * lisp/net/soap-client.el (soap-decode-date-time): Improve docstring.
3514 * lisp/net/soap-client.el (soap-xmlschema-imports): Remove variable.
3515 (soap-parse-schema): Add wsdl argument. Look up XML schema
3517 (soap-load-wsdl): Do not set soap-xmlschema-imports.
3518 (soap-parse-wsdl): Get XML schema imports from wsdl.
3520 * lisp/net/soap-client.el (soap-current-file): Remove variable.
3521 (soap-wsdl): Add current-file slot.
3522 (soap-fetch-xml-from-url): Add wsdl argument. Look up current
3524 (soap-fetch-xml-from-file): Likewise.
3525 (soap-fetch-xml): Likewise.
3526 (soap-load-wsdl): Always create wsdl object first.
3527 (soap-parse-wsdl): Pass wsdl to soap-fetch-xml.
3529 * lisp/net/soap-client.el (soap-xs-element): Add is-group slot.
3530 (soap-xs-parse-element): Set is-group slot.
3531 (soap-resolve-references-for-xs-element): Skip is-group elements.
3532 (soap-xs-complex-type): Add is-group slot.
3533 (soap-xs-parse-complex-type): Set is-group slot.
3534 (soap-xs-parse-sequence): Parse xsd:group elements.
3535 (soap-resolve-references-for-xs-complex-type): Inline elements
3536 from referenced xsd:group nodes.
3537 (soap-parse-schema): Parse xsd:group nodes.
3539 * lisp/net/soap-client.el (soap-invoke):
3540 Don't set url-http-version to 1.0.
3542 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
3543 Allow choice nodes to accept multiple values.
3545 * lisp/net/soap-client.el (soap-encode-body): Check parameters argument
3546 for extra header values.
3548 * lisp/net/soap-client.el (soap-well-known-xmlns):
3549 Add wsa and wsaw tags.
3550 (soap-operation): Add input-action and output-action slots.
3551 (soap-parse-operation): Parse wsaw:Action nodes.
3552 (soap-encode-body): Encode service-url for WS-Addressing.
3553 (soap-create-envelope): Likewise.
3554 (soap-invoke): Update soap-create-envelope call to provide
3555 service-url argument.
3557 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
3558 Support xsi:type override attribute.
3559 (soap-decode-array): Likewise.
3561 * lisp/net/soap-client.el (soap-parse-schema):
3562 Handle location attribute.
3564 * lisp/net/soap-client.el (soap-decode-type): Check that multiRef
3565 matched validation regexp.
3567 * lisp/net/soap-client.el (soap-encode-xs-simple-type):
3568 Encode xsd:list nodes.
3569 (soap-decode-xs-simple-type): Decode xsd:list nodes.
3571 * lisp/net/soap-client.el (soap-get-candidate-elements):
3572 Fix reference handling.
3574 * lisp/net/soap-client.el (soap-xs-simple-type): Add is-list slot.
3575 (soap-xs-parse-simple-type): Call soap-xs-add-list for xsd:list nodes.
3576 (soap-xs-add-list): New function.
3578 * lisp/net/soap-client.el (soap-encode-xs-element): When a boolean is
3579 expected, interpret nil as "false".
3581 * lisp/net/soap-client.el (soap-make-xs-basic-types): Add gYearMonth,
3582 gYear, gMonthDay, gDay and gMonth.
3584 * lisp/net/soap-client.el (soap-time-format): New variable.
3585 (soap-encode-xs-basic-type): Handle dateTime, time, date,
3586 gYearMonth, gYear, gMonthDay, gDay and gMonth.
3587 (soap-decode-date-time): New function.
3588 (soap-decode-xs-basic-type): Use soap-decode-date-time.
3590 * lisp/net/soap-client.el (soap-encode-xs-basic-type): Validate value
3592 (soap-decode-xs-basic-type): Validate value before decoding.
3594 * lisp/net/soap-client.el (soap-validate-xs-basic-type): New function.
3595 (soap-validate-xs-simple-type): Call soap-validate-xs-basic-type.
3597 * lisp/net/soap-client.el (soap-xs-add-union): Append result to base
3598 instead of overwriting it.
3599 (soap-validate-xs-simple-type): Add union support.
3601 * lisp/net/soap-client.el (soap-xs-add-restriction): Translate pattern
3602 to Emacs regexp using xsdre-translate.
3603 (soap-validate-xs-simple-type): Validate value against pattern.
3605 * lisp/net/soap-client.el (soap-xs-add-union): Preserve WSDL order of
3606 inline simpleType nodes.
3607 (soap-decode-type): Handle union types.
3609 * lisp/net/soap-client.el (soap-decode-xs-attributes): Decode basic-type
3612 * lisp/net/soap-client.el (soap-get-xs-attributes-from-groups): Rename
3613 from soap-xs-attribute-group-consolidate, all callers updated
3614 (soap-get-xs-attributes): Rename from
3615 soap-xs-attributes-consolidate, all callers updated
3617 * lisp/net/soap-client.el (soap-xs-type): Add attribute-group slot.
3618 (soap-xs-attribute-group): New type.
3619 (soap-xs-parse-attribute-group): New function.
3620 (soap-resolve-references-for-xs-attribute-group): Likewise.
3621 (soap-xs-add-extension): Handle attribute groups.
3622 (soap-resolve-references-for-xs-simple-type): Likewise.
3623 (soap-xs-parse-complex-type): Likewise.
3624 (soap-xs-parse-extension-or-restriction): Likewise.
3625 (soap-resolve-references-for-xs-complex-type): Likewise.
3626 (soap-xs-attribute-group-consolidate): New function.
3627 (soap-xs-attributes-consolidate): Handle attribute groups.
3628 (soap-parse-schema): Likewise.
3630 * lisp/net/soap-client.el (soap-encode-xs-basic-type):
3631 Fix boolean encoding.
3633 * lisp/net/soap-client.el (soap-encode-xs-complex-type): Print ref
3634 element names in warnings.
3636 * lisp/net/soap-client.el (soap-decode-xs-complex-type): Fix splicing.
3638 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
3639 Eliminate invalid warnings for choice types.
3641 * lisp/net/soap-client.el (soap-encode-xs-complex-type-attributes):
3642 Also encode base type attributes.
3644 * lisp/net/soap-client.el (soap-encode-xs-complex-type): Fix compilation
3645 warning. Print e-name in warnings, or element if e-name is nil.
3647 * lisp/net/soap-client.el (soap-xs-element): Add alternatives slot.
3648 (soap-xs-parse-element): Set substitution-group.
3649 (soap-resolve-references-for-xs-element): Populate alternatives slot.
3650 (soap-get-candidate-elements): New function.
3651 (soap-encode-xs-complex-type): Iterate through all candidate elements.
3652 Handle types with nil type indicator. Fix warning logic.
3654 * lisp/net/soap-client.el (soap-current-wsdl): Move declaration
3655 earlier in the file to prevent compiler warning.
3657 * lisp/net/soap-client.el (soap-node-optional): New function.
3658 (soap-node-multiple): Likewise.
3659 (soap-xs-parse-element): Call soap-node-optional and
3661 (soap-xs-complex-type): Add optional? and multiple? slots.
3662 (soap-xml-get-children-fq): New function.
3663 (soap-xs-element-get-fq-name): Likewise.
3664 (soap-xs-complex-type-optional-p): Likewise.
3665 (soap-xs-complex-type-multiple-p): Likewise.
3666 (soap-xs-attributes-consolidate): Likewise.
3667 (soap-decode-xs-attributes): Likewise.
3668 (soap-decode-xs-complex-type): Decode types with nil type indicator.
3669 Support children that use local namespaces. Decode attributes.
3670 Add type considerations to optional? and multiple? warnings.
3672 * lisp/net/soap-client.el (soap-xs-parse-extension-or-restriction):
3673 Store parsed attributes.
3674 (soap-encode-xs-complex-type-attributes): Encode custom attributes.
3676 * lisp/net/soap-client.el (soap-encode-xs-complex-type-attributes):
3677 Don't add the xsi:type attribute (Exchange refuses requests which have
3680 * lisp/net/soap-client.el, soap-inspect.el: Convert to lexical binding,
3681 correct compiler warnings about unused function arguments and
3684 * lisp/net/soap-client.el (soap-decode-xs-complex-type): Handle nil
3686 (soap-parse-envelope): Handle response headers.
3687 (soap-parse-response): Likewise. Only return non-nil decoded values.
3689 * lisp/net/soap-client.el (soap-validate-xs-simple-type):
3690 Return validated value.
3692 * lisp/net/soap-client.el (soap-xs-parse-element)
3693 (soap-xs-parse-simple-type)
3694 (soap-xs-parse-complex-type)
3695 (soap-parse-message)
3696 (soap-parse-operation): Add the current namespace to the element
3698 (soap-resolve-references-for-xs-element)
3699 (soap-resolve-references-for-xs-simple-type)
3700 (soap-resolve-references-for-xs-complex-type)
3701 (soap-resolve-references-for-operation): Resolve the namespace to
3703 (soap-make-wsdl): specify a namespace tag when creating the xsd
3704 and soapenc namespaces
3705 (soap-wsdl-resolve-references): don't update namespace tags in
3707 (soap-parse-port-type): bind the urn: to soap-target-xmlns
3708 (soap-encode-body): don't add nil namespace tags to
3709 soap-encoded-namespaces
3711 * lisp/net/soap-inspect.el: Use `soap-make-wsdl` to construct the object
3712 for registering the soap-inspect method. Make debbugs tests pass.
3713 * lisp/net/soap-client.el (soap-decode-any-type): Use soap-l2fq on the
3714 type name, also skip string only nodes when decoding a structure.
3715 (soap-xs-parse-complex-type): (BUG) Dispatch parsing for choice
3717 (soap-encode-body): Grab the header value from the param table.
3719 * lisp/net/soap-client.el (soap-should-encode-value-for-xs-element):
3721 (soap-encode-xs-element): Don't encode nil value unless needed.
3723 * lisp/net/soap-client.el (soap-bound-operation): New slot `soap-body`.
3724 (soap-parse-binding): Parse the message parts required in the body.
3725 (soap-encode-body): Encode only the parts that are declared to be
3728 * lisp/net/soap-client.el (soap-encode-xs-element): use the fq name
3729 when writing out the tag.
3730 (soap-encode-body): Remove hack that inserts the xmlns in the
3731 element attributes list.
3733 * lisp/net/soap-client.el (soap-xs-attribute): Add "default" slot.
3734 (soap-xs-parse-attribute): Default slot is set from the XML
3736 (soap-encode-xs-complex-type-attributes): Encode any attributes
3737 that have a default value. Also, don't put the xsi:nil attribute
3738 when the complex type has no content anyway.
3740 * lisp/net/soap-client.el (soap-well-known-xmlns):
3741 Add the xml namespace.
3742 (soap-local-xmlns): Start with the xml namespace.
3743 (soap-xml-node-first-child): Skip xsd:annotation nodes too.
3744 (soap-make-xs-basic-types): More xsd types added.
3745 (soap-encode-xs-basic-type, soap-decode-xs-basic-type):
3746 Handle "language", "time", "date", "nonNegativeInteger".
3747 (soap-resolve-references-for-xs-element): Don't signal an error if
3748 the element does not have a type.
3749 (soap-xs-parse-simple-type): Subtypes are handled with ecase,
3750 added stum for xsd:list.
3751 (soap-xs-add-union): Call soap-l2fq on all union members.
3752 (soap-xs-add-extension): Call soap-l2fq on the base member.
3753 (soap-resolve-references-for-xs-simple-type): Don't signal an
3754 error if the simple type has no base.
3755 (soap-resolve-references-for-xs-simple-type): Bugfix, call
3756 soap-wsdl-get on each type of the base.
3758 * lisp/net/soap-client.el (soap-resolve-references-for-xs-attribute):
3759 Referenced type can be eiher a simple type or a basic type.
3760 (soap-xs-add-restriction)
3761 (soap-xs-parse-extension-or-restriction): Use `soap-l2fq' on base.
3762 (soap-make-xs-basic-types)
3763 (soap-encode-xs-basic-type, soap-decode-xs-basic-type):
3764 Add support for more XMLSchema basic types.
3765 (soap-current-file, soap-xmlschema-imports): New defvars.
3766 (soap-parse-schema): Add locations from xsd:import tags to
3767 `soap-xmlschema-imports'.
3768 (soap-wsdl): Make destructor private.
3769 (soap-make-wsdl): New defun, SOAP-WSDL object constructor.
3770 (soap-wsdl-add-alias): Check if we try to replace aliases.
3771 (soap-fetch-xml-from-url, soap-fetch-xml-from-file)
3772 (soap-fetch-xml): New defuns.
3773 (soap-load-wsdl): Update to load the WSDL from either a file or
3775 (soap-load-wsdl-from-url): Now an alias to `soap-load-wsdl'.
3776 (soap-parse-wsdl): Process wsdl:import tags and imports from
3777 `soap-xmlschema-imports'.
3778 * lisp/net/soap-client.el (soap-l2wk): Bugfix: call symbolp instead of
3780 (soap-l2fq): Make the name part always a string.
3781 (soap-name-p): New defun, used for name tests.
3783 * lisp/net/soap-inspect.el (soap-sample-value-for-xs-complex-type):
3784 Supply sample values for choice types with a special tag.
3785 * lisp/net/soap-client.el (soap-encode-xs-complex-type):
3786 Handle anonymous elements correctly.
3787 (soap-encode-value): Accept nodes that have no namespace tag.
3789 * lisp/net/soap-client.el (soap-invoke): Encode the string for
3790 `url-request-data' as UTF-8. Fixes issue 16.
3792 2015-10-24 Nicolas Petton <nicolas@petton.fr>
3796 Move the E slightly to the right in the circle.
3798 * etc/images/icons/hicolor/128x128/apps/emacs.png:
3799 * etc/images/icons/hicolor/16x16/apps/emacs.png:
3800 * etc/images/icons/hicolor/24x24/apps/emacs.png:
3801 * etc/images/icons/hicolor/32x32/apps/emacs.png:
3802 * etc/images/icons/hicolor/48x48/apps/emacs.png:
3803 * etc/images/icons/hicolor/scalable/apps/emacs.svg:
3804 * nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns:
3805 * nt/icons/emacs.ico: New icom update.
3807 2015-10-24 Eli Zaretskii <eliz@gnu.org>
3809 Avoid missing inline functions from lisp.h in TAGS
3811 * src/lisp.h (LISP_MACRO_DEFUN): Mention in the commentary the
3812 need to end each invocation with a semi-colon.
3813 Add a semi-colon at the end of each invocation of LISP_MACRO_DEFUN
3814 and LISP_MACRO_DEFUN_VOID. This is to avoid missing in TAGS
3815 inline functions defined immediately after each invocation, and
3816 also avoid tagging every invocation of these macros.
3818 2015-10-24 Eli Zaretskii <eliz@gnu.org>
3820 A better fix for bug#21739
3822 * src/buffer.c (set_update_modelines_for_buf): New function.
3823 (Fkill_buffer): Use it to set the global variable
3824 update_mode_lines if the killed buffer was displayed in some
3825 window. Don't set windows_or_buffers_changed. This is a better
3826 fix for bug#21739 than the previous fix, since it will cause only
3827 redisplay of mode lines, not of entire windows, but will still
3828 catch attention of x_consider_frame_title in xdisp.c, which
3829 redraws the frame title.
3831 2015-10-24 Tassilo Horn <tsdh@gnu.org>
3833 * lisp/dired-aux.el (dired-compress-files-alist): Add support for
3834 tar.bz2 and tar.xz archives.
3836 2015-10-23 Eli Zaretskii <eliz@gnu.org>
3838 Fix infloop in redisplay introduced by a recent change
3840 * src/xdisp.c (redisplay_internal): Avoid inflooping when
3841 redisplaying the selected window sets the selected frame's
3842 redisplay flag. (Bug#21745)
3844 2015-10-23 Nicolas Petton <nicolas@petton.fr>
3846 * lisp/emacs-lisp/thunk.el: Better documentation.
3848 2015-10-23 Nicolas Petton <nicolas@petton.fr>
3850 Replace the old icon for Windows and Mac OSX
3852 * nt/icons/emacs.ico:
3853 * nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns:
3856 2015-10-23 Stephen Leake <stephen_leake@stephe-leake.org>
3858 * lisp/emacs-lisp/package.el (package-autoload-ensure-default-file):
3859 `load-path' should contain only directory names.
3861 2015-10-23 Nicolas Petton <nicolas@petton.fr>
3863 New library thunk.el
3865 thunk.el is extracted from stream.el in ELPA, with additional tests.
3867 * lisp/emacs-lisp/thunk.el: New file.
3868 * test/automated/thunk-tests.el: New file.
3869 * etc/NEWS: Add information about thunk.el
3871 2015-10-23 Michael Albinus <michael.albinus@gmx.de>
3875 * lisp/filenotify.el (file-notify-rm-watch): Improve check for
3876 calling low-level functions.
3878 * test/automated/file-notify-tests.el (file-notify--test-timeout):
3879 Decrase to 6 seconds for remote directories.
3880 (file-notify-test02-events): Expect different number of
3881 `attribute-changed' events for the local and remote cases. Apply
3882 short delays between the operations, in order to receive all
3883 events in the remote case. Combine `attribute-change' tests.
3886 2015-10-23 Eli Zaretskii <eliz@gnu.org>
3888 Decode the HTML source when displaying it in EWW
3890 * lisp/net/eww.el (eww-view-source): Decode the HTML source
3891 according to its headers.
3893 2015-10-23 Nicolas Petton <nicolas@petton.fr>
3897 * etc/images/icons/hicolor/128x128/apps/emacs23.png:
3898 * etc/images/icons/hicolor/16x16/apps/emacs23.png:
3899 * etc/images/icons/hicolor/24x24/apps/emacs23.png:
3900 * etc/images/icons/hicolor/32x32/apps/emacs23.png:
3901 * etc/images/icons/hicolor/48x48/apps/emacs23.png:
3902 * etc/images/icons/hicolor/scalable/apps/emacs23.svg:
3903 * etc/images/icons/hicolor/scalable/mimetypes/emacs-document23.svg:
3904 Move the old logo files to emacs23.*.
3905 * etc/images/icons/hicolor/128x128/apps/emacs.png:
3906 * etc/images/icons/hicolor/16x16/apps/emacs.png:
3907 * etc/images/icons/hicolor/24x24/apps/emacs.png:
3908 * etc/images/icons/hicolor/32x32/apps/emacs.png:
3909 * etc/images/icons/hicolor/48x48/apps/emacs.png:
3910 * etc/images/icons/hicolor/scalable/apps/emacs.svg:
3911 * etc/images/icons/hicolor/scalable/mimetypes/emacs-document.svg:
3913 * etc/images/icons/README: Update the copyright information.
3915 2015-10-23 Eli Zaretskii <eliz@gnu.org>
3917 Fix redisplay of frame title when current buffer is killed
3919 * src/buffer.c (Fkill_buffer): Set windows_or_buffers_changed to a
3920 non-zero value, to redisplay more than just the affected windows.
3923 2015-10-23 Anders Lindgren <andlind@gmail.com>
3925 NextStep maximization and NSTRACE rewrite
3927 Full-height, full-width, and maximized windows now cover the
3928 entire screen (except the menu bar), including the part where the
3929 system dock is placed. The system zoom animation is no longer
3932 Made NonMaximized->FullWidth->FullHeight->NonMaximized restore the
3935 * src/nsterm.m (ns_menu_bar_height): New function, return height of
3936 the menu bar, or 0 when it's hidden.
3937 (constrain_frame_rect): New function for constraining a frame.
3938 (ns_constrain_all_frames): Set frame size explicitly rather than
3939 relying on the system doing it for us by writing back the current
3941 (windowWillUseStandardFrame): Register non-maximized width or
3942 height as new user size. When entering full width or height,
3943 the other size component is taken from the user size.
3944 (fullscreenState): New method for accessing the fullscreen state.
3945 (constrainFrameRect): Restrict frame to be placed under the menu bar,
3946 if present. The old version, sometimes, restricted the height of a
3947 frame to the screen, this version never does this.
3948 (zoom): Perform zoom by setting the frame to the full size of the
3949 screen (minus the menu bar). The default system function, with the
3950 zoom animation, is no longer used, as the final frame size doesn't
3951 cover the entire screen.
3953 Rework how to constrain resizing to the character grid. The old
3954 system used "resizeIncrements" in NSWindows. However, once a frame
3955 was resized so that it was not aligned to the text grid, it
3956 remained unaligned even after a resize. In addition, it conflicted
3957 when resizing a fullheight window.
3959 * src/nsterm.m (windowWillResize): Restrict frame size to text grid,
3960 unless when pixelwise frame resizing is enabled.
3961 (updateFrameSize, initFrameFromEmacs)
3962 (toggleFullScreen, handleFS): Don't set resizeIncrements.
3964 Redesign the NS trace system. The call structure is represented
3965 using indentations and vertical lines. The NSTRACE macro accepts
3966 printf-style arguments. New macros for printing various
3969 * src/nsterm.h (NSTRACE_ENABLED): Macro to enable trace system.
3970 (NSTRACE, NSTRACE_WHEN, NSTRACE_UNLESS): Macros to start a new
3971 block (typically a function), accept printf-style arguments.
3972 (NSTRACE_MSG): Macro for extra information, accepts
3973 printf-style arguments.
3974 (NSTRACE_what): Macros for printing various types.
3975 (NSTRACE_FMT_what): Macro with printf format string snippets.
3976 (NSTRACE_ARG_what): Macros for passing printf-style arguments,
3977 corresponds to NSTRACE_FMT_what.
3978 (NSTRACE_RETURN): Macro to print return value, accept
3979 printf-style arguments.
3980 (NSTRACE_RETURN_what): Macros to print return value for
3983 * nsterm.m: Remove old NSTRACE macro
3984 * src/nsterm.m (nstrace_num): Trace counter.
3985 (nstrace_depth): Current call depth.
3986 (nstrace_leave): NSTRACE support function, called when the
3987 local variable "nstrace_enabled" goes out of scope using the
3988 "cleanup" extension.
3989 (ns_print_fullscreen_type_name): NSTRACE_FSTYPE support function.
3990 (constrain_frame_rect, ns_constrain_all_frames)
3991 (ns_update_auto_hide_menu_bar, ns_update_begin)
3992 (ns_update_window_begin, update_window_end, ns_update_end)
3993 (ns_focus, ns_unfocus, ns_ring_bell, ns_frame_raise_lower)
3994 (ns_frame_rehighlight, x_make_frame_visible)
3995 (x_make_frame_invisible, x_iconify_frame, x_free_frame_resources)
3996 (x_destroy_window, x_set_offset, x_set_window_size)
3997 (ns_fullscreen_hook, ns_lisp_to_color, ns_color_to_lisp)
3998 (ns_defined_color, frame_set_mouse_pixel_position)
3999 (note_mouse_movement, ns_mouse_position, ns_frame_up_to_date)
4000 (ns_define_frame_cursor, x_get_keysym_name, ns_redraw_scroll_bars)
4001 (ns_clear_frame, ns_clear_frame_area, ns_scroll_run)
4002 (ns_after_update_window_line, ns_shift_glyphs_for_insert)
4003 (dumpcursor, ns_draw_vertical_window_border)
4004 (ns_draw_window_divider, ns_draw_relief)
4005 (ns_dumpglyphs_box_or_relief, ns_maybe_dumpglyphs_background)
4006 (ns_dumpglyphs_image, ns_draw_glyph_string, ns_send_appdefined)
4007 (ns_read_socket, ns_select, ns_set_vertical_scroll_bar)
4008 (ns_set_horizontal_scroll_bar, ns_condemn_scroll_bars)
4009 (ns_redeem_scroll_bar, ns_judge_scroll_bars, ns_delete_terminal)
4010 (ns_create_terminal, ns_term_init, sendEvent)
4011 (applicationDidFinishLaunching, applicationDidBecomeActive)
4012 (timeout_handler, fd_handler, EmacsView_dealloc, changeFont)
4013 (acceptsFirstResponder, resetCursorRects, keyDown, mouseDown)
4014 (deltaIsZero, rightMouseDown, otherMouseDown, mouseUp)
4015 (rightMouseUp, otherMouseUp, scrollWheel, mouseMoved)
4016 (mouse_autoselect_window, in_window, mouseDragged)
4017 (rightMouseDragged, otherMouseDragged, windowShouldClose)
4018 (updateFrameSize, windowWillResize, windowDidResize)
4019 (windowDidBecomeKey, windowDidResignKey, windowWillMiniaturize)
4020 (initFrameFromEmacs, windowDidMove, windowDidDeminiaturize)
4021 (windowDidExpose, windowDidMiniaturize, windowWillEnterFullScreen)
4022 (windowDidEnterFullScreen, windowWillExitFullScreen)
4023 (windowDidExitFullScreen, toggleFullScreen, handleFS, setFSValue)
4024 (mouseEntered, mouseExited, menuDown, toolbarClicked, drawRect)
4025 (draggingEntered, performDragOperation, validRequestorForSendType)
4026 (setMiniwindowImage, constrainFrameRect, performZoom, zoom)
4027 (EmacsScroller_initFrame, EmacsScroller_setFrame)
4028 (EmacsScroller_dealloc, condemn, reprieve, judge)
4029 (resetCursorRects, setPosition, EmacsScroller_mouseDown)
4030 (EmacsScroller_mouseDragged, syms_of_nsterm): Use new trace system.
4032 * nsfns.m: Remove old NSTRACE macro
4033 * src/nsfns.m (x_set_icon_name, ns_set_name, x_explicitly_set_name)
4034 (x_implicitly_set_name, x_set_title, ns_set_name_as_filename)
4035 (ns_implicitly_set_icon_type, x_set_icon_type): Use new trace system.
4037 * nsimage.m: Remove old NSTRACE macro
4038 * src/nsimage.m (ns_image_from_XBM, ns_image_for_XPM)
4039 (ns_image_from_bitmap_file, ns_load_image): Use new trace system.
4041 * nsmenu.m: Remove old NSTRACE macro
4042 * src/nsmenu.m (ns_update_menubar, ns_menu_show, ns_popup_dialog):
4043 Use new trace system.
4045 2015-10-22 Katsumi Yamaoka <yamaoka@jpl.org>
4047 No need to use eval-and-compile
4049 * lisp/gnus/auth-source.el: Do require epg (when compiling) before
4050 autoload epg functions.
4052 2015-10-22 Katsumi Yamaoka <yamaoka@jpl.org>
4054 Fix auth-source-epa-make-gpg-token compilation (bug#21724)
4056 * lisp/gnus/auth-source.el: Add eval-and-compile to autoloads for
4057 epg-context-set-passphrase-callback, epg-decrypt-string, and
4058 epg-encrypt-string; require epg when compiling for the setf-method
4059 for epg-context-armor. (bug#21724)
4061 2015-10-22 Eli Zaretskii <eliz@gnu.org>
4063 Include file cleanup for w32 files in src directory
4065 * src/w32xfns.c: Don't include keyboard.h, window.h, charset.h,
4066 fontset.h, blockinput.h.
4067 * src/w32uniscribe.c: Don't include dispextern.h, character.h,
4068 charset.h, fontset.h.
4069 * src/w32term.c: Don't include systty.h, systime.h, charset.h,
4070 character.h, ccl.h, dispextern.h, disptab.h, intervals.h,
4071 process.h, atimer.h, keymap.h, w32heap.h. Include bitmap/gray.xbm
4072 in an ifdef-ed away block.
4073 Include fcntl.h for CYGWIN.
4074 (set_frame_param): Remove unused function.
4075 * src/w32select.c: Don't include charset.h and composite.h.
4076 (setup_config, Fw32_get_clipboard_data): Avoid compiler warnings
4077 due to pointer signedness mismatches.
4078 * src/w32reg.c (w32_get_string_resource): Avoid compiler warnings
4079 due to pointer signedness mismatches.
4080 * src/w32proc.c: Include unistd.h. Don't include systime.h,
4081 process.h, dispextern.h.
4082 (sys_spawnve, Fw32_short_file_name, Fw32_long_file_name)
4083 (Fw32_application_type): Avoid compiler warnings due to pointer
4084 signedness mismatches.
4085 * src/w32menu.c: Don't include keymap.h, termhooks.h, window.h,
4086 character.h, charset.h, dispextern.h.
4087 (simple_dialog_show, add_menu_item): Avoid compiler warnings due
4088 to pointer signedness mismatches.
4089 * src/w32inevt.c: Don't include dispextern.h, window.h,
4090 termhooks.h, w32heap.h.
4091 * src/w32font.c: Don't include dispextern.h, character.h,
4092 charset.h, fontset.h, font.h.
4093 (intern_font_name, add_font_entity_to_list)
4094 (registry_to_w32_charset, w32_to_x_charset, fill_in_logfont)
4095 (list_all_matching_fonts): Avoid compiler warnings due to pointer
4096 signedness mismatches.
4097 * src/w32fns.c: Don't include character.h, intervals.h,
4098 dispextern.h, epaths.h, charset.h, ccl.h, fontset.h, systime.h,
4099 termhooks.h, w32heap.h, bitmap/gray.xbm, font.h, w32font.h.
4100 (w32_color_map_lookup, add_system_logical_colors_to_map)
4101 (x_decode_color, x_set_name, FPRINTF_WM_CHARS, Fxw_color_defined_p)
4102 (Fxw_color_values, x_display_info_for_name, Fset_message_beep)
4103 (x_create_tip_frame, Fx_file_dialog, Fsystem_move_file_to_trash)
4104 (w32_parse_hot_key, Ffile_system_info, w32_kbd_patch_key): Avoid
4105 compiler warnings, mainly due to pointer signedness mismatches.
4106 (unwind_create_frame_1): Remove unused function.
4107 * src/w32console.c: Don't include character.h, disptab.h, frame.h,
4108 window.h, termhooks.h, dispextern.h.
4109 (w32con_write_glyphs, w32con_write_glyphs_with_face): Fix pointer
4110 signedness mismatch.
4111 * src/w32.c: Include c-strcase.h and systty.h. Don't include
4114 2015-10-22 Tassilo Horn <tsdh@gnu.org>
4116 Improve doc-view wrt. auto-revert-mode
4118 * lisp/doc-view.el (doc-view-revert-buffer): Don't revert when file
4119 is corrupted (bug#21729).
4120 (doc-view-mode): Set doc-view-revert-buffer as revert-buffer-function.
4122 2015-10-22 Oleh Krehel <ohwoeowho@gmail.com>
4124 Describe dired-do-compress-to in the manual
4128 * lisp/dired-aux.el: Fix typo.
4130 * doc/emacs/dired.texi: Add entry.
4132 2015-10-22 Jürgen Hötzel <juergen@archlinux.org>
4134 Further fix for proper locale handling in tramp-gvfs.el
4136 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
4137 Just suppress LC_MESSAGES locale category settings.
4139 2015-10-21 Paul Eggert <eggert@cs.ucla.edu>
4141 New lispref section “Security Considerations”
4143 This attempts to document some of the issues recently discussed
4144 on emacs-devel, and to indicate other such issues. The section
4145 could be a lot longer.
4146 * doc/lispref/os.texi (Security Considerations):
4148 * doc/lispref/elisp.texi (Top):
4149 * doc/lispref/processes.texi (Shell Arguments):
4150 * lisp/subr.el (shell-quote-argument):
4151 * src/callproc.c (syms_of_callproc):
4154 2015-10-21 Paul Eggert <eggert@cs.ucla.edu>
4159 2015-10-18 stdalign: work around pre-4.9 GCC x86 bug
4160 2015-10-18 time_rz: avoid warning from bleeding-edge gcc's -Wnonnull
4161 * doc/misc/texinfo.tex, lib/stdalign.in.h, lib/time_rz.c:
4164 2015-10-21 Katsumi Yamaoka <yamaoka@jpl.org>
4166 * lisp/gnus/mailcap.el (mailcap-mime-data): Remove fboundp checks.
4167 (mailcap-viewer-passes-test): Do it instead. Thanks to Stefan Monnier.
4169 2015-10-21 Ken Brown <kbrown@cornell.edu>
4171 Further include-file cleanup
4173 * src/sheap.c: Include stdlib.h.
4174 * src/unexcw.c: Include string.h.
4176 2015-10-21 Eli Zaretskii <eliz@gnu.org>
4178 Fix logic in 'server-kill-emacs-query-function'
4180 * lisp/server.el (server-kill-emacs-query-function): Correct the
4181 logic that controls whether the user is asked for confirmation.
4184 2015-10-21 Artur Malabarba <bruce.connor.am@gmail.com>
4186 * lisp/isearch.el (isearch-search-fun-default): Simplify logic.
4187 (isearch--lax-regexp-function-p): New function.
4189 2015-10-21 Artur Malabarba <bruce.connor.am@gmail.com>
4191 * lisp/isearch.el: Support lax-whitespace in regexp-function searches.
4192 (isearch-search-fun-default): Let-bind `search-spaces-regexp'
4193 around `isearch-regexp-function'.
4195 2015-10-21 Artur Malabarba <bruce.connor.am@gmail.com>
4197 * lisp/isearch.el: Rename word search to regexp-function search.
4198 `isearch-word' went well beyond its original purpose, and the name
4199 no longer makes sense. It is now called
4200 `isearch-regexp-function', and its value should always be a function
4201 that converts a string to a regexp (though setting it to t is still
4203 (isearch-word): Make obsolete.
4204 (isearch-regexp-function): New variable.
4205 (isearch-mode, isearch-done, isearch--state, isearch--set-state)
4206 (with-isearch-suspended, isearch-toggle-regexp)
4207 (isearch-toggle-word, isearch-toggle-symbol)
4208 (isearch-toggle-character-fold, isearch-query-replace)
4209 (isearch-occur, isearch-highlight-regexp)
4210 (isearch-search-and-update, isearch-message-prefix)
4211 (isearch-search-fun-default, isearch-search)
4212 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4214 (isearch-lazy-highlight-regexp-function): New var.
4215 (isearch-lazy-highlight-word): Make obsolete.
4216 (isearch--describe-regexp-mode): New function.
4217 (isearch--describe-word-mode): Make obsolete.
4219 * lisp/info.el (Info-isearch-search):
4220 * lisp/replace.el (replace-search, replace-highlight):
4221 * lisp/obsolete/longlines.el (longlines-search-function):
4222 * lisp/hexl.el (hexl-isearch-search-function):
4223 * lisp/cedet/semantic/senator.el (senator-isearch-search-fun):
4226 2015-10-21 Oleh Krehel <ohwoeowho@gmail.com>
4228 Add dired-do-compress-to command bound to "c"
4230 * lisp/dired-aux.el (dired-shell-command): Use the caller's
4231 `default-directory', return the result of `process-file'.
4232 (dired-compress-file-suffixes): Add comment on why "tar -zxf" isn't
4234 (dired-compress-files-alist): New defvar.
4235 (dired-do-compress-to): New command.
4237 * lisp/dired.el (dired-mode-map): Bind `dired-do-compress-to' to "c".
4238 (dired-do-compress-to): Add an autoload entry.
4240 * etc/NEWS: Add two entries.
4242 2015-10-21 Tassilo Horn <tsdh@gnu.org>
4244 Make RefTeX work with LaTeX subfiles package
4246 * lisp/textmodes/reftex.el (reftex-TeX-master-file): Recognize subfiles
4247 document class argument as master file for referencing purposes.
4249 2015-10-21 Katsumi Yamaoka <yamaoka@jpl.org>
4251 * lisp/gnus/mailcap.el (mailcap-mailcap-entry-passes-test): Doc fix.
4253 2015-10-20 Paul Eggert <eggert@cs.ucla.edu>
4255 Include-file cleanup for src directory
4257 Omit ‘#include "foo.h"’ unless the file needs foo.h (Bug#21707).
4258 In a few cases, add ‘#include "foo.h"’ if the file needs foo.h
4259 but does not include it directly. As a general rule, a source
4260 file should include foo.h if it needs the interfaces that foo.h
4262 * src/alloc.c: Don’t include process.h. Include dispextern.h,
4264 * src/atimer.c: Don’t include blockinput.h.
4265 * src/buffer.c: Include coding.h, systime.h. Don’t include
4266 keyboard.h, coding.h.
4267 * src/callint.c: Don’t include commands.h, keymap.h.
4268 * src/callproc.c: Don’t include character.h, ccl.h, composite.h,
4269 systty.h, termhooks.h.
4270 * src/casetab.c: Don’t include character.h.
4271 * src/category.c: Don’t include charset.h, keymap.h.
4272 * src/ccl.h: Don’t include character.h.
4273 * src/character.c: Don’t include charset.h.
4274 * src/charset.c: Don’t include disptab.h.
4275 * src/chartab.c: Don’t include ccl.h.
4276 * src/cm.c: Don’t include frame.h, termhooks.h.
4277 * src/cmds.c: Don’t include window.h, dispextern.h.
4278 * src/coding.c: Don’t include window.h, frame.h.
4279 * src/composite.c: Include composite.h. Don’t include window.h,
4281 * src/data.c: Don’t include syssignal.h, termhooks.h, font.h.
4282 * src/dbusbind.c: Don’t include frame.h.
4283 * src/decompress.c: Don’t include character.h.
4284 * src/dired.c: Don’t include character.h, commands.h, charset.h.
4285 * src/dispnew.c: Don’t include character.h, indent.h, intervals.h,
4286 process.h, timespec.h. Include systime.h.
4287 * src/doc.c: Include coding.h. Don’t include keyboard.h.
4288 * src/editfns.c: Include composite.h. Don’t include frame.h.
4289 * src/emacs.c: Include fcntl.h, coding.h. Don’t include
4290 commands.h, systty.h..
4291 * src/fileio.c: Don’t include intervals.h, dispextern.h.
4292 Include composite.h.
4293 * src/filelock.c: Don’t include character.h, systime.h.
4294 * src/fns.c: Don’t include time.h, commands.h, keyboard.h,
4295 keymap.h, frame.h, blockinput.h, xterm.h. Include composite.h.
4296 * src/font.c: Include termhooks.h.
4297 * src/font.h: Don’t include ccl.h, frame.h. Add forward decls of
4298 struct composition_it, struct face, struct glyph_string.
4299 * src/fontset.c: Don’t include buffer.h, ccl.h, keyboard.h,
4300 intervals.h, window.h, termhooks.h.
4301 * src/frame.c: Don’t include character.h, commands.h, font.h.
4302 * src/frame.h: Don’t include dispextern.h.
4303 * src/fringe.c: Don’t include character.h.
4304 * src/ftcrfont.c: Don’t include dispextern.h, frame.h,
4305 character.h, charset.h, fontset.h.
4306 * src/ftfont.c: Don’t include frame.h, blockinput.h, coding.h,
4308 * src/ftxfont.c: Don’t include dispextern.h, character.h,
4309 charset.h, fontset.h.
4310 * src/gfilenotify.c: Don’t include frame.h, process.h.
4311 * src/gtkutil.c: Include dispextern.h, frame.h, systime.h.
4312 Don’t include syssignal.h, buffer.h, charset.h, font.h.
4313 * src/gtkutil.h: Don’t include frame.h.
4314 * src/image.c: Include fcntl.h and stdio.h instead of sysstdio.h.
4315 Don’t include character.h.
4316 * src/indent.c: Don’t include keyboard.h, termchar.h.
4317 * src/inotify.c: Don’t include character.h, frame.h.
4318 * src/insdel.c: Include composite.h. Don’t include blockinput.h.
4319 * src/intervals.c: Don’t include character.h, keyboard.h.
4320 * src/intervals.h: Don’t include dispextern.h, composite.h.
4321 * src/keyboard.c: Don’t include sysstdio.h, disptab.h, puresize.h.
4323 * src/keyboard.h: Don’t incldue systime.h.
4324 * src/keymap.c: Don’t include charset.h, frame.h.
4325 * src/lread.c: Include dispextern.h and systime.h.
4326 Don’t include frame.h. Include systime.h.
4327 * src/macros.c: Don’t include commands.h, character.h, buffer.h.
4328 * src/menu.c: Include character.h, coding.h. Don’t include
4330 * src/menu.h: Don’t include systime.h.
4331 * src/minibuf.c: Don’t include commands.h, dispextern.h, syntax.h,
4332 intervals.h, termhooks.h.
4333 * src/print.c: Include coding.h. Don’t include keyboard.h,
4334 window.h, dispextern.h, termchar.h, termhooks.h, font.h.
4335 Add forward decl of struct terminal.
4336 * src/process.c: Don’t include termhooks.h, commands.h,
4337 dispextern.h, composite.h.
4338 * src/region-cache.c: Don’t include character.h.
4339 * src/scroll.c: Don’t include keyboard.h, window.h.
4340 * src/search.c: Don’t include category.h, commands.h.
4341 * src/sound.c: Don’t include dispextern.h.
4342 * src/syntax.c: Don’t include command.h, keymap.h.
4343 * src/sysdep.c: Don’t include window.h, dispextern.h.
4344 * src/systime.h: Use ‘#ifdef emacs’, not ‘#ifdef EMACS_LISP_H’,
4345 * src/term.c: Don’t include systty.h, intervals.h, xterm.h.
4346 * src/terminal.c: Include character.h.
4347 Don’t include charset.h, coding.h.
4348 * src/textprop.c: Don’t include character.h.
4349 * src/undo.c: Don’t include character.h, commands.h, window.h.
4350 * src/unexsol.c: Don’t include character.h, charset.h.
4351 * src/widget.c: Include widget.h. Don’t include keyboard.h,
4352 window.h, dispextern.h, blockinput.h, character.h, font.h.
4353 * src/widgetprv.h: Don’t include widget.h.
4354 * src/window.c: Don’t include character.h, menu.h, intervals.h.
4355 * src/xdisp.c: Include composite.h, systime.h. Don’t include
4356 macros.h, process.h.
4357 * src/xfaces.c: Don’t include charset.h, keyboard.h, termhooks.h,
4359 * src/xfns.c: Don’t include menu.h, character.h, intervals.h,
4360 epaths.h, fontset.h, systime.h, atimer.h, termchar.h.
4361 * src/xfont.c: Don’t include dispextern.h, fontset.h, ccl.h.
4362 * src/xftfont.c: Don’t include dispextern.h, character.h, fontset.h.
4363 * src/xgselect.c: Don’t include timespec.h, frame.h.
4365 * src/xgselect.h: Don’t include time.h.
4366 Use a forward decl to struct timespec instead.
4367 * src/xmenu.c: Don’t include keymap.h, character.h, charset.h,
4368 dispextern.h. Include systime.h.
4369 * src/xml.c: Don’t include character.h.
4370 * src/xrdb.c [USE_MOTIF]: Don’t include keyboard.h.
4371 * src/xselect.c: Don’t include dispextern.h, character.h,
4372 buffer.h, process.h.
4373 * src/xsmfns.c: Don’t include systime.h, sysselect.h.
4374 * src/xterm.c: Don’t include syssignal.h, charset.h, disptab.h,
4375 intervals.h process.h, keymap.h, xgselect.h. Include composite.h.
4377 2015-10-20 Paul Eggert <eggert@cs.ucla.edu>
4379 (/ N) now returns the reciprocal of N
4381 This is more compatible with Common Lisp and XEmacs (Bug#21690). See:
4382 http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg01053.html
4383 * lisp/color.el (color-hue-to-rgb, color-hsl-to-rgb)
4384 (color-xyz-to-srgb, color-xyz-to-lab):
4385 * lisp/emacs-lisp/cl-extra.el (cl-float-limits):
4386 * lisp/net/shr-color.el (shr-color-hue-to-rgb)
4387 (shr-color-hsl-to-rgb-fractions):
4388 Exploit the change to simplify the code a bit.
4389 * lisp/emacs-lisp/bytecomp.el (byte-compile-quo):
4390 Don’t complain about single-argument calls to ‘/’.
4391 * src/data.c (arith_driver, float_arith_driver):
4392 Implement the change.
4394 2015-10-20 Dmitry Gutov <dgutov@yandex.ru>
4396 Call vc-dir-refresh after stash operations
4398 * lisp/vc/vc-git.el (vc-git-stash-apply-at-point)
4399 (vc-git-stash-pop-at-point): Call vc-dir-refresh (bug#13960).
4401 * lisp/vc/vc-dir.el (vc-dir-resynch-file): Expand FNAME as well,
4402 since it can be abbreviated (as returned by vc-find-root).
4404 2015-10-20 Dmitry Gutov <dgutov@yandex.ru>
4406 * lisp/vc/vc-svn.el:
4407 * lisp/vc/vc-mtn.el:
4409 * lisp/vc/vc-cvs.el:
4410 * lisp/vc/vc-git.el:
4411 * lisp/vc/vc-bzr.el: Don't declare vc-exec-after anymore.
4412 Its usages have been replaced with vc-run-delayed.
4414 2015-10-20 Dima Kogan <dima@secretsauce.net>
4416 Fix memory leak in fontset handling
4418 * src/font.c (copy_font_spec): Make a deep copy of the input
4419 argument FONT. (Bug#21651)
4421 2015-10-20 Michael Sperber <mike@xemacs.org>
4423 * lisp/gnus/mailcap.el (mailcap-mime-data):
4424 Conditonalize `doc-view-mode', which does not exist on XEmacs.
4426 2015-10-20 Oleh Krehel <ohwoeowho@gmail.com>
4428 Update the way directories are compressed
4430 * lisp/dired-aux.el (dired-compress-file-suffixes): Update the recipe
4431 for *.tar.gz decompression to use a pipe.
4432 Add an entry for the default directory compression (to *.tar.g).
4433 (dired-compress-file): Update.
4435 See https://lists.gnu.org/archive/html/emacs-devel/2015-10/msg00949.html.
4437 2015-10-20 Michael Sperber <mike@xemacs.org>
4439 Unbreak `group' option for `mail-sources'
4441 * nnml.el (nnml-retrieve-groups, nnml-request-scan):
4442 * nnmail.el (nnmail-get-new-mail-per-group)
4443 (nnmail-get-new-mail-1): Unbreak `group' option for `mail-sources'.
4445 2015-10-19 Nicolas Petton <nicolas@petton.fr>
4447 New function seq-position
4449 * lisp/emacs-lisp/seq.el (seq-position): New function.
4450 * test/automated/seq-tests.el: New tests for seq-position.
4451 * doc/lispref/sequences.texi: Add documentation for `seq-position'.
4453 2015-10-19 Ken Brown <kbrown@cornell.edu>
4455 Enable --with-wide-int build on 32-bit Cygwin
4457 * src/sheap.c (STATIC_HEAP_SIZE): Remove distinction between x86
4458 and x86_64 to enable --with-wide-int build on 32-bit Cygwin.
4460 2015-10-19 Glenn Morris <rgm@gnu.org>
4462 * doc/emacs/ack.texi (Acknowledgments): Small, sad, update.
4464 2015-10-19 Eli Zaretskii <eliz@gnu.org>
4466 Resurrect image loading under auto-image-file-mode
4468 * src/image.c (x_find_image_fd): Handle the case of -2 returned by
4469 'openp' specially. This special case was lost in the changes on
4470 2015-08-18. (Bug#21685)
4472 2015-10-19 Eli Zaretskii <eliz@gnu.org>
4474 Fix return value of 'set-file-extended-attributes'
4476 * lisp/files.el (set-file-extended-attributes): Return non-nil
4477 when setting either ACLs or SELinux context succeeds. Document
4478 the return value. (Bug#21699)
4480 * doc/lispref/files.texi (Changing Files): Document the return
4481 value of set-file-extended-attributes.
4483 2015-10-19 Eli Zaretskii <eliz@gnu.org>
4485 Improve documentation of functions that change files
4487 * doc/lispref/files.texi (Changing Files): Document that these
4488 functions signal an error on failure.
4490 2015-10-18 Eli Zaretskii <eliz@gnu.org>
4492 Fix doc string of 'shell-quote-argument'
4494 * lisp/subr.el (shell-quote-argument): Doc fix. (Bug#21702)
4496 2015-10-18 Michael Albinus <michael.albinus@gmx.de>
4498 Some minor Tramp changes
4500 * doc/misc/tramp.texi (Obtaining Tramp): Add http git cloning.
4502 * lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
4503 Expand `tramp-auto-save-directory'.
4505 2015-10-18 Michael Albinus <michael.albinus@gmx.de>
4507 Minor edits in Tramp
4509 * lisp/net/tramp-adb.el (directory-listing-before-filename-regexp):
4512 * lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
4515 2015-10-17 Mark Oteiza <mvoteiza@udel.edu>
4517 * lisp/emacs-lisp/eldoc.el: Add back-to-indentation to the command list.
4519 2015-10-17 Eli Zaretskii <eliz@gnu.org>
4521 Avoid crashes when redisplayng a window changes faces or fonts
4523 * src/xdisp.c (redisplay_internal): If redisplaying the selected
4524 window or one of the frames turns on the frame's 'redisplay' flag,
4525 redisplay again. (Bug#21428)
4527 * src/frame.c (x_set_font): Set the frame's 'fonts_changed' flag.
4529 2015-10-17 Michael Albinus <michael.albinus@gmx.de>
4531 Solve timimg issues in file-notify-tests.el
4533 * test/automated/file-notify-tests.el (file-notify-test02-events):
4534 Rectify `attribute-change' tests. There are timing issues with
4535 gfilenotify. (Bug#21669)
4537 2015-10-16 Paul Eggert <eggert@cs.ucla.edu>
4539 Fix quoting of data within htmlfontify doc
4541 * doc/misc/htmlfontify.texi (Data Structures, Customization):
4542 Fix quoting of data structures. A Lisp quote is needed only
4543 when data appears within Lisp code.
4545 2015-10-16 Artur Malabarba <bruce.connor.am@gmail.com>
4547 * lisp/emacs-lisp/package.el: Reload archive-contents if
4549 (package--old-archive-priorities): New variable.
4550 (package-read-all-archive-contents, package-menu--refresh): Use it
4551 to decide when the `package-archive-contents' needs to be read
4554 2015-10-16 Paul Eggert <eggert@cs.ucla.edu>
4556 Make src headers idempotent and standalone
4558 Redo src/*.h so that each include file is idempotent (that is, can
4559 be included multiple times with the latter inclusions having no
4560 effect) and standalone (that is, can be included by itself,
4561 with no include file other than config.h needed as a prerequisite).
4562 This is standard practice in GNU programs nowadays.
4563 * lwlib/lwlib-widget.h, src/buffer.h, src/category.h, src/character.h:
4564 * src/charset.h, src/coding.h, src/commands.h, src/disptab.h:
4565 * src/fontset.h, src/gnutls.h, src/indent.h, src/keymap.h, src/macros.h:
4566 * src/regex.h [emacs]:
4567 * src/syntax.h, src/systty.h, src/termhooks.h:
4568 Include lisp.h, for Lisp_Object.
4569 * src/buffer.h, src/category.h, src/cm.h, src/commands.h, src/disptab.h:
4570 * src/indent.h, src/intervals.h, src/keyboard.h, src/macros.h:
4571 * src/process.h, src/puresize.h, src/region-cache.h, src/syntax.h:
4572 * src/syssignal.h, src/sysstdio.h, src/systty.h, src/termchar.h:
4573 * src/termopts.h, src/tparam.h, src/unexec.h:
4574 Protect against multiple inclusion.
4575 * src/buffer.h: Include character.h, for STRING_CHAR.
4576 * src/emacsgtkfixed.h (struct frame):
4577 * src/fontset.h (struct face):
4578 * src/region-cache.h (struct buffer):
4579 * src/termhooks.h (struct glyph):
4580 * src/xsettings.h (struct x_display_info):
4581 Add possibly-forward decl.
4582 * src/syntax.h: Include buffer.h, for BVAR.
4583 * src/sysselect.h: Include lisp.h, for eassume.
4584 * src/termchar.h: Include <stdio.h>, for FILE.
4585 * src/widget.h: Include <X11/IntrinsicP.h>, for Widget.
4586 * src/xsettings.h: Include <X11/Xlib.h>, for XEvent.
4588 2015-10-16 Jürgen Hötzel <juergen@archlinux.org>
4590 Handle symlink targets containing spaces in tramp-gvfs.el
4592 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
4593 Handle symlink targets containing spaces.
4595 2015-10-16 Artur Malabarba <bruce.connor.am@gmail.com>
4597 * lisp/custom.el (custom-theme-load-path): Demote to defvar.
4599 `custom-theme-load-path' was a defcustom, but it shouldn't be for the
4600 same reason that `load-path' shouldn't. Setting it via the customize
4601 interface is a trap for the user.
4603 Installed themes commonly add themselves to this variable, which means
4604 its value is not fit for being saved (it will permanently remember dirs
4605 that don't exist anymore).
4607 This is aggravated by the fact that Emacs always applies the `user'
4608 theme on top of any theme that's loaded, since this will apply the old
4609 variable value and remove any new directories that had been recently
4610 added by themes themselves.
4612 Not to mention, we already have `custom-theme-directory', which is safe
4615 2015-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
4617 * lisp/mpc.el: Rename the new toggling commands.
4618 (mpc-toggle-consume, mpc-toggle-repeat, mpc-toggle-single)
4619 (mpc-toggle-shuffle): Add "-toggle" in the name.
4621 2015-10-16 Eli Zaretskii <eliz@gnu.org>
4623 Improve the doc string of 'completion-boundaries'
4625 * lisp/minibuffer.el (completion-boundaries): Rename the argument
4626 TABLE to COLLECTION, for consistency with other high-level
4627 completion functions. Document how COLLECTION is called if it
4628 is a function. (Bug#21644)
4630 2015-10-16 Oleh Krehel <ohwoeowho@gmail.com>
4632 * lisp/dired-aux.el (dired-shell-command): Fix compile warning.
4634 2015-10-16 Oleh Krehel <ohwoeowho@gmail.com>
4636 Make dired-do-compress work for *.zip files
4638 * lisp/dired-aux.el (dired-check-process): Transform the top-level
4639 comment into a docstring.
4640 (dired-shell-command): New command. This mirrors
4641 `dired-check-process', but is more user-friendly for passing
4643 (dired-compress-file-suffixes): Allow to specify the command switches
4644 along with input (%i) and output (%o) inside the PROGRAM part.
4645 Add an entry for *.zip files, and update the entry for *.tar.gz files
4646 to the new style. Update the docstring.
4647 (dired-compress-file): When PROGRAM matches %i or %o, use the new
4649 (dired-update-file-line): Avoid an error when at end of buffer.
4653 2015-10-16 Eli Zaretskii <eliz@gnu.org>
4655 Minor improvement in documentation of internals
4657 * doc/lispref/internals.texi (Writing Emacs Primitives): Document QUIT.
4659 2015-10-16 Eli Zaretskii <eliz@gnu.org>
4661 Improve documentation of COLLECTION in completion functions
4663 * doc/lispref/minibuf.texi (Minibuffer Completion): Add a
4664 cross-reference to "Programmed Completion".
4666 * src/minibuf.c (Fcompleting_read): Improve the doc string.
4669 2015-10-16 Eli Zaretskii <eliz@gnu.org>
4671 Add more release info to etc/HISTORY
4673 * etc/HISTORY: Add more release information about 19.x and 20.x
4676 2015-10-15 Paul Eggert <eggert@cs.ucla.edu>
4678 New file etc/HISTORY
4680 * admin/FOR-RELEASE: Procedure for etc/HISTORY.
4681 * etc/HISTORY: New file.
4682 * etc/NEWS: Mention it.
4684 2015-10-15 Dmitry Gutov <dgutov@yandex.ru>
4686 js-mode: Don't misindent generator methods
4688 * lisp/progmodes/js.el (js--looking-at-operator-p): Distinguish
4689 generator methods from multiplication operator
4690 (https://github.com/mooz/js2-mode/issues/275).
4692 2015-10-15 Paul Eggert <eggert@cs.ucla.edu>
4694 Fix animation timeout delay calculation
4696 * lisp/image.el (image-animate-timeout):
4697 Don’t assume speed is floating-point.
4699 2015-10-15 Mark Oteiza <mvoteiza@udel.edu>
4701 Add commands for controlling MPD modes
4703 * lisp/mpc.el (mpc-cmd-consume, mpc-cmd-random, mpc-cmd-repeat)
4704 (mpc-cmd-single): New functions.
4705 (mpc-consume, mpc-repeat, mpc-single, mpc-shuffle): New commands.
4706 (mpc-mode-menu): Add new commands as menu items.
4708 2015-10-15 Dmitry Gutov <dgutov@yandex.ru>
4710 Refer to `(elisp)Basic Completion' in completing-read docstring
4712 * src/minibuf.c (Fcompleting_read): Refer to `(elisp)Basic
4713 Completion' in the docstring (bug#21644).
4715 2015-10-14 Mark Oteiza <mvoteiza@udel.edu>
4717 * lisp/mpc.el (mpc-format): Always push form to pred
4719 2015-10-14 Paul Eggert <eggert@cs.ucla.edu>
4723 * configure.ac (bitmapdir): Fix misspelling of bmd_acc.
4724 * test/automated/coding-tests.el (ert-test-coding-bogus-coding-systems):
4725 Fix misspelling of nonexistent file name.
4727 2015-10-14 Mark Oteiza <mvoteiza@udel.edu>
4729 * lisp/mpc.el (mpc-mode-menu, mpc-toggle-play): Fix docstrings
4731 2015-10-14 Michael Albinus <michael.albinus@gmx.de>
4733 Some editing fixes in Tramp
4735 * lisp/net/tramp-gvfs.el:
4736 * doc/misc/tramp.texi: "customer option" -> "custom option".
4738 * lisp/net/tramp.el (tramp-completion-function-alist): Fix docstring.
4740 2015-10-14 Jürgen Hötzel <juergen@archlinux.org>
4742 Use proper localization in tramp-gvfs.el
4744 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
4745 Suppress localized settings in order to proper parse gfvs output.
4747 2015-10-14 Warren Lynn <wrn.lynn@gmail.com> (tiny change)
4749 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4750 Quote argument in proper order. (Bug#21562)
4752 2015-10-14 Nicolas Petton <nicolas@petton.fr>
4754 Fix typos in docstrings
4756 * lisp/emacs-lisp/map.el:
4757 * lisp/emacs-lisp/seq.el: Fix typos in the docstrings of the pcase
4760 2015-10-14 Mark Oteiza <mvoteiza@udel.edu>
4762 * lisp/mpc.el (mpc-volume-refresh): Check if buffer is live.
4764 2015-10-14 Oleh Krehel <ohwoeowho@gmail.com>
4766 Make dired-jump work with tar-subfile-mode
4768 * lisp/dired-x.el (dired-jump): When in `tar-subfile-mode', instead of
4769 emitting an error, switch to `tar-superior-buffer'.
4771 2015-10-14 Juanma Barranquero <lekktu@gmail.com>
4773 * .gitignore: Add build-aux/ar-lib.
4775 2015-10-14 Nicolas Petton <nicolas@petton.fr>
4777 Better docstrings in seq.el and map.el
4779 * lisp/emacs-lisp/map.el:
4780 * lisp/emacs-lisp/seq.el: Improve the docstring for the pcase patterns.
4782 2015-10-14 Paul Eggert <eggert@cs.ucla.edu>
4787 2015-10-13 binary-io, u64, unistd: port to strict C
4788 2015-09-26 c-ctype: do not worry about EBCDIC + char signed
4789 2015-09-25 c-ctype: port better to z/OS EBCDIC
4790 2015-09-25 gnulib-common.m4: fix gl_PROG_AR_RANLIB/AM_PROG_AR clash
4791 * doc/misc/texinfo.tex, lib/binary-io.c, lib/c-ctype.h, lib/u64.c:
4792 * lib/unistd.c, m4/gnulib-common.m4, m4/gnulib-comp.m4:
4795 2015-10-14 Paul Eggert <eggert@cs.ucla.edu>
4799 * src/alloc.c (PURE_POINTER_P): Remove.
4800 All uses replaced with PURE_P.
4801 (XPNTR_OR_SYMBOL_OFFSET): New function.
4802 (XPNTR): Move here from lisp.h.
4803 Reimplement in terms of XPNTR_OR_SYMBOL_OFFSET.
4804 (mark_maybe_object, valid_lisp_object_p, survives_gc_p):
4805 Remove unnecessary cast.
4806 (purecopy): Use XPNTR_OR_SYMBOL_OFFSET instead of XPNTR,
4807 to avoid an unnecessary runtime test for symbols.
4808 * src/lisp.h (lisp_h_XPNTR, XPNTR): Remove, moving XPNTR to alloc.c.
4809 Only alloc.c needs XPNTR now.
4811 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
4813 Add MPC play/pause command
4815 * lisp/mpc.el (mpc-toggle-play): New command.
4816 (mpc-mode-map): Bind it to "s".
4817 (mpc-mode-menu): Add corresponding menu item.
4819 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
4821 Add bindings and menu items for prev and next tracks
4823 * lisp/mpc.el (mpc-mode-map): Bind ">" to mpc-next,
4825 (mpc-mode-menu): Add corresponding menu items
4827 2015-10-13 Ken Raeburn <raeburn@raeburn.org>
4829 Reduce face-related consing during frame creation.
4831 * faces.el (face--attributes-unspecified): Compute the "unspecified"
4832 attribute list once.
4833 (face-spec-reset-face): Use it instead of building the list.
4835 2015-10-13 Ken Raeburn <raeburn@permabit.com>
4837 Do process ConfigureNotify events indicating size changes.
4839 * src/xterm.c (handle_one_xevent): If consecutive ConfigureNotify
4840 events don't have the same size, process each one.
4842 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
4844 Derive mpc-mode from special-mode
4846 lisp/mpc.el (mpc-mode-map): Make from sparse keymap. Unbind g.
4847 (mpc-mode): Derive from special mode.
4848 (mpc-songs-mode-map): Don't set parent keymap.
4850 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
4852 Fix error messages for when covers are not found.
4854 The last change to mpc-format let the binding to file call
4855 mpc-file-local-copy with nil argument. Instead, employ if-let here
4856 so nil bindings don't result in needless computation and errors.
4857 * lisp/mpc.el: Require 'subr-x at compile time.
4858 * lisp/mpc.el (mpc-format): Use if-let.
4860 2015-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4862 Make dired-do-compress work for *.tar.gz files
4864 * lisp/dired-aux.el (dired-compress-file-suffixes): Associate
4865 "tar -zxvf" to *.tar.gz; update docstring.
4867 (dired-compress-file): Allow to specify switches after the command in
4868 `dired-compress-file-suffixes'.
4870 2015-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4872 Make dired-do-compress work for directories
4874 * lisp/dired-aux.el (dired-compress-file): When FILE is a directory,
4875 instead of emitting an error, call "tar -czf FILE.tar.gz FILE".
4876 Also convert the top comment into a docstring.
4878 2015-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4880 * lisp/mpc.el (mpc-songs-refresh): Don't side-effect `active'
4882 ... since it might come straight from the memoizing table.
4884 2015-10-13 Juanma Barranquero <lekktu@gmail.com>
4886 * src/w32fns.c (x_change_tool_bar_height): Remove unused variable frame.
4888 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
4890 Use special-mode in eww list modes
4892 * lisp/net/eww.el (eww-bookmark-mode, eww-history-mode)
4893 (eww-buffers-mode): Derive from special-mode and remove redundant
4894 setting of buffer-read-only.
4895 (eww-mode-map): Remove redundant keymap parent setting.
4896 (eww-bookmark-mode-map, eww-history-mode-map, eww-buffers-mode-map):
4897 Remove redundant keymap suppressions and mappings.
4899 2015-10-13 Martin Rudalics <rudalics@gmx.at>
4901 Allow setting frame pixel sizes from frame parameters (Bug#21415)
4903 Also fix some misfeatures in frame (re-)sizing code, add more
4904 debugging information and remove some dead code.
4906 * lisp/frame.el (frame-notice-user-settings, make-frame): Change
4907 parameter names when setting `frame-size-history'.
4908 (frame--size-history): New function.
4910 * src/frame.c (frame_inhibit_resize): If frame has not been made
4911 yet, return t if inhibit_horizontal_resize or
4912 inhibit_vertical_resize bit have been set.
4913 (adjust_frame_size): Simplify.
4914 (make_frame): Initialize inhibit_horizontal_resize,
4915 inhibit_vertical_resize, tool_bar_redisplayed, tool_bar_resized.
4916 (Fframe_after_make_frame): Reset inhibit_horizontal_resize and
4917 inhibit_vertical_resize slots.
4918 (x_set_frame_parameters): Handle `text-pixels' specification for
4919 width and height parameters. Don't consider new_height or
4920 new_width changes. Call adjust_frame_size instead of
4922 (x_figure_window_size): Two new arguments x_width and y_width
4923 returning frame's figures width and height. Calculate tool bar
4924 height before frame sizes so SET_FRAME_HEIGHT can pick it up.
4925 Handle `text-pixels' specification for width and height
4927 (Qtext_pixels, Qx_set_frame_parameters, Qset_frame_size)
4928 (Qx_set_window_size_1, Qx_set_window_size_2)
4929 (Qx_set_window_size_3, Qx_set_menu_bar_lines)
4930 (Qupdate_frame_menubar, Qfree_frame_menubar_1)
4931 (Qfree_frame_menubar_2): New symbols.
4932 * src/frame.h (structure frame): New booleans
4933 tool_bar_redisplayed, tool_bar_resized,
4934 inhibit_horizontal_resize, inhibit_vertical_resize.
4935 (x_figure_window_size): Update external declaration.
4936 * src/gtkutil.c (xg_frame_set_char_size): Set size hints before
4937 calling gtk_window_resize.
4938 (update_frame_tool_bar): Make inhibiting of frame resizing more
4939 discriminative. Set tool_bar_resized bit.
4940 * src/nsfns.m (x_set_tool_bar_lines): Make inhibiting of frame
4941 resizing more discriminative. Call adjust_frame_size instead of
4943 (Fx_create_frame): Handle x_width and x_height if
4944 set by x_figure_window_size.
4945 * src/nsterm.m (x_set_window_size): For GNUSTEP build don't
4946 subtract 3 from tool bar height.
4947 (x_set_window_size): Add frame_size_history_add call.
4948 (x_new_font): Call adjust_frame_size instead of
4950 * src/w32fns.c (x_change_tool_bar_height): Reset
4951 tool_bar_redisplayed and tool_bar_resized bits when adding tool
4952 bar. Make inhibiting of frame resizing more discriminative.
4953 (w32_wnd_proc): Remove dead code in WM_WINDOWPOSCHANGING case.
4954 (Fx_create_frame): Handle x_width and x_height if set by
4955 x_figure_window_size. Set size hints before adjusting frame size.
4956 (x_create_tip_frame): Adjust x_figure_window_size call.
4957 * src/w32term.c (x_set_window_size): Add frame_size_history_add
4959 * src/widget.c (set_frame_size): Remove dead code. Add
4960 frame_size_history_add call. When frame_resize_pixelwise is t
4961 use FRAME_PIXEL_WIDTH and FRAME_PIXEL_HEIGHT instead of
4962 pixel_width and pixel_height.
4963 (update_various_frame_slots): Remove dead code.
4964 (EmacsFrameResize): Add more information in
4965 frame_size_history_add call.
4966 (EmacsFrameQueryGeometry): Round only when frame_resize_pixelwise
4968 * src/xdisp.c (redisplay_tool_bar): Set tool_bar_redisplayed bits.
4969 * src/xfns.c (x_set_menu_bar_lines): Change argument name.
4970 (x_change_tool_bar_height): Reset tool_bar_redisplayed and
4971 tool_bar_resized bits when adding tool bar. Make inhibiting of
4972 frame resizing more discriminative.
4973 (Fx_create_frame): Handle x_width and x_height if set by
4974 x_figure_window_size. Set size hints before adjusting frame size.
4975 (x_create_tip_frame): Adjust x_figure_window_size call.
4976 * src/xmenu.c (update_frame_menubar): Don't handle Lucid specially.
4977 (set_frame_menubar): On Lucid never add core-border-width to
4978 avoid that adding XtNinternalBorderWidth adds it again.
4979 (free_frame_menubar): Handle frame_inhibit_resize true for Motif.
4980 * src/xterm.c (x_new_font): In non-toolkit case handle size
4982 (x_set_window_size_1): Fix calls to frame_size_history_add.
4983 (x_wm_set_size_hint): Remove dead code. Set
4984 size_hints.min_width and size_hints.min_height to base_width and
4987 2015-10-13 Michael Albinus <michael.albinus@gmx.de>
4989 * test/automated/file-notify-tests.el (file-notify--test-timeout):
4990 Add docstring. Increase to 10 seconds for remote
4991 directories. (Bug#21669)
4993 2015-10-12 Paul Eggert <eggert@cs.ucla.edu>
4995 Unmacroize ebrowse.c and etags.c a bit
4997 * lib-src/ebrowse.c (READ_CHUNK_SIZE): Now an enum constant.
4998 (streq, filename_eq, set_flag, has_flag): Now inline functions.
4999 (set_flag): First arg is now an address, not an lvalue.
5000 All callers changed.
5001 (filename_eq, set_flag, has_flag):
5002 Rename from FILENAME_EQ, SET_FLAG, HAS_FLAG.
5003 All callers changed.
5004 * lib-src/etags.c (streq, strcaseeq, strneq, strncaseeq):
5005 Now inline functions. Remove asserts that are unnecessary these
5006 days (and in some cases were too-generous anyway).
5008 2015-10-12 Mark Oteiza <mvoteiza@udel.edu>
5010 Use highlight for current items
5012 * lisp/mpc.el (mpc-select-make-overlay, mpc-tagbrowser-all-select):
5013 Apply highlight face instead of region face.
5015 2015-10-12 Mark Oteiza <mvoteiza@udel.edu>
5017 Search for more cover image names in MPC
5019 * lisp/mpc.el (mpc-format): Also look for .folder.jpg or folder.jpg
5022 2015-10-12 Juanma Barranquero <lekktu@gmail.com>
5024 Remove or comment out unused variables
5026 * src/w32fns.c (x_set_mouse_color): Comment out variables cursor,
5027 nontext_cursor, mode_cursor, hand_cursor and count.
5028 (x_change_tool_bar_height): Remove variable old_text_height.
5029 (deliver_wm_chars): Remove variable strip_Alt.
5030 (Fw32_shell_execute): Remove variable document_a.
5031 (Fw32_frame_geometry): Remove variable fullboth.
5032 * src/w32term.c (w32_setup_relief_color): Comment out variable
5034 (w32_horizontal_scroll_bar_handle_click): Remove variables start, end.
5035 (w32_read_socket): Comment out variables rows, columns.
5036 * src/w32uniscribe.c (uniscribe_check_otf_1): Remove variable rest.
5038 2015-10-12 Juanma Barranquero <lekktu@gmail.com>
5040 * src/w32proc.c (sys_select): Fix bitwise test.
5042 2015-10-12 Eli Zaretskii <eliz@gnu.org>
5044 Minor typo corrections in doc strings
5046 * lisp/menu-bar.el (popup-menu, popup-menu-normalize-position):
5049 2015-10-12 Eli Zaretskii <eliz@gnu.org>
5051 * nt/INSTALL: Recommend MSYS Automake/Autoconf from ezwinports.
5053 2015-10-12 Eli Zaretskii <eliz@gnu.org>
5055 Attempt to avoid crashes in plist-member
5057 * src/fns.c (Fplist_member): Don't call QUIT between a CONSP test
5058 and a call to XCDR. (Bug#21655)
5060 2015-10-12 Mike FABIAN <mfabian@redhat.com>
5062 * lisp/select.el (gui-get-primary-selection): In
5063 gui-get-primary-selection use gui--selection-value-internal (Bug#20906)
5065 2015-10-12 Tassilo Horn <tsdh@gnu.org>
5067 Support RTF in doc-view
5069 * lisp/doc-view.el (doc-view-set-doc-type): Add entry for RTF extension.
5071 2015-10-12 Juanma Barranquero <lekktu@gmail.com>
5073 * src/w32fns.c (get_wm_chars): Increment counter, not pointer.
5075 2015-10-11 Nicolas Petton <nicolas@petton.fr>
5077 Replace the usage of an obsolete function in auth-source.el
5079 * lisp/gnus/auth-source.el (auth-source-epa-make-gpg-token):
5080 Replace an usage of `epg-context-set-armor' with `setf'.
5082 2015-10-11 Nicolas Petton <nicolas@petton.fr>
5084 * lisp/gnus/auth-source.el: Use sharp-quoting with functions.
5086 2015-10-11 Jay Belanger <jay.p.belanger@gmail.com>
5088 Have calc-yank recognize numbers in different bases.
5090 * lisp/calc/calc-yank.el (math-number-regexp): New function.
5091 (calc-yank): Use `math-number-regexp' to recognize numbers.
5093 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
5095 Handle an opaque-move X11 window manager operation more efficiently
5097 * src/xterm.c (handle_one_xevent): If a ConfigureNotify event is
5098 followed by more ConfigureNotify events for the same window, process
5101 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
5103 Fix cursor setting for tip frame; re-enable cursor generation
5105 * src/xfns.c (x_create_tip_frame): Include the cursor in the window
5106 attributes sent when creating the new X window. Don't skip setting
5107 the pointerColor parameter.
5109 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
5111 Rewrite x_set_mouse_color to sync less
5113 We can track serial numbers of X requests and correlate error events
5114 with the associated requests. This way we can identify errors for
5115 specific calls without having to use XSync after every one.
5117 * src/xfns.c (enum mouse_cursor): New type.
5118 (struct mouse_cursor_types, struct mouse_cursor_data): New types.
5119 (mouse_cursor_types): New array listing the Lisp variables and default
5120 cursor appearances for each cursor type.
5121 (x_set_mouse_color_handler): New function; checks error event serial
5122 number against submitted requests.
5123 (x_set_mouse_color): Updated to use the new error handler callback,
5124 and to be more table-driven, to simplify repetitious code.
5126 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
5128 Add x_catch_errors_with_handler
5130 * src/xterm.c (struct x_error_message_stack): Add new fields for a
5131 callback function and associated data pointer.
5132 (x_error_catcher): If the callback function is set, call it after
5133 saving the error message string.
5134 (x_catch_errors_with_handler): Renamed from x_catch_errors but now
5135 accepts a callback function and data pointer.
5136 (x_catch_errors): Now a wrapper function.
5137 * src/xterm.h (x_special_error_handler): New typedef.
5138 (x_catch_errors_with_handler): Declare.
5140 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
5142 Introduce x_uncatch_errors_after_check to reduce XSync calls
5144 Both x_had_errors_p and x_check_errors call XSync, so if they're
5145 immediately followed by x_uncatch_errors, its XSync call will be
5146 redundant, resulting in a wasted round trip to the X server.
5148 * src/xterm.c (x_uncatch_errors_after_check): New routine; a copy of
5149 x_uncatch_errors without the XSync call.
5150 (XTmouse_position, x_wm_supports):
5151 * src/xfns.c (x_set_mouse_color):
5152 * src/xmenu.c (Fx_menu_bar_open_internal):
5153 * src/xselect.c (x_own_selection, x_get_foreign_selection):
5154 (Fx_get_atom_name): Call it instead of x_uncatch_errors.
5155 * src/xterm.h (x_uncatch_errors_after_check): Declare.
5157 2015-10-10 Jay Belanger <jay.p.belanger@gmail.com>
5159 Document the optional prefix to `calc-yank'
5161 * doc/misc/calc.texi (Yanking into the Stack): Document the optional
5162 prefix to `calc-yank'.
5163 * lisp/calc/calc-yank.el (calc-yank): Ensure that things killed from
5164 the Calc buffer are yanked back unchanged.
5166 2015-10-10 Mark Oteiza <mvoteiza@udel.edu>
5168 * lisp/calendar/calendar.el: Display buffer before executing body.
5170 In each use of this macro, the modeline is derived from a window width
5171 calculation, which will be wrong if (display-buffer) splits the window
5174 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
5176 Use ‘echo’ safely with ‘\’ or leading ‘-’
5178 POSIX says that ‘echo FOO’ produces implementation-defined output
5179 if FOO contains leading ‘-’, or ‘\’ anywhere, so don’t assume GNU
5180 behavior in that case.
5181 * Makefile.in (removenullpaths): Remove.
5182 (epaths-force): Rewrite to avoid the need for ‘echo’.
5183 (install-etc): Be clearer about escaping the shell metacharacters
5185 * Makefile.in (install-arch-indep, install-etcdoc):
5186 * admin/charsets/mapconv, admin/merge-gnulib, admin/merge-pkg-config:
5187 * admin/quick-install-emacs, build-aux/gitlog-to-emacslog:
5188 * configure.ac, lib-src/rcs2log, make-dist:
5189 * src/Makefile.in (lisp.mk):
5190 Don’t assume ‘echo’ outputs ‘\’ and leading ‘-’ unscathed.
5191 For example, use ‘printf '%s\n' "$foo"’ rather than ‘echo "$foo"’
5192 if $foo can contain arbitrary characters.
5193 * lisp/Makefile.in (TAGS): Use ‘ls’, not ‘echo’, to avoid ‘\’ issues.
5194 * doc/lispref/two-volume.make (vol1.pdf):
5195 * test/etags/make-src/Makefile (web ftp publish):
5196 Use ‘printf’ rather than ‘echo -e’.
5198 2015-10-10 Kaushal Modi <kaushal.modi@gmail.com>
5200 Allow numbers with different radixes to be yanked.
5202 * lisp/calc/calc-yank.el (calc-yank): Allow radixes besides the
5205 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
5207 Improve CHECK_IMPURE and PURE_P speedup
5209 * src/data.c (Faset): Use XVECTOR and XSTRING rather than XPNTR.
5211 2015-10-10 Jay Belanger <jay.p.belanger@gmail.com>
5213 Use events instead of chars to keep track of steps.
5215 * lisp/calc/calc-prog.el (calc-kbd-loop): Use events instead of chars
5216 to keep track of steps.
5218 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
5220 Fix --enable-gcc-warnings problem with older GCC
5222 * src/puresize.h: Add INLINE_HEADER_BEGIN, INLINE_HEADER_END.
5223 This is for building with --enable-gcc-warnings with
5224 GCC 4.6 through 5.0.
5226 2015-10-10 Eli Zaretskii <eliz@gnu.org>
5228 Fix vertical-motion in truncated lines that end in a stretch
5230 * src/indent.c (Fvertical_motion): Expect overshoot when point is
5231 beyond window margin and lines are truncated, even if we have a
5232 stretch at point. (Bug#21468)
5234 2015-10-10 Eli Zaretskii <eliz@gnu.org>
5236 Avoid link-time errors due to inline functions
5238 * src/emacs.c: Include puresize.h, to avoid link-time errors in
5239 unoptimized builds due to PURE_P and CHECK_IMPURE, which are now
5242 2015-10-10 Andreas Schwab <schwab@linux-m68k.org>
5244 * src/data.c (Faset): Fix last change.
5246 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
5248 CHECK_IMPURE and PURE_P speedup
5250 * src/intervals.c (create_root_interval):
5251 Do CHECK_IMPURE only for strings; not needed for buffers.
5252 Prefer ! STRINGP to BUFFERP, for a tad more speed.
5253 * src/puresize.h (CHECK_IMPURE, PURE_P):
5254 Now inline functions instead of macros.
5255 (PURE_P): Don’t use XPNTR; that is now the caller’s responsibility.
5256 All callers changed.
5257 (CHECK_IMPURE): New argument PTR, to save us the work of running XPNTR.
5258 All callers changed.
5260 2015-10-09 Noah Friedman <friedman@splode.com>
5262 (tramp-open-connection-setup-interactive-shell): Send -onlcr as well.
5264 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5266 * lisp/progmodes/cc-mode.el (c-after-font-lock-init): Only *move*
5268 our after-change-function, rather than re-adding it if it was removed.
5270 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5272 * lisp/cedet/ede: Silence some compiler warnings
5274 * lisp/cedet/ede.el: Require cl-lib. Silence some compiler warnings.
5275 (ede-menu-obj-of-class-p): Use cl-some rather than `eval'.
5276 (ede-apply-object-keymap, ede-reset-all-buffers)
5277 (ede-auto-add-to-target): Use dolist.
5278 (ede-new, ede-flush-deleted-projects, ede-global-list-sanity-check):
5279 Use field names rather than initarg names in `oref'.
5280 (ede-load-project-file): Remove unused var `file'.
5281 (ede-map-any-target-p): Use cl-some rather than ede-map-targets.
5282 (ede-set): Remove unused var `a'.
5284 * lisp/cedet/ede/emacs.el: Silence some compiler warnings.
5285 (ede-project-autoload): Avoid the old-style "name" argument.
5286 (ede-emacs-find-matching-target): Use field names rather than initarg
5289 * lisp/cedet/ede/linux.el: Silence some compiler warnings.
5290 (ede-linux-load, ede-project-autoload): Avoid the old-style
5292 (ede-linux-find-matching-target): Use field names rather than initarg
5295 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5297 * lisp/textmodes/reftex.el: Silence byte-compiler warnings.
5299 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5301 * lisp/progmodes/prolog.el (prolog-smie-rules): Try and avoid
5302 indenting too far after ":-".
5304 2015-10-09 Eli Zaretskii <eliz@gnu.org>
5306 Update case-table and categories of recently added characters
5308 * lisp/international/characters.el: Update information about Latin
5309 Extended-C, Latin Extended-D, Latin Extended-E, Cyrillic Extended,
5310 Georgian, Glagolitic, Deseret, Old Hungarian, and Warang Citi
5311 blocks. (Byug#21654)
5313 2015-10-09 Martin Rudalics <rudalics@gmx.at>
5315 * src/frame.c (adjust_frame_size): In minibuffer-only windows
5316 don't count minibuffer height twice. (Bug#21643)
5318 2015-10-09 Eli Zaretskii <eliz@gnu.org>
5320 Avoid inflooping in font-lock
5322 * lisp/font-lock.el (font-lock-extend-region-wholelines): Bind
5323 inhibit-field-text-motion around the call to
5324 line-beginning-position, to avoid inflooping. (Bug#21615)
5326 2015-10-09 Tassilo Horn <tsdh@gnu.org>
5328 Refactor duplicated code; ensure default is in completions
5330 * lisp/textmodes/reftex-cite.el (reftex--query-search-regexps):
5332 (reftex-extract-bib-entries): Use it.
5333 (reftex-extract-bib-entries-from-thebibliography): Use it.
5335 2015-10-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
5337 * doc/misc/autotype.texi (Skeletons as Abbrevs): "if" -> "ifst"
5340 2015-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5342 * lisp/calc/calc.el: Silence byte-compiler warnings.
5343 (calc-scan-for-dels): Use ignore-errors.
5344 (calc-dispatch, calc-do-dispatch): Make unused arg optional.
5345 (calc-read-key-sequence): Remove unused var `prompt2'.
5346 (calc-kill-stack-buffer): Remove unused var `buflist'.
5347 (calc): Remove unused var `oldbuf'.
5348 (calc-refresh): Use inhibit-read-only.
5349 (calc-can-abbrev-vectors): Declare.
5350 (calc-record): Remove unused var `mainbuf'.
5351 (math-sub-bignum): Remove unused var `sum'.
5352 (math-svo-c, math-svo-wid, math-svo-off): Declare.
5354 2015-10-08 Daiki Ueno <ueno@gnu.org>
5356 Use g_clear_error instead of g_error_free
5358 * src/image.c: Define g_clear_error instead of g_error_free.
5359 (init_svg_functions): Resolve symbol g_clear_error instead of
5361 (svg_load_image): Use g_clear_error instead of g_error_free, to
5362 suppress GLib warnings when ERR is not set. See bug#21641.
5364 2015-10-08 Paul Eggert <eggert@cs.ucla.edu>
5366 * src/image.c (image_size_error): Simplify.
5368 2015-10-08 Paul Eggert <eggert@cs.ucla.edu>
5370 Fix problems caught with --enable-gcc-warnings
5372 * src/image.c (lookup_rgb_color):
5373 * src/xfns.c (x_defined_color):
5374 * src/xterm.c (x_parse_color):
5375 Remove unused locals.
5377 2015-10-08 Jay Belanger <jay.p.belanger@gmail.com>
5379 * lisp/calc/calc.el (calc-digit-start-entry): Fix typo.
5381 2015-10-08 Jay Belanger <jay.p.belanger@gmail.com>
5383 Format initial input uniformly
5385 * lisp/calc/calc.el (calc-digit-start-entry): New function.
5386 * lisp/calc/calc.el (calcDigit-start):
5387 * lisp/calc/calc-aent.el (calc-alg-digit-entry):
5388 Use `calc-digit-start-entry' to format input.
5390 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
5392 Disable non-working pointerColor setting for X tooltip frame
5394 It generates a bunch of server traffic, but there's some bug wherein
5395 the new mouse cursor settings don't seem to get used. In most
5396 situations the cursor isn't likely to be seen anyway, so it's not
5399 * src/xfns.c (x_create_tip_frame): Don't set pointerColor.
5401 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
5403 Reduce some unnecessary X calls
5405 * src/xfns.c (x_real_pos_and_offsets): Remove a redundant XGetGeometry
5406 call. If border width is wanted, get it from the XGetGeometry call
5407 instead of calling XGetWindowAttributes on the same window. Skip some
5408 X calls if we've already detected an error from the X server.
5409 * src/xterm.c (x_wm_supports): Delete x_sync before x_had_errors_p.
5410 (handle_one_xevent): Delete XSync call before x_uncatch_errors.
5412 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
5414 Reduce color allocation/query traffic in the TrueColor case
5416 When working with an X visual with TrueColor class, pixel values can
5417 be generated from the RGB values according to mask value provided by
5418 the server on connection. Some of the image-handling code was already
5421 * src/xterm.h (x_make_truecolor_pixel): New function; code taken from
5423 (x_mutable_colormap): New function.
5424 * src/image.c (lookup_rgb_color): Move pixel composition code to
5425 x_make_truecolor_pixel.
5426 (x_kill_gs_process): Call x_mutable_colormap.
5427 * src/xfaces.c (x_free_colors, x_free_dpy_colors): Call
5429 * src/xftfont.c (xftfont_get_colors): Call x_query_colors.
5430 * src/xterm.c (x_query_colors): For a TrueColor display, decompose the
5431 pixel value into RGB values directly, and don't send a request to the
5433 (x_alloc_nearest_color): For a TrueColor display, construct the pixel
5434 value with x_make_truecolor_pixel.
5435 (x_copy_color): For an immutable color map, just return the provided
5438 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
5440 Cache XParseColor results in the X display info structure
5442 With repeated lookups of foreground and background colors for multiple
5443 faces per frame, we issue a lot of redundant color name lookups to the
5444 X server, waiting every time for the response. On a remote network
5445 with, say, 30ms round-trip time, this can add nearly a full second to
5446 creation of a new frame.
5448 * src/gtkutil.c (xg_check_special_colors): Call x_parse_color.
5449 * src/image.c (get_spec_bg_or_alpha_as_argb):
5450 (xpm_init_color_cache, xpm_lookup_color):
5451 * src/xfns.c (x_defined_color):
5452 * src/xterm.c (x_parse_color): New function; caches color names not
5453 starting with "#" in the display-info structure.
5454 (x_delete_display): Delete the cache content.
5455 * src/xterm.h (struct color_name_cache_entry): New type.
5456 (x_parse_color): Declare.
5457 (struct x_display_info): Add a new field for the cache.
5459 2015-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5461 * src/syntax.c (syms_of_syntax): Make syntax-propertize--done local.
5463 2015-10-07 Eli Zaretskii <eliz@gnu.org>
5465 Fix segfault in image_size_error
5467 * src/image.c (image_size_error): Pass a Lisp string to
5468 image_error, not a C string. (Bug#21641)
5470 2015-10-07 Simen Heggestøyl <simenheg@gmail.com>
5472 Highlight CSS variable definitions
5474 * lisp/textmodes/css-mode.el (css-nmstart-re): Tweak regexp to accept
5475 CSS variables. (Bug#21638)
5477 2015-10-07 Artur Malabarba <bruce.connor.am@gmail.com>
5479 * test/automated/tabulated-list-test.el: New file.
5480 Test bug#21639 and some basic functionality.
5482 2015-10-07 Artur Malabarba <bruce.connor.am@gmail.com>
5484 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-sort):
5485 Check if column can be sorted before trying. (Bug#21639)
5487 2015-10-07 Nicolas Richard <youngfrog@members.fsf.org>
5489 Add test for `self-insert-command' (bug#21633)
5491 * test/automated/cmds-tests.el: New file.
5493 2015-10-07 Martin Rudalics <rudalics@gmx.at>
5495 * src/window.c (resize_frame_windows): Don't set root window's
5496 top position when resizing horizontally.
5498 2015-10-07 Artur Malabarba <bruce.connor.am@gmail.com>
5500 * lisp/progmodes/prog-mode.el (prettify-symbols-alist):
5501 Document more possible values.
5503 2015-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5505 * lisp/textmodes/tex-mode.el: Use lexical-binding.
5507 2015-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5509 * lisp/indent.el (indent--default-inside-comment): New function.
5510 (indent-for-tab-command): Use it for `noindent' indentation.
5512 2015-10-06 Paul Eggert <eggert@cs.ucla.edu>
5514 Fix bug in GC_CHECK_MARKED_OBJECTS check
5516 * src/alloc.c (mark_object): Fix bug in checking code.
5517 When GC_CHECK_MARKED_OBJECTS is defined, the bug caused
5518 CHECK_ALLOCATED_AND_LIVE_SYMBOL to repeatedly do the
5519 CHECK_ALLOCATED and CHECK_LIVE tests for the first symbol in each
5520 bucket. The bug did not affect behavior either in the normal case
5521 where GC_CHECK_MARKED_OBJECTS is not defined, or where Emacs does
5522 not have an internal error that a properly-written
5523 CHECK_ALLOCATED_AND_LIVE_SYMBOL would detect.
5525 2015-10-06 Tassilo Horn <tsdh@gnu.org>
5527 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
5528 Add prettified version for \\Bbb{Q}.
5530 2015-10-06 Artur Malabarba <bruce.connor.am@gmail.com>
5532 * test/automated/package-test.el (package-test-install-single):
5533 Add a test for bug#21625.
5535 2015-10-06 Aaron Ecay <aaronecay@gmail.com>
5537 * lisp/emacs-lisp/package.el (package-install): Fix error when pkg is
5538 not a package-desc object. Also clarify documentation. (Bug#21625)
5540 2015-10-06 Eli Zaretskii <eliz@gnu.org>
5542 Fix display of characters adjacent to ZWJ and ZWNJ
5544 * src/bidi.c (bidi_resolve_neutral): Treat all Bn (a.k.a. "control")
5545 characters the same as directional formatting controls.
5546 (bidi_level_of_next_char): Include all Bn characters in rule L1,
5547 as mandated by the UBA.
5549 2015-10-06 Andreas Schwab <schwab@suse.de>
5551 * src/cmds.c (Fself_insert_command): Don't use XFASTINT on a negative
5554 2015-10-05 Xue Fuqiao <xfq.free@gmail.com>
5556 * doc/lispref/objects.texi (Window Type): Add a cross reference.
5558 * src/buffer.c (syms_of_buffer): Typo fix. (Bug#21622)
5560 2015-10-05 Eli Zaretskii <eliz@gnu.org>
5562 * lisp/language/misc-lang.el (composition-function-table):
5563 Fix entries for Arabic and Syriac.
5565 2015-10-05 Damien Cassou <damien@cassou.me>
5567 Add first unit tests for auth-source.el
5569 * test/automated/auth-source-tests.el: New file.
5571 2015-10-05 Eli Zaretskii <eliz@gnu.org>
5573 Remove redundant redisplay code
5575 * src/xdisp.c (redisplay_internal, try_cursor_movement)
5576 (try_window_reusing_current_matrix, try_window_id): Remove
5577 redundant restrictions on redisplay optimizations based on the
5578 frame's 'redisplay' flag. See
5579 http://osdir.com/ml/general/2015-10/msg02110.html for the relevant
5582 2015-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5584 * src/xdisp.c (windows_or_buffers_changed): Improve docstring.
5586 2015-10-04 Xue Fuqiao <xfq.free@gmail.com>
5588 Update tutorials/TUTORIAL.cn
5590 * etc/tutorials/TUTORIAL.cn: Improve translation.
5592 2015-10-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5594 * src/macfont.m (macfont_encode_char, syms_of_macfont):
5597 2015-10-04 Stefan Merten <stefan@merten-home.de>
5599 Pull in version numbers from rst.el upstream release.
5601 * lisp/textmodes/rst.el (rst-cvs-header, rst-svn-rev)
5602 (rst-svn-timestamp, rst-official-version)
5603 (rst-official-cvs-rev, rst-package-emacs-version-alist):
5604 Update version numbers.
5606 2015-10-04 Eli Zaretskii <eliz@gnu.org>
5608 * test/automated/coding-tests.el: New file.
5610 2015-10-04 Michael Albinus <michael.albinus@gmx.de>
5612 Improve XEmacs compatibility of Tramp
5614 * lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
5615 Declare if it doesn't exist.
5616 (file-remote-p): Remove defalias, which was necessary for GNU Emacs 21.
5617 (redisplay): Make it an alias if it doesn't exist.
5619 * lisp/net/tramp.el (tramp-get-remote-tmpdir): Don't use
5620 `file-remote-p' (due to XEmacs compatibility).
5622 * lisp/net/trampver.el (locate-dominating-file)
5623 (tramp-compat-replace-regexp-in-string): Autoload.
5624 (tramp-repository-get-version): Do not dupe byte-compiler.
5626 2015-09-02 K. Handa <handa@gnu.org>
5628 fix for the case that M17N_FLT_USE_NEW_FEATURE is not defined
5630 * src/ftfont.c (ftfont_drive_otf) [not M17N_FLT_USE_NEW_FEATURE]:
5631 Adjusted for the change of type of elements in the array
5632 MFLTGlyphString.glyphs.
5634 2015-10-04 Eli Zaretskii <eliz@gnu.org>
5635 Michael Heerdegen <michael_heerdegen@web.de>
5637 shr: fix too long lines in rendered buffers (Bug#21012)
5639 * lisp/net/shr.el (shr-insert-document, shr-fill-text):
5640 Correct calculation of available width.
5641 (shr-find-fill-point): Don't overflow window edge if shr-kinsoku-shorten
5644 2015-10-04 Vincent Belaïche <vincentb1@users.sourceforge.net>
5646 Restore blank line before next section, erroneously erased
5647 in my previous commit
5649 * etc/compilation.txt (symbol ant): Add an additional trailing blank
5650 line to this section, so that there are two of them immediately before
5653 2015-10-04 Vincent Belaïche <vincentb1@users.sourceforge.net>
5655 Support MSW filename style for ant compilation error regexp
5657 * etc/compilation.txt (symbol ant):
5658 * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
5659 Support MSW filename style.
5661 2015-10-03 Paul Eggert <eggert@cs.ucla.edu>
5663 * nt/INSTALL: Minor spelling and quote fixes.
5665 * lisp/ibuffer.el: Fix docstring length (Bug#21541).
5667 2015-10-03 Simen Heggestøyl <simenheg@gmail.com>
5669 Maintain ordering of JSON object keys by default
5671 * lisp/json.el (json-object-type): Mention order handling in doc-string.
5672 (json--plist-reverse): New utility function.
5673 (json-read-object): Maintain ordering for alists and plists.
5674 (json-pretty-print): Ensure that ordering is maintained.
5676 * test/automated/json-tests.el (test-json-plist-reverse): New test for
5677 `json--plist-reverse'.
5678 (json-read-simple-alist): Update test to accommodate for changes in
5681 * etc/NEWS: Document the new behavior of the pretty printing functions.
5683 2015-10-03 Andreas Schwab <schwab@linux-m68k.org>
5685 * src/coding.c (complement_process_encoding_system): Revert last change.
5687 2015-10-03 Ulf Jasper <ulf.jasper@web.de>
5689 * admin/MAINTAINERS: Add entry for Ulf Jasper.
5691 2015-10-03 Xue Fuqiao <xfq.free@gmail.com>
5693 Doc fix for `defmacro'
5695 * doc/lispref/objects.texi (Macro Type): `defmacro' is a macro now.
5697 2015-10-03 Andreas Schwab <schwab@linux-m68k.org>
5699 More validatation of coding systems
5701 * src/fileio.c (Finsert_file_contents): Remove redundant
5702 coding-system check.
5703 (choose_write_coding_system): Likewise.
5704 * src/coding.c (complement_process_encoding_system): Check argument
5705 for valid coding system.
5707 2015-10-03 Eli Zaretskii <eliz@gnu.org>
5709 Avoid crashes in coding_inherit_eol_type
5711 * src/coding.c (coding_inherit_eol_type): Check the validity of
5712 the arguments. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5715 2015-10-03 Eli Zaretskii <eliz@gnu.org>
5717 More validatation of coding system in 'write-region'
5719 * src/coding.c (choose_write_coding_system): More validation of
5720 coding-system from various sources. Suggested by Andreas Schwab
5721 <schwab@linux-m68k.org>. (Bug#21602)
5723 2015-10-03 Eli Zaretskii <eliz@gnu.org>
5725 Avoid crashes due to invalid coding-system
5727 * src/fileio.c (choose_write_coding_system)
5728 (Finsert_file_contents): Check validity of coding-system-for-write
5729 and coding-system-for-read bound by the caller. (Bug#21602)
5731 2015-10-03 Tassilo Horn <tsdh@gnu.org>
5733 Adapt to new prettify-symbols-unprettify-at-point default
5735 * etc/NEWS: Mention that unprettication of symbol at point is off
5738 2015-10-03 Tassilo Horn <tsdh@gnu.org>
5740 Revert my two recent process.c changes
5742 Revert "Improve last commit to process.c" and "Remove callback-handled
5743 channels from Available set" because they did not fix bug#21313.
5745 This reverts commits bfa1aa8e2bdaf14adbbf1e9e824051d3f740694c and
5746 27f871907cc24f33a7d12ac3a4ab71a88f0bc554.
5748 2015-10-02 Markus Triska <triska@metalevel.at>
5750 * lisp/progmodes/prolog.el: Update and extend operator table.
5751 (prolog-smie-grammar): Add multifile, public etc.
5753 2015-10-02 Paul Eggert <eggert@cs.ucla.edu>
5755 Allow autogen even when Git is not installed
5757 * autogen.sh: Test ‘git status’ before trying to use Git.
5759 2015-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5761 * lisp/vc/vc-git.el (vc-git-region-history): Handle local changes.
5762 Adjust lto/lfrom when we have uncommitted changes.
5764 2015-10-02 Paul Eggert <eggert@cs.ucla.edu>
5766 Fix problems found by clang 3.5.0
5768 * src/cmds.c (Fdelete_char): Don’t assume XINT returns int.
5769 * src/font.c (font_parse_family_registry):
5770 Use &"str"[X] instead of "str"+X, to pacify clang -Wstring-plus-int.
5772 2015-10-02 Eli Zaretskii <eliz@gnu.org>
5774 * nt/INSTALL: Update instructions for running autogen.sh.
5776 * nt/INSTALL: Point to ezwinports for libXpm binaries.
5778 2015-10-02 Daniel Colascione <dancol@dancol.org>
5780 Fix winner in cl-lib not loaded case
5782 * lisp/winner.el (winner-change-fun): Don't use cl-lib functions
5783 without requiring CL
5785 2015-10-02 Paul Eggert <eggert@cs.ucla.edu>
5787 Fix a few problems with directed quotes
5789 This is in response to a problem report by Kaushal Modi in:
5790 http://bugs.gnu.org/21588#25
5791 * lisp/cedet/mode-local.el (describe-mode-local-overload):
5792 * lisp/emacs-lisp/bytecomp.el (byte-compile-fix-header):
5793 * lisp/info-xref.el (info-xref-check-all-custom):
5794 * lisp/mail/emacsbug.el (report-emacs-bug-hook):
5795 Prefer directed to undirected single quotes in diagnostics.
5797 2015-10-01 Eli Zaretskii <eliz@gnu.org>
5799 Revert "Attempt to fix slow redisplay caused by last changes"
5801 * src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
5802 (try_cursor_movement): Don't relax requirements for redisplay
5803 optimizations for the selected frame. (Bug#21597)
5805 This reverts commit c4c1fb97727ff52bcfa83ad5ed94a64a93d12e59.
5807 2015-10-01 Eli Zaretskii <eliz@gnu.org>
5809 Fix slow redisplay when daemon frame exists
5811 * src/xdisp.c (redisplay_internal): Don't consider daemon frames
5812 when looking for frames that need to be redisplayed. (Bug#21597)
5814 2015-10-01 Eli Zaretskii <eliz@gnu.org>
5816 Attempt to fix slow redisplay caused by last changes
5818 * src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
5819 (try_cursor_movement): Relax requirements for redisplay
5820 optimizations for the selected frame. (Bug#21597)
5822 2015-10-01 Stephen Leake <stephen_leake@stephe-leake.org>
5824 * src/dired.c (Ffile_name_completion, Ffile_name_all_completions):
5827 2015-10-01 Stephen Leake <stephen_leake@stephe-leake.org>
5829 * lisp/minibuffer.el (minibuffer-completion-help):
5830 Set default base-size, in case completion table does not set it.
5832 2015-10-01 Eli Zaretskii <eliz@gnu.org>
5834 Fix GUD display of GDB output with non-ASCII text
5836 * lisp/progmodes/gdb-mi.el (gdb-mi-decode-strings): New defcustom.
5837 (gdb-mi-decode): New function.
5838 (gud-gdbmi-marker-filter): If gdb-mi-decode-strings is non-nil,
5839 decode octal escapes in GDB output. (Bug#21572)
5841 2015-10-01 Eli Zaretskii <eliz@gnu.org>
5843 * nt/INSTALL: Document where to find XPM support files.
5845 2015-10-01 Tassilo Horn <tsdh@gnu.org>
5847 Un- and re-prettification are not exclusive
5849 * lisp/progmodes/prog-mode.el (prettify-symbols--post-command-hook):
5850 Re-apply prettification to previous symbol also when unprettifying
5853 2015-10-01 Tassilo Horn <tsdh@gnu.org>
5855 Don't unprettify symbol at point by default
5857 * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
5858 Default to disabled (nil).
5860 2015-09-30 Artur Malabarba <bruce.connor.am@gmail.com>
5862 * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
5863 Support unprettifying when point is after a symbol.
5865 * etc/NEWS: Document `prettify-symbols-unprettify-at-point'.
5867 2015-09-30 Eli Zaretskii <eliz@gnu.org>
5869 Avoid assertion violations in push_prefix_prop
5871 * src/xdisp.c (push_prefix_prop): Avoid assertion violations when
5872 a line that has a line-prefix defined starts with an image. (Bug#21428)
5874 2015-09-30 Eli Zaretskii <eliz@gnu.org>
5876 Disable some display optimizations when frames need redisplay
5878 These optimizations were previously disabled by the
5879 windows_or_buffers_changed flag, which now is not set
5880 when only some frames need to be redrawn.
5881 * src/xdisp.c (redisplay_internal): Redisplay any frame whose
5882 'redisplay' flag is set.
5883 (try_window_reusing_current_matrix, try_window_id)
5884 (try_cursor_movement): Disable these optimizations when the
5885 frame's 'redisplay' flag is set.
5887 2015-09-30 Tassilo Horn <tsdh@gnu.org>
5889 Don't modify buffer by unprettification
5891 * lisp/progmodes/prog-mode.el (prettify-symbols--compose-symbol):
5892 (prettify-symbols--post-command-hook, prettify-symbols-mode): Don't
5893 modify buffer when setting/removing custom prettify-symbols-start/end
5894 text properties. Add them to font-lock-extra-managed-props, too.
5896 2015-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5898 Try to avoid redisplaying all frames when creating a new one
5900 * src/xfns.c (x_set_menu_bar_lines, x_change_tool_bar_height):
5901 * src/xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face)
5902 (Finternal_set_lisp_face_attribute, update_face_from_frame_parameter):
5903 * src/frame.c (x_set_screen_gamma): Set the specific frame's
5904 `redisplay' bit rather than windows_or_buffers_changed.
5906 * src/window.c (apply_window_adjustment): Remove redundant setting of
5907 windows_or_buffers_changed.
5909 * src/xdisp.c (redisplay_internal): Set the specific frame's
5910 `redisplay' bit rather than update_mode_lines in response to
5911 cursor_type_changed.
5912 (syms_of_xdisp): Use hash-tables for redisplay_*_cause tables.
5913 (AINC): Adjust accordingly.
5915 2015-09-30 Tassilo Horn <tsdh@gnu.org>
5917 Implement unprettification of symbol at point
5919 * lisp/progmodes/prog-mode.el: Implement feature for unprettifying the
5921 (prettify-symbols--current-symbol-bounds): New variable.
5922 (prettify-symbols--post-command-hook): New function.
5923 (prettify-symbols-unprettify-at-point): New defcustom.
5924 (prettify-symbols-mode): Use it.
5925 (prettify-symbols--compose-symbol): Use them.
5927 2015-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5929 * src/macfont.m (mac_font_descriptor_supports_languages):
5930 Regard "zh" as synonym of "zh-Hans".
5932 2015-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5934 Work around crash when displaying etc/HELLO on OS X 10.11
5936 * src/macfont.m (mac_font_get_weight)
5937 (mac_font_descriptor_get_adjusted_weight): New functions.
5938 (macfont_store_descriptor_attributes): Adjust weight.
5940 2015-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5942 * src/macfont.m: Fix compilation with USE_CT_GLYPH_INFO.
5944 2015-09-30 Nicolas Petton <nicolas@petton.fr>
5946 * lisp/arc-mode.el (archive-rar-summarize): Better alignment
5949 2015-09-30 Nicolas Petton <nicolas@petton.fr>
5951 Use unar and lsar to handle RAR archives in arc-mode
5953 * lisp/arc-mode.el (archive-rar-extract, archive-extract-by-file): Rely
5954 on unar and lsar instead of unrar-free for RAR archives (bug#17663).
5956 2015-09-30 Wieland Hoffmann <themineo@gmail.com> (tiny change)
5958 Clarify :create in auth-source's docs
5960 * lisp/gnus/auth-source.el (auth-source-search):
5961 Clarify :create's meaning.
5963 2015-09-30 Phil Sainty <psainty@orcon.net.nz>
5965 Avoid empty -path arguments in rgrep
5967 * lisp/progmodes/grep.el (rgrep-default-command): Remove nil from
5968 the list produced according to grep-find-ignored-directories,
5969 before passing it to Find/Grep invocation. (Bug#21548)
5971 2015-09-30 Eli Zaretskii <eliz@gnu.org>
5973 Clarify documentation of pos-visible-in-window-p
5975 * src/window.c (Fpos_visible_in_window_p): Clarify the meaning of
5977 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg01040.html
5978 for the original report.
5980 * doc/lispref/windows.texi (Window Start and End): Clarify the
5981 meaning of t for the POSITION argument of pos-visible-in-window-p.
5983 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
5985 * lisp/progmodes/prolog.el: Fix various indentation cases.
5986 (prolog-operator-chars): New const (add \\).
5987 (prolog-smie-forward-token, prolog-smie-backward-token): Use it.
5988 (prolog-smie-rules): Add rules according to bug#21526.
5990 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
5992 * lisp/progmodes/sh-script.el: Old "dumb" continued line indent.
5993 (sh-indent-after-continuation): Add new value `always' (bug#17620)
5994 (sh-smie-sh-rules): Remove old handling of continued lines.
5995 (sh-smie--indent-continuation): New function.
5996 (sh-set-shell): Use it.
5998 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
6000 * lisp/progmodes/octave.el: Use grammar more; Handle enumeration fun.
6001 Remove redundant :group keyword args.
6002 (octave-begin-keywords, octave-else-keywords, octave-end-keywords):
6004 (octave-operator-table, octave-smie-bnf-table): Use let-when-compile to
6005 turn them into compile-time variables.
6006 Auto-generate the "foo ... end" rules from the "foo ... endfoo" rules.
6007 Add rules for break, continue, return, global, and persistent.
6008 Refine the rule for "until".
6009 (octave-smie--funcall-p, octave-smie--end-index-p)
6010 (octave-smie--in-parens-p): New functions.
6011 (octave-smie-backward-token, octave-smie-forward-token): Use them to
6012 distinguish the "enumeration" function and the "end" index from
6013 their corresponding keywords.
6014 (octave--block-offset-keywords): New constant.
6015 (octave-smie-rules): Use it. Adjust rules for new global/persistent
6017 (octave-reserved-words): Redefine using octave-smie-grammar.
6018 (octave-font-lock-keywords): Use octave-smie--funcall-p and
6019 octave-smie--end-index-p.
6021 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
6023 * lisp/emacs-lisp/lisp-mode.el (let-when-compile): Work like let*.
6025 2015-09-29 Eli Zaretskii <eliz@gnu.org>
6027 * nt/INSTALL: Remove references to GTK site.
6028 That site no longer offers Windows downloads.
6030 2015-09-29 Eli Zaretskii <eliz@gnu.org>
6032 * nt/INSTALL: Add instructions for installing Git.
6034 2015-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
6036 * lisp/net/shr.el (shr-colorize-region): Allow 88-color tty to
6037 use colors. Suggested by Eli Zaretskii.
6039 2015-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
6041 * lisp/net/shr.el (shr-colorize-region): Don't do it on a system
6042 not supporting 256 above colors (bug#21557).
6044 2015-09-28 Dmitry Gutov <dgutov@yandex.ru>
6046 Revert "Don't rely on defaults in decoding UTF-8 encoded Lisp files"
6048 This reverts commit db828f62f6f17414fbbc3206dac123dc73dd6055.
6050 2015-09-28 Nicolas Petton <nicolas@petton.fr>
6052 Add documentation for seq.el
6054 * doc/lispref/sequences.texi: Add documentation regarding extending
6055 seq.el, as well as missing documentation for seq-elt, seq-length, seq-p,
6058 2015-09-28 Nicolas Petton <nicolas@petton.fr>
6060 Better documentation for seq-some
6062 * doc/lispref/sequences.texi:
6063 * lisp/emacs-lisp/seq.el: Update the documentation of seq-some to
6064 guarantee that the returned value is the first non-nil value that
6065 resulted from applying the predicate.
6067 2015-09-28 Nicolas Petton <nicolas@petton.fr>
6069 * lisp/arc-mode.el: Sharp-quote function arguments.
6071 2015-09-28 Eli Zaretskii <eliz@gnu.org>
6073 Avoid redisplay error in ediff-regions-wordwise
6075 * lisp/vc/ediff-util.el
6076 (ediff-clone-buffer-for-region-comparison): Make sure the mark is
6077 set before activating it. (Bug#21567)
6079 2015-09-28 Eli Zaretskii <eliz@gnu.org>
6081 Another attempt to fix crashes due to prematurely freed faces
6083 * src/xdisp.c (redisplay_internal): Inhibit freeing of realized
6084 faces for as long as we might have desired matrices that reference
6085 those faces. (Bug#21428)
6087 2015-09-28 Tassilo Horn <tsdh@gnu.org>
6089 Add auctex development list email address
6091 2015-09-28 Tassilo Horn <tsdh@gnu.org>
6093 * admin/MAINTAINERS: Add entries for AUCTeX team and myself.
6095 2015-09-28 Arash Esbati <esbati@gmx.de> (tiny change)
6097 Improve wrapfig package support and caption parsing
6099 * lisp/textmodes/reftex-vars.el (reftex-label-alist-builtin):
6100 Correct description string and add wraptable environment.
6101 (reftex-default-context-regexps): Improve caption regexp.
6103 2015-09-28 Anders Lindgren <andlind@gmail.com>
6105 Respect value of frame_resize_pixelwise when handling fullscreen state
6107 * src/nsterm.m (handleFS): Respect frame_resize_pixelwise when
6108 setting size increments.
6110 2015-09-27 Michael Albinus <michael.albinus@gmx.de>
6112 * src/gfilenotify.c (Fgfile_add_watch): Cleanup temporary variable.
6114 2015-09-27 Simen Heggestøyl <simenheg@gmail.com>
6116 Add prettify-symbols-alist for js-mode
6118 * lisp/progmodes/js.el (js--prettify-symbols-alist): New defconst.
6121 2015-09-27 Eli Zaretskii <eliz@gnu.org>
6123 * nt/subdirs.el: File deleted (no longer used).
6125 2015-09-26 Alan Mackenzie <acm@muc.de>
6127 Fix follow-scroll-up/down, making them replacements for scroll-up/down
6129 1. Allow point to move between follow windows in scroll operations.
6130 2. Fix bug where `right-char' just before EOB caused spurious scrolling,
6131 when EOB was isolated in the last follow window.
6133 * lisp/follow.el (follow-fixed-window): New variable.
6134 (follow-get-scrolled-point): New function.
6135 (follow-scrol-up, follow-scroll-down): Add autoload cookies.
6136 Reformulate the code. Put `scroll-command' properties on the functions.
6137 Correct minor errors in ...-down's doc string and code.
6138 (follow-calc-win-end): Amend incomplete doc string. Use
6139 `pos-visible-in-window-p' to check whether EOB is in the window.
6140 (follow-estimate-first-window-start): Correct an off-by-1 error.
6141 (follow-adjust-window): Add handling for explicit scrolling operations.
6143 2015-09-26 Paul Eggert <eggert@cs.ucla.edu>
6145 * admin/MAINTAINERS: Add self, plus list some more files
6148 2015-09-26 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
6150 New DWIM commands for changing letter-case
6152 * lisp/simple.el (upcase-dwim, downcase-dwim, capitalize-dwim):
6153 New functions. (Bug#21501)
6155 2015-09-26 Eli Zaretskii <eliz@gnu.org>
6157 * etc/PROBLEMS: Document problems with pasting on MS-Windows.
6159 2015-09-26 Eli Zaretskii <eliz@gnu.org>
6161 Make face realization be more frame-specific
6163 * src/frame.h (struct f): New flag face_change.
6164 * src/xfaces.c (Finternal_make_lisp_face)
6165 (Finternal_copy_lisp_face, Finternal_set_lisp_face_attribute)
6166 (update_face_from_frame_parameter): Set the face_change flag only
6167 for the frame whose faces are affected.
6168 * src/xdisp.c (init_iterator): If a frame's face_change flag is
6169 set, free faces only on that frame.
6170 (redisplay_internal): Disable "display optimization 1" if the
6171 frame's face_change flag is set.
6172 (redisplay_window): Don't allow skipping a window's redisplay if
6173 its frame's face_change flag is set.
6174 * src/frame.c (x_set_screen_gamma): Instead of calling
6175 Fclear_face_cache, call clear_face_cache and set
6176 windows_or_buffers_changed to a non-zero value. This avoids
6177 setting the global face_change flag that triggers face realization
6178 on all frames and thorough redisplay of all of them.
6180 * lisp/term/tty-colors.el (tty-register-default-colors): Don't
6181 clear face cache if the selected frame is a GUI frame.
6183 2015-09-26 Tassilo Horn <tsdh@gnu.org>
6185 Remove font-latex specific check
6187 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
6188 Use syntax-ppss data to identify verbatim contents.
6190 2015-09-25 Tassilo Horn <tsdh@gnu.org>
6192 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
6193 Fix some false negatives.
6195 2015-09-25 Eli Zaretskii <eliz@gnu.org>
6197 Reorder Windows version in Emacs manifests
6199 * nt/emacs-x64.manifest:
6200 * nt/emacs-x86.manifest: Reorder Windows version from lowest to
6203 2015-09-25 Eli Zaretskii <eliz@gnu.org>
6205 Update Emacs manifest files for Windows 10
6207 * nt/emacs-x86.manifest:
6208 * nt/emacs-x64.manifest: Declare compatibility with Windows 10.
6210 2015-09-25 Eli Zaretskii <eliz@gnu.org>
6212 Avoid non-ASCII decoding errors in C src files
6217 * src/doprnt.c: Add 'coding' cookies -- these files include
6218 Unicode characters and should be decoded as UTF-8.
6220 2015-09-25 Alan Mackenzie <acm@muc.de>
6222 Resurrect edebug-set-initial-mode, repurposing it to set the global mode
6224 * lisp/emacs-lisp/edebug.el (edebug-initial-mode-alist): Uncomment, and
6225 amend to match current modes and functions.
6226 (edebug-set-initial-mode): Uncomment and change from setting a defun's
6227 `edebug-initial-mode''s property to setting the variable
6228 `edebug-initial-mode'.
6229 (top level): Create new binding C-x C-a C-m for
6230 `edebug-set-initial-mode'.
6232 * doc/lispref/edebug.texi (Edebug Execution Modes): Document
6233 `edebug-set-initial-mode' and its new key binding.
6234 (Edebug Options): Mention the new command in the pertinent place.
6236 * etc/NEWS: Write entry for this change.
6238 2015-09-25 Eli Zaretskii <eliz@gnu.org>
6240 Avoid non-ASCII decoding errors in Texinfo files
6242 * doc/misc/tramp.texi:
6243 * doc/lispref/strings.texi:
6244 * doc/lispref/positions.texi:
6245 * doc/lispref/help.texi:
6246 * doc/lispref/functions.texi:
6247 * doc/lispintro/emacs-lisp-intro.texi:
6248 * doc/emacs/text.texi:
6249 * doc/emacs/modes.texi:
6250 * doc/emacs/mini.texi:
6251 * doc/emacs/display.texi:
6252 * doc/emacs/custom.texi:
6253 * doc/emacs/basic.texi: Add 'coding' cookies -- these files use
6254 Unicode characters and should be decoded as UTF-8.
6255 * doc/lispref/frames.texi (Size Parameters): Don't use a non-ASCII
6256 apostrophe unnecessarily.
6258 2015-09-25 Paul Eggert <eggert@cs.ucla.edu>
6263 2015-09-25 c-ctype: rewrite to use inline functions
6264 2015-09-24 maint: add coding cookies to non-ASCII sources
6265 2015-09-24 gitlog-to-changelog: trim only trailing whitespaces
6266 * build-aux/gitlog-to-changelog, doc/misc/texinfo.tex:
6267 * lib/acl-internal.c, lib/acl-internal.h, lib/c-ctype.c:
6268 * lib/c-ctype.h, lib/get-permissions.c, lib/qcopy-acl.c:
6269 * lib/set-permissions.c:
6272 2015-09-24 Paul Eggert <eggert@cs.ucla.edu>
6274 Update publicsuffix.txt from upstream
6276 * etc/publicsuffix.txt: Update from
6277 https://publicsuffix.org/list/effective_tld_names.dat
6278 dated 2015-09-24 17:29:21 UTC.
6280 2015-09-24 Eli Zaretskii <eliz@gnu.org>
6282 Prevent timers from messing up TTY menus
6284 * src/term.c (tty_menu_activate): Inhibit redisplay for as long as
6285 the TTY menu is open. (Bug#21530)
6287 2015-09-24 Paul Eggert <eggert@cs.ucla.edu>
6289 No need to mention K&R C in c-mode intro
6291 2015-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
6293 Fix recent bootstrap problems
6295 * src/syntax.c (parse_sexp_propertize): Fix last fix.
6296 * lisp/nxml/nxml-mode.el (nxml-comment-quote-nested): Fix paren typo.
6297 * lisp/emacs-lisp/lisp-mode.el: Require cl-lib for cl-progv.
6299 2015-09-24 Michael Albinus <michael.albinus@gmx.de>
6301 * src/gfilenotify.c (Fgfile_add_watch): Decrease polling rate.
6303 2015-09-23 Ivan Andrus <darthandrus@gmail.com>
6305 Properly quote nested xml comments (Bug#6267) (Bug#20001)
6307 * lisp/nxml/nxml-mode.el (nxml-comment-quote-nested): New function.
6308 (nxml-mode): Set comment-quote-nested-function.
6310 2015-09-23 Ivan Andrus <darthandrus@gmail.com>
6312 Allow major-modes full control over quoting nested comments
6314 * lisp/newcomment.el (comment-quote-nested-function): New variable.
6315 (comment-quote-nested-default): New function.
6316 (comment-quote-nested): Use `comment-quote-nested-function'.
6318 2015-09-23 Paul Eggert <eggert@cs.ucla.edu>
6320 Prefer CALLN in a few more places
6322 * src/macfont.m (macfont_set_family_cache):
6323 * src/nsterm.m (append2):
6324 * src/xterm.c (x_cr_export_frames):
6325 Prefer CALLN to allocating the arg arrays by hand.
6327 2015-09-23 Michael Albinus <michael.albinus@gmx.de>
6329 Adapt file-notify-test02-events test case
6331 * test/automated/file-notify-tests.el (file-notify-test02-events):
6332 Create a new watch for every test.
6334 2015-09-23 Michael Albinus <michael.albinus@gmx.de>
6336 Continue gfilenotify.c implementation of missing parts
6338 * lisp/filenotify.el (file-notify-add-watch): Append `flags' to
6339 `gfile-add-watch' call.
6340 (file-notify-rm-watch): Modify `file-notify-descriptors' only
6341 after calling the low level functions.
6343 * src/gfilenotify.c (dir_monitor_callback): Check, whether
6344 event_type is expected.
6345 (Fgfile_add_watch): Allow also `change'and `attribute-change' for FLAGS.
6346 (Fgfile_rm_watch): Fix typo.
6347 (syms_of_gfilenotify): Declare Qchange and Qattribute_change.
6349 2015-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6351 * src/syntax.c (parse_sexp_propertize): Handle spurious
6352 e_property_truncated flag.
6353 (update_syntax_table_forward): Remove invalid assertion.
6355 2015-09-23 Eli Zaretskii <eliz@gnu.org>
6357 * src/xdisp.c (produce_stretch_glyph): Support ':relative-width'
6358 space display spec on text-mode terminals, by calling
6359 PRODUCE_GLYPHS instead of x_produce_glyphs. Remove the
6360 HAVE_WINDOW_SYSTEM guards from the supporting code, as well as the
6361 test for a GUI frame.
6363 2015-09-23 Oleh Krehel <ohwoeowho@gmail.com>
6365 Move let-when-compile to lisp-mode.el
6367 This fixes the bootstrapping problem of `let-when-compile' using
6368 `cl-progv' while being in subr.el (i.e. before cl stuff was loaded).
6370 2015-09-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
6372 * lisp/url/url-http.el (url-http-parse-headers): Do not
6373 automatically include Authorization header in redirect.
6376 2015-09-22 Eli Zaretskii <eliz@gnu.org>
6378 Clarify documentation of ':relative-width'
6380 * doc/lispref/display.texi (Specified Space): Document that
6381 ':relative-width' is only supported on GUI frames.
6383 2015-09-22 Eli Zaretskii <eliz@gnu.org>
6385 Fix 'current-column' in presence of :relative-width
6387 * src/indent.c (check_display_width): Support ':relative-width'
6388 in a display spec that specifies a stretch glyph. (Bug#21533)
6390 2015-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6392 Reformat the pdbtrack remote-file fix ChangeLog.2 entry
6394 ... to conform better to CONTRIBUTE guidelines.
6396 2015-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
6398 * lisp/progmodes/prolog.el: Fix indentation of empty line
6400 * lisp/emacs-lisp/smie.el (smie-rules-function): Document new
6401 `empty-line-token' element.
6402 (smie-indent-empty-line): New function.
6403 (smie-indent-functions): Add it.
6405 * lisp/progmodes/prolog.el (prolog-smie-rules): Fix :list-intro
6406 behavior and use the new `empty-line-token' element (bug#21526).
6407 (prolog-mode-variables): Fix comment-start-skip setting to match
6410 * test/indent/prolog.prolog: Add nested indentation tests.
6412 * lisp/newcomment.el (comment-normalize-vars): Fix default value of
6413 comment-start-skip not to misuse submatch 1.
6415 2015-09-22 Alan Mackenzie <acm@muc.de>
6417 Make description of `edebug-initial-mode' user friendly
6421 * dec/lispref/edebug.texi (Edebug Execution Modes): Change the
6422 description of `edebug-initial-mode' from that of its implementation
6423 to that of its visual effect and use. Move the paragraph higher up.
6425 2015-09-22 Eli Zaretskii <eliz@gnu.org>
6427 lisp/progmodes/gud.el (gud-format-command): Fix last commit
6429 * lisp/progmodes/gud.el (gud-format-command): Don't use Tramp internal
6430 functions 'tramp-file-name-localname' and 'tramp-dissect-file-name'.
6432 2015-09-22 Tassilo Horn <tsdh@gnu.org>
6434 Improve last commit to process.c
6436 2015-09-22 Michael Albinus <michael.albinus@gmx.de>
6438 Implement gfile-valid-p
6440 * lisp/filenotify.el (file-notify-callback): Fix typo.
6441 (gfile-valid-p): Remove defalias.
6443 * src/gfilenotify.c (dir_monitor_callback): Cancel the monitor if
6444 the file or directory to be watched is deleted.
6445 (Fgfile_add_watch): Make watch_object a triple.
6446 (Fgfile_rm_watch): Check, whether watch is cancelled already.
6447 (Fgfile_valid_p): New defun.
6448 (syms_of_gfilenotify): Declare Sgfile_valid_p.
6450 2015-09-22 Tassilo Horn <tsdh@gnu.org>
6452 Remove callback-handled channels from Available set
6454 * src/process.c (wait_reading_process_output): Remove channel from
6455 Available set if it is handled by a callback, e.g., dbus or
6456 inotify (bug#21313).
6458 2015-09-21 Mark Oteiza <mvoteiza@udel.edu>
6460 Use lunate epsilon for TeX \epsilon
6462 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
6463 Add \varepsilon using GREEK SMALL LETTER EPSILON, and change
6464 \epsilon to use GREEK LUNATE EPSILON SYMBOL
6466 2015-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6468 * lisp/progmodes/prolog.el: Fix nested electric if-then-else
6470 * lisp/progmodes/prolog.el (prolog-find-unmatched-paren): Use innermost
6471 rather than outermost paren (bug#21526).
6473 2015-09-21 Paul Eggert <eggert@cs.ucla.edu>
6475 Improve git diff hunk headers for .el, .texi
6477 Problem reported by Alan Mackenzie in:
6478 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00826.html
6479 * .gitattributes (*.el, *.texi): New patterns.
6480 * autogen.sh: Configure diff.elisp.xfuncname and
6481 diff.texinfo.xfuncname if using Git.
6483 2015-09-21 Eli Zaretskii <eliz@gnu.org>
6485 Don't rely on defaults in decoding UTF-8 encoded Lisp files
6488 * lisp/textmodes/rst.el:
6489 * lisp/whitespace.el: Add an explicit UTF-8 encoding tag.
6491 2015-09-21 Paul Eggert <eggert@cs.ucla.edu>
6493 Clarify or replace a few \u escapes
6495 * doc/lispref/nonascii.texi (Character Properties)
6496 More-detailed commentary for \u escapes.
6497 * lisp/progmodes/python.el (python--prettify-symbols-alist):
6498 * lisp/replace.el (query-replace-from-to-separator):
6499 * lisp/textmodes/rst.el (rst-bullets, rst-re-alist-def)
6500 (rst-mode-syntax-table):
6501 * lisp/whitespace.el (whitespace-display-mappings):
6502 Prefer actual character to \u escape when this makes the code
6503 easier to follow in the usual case where Unicode chars can be
6506 2015-09-21 Paul Eggert <eggert@cs.ucla.edu>
6508 Pacify GCC -Wmaybe-uninitialized in xdisp.c
6510 * src/xdisp.c (face_before_or_after_it_pos): Use do-while rather
6511 than while loop to avoid GCC -Wmaybe-uninitialized diagnostic with
6512 charpos. The loop should always execute at least once anyway.
6514 2015-09-21 Tassilo Horn <tsdh@gnu.org>
6516 Signal error on invalid regexp
6518 * lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries):
6519 Signal an error when the user tries searching with a regexp
6520 matching the empty string.
6522 2015-09-21 Eli Zaretskii <eliz@gnu.org>
6524 Another fix of file-notify-tests for w32notify
6526 * test/automated/file-notify-tests.el (file-notify-test02-events):
6527 Further adaptation for w32notify: reduce the number of expected
6528 'changed' events. (Bug#21435)
6530 2015-09-21 Michael Albinus <michael.albinus@gmx.de>
6532 Adapt tests and manual for w32notify
6534 * doc/lispref/os.texi (File Notifications): w32notify does not
6535 send `attribute-changed' events.
6537 * test/automated/file-notify-tests.el (file-notify--test-with-events):
6538 Simplify parameters. Adapt all callees.
6539 (file-notify-test02-events): w32notify does not send
6540 `attribute-changed' events.
6541 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
6542 Do not skip in case of w32notify. Simply ignore this part of the test.
6544 2015-09-21 Dima Kogan <dima@secretsauce.net>
6546 Fix setting breakpoints when remote-debugging
6548 * lisp/progmodes/gud.el (gud-format-command): Send localized file
6549 names to the debugger running on the remote. (Bug#13304)
6551 2015-09-21 Nicolas Petton <nicolas@petton.fr>
6553 Better docstring and parameter name for seq-find
6555 * lisp/emacs-lisp/seq.el (seq-find): Improve the docstring and rename
6556 the parameter `sentinel' to `default'.
6558 * doc/lispref/sequences.texi (Sequence Functions): Update the
6559 documentation for `seq-find' accordingly.
6561 2015-09-21 Eli Zaretskii <eliz@gnu.org>
6563 Avoid infinite recursion while displaying box face
6565 * src/xdisp.c (face_before_or_after_it_pos): Fix calculation of
6566 the previous string/buffer character position under bidi
6567 iteration. (Bug#21428)
6569 2015-09-21 Anders Lindgren <andlind@gmail.com>
6571 Keep upper edge unchanged when changing size of NS frame
6573 * src/nsterm.m (x_set_window_size): Keep upper frame edge unchanged
6576 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6578 * lisp/progmodes/prolog.el: Improve handling of if/then/else.
6579 (prolog-smie-rules): Accommodate standard if/then/else special
6581 (prolog-mode): Add . to electric-indent-chars.
6582 (prolog-electric--if-then-else): Re-indent the line before adding space
6583 after the new char (bug#21526).
6585 2015-09-20 Mark Oteiza <mvoteiza@udel.edu>
6587 Add prettify symbols to python-mode
6589 * lisp/progmodes/python.el (python-prettify-symbols-alist):
6591 (python-mode): Use it
6593 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6595 * lisp/emacs-lisp/syntax.el (syntax-begin-function): Make obsolete.
6597 2015-09-20 Jostein Kjønigsen <jostein@secure.kjonigsen.net> (tiny change)
6599 (compilation-error-regexp-alist-alist): Tone down guile-file
6601 * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
6602 Make guile-file a bit less enthusiastic (bug#21496).
6604 2015-09-20 Drew Csillag <drew@thecsillags.com>
6606 * lisp/progmodes/m4-mode.el (m4-font-lock-keywords):
6607 Fix m4_* highlighting.
6609 * lisp/progmodes/m4-mode.el (m4-font-lock-keywords): Fix recognition
6610 of commands when they have a "m4_" prefix.
6612 2015-09-20 Paul Eggert <eggert@cs.ucla.edu>
6614 '.' -> `.' in doc string
6616 * lisp/emacs-lisp/timer.el (run-at-time): In doc string, quote
6617 individual chars with grave quotes instead of straight quotes, as
6618 this works better when they are translated to curved quotes.
6620 2015-09-20 Michael Albinus <michael.albinus@gmx.de>
6622 Improve file notifications, especially for Tramp
6624 * doc/lispref/files.texi (Magic File Names):
6625 Mention `file-notify-valid-p'.
6627 * doc/lispref/os.texi (File Notifications):
6628 Describe `file-notify-valid-p'.
6630 * etc/NEWS: Add `file-notify-valid-p'.
6632 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch):
6633 Improve implementation.
6634 (tramp-gvfs-monitor-file-process-filter): Rename from
6635 `tramp-gvfs-file-gvfs-monitor-file-process-filter'. Delete
6636 process if appropriate.
6638 * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6639 Improve implementation.
6640 (tramp-sh-gvfs-monitor-dir-process-filter): Rename from
6641 `tramp-sh-file-gvfs-monitor-dir-process-filter'. Delete process
6643 (tramp-sh-inotifywait-process-filter): Rename from
6644 `tramp-sh-file-inotifywait-process-filter'. Delete process if
6647 * lisp/net/tramp.el (tramp-handle-file-notify-rm-watch):
6648 Use `delete-process'.
6649 (tramp-handle-file-notify-valid-p): Check also, that file or
6650 directory to be watched still exists.
6652 * test/automated/file-notify-tests.el (file-notify--test-timeout):
6653 New defun. Use it at all places a timeout is needed.
6654 (file-notify--test-cleanup): Delete directories recursively.
6655 Cleanup also Tramp connections.
6656 (file-notify-test02-events): Add tests for `attribute-change'.
6657 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
6658 Add tests for `file-notify-rm-watch'.
6660 2015-09-20 Paul Eggert <eggert@cs.ucla.edu>
6662 Use %s to format strings instead of splicing them
6664 If FOO might contain quotes that are part of a file or variable
6665 name, the quotes should not be translated when showing FOO’s name
6666 in a diagnostic. So, for example, (message (concat (FOO ": bar")))
6667 is not quite right, as it would translate FOO’s quotes.
6668 Change it to (message "%s: bar" FOO) instead.
6669 * lisp/allout.el (allout-process-exposed):
6670 * lisp/calc/calc-ext.el (calc-do-prefix-help):
6671 * lisp/calc/calc-store.el (calc-store-into):
6672 * lisp/calendar/todo-mode.el (todo-category-completions):
6673 * lisp/cedet/semantic/complete.el (semantic-completion-message):
6674 * lisp/org/ob-latex.el (convert-pdf):
6675 * lisp/org/org-crypt.el (org-crypt-check-auto-save):
6676 * lisp/org/ox-latex.el (org-latex-compile):
6677 * lisp/org/ox-man.el (org-man-compile):
6678 * lisp/org/ox-odt.el (org-odt--export-wrap):
6679 * lisp/org/ox-texinfo.el (org-texinfo-compile):
6680 * lisp/progmodes/ruby-mode.el (ruby-in-ppss-context-p):
6681 * lisp/progmodes/verilog-mode.el (verilog-batch-execute-func)
6682 (verilog-signals-combine-bus, verilog-read-defines)
6683 (verilog-getopt-file, verilog-expand-dirnames)
6684 (verilog-modi-lookup, verilog-modi-modport-lookup-one):
6685 * lisp/term/ns-win.el (ns-spi-service-call):
6686 Use %s to avoid translating quotes of file names etc. in diagnostics.
6688 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6690 * lisp/progmodes/js.el (js--syntax-begin-function): Remove.
6691 (js-mode): Don't set syntax-begin-function.
6693 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6695 * lisp/font-lock.el (font-lock-compile-keywords): Don't assume
6696 syntax-begin-function is a symbol.
6698 2015-09-20 Eli Zaretskii <eliz@gnu.org>
6700 Improve documentation of 'run-at-time'
6701 * lisp/emacs-lisp/timer.el (run-at-time): Improve the doc string.
6702 In particular, don't refer to 'diary-entry-time', because it is
6703 unavailable until diary-lib is loaded. Also, refer to
6704 'timer-duration-words', not 'timer-duration', as the latter's doc
6705 string says nothing about the accepted strings.
6707 2015-09-19 Jay Belanger <jay.p.belanger@gmail.com>
6709 * lisp/calc/calc-ext.el (calc-do-prefix-help): Tidy up error message.
6711 2015-09-19 Ken Manheimer <ken.manheimer@gmail.com>
6713 Repair pdbtrack remote file tracking
6714 * lisp/progmodes/python.el (python-pdbtrack-set-tracked-buffer):
6715 Rectify pdbtrack so it follows transitions from one remote source
6718 2015-09-19 Artur Malabarba <bruce.connor.am@gmail.com>
6720 * lisp/emacs-lisp/timer.el (run-at-time): Docstring formatting.
6722 2015-09-19 Eli Zaretskii <eliz@gnu.org>
6724 Adapt vc-src to the old-new vc-checkin API
6725 * lisp/vc/vc-src.el (vc-src-checkin): Accept and ignore an
6726 additional optional parameter.
6728 2015-09-19 Simen Heggestøyl <simenheg@gmail.com>
6730 Add overflow module to CSS property list
6731 * lisp/textmodes/css-mode.el (css-property-ids): Add properties
6732 from CSS Overflow Module Level 3.
6734 2015-09-19 Eli Zaretskii <eliz@gnu.org>
6736 Fix documentation of "C-u C-x v v"
6737 * doc/emacs/maintaining.texi (Advanced C-x v v): Make the
6738 documentation of "C-u C-x v v" match what the code does.
6740 Resurrect the ability to specify a revision in vc-next-action
6741 * lisp/vc/vc-bzr.el (vc-bzr-checkin):
6742 * lisp/vc/vc-dav.el (vc-dav-checkin):
6743 * lisp/vc/vc-git.el (vc-git-checkin):
6744 * lisp/vc/vc-hg.el (vc-hg-checkin):
6745 * lisp/vc/vc-mtn.el (vc-mtn-checkin): Accept and silently ignore
6746 an additional optional argument, the revision to checkin.
6747 * lisp/vc/vc-sccs.el (vc-sccs-checkin):
6748 * lisp/vc/vc-cvs.el (vc-cvs-checkin):
6749 * lisp/vc/vc-rcs.el (vc-rcs-checkin): Allow to optionally specify
6750 a revision to checkin.
6751 * lisp/vc/vc.el (vc-next-action): Allow to optionally specify the
6752 revision when checking in files.
6753 See http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00688.html
6756 2015-09-18 Wilson Snyder <wsnyder@wsnyder.org>
6758 * lisp/progmodes/verilog-mode.el (verilog-forward-sexp-function)
6759 (verilog-decls-princ, verilog-modport-princ)
6760 (verilog-modi-modport-lookup-one): Fix checkdoc warnings.
6762 2015-09-17 Jay Belanger <jay.p.belanger@gmail.com>
6764 Fix the routine for help on Calc's prefixes
6765 * lisp/calc/calc-ext.el (calc-prefix-help-retry): New variable.
6766 (calc-do-prefix-help): Use `read-char' to determine the next Calc
6769 2015-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6771 * lisp/font-lock.el (font-lock-beginning-of-syntax-function): Remove.
6772 (font-lock-fontify-block): Don't let-bind it.
6773 (font-lock-compile-keywords): Don't use it.
6774 (font-lock-set-defaults): Don't set it. Allow the variable alist to
6775 start one slot earlier, instead.
6776 * lisp/emacs-lisp/syntax.el (font-lock-beginning-of-syntax-function):
6778 (syntax-ppss): Don't use it either.
6779 * lisp/font-core.el (font-lock-defaults): Remove SYNTAX-BEGIN
6781 * doc/emacs/display.texi (Font Lock): Don't mention
6782 font-lock-beginning-of-syntax-function.
6783 * doc/lispref/modes.texi (Font Lock Basics): Update description of
6785 (Syntactic Font Lock): Remove font-lock-beginning-of-syntax-function.
6786 * lisp/loadhist.el (unload-feature-special-hooks):
6787 Remove font-lock-beginning-of-syntax-function.
6788 * lisp/obsolete/lazy-lock.el (lazy-lock-fontify-region):
6789 * lisp/emacs-lisp/lisp.el (beginning-of-defun-raw): Don't let-bind
6790 font-lock-beginning-of-syntax-function.
6792 2015-09-17 Paul Eggert <eggert@cs.ucla.edu>
6794 Backslash cleanup in Elisp source files
6795 This patch should not change behavior. It typically omits backslashes
6796 where they are redundant (e.g., in the string literal "^\$").
6797 In a few places, insert backslashes where they make regular
6798 expressions clearer: e.g., replace "^\*" (equivalent to "^*") with
6799 "^\\*", which has the same effect as a regular expression.
6800 Also, use ‘\ %’ instead of ‘\%’ when avoiding confusion with SCCS IDs,
6801 and similarly use ‘\ $’ instead of ‘\$’ when avoiding confusion with
6802 RCS IDs, as that makes it clearer that the backslash is intended.
6804 Some more minor backslash fixes
6805 * test/automated/compile-tests.el (compile-tests--test-regexps-data):
6806 * test/automated/info-xref.el (info-xref-test-write-file):
6807 Double backslashes in strings.
6809 Fix several backslash typos in Elisp strings
6810 * lisp/calendar/todo-mode.el (todo-files, todo-rename-file)
6811 (todo-find-filtered-items-file, todo-reset-nondiary-marker)
6812 (todo-reset-done-string, todo-reset-comment-string)
6813 (todo-reset-highlight-item):
6814 * lisp/erc/erc-networks.el (erc-networks-alist):
6815 * lisp/gnus/gnus-art.el (gnus-button-handle-library):
6816 * lisp/gnus/gnus-group.el (gnus-read-ephemeral-gmane-group-url):
6817 * lisp/gnus/nntp.el (nntp-via-shell-prompt)
6818 (nntp-telnet-shell-prompt):
6819 * lisp/gnus/spam-report.el (spam-report-gmane-regex):
6820 * lisp/image-dired.el (image-dired-rotate-original):
6821 (image-dired-get-exif-file-name):
6822 * lisp/international/latin1-disp.el (latin1-display-ucs-per-lynx):
6823 * lisp/mail/undigest.el (rmail-digest-parse-rfc1153strict):
6824 * lisp/mh-e/mh-letter.el (mh-file-is-vcard-p):
6825 * lisp/mh-e/mh-mime.el (mh-file-mime-type-substitutions):
6826 * lisp/net/shr-color.el (shr-color->hexadecimal):
6827 * lisp/org/org-bibtex.el (org-bibtex-fields):
6828 * lisp/org/org-docview.el (org-docview-export):
6829 * lisp/org/org-entities.el (org-entities):
6830 * lisp/org/ox-icalendar.el (org-icalendar-cleanup-string):
6831 * lisp/progmodes/cperl-mode.el (cperl-indent-exp):
6832 * lisp/progmodes/ebnf2ps.el (ebnf-file-suffix-regexp)
6833 (ebnf-style-database):
6834 * lisp/progmodes/idlw-help.el (idlwave-do-context-help1):
6835 * lisp/progmodes/ruby-mode.el (ruby-imenu-create-index-in-block):
6836 * lisp/progmodes/sql.el (sql-product-alist):
6837 * lisp/progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist)
6838 (verilog-error-font-lock-keywords)
6839 (verilog-assignment-operator-re):
6840 * lisp/progmodes/vhdl-mode.el (vhdl-compiler-alist):
6841 * lisp/textmodes/reftex-parse.el (reftex-parse-from-file):
6842 * lisp/vc/add-log.el (change-log-version-number-regexp-list):
6843 Fix typo by replacing ‘\’ with ‘\\’ in a string literal.
6844 For example, to get the regular expression ‘\.’ use the string
6845 literal "\\.", not "\." (which is equivalent to ".").
6846 * lisp/emulation/viper-util.el (viper-glob-unix-files):
6847 Remove stray ‘\j’ from string.
6848 * lisp/gnus/nntp.el (nntp-via-shell-prompt)
6849 (nntp-telnet-shell-prompt):
6850 Treat > like $ when matching a shell prompt.
6851 * lisp/progmodes/make-mode.el (makefile-browse):
6852 Properly quote a diagnostic.
6854 Fix minor quoting problems in diagnostics
6855 * lisp/tutorial.el (tutorial--describe-nonstandard-key):
6856 * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
6857 Follow text-quoting-style in diagnostic, and quote a file name.
6859 2015-09-17 Eli Zaretskii <eliz@gnu.org>
6861 * doc/lispref/frames.texi (Cursor Parameters):
6862 Document 'x-stretch-cursor'.
6864 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
6866 Omit unnecessary \ before paren in C docstrings
6867 Although \( is needed in docstrings in Elisp code, it is not needed in
6868 docstrings in C code, since C function definitiions do not start with
6869 a parenthesis. The backslashes made the docstrings a bit harder to
6870 read and to format in columns. Also, some C docstrings had ( in
6871 column 1 and this did not appear to be causing any problems. So,
6872 simplify C docstrings by replacing \( with ( and \) with ).
6874 A few more minor quoting fixes in a script and a text file
6876 Minor quoting fixes in scripts and doc
6877 Prefer straight quotes in random script files, as they are not
6878 converted. Prefer grave quotes in a couple of places in the manual
6879 that were missed earlier, as these quotes are converted.
6881 Minor backslash fixes in manuals and scripts
6882 * Makefile.in (install-arch-indep):
6883 * admin/charsets/compact.awk:
6884 * admin/charsets/gb180302.awk (gb_to_index):
6885 * admin/charsets/gb180304.awk (gb_to_index):
6886 Avoid undefined behavior in Awk regular expression backslashes.
6887 * doc/misc/efaq.texi (Matching parentheses):
6888 Omit unnecessary backslashes.
6889 * doc/misc/gnus-faq.texi (FAQ 5-8):
6890 Avoid undefined behavior in suggested sed backslash usage.
6892 Add -Wswitch to --enable-gcc-warnings
6893 Make --enable-gcc-warnings a bit pickier, by also using -Wswitch.
6894 * configure.ac (WERROR_CFLAGS): Don’t add -Wno-switch.
6895 * lib-src/etags.c (main, consider_token, C_entries):
6896 * src/coding.c (encode_invocation_designation):
6897 * src/data.c (Ftype_of):
6898 * src/eval.c (Fdefvaralias, default_toplevel_binding)
6899 (Fbacktrace__locals, mark_specpdl):
6900 * src/lisp.h (record_xmalloc):
6901 * src/syntax.c (scan_lists, scan_sexps_forward):
6902 * src/window.c (window_relative_x_coord):
6903 * src/xdisp.c (push_it, pop_it):
6904 * src/xterm.c (xg_scroll_callback, x_check_fullscreen):
6905 Error out or do nothing (as appropriate) if a switch statement
6906 with an enum value does not cover all of the enum.
6907 * src/dispextern.h (struct iterator_stack_entry.u.comp):
6908 Remove unused member discovered by using -Wswitch.
6909 * src/lisp.h (record_xmalloc): Add a ‘+ 0’ to pacify -Wswitch.
6910 * src/vm-limit.c (check_memory_limits):
6911 Simplify warning-diagnostic computation by using a table.
6913 etags ‘fatal’ function is now printf-like
6914 * lib-src/etags.c (fatal): Now printf-like. All callers changed.
6915 Also, now static; not clear why it needed to be extern.
6916 (verror): New function, with most of the old contents of ‘error’.
6917 (fatal, error): Use it.
6919 2015-09-16 Eli Zaretskii <eliz@gnu.org>
6921 More adaptations in file-notify-tests.el
6922 * test/automated/file-notify-tests.el
6923 (file-notify-test05-dir-validity): Skip for w32notify in
6924 batch-mode. (Bug#21432)
6926 2015-09-16 Michael Albinus <michael.albinus@gmx.de>
6928 Adapt test in file-notify-tests.el
6929 * test/automated/file-notify-tests.el
6930 (file-notify-test04-file-validity): Skip for w32notify in
6931 batch-mode. Add test lost last commit.
6933 2015-09-16 Dima Kogan <dima@secretsauce.net>
6935 winner no longer holds on to dead frames
6936 * lisp/winner.el (winner-change-fun): Cull dead frames.
6937 This prevents a potentially massive memory leak. See:
6938 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00619.html
6940 2015-09-16 Michael Albinus <michael.albinus@gmx.de>
6942 Use common report_file_notify_error function
6943 * src/fileio.c (report_file_notify_error): New function.
6944 * src/inotify.c (report_inotify_error): Remove function.
6945 (inotify_callback, symbol_to_inotifymask, Finotify_add_watch)
6946 (Finotify_rm_watch): Use report_file_notify_error.
6947 * src/lisp.h (report_file_notify_error): Declare external function.
6948 * src/w32notify.c (report_w32notify_error): Remove function.
6949 (Fw32notify_add_watch, Fw32notify_rm_watch):
6950 Use report_file_notify_error.
6952 2015-09-16 Jay Belanger <jay.p.belanger@gmail.com>
6955 * doc/misc/calc.texi (Single-Variable Statistics): Fix the wording of
6956 the documentation of the root mean square.
6958 2015-09-16 Martin Rudalics <rudalics@gmx.at>
6960 Remove tool_bar_redisplayed_once and associated code.
6961 * src/frame.h (tool_bar_redisplayed_once): Remove slot.
6962 * src/frame.c (make_frame, x_set_font): Remove initialization of
6963 f->tool_bar_redisplayed_once.
6964 * src/w32fns.c (x_change_tool_bar_height):
6965 * src/xfns.c (x_change_tool_bar_height): Don't check for
6966 f->tool_bar_redisplayed_once.
6967 * src/xdisp.c (redisplay_internal): Remove handling of
6968 f->tool_bar_redisplayed_once.
6970 2015-09-16 Eli Zaretskii <eliz@gnu.org>
6972 Restore some of the quoting in the manuals
6973 * doc/lispref/windows.texi (Coordinates and Windows)
6974 (Coordinates and Windows):
6975 * doc/lispref/variables.texi (Lexical Binding)
6976 (File Local Variables):
6977 * doc/lispref/text.texi (Format Properties):
6978 * doc/lispref/symbols.texi (Symbol Components):
6979 * doc/lispref/strings.texi (Creating Strings):
6980 * doc/lispref/sequences.texi (Sequence Functions):
6981 * doc/lispref/searching.texi (Regexp Special, Regexp Search)
6982 (Search and Replace):
6983 * doc/lispref/processes.texi (Bindat Spec):
6984 * doc/lispref/os.texi (Idle Timers):
6985 * doc/lispref/objects.texi (Basic Char Syntax):
6986 * doc/lispref/numbers.texi (Float Basics, Random Numbers):
6987 * doc/lispref/nonascii.texi (Character Properties):
6988 * doc/lispref/modes.texi (Major Mode Conventions, Mode Hooks)
6989 (Mode Line Variables):
6990 * doc/lispref/minibuf.texi (Text from Minibuffer):
6991 * doc/lispref/loading.texi (Autoload):
6992 * doc/lispref/keymaps.texi (Controlling Active Maps):
6993 * doc/lispref/frames.texi (Frame Layout, Size and Position)
6994 (Size Parameters, Implied Frame Resizing):
6995 * doc/lispref/files.texi (Changing Files, Magic File Names):
6996 * doc/lispref/eval.texi (Self-Evaluating Forms):
6997 * doc/lispref/display.texi (Progress, Abstract Display)
6998 (Abstract Display Example, Bidirectional Display):
6999 * doc/lispref/commands.texi (Event Mod):
7000 * doc/emacs/windows.texi (Displaying Buffers):
7001 * doc/emacs/trouble.texi (Bug Criteria, Checklist):
7002 * doc/emacs/text.texi (Enriched Text):
7003 * doc/emacs/programs.texi (MixedCase Words):
7004 * doc/emacs/picture-xtra.texi (Insert in Picture)
7006 * doc/emacs/misc.texi (Emacs Server, Printing):
7007 * doc/emacs/mini.texi (Minibuffer History):
7008 * doc/emacs/maintaining.texi (Old Revisions, VC Change Log)
7009 (Pulling / Pushing):
7010 * doc/emacs/killing.texi (Yanking, Cut and Paste, Clipboard):
7011 * doc/emacs/help.texi (Help, Help Echo):
7012 * doc/emacs/glossary.texi (Glossary):
7013 * doc/emacs/frames.texi (Mouse Commands, Creating Frames)
7015 * doc/emacs/files.texi (Reverting, Saving, Directories):
7016 * doc/emacs/entering.texi (Exiting):
7017 * doc/emacs/emacs.texi (Top):
7018 * doc/emacs/cmdargs.texi (Window Size X, Icons X):
7019 * doc/emacs/anti.texi (Antinews): Restore quoting of text where
7020 appropriate or replace quoting with @dfn.
7021 * doc/misc/ediff.texi (Window and Frame Configuration):
7022 * doc/lispref/processes.texi (Network Feature Testing):
7023 * doc/lispref/display.texi (Display Margins): Quote the phrase
7024 after "a.k.a." where appropriate.
7026 2015-09-16 Tassilo Horn <tsdh@gnu.org>
7028 Clarify reftex-extra-bindings docs
7029 * lisp/textmodes/reftex-vars.el (reftex-extra-bindings):
7030 * doc/misc/reftex.texi (Key Bindings): Document that the variable
7031 only has an effect at load-time.
7033 2015-09-16 Daniel McClanahan <danieldmcclanahan@gmail.com> (tiny change)
7035 * lisp/emacs-lisp/lisp-mode.el (lisp--el-match-keyword): Fix
7036 search argument. (Bug#21492) (Bug#21493)
7038 2015-09-16 Tassilo Horn <tsdh@gnu.org>
7040 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
7041 Add pretty symbols for \qquad and \varrho.
7043 2015-09-15 Jay Belanger <jay.p.belanger@gmail.com>
7045 Add new functions for the root mean square of a (Calc) vector
7046 * lisp/calc/calc-stats.el (calcFunc-rms, calc-vector-rms):
7048 * lisp/calc/calc-ext.el (calc-init-extensions): Add keybinding for
7049 `calc-vector-rms', add autoloads for `calc-vector-rms' and
7051 * lisp/calc/calc-map.el (calc-u-oper-keys): Add entry for
7053 * lisp/calc/calc-menu.el (calc-vectors-menu): Add entry for
7055 * doc/misc/calc.texi (Single-Variable Statistics): Document the rms
7058 2015-09-15 Stephen Leake <stephen_leake@stephe-leake.org>
7060 Add monotone EDE generic project
7061 * lisp/cedet/ede/generic.el (ede-enable-generic-projects):
7062 Add monotone generic project.
7064 Revert premature commit
7065 * doc/lispref/files.texi: Revert premature commit of change to
7066 file-name-all-completions.
7068 Fix a bug in elisp--xref-find-definitions related to cl-generic defaults
7069 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Fix bug
7070 with cl-generic defaults.
7071 (elisp--xref-find-references): Add doc string.
7072 * test/automated/elisp-mode-tests.el (xref-elisp-generic-*): Improve
7075 Fix bugs in eieio-oref-default related to class symbols
7076 * lisp/emacs-lisp/eieio-core.el (class-p): Handle symbol properly.
7077 (eieio-oref-default): Handle class properly.
7079 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
7081 Quote “fullboth” when defining it
7082 * doc/lispref/frames.texi (Size Parameters): Use @dfn for “fullboth”
7083 and rewrite the containing paragraph, which was awkward. (Bug#21472).
7085 2015-09-15 Eli Zaretskii <eliz@gnu.org>
7087 Minor doc fix in emacs/ack.texi
7088 * doc/emacs/ack.texi (Acknowledgments): Fix an xref missing the
7091 2015-09-15 Michael Albinus <michael.albinus@gmx.de>
7093 Adapt tests in auto-revert-tests.el
7094 * test/automated/auto-revert-tests.el (auto-revert--timeout):
7096 (auto-revert--wait-for-revert): New defun.
7097 (auto-revert-test00-auto-revert-mode)
7098 (auto-revert-test01-auto-revert-tail-mode)
7099 (auto-revert-test02-auto-revert-mode-dired): Use it.
7101 2015-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
7103 * lisp/emacs-lisp/lisp-mode.el (lisp-mode-symbol-regexp): New const.
7104 Use it everywhere "\\(\\sw\\|\\s_\\|\\\\.\\)+" was used.
7105 (cl-lib-fdefs): Add defgeneric.
7106 (cl-kw): Add all elements of eieio-kw and cl-lib-kw.
7107 (eieio-kw, cl-lib-kw, el-kw): Remove.
7109 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
7111 Quote less in manuals
7112 The manuals often used quotes ``...'' when it is better to use @dfn or
7113 @code or capitalized words or no quoting at all. For example, there is
7114 no need for the `` and '' in “if a variable has one effect for
7115 @code{nil} values and another effect for ``non-@code{nil}'' values”.
7116 Reword the Emacs, Lisp intro, and Lisp reference manuals to eliminate
7117 unnecessary quoting like this, and to use @dfn etc. instead when called
7120 2015-09-15 Mark Oteiza <mvoteiza@udel.edu>
7122 * lisp/custom.el (load-theme): Only compute hash when needed.
7124 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
7126 Pacify --enable-gcc-warnings
7127 * src/inotify.c (report_inotify_error): Declare it _Noreturn.
7129 2015-09-15 Michael Albinus <michael.albinus@gmx.de>
7131 Improve error reports in inotify.c
7132 * src/inotify.c (report_inotify_error): New function. Clone of
7133 report_w32notify_error.
7134 (inotify_callback, symbol_to_inotifymask, Finotify_add_watch)
7135 (Finotify_rm_watch): Use it.
7137 2015-09-15 Eli Zaretskii <eliz@gnu.org>
7139 Fix the file-notify tests for watch validation on w32
7140 * test/automated/file-notify-tests.el
7141 (file-notify-test04-file-validity): Move the directory deletion
7142 out of the file-notify--test-with-events macro.
7143 (file-notify-test04-file-validity)
7144 (file-notify-test05-dir-validity): Enlarge the timeout of
7145 read-event to 0.5, as 0.1 is borderline on w32. (Bug#21432)
7147 2015-09-15 Tassilo Horn <tsdh@gnu.org>
7149 Use OPEN BOX instead of space for \quad.
7150 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Use OPEN BOX
7151 character for \quad instead of a space.
7153 2015-09-15 Eli Zaretskii <eliz@gnu.org>
7155 Add missing *.pbm images
7156 * etc/images/connect.pbm: New file.
7157 * etc/images/custom/down-pushed.pbm: New file.
7158 * etc/images/custom/down.pbm: New file.
7159 * etc/images/custom/right-pushed.pbm: New file.
7160 * etc/images/custom/right.pbm: New file.
7161 * etc/images/describe.pbm: New file.
7162 * etc/images/disconnect.pbm: New file.
7163 * etc/images/ezimage/bits.pbm: New file.
7164 * etc/images/ezimage/bitsbang.pbm: New file.
7165 * etc/images/ezimage/box-minus.pbm: New file.
7166 * etc/images/ezimage/box-plus.pbm: New file.
7167 * etc/images/ezimage/box.pbm: New file.
7168 * etc/images/ezimage/checkmark.pbm: New file.
7169 * etc/images/ezimage/dir-minus.pbm: New file.
7170 * etc/images/ezimage/dir-plus.pbm: New file.
7171 * etc/images/ezimage/dir.pbm: New file.
7172 * etc/images/ezimage/doc-minus.pbm: New file.
7173 * etc/images/ezimage/doc-plus.pbm: New file.
7174 * etc/images/ezimage/doc.pbm: New file.
7175 * etc/images/ezimage/info.pbm: New file.
7176 * etc/images/ezimage/key.pbm: New file.
7177 * etc/images/ezimage/label.pbm: New file.
7178 * etc/images/ezimage/lock.pbm: New file.
7179 * etc/images/ezimage/mail.pbm: New file.
7180 * etc/images/ezimage/page-minus.pbm: New file.
7181 * etc/images/ezimage/page-plus.pbm: New file.
7182 * etc/images/ezimage/page.pbm: New file.
7183 * etc/images/ezimage/tag-gt.pbm: New file.
7184 * etc/images/ezimage/tag-minus.pbm: New file.
7185 * etc/images/ezimage/tag-plus.pbm: New file.
7186 * etc/images/ezimage/tag-type.pbm: New file.
7187 * etc/images/ezimage/tag-v.pbm: New file.
7188 * etc/images/ezimage/tag.pbm: New file.
7189 * etc/images/ezimage/unlock.pbm: New file.
7190 * etc/images/gnus/important.pbm: New file.
7191 * etc/images/gnus/mail-send.pbm: New file.
7192 * etc/images/gnus/receipt.pbm: New file.
7193 * etc/images/gnus/toggle-subscription.pbm: New file.
7194 * etc/images/gnus/unimportant.pbm: New file.
7195 * etc/images/gud/all.pbm: New file.
7196 * etc/images/gud/rcont.pbm: New file.
7197 * etc/images/gud/recstart.pbm: New file.
7198 * etc/images/gud/recstop.pbm: New file.
7199 * etc/images/gud/rfinish.pbm: New file.
7200 * etc/images/gud/rnext.pbm: New file.
7201 * etc/images/gud/rnexti.pbm: New file.
7202 * etc/images/gud/rstep.pbm: New file.
7203 * etc/images/gud/rstepi.pbm: New file.
7204 * etc/images/gud/thread.pbm: New file.
7205 * etc/images/lock-broken.pbm: New file.
7206 * etc/images/lock-ok.pbm: New file.
7207 * etc/images/lock.pbm: New file.
7208 * etc/images/mail/copy.pbm: New file.
7209 * etc/images/mail/forward.pbm: New file.
7210 * etc/images/mail/not-spam.pbm: New file.
7211 * etc/images/mail/outbox.pbm: New file.
7212 * etc/images/mail/preview.pbm: New file.
7213 * etc/images/mail/save-draft.pbm: New file.
7214 * etc/images/mh-logo.pbm: New file.
7215 * etc/images/mpc/add.pbm: New file.
7216 * etc/images/mpc/ffwd.pbm: New file.
7217 * etc/images/mpc/next.pbm: New file.
7218 * etc/images/mpc/pause.pbm: New file.
7219 * etc/images/mpc/play.pbm: New file.
7220 * etc/images/mpc/prev.pbm: New file.
7221 * etc/images/mpc/rewind.pbm: New file.
7222 * etc/images/mpc/stop.pbm: New file.
7223 * etc/images/redo.pbm: New file.
7224 * etc/images/smilies/braindamaged.pbm: New file.
7225 * etc/images/smilies/cry.pbm: New file.
7226 * etc/images/smilies/dead.pbm: New file.
7227 * etc/images/smilies/evil.pbm: New file.
7228 * etc/images/smilies/forced.pbm: New file.
7229 * etc/images/smilies/grin.pbm: New file.
7230 * etc/images/smilies/indifferent.pbm: New file.
7231 * etc/images/sort-ascending.pbm: New file.
7232 * etc/images/sort-column-ascending.pbm: New file.
7233 * etc/images/sort-criteria.pbm: New file.
7234 * etc/images/sort-descending.pbm: New file.
7235 * etc/images/sort-row-ascending.pbm: New file.
7236 * etc/images/unchecked.pbm: New file.
7237 * etc/images/zoom-in.pbm: New file.
7238 * etc/images/README: Update instructions for PBM files.
7240 Add separator.pbm tool-bar image
7241 * etc/images/separator.pbm: New file. Having it avoids the side
7242 effect of changing the tool-bar height when the default font's size
7243 changes and XPM image support is not available, due to the SPC
7244 characters that are left in the Lisp string used to display the tool
7245 bar, because there are no images to display instead of those SPC
7248 Make show-paren-match face visible on mono-color displays
7249 * lisp/faces.el (show-paren-match): Use the underline face for
7250 mono-color displays. (Bug#21481)
7252 2015-09-14 Paul Eggert <eggert@cs.ucla.edu>
7254 Don’t double-encode non-ASCII mail clipboard
7255 * lisp/mail/mailclient.el (mailclient-send-it):
7256 Also fix the case when mailclient-place-body-on-clipboard-flag
7257 is non-nil. Problem reported by Eli Zaretskii (Bug#21471#37).
7259 2015-09-14 Michael Albinus <michael.albinus@gmx.de>
7261 Adapt file-notify-tests.el test cases
7262 * lisp/filenotify.el (file-notify-rm-watch): Ignore `file-notify-error'.
7263 * src/inotify.c (Finotify_valid_p): Adapt docstring.
7264 * test/automated/file-notify-tests.el
7265 (file-notify-test03-autorevert)
7266 (file-notify-test04-file-validity)
7267 (file-notify-test04-file-validity-remote)
7268 (file-notify-test05-dir-validity)
7269 (file-notify-test05-dir-validity-remote): Adapt docstring.
7270 (file-notify-test04-file-validity): Let events arrive before
7271 calling final `file-notify-valid-p'. Do not ignore errors.
7272 (file-notify-test05-dir-validity): Do not manipulate
7273 `temporary-file-directory', it isn't necessary. Let events arrive
7274 before calling final `file-notify-valid-p'. Do not ignore errors.
7276 2015-09-14 Paul Eggert <eggert@cs.ucla.edu>
7278 Don’t double-encode non-ASCII for mail client
7279 * lisp/mail/mailclient.el (mailclient-encode-string-as-url):
7280 Use RFC 6068’s list of unreserved characters.
7281 (mailclient-send-it): When encoding the body as a URL,
7282 first decode it as per Content-Type: and Content-Transfer-Encoding:,
7283 as URLs must use percent-encoded UTF-8 (Bug#21471).
7284 * doc/misc/url.texi (mailto): Update RFC number.
7286 2015-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7288 * lisp/progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use dolist.
7290 2015-09-14 Alan Mackenzie <acm@muc.de>
7292 Replace `cadar' with `cadr/car', since `cadar' is problematic on Emacs
7293 (c-make-init-lang-vars-fun): Replace two occurrences of `cadar' with
7296 2015-09-14 Eli Zaretskii <eliz@gnu.org>
7298 Clarify documentation of char-table extra slots
7299 * doc/lispref/sequences.texi (Char-Tables): Clarify that extra
7300 slot numbers are zero-based. (Bug#21467)
7302 2015-09-14 Alan Mackenzie <acm@muc.de>
7304 Elisp mode: Make font-lock and imenu handle escaped characters in symbols
7306 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression)
7307 (lisp--el-match-keyword, lisp-el-font-lock-keywords-1)
7308 (lisp-cl-font-lock-keywords-1, lisp-el-font-lock-keywords-2)
7309 (lisp-cl-font-lock-keywords-2, lisp-string-in-doc-position-p):
7310 Insert "\\|\\\\." into regexps which match symbols.
7312 2015-09-14 Eli Zaretskii <eliz@gnu.org>
7314 Improve the doc string of w32notify-valid-p
7315 * src/w32notify.c (Fw32notify_valid_p): Mention in the doc string
7316 that removing a watch makes its object invalid.
7318 2015-09-14 Tassilo Horn <tsdh@gnu.org>
7320 Fix tests for file-notify-valid-p
7321 * test/automated/file-notify-tests.el (file-notify--test-cleanup):
7322 Use delete-directory to delete file-notify--test-tmpfile if it is
7323 a directory. Likewise for file-notify--test-tmpfile1.
7324 (file-notify-test04-file-validity)
7325 (file-notify-test05-dir-validity): Delete the parent directory of
7326 the test. Ignore errors when cleaning up after the test.
7328 2015-09-14 Eli Zaretskii <eliz@gnu.org>
7330 Report file-notify-error in w32notify.c
7331 * src/w32notify.c (report_w32notify_error): New function.
7332 (Fw32notify_add_watch, Fw32notify_rm_watch): Use it to report
7333 errors, instead of calling report_file_error. (Bug#21432)
7335 Implement w32notify-valid-p
7336 * src/w32notify.c (Fw32notify_valid_p): New function. (Bug#21432)
7337 * lisp/filenotify.el (w32notify-valid-p): No longer an alias for
7340 2015-09-14 Tassilo Horn <tsdh@gnu.org>
7342 Test file-notify-valid-p
7343 * test/automated/file-notify-tests.el
7344 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
7347 2015-09-13 Eli Zaretskii <eliz@gnu.org>
7349 Fix markup in ELisp manual
7350 * doc/lispref/frames.texi (Font and Color Parameters): Fix markup
7351 of the 'alpha' parameter value. (Bug#21470)
7353 2015-09-13 Michael Albinus <michael.albinus@gmx.de>
7355 Introduce `file-notify-valid-p'
7356 * lisp/filenotify.el (file-notify-valid-p): New defun.
7357 (gfile-valid-p, w32notify-valid-p): Make them an alias to `identity'.
7358 * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist)
7359 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7360 * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist)
7361 * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7362 <file-notify-valid-p>: Add handler.
7363 * lisp/net/tramp.el (tramp-file-name-for-operation):
7364 Add `file-notify-valid-p'.
7365 (tramp-handle-file-notify-valid-p): New defun.
7366 * src/inotify.c (Finotify_valid_p): New defun.
7367 (syms_of_inotify): Declare Sinotify_valid_p.
7369 2015-09-13 Paul Eggert <eggert@cs.ucla.edu>
7371 Port Unicode char detection to FreeBSD+svgalib
7372 Problem reported by Ashish SHUKLA in:
7373 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00531.html
7374 * configure.ac: Check for struct unipair.unicode instead of for
7375 <linux/kd.h>, since that’s more specific to what the code
7377 * src/terminal.c: Use HAVE_STRUCT_UNIPAIR_UNICODE, not HAVE_LINUX_KD_H.
7379 * src/indent.c (Fvertical_motion): Simplify bugfix (Bug#21468).
7381 2015-09-13 Eli Zaretskii <eliz@gnu.org>
7383 Fix vertical cursor motion across overlay strings with newlines
7384 * src/indent.c (Fvertical_motion): Don't leave point in the middle
7385 of an overlay string with newlines, as that will position the
7386 cursor after the string at whatever column is there. (Bug#21468)
7388 2015-09-12 Michael Albinus <michael.albinus@gmx.de>
7390 Fix tests in file-notify-tests.el
7391 * test/automated/file-notify-tests.el: Remove Tramp declarations.
7392 (file-notify-test00-availability): Print remote command w/o Tramp
7394 (file-notify-test02-events, file-notify-test02-events-remote):
7396 (file-notify-test03-autorevert): Use `format-message' when
7397 inspecting *Messages* buffer.
7399 2015-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7401 Bind inhibit-modification-hooks rather than a/b-c-f
7402 * lisp/wid-edit.el (widget-editable-list-insert-before)
7403 (widget-editable-list-delete-at):
7404 * lisp/progmodes/cperl-mode.el (cperl-find-pods-heres)
7405 (cperl-font-lock-unfontify-region-function):
7406 * lisp/progmodes/antlr-mode.el (save-buffer-state-x):
7407 * lisp/obsolete/longlines.el (longlines-mode):
7408 * lisp/obsolete/fast-lock.el (save-buffer-state):
7409 * lisp/mouse.el (mouse-save-then-kill-delete-region):
7410 * lisp/gnus/message.el (message-hide-headers):
7411 * lisp/eshell/esh-mode.el (eshell-send-input, eshell-output-filter):
7412 * lisp/ibuffer.el (ibuffer-update-title-and-summary)
7413 (ibuffer-redisplay-engine): Bind inhibit-modification-hooks to t rather
7414 than after/before-change-functions to nil.
7416 2015-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7418 (jit-lock-deferred-fontify): Pay attention to skipped redisplays
7419 * lisp/jit-lock.el (jit-lock-deferred-fontify): Make sure we refresh
7420 the buffers, even if the forced redisplay is interrupted.
7422 * lisp/emacs-lisp/eieio-core.el (class-p): Accept class objects
7424 Merge syntax-propertize--done and parse-sexp-propertize-done
7425 * lisp/emacs-lisp/syntax.el (syntax-propertize--done): Remove.
7426 (syntax-propertize): Set syntax-propertize--done even if
7427 syntax-propertize-function is nil. Avoid recursive invocations.
7428 (syntax-propertize-chunks): New var.
7429 (internal--syntax-propertize): Use it. Rename from syntax--jit-propertize.
7431 (parse-sexp-propertize-function): Don't set any more.
7432 * src/syntax.c (SETUP_SYNTAX_TABLE): Call parse_sexp_propertize as needed.
7433 (parse_sexp_propertize): Don't assume charpos is not yet propertized.
7434 Call Qinternal__syntax_propertize instead of
7435 Vparse_sexp_propertize_function. Truncate e_property if needed.
7436 (update_syntax_table_forward): Streamline.
7437 (syms_of_syntax): Define Qinternal__syntax_propertize.
7438 (syntax_propertize__done): Rename from parse_sexp_propertize_done.
7440 2015-09-11 Paul Eggert <eggert@cs.ucla.edu>
7442 Prefer straight quoting in some text files
7443 Mostly this just changes ` to ' in static text. Some exceptions:
7444 * INSTALL.REPO: Use curved quotes, as the diagnostic in question
7445 typically does that now.
7446 * admin/quick-install-emacs (TRY, top level):
7447 Use straight quoting in diagnostics.
7448 * src/README: Fix working-directory confusion.
7450 * CONTRIBUTE: Move send-email here from git-workflow.
7452 2015-09-11 Michael Albinus <michael.albinus@gmx.de>
7454 Improve file notifications in Tramp
7455 * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7456 Set proper events to watch for.
7457 (tramp-sh-file-gvfs-monitor-dir-process-filter): Report only
7460 2015-09-11 Eli Zaretskii <eliz@gnu.org>
7462 Fix NS build with --enable-checking='glyphs'
7463 * src/nsfns.m (unwind_create_frame): Make the preprocessor
7464 conditionals for referencing 'dpyinfo' consistent throughout the
7465 function. (Bug#21426)
7467 2015-09-10 Nicolas Petton <nicolas@petton.fr>
7470 This function is similar to `seq-some' but returns the found element.
7471 In the cases where nil can be the found element, a sentinel optional
7472 argument can be provided to avoid ambiguities.
7473 * lisp/emacs-lisp/seq.el (seq-find): New function.
7474 * test/automated/seq-tests.el (test-seq-find): Add tests for `seq-find'.
7475 * doc/lispref/sequences.texi (Sequence Functions): Add documentation for
7478 2015-09-10 Tassilo Horn <tsdh@gnu.org>
7480 Document file-notify--test-with-events.
7481 * test/automated/file-notify-tests.el (file-notify--test-with-events):
7484 2015-09-10 Michael Albinus <michael.albinus@gmx.de>
7486 Report used native library in file-notify-tests.el
7487 * test/automated/file-notify-tests.el
7488 (tramp-get-remote-gvfs-monitor-dir)
7489 (tramp-get-remote-inotifywait): Declare them.
7490 (file-notify-test00-availability): Print used native library.
7492 2015-09-10 Mark Oteiza <mvoteiza@udel.edu>
7494 * lisp/mpc.el (mpc--proc-connect): Use file-name-absolute-p.
7495 (mpc-file-local-copy): Check for absolute path. Check more config
7498 2015-09-10 Eli Zaretskii <eliz@gnu.org>
7500 Improve documentation of categories
7501 * doc/lispref/syntax.texi (Categories): Clarify the example of
7502 using define-category and modify-category-entry. (Bug#21448)
7504 2015-09-10 Paul Eggert <eggert@cs.ucla.edu>
7506 Revert some stray curved quotes I missed earlier
7507 Problem reported by David Kastrup in:
7508 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00440.html
7509 * lisp/international/mule-cmds.el (leim-list-header):
7510 Use format-message with an ASCII-only format.
7512 Prefer NUMBERP to spelling it out
7513 * src/editfns.c (styled_format):
7514 * src/frame.h (NUMVAL):
7515 * src/image.c (parse_image_spec):
7516 * src/lisp.h (CHECK_NUMBER_OR_FLOAT)
7517 (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER):
7518 * src/process.c (Fsignal_process):
7519 * src/xdisp.c (calc_pixel_width_or_height, on_hot_spot_p):
7520 * src/xfaces.c (check_lface_attrs):
7521 * src/xselect.c (x_fill_property_data, x_send_client_event):
7522 Use NUMBERP rather than INTEGERP || FLOATP.
7524 2015-09-10 Tassilo Horn <tsdh@gnu.org>
7526 Improve file-notify-tests
7527 * test/automated/file-notify-tests.el: Use lexical-binding.
7528 (file-notify--test-cleanup): New function.
7529 (file-notify-test00-availability, file-notify-test01-add-watch)
7530 (file-notify-test02-events, file-notify-test03-autorevert): Use it.
7531 (file-notify--test-with-events): New macro.
7532 (file-notify-test02-events): Use it.
7534 2015-09-10 Paul Eggert <eggert@cs.ucla.edu>
7536 Add patch-sending instructions to git-workflow
7537 From a suggestion by Mitchel Humpherys in:
7538 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00421.html
7539 * admin/notes/git-workflow (Sending patches): New section.
7541 Port to GIFLIB 5.0.6 and later
7542 Problem reported by Mitchel Humpherys in:
7543 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00420.html
7544 * src/image.c (HAVE_GIFERRORSTRING) [HAVE_GIF]: New macro.
7545 (GifErrorString, init_gif_functions) [HAVE_GIF && WINDOWSNT]:
7546 (gif_load) [HAVE_GIF]: Use it.
7548 2015-09-10 Glenn Morris <rgm@gnu.org>
7550 * lisp/cedet/ede/auto.el (ede-project-autoload): Doc fix.
7552 2015-09-09 Glenn Morris <rgm@gnu.org>
7554 * test/automated/file-notify-tests.el (file-notify-test02-events):
7557 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
7559 Refix movemail GCC pacification
7560 Problem reported by Ken Brown in:
7561 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00406.html
7562 * lib-src/movemail.c (main): Fix previous change.
7564 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7566 * lisp/calendar/time-date.el (time-to-seconds, time-less-p):
7567 Mark unused vars with underscore.
7569 * src/syntax.c (SETUP_SYNTAX_TABLE): Move truncation...
7570 (parse_sexp_propertize): ...from here.
7572 * lisp/filenotify.el: Use lexical-binding
7573 (file-notify-add-watch): Avoid add-to-list.
7575 2015-09-09 Tassilo Horn <tsdh@gnu.org>
7577 Start checking event types in file-notify tests
7578 * test/automated/file-notify-tests.el (file-notify--test-events):
7580 (file-notify--test-event-handler): Append received event to
7581 file-notify--test-events for later analysis.
7582 (file-notify-test02-events): Assert that the expected notifications have
7583 arrived in the expected order.
7585 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
7587 Merge from gnulib and texinfo
7589 2015-08-03 Improve port of stdalign to C++11
7590 * lib/stdalign.in.h: Copy from gnulib.
7591 * doc/misc/texinfo.tex: Copy from texinfo.
7593 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7595 Make syntax.c call syntax-propertize on demand
7596 * lisp/emacs-lisp/syntax.el (syntax--jit-propertize): New function.
7597 (parse-sexp-propertize-function): Use it.
7598 (syntax-propertize): Disable parse-sexp-propertize-function.
7599 * src/syntax.c (parse_sexp_propertize, update_syntax_table_forward):
7601 (syms_of_syntax): New vars `parse-sexp-propertize-done' and
7602 `parse-sexp-propertize-function'.
7603 * src/syntax.h (struct gl_state_s): Add `e_property_truncated' field.
7604 (UPDATE_SYNTAX_TABLE_FORWARD): Use update_syntax_table_forward.
7605 (SETUP_BUFFER_SYNTAX_TABLE): Set e_property_truncated.
7606 * lisp/progmodes/elisp-mode.el (elisp-byte-code-syntax-propertize):
7607 Don't assume `point' is set.
7609 2015-09-09 Eli Zaretskii <eliz@gnu.org>
7611 Fix indentation of an @example in ELisp manual
7612 * doc/lispref/syntax.texi (Categories): Untabify the example.
7615 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
7617 Define internal-char-font even if --without-x
7618 The function is used now even in non-graphical environments.
7619 Problem reported by Glenn Morris in:
7620 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00401.html
7621 * src/font.c (Finternal_char_font): Move here ...
7622 * src/fontset.c (Finternal_char_font): ... from here.
7624 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7626 * lisp/emacs-lisp/cl-generic.el (cl-generic-generalizers):
7629 2015-09-09 Eli Zaretskii <eliz@gnu.org>
7631 Fix display of complex local data types in GDB-MI
7632 * lisp/progmodes/gdb-mi.el (gdb-locals-handler-custom): If a
7633 variable has no value, display "<complex data type>" as a
7634 placeholder, instead of a confusing "nil". (Bug#21438)
7636 2015-09-09 Oleh Krehel <ohwoeowho@gmail.com>
7638 Remove redundant redefinition of seq-drop-while from seq.el
7639 * lisp/emacs-lisp/seq.el (seq-drop-while): Define only once.
7641 2015-09-09 Phil Sainty <psainty@orcon.net.nz>
7643 * lisp/emacs-lisp/package.el (package--ensure-init-file):
7644 More robust check for `package-initialize' calls in init file.
7645 This function accepts an optional argument, but calls passing
7646 an argument would not have been detected.
7648 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
7650 Port movemail to RHEL 6 with --enable-gcc-warnings
7651 * lib-src/movemail.c (main): Declare local only if needed.
7653 Port recent Linux console changes to RHEL 6
7654 * src/terminal.c [HAVE_LINUX_KD_H]: Include <sys/ioctl.h>.
7656 Improvements for curved quotes on Linux consule
7657 This should help Emacs work better out-of-the-box on Linux consoles,
7658 which have only limited support for displaying Unicode characters.
7659 Also, undo the recent change that caused text-quoting-style to
7660 affect quote display on terminals, so that the two features are
7661 independent. See Alan Mackenzie in:
7662 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00244.html
7663 Finally, add a style parameter to startup--setup-quote-display,
7664 so that this function can also be invoked after startup, with
7665 different styles depending on user preference at the time.
7666 * configure.ac: Check for linux/kd.h header.
7667 * doc/emacs/display.texi (Text Display): Document quote display.
7668 * doc/lispref/display.texi (Active Display Table):
7670 * lisp/startup.el (startup--setup-quote-display, command-line):
7671 text-quoting-style no longer affects quote display.
7672 * doc/lispref/frames.texi (Terminal Parameters): Fix typo.
7673 * lisp/international/mule-util.el (char-displayable-p):
7674 * lisp/startup.el (startup--setup-quote-display):
7675 On a text terminal supporting glyph codes, use the reported
7676 glyph codes instead of the terminal coding system, as this
7677 is more accurate on the Linux console.
7678 * lisp/startup.el (startup--setup-quote-display):
7679 New optional arg STYLE.
7680 * src/fontset.c (Finternal_char_font):
7681 Report glyph codes for a text terminal, if they are available.
7682 Currently this is supported only for the Linux console.
7683 * src/termhooks.h (struct terminal): New member glyph-code-table.
7684 * src/terminal.c [HAVE_LINUX_KD_H]: Include <errno.h>, <linux/kd.h>.
7685 (calculate_glyph_code_table) [HAVE_LINUX_KD_H]: New function.
7686 (terminal_glyph_code): New function.
7688 2015-09-08 Juri Linkov <juri@linkov.net>
7690 * lisp/info.el (Info-fontify-node): Don't stop at the non-title
7691 underline. (Bug#21433)
7693 2015-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7695 * lisp/calendar/time-date.el (with-decoded-time-value): Fix debug spec.
7697 2015-09-08 Tassilo Horn <tsdh@gnu.org>
7699 Fix double-reporting of rename events with inotify
7700 * lisp/filenotify.el (file-notify-callback): Fix double-reporting
7701 of rename events with inotify (bug#21435).
7703 2015-09-08 Vasilij Schneidermann <v.schneidermann@gmail.com> (tiny change)
7705 * lisp/play/tetris.el (tetris-move-down): New command (bug#21360).
7706 (tetris-mode-map): Use it.
7708 2015-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7710 Remove a few simple cases of global redisplay
7711 * src/dispnew.c (redraw_frame): Don't redisplay all frames.
7712 * src/xdisp.c (echo_area_display): Set the frame's `redisplay' bit
7713 rather than returning a "resized_p" boolean.
7714 (redisplay_internal): Adjust call accordingly.
7715 * src/xfaces.c (free_realized_faces): Don't redisplay all frames.
7716 (free_all_realized_faces): Set windows_or_buffers_changed so as to ease
7717 tracking of this undesirable situation.
7719 * src/process.c (status_notify): Avoid global redisplay (bug#11822)
7720 * src/process.c (status_notify): Only set the update_mode_line on the
7721 relevant buffers rather than setting it globally.
7723 2015-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7725 * lisp/electric.el (electric-quote-post-self-insert-function):
7726 Don't use syntax-ppss if comment-use-syntax is nil (e.g. message-mode).
7727 (electric-quote-mode): Activate everywhere in message-mode.
7729 2015-09-07 Paul Eggert <eggert@cs.ucla.edu>
7731 Go back to grave quoting in source-code docstrings etc.
7732 This reverts almost all my recent changes to use curved quotes
7733 in docstrings and/or strings used for error diagnostics.
7734 There are a few exceptions, e.g., Bahá’í proper names.
7735 * admin/unidata/unidata-gen.el (unidata-gen-table):
7736 * lisp/abbrev.el (expand-region-abbrevs):
7737 * lisp/align.el (align-region):
7738 * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet)
7739 (outlineify-sticky):
7740 * lisp/apropos.el (apropos-library):
7741 * lisp/bookmark.el (bookmark-default-annotation-text):
7742 * lisp/button.el (button-category-symbol, button-put)
7744 * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
7745 * lisp/calc/calc-embed.el (calc-do-embedded):
7746 * lisp/calc/calc-ext.el (calc-user-function-list):
7747 * lisp/calc/calc-graph.el (calc-graph-show-dumb):
7748 * lisp/calc/calc-help.el (calc-describe-key)
7749 (calc-describe-thing, calc-full-help):
7750 * lisp/calc/calc-lang.el (calc-c-language)
7751 (math-parse-fortran-vector-end, math-parse-tex-sum)
7752 (math-parse-eqn-matrix, math-parse-eqn-prime)
7753 (calc-yacas-language, calc-maxima-language, calc-giac-language)
7754 (math-read-giac-subscr, math-read-math-subscr)
7755 (math-read-big-rec, math-read-big-balance):
7756 * lisp/calc/calc-misc.el (calc-help, report-calc-bug):
7757 * lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
7758 (calc-auto-recompute):
7759 * lisp/calc/calc-prog.el (calc-fix-token-name)
7760 (calc-read-parse-table-part, calc-user-define-invocation)
7761 (math-do-arg-check):
7762 * lisp/calc/calc-store.el (calc-edit-variable):
7763 * lisp/calc/calc-units.el (math-build-units-table-buffer):
7764 * lisp/calc/calc-vec.el (math-read-brackets):
7765 * lisp/calc/calc-yank.el (calc-edit-mode):
7766 * lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
7767 * lisp/calendar/appt.el (appt-display-message):
7768 * lisp/calendar/diary-lib.el (diary-check-diary-file)
7769 (diary-mail-entries, diary-from-outlook):
7770 * lisp/calendar/icalendar.el (icalendar-export-region)
7771 (icalendar--convert-float-to-ical)
7772 (icalendar--convert-date-to-ical)
7773 (icalendar--convert-ical-to-diary)
7774 (icalendar--convert-recurring-to-diary)
7775 (icalendar--add-diary-entry):
7776 * lisp/calendar/time-date.el (format-seconds):
7777 * lisp/calendar/timeclock.el (timeclock-mode-line-display)
7778 (timeclock-make-hours-explicit, timeclock-log-data):
7779 * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
7780 (todo-item-mark, todo-check-format)
7781 (todo-insert-item--next-param, todo-edit-item--next-key)
7783 * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
7784 * lisp/cedet/mode-local.el (describe-mode-local-overload)
7785 (mode-local-print-binding, mode-local-describe-bindings-2):
7786 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
7787 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
7788 * lisp/cus-start.el (standard):
7789 * lisp/cus-theme.el (describe-theme-1):
7790 * lisp/custom.el (custom-add-dependencies, custom-check-theme)
7791 (custom--sort-vars-1, load-theme):
7792 * lisp/descr-text.el (describe-text-properties-1, describe-char):
7793 * lisp/dired-x.el (dired-do-run-mail):
7794 * lisp/dired.el (dired-log):
7795 * lisp/emacs-lisp/advice.el (ad-read-advised-function)
7796 (ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
7797 (ad-disable-advice, ad-remove-advice, ad-set-argument)
7798 (ad-set-arguments, ad--defalias-fset, ad-activate)
7800 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
7801 (byte-compile-unfold-lambda, byte-optimize-form-code-walker)
7802 (byte-optimize-while, byte-optimize-apply):
7803 * lisp/emacs-lisp/byte-run.el (defun, defsubst):
7804 * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
7805 (byte-compile-log-file, byte-compile-format-warn)
7806 (byte-compile-nogroup-warn, byte-compile-arglist-warn)
7807 (byte-compile-cl-warn)
7808 (byte-compile-warn-about-unresolved-functions)
7809 (byte-compile-file, byte-compile--declare-var)
7810 (byte-compile-file-form-defmumble, byte-compile-form)
7811 (byte-compile-normal-call, byte-compile-check-variable)
7812 (byte-compile-variable-ref, byte-compile-variable-set)
7813 (byte-compile-subr-wrong-args, byte-compile-setq-default)
7814 (byte-compile-negation-optimizer)
7815 (byte-compile-condition-case--old)
7816 (byte-compile-condition-case--new, byte-compile-save-excursion)
7817 (byte-compile-defvar, byte-compile-autoload)
7818 (byte-compile-lambda-form)
7819 (byte-compile-make-variable-buffer-local, display-call-tree)
7820 (batch-byte-compile):
7821 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use):
7822 * lisp/emacs-lisp/chart.el (chart-space-usage):
7823 * lisp/emacs-lisp/check-declare.el (check-declare-scan)
7824 (check-declare-warn, check-declare-file)
7825 (check-declare-directory):
7826 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
7827 (checkdoc-message-text-engine):
7828 * lisp/emacs-lisp/cl-extra.el (cl-parse-integer)
7829 (cl--describe-class):
7830 * lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
7831 (cl--generic-describe, cl-generic-generalizers):
7832 * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
7833 (cl-symbol-macrolet):
7834 * lisp/emacs-lisp/cl.el (cl-unload-function, flet):
7835 * lisp/emacs-lisp/copyright.el (copyright)
7836 (copyright-update-directory):
7837 * lisp/emacs-lisp/edebug.el (edebug-read-list):
7838 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
7839 * lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
7841 * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
7842 * lisp/emacs-lisp/eieio-speedbar.el:
7843 (eieio-speedbar-child-make-tag-lines)
7844 (eieio-speedbar-child-description):
7845 * lisp/emacs-lisp/eieio.el (defclass, change-class):
7846 * lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
7847 (elint-init-form, elint-check-defalias-form)
7848 (elint-check-let-form):
7849 * lisp/emacs-lisp/ert.el (ert-get-test, ert-results-mode-menu)
7850 (ert-results-pop-to-backtrace-for-test-at-point)
7851 (ert-results-pop-to-messages-for-test-at-point)
7852 (ert-results-pop-to-should-forms-for-test-at-point)
7853 (ert-describe-test):
7854 * lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
7855 (find-function-library):
7856 * lisp/emacs-lisp/generator.el (iter-yield):
7857 * lisp/emacs-lisp/gv.el (gv-define-simple-setter):
7858 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
7859 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
7860 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
7861 * lisp/emacs-lisp/nadvice.el (advice--make-docstring)
7862 (advice--make, define-advice):
7863 * lisp/emacs-lisp/package-x.el (package-upload-file):
7864 * lisp/emacs-lisp/package.el (package-version-join)
7865 (package-disabled-p, package-activate-1, package-activate)
7866 (package--download-one-archive)
7867 (package--download-and-read-archives)
7868 (package-compute-transaction, package-install-from-archive)
7869 (package-install, package-install-selected-packages)
7870 (package-delete, package-autoremove, describe-package-1)
7871 (package-install-button-action, package-delete-button-action)
7872 (package-menu-hide-package, package-menu--list-to-prompt)
7873 (package-menu--perform-transaction)
7874 (package-menu--find-and-notify-upgrades):
7875 * lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
7876 * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
7877 * lisp/emacs-lisp/ring.el (ring-previous, ring-next):
7878 * lisp/emacs-lisp/rx.el (rx-check, rx-anything)
7879 (rx-check-any-string, rx-check-any, rx-check-not, rx-=)
7880 (rx-repeat, rx-check-backref, rx-syntax, rx-check-category)
7882 * lisp/emacs-lisp/smie.el (smie-config-save):
7883 * lisp/emacs-lisp/subr-x.el (internal--check-binding):
7884 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
7885 * lisp/emacs-lisp/testcover.el (testcover-1value):
7886 * lisp/emacs-lisp/timer.el (timer-event-handler):
7887 * lisp/emulation/viper-cmd.el (viper-toggle-parse-sexp-ignore-comments)
7888 (viper-toggle-search-style, viper-kill-buffer)
7889 (viper-brac-function):
7890 * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
7891 * lisp/env.el (setenv):
7892 * lisp/erc/erc-button.el (erc-nick-popup):
7893 * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login, english):
7894 * lisp/eshell/em-dirs.el (eshell/cd):
7895 * lisp/eshell/em-glob.el (eshell-glob-regexp)
7896 (eshell-glob-entries):
7897 * lisp/eshell/em-pred.el (eshell-parse-modifiers):
7898 * lisp/eshell/esh-opt.el (eshell-show-usage):
7899 * lisp/facemenu.el (facemenu-add-new-face)
7900 (facemenu-add-new-color):
7901 * lisp/faces.el (read-face-name, read-face-font, describe-face)
7902 (x-resolve-font-name):
7903 * lisp/files-x.el (modify-file-local-variable):
7904 * lisp/files.el (locate-user-emacs-file, find-alternate-file)
7905 (set-auto-mode, hack-one-local-variable--obsolete)
7906 (dir-locals-set-directory-class, write-file, basic-save-buffer)
7907 (delete-directory, copy-directory, recover-session)
7908 (recover-session-finish, insert-directory)
7909 (file-modes-char-to-who, file-modes-symbolic-to-number)
7910 (move-file-to-trash):
7911 * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer):
7912 * lisp/find-cmd.el (find-generic, find-to-string):
7913 * lisp/finder.el (finder-commentary):
7914 * lisp/font-lock.el (font-lock-fontify-buffer):
7915 * lisp/format.el (format-write-file, format-find-file)
7916 (format-insert-file):
7917 * lisp/frame.el (get-device-terminal, select-frame-by-name):
7918 * lisp/fringe.el (fringe--check-style):
7919 * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
7920 * lisp/help-fns.el (help-fns--key-bindings)
7921 (help-fns--compiler-macro, help-fns--parent-mode)
7922 (help-fns--obsolete, help-fns--interactive-only)
7923 (describe-function-1, describe-variable):
7924 * lisp/help.el (describe-mode)
7925 (describe-minor-mode-from-indicator):
7926 * lisp/image.el (image-type):
7927 * lisp/international/ccl.el (ccl-dump):
7928 * lisp/international/fontset.el (x-must-resolve-font-name):
7929 * lisp/international/mule-cmds.el (prefer-coding-system)
7930 (select-safe-coding-system-interactively)
7931 (select-safe-coding-system, activate-input-method)
7932 (toggle-input-method, describe-current-input-method)
7933 (describe-language-environment):
7934 * lisp/international/mule-conf.el (code-offset):
7935 * lisp/international/mule-diag.el (describe-character-set)
7936 (list-input-methods-1):
7937 * lisp/mail/feedmail.el (feedmail-run-the-queue):
7938 * lisp/mouse.el (minor-mode-menu-from-indicator):
7939 * lisp/mpc.el (mpc-playlist-rename):
7940 * lisp/msb.el (msb--choose-menu):
7941 * lisp/net/ange-ftp.el (ange-ftp-shell-command):
7942 * lisp/net/imap.el (imap-interactive-login):
7943 * lisp/net/mairix.el (mairix-widget-create-query):
7944 * lisp/net/newst-backend.el (newsticker--sentinel-work):
7945 * lisp/net/newst-treeview.el (newsticker--treeview-load):
7946 * lisp/net/rlogin.el (rlogin):
7947 * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
7948 * lisp/obsolete/otodo-mode.el (todo-more-important-p):
7949 * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
7950 * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
7951 * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
7952 * lisp/org/ob-core.el (org-babel-goto-named-src-block)
7953 (org-babel-goto-named-result):
7954 * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
7955 * lisp/org/ob-ref.el (org-babel-ref-resolve):
7956 * lisp/org/org-agenda.el (org-agenda-prepare):
7957 * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
7958 (org-clock-resolve):
7959 * lisp/org/org-ctags.el (org-ctags-ask-rebuild-tags-file-then-find-tag):
7960 * lisp/org/org-feed.el (org-feed-parse-atom-entry):
7961 * lisp/org/org-habit.el (org-habit-parse-todo):
7962 * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
7963 (org-mouse-context-menu):
7964 * lisp/org/org-table.el (org-table-edit-formulas):
7965 * lisp/org/ox.el (org-export-async-start):
7966 * lisp/proced.el (proced-log):
7967 * lisp/progmodes/ada-mode.el (ada-get-indent-case)
7968 (ada-check-matching-start, ada-goto-matching-start):
7969 * lisp/progmodes/ada-prj.el (ada-prj-display-page):
7970 * lisp/progmodes/ada-xref.el (ada-find-executable):
7971 * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
7972 * lisp/progmodes/etags.el (etags-tags-apropos-additional):
7973 * lisp/progmodes/flymake.el (flymake-parse-err-lines)
7974 (flymake-start-syntax-check-process):
7975 * lisp/progmodes/python.el (python-shell-get-process-or-error)
7976 (python-define-auxiliary-skeleton):
7977 * lisp/progmodes/sql.el (sql-comint):
7978 * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
7979 * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate):
7980 * lisp/recentf.el (recentf-open-files):
7981 * lisp/replace.el (query-replace-read-from)
7982 (occur-after-change-function, occur-1):
7983 * lisp/scroll-bar.el (scroll-bar-columns):
7984 * lisp/server.el (server-get-auth-key):
7985 * lisp/simple.el (execute-extended-command)
7986 (undo-outer-limit-truncate, list-processes--refresh)
7987 (compose-mail, set-variable, choose-completion-string)
7988 (define-alternatives):
7989 * lisp/startup.el (site-run-file, tty-handle-args, command-line)
7991 * lisp/subr.el (noreturn, define-error, add-to-list)
7992 (read-char-choice, version-to-list):
7993 * lisp/term/common-win.el (x-handle-xrm-switch)
7994 (x-handle-name-switch, x-handle-args):
7995 * lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
7996 * lisp/textmodes/reftex-ref.el (reftex-label):
7997 * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
7998 * lisp/textmodes/two-column.el (2C-split):
7999 * lisp/tutorial.el (tutorial--describe-nonstandard-key)
8000 (tutorial--find-changed-keys):
8001 * lisp/type-break.el (type-break-noninteractive-query):
8002 * lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
8003 (wdired-do-perm-changes):
8004 * lisp/whitespace.el (whitespace-report-region):
8005 Prefer grave quoting in source-code strings used to generate help
8007 * lisp/faces.el (face-documentation):
8008 No need to convert quotes, since the result is a docstring.
8009 * lisp/info.el (Info-virtual-index-find-node)
8010 (Info-virtual-index, info-apropos):
8011 Simplify by generating only curved quotes, since info files are
8012 typically that ways nowadays anyway.
8013 * lisp/international/mule-diag.el (list-input-methods):
8014 Don’t assume text quoting style is curved.
8015 * lisp/org/org-bibtex.el (org-bibtex-fields):
8016 Revert my recent changes, going back to the old quoting style.
8018 2015-09-07 Artur Malabarba <bruce.connor.am@gmail.com>
8020 * lisp/emacs-lisp/package.el: Reduce autoloading before compiling.
8021 (package--autoloads-file-name)
8022 (package--activate-autoloads-and-load-path): New function.
8023 (package-activate-1): Delegate autoloading and load-path
8024 configuration to `package--activate-autoloads-and-load-path'.
8025 (package--compile): Before compilation, call
8026 `package--activate-autoloads-and-load-path' instead of
8027 `package-activate-1'.
8029 2015-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8031 * src/keyboard.c (read_key_sequence): Complete last fix (bug#21403).
8033 2015-09-07 Eli Zaretskii <eliz@gnu.org>
8035 Fix deletion of symlinks to directories on MS-Windows
8036 * src/w32.c (sys_unlink): If 'unlink' fails, and the argument is a
8037 symlink to a directory, try again with 'rmdir'.
8038 (is_symlink): If the argument is a symlink to a directory, set a
8039 bit in the return value to indicate that fact.
8041 2015-09-07 Artur Malabarba <bruce.connor.am@gmail.com>
8043 * lisp/emacs-lisp/package.el (package-initialize): Set enable-at-startup
8044 When `package-initialize' is called as part of loading the init file,
8045 the user probably doesn't want it to be called again afterwards.
8046 In this situation, `package-initialize' now sets
8047 `package-enable-at-startup' to nil to prevent that. The user can have
8048 the old behavior by setting this variable to t after the call to
8049 `package-initialize'. (Bug#21423)
8050 * doc/emacs/package.texi (Package Installation): Document it.
8051 * doc/lispref/package.texi (Packaging Basics): Document it.
8052 * etc/NEWS: Document it.
8054 2015-09-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
8056 Bump version of ntlm.el to 2.00
8057 * lisp/net/ntlm.el: Bump version to 2.00. New maintainer.
8060 2015-09-06 Adam Sjøgren <asjo@koldfront.dk>
8062 * doc/misc/gnus.texi (Mail Source Specifiers):
8063 Allow :mailbox to be a list.
8065 2015-09-06 Dmitry Gutov <dgutov@yandex.ru>
8067 * lisp/progmodes/etags.el (etags-tags-completion-table):
8068 Allow even one non-regular character before the implicit tag name.
8069 Reported at http://emacs.stackexchange.com/questions/15269/.
8071 2015-09-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
8073 Add support for NTLMv2 authentication
8074 * lisp/net/ntlm.el (ntlm): New customization group.
8075 (ntlm-compatibility-level): New defcustom.
8076 (ntlm-compute-timestamp): New function.
8077 (ntlm-generate-nonce): Likewise.
8078 (ntlm-build-auth-response): Add support for NTLMv2 authentication.
8080 2015-09-06 Artur Malabarba <bruce.connor.am@gmail.com>
8082 * lisp/emacs-lisp/package.el: Rename custom faces.
8083 All of the recently introduced faces, like `package-name-face', have
8084 been renamed to no end in `-face' to comply with the convention
8085 described in (info "(elisp) Defining Faces").
8086 (package-name, package-description)
8087 (package-status-built-in, package-status-external)
8088 (package-status-available, package-status-new)
8089 (package-status-held, package-status-disabled)
8090 (package-status-installed, package-status-dependency)
8091 (package-status-unsigned, package-status-incompat)
8092 (package-status-avail-obso): New faces.
8093 (package-menu--print-info-simple): Use them.
8095 2015-09-06 Adam Sjøgren <asjo@koldfront.dk>
8097 mail-source.el: Make the imap mail-source's :mailbox handle a list
8098 * lisp/gnus/mail-source.el (mail-source-fetch-imap):
8099 Allow :mailbox to be a list.
8101 2015-09-06 Eric Abrahamsen <eric@ericabrahamsen.net>
8103 nnimap.el: Handle nil arg to nnimap-request-group
8104 * lisp/gnus/nnimap.el (nnimap-request-group): Handle nil "info" arg.
8105 This arg isn't always passed in, check it's not nil before making it
8106 into a list. The active arg will also be nil if the group is new,
8109 2015-09-06 Michael Albinus <michael.albinus@gmx.de>
8111 File notifications: Support renaming over directory boundaries
8112 * lisp/filenotify.el (file-notify-handle-event):
8113 (file-notify--pending-event): Adapt docstring.
8114 (file-notify--descriptor, file-notify-callback): Reimplement in
8115 order to support renaming over directory boundaries.
8116 (file-notify-add-watch): Adapt `file-notify--descriptor' call.
8117 * doc/lispref/os.texi (File Notifications): Remove limitation of
8118 file renaming to the same directory.
8120 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
8122 Spelling fix (Bug#21420)
8124 2015-09-05 Nicolas Petton <nicolas@petton.fr>
8126 Improve the semantic of map-some
8127 Update map-some to return the returned by the predicate, similar to
8129 * lisp/emacs-lisp/map.el (map-some): Update the function to return the
8130 return value of the predicate.
8131 * test/automated/map-tests.el (test-map-some): Update the test to check
8132 for non-nil values only.
8134 Rename map-contains-key-p and map-some-p
8135 Remove the "-p" suffix from both function names.
8136 * lisp/emacs-lisp/map.el (map-contains-key, map-some):
8137 Rename the functions.
8138 * test/automated/map-tests.el (test-map-contains-key, test-map-some):
8139 Update both test functions.
8141 Improve the semantic of seq-some
8142 Update seq-some to return non-nil if the predicate returns non-nil for
8143 any element of the seq, in which case the returned value is the one
8144 returned by the predicate.
8145 * lisp/emacs-lisp/seq.el (seq-some): Update the function and its
8147 * test/automated/seq-tests.el (test-seq-some): Add a regression test.
8148 * doc/lispref/sequences.texi (Sequence Functions): Update the
8149 documentation for seq-some.
8151 Rename seq-some-p to seq-some and seq-contains-p to seq-contains
8152 * lisp/emacs-lisp/seq.el (seq-some, seq-contains): Rename the functions
8153 without the "-p" prefix.
8154 * test/automated/seq-tests.el (test-seq-some, test-seq-contains): Update
8155 the tests accordingly.
8156 * doc/lispref/sequences.texi (Sequence Functions): Update the
8157 documentation for seq.el.
8159 2015-09-05 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
8161 text-quoting-style for usage of fn names with ‘’
8162 * lisp/help.el (help--docstring-quote): Don’t assume
8163 text-quoting-style is ‘curve’ when generating usage strings for
8164 functions whose names contain curved quotes.
8166 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
8168 Fix fix for describe-function keybinding confusion
8169 This fixes a bug introduced by the previous patch.
8170 * lisp/help-fns.el (help-fns--signature):
8171 Last arg of help-fns--signature is now a buffer, or nil if a
8172 raw signature is wanted. All callers changed.
8173 (describe-function-1): Use this to do the right thing with signatures.
8175 2015-09-05 Johan Bockgård <bojohan@gnu.org>
8177 * doc/lispref/frames.texi (Mouse Tracking): Fix typo.
8179 Use PAT rather than UPAT in pcase macros
8180 * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
8181 * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>: Use PAT rather
8184 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
8186 Fix describe-function keybinding confusion
8187 * lisp/help-fns.el (describe-function-1): Compute signature
8188 in the original buffer, not in standard-output, so that
8189 substitute-command-keys uses the proper keybindings.
8190 This fixes Bug#21412, introduced in commit
8191 2015-06-11T10:23:46-0700!eggert@cs.ucla.edu.
8193 2015-09-05 Xue Fuqiao <xfq.free@gmail.com>
8195 * doc/emacs/programs.texi (Program Modes): Remove an index entry.
8197 2015-09-05 Robert Pluim <rpluim@gmail.com> (tiny change)
8199 Avoid read error messages from 'inotify'
8200 * src/process.c (wait_reading_process_output): Add a
8201 'tls_available' set and manipulate it instead of 'Available' when
8202 checking TLS inputs. Assign the value to 'Available' only if we
8203 find any TLS data waiting to be read. This avoids error messages
8204 from 'inotify' that tries to read data it shouldn't. (Bug#21337)
8206 2015-09-05 Eli Zaretskii <eliz@gnu.org>
8208 Avoid errors in thing-at-point with 2nd argument non-nil
8209 * lisp/thingatpt.el (thing-at-point): Only call 'length' on
8210 sequences. (Bug#21391)
8212 2015-09-05 Philip <pipcet@gmail.com> (tiny change)
8214 Fix segfaults due to using a stale face ID
8215 * src/xdisp.c (forget_escape_and_glyphless_faces): New function.
8216 (display_echo_area_1, redisplay_internal): Call it to avoid
8217 reusing stale face IDs for 'escape-glyph' and 'glyphless-char'
8218 faces, which could case a segfault if the frame's face cache was
8219 freed since the last redisplay. (Bug#21394)
8220 * src/xfaces.c (free_realized_faces):
8221 Call forget_escape_and_glyphless_faces.
8222 * src/dispextern.h (forget_escape_and_glyphless_faces): Add prototype.
8224 2015-09-04 Paul Eggert <eggert@cs.ucla.edu>
8226 Fix minor problems with " in manual
8228 2015-09-04 Michael Albinus <michael.albinus@gmx.de>
8230 * doc/misc/tramp.texi (Frequently Asked Questions): New item for ad-hoc
8233 2015-09-04 Paul Eggert <eggert@cs.ucla.edu>
8235 Support automated ‘make check’ in non-C locale
8236 This lets the builder optionally test Emacs behavior in other locales.
8237 The C locale is still the default for tests.
8238 * test/automated/Makefile.in (TEST_LOCALE): New macro.
8240 * test/automated/flymake-tests.el (flymake-tests--current-face):
8241 Use C locale for subprocesses so that tests behave as expected.
8242 * test/automated/python-tests.el:
8243 (python-shell-prompt-validate-regexps-1)
8244 (python-shell-prompt-validate-regexps-2)
8245 (python-shell-prompt-validate-regexps-3)
8246 (python-shell-prompt-validate-regexps-4)
8247 (python-shell-prompt-validate-regexps-5)
8248 (python-shell-prompt-validate-regexps-6)
8249 (python-shell-prompt-set-calculated-regexps-1):
8250 Adjust expected output to match locale.
8251 * test/automated/tildify-tests.el (tildify-test--test)
8252 (tildify-space-test--test, tildify-space-undo-test--test):
8253 This test assumes UTF-8 encoding.
8255 2015-09-03 Paul Eggert <eggert@cs.ucla.edu>
8257 Fix some more docstring etc. quoting problems
8258 Mostly these fixes prevent the transliteration of apostrophes
8259 that should stay apostrophes. Also, prefer curved quotes in
8260 Bahá’í proper names, as that’s the preferred Bahá’í style and
8261 these names are chock-full of non-ASCII characters anyway.
8262 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-autoload)
8263 (eieio-defclass-internal):
8264 * lisp/emacs-lisp/eieio.el (defclass):
8265 * lisp/hi-lock.el (hi-lock-mode):
8266 Don’t transliterate Lisp apostrophes when generating a
8267 doc string or diagnostic.
8268 * lisp/international/mule-diag.el (list-coding-systems-1):
8269 * lisp/international/ogonek.el (ogonek-jak, ogonek-how):
8270 * lisp/mail/sendmail.el (sendmail-query-user-about-smtp):
8271 * lisp/vc/ediff-mult.el (ediff-redraw-registry-buffer):
8272 * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
8273 Substitute quotes before putting them in the help buffer.
8275 2015-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8277 Re-add the notion of echo_prompt lost in the translation
8278 * src/keyboard.h (struct kboard): Replace echo_after_prompt with new
8279 echo_prompt which contains the actual string. Update all uses.
8280 * src/keyboard.c (kset_echo_prompt): New function.
8281 (echo_update): Add echo_prompt at the very beginning.
8282 (read_char): Remove workaround for bug#19875, not needed any more.
8283 (read_key_sequence): Set echo_prompt rather than echo_string
8285 (mark_kboards): Mark echo_prompt.
8287 Fix disassembly of non-compiled lexical functions (bug#21377)
8288 * lisp/emacs-lisp/bytecomp.el (byte-compile): Handle `closure' arg.
8289 * lisp/emacs-lisp/disass.el: Use lexical-binding.
8290 (disassemble): Recognize `closure's as well.
8291 (disassemble-internal): Use indirect-function and
8292 help-function-arglist, and accept `closure's.
8293 (disassemble-internal): Use interactive-form.
8294 (disassemble-1): Use functionp.
8296 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
8297 Don't compose inside verbatim blocks!
8299 2015-09-03 Mark Oteiza <mvoteiza@udel.edu>
8301 * lisp/thingatpt.el (thing-at-point-uri-schemes): Add "man:"
8304 * lisp/mpc.el (mpc--proc-connect): Handle unix sockets (bug#19394).
8306 2015-09-03 Dmitry Gutov <dgutov@yandex.ru>
8308 vc-git-mode-line-string: Explicitly re-apply the face
8309 * lisp/vc/vc-git.el (vc-git-mode-line-string): Explicitly re-apply
8310 the face (bug#21404).
8312 2015-09-02 Paul Eggert <eggert@cs.ucla.edu>
8314 Treat initial-scratch-message as a doc string
8315 * doc/emacs/building.texi (Lisp Interaction):
8316 * doc/lispref/os.texi (Startup Summary):
8317 * etc/NEWS: Document this.
8318 * lisp/startup.el (initial-scratch-message):
8319 Look up find-file’s key rather than hardcoding it.
8320 (command-line-1): Substitute the doc string.
8321 This also substitutes the quotes, which will help test display
8324 Fix describe-char bug with glyphs on terminals
8325 * lisp/descr-text.el (describe-char): Terminals can have glyphs in
8326 buffers too, so don’t treat them differently from graphic displays.
8327 Without this fix, describe-char would throw an error on a terminal
8328 if given a glyph with a non-default face.
8330 Follow text-quoting-style in display table init
8331 This attempts to fix a problem reported by Alan Mackenzie in:
8332 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00112.html
8333 * doc/lispref/display.texi (Active Display Table):
8334 Mention how text-quoting-style affects it.
8335 * doc/lispref/help.texi (Keys in Documentation):
8336 Say how to set text-quoting-style in ~/.emacs.
8337 * etc/NEWS: Document the change.
8338 * lisp/startup.el (startup--setup-quote-display):
8339 Follow user preference if text-quoting-style is set.
8340 (command-line): Setup quote display again if user expresses
8341 a preference in .emacs.
8343 2015-09-02 K. Handa <handa@gnu.org>
8346 * src/ftfont.c (ftfont_drive_otf): otf_positioning_type_components_mask
8347 -> OTF_positioning_type_components_mask.
8350 * src/ftfont.c (ftfont_drive_otf): Remember some bits of
8351 OTF_Glyph->positioning_type in MFLTGlyphFT->libotf_positioning_type.
8353 2015-09-01 David Caldwell <david@porkrind.org> (tiny change)
8355 * lisp/vc/vc-hooks.el (vc-refresh-state): New command.
8356 Rename from vc-find-file-hook and make interactive.
8357 (vc-find-file-hook): Redefine as obsolete alias.
8359 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
8361 Escape ` and ' in doc
8362 Escape apostrophes and grave accents in docstrings if they are
8363 are supposed to stand for themselves and are not quotes. Remove
8364 apostrophes from docstring examples like ‘'(calendar-nth-named-day
8365 -1 0 10 year)’ that confuse source code with data. Do some other
8366 minor docstring fixups as well, e.g., insert a missing close quote.
8368 2015-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8370 Generalize the prefix-command machinery of C-u
8371 * lisp/simple.el (prefix-command-echo-keystrokes-functions)
8372 (prefix-command-preserve-state-hook): New hooks.
8373 (internal-echo-keystrokes-prefix): New function.
8374 (prefix-command--needs-update, prefix-command--last-echo): New vars.
8375 (prefix-command-update, prefix-command-preserve): New functions.
8376 (reset-this-command-lengths): New compatibility definition.
8377 (universal-argument--mode): Call prefix-command-update.
8378 (universal-argument, universal-argument-more, negative-argument)
8379 (digit-argument): Call prefix-command-preserve-state.
8380 * src/keyboard.c: Call internal-echo-keystrokes-prefix to build
8381 the "prefix argument" to echo.
8382 (this_command_key_count_reset, before_command_key_count)
8383 (before_command_echo_length): Delete variables.
8384 (echo_add_key): Always add a space.
8385 (echo_char): Remove.
8386 (echo_dash): Don't give up when this_command_key_count is 0, since that
8387 is now the case after a prefix command.
8388 (echo_update): New function, extracted from echo_now.
8390 (add_command_key, read_char, record_menu_key): Remove old disabled code.
8391 (command_loop_1): Don't refrain from pushing an undo boundary when
8392 prefix-arg is set. Remove other prefix-arg special case, now handled
8393 directly in the prefix commands instead. But call echo_now if there's
8394 a prefix state to echo.
8395 (read_char, record_menu_key): Use echo_update instead of echo_char.
8396 (read_key_sequence): Use echo_now rather than echo_dash/echo_char.
8397 (Freset_this_command_lengths): Delete function.
8398 (syms_of_keyboard): Define Qinternal_echo_keystrokes_prefix.
8399 (syms_of_keyboard): Don't defsubr Sreset_this_command_lengths.
8400 * lisp/simple.el: Use those new hooks for C-u.
8401 (universal-argument--description): New function.
8402 (prefix-command-echo-keystrokes-functions): Use it.
8403 (universal-argument--preserve): New function.
8404 (prefix-command-preserve-state-hook): Use it.
8405 (command-execute): Call prefix-command-update if needed.
8406 * lisp/kmacro.el (kmacro-step-edit-prefix-commands)
8407 (kmacro-step-edit-prefix-index): Delete variables.
8408 (kmacro-step-edit-query, kmacro-step-edit-insert): Remove ad-hoc
8409 support for prefix arg commands.
8410 (kmacro-step-edit-macro): Don't bind kmacro-step-edit-prefix-index.
8411 * lisp/emulation/cua-base.el (cua--prefix-override-replay)
8412 (cua--shift-control-prefix): Use prefix-command-preserve-state.
8413 Remove now unused arg `arg'.
8414 (cua--prefix-override-handler, cua--prefix-repeat-handler)
8415 (cua--shift-control-c-prefix, cua--shift-control-x-prefix):
8417 (cua--prefix-override-timeout): Don't call reset-this-command-lengths
8419 (cua--keep-active, cua-exchange-point-and-mark): Don't set mark-active
8420 if the mark is not set.
8422 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
8424 Rework quoting in Emacs Lisp Introduction
8425 * doc/lispintro/emacs-lisp-intro.texi (Sample let Expression)
8426 (if in more detail, type-of-animal in detail, else): Rework the
8427 early example to use " rather than ' so that we don’t burden
8428 complete novices with the low-priority detail of text quoting style.
8429 (Complete zap-to-char, kill-region, Complete copy-region-as-kill)
8430 (kill-new function, kill-ring-yank-pointer)
8431 (Complete forward-sentence, Loading Files)
8432 (Code for current-kill, Code for current-kill, yank):
8433 Resurrect the Emacs 22 versions of the code, which uses grave
8434 quoting style in doc strings.
8435 (Complete zap-to-char): Mention how quoting works in doc strings.
8437 Setup quote display only if interactive
8438 * lisp/startup.el (command-line):
8439 Skip call to startup--setup-quote-display if noninteractive.
8440 Without this change, python-shell-prompt-validate-regexps-1
8441 fails in test/automated/python-tests.el when run in an
8442 en_US.utf8 locale on Fedora.
8444 2015-09-01 Katsumi Yamaoka <yamaoka@jpl.org>
8446 Use defalias at the top level
8447 * lisp/gnus/gnus-util.el (gnus-format-message):
8448 * lisp/net/tls.el (tls-format-message): Use defalias at the top level
8449 so as to make eval-and-compile unnecessary. Thanks to Stefan Monnier.
8451 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
8453 terminal-init-w32console mimicks command-line
8454 Problem reported by Eli Zaretskii.
8455 * lisp/startup.el (startup--setup-quote-display):
8456 New function, refactored from a part of ‘command-line’.
8457 (command-line): Use it.
8458 * lisp/term/w32console.el (terminal-init-w32console):
8459 Use it, so that this function stays consistent with ‘command-line’.
8461 Display replacement quotes with shadow glyphs
8462 * lisp/startup.el (command-line): When displaying ASCII
8463 replacements for curved quotes, use a shadow glyph instead of a
8464 regular one, to avoid ambiguity.
8466 2015-09-01 Michael Albinus <michael.albinus@gmx.de>
8468 * lisp/net/tramp-sh.el (tramp-methods) <sudo>: Mask "Password:".
8470 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
8472 Docstring fixes re quotes in C code
8473 Fix some docstring quoting problems, mostly by escaping apostrophe.
8475 2015-09-01 Michael Albinus <michael.albinus@gmx.de>
8477 Some Tramp password fixes
8478 * lisp/net/tramp.el (tramp-clear-passwd): Clear also the passwords
8480 * lisp/net/tramp-sh.el (tramp-methods) <sudo>: Move "-p" "Password:"
8481 at the beginning of the command. Otherwise, it could be
8482 interpreted as password prompt if the remote host echoes the
8484 (tramp-remote-coding-commands): Add "openssl enc -base64".
8486 2015-09-01 Dmitry Gutov <dgutov@yandex.ru>
8488 Make vc-git-working-revision always return the commit hash
8489 * lisp/vc/vc-git.el (vc-git-working-revision):
8490 Return the commit hash (bug#21383).
8491 (vc-git--symbolic-ref): New function, extracted from above.
8492 (vc-git-mode-line-string): Use it.
8494 2015-09-01 K. Handa <handa@gnu.org>
8496 Use the new type MFLTGlyphFT for MFLTGlyphString.glyphs
8497 * src/ftfont.c (MFLTGlyphFT): New type.
8498 (ftfont_get_glyph_id, ftfont_get_metrics, ftfont_drive_otf)
8499 (ftfont_shape_by_flt): Make MFLTGlyphFT the actual type of
8500 elements in the array MFLTGlyphString.glyphs.
8502 2015-09-01 Stephen Leake <stephen_leake@stephe-leake.org>
8504 Improve comments in elisp-mode.el, elisp-mode-tests.el
8505 * lisp/progmodes/elisp-mode.el: Clean up FIXMEs, comments.
8507 Delete Emacs 25 test in mode-local.el
8508 * lisp/cedet/mode-local.el (describe-mode-local-overload):
8509 Fix missed an edit in previous commit.
8511 Show all known mode-local overrides in *Help*
8512 * lisp/cedet/mode-local.el (describe-mode-local-overload):
8513 Assume Emacs 25. Add all known mode-local overrides.
8515 2015-09-01 Katsumi Yamaoka <yamaoka@jpl.org>
8517 * lisp/gnus/gnus-sum.el (gnus-summary-search-article):
8518 Ensure that the article where the search word is found is displayed
8519 and pointed to in the summary buffer.
8521 2015-08-31 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
8523 * lisp/newcomment.el (comment-dwim): Use `use-region-p'.
8524 When the region is active, but is empty (length 0), act as though
8525 the region was not active; that is, put a comment at the end of
8526 the line. (Bug#21119)
8528 2015-08-31 Katsumi Yamaoka <yamaoka@jpl.org>
8530 Port tls.el to older Emacs
8531 * lisp/net/tls.el (tls-format-message):
8532 Alias to format-message, or format if not available.
8533 (open-tls-stream): Use it.
8535 2015-08-31 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
8537 hideif.el: Recognize .h++ as C++ header
8538 * lisp/progmodes/hideif.el (hide-ifdef-header-regexp): Add .h++.
8540 isearch: Document character folding mode
8541 * lisp/isearch.el (isearch-forward):
8542 Mention `isearch-toggle-character-fold' in doc string.
8544 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
8546 Quoting fixes in ERC and Eshell
8547 * lisp/erc/erc-autoaway.el (erc-autoaway-set-away):
8548 * lisp/erc/erc-backend.el (define-erc-response-handler):
8549 * lisp/erc/erc-fill.el (erc-fill-static-center):
8550 * lisp/eshell/em-dirs.el (eshell-save-some-last-dir):
8551 * lisp/eshell/em-glob.el (eshell-glob-entries):
8552 * lisp/eshell/em-hist.el (eshell-save-some-history):
8553 * lisp/eshell/em-unix.el (eshell-remove-entries, eshell/rm)
8554 (eshell-shuffle-files):
8555 * lisp/eshell/esh-cmd.el (eshell-do-eval):
8556 * lisp/eshell/esh-proc.el (eshell-process-interact)
8557 (eshell-query-kill-processes):
8558 Respect ‘text-quoting-style’ in diagnostics and doc strings.
8560 Quoting fixes in Gnus
8561 * lisp/gnus/gnus-agent.el:
8562 (gnus-agent-possibly-synchronize-flags-server):
8563 * lisp/gnus/gnus-art.el (gnus-article-browse-delete-temp-files):
8564 * lisp/gnus/gnus-eform.el (gnus-edit-form):
8565 * lisp/gnus/gnus-group.el (gnus-group-edit-group)
8566 (gnus-group-nnimap-edit-acl):
8567 * lisp/gnus/gnus-topic.el (gnus-topic-edit-parameters):
8568 * lisp/gnus/mail-source.el (mail-source-delete-old-incoming):
8569 * lisp/gnus/message.el (message-strip-subject-encoded-words)
8570 (message-check-recipients, message-send-form-letter):
8571 * lisp/gnus/mm-decode.el (mm-display-part):
8572 * lisp/gnus/mm-uu.el (mm-uu-pgp-signed-extract-1):
8573 * lisp/gnus/mml-smime.el (mml-smime-get-dns-cert)
8574 (mml-smime-get-ldap-cert):
8575 * lisp/gnus/spam-report.el (spam-report-process-queue):
8576 Respect ‘text-quoting-style’ in diagnostics.
8577 * lisp/gnus/gnus-art.el (article-display-face)
8578 * lisp/gnus/gnus-fun.el (gnus-display-x-face-in-from):
8579 Use straight quoting in email.
8580 * lisp/gnus/rfc2231.el (rfc2231-decode-encoded-string):
8581 Escape apostrophes in doc strings.
8583 Quoting fixes in lisp mail, mh-e, net, url
8584 * lisp/mail/emacsbug.el (report-emacs-bug)
8585 (report-emacs-bug-hook): Use straight quotes in outgoing email,
8586 * lisp/mail/feedmail.el (feedmail-message-action-help-blat):
8587 * lisp/mail/rmail.el (rmail-unknown-mail-followup-to):
8588 * lisp/mail/rmailout.el (rmail-output-read-file-name):
8589 * lisp/net/imap.el (imap-interactive-login):
8590 * lisp/net/tls.el (open-tls-stream):
8591 * lisp/url/url-auth.el (url-register-auth-scheme):
8592 Respect ‘text-quoting-style’ in diagnostics.
8593 * lisp/mh-e/mh-e.el (mh-sortm-args):
8594 Quote docstring example using text quotes, not as a Lisp quote.
8596 2015-08-31 Stephen Leake <stephen_leake@stephe-leake.org>
8598 Fix some byte-compiler warnings in EDE
8599 This fixes a bug that caused ede-generic-new-autoloader to overwrite the
8600 existing autoloader list, rather than add to it.
8601 * lisp/cedet/ede/auto.el (ede-project-class-files): Delete obsolete name
8602 argument to eieio class constructor.
8603 (ede-show-supported-projects): New.
8604 (ede-add-project-autoload): Replace obsolete `eieio-object-name-string'
8605 with (oref ... name).
8606 (ede-auto-load-project): Use slot name, not initarg key.
8607 * lisp/cedet/ede/generic.el (ede-generic-load)
8608 (ede-generic-find-matching-target): Use slot name, not initarg key.
8609 (ede-find-target): Use oref-default on class name.
8610 (ede-generic-new-autoloader): Delete obsolete name argument to eieio
8612 (ede-enable-generic-projects): Make project type names unique.
8614 2015-08-31 Eli Zaretskii <eliz@gnu.org>
8616 Fix directory accessibility tests for w32 network volumes
8617 * src/w32.c (faccessat): Don't fail with network volumes without a
8619 (w32_accessible_directory_p): Handle network volumes without a
8622 Fix handling long file names in readdir on MS-Windows
8623 * src/w32.c (sys_readdir): Append "\*" to the directory after
8624 converting it to UTF-16/ANSI, not before, to avoid overflowing the
8625 260-character limit on file names in filename_to_utf16/ansi.
8627 Make file-accessible-directory-p reliable on MS-Windows
8628 * src/w32.c (w32_accessible_directory_p): New function.
8629 * src/w32.h (w32_accessible_directory_p): Add prototype.
8630 * src/fileio.c (file_accessible_directory_p) [WINDOWSNT]: Call
8631 w32_accessible_directory_p to test a directory for accessibility
8632 by the current user. (Bug#21346)
8633 (Ffile_accessible_directory_p): Remove the w32 specific caveat
8634 from the doc string.
8636 2015-08-31 Martin Rudalics <rudalics@gmx.at>
8638 Don't call do_pending_window_change in signal handlers (Bug#21380)
8639 * src/gtkutil.c (xg_frame_resized):
8640 * src/xterm.c (x_set_window_size):
8641 * src/w32term.c (x_set_window_size): Don't call
8642 do_pending_window_change.
8644 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
8646 Quoting fixes in lisp/org
8647 * lisp/org/org-agenda.el (org-search-view, org-todo-list)
8649 * lisp/org/org-capture.el (org-capture-mode)
8650 * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
8651 (org-ctags-ask-append-topic):
8652 * lisp/org/org.el (org-time-string-to-time)
8653 (org-time-string-to-absolute):
8654 * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
8655 (org-ctags-ask-append-topic):
8656 * lisp/org/org.el (org-time-string-to-time)
8657 (org-time-string-to-absolute):
8658 Respect ‘text-quoting-style’ in diagnostics.
8659 * lisp/org/org-agenda.el (org-agenda-custom-commands)
8660 (org-agenda-dim-blocked-tasks): Plural of TODO is TODOs, not TODO’s.
8661 * lisp/org/org-capture.el (org-capture-fill-template):
8662 Avoid contraction in output file that might be ASCII.
8663 * lisp/org/org-compat.el (format-message):
8664 Define if not already defined, for backward compatibility.
8665 * lisp/org/org-src.el (org-edit-src-save):
8666 * lisp/org/org.el (org-cycle, org-ctrl-c-ctrl-c):
8667 Escape apostrophes in diagnostics.
8669 Treat “instead” strings as docstrings
8670 * lisp/emacs-lisp/bytecomp.el (byte-compile-form):
8671 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
8672 Substitute quotes in instead strings.
8674 2015-08-31 Nicolas Petton <nicolas@petton.fr>
8676 Better documentation of seq-let
8677 * doc/lispref/sequences.texi (Sequence Functions): Rephrase the
8678 documentation of seq-let.
8680 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
8682 * lisp/international/ccl.el: Fix quoting.
8684 Quoting fixes in lisp/international and lisp/leim
8685 * lisp/international/ccl.el (ccl-dump, ccl-dump-call):
8686 * lisp/international/ja-dic-utl.el (skkdic-lookup-key):
8687 * lisp/international/mule-cmds.el:
8688 (select-safe-coding-system-interactively, leim-list-file-name):
8689 * lisp/international/quail.el (quail-use-package, quail-help):
8690 * lisp/international/titdic-cnv.el (tit-process-header)
8692 Respect text quoting style in doc strings and diagnostics.
8693 * lisp/international/quail.el (lisp/international/quail.el):
8694 * lisp/leim/quail/ethiopic.el ("ethiopic"):
8695 Escape apostrophes in doc strings.
8697 Make ‘text-quoting-style’ a plain defvar
8698 It doesn’t need customization, as it’s likely useful only by experts.
8699 Suggested by Stefan Monnier in:
8700 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg01020.html
8701 * lisp/cus-start.el: Remove doc.c section for builtin customized vars.
8703 Quoting fixes in lisp/textmodes
8704 * lisp/textmodes/bibtex.el (bibtex-validate)
8705 (bibtex-validate-globally, bibtex-search-entries):
8706 * lisp/textmodes/ispell.el (ispell-command-loop):
8707 * lisp/textmodes/page-ext.el (search-pages, pages-directory):
8708 * lisp/textmodes/texinfmt.el (texinfmt-version)
8709 (texinfo-format-region, texinfo-format-buffer-1):
8710 * lisp/textmodes/two-column.el (2C-split):
8711 Respect text quoting style in doc strings and diagnostics.
8712 * lisp/textmodes/conf-mode.el (conf-mode-map, conf-quote-normal):
8713 * lisp/textmodes/sgml-mode.el (sgml-specials, sgml-mode):
8714 Escape apostrophes in doc strings.
8716 Documentation fixes re quotes
8717 Prefer curved quotes in examples if users will typically see
8718 curved quotes when the examples run.
8719 Mention format-message when appropriate.
8720 Don’t use @code in examples.
8721 Quote an apostrophe with @kbd.
8723 Quoting fixes in lisp/progmodes
8724 * lisp/progmodes/cc-engine.el (c-bos-report-error):
8725 * lisp/progmodes/cpp.el (cpp-edit-reset):
8726 * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
8727 * lisp/progmodes/etags.el (etags-tags-apropos-additional)
8728 (etags-tags-apropos, list-tags, tags-apropos):
8729 * lisp/progmodes/executable.el (executable-set-magic):
8730 * lisp/progmodes/octave.el (octave-sync-function-file-names)
8731 (octave-help, octave-find-definition-default-filename)
8732 (octave-find-definition):
8733 Respect text quoting style in doc strings and diagnostics.
8734 * lisp/progmodes/cc-langs.el (c-populate-syntax-table):
8735 * lisp/progmodes/verilog-mode.el (verilog-auto-reset-widths):
8736 * lisp/progmodes/vhdl-mode.el (vhdl-electric-quote):
8737 Escape apostrophes in doc strings.
8738 * lisp/progmodes/cmacexp.el (c-macro-expansion):
8739 Use straight quoting in ASCII comment.
8740 * lisp/progmodes/idlwave.el (idlwave-auto-fill-split-string)
8741 (idlwave-pad-keyword):
8742 * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate)
8743 (vhdl-electric-open-bracket, vhdl-electric-close-bracket):
8744 (vhdl-electric-semicolon, vhdl-electric-comma)
8745 (vhdl-electric-period, vhdl-electric-equal):
8746 Use directed quotes in diagnostics and doc strings.
8748 2015-08-30 Xue Fuqiao <xfq.free@gmail.com>
8750 Minor documentation and NEWS tweak
8751 * doc/lispintro/emacs-lisp-intro.texi (fwd-para let):
8753 * etc/NEWS: Fix a typo in character-fold-to-regexp.
8755 2015-08-30 Michael Albinus <michael.albinus@gmx.de>
8757 * lisp/net/tramp-sh.el (tramp-convert-file-attributes):
8758 Revert patch from 2015-08-24. Tramp shall behave like for local files.
8759 * test/automated/tramp-tests.el (tramp-test18-file-attributes):
8762 2015-08-30 Paul Eggert <eggert@cs.ucla.edu>
8764 Text quoting fixes in cedet, emulation, emacs-lisp
8765 * lisp/cedet/ede.el (ede-check-project-directory):
8766 * lisp/cedet/semantic/analyze/debug.el
8767 (semantic-analyzer-debug-insert-include-summary):
8768 * lisp/cedet/semantic/bovine/c.el (semantic-c-describe-environment):
8769 * lisp/cedet/semantic/decorate/include.el
8770 (semantic-decoration-unknown-include-describe)
8771 (semantic-decoration-all-include-summary):
8772 * lisp/cedet/semantic/ia.el (semantic-ia-fast-jump):
8773 * lisp/emulation/edt.el (edt-load-keys):
8774 * lisp/emulation/viper-cmd.el
8775 (viper-display-current-destructive-command)
8776 (viper-query-replace, viper-brac-function):
8777 * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-compile):
8778 * lisp/emulation/viper-macs.el (viper-unrecord-kbd-macro):
8779 Respect text quoting style in doc string or diagnostic.
8780 * lisp/cedet/mode-local.el (describe-mode-local-overload):
8781 Use format-message to avoid overtranslating quotes.
8782 * lisp/emacs-lisp/checkdoc.el (checkdoc-in-sample-code-p):
8783 Escape an apostrophe in a docstring.
8784 * lisp/emacs-lisp/warnings.el (lwarn): Fix doc string.
8786 2015-08-29 Daniel Colascione <dancol@dancol.org>
8788 Fix which-func for curly quotes: look for symbol, not message
8789 * lisp/progmodes/which-func.el (which-func-ff-hook): Look for new
8790 imenu-unavailable error symbol instead of trying to match message
8792 * lisp/imenu.el (imenu-unavailable): New error.
8793 (imenu-unavailable-error): New function.
8795 2015-08-29 Eli Zaretskii <eliz@gnu.org>
8797 Fix Python tests on MS-Windows
8798 * test/automated/python-tests.el
8799 (python-shell-calculate-command-1): Run python-shell-interpreter
8800 through shell-quote-argument before comparing with what
8801 python-shell-calculate-command returns.
8802 (python-shell-calculate-pythonpath-1)
8803 (python-shell-calculate-pythonpath-2)
8804 (python-shell-calculate-process-environment-2): Use path-separator
8805 instead of a literal ':'.
8806 (python-shell-calculate-exec-path-2)
8807 (python-shell-calculate-exec-path-3)
8808 (python-shell-calculate-exec-path-4)
8809 (python-shell-with-environment-1)
8810 (python-shell-with-environment-2): Run "/env/bin" through
8811 expand-file-name before comparing with exec-path. (Bug#21375)
8813 2015-08-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8815 Use Core Text types/functions/variables/enumerators directly
8816 * src/macfont.h (FontDescriptorRef, FontRef, FontSymbolicTraits)
8817 (CharacterCollection): Remove typedefs. All uses replaced with
8819 (MAC_FONT_NAME_ATTRIBUTE, MAC_FONT_FAMILY_NAME_ATTRIBUTE)
8820 (MAC_FONT_TRAITS_ATTRIBUTE, MAC_FONT_SIZE_ATTRIBUTE)
8821 (MAC_FONT_CASCADE_LIST_ATTRIBUTE)
8822 (MAC_FONT_CHARACTER_SET_ATTRIBUTE, MAC_FONT_LANGUAGES_ATTRIBUTE)
8823 (MAC_FONT_FORMAT_ATTRIBUTE, MAC_FONT_SYMBOLIC_TRAIT)
8824 (MAC_FONT_WEIGHT_TRAIT, MAC_FONT_WIDTH_TRAIT)
8825 (MAC_FONT_SLANT_TRAIT): Remove macros. All uses replaced with
8827 (MAC_FONT_TRAIT_ITALIC, MAC_FONT_TRAIT_BOLD)
8828 (MAC_FONT_TRAIT_MONO_SPACE, MAC_FONT_TRAIT_COLOR_GLYPHS)
8829 (MAC_FONT_FORMAT_BITMAP)
8830 (MAC_CHARACTER_COLLECTION_IDENTITY_MAPPING)
8831 (MAC_CHARACTER_COLLECTION_ADOBE_JAPAN1): Remove enumerators.
8832 All uses replaced with definitions.
8833 (kCTFontTraitItalic, kCTFontTraitBold, kCTFontTraitMonoSpace)
8834 (kCTFontTraitColorGlyphs, kCTCharacterCollectionIdentityMapping)
8835 (kCTCharacterCollectionAdobeJapan1 kCTFontOrientationDefault):
8836 Add compatibility enumerators for older versions.
8837 (mac_font_descriptor_create_with_attributes)
8838 (mac_font_descriptor_create_matching_font_descriptors)
8839 (mac_font_descriptor_create_matching_font_descriptor)
8840 (mac_font_descriptor_copy_attribute)
8841 (mac_font_descriptor_supports_languages)
8842 (mac_font_create_with_name, mac_font_get_size)
8843 (mac_font_copy_family_name, mac_font_copy_character_set)
8844 (mac_font_get_glyphs_for_characters, mac_font_get_ascent)
8845 (mac_font_get_descent, mac_font_get_leading)
8846 (mac_font_get_underline_position)
8847 (mac_font_get_underline_thickness, mac_font_copy_graphics_font)
8848 (mac_font_copy_non_synthetic_table): Remove macros. All uses
8849 replaced with definitions.
8850 (mac_font_create_preferred_family_for_attributes)
8851 (mac_font_get_advance_width_for_glyph)
8852 (mac_font_get_bounding_rect_for_glyph)
8853 (mac_font_create_available_families, mac_font_shape):
8854 Remove macros for renamed functions.
8855 (mac_nsctfont_copy_font_descriptor): Remove unused macro.
8856 * src/macterm.m (mac_font_descriptor_supports_languages):
8857 Rename from mac_ctfont_descriptor_supports_languages.
8858 (mac_font_create_preferred_family_for_attributes): Rename from
8859 mac_ctfont_create_preferred_family_for_attributes.
8860 (mac_font_get_advance_width_for_glyph): Rename from
8861 mac_ctfont_get_advance_width_for_glyph.
8862 Use kCTFontOrientationDefault also for older versions.
8863 (mac_font_get_bounding_rect_for_glyph): Rename from
8864 mac_ctfont_get_bounding_rect_for_glyph.
8865 Use kCTFontOrientationDefault also for older versions.
8866 (mac_font_create_available_families): Rename from
8867 mac_ctfont_create_available_families.
8868 (mac_font_equal_in_postscript_name): Rename from
8869 mac_ctfont_equal_in_postscript_name. All uses changed.
8870 (mac_font_create_line_with_string_and_font): Rename from
8871 mac_ctfont_create_line_with_string_and_font. All uses changed.
8872 (mac_font_shape): Rename from mac_ctfont_shape.
8873 (mac_font_family_compare): Remove unused declaration.
8875 2015-08-29 Paul Eggert <eggert@cs.ucla.edu>
8877 Fix minor text quoting in calc, calendar, vc
8878 * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
8879 * lisp/calc/calc-help.el (calc-j-prefix-help):
8880 * lisp/calc/calc-misc.el (calc-help):
8881 * lisp/calc/calc.el (calc-algebraic-mode, calc-mode):
8882 Escape an apostrophe in a docstring.
8883 * lisp/calc/calc-forms.el (calc-hms-notation):
8884 * lisp/calc/calc-mode.el (calc-display-raw, calc-algebraic-mode):
8885 Escape an apostrophe in a diagnostic.
8886 * lisp/calc/calc-misc.el (calc-help):
8887 * lisp/calendar/diary-lib.el (diary-include-files):
8888 * lisp/calendar/todo-mode.el (todo-prefix, todo-item-mark):
8889 * lisp/vc/diff-mode.el (diff-delete-trailing-whitespace):
8890 * lisp/vc/ediff-diff.el (ediff-same-contents):
8891 * lisp/vc/ediff-merg.el (ediff-re-merge):
8892 * lisp/vc/ediff-ptch.el (ediff-patch-file-internal):
8893 * lisp/vc/ediff-util.el (ediff-test-save-region)
8894 (ediff-status-info):
8895 * lisp/vc/ediff.el (ediff-merge-revisions)
8896 (ediff-merge-revisions-with-ancestor):
8897 * lisp/vc/pcvs.el (cvs-mode-checkout, cvs-vc-command-advice):
8898 * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
8899 Respect text quoting style in doc string or diagnostic.
8900 * lisp/calc/calc-prog.el (calc-kbd-push, calc-kbd-pop):
8901 * lisp/vc/add-log.el (change-log-goto-source):
8902 Avoid double-formatting.
8903 * lisp/vc/ediff-init.el (format-message):
8904 New backward-compatibility alias.
8906 2015-08-28 Paul Eggert <eggert@cs.ucla.edu>
8908 Fix minor text quoting problems in lisp top level
8909 * lisp/apropos.el (apropos-describe-plist):
8910 * lisp/cus-theme.el (customize-themes):
8911 * lisp/dired.el (dired-log):
8912 * lisp/help-fns.el (describe-variable):
8913 * lisp/hexl.el (hexl-insert-multibyte-char):
8914 * lisp/info.el (Info-finder-find-node):
8915 * lisp/json.el (json-read-string):
8916 * lisp/novice.el (disabled-command-function)
8917 (disabled-command-function):
8918 * lisp/startup.el (normal-mouse-startup-screen):
8919 * lisp/woman.el (WoMan-log, WoMan-warn):
8920 Respect text quoting style in doc string or diagnostic.
8921 * lisp/replace.el (replace-character-fold):
8922 * src/syntax.c (Fmodify_syntax_entry):
8923 Escape an apostrophe in a docstring.
8924 * lisp/tempo.el (tempo-define-template):
8925 Remove confusing apostrophe from docstring.
8926 * lisp/whitespace.el (whitespace-mark-x):
8927 Use directed quotes in docstring.
8929 2015-08-28 Simen Heggestøyl <simenheg@gmail.com>
8931 Fix indentation rule in css-mode
8932 * lisp/textmodes/css-mode.el (css-smie-rules): Fix indentation of
8933 brackets in presence of pseudo-selectors. (Bug#21328)
8935 2015-08-28 Eli Zaretskii <eliz@gnu.org>
8937 Fix a bug in recording a macro while flyspell-mode is active
8938 * lisp/subr.el (sit-for): Don't call read-event when recording a
8941 2015-08-27 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
8943 Tweak startup screen quoting
8944 * lisp/startup.el (normal-splash-screen): Use standard
8945 "M-" abbrevation rather than a confusingly-different one.
8946 (normal-no-mouse-startup-screen): Follow ‘text-quoting-style’.
8948 2015-08-27 Paul Eggert <eggert@cs.ucla.edu>
8950 Add test case for ‘format’ bug and refactor
8951 * src/editfns.c (styled_format): Refactor internally, mostly by
8952 moving declarations closer to uses. This should not affect behavior.
8953 * test/automated/textprop-tests.el (textprop-tests-format): New test.
8955 Fix ‘format’ bug with property offsets
8956 * src/editfns.c (styled_format): Fix recently-introduced ‘format’
8957 bug in calculating string property offsets (Bug#21351).
8959 Use straight quotes in lib-src diagnostics
8960 These auxiliary programs can’t use Emacs’s text-quoting-style,
8961 and it’s too much trouble to redo that mechanism by hand.
8962 So just use straight quotes for now.
8963 * lib-src/ebrowse.c (main):
8964 * lib-src/emacsclient.c (decode_options, main):
8965 * lib-src/etags.c (Ada_help, default_C_help, Cplusplus_help)
8966 (Forth_help, HTML_help, Lisp_help, Makefile_help, Objc_help)
8967 (Perl_help, PHP_help, Python_help, Scheme_help, TeX_help, auto_help)
8968 (none_help, print_language_names, print_help, add_regex)
8969 (suggest_asking_for_help):
8970 * lib-src/make-docfile.c (write_c_args, scan_c_stream):
8971 Use straight quotes in diagnostics.
8973 ‘text-quoting-style’ fixes for admin
8974 * admin/admin.el (cusver-scan, cusver-check):
8975 * admin/authors.el (authors-canonical-file-name):
8976 * admin/bzrmerge.el (bzrmerge-missing):
8977 Respect ‘text-quoting-style’ in diagnostics.
8979 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
8981 Assume GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS
8982 This removes the need for GCPRO1 etc. Suggested by Stefan Monnier in:
8983 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00918.html
8984 * doc/lispref/internals.texi (Writing Emacs Primitives):
8986 Document the change.
8987 * src/alloc.c (gcprolist, dump_zombies, MAX_ZOMBIES, zombies)
8988 (nzombies, ngcs, avg_zombies, max_live, max_zombies, avg_live)
8989 (Fgc_status, check_gcpros, relocatable_string_data_p, gc-precise):
8990 * src/bytecode.c (mark_byte_stack) [BYTE_MARK_STACK]:
8991 * src/eval.c (gcpro_level) [DEBUG_GCPRO]:
8992 * src/lisp.h (struct handler.gcpro, struct gcpro, GC_MARK_STACK)
8993 (GC_USE_GCPROS_AS_BEFORE, GC_MAKE_GCPROS_NOOPS)
8994 (GC_MARK_STACK_CHECK_GCPROS, GC_USE_GCPROS_CHECK_ZOMBIES)
8995 (BYTE_MARK_STACK, GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, GCPRO6)
8996 (GCPRO7, UNGCPRO, RETURN_UNGCPRO):
8997 Remove. All uses removed. The code now assumes
8998 GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS.
8999 * src/bytecode.c (relocate_byte_stack):
9000 Rename from unmark_byte_stack, since it now only relocates.
9001 All callers changed.
9002 * src/frame.c (make_frame): Add an IF_LINT to pacify GCC 5.2
9003 with GCPROs removed.
9004 * src/systime.h: Use EMACS_LISP_H as the canary instead of GCPRO1.
9005 * test/automated/finalizer-tests.el (finalizer-basic)
9006 (finalizer-circular-reference, finalizer-cross-reference)
9008 * test/automated/generator-tests.el (cps-test-iter-close-finalizer):
9009 Remove tests, as they depend on gc-precise.
9011 2015-08-26 Nicolas Petton <nicolas@petton.fr>
9013 Improve seq-concatenate for new sequence types
9014 Use the new `seq-into-sequence' in seqs passed to `seq-concatenate' to
9015 ensure that concatenation happens on sequences only. This makes it
9016 possible to use `seq-concatenate' for new types of seqs.
9017 * lisp/emacs-lisp/seq.el (seq-into-sequence, seq-concatenate):
9018 New function used in `seq-concatenate'.
9019 * test/automated/seq-tests.el (test-seq-into-sequence): New unit test
9020 for seq-into-sequence.
9022 2015-08-26 Stephen Leake <stephen_leake@stephe-leake.org>
9024 Add mode local overrides to xref-find-definitions
9025 * lisp/cedet/mode-local.el (xref-mode-local--override-present)
9026 (xref-mode-local-overload): New; add mode local overrides to
9027 xref-find-definitions.
9028 * test/automated/elisp-mode-tests.el: Add mode local override tests.
9029 (xref-elisp-test-run): Handle indented defuns.
9030 (xref-elisp-generic-*): Improve doc strings.
9031 * lisp/progmodes/elisp-mode.el (elisp-xref-find-def-functions): New.
9032 (elisp--xref-find-definitions): Use it.
9034 Add mode local overrides to describe-function
9035 * lisp/cedet/mode-local.el (describe-mode-local-overload):
9036 New; add mode local overrides to describe-function.
9037 * etc/NEWS: Document change.
9039 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
9041 Prefer straight quoting in some etc text files
9042 These files are plain text and might be used by non-Emacs apps.
9043 They’re mostly ASCII, so just use straight quotes.
9045 Fix quoting in ‘message_with_string’
9046 * src/nsfont.m (nsfont_open): Use directed quotes in format; they
9048 * src/xdisp.c (message_to_stderr): New function, refactored from
9049 part of ‘message3_nolog’.
9050 (message3_nolog): Use it.
9051 (message_with_string): Use it. Don’t mishandle NUL bytes when
9052 noninteractive. Prefer AUTO_STRING when it’s most likely faster.
9053 Use ‘format-message’, not ‘format’, so that quotes are translated.
9055 2015-08-26 Eli Zaretskii <eliz@gnu.org>
9057 Mention false positives of file-accessible-directory on w32
9058 * src/fileio.c (Ffile_accessible_directory_p): Doc fix.
9061 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
9063 Treat error strings as help
9064 * src/print.c (print_error_message): Translate quotes and command
9065 keys in errmsg so that users see, e.g., "Symbol’s value as
9066 variable is void: foo" when text-quoting-style is curved.
9068 2015-08-26 Michael Albinus <michael.albinus@gmx.de>
9070 * lisp/net/tramp-cache.el (top): Use `message', not `format-message'.
9072 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
9074 Top-level elisp files respect ‘text-quoting-style’
9075 In top-level elisp files, use format-message in diagnostic formats,
9076 so that they follow user preference as per ‘text-quoting-style’
9077 rather than being hard-coded to quote `like this'.
9078 * lisp/allout.el (allout-get-configvar-values):
9079 * lisp/apropos.el (apropos-symbols-internal):
9080 * lisp/dired-aux.el (dired-do-shell-command, dired-create-files)
9081 (dired-do-create-files-regexp, dired-create-files-non-directory):
9082 * lisp/dired-x.el (dired-do-run-mail):
9083 * lisp/dired.el (dired-log, dired-dnd-handle-local-file):
9084 * lisp/disp-table.el (standard-display-european):
9085 * lisp/find-dired.el (find-dired):
9086 * lisp/forms.el (forms-mode):
9087 * lisp/ido.el (ido-buffer-internal):
9088 * lisp/info.el (Info-index-next):
9089 * lisp/outline.el (outline-invent-heading):
9090 * lisp/printing.el (pr-ps-outfile-preprint, pr-i-ps-send):
9091 * lisp/proced.el (proced-log):
9092 * lisp/ps-print.el (ps-print-preprint, ps-get-size):
9093 * lisp/recentf.el (recentf-open-files, recentf-save-list):
9094 * lisp/savehist.el (savehist-save):
9095 * lisp/server.el (server-ensure-safe-dir):
9096 * lisp/ses.el (ses-rename-cell):
9097 * lisp/simple.el (list-processes--refresh):
9098 * lisp/startup.el (command-line):
9099 * lisp/strokes.el (strokes-unset-last-stroke)
9100 (strokes-execute-stroke):
9101 Use format-message so that quotes are restyled.
9102 * lisp/cus-edit.el (custom-raised-buttons, customize-browse):
9103 Don’t quote ‘raised’.
9104 * lisp/descr-text.el (describe-char):
9105 * lisp/dirtrack.el (dirtrack-debug-message):
9106 * lisp/hexl.el (hexl-insert-multibyte-char):
9107 Apply substitute-command-keys to help string.
9108 * lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
9109 (wdired-do-perm-changes):
9110 Let dired-log do the formatting.
9112 2015-08-25 Paul Eggert <eggert@cs.ucla.edu>
9114 Go back to grave quoting in Tramp
9115 * lisp/net/tramp-adb.el:
9116 * lisp/net/tramp-cache.el:
9117 * lisp/net/tramp-compat.el:
9118 * lisp/net/tramp-gvfs.el:
9119 * lisp/net/tramp-gw.el:
9120 * lisp/net/tramp-sh.el:
9121 * lisp/net/tramp-smb.el:
9122 * lisp/net/tramp.el:
9123 Stick with grave quoting in diagnostics strings. This is more
9124 portable to older Emacs, desirable for Tramp.
9125 * lisp/net/tramp-cache.el: Use ‘format-message’, not ‘format’,
9126 for diagnostic that needs requoting.
9127 * lisp/net/tramp-compat.el (format-message):
9128 Fall back on simple ‘format’, since that’s good enough now.
9130 Go back to grave quoting in Gnus
9131 * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
9132 * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
9133 (gnus-agent-fetch-headers):
9134 * lisp/gnus/gnus-int.el (gnus-start-news-server):
9135 * lisp/gnus/gnus-registry.el:
9136 (gnus-registry--split-fancy-with-parent-internal)
9137 (gnus-registry-post-process-groups):
9138 * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
9139 * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
9140 * lisp/gnus/gnus-topic.el (gnus-topic-rename):
9141 * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
9142 * lisp/gnus/spam.el (spam-check-blackholes):
9143 Stick with grave quoting in diagnostics strings. This is more
9144 portable to older Emacs, desirable for Gnus.
9146 Fix customization of text-quoting-style
9147 * lisp/cus-edit.el (custom-guess-type, custom-variable-documentation):
9148 * lisp/wid-edit.el (widget-docstring):
9149 Get raw docstring here since it’s cooked later and should not be
9151 * lisp/cus-edit.el (custom-group-value-create):
9152 Cook the docstring before inserting it.
9153 * lisp/cus-start.el (text-quoting-style): Quote the customization
9154 docstrings according to the new rules. Give curved examples.
9156 format-message now curves ` and '
9157 That way, the caller doesn’t have to use curved quotes to
9158 get diagnostics that match the text-quoting-style preferences.
9159 Suggested by Dmitry Gutov in:
9160 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00893.html
9161 This means we no longer need %qs, so remove that format.
9162 While we’re at it, fix an unlikely bug and lessen the pressure
9163 on the garbage collector by processing the string once rather
9164 than twice in the usual case.
9165 * doc/lispref/strings.texi (Formatting Strings):
9166 * etc/NEWS: Document this.
9167 * lisp/subr.el (format-message): Remove; now done in C.
9168 * src/callint.c (Fcall_interactively):
9169 * src/editfns.c (Fmessage, Fmessage_box):
9170 Use Fformat_message instead of Finternal__text_restyle
9171 followed by Fformat.
9172 * src/doc.c (LSQM, RSQM): Remove; all uses changed to use
9174 (Fsubstitute_command_keys): Prefer AUTO_STRING to build_string
9175 when pure ASCII now suffices. Fix unlikely bug when parsing
9176 unibyte string containing non-ASCII bytes. Use inline code
9177 rather than memcpy, as it’s a tiny number of bytes.
9178 (Finternal__text_restyle): Remove; no longer used.
9179 (syms_of_doc): Don’t declare it.
9180 * src/editfns.c (Fformat): Rewrite in terms of new function
9182 (Fformat_message): New function, moved here from subr.el.
9183 (styled_format): New function, with the old guts of Fformat,
9184 except it now optionally transliterates quotes, and it transliterates
9185 traditional grave accent and apostrophe quoting as well.
9186 Remove recently-added q flag; no longer needed or used.
9187 (syms_of_editfns): Define format-message.
9188 * src/lisp.h (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
9189 Remove; no longer need to be global symbols.
9190 * src/xdisp.c (vadd_to_log): Use Fformat_message, not Fformat,
9191 so that callers can use `%s'.
9192 * src/image.c (image_size_error, xbm_load_image, xbm_load)
9193 (xpm_load, pbm_load, png_load_body, jpeg_load_body, tiff_load)
9194 (gif_load, imagemagick_load_image, imagemagick_load, svg_load)
9195 (svg_load_image, gs_load, x_kill_gs_process):
9196 * src/lread.c (load_warn_old_style_backquotes):
9197 * src/xfaces.c (load_pixmap):
9198 * src/xselect.c (x_clipboard_manager_error_1):
9199 Use `%s' instead of %qs in formats.
9201 2015-08-25 Eli Zaretskii <eliz@gnu.org>
9203 Minor fixes in doc/emacs/search.texi
9204 * doc/emacs/search.texi (Basic Isearch): Fix a typo.
9205 (Special Isearch): Use @w{} to generate several consecutive spaces
9206 with Texinfo 6. (Bug#21345)
9208 2015-08-25 Michael Albinus <michael.albinus@gmx.de>
9210 * lisp/net/tramp-sh.el (tramp-awk-encode, tramp-awk-decode)
9211 (tramp-awk-coding-test): New defconsts.
9212 (tramp-remote-coding-commands): Use them.
9213 (tramp-find-inline-encoding): Check for Perl only if necessary.
9215 2015-08-25 Xue Fuqiao <xfq.free@gmail.com>
9217 * doc/lispintro/emacs-lisp-intro.texi (Run a Program): Add some
9218 index entries for the special form `quote'.
9220 2015-08-25 Paul Eggert <eggert@cs.ucla.edu>
9224 Gnus format-message typo fix
9225 * lisp/gnus/gnus-util.el (gnus-format-message):
9226 Fix typo when running in older Emacs.
9228 Prefer directed to neutral quotes in docstings and diagnostics.
9229 In docstrings, escape apostrophes that would otherwise be translated
9230 to curved quotes using the newer, simpler rules.
9231 * admin/unidata/unidata-gen.el (unidata-gen-table):
9232 * lisp/align.el (align-region):
9233 * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet):
9234 * lisp/bookmark.el (bookmark-default-annotation-text):
9235 * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
9236 * lisp/calc/calc-lang.el (math-read-giac-subscr)
9237 (math-read-math-subscr):
9238 * lisp/calc/calc-misc.el (report-calc-bug):
9239 * lisp/calc/calc-prog.el (calc-fix-token-name)
9240 (calc-read-parse-table-part):
9241 * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
9242 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
9243 * lisp/dabbrev.el (dabbrev-expand):
9244 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
9245 * lisp/emacs-lisp/elint.el (elint-get-top-forms):
9246 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
9247 * lisp/emulation/viper-cmd.el (viper-toggle-search-style):
9248 * lisp/erc/erc-button.el (erc-nick-popup):
9249 * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login):
9250 * lisp/eshell/em-dirs.el (eshell/cd):
9251 * lisp/eshell/em-glob.el (eshell-glob-regexp):
9252 * lisp/eshell/em-pred.el (eshell-parse-modifiers):
9253 * lisp/eshell/esh-arg.el (eshell-parse-arguments):
9254 * lisp/eshell/esh-opt.el (eshell-show-usage):
9255 * lisp/files-x.el (modify-file-local-variable):
9256 * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer)
9257 (filesets-update-pre010505):
9258 * lisp/find-cmd.el (find-generic, find-to-string):
9259 * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
9260 * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
9261 (gnus-agent-fetch-headers):
9262 * lisp/gnus/gnus-int.el (gnus-start-news-server):
9263 * lisp/gnus/gnus-registry.el:
9264 (gnus-registry--split-fancy-with-parent-internal):
9265 * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
9266 * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
9267 * lisp/gnus/gnus-topic.el (gnus-topic-rename):
9268 * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
9269 * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
9270 * lisp/gnus/spam.el (spam-check-blackholes):
9271 * lisp/mail/feedmail.el (feedmail-run-the-queue):
9272 * lisp/mpc.el (mpc-playlist-rename):
9273 * lisp/net/ange-ftp.el (ange-ftp-shell-command):
9274 * lisp/net/mairix.el (mairix-widget-create-query):
9275 * lisp/net/tramp-cache.el:
9276 * lisp/obsolete/otodo-mode.el (todo-more-important-p):
9277 * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
9278 * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
9279 * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
9280 * lisp/org/ob-core.el (org-babel-goto-named-src-block)
9281 (org-babel-goto-named-result):
9282 * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
9283 * lisp/org/ob-ref.el (org-babel-ref-resolve):
9284 * lisp/org/org-agenda.el (org-agenda-prepare):
9285 * lisp/org/org-bibtex.el (org-bibtex-fields):
9286 * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
9287 (org-clock-resolve):
9288 * lisp/org/org-feed.el (org-feed-parse-atom-entry):
9289 * lisp/org/org-habit.el (org-habit-parse-todo):
9290 * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
9291 (org-mouse-context-menu):
9292 * lisp/org/org-table.el (org-table-edit-formulas):
9293 * lisp/org/ox.el (org-export-async-start):
9294 * lisp/play/dunnet.el (dun-score, dun-help, dun-endgame-question)
9295 (dun-rooms, dun-endgame-questions):
9296 * lisp/progmodes/ada-mode.el (ada-goto-matching-start):
9297 * lisp/progmodes/ada-xref.el (ada-find-executable):
9298 * lisp/progmodes/antlr-mode.el (antlr-options-alists):
9299 * lisp/progmodes/flymake.el (flymake-parse-err-lines)
9300 (flymake-start-syntax-check-process):
9301 * lisp/progmodes/python.el (python-define-auxiliary-skeleton):
9302 * lisp/progmodes/sql.el (sql-comint):
9303 * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
9304 * lisp/server.el (server-get-auth-key):
9305 * lisp/subr.el (version-to-list):
9306 * lisp/textmodes/reftex-ref.el (reftex-label):
9307 * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
9308 * lisp/vc/ediff-diff.el (ediff-same-contents):
9309 * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
9310 * test/automated/tramp-tests.el (tramp-test33-asynchronous-requests):
9311 Use directed rather than neutral quotes in diagnostics.
9313 Treat ' like ’ even when not matching `
9314 This is simpler and easier to explain, and should encourage better
9315 typography. Do this in Electric Quote mode and when translating
9316 quotes in docstrings. Inspired by a suggestion by Dmitry Gutov in:
9317 https://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00806.html
9318 * doc/emacs/text.texi (Quotation Marks):
9319 * doc/lispref/help.texi (Keys in Documentation):
9322 * lisp/electric.el (electric-quote-post-self-insert-function):
9323 * src/doc.c (Fsubstitute_command_keys):
9324 Always treat ' like ’ even when not matched by an open quote.
9326 2015-08-25 Glenn Morris <rgm@gnu.org>
9328 * doc/emacs/cal-xtra.texi (Holiday Customizing): Fix typo in example.
9329 * lisp/calendar/holidays.el (calendar-holidays): Fix doc typo.
9331 2015-08-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9333 * src/macfont.m (macfont_create_family_with_symbol):
9334 Accept localized names.
9336 2015-08-24 Paul Eggert <eggert@cs.ucla.edu>
9338 Tramp diagnostics as per ‘text-quoting-style’
9339 * lisp/net/tramp-adb.el (tramp-adb-handle-file-truename)
9340 (tramp-adb-get-ls-command, tramp-adb-handle-make-directory)
9341 (tramp-adb-handle-delete-directory)
9342 (tramp-adb-handle-delete-file)
9343 (tramp-adb-handle-file-local-copy)
9344 (tramp-adb-handle-write-region, tramp-adb-handle-copy-file)
9345 (tramp-adb-send-command-and-check, tramp-adb-wait-for-output)
9346 (tramp-adb-maybe-open-connection):
9347 * lisp/net/tramp-cache.el:
9348 * lisp/net/tramp-compat.el (tramp-compat-temporary-file-directory)
9349 (tramp-compat-octal-to-decimal)
9350 (tramp-compat-coding-system-change-eol-conversion):
9351 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler)
9352 (tramp-gvfs-do-copy-or-rename-file)
9353 (tramp-gvfs-handle-delete-directory)
9354 (tramp-gvfs-handle-delete-file)
9355 (tramp-gvfs-handle-expand-file-name)
9356 (tramp-gvfs-handle-file-local-copy)
9357 (tramp-gvfs-handle-file-notify-add-watch)
9358 (tramp-gvfs-handle-make-directory)
9359 (tramp-gvfs-handle-write-region, tramp-gvfs-url-file-name):
9360 * lisp/net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9361 (tramp-gw-aux-proc-sentinel, tramp-gw-open-connection):
9362 * lisp/net/tramp-sh.el (tramp-sh-handle-file-truename)
9363 (tramp-sh-handle-set-visited-file-modtime)
9364 (tramp-sh-handle-set-file-modes)
9365 (tramp-sh-handle-file-name-all-completions)
9366 (tramp-sh-handle-add-name-to-file, tramp-do-copy-or-rename-file)
9367 (tramp-do-copy-or-rename-file-directly)
9368 (tramp-do-copy-or-rename-file-out-of-band)
9369 (tramp-sh-handle-make-directory)
9370 (tramp-sh-handle-delete-directory, tramp-sh-handle-delete-file)
9371 (tramp-sh-handle-insert-directory, tramp-process-sentinel)
9372 (tramp-sh-handle-start-file-process)
9373 (tramp-sh-handle-file-local-copy)
9374 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
9375 (tramp-sh-handle-file-notify-add-watch, tramp-maybe-send-script)
9376 (tramp-find-file-exists-command, tramp-open-shell)
9378 (tramp-open-connection-setup-interactive-shell)
9379 (tramp-find-inline-encoding, tramp-find-inline-compress)
9380 (tramp-compute-multi-hops, tramp-maybe-open-connection)
9381 (tramp-wait-for-output, tramp-send-command-and-check)
9382 (tramp-send-command-and-read, tramp-get-remote-path)
9383 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
9384 (tramp-get-ls-command-with-quoting-style)
9385 (tramp-get-test-command, tramp-get-remote-ln)
9386 (tramp-get-remote-perl, tramp-get-remote-stat)
9387 (tramp-get-remote-readlink, tramp-get-remote-trash)
9388 (tramp-get-remote-touch, tramp-get-remote-gvfs-monitor-dir)
9389 (tramp-get-remote-inotifywait, tramp-get-remote-id)
9390 (tramp-get-remote-python):
9391 * lisp/net/tramp-smb.el (tramp-smb-errors)
9392 (tramp-smb-handle-add-name-to-file, tramp-smb-handle-copy-file)
9393 (tramp-smb-handle-delete-directory)
9394 (tramp-smb-handle-delete-file)
9395 (tramp-smb-handle-file-local-copy)
9396 (tramp-smb-handle-make-directory)
9397 (tramp-smb-handle-make-directory-internal)
9398 (tramp-smb-handle-make-symbolic-link)
9399 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-acl)
9400 (tramp-smb-handle-set-file-modes)
9401 (tramp-smb-handle-write-region, tramp-smb-get-file-entries):
9402 * lisp/net/tramp.el (tramp-debug-message, tramp-error)
9403 (tramp-process-actions):
9404 Generate diagnostics according to ‘text-quoting-style’, by
9405 using curved quotes in format strings and ‘format-message’
9407 * lisp/net/tramp-compat.el (format-message):
9408 Define a replacement, if it’s an older version of Emacs
9409 that doesn’t have it already.
9411 * etc/NEWS: Clarify text-quoting-style and electric-quote-mode.
9413 2015-08-24 Xue Fuqiao <xfq.free@gmail.com>
9415 Fix documentation for `save-excursion'
9416 * doc/lispref/positions.texi (Excursions):
9417 * doc/lispintro/emacs-lisp-intro.texi (save-excursion)
9418 (Template for save-excursion, Point and mark): `save-excursion'
9419 does not save&restore the mark any more.
9421 2015-08-24 Michael Albinus <michael.albinus@gmx.de>
9423 * lisp/net/tramp-sh.el (tramp-stat-marker, tramp-stat-quoted-marker):
9425 (tramp-do-file-attributes-with-stat)
9426 (tramp-do-directory-files-and-attributes-with-stat): Use them.
9427 (tramp-convert-file-attributes): Remove double slashes in symlinks.
9428 * test/automated/tramp-tests.el (tramp-test18-file-attributes):
9429 Handle symlinks with "//" in the file name.
9431 Revert fbb5531fa11d13854b274d28ccd329c9b6652cfc for tramp.el.
9433 2015-08-24 Nicolas Petton <nicolas@petton.fr>
9435 Fix cl-subseq and cl-concatenate
9436 * lisp/emacs-lisp/cl-extra.el (cl-subseq, cl-concatenate): Do not use
9438 * lisp/emacs-lisp/seq.el (seq-concatenate): Call cl-concatenate in
9441 2015-08-24 Pip Cet <pipcet@gmail.com> (tiny change)
9443 Fix full-screen code when there is no window manager (Bug#21317)
9444 * src/xterm.h (x_wm_supports): Declare external.
9445 * src/xterm.c (wm_suppports): Rename to `x_wm_supports', export.
9446 (do_ewmh_fullscreen, x_ewmh_activate_frame): Adjust for rename.
9447 (x_check_fullscreen): Call `x_wm_set_size_hint', restore
9448 `fullscreen' frame parameter.
9449 * src/gtkutil.c (x_wm_set_size_hint): Set size hints when running
9450 without a window manager.
9452 2015-08-24 Glenn Morris <rgm@gnu.org>
9454 * lisp/version.el (emacs-version): No longer include build host.
9455 * doc/lispref/intro.texi (Version Info): Update example.
9457 2015-08-24 Paul Eggert <eggert@cs.ucla.edu>
9459 * doc/lispref/elisp.texi: Fix typo in previous change.
9461 More-conservative ‘format’ quote restyling
9462 Instead of restyling curved quotes for every call to ‘format’,
9463 create a new function ‘format-message’ that does the restyling,
9464 and using the new function instead of ‘format’ only in contexts
9465 where this seems appropriate.
9466 Problem reported by Dmitry Gutov and Andreas Schwab in:
9467 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00826.html
9468 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00827.html
9469 * doc/lispref/commands.texi (Using Interactive):
9470 * doc/lispref/control.texi (Signaling Errors, Signaling Errors):
9471 * doc/lispref/display.texi (Displaying Messages, Progress):
9472 * doc/lispref/elisp.texi:
9473 * doc/lispref/help.texi (Keys in Documentation):
9474 * doc/lispref/minibuf.texi (Minibuffer Misc):
9475 * doc/lispref/strings.texi (Formatting Strings):
9477 Document the changes.
9478 * lisp/abbrev.el (expand-region-abbrevs):
9479 * lisp/apropos.el (apropos-library):
9480 * lisp/calc/calc-ext.el (calc-record-message)
9481 (calc-user-function-list):
9482 * lisp/calc/calc-help.el (calc-describe-key, calc-full-help):
9483 * lisp/calc/calc-lang.el (math-read-big-balance):
9484 * lisp/calc/calc-store.el (calc-edit-variable):
9485 * lisp/calc/calc-units.el (math-build-units-table-buffer):
9486 * lisp/calc/calc-yank.el (calc-edit-mode):
9487 * lisp/calendar/icalendar.el (icalendar-export-region)
9488 (icalendar--add-diary-entry):
9489 * lisp/cedet/mode-local.el (mode-local-print-binding)
9490 (mode-local-describe-bindings-2):
9491 * lisp/cedet/semantic/complete.el (semantic-completion-message):
9492 * lisp/cedet/semantic/edit.el (semantic-parse-changes-failed):
9493 * lisp/cedet/semantic/wisent/comp.el (wisent-log):
9494 * lisp/cedet/srecode/insert.el (srecode-insert-show-error-report):
9495 * lisp/descr-text.el (describe-text-properties-1, describe-char):
9496 * lisp/dframe.el (dframe-message):
9497 * lisp/dired-aux.el (dired-query):
9498 * lisp/emacs-lisp/byte-opt.el (byte-compile-log-lap-1):
9499 * lisp/emacs-lisp/bytecomp.el (byte-compile-log)
9500 (byte-compile-log-file, byte-compile-warn, byte-compile-form):
9501 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
9502 (cconv-analyze-form):
9503 * lisp/emacs-lisp/check-declare.el (check-declare-warn):
9504 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
9505 * lisp/emacs-lisp/cl-macs.el (cl-symbol-macrolet):
9506 * lisp/emacs-lisp/edebug.el (edebug-format):
9507 * lisp/emacs-lisp/eieio-core.el (eieio-oref):
9508 * lisp/emacs-lisp/eldoc.el (eldoc-minibuffer-message)
9510 * lisp/emacs-lisp/elint.el (elint-file, elint-log):
9511 * lisp/emacs-lisp/find-func.el (find-function-library):
9512 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
9513 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
9514 * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
9515 * lisp/emacs-lisp/package.el (package-compute-transaction)
9516 (package-install-button-action, package-delete-button-action)
9517 (package-menu--list-to-prompt):
9518 * lisp/emacs-lisp/timer.el (timer-event-handler):
9519 * lisp/emacs-lisp/warnings.el (lwarn, warn):
9520 * lisp/emulation/viper-cmd.el:
9521 (viper-toggle-parse-sexp-ignore-comments)
9522 (viper-kill-buffer, viper-brac-function):
9523 * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
9524 * lisp/facemenu.el (facemenu-add-new-face):
9525 * lisp/faces.el (face-documentation, read-face-name)
9526 (face-read-string, read-face-font, describe-face):
9527 * lisp/files.el (find-alternate-file, hack-local-variables)
9528 (hack-one-local-variable--obsolete, write-file)
9529 (basic-save-buffer, delete-directory):
9530 * lisp/format.el (format-write-file, format-find-file)
9531 (format-insert-file):
9532 * lisp/help-fns.el (help-fns--key-bindings)
9533 (help-fns--compiler-macro, help-fns--obsolete)
9534 (help-fns--interactive-only, describe-function-1)
9535 (describe-variable):
9536 * lisp/help.el (describe-mode):
9537 * lisp/info-xref.el (info-xref-output):
9538 * lisp/info.el (Info-virtual-index-find-node)
9539 (Info-virtual-index, info-apropos):
9540 * lisp/international/kkc.el (kkc-error):
9541 * lisp/international/mule-cmds.el:
9542 (select-safe-coding-system-interactively)
9543 (select-safe-coding-system, describe-input-method):
9544 * lisp/international/mule-conf.el (code-offset):
9545 * lisp/international/mule-diag.el (describe-character-set)
9546 (list-input-methods-1):
9547 * lisp/international/quail.el (quail-error):
9548 * lisp/minibuffer.el (minibuffer-message):
9549 * lisp/mpc.el (mpc--debug):
9550 * lisp/msb.el (msb--choose-menu):
9551 * lisp/net/ange-ftp.el (ange-ftp-message):
9552 * lisp/net/gnutls.el (gnutls-message-maybe):
9553 * lisp/net/newst-backend.el (newsticker--sentinel-work):
9554 * lisp/net/newst-treeview.el (newsticker--treeview-load):
9555 * lisp/net/nsm.el (nsm-query-user):
9556 * lisp/net/rlogin.el (rlogin):
9557 * lisp/net/soap-client.el (soap-warning):
9558 * lisp/net/tramp.el (tramp-debug-message):
9559 * lisp/nxml/nxml-outln.el (nxml-report-outline-error):
9560 * lisp/nxml/nxml-parse.el (nxml-parse-error):
9561 * lisp/nxml/rng-cmpct.el (rng-c-error):
9562 * lisp/nxml/rng-match.el (rng-compile-error):
9563 * lisp/nxml/rng-uri.el (rng-uri-error):
9564 * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
9565 * lisp/org/org-ctags.el:
9566 (org-ctags-ask-rebuild-tags-file-then-find-tag):
9567 * lisp/proced.el (proced-log):
9568 * lisp/progmodes/ebnf2ps.el (ebnf-log):
9569 * lisp/progmodes/flymake.el (flymake-log):
9570 * lisp/progmodes/vhdl-mode.el (vhdl-warning-when-idle):
9571 * lisp/replace.el (occur-1):
9572 * lisp/simple.el (execute-extended-command)
9573 (undo-outer-limit-truncate, define-alternatives):
9574 * lisp/startup.el (command-line):
9575 * lisp/subr.el (error, user-error, add-to-list):
9576 * lisp/tutorial.el (tutorial--describe-nonstandard-key)
9577 (tutorial--find-changed-keys):
9578 * src/callint.c (Fcall_interactively):
9579 * src/editfns.c (Fmessage, Fmessage_box):
9580 Restyle the quotes of format strings intended for use as a
9581 diagnostic, when restyling seems appropriate.
9582 * lisp/subr.el (format-message): New function.
9583 * src/doc.c (Finternal__text_restyle): New function.
9584 (syms_of_doc): Define it.
9586 2015-08-23 Paul Eggert <eggert@cs.ucla.edu>
9588 * etc/NEWS: The new ‘q’ flag is not an incompatible change.
9590 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
9592 python.el: Fix python-shell-buffer-substring on indented code
9594 * lisp/progmodes/python.el (python-shell-buffer-substring):
9595 Respect current line indentation when calculating string.
9596 * test/automated/python-tests.el
9597 (python-shell-buffer-substring-10)
9598 (python-shell-buffer-substring-11)
9599 (python-shell-buffer-substring-12): New tests.
9601 2015-08-23 Paul Eggert <eggert@cs.ucla.edu>
9603 Fix minor glitches from ‘format’ reversion
9604 * doc/lispref/strings.texi (Formatting Strings):
9605 After reversion, ‘text-quoting-style’ is documented in ‘Keys in
9606 Documentation’, not below.
9607 * src/syntax.c (Finternal_describe_syntax_value):
9608 Prefer AUTO_STRING to build_string where either will do, as
9609 AUTO_STRING is a bit faster.
9611 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
9613 python.el: Defer shell setup code until first interactive prompt
9614 * lisp/progmodes/python.el
9615 (python-shell-comint-watch-for-first-prompt-output-filter):
9617 (inferior-python-mode): Use it.
9618 (python-shell-first-prompt-hook): New hook.
9619 (python-shell-send-setup-code)
9620 (python-shell-completion-native-turn-on-maybe-with-msg): Attach to
9621 this hook instead of inferior-python-hook.
9623 2015-08-23 Nicolas Petton <nicolas@petton.fr>
9625 Remove the calls to `seq-into` from `seq-concatenate`
9626 Since most new types of seq would have to be defined as sequences (cons
9627 cells or CL structs, mostly), there is no need to convert the seqs to
9628 sequences (which can be a fairly expensive operation).
9629 * lisp/emacs-lisp/seq.el (seq-concatenate): Do not ensure that seqs are
9632 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
9634 python.el: Fix completion for pdb interactions
9635 * lisp/progmodes/python.el (python-shell-completion-setup-code):
9636 Simplify. Toggle print_mode for native wrapped completer.
9637 (python-shell-completion-native-setup): Ensure process buffer.
9638 Add print_mode attribute to completer wrapper to toggle returning
9639 or printing candidates.
9640 (python-shell-completion-native-get-completions): Cleanup.
9641 (python-shell-completion-get-completions): Cleanup.
9642 (python-shell-completion-at-point): Perform prompt checks.
9643 Force fallback completion in pdb interactions.
9645 2015-08-23 Nicolas Petton <nicolas@petton.fr>
9647 Make seq.el more extensible by using cl-defmethod
9648 * lisp/emacs-lisp/seq.el: Define seq.el functions using cl-defmethod to
9649 make it easier to extend seq.el with new "seq types".
9650 * test/automated/seq-tests.el (test-setf-seq-elt): New test.
9651 * lisp/emacs-lisp/cl-extra.el (cl-subseq): Move back the definition of
9652 subseq in cl-extra.el, and use it in seq.el.
9654 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
9656 python.el: Fix prompt detection with user overridden interpreter
9657 * lisp/progmodes/python.el (python-shell-prompt-detect):
9658 Honor buffer local python-shell-interpreter and
9659 python-shell-interpreter-interactive-arg.
9661 2015-08-23 Eli Zaretskii <eliz@gnu.org>
9663 Support exec-directory with non-ASCII characters on Windows
9664 * src/w32proc.c (sys_spawnve): Make sure exec-directory is encoded
9665 in the system's ANSI codepage, when it is used for invoking
9668 2015-08-23 Andreas Schwab <schwab@linux-m68k.org>
9670 Revert "Extend ‘format’ to translate curved quotes"
9671 This reverts commit 244c801689d2f7a80480d83cd7d092d4762ebe08.
9673 Revert "Prefer ‘format’ to ‘substitute-command-keys’"
9674 This reverts commit 6af5aad26411ffe21c3fe4bc5438347110910111.
9676 2015-08-23 Xue Fuqiao <xfq.free@gmail.com>
9678 * doc/lispintro/emacs-lisp-intro.texi (Switching Buffers):
9679 Clarify "invisible window".
9681 2015-08-23 Xue Fuqiao <xfq.free@gmail.com>
9683 * doc/emacs/modes.texi (Choosing Modes): Minor doc fix for
9684 magic-fallback-mode-alist.
9686 2015-08-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
9688 python.el: fallback completion, ffap and eldoc setup enhancements
9689 Setup codes are now sent continuously so that the current frame is
9690 always taken into account. This allows working within debuggers
9691 and always keeping a fresh version of setup codes that will return
9693 * lisp/progmodes/python.el (python-shell-setup-codes): Cleanup.
9694 (python-shell-send-setup-code): Send code only when
9695 python-shell-setup-codes is non-nil.
9696 (python-shell-completion-string-code): Cleanup trailing newline.
9697 (python-shell-completion-get-completions): Always use
9698 python-shell-completion-setup-code.
9699 (python-ffap-setup-code): Work with any object, not only modules.
9700 (python-ffap-string-code): Cleanup trailing newline.
9701 (python-ffap-module-path): Always use python-ffap-setup-code.
9702 (python-eldoc-string-code): Cleanup trailing newline.
9703 (python-eldoc--get-doc-at-point): Always use
9704 python-eldoc-setup-code. Return non-nil only if docstring is
9707 python.el: Increase native completion robustness
9708 * lisp/progmodes/python.el (python-shell-completion-native-setup):
9709 Make completer print real candidates and just return dummy ones to
9710 avoid input modification.
9711 (python-shell-completion-native-get-completions): Set
9712 comint-redirect-insert-matching-regexp to non-nil and make
9713 comint-redirect-finished-regexp match the last dummy candidate.
9714 Use python-shell-accept-process-output to wait for the full list
9717 2015-08-22 Eli Zaretskii <eliz@gnu.org>
9719 Fix invocation of programs via cmdproxy.exe
9720 * src/w32proc.c (sys_spawnve): Use exec-directory, not
9721 invocation-directory, for finding cmdproxy.exe. When Emacs is
9722 run from the source tree, look for cmdproxy.exe in the same source
9725 2015-08-22 Simen Heggestøyl <simenheg@gmail.com>
9727 Handle comments inside unquoted URIs in css-mode
9728 * lisp/textmodes/css-mode.el (css--uri-re): New defconst.
9729 (css-syntax-propertize-function): New defconst.
9730 (css--font-lock-keywords): Handle parens around unquoted URIs.
9731 (css-mode): Set `syntax-propertize-function'.
9733 2015-08-22 Eli Zaretskii <eliz@gnu.org>
9735 Support invocation of Hunspell with multiple dictionaries
9736 * lisp/textmodes/ispell.el (ispell-parse-hunspell-affix-file):
9737 Support lists of dictionaries of the form "DICT1,DICT2,...".
9738 (ispell-hunspell-add-multi-dic): New command. (Bug#20495)
9740 Minor formatting changes in ispell.el
9741 * lisp/textmodes/ispell.el (ispell-create-debug-buffer)
9742 (ispell-print-if-debug, ispell-aspell-find-dictionary)
9743 (ispell-aspell-add-aliases, ispell-hunspell-dict-paths-alist)
9744 (ispell-hunspell-dictionary-alist)
9745 (ispell-hunspell-fill-dictionary-entry)
9746 (ispell-find-hunspell-dictionaries, ispell-send-replacement)
9747 (ispell-buffer-with-debug, ispell-complete-word)
9748 (ispell-current-dictionary, ispell-current-personal-dictionary)
9749 (ispell-accept-output, ispell-minor-mode)
9750 (ispell-personal-dictionary, ispell-dictionary-alist)
9751 (ispell-really-aspell, ispell-really-hunspell)
9752 (ispell-encoding8-command, ispell-aspell-supports-utf8)
9753 (ispell-aspell-dictionary-alist, ispell-set-spellchecker-params):
9754 Fix whitespace, inconsistent capitalization, and arguments in doc
9757 2015-08-22 Martin Rudalics <rudalics@gmx.at>
9759 * lisp/window.el (adjust-window-trailing-edge): Fix bug where this
9760 function refused to resize a size-preserved window.
9762 2015-08-22 Eli Zaretskii <eliz@gnu.org>
9764 * doc/lispref/windows.texi (Selecting Windows): Improve
9765 documentation and indexing of 'window-use-time'.
9767 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9769 * lisp/progmodes/cc-vars.el, lisp/progmodes/cc-styles.el:
9770 * lisp/progmodes/cc-mode.el, lisp/progmodes/cc-menus.el:
9771 * lisp/progmodes/cc-langs.el, lisp/progmodes/cc-guess.el:
9772 * lisp/progmodes/cc-fonts.el, lisp/progmodes/cc-engine.el:
9773 * lisp/progmodes/cc-defs.el, lisp/progmodes/cc-cmds.el:
9774 * lisp/progmodes/cc-bytecomp.el, lisp/progmodes/cc-awk.el:
9775 * lisp/progmodes/cc-align.el, lisp/net/soap-client.el:
9776 Fix up commenting style.
9778 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
9780 text-quoting-style in emacs-lisp diagnostics
9781 * lisp/emacs-lisp/advice.el (ad-read-advised-function)
9782 (ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
9783 (ad-disable-advice, ad-remove-advice, ad-set-argument)
9785 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
9786 (byte-compile-unfold-lambda, byte-optimize-form-code-walker)
9787 (byte-optimize-while, byte-optimize-apply):
9788 * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
9789 (byte-compile-log-file, byte-compile-format-warn)
9790 (byte-compile-nogroup-warn, byte-compile-arglist-warn)
9791 (byte-compile-cl-warn)
9792 (byte-compile-warn-about-unresolved-functions)
9793 (byte-compile-file, byte-compile-fix-header)
9794 (byte-compile--declare-var, byte-compile-file-form-defmumble)
9795 (byte-compile-form, byte-compile-normal-call)
9796 (byte-compile-variable-ref, byte-compile-variable-set)
9797 (byte-compile-subr-wrong-args, byte-compile-setq-default)
9798 (byte-compile-negation-optimizer)
9799 (byte-compile-condition-case--old)
9800 (byte-compile-condition-case--new, byte-compile-save-excursion)
9801 (byte-compile-defvar, byte-compile-autoload)
9802 (byte-compile-lambda-form)
9803 (byte-compile-make-variable-buffer-local, display-call-tree)
9804 (batch-byte-compile):
9805 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
9806 (cconv-analyze-form):
9807 * lisp/emacs-lisp/chart.el (chart-space-usage):
9808 * lisp/emacs-lisp/check-declare.el (check-declare-scan)
9809 (check-declare-warn, check-declare-file)
9810 (check-declare-directory):
9811 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
9812 (checkdoc-message-text-engine):
9813 * lisp/emacs-lisp/cl-extra.el (cl-parse-integer):
9814 * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
9815 (cl-symbol-macrolet):
9816 * lisp/emacs-lisp/cl.el (cl-unload-function, flet):
9817 * lisp/emacs-lisp/copyright.el (copyright)
9818 (copyright-update-directory):
9819 * lisp/emacs-lisp/edebug.el (edebug-read-list):
9820 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
9821 * lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
9822 (eieio-oref, eieio-oset-default):
9823 * lisp/emacs-lisp/eieio-speedbar.el:
9824 (eieio-speedbar-child-make-tag-lines)
9825 (eieio-speedbar-child-description):
9826 * lisp/emacs-lisp/eieio.el (defclass, change-class):
9827 * lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
9828 (elint-init-form, elint-check-defalias-form)
9829 (elint-check-let-form):
9830 * lisp/emacs-lisp/ert.el (ert-get-test):
9831 * lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
9832 (find-function-library):
9833 * lisp/emacs-lisp/generator.el (iter-yield):
9834 * lisp/emacs-lisp/gv.el (gv-define-simple-setter):
9835 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
9836 * lisp/emacs-lisp/package-x.el (package-upload-file):
9837 * lisp/emacs-lisp/package.el (package-version-join)
9838 (package-disabled-p, package-activate-1, package-activate)
9839 (package--download-one-archive)
9840 (package--download-and-read-archives)
9841 (package-compute-transaction, package-install-from-archive)
9842 (package-install, package-install-selected-packages)
9843 (package-delete, package-autoremove)
9844 (package-install-button-action, package-delete-button-action)
9845 (package-menu-hide-package, package-menu--list-to-prompt)
9846 (package-menu--perform-transaction)
9847 (package-menu--find-and-notify-upgrades):
9848 * lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
9849 * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
9850 * lisp/emacs-lisp/ring.el (ring-next, ring-previous):
9851 * lisp/emacs-lisp/rx.el (rx-check, rx-anything):
9852 * lisp/emacs-lisp/smie.el (smie-config-save):
9853 * lisp/emacs-lisp/subr-x.el (internal--check-binding):
9854 * lisp/emacs-lisp/testcover.el (testcover-1value):
9855 Use curved quotes in diagnostic format strings.
9857 2015-08-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
9859 python.el: Ensure remote process-environment on non-interactive processes
9860 * lisp/progmodes/python.el
9861 (python-shell-tramp-refresh-process-environment): New function.
9862 (python-shell-with-environment): Use it.
9863 * test/automated/python-tests.el (python-shell-with-environment-2):
9866 python.el: Enhancements to process environment setup.
9867 * lisp/progmodes/python.el (python-shell-process-environment)
9868 (python-shell-extra-pythonpaths, python-shell-exec-path)
9869 (python-shell-virtualenv-root): Update docstring. Remove :safe.
9870 (python-shell-setup-codes): Remove :safe.
9871 (python-shell-remote-exec-path): New defcustom.
9872 (python-shell--add-to-path-with-priority): New macro.
9873 (python-shell-calculate-pythonpath): Give priority to
9874 python-shell-extra-pythonpaths. Update docstring.
9875 (python-shell-calculate-process-environment): Give priority to
9876 python-shell-process-environment. Update docstring.
9877 (python-shell-calculate-exec-path): Give priority to
9878 python-shell-exec-path and calculated virtualenv bin directory.
9880 (python-shell-tramp-refresh-remote-path): New function.
9881 (python-shell-with-environment): Use it when working remotely and
9882 do not modify tramp-remote-path. Allow nesting.
9883 (python-shell-calculate-command): Remove useless
9884 python-shell-with-environment call.
9885 * test/automated/python-tests.el (python-shell-calculate-pythonpath-1)
9886 (python-shell-calculate-pythonpath-2)
9887 (python-shell-calculate-process-environment-6)
9888 (python-shell-calculate-process-environment-7)
9889 (python-shell-calculate-process-environment-8)
9890 (python-shell-calculate-exec-path-3)
9891 (python-shell-calculate-exec-path-4)
9892 (python-shell-calculate-exec-path-5)
9893 (python-shell-calculate-exec-path-6)
9894 (python-shell-with-environment-3): New tests.
9895 (python-shell-calculate-process-environment-2)
9896 (python-shell-calculate-process-environment-3)
9897 (python-shell-calculate-process-environment-4)
9898 (python-shell-calculate-process-environment-5)
9899 (python-shell-calculate-exec-path-1)
9900 (python-shell-calculate-exec-path-2)
9901 (python-shell-with-environment-1)
9902 (python-shell-with-environment-2): Update and simplify.
9904 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
9906 Avoid hard-coding "M-x command" in docstrings
9907 * lisp/calendar/todo-mode.el (todo-mode):
9908 * lisp/desktop.el (desktop-save-mode):
9909 * lisp/edmacro.el (edit-kbd-macro):
9910 * lisp/emacs-lisp/package.el (package-menu-execute):
9911 * lisp/emulation/viper-cmd.el (viper-ask-level):
9912 * lisp/emulation/viper-init.el (viper-expert-level):
9913 * lisp/filesets.el (filesets-add-buffer):
9914 * lisp/follow.el (follow-mode):
9915 * lisp/gnus/auth-source.el (auth-sources):
9916 * lisp/international/ogonek.el (ogonek-informacja)
9917 (ogonek-information):
9918 * lisp/net/tramp.el (tramp-process-actions):
9919 * lisp/org/org-gnus.el (org-gnus-no-new-news):
9920 * lisp/org/org.el (org-ellipsis):
9921 * lisp/progmodes/python.el (python-shell-get-process-or-error):
9922 * lisp/progmodes/vhdl-mode.el (vhdl-mode):
9923 * lisp/server.el (server-start):
9924 * lisp/type-break.el (type-break-noninteractive-query):
9925 * lisp/userlock.el (ask-user-about-supersession-help):
9926 * lisp/whitespace.el (whitespace-report-region):
9927 Prefer (substitute-command-keys "`\\[foo-command]'")
9928 to "`M-x foo-command'" in docstrings and the like.
9930 2015-08-21 Tassilo Horn <tsdh@gnu.org>
9932 Use add-function for prettify-symbols-compose-predicate
9933 * lisp/textmodes/tex-mode.el (tex-common-initialization): Set
9934 prettify-symbols-compose-predicate in terms of add-function.
9935 * etc/NEWS: Mention prettify-symbols-compose-predicate and
9936 prettify-symbols-mode support in tex-mode.
9938 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9940 * lisp/emacs-lisp/smie.el (smie-indent-current-column): New fun.
9941 (smie-indent-exps, smie-indent-keyword): Use it.
9942 * test/indent/css-mode.css: Test alignment with leading comment.
9944 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
9946 Respect text-quoting-style in (*Finder*) menus
9947 * lisp/info.el (info--prettify-description):
9948 Treat description as a docstring, so that it's requoted as
9949 per text-quoting-style.
9951 2015-08-21 Martin Rudalics <rudalics@gmx.at>
9953 Document `window-use-time' in Elisp manual
9954 * doc/lispref/windows.texi (Selecting Windows): Document
9957 2015-08-21 Eli Zaretskii <eliz@gnu.org>
9959 * src/w32uniscribe.c (_WIN32_WINNT): Define to 0x0600.
9960 This is a cleaner fix for Bug#21260 than the previous change.
9962 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
9964 Respect text-quoting-style in calc
9965 In calc, tespect text-quoting-style preference in diagnostic
9966 formats and fix a few similar problems in docstrings.
9967 * lisp/calc/calc-aent.el (math-read-factor):
9968 * lisp/calc/calc-embed.el (calc-do-embedded):
9969 * lisp/calc/calc-ext.el (calc-user-function-list)
9970 * lisp/calc/calc-graph.el (calc-graph-show-dumb):
9971 * lisp/calc/calc-help.el (calc-describe-key)
9972 (calc-describe-thing):
9973 * lisp/calc/calc-lang.el (calc-c-language)
9974 (math-parse-fortran-vector-end, math-parse-tex-sum)
9975 (math-parse-eqn-matrix, math-parse-eqn-prime)
9976 (calc-yacas-language, calc-maxima-language, calc-giac-language)
9977 (math-read-big-rec, math-read-big-balance):
9978 * lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
9979 (calc-auto-recompute):
9980 * lisp/calc/calc-prog.el (calc-user-define-invocation)
9981 (math-do-arg-check):
9982 * lisp/calc/calc-store.el (calc-edit-variable):
9983 * lisp/calc/calc-units.el (math-build-units-table-buffer):
9984 * lisp/calc/calc-vec.el (math-read-brackets):
9985 * lisp/calc/calc-yank.el (calc-edit-mode):
9986 * lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
9987 Use curved quotes in diagnostic format strings.
9988 * lisp/calc/calc-help.el (calc-describe-thing):
9989 Format docstrings with substitute-command-keys.
9990 * lisp/calc/calc-help.el (calc-j-prefix-help):
9991 * lisp/calc/calc-misc.el (calc-help):
9992 * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
9993 Escape a docstring "`".
9995 2015-08-21 Eli Zaretskii <eliz@gnu.org>
9997 Fix documentation of 'menu-set-font' and 'set-frame-font'
9998 * lisp/menu-bar.el (menu-set-font): Doc fix. (Bug#21303)
9999 * doc/lispref/frames.texi (Frame Font): Document that
10000 set-frame-font with the last argument 't' will also make the font
10001 the default for the future GUI frames.
10003 Document '--create-frame' option to emacsclient
10004 * doc/emacs/misc.texi (emacsclient Options): Document the
10005 '--create-frame' option. (Bug#21308)
10007 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10009 * lisp/progmodes/js.el (js-mode): Don't eagerly syntax propertize.
10011 2015-08-21 Eli Zaretskii <eliz@gnu.org>
10013 Document 'get-mru-window' in the ELisp manual
10014 * doc/lispref/windows.texi (Cyclic Window Ordering): Document
10015 'get-mru-window'. (Bug#21306)
10017 Clarify documentation of 'get-buffer-window-list'
10018 * doc/lispref/windows.texi (Buffers and Windows): Mention that the
10019 current window, if relevant, will be the first in the list
10020 returned by 'get-buffer-window-list'.
10021 * lisp/window.el (get-buffer-window-list): Doc fix. (Bug#21305)
10023 2015-08-21 Vasilij Schneidermann <v.schneidermann@gmail.com>
10025 In `ielm' use `pop-to-buffer-same-window' (Bug#20848)
10026 * lisp/ielm.el (ielm): Use `pop-to-buffer-same-window' instead of
10027 `switch-to-buffer'.
10029 2015-08-21 Kaushal Modi <kaushal.modi@gmail.com> (tiny change)
10031 In woman.el use `display-buffer' instead of `switch-to-buffer' (Bug#21047)
10032 * lisp/woman.el (woman-really-find-file, WoMan-find-buffer): Use
10033 `display-buffer' instead of `switch-to-buffer'.
10035 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
10037 Follow user preference in calendar diagnostics
10038 Respect text-quoting-style preference in diagnostic formats by
10039 using curved quotes (which are translated as per text-quoting-style)
10040 instead of grave accent and apostrophe (which are not).
10041 * lisp/calendar/appt.el (appt-display-message):
10042 * lisp/calendar/diary-lib.el (diary-check-diary-file)
10043 (diary-mail-entries, diary-from-outlook):
10044 * lisp/calendar/icalendar.el (icalendar-export-region)
10045 (icalendar--convert-float-to-ical)
10046 (icalendar--convert-date-to-ical)
10047 (icalendar--convert-ical-to-diary)
10048 (icalendar--convert-recurring-to-diary)
10049 (icalendar--add-diary-entry):
10050 * lisp/calendar/time-date.el (format-seconds):
10051 * lisp/calendar/timeclock.el (timeclock-mode-line-display)
10052 (timeclock-make-hours-explicit):
10053 * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
10054 (todo-item-mark, todo-check-format)
10055 (todo-insert-item--next-param, todo-edit-item--next-key)
10057 Use curved quotes in diagnostic format strings.
10058 * lisp/calendar/icalendar.el (icalendar-import-format-sample):
10059 * test/automated/icalendar-tests.el (icalendar--import-format-sample):
10060 Just use straight quoting for simple test case.
10062 2015-08-21 Michael Albinus <michael.albinus@gmx.de>
10064 * src/gfilenotify.c (Fgfile_add_watch):
10065 Handle errors from g_file_monitor.
10067 2015-08-21 Martin Rudalics <rudalics@gmx.at>
10069 In frames.texi use "minibuffer-less frame" instead of "non-minibuffer frame"
10070 * doc/lispref/frames.texi (Frame Layout): Use "minibuffer-less
10071 frame" instead of "non-minibuffer frame".
10073 Fix frame geometry related text
10074 * doc/lispref/frames.texi (Frame Layout):
10075 Rename `x-frame-geometry' to `frame-geometry'.
10076 * doc/lispref/frames.texi (Mouse Position):
10077 * doc/lispref/windows.texi (Coordinates and Windows):
10078 Use `set-mouse-absolute-pixel-position' instead of
10079 `x-set-mouse-absolute-pixel-position'.
10081 Sanitize frame geometry related functions
10082 * src/nsfns.m (Fx_frame_geometry): Rename to Fns_frame_geometry.
10083 (Fx_frame_edges): Rename to Fns_frame_edges.
10084 * src/w32fns.c (Fx_frame_geometry): Rename to Fw32_frame_geometry.
10085 (Fx_frame_edges): Rename to Fw32_frame_edges.
10086 (Fx_mouse_absolute_pixel_position): Rename to
10087 Fw32_mouse_absolute_pixel_position.
10088 (Fx_set_mouse_absolute_pixel_position): Rename to
10089 Fw32_set_mouse_absolute_pixel_position.
10090 * lisp/frame.el (x-frame-geometry, w32-frame-geometry)
10091 (ns-frame-geometry, x-frame-edges, w32-frame-edges)
10092 (ns-frame-edges, w32-mouse-absolute-pixel-position)
10093 (x-mouse-absolute-pixel-position)
10094 (w32-set-mouse-absolute-pixel-position)
10095 (x-set-mouse-absolute-pixel-position): Declare.
10096 (frame-geometry, mouse-absolute-pixel-position)
10097 (set-mouse-absolute-pixel-position): New functions.
10098 (frame-edges): Rewrite in terms of x-/w32-/ns-frame-edges.
10100 2015-08-21 Eli Zaretskii <eliz@gnu.org>
10102 Fix MinGW64 build broken by latest w32uniscribe.c changes
10103 * src/w32uniscribe.c (UNISCRIBE_OPENTYPE): Define to 0x0100, for
10104 MinGW64. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
10107 2015-08-21 Tassilo Horn <tsdh@gnu.org>
10109 Add TeX defaults for prettify-symbol-mode
10110 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
10111 Rename from tex-prettify-symbols-alist.
10112 (tex--prettify-symbols-compose-p): New function.
10113 (tex-common-initialization): Use them as prettify-symbols-alist
10114 and prettify-symbols-compose-predicate.
10116 Generalize prettify-symbols to arbitrary modes
10117 * lisp/progmodes/prog-mode.el
10118 (prettify-symbols-default-compose-p): New function.
10119 (prettify-symbols-compose-predicate): New variable.
10120 (prettify-symbols--compose-symbol): Use it.
10122 2015-08-20 Paul Eggert <eggert@cs.ucla.edu>
10124 Don't quote symbols 'like-this' in docstrings etc.
10125 * admin/unidata/uvs.el (uvs-insert-fields-as-bytes):
10126 * lisp/allout-widgets.el (allout-widgets-count-buttons-in-region):
10127 * lisp/allout.el (allout-add-resumptions, allout-mode):
10128 * lisp/calculator.el (calculator-operators):
10129 * lisp/cedet/data-debug.el (dd-propertize):
10130 * lisp/cedet/ede/proj-prog.el (ede-proj-target-makefile-program):
10131 * lisp/cedet/semantic/analyze/debug.el:
10132 (semantic-analyzer-debug-global-miss-text):
10133 * lisp/cedet/semantic/lex-spp.el:
10134 (semantic-lex-spp-replace-or-symbol-or-keyword):
10135 * lisp/cedet/semantic/symref.el:
10136 (semantic-symref-cleanup-recent-buffers-fcn):
10137 * lisp/cedet/semantic/tag.el (semantic-tag-class):
10138 * lisp/cedet/srecode/el.el (srecode-semantic-handle-:el-custom):
10139 * lisp/gnus/nnmairix.el (nnmairix-propagate-marks-upon-close):
10140 * lisp/gnus/pop3.el (pop3-authentication-scheme):
10141 * lisp/help-fns.el (describe-function-orig-buffer):
10142 * lisp/imenu.el (imenu--history-list):
10143 * lisp/mail/feedmail.el (feedmail-confirm-outgoing)
10144 (feedmail-display-full-frame, feedmail-deduce-bcc-where)
10145 (feedmail-queue-default-file-slug)
10146 (feedmail-queue-buffer-file-name):
10147 * lisp/net/mairix.el (mairix-searches-mode-map):
10148 * lisp/net/newst-backend.el (newsticker-retrieval-method)
10149 (newsticker-auto-mark-filter-list):
10150 * lisp/obsolete/vi.el (vi-mode):
10151 * lisp/progmodes/cc-engine.el (c-literal-type):
10152 * lisp/progmodes/cpp.el (cpp-face):
10153 * lisp/progmodes/ebrowse.el (ebrowse-electric-list-looper):
10154 * lisp/progmodes/elisp-mode.el (elisp--xref-make-xref):
10155 * lisp/progmodes/pascal.el (pascal-auto-lineup):
10156 * lisp/progmodes/prog-mode.el (prog-widen):
10157 * lisp/progmodes/verilog-mode.el (verilog-regexp-words)
10158 (verilog-auto-lineup, verilog-auto-reset-widths)
10159 (verilog-auto-arg-format, verilog-auto-inst-template-numbers):
10160 * lisp/textmodes/flyspell.el (flyspell-maybe-correct-transposition)
10161 (flyspell-maybe-correct-doubling):
10162 * lisp/textmodes/table.el (table-justify, table-justify-cell)
10163 (table-justify-row, table-justify-column, table-insert-sequence)
10164 (table--justify-cell-contents):
10165 * lisp/url/url-auth.el (url-get-authentication):
10166 * lisp/window.el (display-buffer-record-window):
10167 * lisp/xml.el (xml-parse-file, xml-parse-region):
10168 * src/gfilenotify.c (Fgfile_add_watch):
10169 Don't quote symbols with apostrophes in doc strings.
10170 Use asymmetric quotes instead.
10171 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
10172 Likewise for symbol in diagnostic.
10173 * lisp/image.el (image-extension-data):
10174 * lisp/register.el (frame-configuration-to-register):
10175 * src/buffer.c (syms_of_buffer):
10176 Remove bogus apostrophes after symbols.
10177 * lisp/thumbs.el (thumbs-conversion-program):
10178 Quote Lisp string values using double-quotes, not apostrophes.
10180 2015-08-20 Martin Rudalics <rudalics@gmx.at>
10182 Describe frame geometry and related functions in Elisp manual
10183 * doc/lispref/display.texi (Size of Displayed Text, Line Height)
10184 (Showing Images): Update references.
10185 * doc/lispref/elisp.texi (Top): Update node listing.
10186 * doc/lispref/frames.texi (Frame Geometry): New node.
10187 Move `Size and Position' section here.
10188 (Size Parameters): Update references.
10189 (Mouse Position): Update references and nomenclature.
10190 Describe new functions `x-mouse-absolute-pixel-position' and
10191 `x-set-mouse-absolute-pixel-position'.
10192 * doc/lispref/windows.texi (Window Sizes): Update references.
10193 (Resizing Windows): Update references. Move description of
10194 `fit-frame-to-buffer' here.
10195 (Coordinates and Windows): Update nomenclature and references.
10196 Describe new arguments of `window-edges'. Comment out
10197 descriptions of `window-left-column', `window-top-line',
10198 `window-pixel-left' and `window-pixel-top'. Describe
10199 `window-absolute-pixel-position'.
10201 2015-08-20 Alan Mackenzie <acm@muc.de>
10203 Handling of `c-parse-state'. Fix low level bug.
10204 * lisp/progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10205 Add "CASE 3.5" to handle `cache-pos' being only slightly before `here'.
10207 2015-08-20 Andreas Politz <politza@hochschule-trier.de>
10209 * lisp/wid-edit.el (widget-color--choose-action): Quit *Color*
10210 window instead of deleting it.
10212 2015-08-20 Martin Rudalics <rudalics@gmx.at>
10214 In w32fns.c's Fx_frame_geometry rewrite check whether frame has a titlebar
10215 * src/w32fns.c (Fx_frame_geometry): Use title_bar.rgstate[0] to
10216 determine whether frame has a titlebar.
10217 Suggested by Eli Zaretskii <eliz@gnu.org>
10219 2015-08-20 Tassilo Horn <tsdh@gnu.org>
10221 Add a prettify-symbols-alist for (La)TeX
10222 * lisp/textmodes/tex-mode.el (tex-prettify-symbols-alist):
10223 New variable holding an alist suitable as prettify-symbols-alist in
10226 2015-08-19 Alan Mackenzie <acm@muc.de>
10228 Make electric-pair-mode, delete-selection-mode and CC Mode cooperate.
10229 Fixes debbugs#21275.
10230 In Emacs >= 25, let electric-pair-mode take precedence over
10231 delete-selection-mode.
10232 * lisp/delsel.el (delete-selection-uses-region-p): New function,
10233 previously a lambda expression in a property value for
10234 `self-insert-command'.
10235 (top-level): Set the `delete-selection' property of
10236 `self-insert-command' to `delete-selection-uses-region-p'.
10237 * lisp/progmodes/cc-cmds.el (top-level): Give the `delete-selection'
10238 property for c-electric-\(brace\|paren\) the value
10239 `delete-selection-uses-region-p' when the latter function exists.
10241 2015-08-19 Paul Eggert <eggert@cs.ucla.edu>
10243 Fix key binding quoting in tutorial *Help*
10244 * lisp/tutorial.el (tutorial--describe-nonstandard-key):
10245 When generating help for custom key bindings, use the user-preferred
10246 quoting style rather than hardcoding the grave style.
10248 2015-08-19 Eli Zaretskii <eliz@gnu.org>
10250 Improve and future-proof OTF fonts support in w32uniscribe.c
10251 * src/w32uniscribe.c (uniscribe_otf_capability): Add commentary
10252 about the expected results and why the new Uniscribe APIs are not
10253 used in this function.
10254 (ScriptGetFontScriptTags_Proc, ScriptGetFontLanguageTags_Proc)
10255 (ScriptGetFontFeatureTags_Proc): New function typedefs.
10256 (uniscribe_new_apis): New static variable.
10257 (uniscribe_check_features): New function, implements OTF features
10258 verification while correctly accounting for features in the list
10259 after the nil member, if any.
10260 (uniscribe_check_otf_1): New function, retrieves the features
10261 supported by the font for the requested script and language using
10262 the Uniscribe APIs available from Windows Vista onwards.
10263 (uniscribe_check_otf): If the new Uniscribe APIs are available,
10264 use them in preference to reading the font data directly. Call
10265 uniscribe_check_features to verify that the requested features are
10266 supported, replacing the original incomplete code.
10267 (syms_of_w32uniscribe): Initialize function pointers for the new
10268 Uniscribe APIs. (Bug#21260)
10269 (otf_features): Scan the script, langsys, and feature arrays back
10270 to front, so that the result we return has them in alphabetical
10271 order, like ftfont.c does.
10272 * src/w32fns.c (syms_of_w32fns) <w32-disable-new-uniscribe-apis>:
10273 New variable for debugging w32uniscribe.c code.
10275 2015-08-19 Artur Malabarba <bruce.connor.am@gmail.com>
10277 * lisp/isearch.el (isearch-search-fun-default): Revert a5bdb87
10278 Remove usage of `isearch-lax-whitespace' inside the `iearch-word'
10279 clause of `isearch-search-fun-default'. That lax variable does not
10280 refer to lax-whitespacing. Related to (bug#21777).
10281 This reverts commit a5bdb872edb9f031fe041faf9a8c0be432e5f64c.
10282 * lisp/character-fold.el (character-fold-search): Set to nil.
10283 Default to nil for now, until someone implements proper
10284 lax-whitespacing with char-fold searching.
10286 2015-08-19 Martin Rudalics <rudalics@gmx.at>
10288 Fix doc-string of `help-mode-finish'.
10289 * lisp/help-mode.el (help-mode-finish): Fix doc-string.
10291 In nsimage.m include coding.h (Bug#21292)
10292 * src/nsimage.m (top-level): Include coding.h (Bug#21292).
10294 Move window edge functions to Elisp.
10295 * src/window.c (Fwindow_edges, Fwindow_pixel_edges)
10296 (Fwindow_absolute_pixel_edges, Fwindow_inside_edges)
10297 (Fwindow_inside_pixel_edges, Fwindow_inside_absolute_pixel_edges):
10299 (calc_absolute_offset): Remove.
10300 * lisp/frame.el (frame-edges): New function.
10301 * lisp/window.el (window-edges, window-pixel-edges)
10302 (window-absolute-pixel-edges): Move here from window.c.
10303 (window-body-edges, window-body-pixel-edges)
10304 (window-absolute-body-pixel-edges): Move here from window.c and
10305 rename "inside" to "body". Keep old names as aliases.
10306 (window-absolute-pixel-position): New function.
10308 2015-08-19 Katsumi Yamaoka <yamaoka@jpl.org>
10310 [Gnus]: Use overlay functions directly
10311 * lisp/gnus/gnus-art.el (gnus-mime-inline-part, gnus-mm-display-part)
10312 (gnus-insert-mime-button, gnus-mime-buttonize-attachments-in-header)
10313 (gnus-article-highlight-signature, gnus-article-extend-url-button)
10314 (gnus-article-add-button, gnus-insert-prev-page-button)
10315 (gnus-insert-next-page-button, gnus-insert-mime-security-button):
10316 * lisp/gnus/gnus-cite.el (gnus-cite-delete-overlays)
10317 (gnus-cite-add-face):
10318 * lisp/gnus/gnus-html.el (gnus-html-wash-tags):
10319 * lisp/gnus/gnus-salt.el (gnus-tree-read-summary-keys)
10320 (gnus-tree-recenter, gnus-highlight-selected-tree):
10321 * lisp/gnus/gnus-sum.el (gnus-summary-show-all-threads)
10322 (gnus-summary-show-thread, gnus-summary-hide-thread)
10323 (gnus-highlight-selected-summary):
10324 * lisp/gnus/gnus-util.el (gnus-put-overlay-excluding-newlines):
10325 * lisp/gnus/message.el (message-fix-before-sending)
10326 (message-toggle-image-thumbnails):
10327 * lisp/gnus/mm-decode.el (mm-convert-shr-links):
10328 * lisp/gnus/sieve.el (sieve-highlight, sieve-insert-scripts):
10329 Use overlay functions directly instead of using gnus-overlay-*,
10330 message-overlay-*, and sieve-overlay-*.
10331 * lisp/gnus/gnus-sum.el (gnus-remove-overlays):
10332 * lisp/gnus/gnus.el (gnus-make-overlay, gnus-copy-overlay)
10333 (gnus-delete-overlay, gnus-overlay-get, gnus-overlay-put)
10334 (gnus-move-overlay, gnus-overlay-buffer, gnus-overlay-start)
10335 (gnus-overlay-end, gnus-overlays-at, gnus-overlays-in):
10336 * lisp/gnus/message.el (message-delete-overlay, message-make-overlay)
10337 (message-overlay-get, message-overlay-put, message-overlays-in):
10338 * lisp/gnus/sieve.el (sieve-make-overlay, sieve-overlay-put)
10339 (sieve-overlays-at): Remove.
10341 2015-08-19 Martin Rudalics <rudalics@gmx.at>
10343 In w32fns.c condition TITLEBAR_INFO declaration on WINDOWS version
10344 * src/w32fns.c (TITLEBAR_INFO): Make it a typedef so MinGW64
10345 builds can use the declaration from the system headers.
10346 (GetTitleBarInfo_Proc, Fx_frame_geometry): Adapt to new
10347 definition of TITLEBAR_INFO.
10348 Suggested by Eli Zaretskii <eliz@gnu.org>
10350 2015-08-19 Glenn Morris <rgm@gnu.org>
10352 * lisp/gnus/nnmaildir.el (nnmaildir-flag-mark-mapping): Add "P".
10354 2015-08-19 Paul Eggert <eggert@cs.ucla.edu>
10356 Use new q ‘format’ flag when fixing quotes in C
10357 * src/image.c (image_size_error): New function. All uses of
10358 image_error with "Invalid image size ..." changed to use it.
10359 * src/image.c (image_size_error, xbm_load_image, xbm_load)
10360 (xpm_load, xpm_load_image, xpm_load, pbm_load, png_load_body)
10361 (jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
10362 (imagemagick_load, svg_load, svg_load_image, gs_load)
10363 (x_kill_gs_process):
10364 * src/lread.c (load_warn_old_style_backquotes):
10365 * src/xfaces.c (load_pixmap):
10366 * src/xselect.c (x_clipboard_manager_error_1):
10367 Use %qs, not uLSQM and uRSQM.
10368 * src/syntax.c (Finternal_describe_syntax_value):
10369 Prefer Fsubstitute_command_keys to Fformat, as this lets
10370 us use AUTO_STRING.
10371 * src/xdisp.c (vadd_to_log): Use AUTO_STRING on the format argument,
10372 as it's now guaranteed to be ASCII.
10373 * src/xselect.c (x_clipboard_manager_error_2):
10374 Avoid grave accent in low-level stderr diagnostic.
10376 2015-08-19 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
10378 New q flag for ‘format’
10379 * doc/lispref/processes.texi (Sentinels):
10380 Don't hardwire grave quoting style in example.
10381 * doc/lispref/strings.texi (Formatting Strings):
10383 Document new q flag.
10384 * src/editfns.c (Fformat): Implement it.
10386 2015-08-18 Daiki Ueno <ueno@gnu.org>
10388 pinentry.el: Add debugging support
10389 * lisp/net/pinentry.el (pinentry-debug): New variable.
10390 (pinentry-debug-buffer): New variable.
10391 (pinentry--process-filter): Send input to the debug buffer, if
10392 `pinentry-debug' is set.
10394 pinentry.el: Improve multiline prompt
10395 * lisp/net/pinentry.el (pinentry--prompt): Simplify the interface.
10396 (pinentry--process-filter): Use `pinentry--prompt' for CONFIRM
10399 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
10401 Fix multibyte confusion in diagnostics
10402 * src/print.c (print_error_message):
10403 Don't assume that the caller's name is unibyte.
10404 * src/xdisp.c (vadd_to_log):
10405 Don't assume that the formatted diagnostic is unibyte.
10407 Fix file name encodings in diagnostics
10408 Also, close some minor races when opening image files, by opening
10409 them once instead of multiple times.
10410 * src/gtkutil.c (xg_get_image_for_pixmap):
10411 * src/image.c (xpm_load, tiff_load, gif_load, imagemagick_load)
10413 * src/nsimage.m (allocInitFromFile:):
10414 * src/xfns.c (xg_set_icon):
10415 Encode file name, since x_find_image_file no longer does that.
10416 * src/image.c (x_find_image_fd): New function.
10417 (x_find_image_file): Use it. Do not encode resulting file name,
10418 since callers sometimes need it decoded.
10419 (slurp_file): File arg is now a fd, not a file name.
10420 All callers changed. This saves us having to open the file twice.
10421 (xbm_load, xpm_load, pbm_load, png_load_body, jpeg_load_body)
10423 Use x_find_image_fd and fdopen to save a file-open.
10424 Report file name that failed.
10425 * src/lread.c (openp): If PREDICATE is t, open the file in binary mode.
10427 2015-08-18 Dmitry Gutov <dgutov@yandex.ru>
10429 Allow blink-matching-paren to jump off screen
10430 * doc/emacs/programs.texi (Matching): Mention the
10431 `blink-matching-paren' value `jump-offscreen'.
10432 * lisp/simple.el (blink-matching-paren): New possible value.
10433 (blink-matching-paren-on-screen): Clarify the docstring.
10434 (blink-matching-open): Handle `jump-offscreen' (bug#21286).
10436 Refine the previous change
10437 * lisp/simple.el (blink-matching-open): Use minibuffer-message
10438 outside of save-excursion (bug#21286).
10440 2015-08-18 Martin Rudalics <rudalics@gmx.at>
10442 Rewrite and add frame geometry related functions.
10443 * src/frame.c (Fframe_position): New function.
10444 (Fset_frame_position): Rename parameters and rewrite doc-string.
10445 (syms_of_frame): Remove Qframe_position, Qframe_outer_size,
10446 Qtitle_height and Qframe_inner_size. Add Qouter_edges,
10447 Qouter_position, Qouter_size, Qnative_edges, Qinner_edges,
10449 * src/nsfns.m (frame_geometry): New function.
10450 (Fx_frame_geometry): Call frame_geometry.
10451 (Fx_frame_edges): New function.
10452 * src/w32fns.c (C_CHILDREN_TITLEBAR, TITLEBAR_INFO)
10453 (GetTitleBarInfo_Proc): Define these so we can use the
10454 GetTitleBarInfo API.
10455 (Fw32_frame_menu_bar_size, Fw32_frame_rect): Remove.
10456 (Fx_frame_geometry): Rewrite.
10457 (Fx_frame_edges, Fx_mouse_absolute_pixel_position)
10458 (Fx_set_mouse_absolute_pixel_position): New functions.
10459 * src/xfns.c (frame_geometry): New function.
10460 (Fx_frame_geometry): Call frame_geometry.
10461 (Fx_frame_edges, Fx_mouse_absolute_pixel_position)
10462 (Fx_set_mouse_absolute_pixel_position): New functions.
10464 2015-08-18 Michael Albinus <michael.albinus@gmx.de>
10466 Improve Tramp's compatibility
10467 * lisp/net/tramp.el (tramp-get-method-parameter):
10468 * lisp/net/tramp-adb.el (tramp-adb-parse-device-names)
10469 (tramp-adb-get-device):
10470 * lisp/net/trampver.el (tramp-repository-get-version):
10471 Use `tramp-compat-replace-regexp-in-string'.
10473 2015-08-18 Pierre Téchoueyres <pierre.techoueyres@free.fr> (tiny change)
10475 * lisp/net/tramp-cmds.el (tramp-reporter-dump-variable):
10476 Encode/decode string.
10478 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
10480 Clarify what happens to match data on failure
10481 Problem reported by Ernesto Alfonso (Bug#21279).
10482 * doc/lispref/searching.texi (Regexp Search, Simple Match Data):
10483 Document more carefully what happens to match data after a failed
10485 * src/search.c (Fmatch_beginning, Fmatch_end): Document that
10486 the return value is undefined if the last search failed.
10487 (Fmatch_data): Simplify doc string line 1.
10489 2015-08-18 Daiki Ueno <ueno@gnu.org>
10491 Revert "pinentry.el: Support external passphrase cache"
10492 This reverts commit e086e55a664ec27fbca7b3231c4b32cb78a89337.
10493 pinentry.el shouldn't directly interact with the secrets service,
10494 but ask the caller to cache the passphrase.
10496 2015-08-17 Xue Fuqiao <xfq.free@gmail.com>
10498 * doc/emacs/sending.texi (Mail Misc): Fix two index entries for
10499 Message mode hooks.
10501 2015-08-17 Daiki Ueno <ueno@gnu.org>
10503 epg.el: Make gpgconf output parsing future proof
10504 * lisp/epg.el (epg--start): Count the number of fields in "gpgconf
10505 --list-options" output.
10507 pinentry.el: Support external passphrase cache
10508 * lisp/net/pinentry.el (pinentry-use-secrets): New user option.
10509 (pinentry--allow-external-password-cache): New local variable.
10510 (pinentry--key-info): New local variable.
10511 (secrets-enabled, secrets-search-items, secrets-get-secret):
10513 (pinentry--send-passphrase): New function, split from
10514 `pinentry--process-filter'.
10515 (pinentry--process-filter): Use secrets.el to retrieve passphrase
10516 from login keyring.
10518 pinentry.el: Popup window for multiline prompt
10519 * lisp/net/pinentry.el (pinentry): New custom group.
10520 (pinentry-popup-prompt-window): New user option.
10521 (pinentry-prompt-window-height): New user option.
10522 (pinentry--prompt-buffer): New variable.
10523 (pinentry-prompt-mode-map): New variable.
10524 (pinentry-prompt-mode): New function.
10525 (pinentry--prompt): New function.
10526 (pinentry--process-filter): Use `pinentry--prompt' instead of
10527 `read-passwd' and `y-or-n-p'.
10529 2015-08-17 Katsumi Yamaoka <yamaoka@jpl.org>
10531 message.el: Silent the byte compiler
10532 * lisp/gnus/message.el (message-overlay-put, message-make-overlay)
10533 (message-kill-all-overlays, message-overlays-in, message-overlay-get)
10534 (message-delete-overlay, message-window-inside-pixel-edges):
10535 Declare before using.
10537 * lisp/gnus/message.el (message-overlay-get, message-overlays-in)
10538 (message-window-inside-pixel-edges): XEmacs compatible functions.
10540 2015-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10542 * lisp/gnus/message.el (message-toggle-image-thumbnails): New command.
10544 2015-08-17 Noah Friedman <friedman@splode.com>
10546 * lisp/simple.el (blink-matching-open): Restore point before
10547 calling minibuffer-message.
10549 2015-08-17 Ronnie Schnell <ronnie@driver-aces.com>
10551 * lisp/play/dunnet.el: Update version number in header (now
10554 2015-08-17 Paul Eggert <eggert@cs.ucla.edu>
10556 Curved quotes in --batch diagnostics in non-UTF-8
10557 When run with --batch, check that curved quotes are compatible with
10558 the system locale before outputting them in diagnostics.
10559 Problem reported by Eli Zaretskii in:
10560 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00594.html
10561 * lisp/startup.el (command-line): Set internal--text-quoting-flag
10562 after the standard display table is initialized.
10563 * src/doc.c (default_to_grave_quoting_style): New function.
10564 (text_quoting_style): Use it.
10565 (text_quoting_flag): New static var, visible to Lisp as
10566 internal--text-quoting-flag.
10567 * src/emacs.c: Include <wchar.h> if available.
10568 (using_utf8): New function.
10569 (main): Use it to initialize text_quoting_flag.
10570 * src/regex.h (btowc) [WIDE_CHAR_SUPPORT && emacs]:
10571 Don't define, as it's not needed and it clashes with wchar.h.
10573 2015-08-17 Glenn Morris <rgm@gnu.org>
10575 * doc/misc/tramp.texi (Configuration): Reword to avoid warning
10576 from makeinfo about spurious "Note:" cross-reference, and for grammar.
10578 2015-08-17 Ilya Zakharevich <ilya@math.berkeley.edu>
10580 Minor change in variable initialization on MS-Windows
10581 * src/w32fns.c <after_dead_key>: Initialize to -1.
10582 (deliver_wm_chars): If after_deadkey is zero, don't set after_dead
10585 Fix a bug with LWindow key remapping on MS-Windows
10586 * src/w32fns.c (deliver_wm_chars): Fix a typo. (Bug#21276)
10588 2015-08-17 Eli Zaretskii <eliz@gnu.org>
10590 Improve fontset support for latest OTF script tags
10591 * lisp/international/fontset.el (otf-script-alist): Add some
10592 missing script tags.
10593 (setup-default-fontset): Include settings for v2 versions of the
10594 script tags used by some modern OTF/TTF fonts.
10596 2015-08-17 Paul Eggert <eggert@cs.ucla.edu>
10600 2015-08-16 Paul Eggert <eggert@cs.ucla.edu>
10602 Use curved quotes in core elisp diagnostics
10603 In the core elisp files, use curved quotes in diagnostic formats,
10604 so that they follow user preference as per ‘text-quoting-style’
10605 rather than being hard-coded to quote `like this'.
10606 * lisp/abbrev.el (expand-region-abbrevs):
10607 * lisp/button.el (button-category-symbol, button-put)
10608 (make-text-button):
10609 * lisp/cus-start.el:
10610 * lisp/custom.el (custom-add-dependencies, custom-check-theme)
10611 (custom--sort-vars-1, load-theme):
10612 * lisp/emacs-lisp/byte-run.el (defun, defsubst):
10613 * lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
10614 (cl-generic-generalizers):
10615 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
10616 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
10617 * lisp/emacs-lisp/nadvice.el (advice--make-docstring)
10618 (advice--make, define-advice):
10619 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
10620 * lisp/emacs-lisp/timer.el (timer-event-handler):
10621 * lisp/env.el (setenv):
10622 * lisp/facemenu.el (facemenu-add-new-face)
10623 (facemenu-add-new-color):
10624 * lisp/faces.el (face-documentation, read-face-name)
10625 (face-read-string, read-face-font, face-spec-set-match-display)
10626 (read-color, x-resolve-font-name):
10627 * lisp/files.el (locate-user-emacs-file, find-alternate-file)
10628 (set-auto-mode, hack-local-variables)
10629 (hack-one-local-variable--obsolete)
10630 (dir-locals-set-directory-class, write-file)
10631 (basic-save-buffer, delete-directory, copy-directory)
10632 (recover-session, recover-session-finish, insert-directory)
10633 (file-modes-char-to-who, file-modes-symbolic-to-number)
10634 (move-file-to-trash):
10635 * lisp/font-lock.el (font-lock-fontify-buffer):
10636 * lisp/format.el (format-write-file, format-find-file)
10637 (format-insert-file):
10638 * lisp/frame.el (get-device-terminal, select-frame-by-name):
10639 * lisp/fringe.el (fringe--check-style):
10640 * lisp/help.el (describe-minor-mode-from-indicator):
10641 * lisp/image.el (image-type):
10642 * lisp/international/fontset.el (x-must-resolve-font-name):
10643 * lisp/international/mule-cmds.el (prefer-coding-system)
10644 (select-safe-coding-system-interactively)
10645 (select-safe-coding-system, activate-input-method)
10646 (toggle-input-method, describe-current-input-method):
10647 * lisp/international/mule-conf.el (code-offset):
10648 * lisp/mouse.el (minor-mode-menu-from-indicator):
10649 * lisp/replace.el (query-replace-read-from)
10650 (occur-after-change-function, occur-1):
10651 * lisp/scroll-bar.el (scroll-bar-columns):
10652 * lisp/simple.el (execute-extended-command)
10653 (undo-outer-limit-truncate, compose-mail, set-variable)
10654 (choose-completion-string, define-alternatives):
10655 * lisp/startup.el (site-run-file, tty-handle-args)
10656 (command-line, command-line-1):
10657 * lisp/subr.el (noreturn, define-error, add-to-list)
10658 (read-char-choice):
10659 * lisp/term/common-win.el (x-handle-xrm-switch)
10660 (x-handle-name-switch, x-handle-args):
10661 * lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
10662 Use curved quotes in diagnostics.
10663 * lisp/international/mule.el (find-auto-coding):
10664 Use " to quote in a diagnostic, to be consistent with the rest of
10667 Convert lisp/term/x-win.el to UTF-8
10668 * lisp/term/x-win.el: Convert to UTF-8. This doesn't affect
10669 runtime behavior, and the file is multilingual so compile-time
10670 appearance shouldn't be an issue.
10671 * admin/notes/unicode: Document this.
10673 2015-08-16 Wilson Snyder <wsnyder@wsnyder.org>
10675 Update verilog-mode.el to 2015-05-14-6232468-vpo-GNU.
10676 * lisp/progmodes/verilog-mode.el: Fix some non-automated indent
10677 issues and comments, bug#943.
10678 (verilog-type-font-keywords): Cycle delay operators like ##1 and
10679 ##[0:$] are now highlighted in their entirety similarly to the #
10680 delay-control operator. Likewise, the followed-by operators #-#
10681 and #=# are no longer partially highlighed.
10682 (verilog-backward-syntactic-ws-quick)
10683 (verilog-skip-backward-comments): Minor performance improvements
10684 to buffer traversal functions for reduced latency.
10685 (verilog-calc-1, verilog-in-deferred-immediate-final-p): When the
10686 keyword 'final' follows 'assert/assume/cover', then it is part of
10687 a deferred immediate assertion item and should not be treated as a
10688 final construct for indentation. Reported by Yuri Sugihara.
10689 (verilog-do-indent): Virtual task/function/class definition lines
10690 should not be considered as declarations. Reported by Enzo Chi.
10691 (verilog-do-indent): Do not falsely indent to '=' of
10692 property/sequence operators on subsequent lines of a multi-line
10694 (verilog-assignment-operator-re): Fix '!==' operator and add
10695 support for '<->', ':/', '#-#', and '#=#' operators.
10696 (verilog-calculate-indent, verilog-label-be): Enable
10697 case-sensitive regular expression parsing when looking for
10699 (verilog-calc-1): Detect 'pure virtual method' declarations which
10700 exist in abstract classes. Reported by Enzo Chi and Kaushal Modi.
10701 (verilog-backward-ws&directives): When moving back to the start of
10702 a line and the preceeding line ended with an escaped-newline, then
10703 jump up one line. This properly consumes a multi-line
10704 pre-processor directive. Reported by Kaushal Modi.
10705 (verilog-dpi-import-export-re, verilog-extended-complete-re)
10706 (verilog-calc-1): Teach verilog-mode to properly indent after a
10707 DPI import/export statement that resides outside of a module.
10708 Reported by Kaushal Modi.
10709 (verilog-extended-complete-re): Update regexp to match both
10710 "DPI-C" and "DPI". Reported by Kaushal Modi.
10712 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
10714 substitute-command-keys a few more doc strings
10715 * lisp/allout.el (outlineify-sticky):
10716 * lisp/files.el (hack-one-local-variable--obsolete):
10717 * lisp/help-fns.el (help-fns--obsolete, describe-variable):
10718 Use substitute-command-keys on some doc strings so that
10719 they don't use hard-coded key bindings or quoting styles.
10721 Fix quoting in Fformat calls
10722 * src/image.c (xbm_read_bitmap_data, xbm_load_image, xbm_load)
10723 (xpm_load, xpm_load_image, pbm_load, png_load_body)
10724 (jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
10725 (imagemagick_load, svg_load, svg_load_image, gs_load)
10726 (x_kill_gs_process):
10727 * src/lread.c (load_warn_old_style_backquotes):
10728 * src/xfaces.c (load_pixmap):
10729 * src/xselect.c (x_clipboard_manager_error_1):
10730 Quote diagnostics according to user preference when calling
10731 Fformat or its derivatives.
10733 2015-08-15 Glenn Morris <rgm@gnu.org>
10735 * admin/admin.el (set-version, set-copyright): Remove deleted files.
10737 2015-08-15 Stephen Leake <stephen_leake@stephe-leake.org>
10739 Allow describe-function helpers to access buffer-local values
10740 This will be used by cedet/mode-local.el `describe-mode-local-override'
10741 on `help-fns-describe-function-functions' in upstream CEDET.
10742 * lisp/help-fns.el (describe-function-orig-buffer): New, let-bound in
10743 `describe-function'.
10744 (describe-function): Bind it, save it on the help xref stack.
10746 Handle pulse-background being nil
10747 * lisp/cedet/pulse.el (pulse-lighten-highlight): Inherit
10748 pulse-background, handle it being nil.
10750 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
10752 Fix "\`" confusion in Lisp strings
10753 * admin/authors.el (authors-canonical-author-name):
10754 Fix typo by using "\\`" not "\`" in string RE.
10755 * lisp/obsolete/complete.el (PC-complete-as-file-name):
10756 * lisp/obsolete/vi.el (vi-backward-blank-delimited-word):
10757 * lisp/progmodes/verilog-mode.el (verilog-mode-map):
10758 Use plain "`", not the equivalent-but-confusing "\`", in strings.
10759 * lisp/textmodes/texinfmt.el: Fix comment likewise.
10761 2015-08-15 Dani Moncayo <dmoncayo@gmail.com>
10763 * nt/zipdist.bat: Remove -- no longer used.
10765 2015-08-15 Jürgen Hötzel <juergen@archlinux.org>
10767 * lisp/net/tramp-sh.el (tramp-remote-selinux-p): Use "selinuxenabled"
10768 rather than "getenforce".
10769 (tramp-sh-handle-set-file-selinux-context): Do not
10770 cache SELinux context if not all context components are given.
10772 2015-08-15 Eli Zaretskii <eliz@gnu.org>
10774 Add doc strings to 2 help-mode.el functions
10775 * lisp/help-mode.el (help-mode-setup, help-mode-finish): Add doc
10776 strings. (Bug#21263)
10778 Remove files used by the old MS-Windows specific build procedure
10779 * admin/unidata/makefile.w32-in:
10780 * doc/emacs/makefile.w32-in:
10781 * doc/lispintro/makefile.w32-in:
10782 * doc/lispref/makefile.w32-in:
10783 * doc/misc/makefile.w32-in:
10784 * leim/makefile.w32-in:
10785 * lib-src/makefile.w32-in:
10786 * lib/makefile.w32-in:
10787 * lisp/makefile.w32-in:
10790 * nt/emacs-src.tags:
10793 * nt/makefile.w32-in:
10794 * nt/multi-install-info.bat:
10797 * src/makefile.w32-in: Files deleted.
10798 * nt/configure.bat: Remove everything except the blurb about the
10799 new build procedure.
10800 * make-dist: Remove references to makefile.w32-in in various
10801 directories, and to files in nt/ that were deleted.
10802 * etc/NEWS: Mention the fact that the files were dropped.
10804 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
10806 * doc/emacs/mule.texi (Charsets): Give fuller title for ISO-IR.
10809 2015-08-14 Paul Eggert <eggert@cs.ucla.edu>
10811 Default to inotify instead of gfile
10812 * configure.ac (with_file_notification): Fix typo that
10813 prevented suppression of file notification if HAVE_NS.
10814 (NOTIFY_OBJ): Prefer inotify to gfile if both exist and
10815 with_file_notification is 'yes' (Bug#21241).
10816 * etc/NEWS: Mention this.
10818 Fix broken URLs for ISO-IR
10819 * doc/emacs/mule.texi (Charsets):
10820 * lisp/international/mule-conf.el:
10821 Fix broken URL (Bug#21248).
10823 Low-level diagnostics now use ‘text-quoting-style’
10824 * src/doprnt.c (doprnt):
10825 Format ` and ' as per ‘text-quoting-style’.
10826 * src/xdisp.c (vmessage, message): Mention that the format should
10827 not contain ` or '.
10829 Prefer ‘format’ to ‘substitute-command-keys’
10830 * src/character.h (uLSQM, uRSQM): Move here ...
10831 * src/doc.c (uLSQM, uRSQM): ... from here.
10832 * src/doc.c (Fsubstitute_command_keys):
10833 * src/syntax.c (Finternal_describe_syntax_value):
10834 * lisp/cedet/mode-local.el (mode-local-print-binding)
10835 (mode-local-describe-bindings-2):
10836 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
10837 * lisp/cus-theme.el (describe-theme-1):
10838 * lisp/descr-text.el (describe-text-properties-1, describe-char):
10839 * lisp/emacs-lisp/cl-extra.el (cl--describe-class):
10840 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
10841 * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
10842 * lisp/emacs-lisp/package.el (describe-package-1):
10843 * lisp/faces.el (describe-face):
10844 * lisp/help-fns.el (help-fns--key-bindings)
10845 (help-fns--compiler-macro, help-fns--parent-mode)
10846 (help-fns--obsolete, help-fns--interactive-only)
10847 (describe-function-1, describe-variable):
10848 * lisp/help.el (describe-mode):
10849 Prefer ‘format’ to ‘substitute-command-keys’ when either will do
10850 to implement quoting style. This generally makes the code simpler.
10852 Extend ‘format’ to translate curved quotes
10853 This is a followup to the recent doc string change, and deals with
10854 diagnostics and the like. This patch is more conservative than
10855 the doc string change, in that the behavior of ‘format’ changes
10856 only if its first arg contains curved quotes and the user prefers
10857 straight or grave quotes. (Come to think of it, perhaps we should
10858 be similarly conservative with doc strings too, but that can wait.)
10859 The upside of this conservatism is that existing usage is almost
10860 surely unaffected. The downside is that we'll eventually have to
10861 change Emacs's format strings to use curved quotes in places where
10862 the user might want curved quotes, but that's a simple and
10863 mechanical translation that I'm willing to do later. (Bug#21222)
10864 * doc/lispref/help.texi (Keys in Documentation):
10865 Move description of text-quoting-style from here ...
10866 * doc/lispref/strings.texi (Formatting Strings):
10867 ... to here, and describe new behavior of ‘format’.
10868 * etc/NEWS: Describe new behavior.
10869 * lisp/calc/calc-help.el (calc-describe-thing):
10870 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
10871 * lisp/info.el (Info-find-index-name):
10872 Use ‘concat’ rather than ‘format’ to avoid misinterpretation
10873 of recently-added curved quotes.
10874 * src/doc.c (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
10876 * src/lisp.h: ... to here.
10877 * src/doc.c (text_quoting_style): New function.
10878 (Fsubstitute_command_keys): Use it.
10879 * src/editfns.c (Fformat): Implement new behavior.
10880 * src/lisp.h (enum text_quoting_style): New enum.
10882 2015-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
10884 * src/keyboard.c: Use false/true instead of 0/1 for booleans.
10885 * src/keyboard.h (struct kboard): Mark kbd_queue_has_data as boolean.
10887 2015-08-14 Michael Albinus <michael.albinus@gmx.de>
10889 * lisp/net/tramp-sh.el (tramp-sh-handle-file-acl): Do not redirect
10890 stderr to /dev/null, this is done in `tramp-send-command-and-check'.
10892 2015-08-14 Jürgen Hötzel <juergen@archlinux.org>
10894 Flush file properties in Tramp
10895 * lisp/net/tramp-sh.el (tramp-sh-handle-set-file-modes)
10896 (tramp-sh-handle-set-file-times):
10897 * lisp/net/tramp-adb.el (tramp-adb-handle-set-file-modes)
10898 (tramp-adb-handle-set-file-times): Flush the file properties of
10901 2015-08-14 Ronnie Schnell <ronnie@driver-aces.com>
10903 * doc/emacs/misc.text (Amusements): Fixed typo.
10905 2015-08-14 Eli Zaretskii <eliz@gnu.org>
10907 Don't miss warnings about removing string text properties while dumping
10908 * src/alloc.c (purecopy): Warn about removing a string's text
10909 properties even when the same string was already pure-copied
10911 * lisp/progmodes/elisp-mode.el (elisp--xref-format)
10912 (elisp--xref-format-extra): Fix the commentary.
10914 2015-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10916 * lisp/progmodes/sh-script.el (sh-mode): Handle .cshrc (bug#21049).
10918 2015-08-13 Magnus Henoch <magnus.henoch@gmail.com>
10920 * lisp/progmodes/compile.el: Use lexical-binding.
10921 (compilation-move-to-column): Assume 8-wide TABs (bug#21038).
10923 2015-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10925 (uniquify-ask-about-buffer-names-p): Remove, unused (bug#21037)
10926 * lisp/uniquify.el: Remove redundant `:group's.
10928 2015-08-13 Jürgen Hötzel <juergen@archlinux.org>
10930 * lisp/net/tramp-adb.el
10931 (tramp-adb-handle-directory-files-and-attributes): Make a copy of
10932 result to prevent modification of the tramp-cache by side effects.
10933 Use the correct cache key.
10935 2015-08-13 Paul Eggert <eggert@cs.ucla.edu>
10937 Make add_to_log varargs
10938 * src/alloc.c (run_finalizer_handler):
10939 * src/charset.c (load_charset_map_from_vector):
10940 * src/nsimage.m (ns_load_image):
10941 * src/xfaces.c (load_pixmap, load_color2):
10942 Simplify, now that add_to_log has a variable number of args.
10943 * src/image.c (image_error): Take a variable number of args.
10944 Callers simplified.
10945 * src/lisp.h (add_to_log, vadd_to_log): Adjust to new APIs.
10946 * src/xdisp.c (format_nargs, vadd_to_log): New functions.
10947 (add_to_log): Make varargs, and reimplement in terms of vadd_to_log.
10948 * src/xfaces.c (merge_face_ref): Fix typo that omitted color name.
10950 Optional args for holiday-greek-orthodox-easter
10951 * etc/NEWS: Document this.
10952 * lisp/calendar/holidays.el (holiday-greek-orthodox-easter):
10953 Add optional args N and STRING, mimicking the API and code of
10954 ‘holiday-easter-etc’. From suggestion by Foivos S. Zakkak (Bug#21256).
10956 2015-08-13 Stephen Leake <stephen_leake@stephe-leake.org>
10958 xref-find-definitions: Exclude more generic function items.
10959 * lisp/emacs-lisp/cl-generic.el (cl--generic-search-method):
10961 (cl--generic-find-defgeneric-regexp): New.
10962 (find-function-regexp-alist): Add it.
10963 * lisp/emacs-lisp/find-func.el (find-feature-regexp): Move here from
10964 elisp-mode.el, change to search for ";;; Code:"
10965 (find-alias-regexp): Move here from elisp-mode.el, cleaned up.
10966 (find-function-regexp-alist): Add them.
10967 * lisp/progmodes/elisp-mode.el:
10968 (elisp--xref-format, elisp--xref-format-extra): Change back to
10969 defvar due to bug#21237.
10970 (elisp--xref-find-definitions): Exclude co-located default methods for
10971 generic functions. Also exclude implicitly declared defgeneric.
10972 (elisp--xref-find-definitions): Handle C source properly. Exclude minor
10973 mode variables defined by 'define-minor-mode'.
10974 * test/automated/elisp-mode-tests.el: Declare generic functions, add
10976 (xref-elisp-test-run): Fix bug.
10977 (emacs-test-dir): Improve initial value.
10978 (find-defs-defun-defvar-el): Don't expect defvar.
10979 (find-defs-feature-el): Match change to find-feature-regexp.
10981 2015-08-13 Eli Zaretskii <eliz@gnu.org>
10983 Improve warning about purecopy of strings with properties
10984 * src/alloc.c (purecopy): Show the offending string with the
10985 warning about removing its text properties.
10987 2015-08-12 Alan Mackenzie <acm@muc.de>
10989 Introduce new macros to cover Emacs's new names in cl-lib.el
10990 This also eliminates `mapcan' warnings in XEmacs.
10991 * lisp/progmodes/cc-defs.el (c--mapcan-status): New variable to
10992 characterise [X]Emacs versions.
10993 (top-level): Require either 'cl or 'cl-lib, depending on
10995 Change this back to cc-external-require from an eval-when-compile
10997 (c--mapcan, c--set-difference, c--intersection, c--macroexpand-all)
10998 (c--delete-duplicates): New macros which expand into either old or new
11000 (c-make-keywords-re, c-lang-defconst, c-lang-const): Use the new macros
11001 rather than the old names.
11002 * lisp/progmodes/cc-engine.el (c-declare-lang-variables): Use c--mapcan
11003 rather than mapcan.
11004 * lisp/progmodes/cc-fonts.el (c-compose-keywords-list): Use c--mapcan.
11005 * lisp/progmodes/cc-langs.el (top-level): Require either 'cl or 'cl-lib,
11006 depending on c--mapcan-status.
11007 (c-filter-ops, c-all-op-syntax-tokens, c-assignment-op-regexp)
11008 (c-type-start-kwds, c-prefix-spec-kwds, c-specifier-key)
11009 (c-not-decl-init-keywords, c-not-primitive-type-keywords)
11010 (c-paren-any-kwds, c-<>-sexp-kwds, c-block-stmt-kwds, c-expr-kwds)
11011 (c-decl-block-key, c-keywords, c-keywords-obarray)
11012 (c-regular-keywords-regexp, c-primary-expr-regexp)
11013 (c-primary-expr-regexp, c-block-prefix-disallowed-chars)
11014 (c-known-type-key, c-nonlabel-token-key)
11015 (c-make-init-lang-vars-fun): Use the new macros rather than the old
11018 2015-08-12 Oleh Krehel <ohwoeowho@gmail.com>
11020 loadhist.el (read-feature): Conform to completing-read
11021 * lisp/loadhist.el (read-feature): According to `completing-read'
11022 documentation, if collection is a list, then it must be a list of
11023 strings, not a list of symbols like before.
11025 2015-08-12 David Kastrup <dak@gnu.org>
11027 Deal gracefully with up-events (Bug#19746)
11028 * src/keyboard.c (apply_modifiers_uncached, parse_solitary_modifier)
11029 (parse_modifiers_uncached): React gracefully to "up-" modifiers:
11030 those may easily be injected by user-level Lisp code.
11031 (read_key_sequence): Discard unbound up-events like unbound
11032 down-events: they are even more likely only relevant for special
11034 While Emacs will not produce up-events on its own currently (those are
11035 converted to drag or click events before being converted to
11036 Lisp-readable structures), the input queue can be made to contain them
11037 by synthesizing events to `unread-command-events'. Emacs should deal
11038 consistently with such events.
11040 2015-08-12 Eli Zaretskii <eliz@gnu.org>
11042 Fix display of thin lines whose newline has line-height property of t
11043 * src/xdisp.c (append_space_for_newline): Don't try to fix ascent
11044 and descent values of non-empty glyph rows, since they could have
11045 forced low values deliberately. (Bug#21243)
11047 2015-08-12 Richard Stallman <rms@gnu.org>
11049 Offer to combine multiple To or CC fields.
11050 * lisp/mail/sendmail.el (mail-combine-fields): New function.
11051 (mail-send): Call 'mail-combine-fields'.
11053 Don't decrypt encrypted files.
11054 * lisp/mail/mail-utils.el (mail-file-babyl-p): Bind epa-inhibit to t.
11056 Handle encrypted mbox files.
11057 * lisp/mail/rmailout.el (rmail-output-as-mbox): Decrypt and reencrypt
11058 the mbox file if necessary.
11060 Re-enable mime processing after decryption. Add 'decrypt' keyword.
11061 * lisp/mail/rmail.el (rmail-epa-decrypt-1): New subroutine.
11062 (rmail-epa-decrypt): rmail-epa-decrypt-1 broken out.
11063 In a mime message, reenable Mime and show the parts that
11065 Add keyword "decrypt" if anything decrypted.
11067 epa-inhibit inhibits auto-recognition of .gpg files
11068 * lisp/epa-file.el (epa-inhibit): New variable.
11069 (epa-file-handler): Check epa-inhibit.
11071 2015-08-12 Artur Malabarba <bruce.connor.am@gmail.com>
11073 * lisp/emacs-lisp/lisp-mnt.el (lm-header): Add save-excursion.
11075 2015-08-11 Fabián Ezequiel Gallina <fgallina@gnu.org>
11077 Respect python.el imenu when semantic-mode is off
11079 * lisp/cedet/semantic/wisent/python.el: Do not force
11080 wisent-python-default-setup on python-mode-hook.
11082 2015-08-11 Paul Eggert <eggert@cs.ucla.edu>
11084 Give names to Unicode code points in C code
11085 * src/character.h (NO_BREAK_SPACE, SOFT_HYPHEN)
11086 (ZERO_WIDTH_NON_JOINER, ZERO_WIDTH_JOINER, HYPHEN)
11087 (NON_BREAKING_HYPHEN, LEFT_SINGLE_QUOTATION_MARK)
11088 (RIGHT_SINGLE_QUOTATION_MARK, PARAGRAPH_SEPARATOR)
11089 (LEFT_POINTING_ANGLE_BRACKET, RIGHT_POINTING_ANGLE_BRACKET)
11090 (LEFT_ANGLE_BRACKET, RIGHT_ANGLE_BRACKET)
11091 (OBJECT_REPLACEMENT_CHARACTER):
11092 New named constants for Unicode code points.
11093 * src/bidi.c (bidi_fetch_char, CANONICAL_EQU):
11094 * src/composite.c (char_composable_p):
11095 * src/lread.c (readevalloop, read1):
11096 * src/xdisp.c (get_next_display_element):
11098 * src/doc.c (LEFT_SINGLE_QUOTATION_POINT):
11099 Remove; now in character.h.
11101 2015-08-11 Stephen Leake <stephen_leake@stephe-leake.org>
11103 elisp--xref-find-definitions handle cl-defstuct default constructor
11104 * lisp/progmodes/elisp-mode.el (elisp-xref-find): Add FIXME.
11105 (elisp--xref-format-extra): Rename from elisp--xref-format-cl-defmethod.
11106 (elisp--xref-find-definitions): Handle cl-defstuct default constructor.
11107 * test/automated/elisp-mode-tests.el (xref-elisp-test-run): Split out
11108 from xref-elisp-test for ease of debugging.
11109 (xref-elisp-deftest): Rename from xref-elisp-test.
11110 (find-defs-constructor): New test.
11111 (find-defs-defgeneric-el): Match batch test config.
11112 (compile): Required for find-defs compilation-minor-mode test.
11113 (find-defs-defvar-el): Match code change.
11114 (find-defs-face-el): Match code change.
11115 * lisp/progmodes/xref.el (xref-find-function, xref-find-definitions):
11116 Improve doc string.
11118 2015-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
11120 * lisp/replace.el (perform-replace): Document `replacements'.
11121 (perform-replace): Move the description of the format of `replacements'
11122 from the body's comment to the doc string.
11124 2015-08-11 Jürgen Hötzel <juergen@archlinux.org>
11126 * lisp/net/tramp-adb.el (tramp-adb-prompt): Match leading escape
11127 sequence. Recent adb version send initial escape sequences, even
11128 when terminal type is set to TERM=dumb.
11130 2015-08-10 Stephen Leake <stephen_leake@stephe-leake.org>
11132 Rewrite elisp--xref-find-definitions to handle many more cases; add tests
11133 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
11135 (elisp--xref-format-cl-defmethod): New defconst.
11136 (find-feature-regexp, find-alias-regexp): New defcustoms.
11137 (elisp--xref-make-xref): New function.
11138 (elisp--xref-find-definitions): Rewrite using the above, handle many
11139 more cases. Always output all available definitions.
11140 (xref-location-marker): No need for special cases.
11141 * test/automated/elisp-mode-tests.el: Add more tests of
11142 elisp--xref-find-definitions, improve current tests.
11144 2015-08-10 Eli Zaretskii <eliz@gnu.org>
11146 Fix recording of events pushed onto unread-command-events
11147 * src/keyboard.c (read_char): Make sure events read from
11148 unread-command-events and unread-post-input-method-events are
11149 always recorded by record_char. Reported by David Kastrup
11151 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00193.html.
11153 2015-08-10 Samer Masterson <samer@samertm.com>
11155 Set file buffer as current for "--file"
11156 * lisp/startup.el (command-line-1): Set file buffer as current before
11157 it is displayed so it can be used with options like "--eval".
11160 2015-08-10 Eli Zaretskii <eliz@gnu.org>
11162 Avoid setting LC_NUMERIC on MS-Windows to anything but "C"
11163 * src/emacs.c (synchronize_locale) [WINDOWSNT]: Call fixup_locale
11164 after setting LC_ALL to the desired locale, to avoid affecting how
11165 numbers are read and printed. (Bug#21223)
11167 2015-08-10 Alan Mackenzie <acm@muc.de>
11169 Fix "Invalid search bound (wrong side of point)" in fontification
11170 * lisp/progmodes/cc-fonts.el (c-font-lock-declarators): After skipping
11171 an initialization expression, check point is not beyond the
11172 fontification limit.
11174 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
11176 Fix DPI calculation when Xft/DPI is default
11177 * src/xsettings.c (parse_settings): Don't use Xft/DPI default
11178 value of -1, which evaluates to 2**32 - 1 (Bug#21152).
11179 Remove unnecessary cast while we're in the neighborhood.
11181 2015-08-09 Dmitry Gutov <dgutov@yandex.ru>
11183 Add project-vc-search-path and project-vc-ignores
11184 * lisp/progmodes/project.el (project-vc): New group.
11185 (project-vc-search-path, project-vc-ignores): New variables.
11186 (project--value-in-dir): Utility function.
11187 (project-search-path, project-ignores): Use them.
11188 * lisp/progmodes/xref.el (xref--rgrep-command): Only replace `./'
11189 at bos. Don't add extra `/'. Don't prepend with `*' if replaced.
11191 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
11193 Fix some minor quoting issues with grave accent
11194 * src/dispnew.c (add_window_display_history) [GLYPH_DEBUG]:
11195 Remove redundant quotes.
11196 * src/doc.c (uLSQM, uRSQM): New macros.
11197 * src/doc.c (Fsubstitute_command_keys):
11198 * src/syntax.c (Finternal_describe_syntax_value): Follow the user
11199 preference for quotes rather than hardcoding the ‘grave’ style.
11200 * src/regex.c (PUSH_FAILURE_POINT, POP_FAILURE_POINT)
11201 (re_match_2_internal) [DEBUG]: In debugging output, quote C
11202 strings with "...", not `...'.
11204 ChangeLog.2 ignores remote-tracking merges
11205 * build-aux/gitlog-to-emacslog: Ignore commit logs matching
11206 "Merge remote-tracking branch '.*'" too. See Eli Zaretskii in:
11207 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00384.html
11209 2015-08-09 Nicolas Richard <youngfrog@members.fsf.org>
11211 Use kpsewhich in ffap-latex-mode, if available
11212 * lisp/ffap.el (ffap-latex-guess-rules): New variable.
11213 (ffap-latex-mode): Use kpsewhich if available.
11215 ffap: disallow braces in filenames for tex modes
11216 * lisp/ffap.el (ffap-string-at-point-mode-alist): Don't allow
11217 braces in tex-related modes.
11219 Remove useless backslashes from ffap-string-at-point-mode-alist
11220 * lisp/ffap.el (ffap-string-at-point-mode-alist): Remove useless and
11221 misleading backslashes from default value.
11223 Augment docstring of ffap-string-at-point-mode-alist
11224 * lisp/ffap.el (ffap-string-at-point-mode-alist): Describe how BEG
11225 and END are handled.
11227 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
11229 * lisp/org/org-src.el (org-edit-src-code)
11230 (org-edit-fixed-width-region):
11231 * lisp/simple.el (completion-setup-function):
11232 Remove calls to substitute-command-keys that always just return
11235 2015-08-09 Daiki Ueno <ueno@gnu.org>
11237 * lisp/epa.el (epa-exit-buffer-function): Set to `quit-window'.
11240 2015-08-09 Ivan Kanis <ivan@kanis.fr>
11242 Fix link to source code in help window
11243 * lisp/help-fns.el (find-lisp-object-file-name): Remove code that
11244 will never work due to Glenn Morris change a6d63d9 on Apr 20 2013
11245 'No longer include timestamp in header of .elc files'. Add code
11246 that will return .el source file in load-path.
11248 2015-08-09 Artur Malabarba <bruce.connor.am@gmail.com>
11250 * lisp/isearch.el (isearch-search-fun-default): (Bug#21164)
11251 Respect `isearch-lax-whitespace' when searching through
11254 2015-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
11256 * test/automated/ert-tests.el (ert-test-deftest): Add FIXME.
11258 * org.el: Fix up some lexical scoping warnings, and use dolist
11259 * lisp/org/org.el (org-set-regexps-and-options-for-tags, org-goto-map)
11260 (org-set-regexps-and-options, org-assign-fast-keys)
11261 (org-contextualize-keys, org-contextualize-validate-key)
11262 (org-notes-order-reversed-p, org-local-logging, org-map-entries)
11263 (org-find-olp, org-find-exact-heading-in-directory)
11264 (org-cycle-agenda-files, org-release-buffers, org-fill-template)
11265 (org-agenda-prepare-buffers, org-occur-in-agenda-files)
11266 (org-replace-escapes): Use dolist.
11267 (org-mode): Optimize away XEmacs-only code.
11268 (org-refile-get-targets): Remove unused var `f'.
11269 (org-fast-todo-selection): Remove unused var `e'.
11270 (org-make-tags-matcher): Use dolist. Remove unused var `term'.
11271 (org-fast-tag-selection): Use dolist. Remove unused var `e'.
11272 (org-format-latex): Use dolist. Remove unused var `e'.
11273 (org-toggle-heading): Access vars lexically rather than dynamically.
11274 (org-backward-sentence, org-forward-sentence, org-meta-return)
11275 (org-kill-line): Mark arg as unused.
11276 (org-submit-bug-report): Silence compiler warning.
11277 (org-occur-in-agenda-files): Don't use add-to-list on local vars.
11278 (org-get-cursor-date): Remove unused var `tm'.
11279 (org-comment-or-uncomment-region): Use standard name `_'.
11280 (reftex-docstruct-symbol, reftex-cite-format): Declare to
11281 silence byte-compiler.
11282 (org-reftex-citation): Add `org--' prefix to dynamically scoped
11285 2015-08-08 Paul Eggert <eggert@cs.ucla.edu>
11287 Electric quote if coding is undecided or no conv
11288 * lisp/electric.el (electric--insertable-p): Also say that a
11289 string is insertable if the buffer file coding system is undecided
11290 or uses no conversion, as curved quotes will work in either case.
11292 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Simplify configuration.
11294 2015-08-08 Eli Zaretskii <eliz@gnu.org>
11296 Fix overlay string display regressions introduced in Emacs 24.5
11297 * src/xdisp.c (pop_it): Reset the flag to ignore overlays at this
11298 buffer position, if we move the iterator to a new position as
11299 result of jumping over text covered by a "replacing" display
11301 * test/redisplay-testsuite.el (test-redisplay-4): Add 2 new tests.
11303 Support recovery from C stack overflow on MS-Windows
11304 * src/w32fns.c (w32_reset_stack_overflow_guard)
11305 (stack_overflow_handler): New functions for handling C stack
11306 overflow exceptions.
11307 (my_exception_handler): Handle EXCEPTION_STACK_OVERFLOW exceptions
11308 specially, and zero out except_addr if we do.
11309 (globals_of_w32fns): Initialize dwMainThreadId in non-interactive
11311 * src/sysdep.c [HAVE_STACK_OVERFLOW_HANDLING]: Add !WINDOWSNT to
11312 the condition, as HAVE_STACK_OVERFLOW_HANDLING is now defined for
11313 the MinGW build, but the code guarded by that is for Posix hosts.
11314 * src/keyboard.c (command_loop) [WINDOWSNT]:
11315 Call w32_reset_stack_overflow_guard.
11316 * nt/inc/ms-w32.h (sigjmp_buf): New typedef.
11317 (sigsetjmp): New macro.
11318 (w32_reset_stack_overflow_guard): Declare the prototype.
11319 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Set to 1 for MinGW.
11321 2015-08-07 Phillip Lord <phillip.lord@newcastle.ac.uk>
11323 Improve error signalling for seq-subseq
11324 * lisp/seq.el (seq-subseq): The existing behavior is to error
11325 when indexes are too large, but to silently ignore numbers which
11326 are too negative for lists. String and vector handling errors in
11327 both cases. This has been regularized. Error signaling behavior
11328 has been explicitly added to the doc string.
11330 * lisp/cl-extra.el (cl-subseq): Defers to (seq-subseq) and is
11331 therefore also impacted by this change. Update the doc string
11334 * test/automated/seq-tests.el (test-seq-subseq): Tests have been
11335 added for these exceptional cases, as well as one non exceptional
11338 2015-08-07 Jürgen Hötzel <juergen@archlinux.org>
11340 Improve error checking in tramp-adb.el
11341 * lisp/net/tramp-adb.el (tramp-adb-ls-output-name-less-p):
11342 Improve error checking. "ls -l" on Android in Enforcing mode can
11343 print "lstat './FILENAME failed: Permission denied".
11345 2015-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
11347 * lisp/emacs-lisp/cl-generic.el (cl--generic-struct-tag): Don't burp on
11348 non-struct vectors.
11350 2015-08-07 Stephen Leake <stephen_leake@stephe-leake.org>
11352 Fix typo in lisp/window.el, more `display-buffer-use-some-frame'
11353 * lisp/window.el: Fix typo that broke build.
11354 (display-buffer--action-function-custom-type):
11355 Add `display-buffer-use-some-frame'.
11356 (display-buffer): Add `display-buffer-use-some-frame' to doc string.
11358 Add support for 'inhibit-same-window in 'display-buffer-use-some-frame'
11359 * lisp/window.el (display-buffer-use-some-frame): Add support for
11360 'inhibit-same-window in alist.
11361 * doc/windows.texi (display-buffer-use-some-frame): Doc support for
11362 'inhibit-same-window in alist.
11364 2015-08-07 Eli Zaretskii <eliz@gnu.org>
11366 Avoid infinite loop in display of invisible text in strings
11367 * src/xdisp.c (handle_invisible_prop): If the next change of
11368 invisibility spec does not mean the beginning of a visible text,
11369 update the string position from which to start the search for the
11370 next invisibility change. This avoids an infinite loop when we
11371 have more than one invisibility spec that are made inactive by
11372 buffer-invisibility-spec. Simplify code. (Bug#21200)
11373 * test/redisplay-testsuite.el (test-redisplay-4): Add a test case
11374 for the situation that caused bug #21200.
11376 2015-08-06 Artur Malabarba <bruce.connor.am@gmail.com>
11378 * lisp/emacs-lisp/package.el: Simplify describe-package-1
11379 (package-help-section-name-face): New face.
11380 (package--print-help-section): New function.
11381 (describe-package-1): Refactor section printing.
11382 (package-make-button): Use face instead of font-lock-face, which
11383 doesn't work on buttons.
11385 * lisp/emacs-lisp/package.el: Define custom faces
11386 (package-name-face, package-description-face)
11387 (package-status-built-in-face, package-status-external-face)
11388 (package-status-available-face, package-status-new-face)
11389 (package-status-held-face, package-status-disabled-face)
11390 (package-status-installed-face, package-status-dependency-face)
11391 (package-status-unsigned-face, package-status-incompat-face)
11392 (package-status-avail-obso-face): New faces.
11393 (package-menu--print-info-simple): Use them.
11395 2015-08-05 Paul Eggert <eggert@cs.ucla.edu>
11397 Fix some confusion with ‘format’
11398 * lisp/allout-widgets.el (allout-widgets-before-change-handler)
11399 (allout-graphics-modification-handler):
11400 Protect arbitrary string in a format context with "%s" format.
11402 * lisp/cedet/semantic/bovine/scm.el: Fix comment.
11403 * lisp/calendar/icalendar.el (icalendar--convert-sexp-to-ical):
11404 * lisp/erc/erc-button.el (erc-button-beats-to-time):
11405 * lisp/gnus/message.el (message-send-form-letter):
11406 * lisp/org/ob-core.el (org-babel-check-evaluate)
11407 (org-babel-confirm-evaluate):
11408 * lisp/org/ob-fortran.el (org-babel-fortran-var-to-fortran):
11409 * lisp/org/ox-latex.el (org-latex-compile):
11410 * lisp/org/ox-man.el (org-man-compile):
11411 * lisp/org/ox-odt.el (org-odt-template):
11412 * lisp/org/ox-texinfo.el (org-texinfo-compile):
11413 * lisp/progmodes/prolog.el (prolog-help-info)
11414 (prolog-view-predspec):
11415 * lisp/progmodes/ruby-mode.el (ruby-parse-partial):
11416 * lisp/progmodes/verilog-mode.el (verilog-showscopes):
11417 * lisp/textmodes/rst.el (rst-replace-lines):
11418 Change (message (format ...)) to (message ...), and likewise
11419 for ‘error’. This lessens the probability of confusion when the
11420 output of ‘format’ contains ‘%’.
11422 2015-08-05 Artur Malabarba <bruce.connor.am@gmail.com>
11424 * lisp/replace.el (replace-character-fold): Default to nil.
11426 * lisp/character-fold.el: Fix lax whitespace.
11427 (character-fold-table): Don't make space match other whitespace chars.
11428 (character-fold-to-regexp): Simplify lax behavior.
11430 2015-08-05 Dmitry Gutov <dgutov@yandex.ru>
11432 Preserve window point in xref-find-definitions-other-window
11433 Fix the problem reported by Ingo Logmar in
11434 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00152.html
11435 * lisp/progmodes/xref.el (xref--goto-char): Extract from
11436 xref--goto-location.
11437 (xref--pop-to-location): Use it. Replace xref--goto-location with
11438 a direct xref-location-marker call.
11439 (xref--show-location): Likewise.
11440 (xref--display-position): Use xref--goto-char.
11442 * lisp/progmodes/project.el: Add a paragraph to the front matter.
11444 2015-08-04 David Kastrup <dak@gnu.org>
11446 * lisp/vc/emerge.el (emerge-show-file-name):
11447 * lisp/progmodes/vhdl-mode.el (vhdl-electric-dash)
11448 (vhdl-comment-insert, vhdl-hooked-abbrev):
11449 * lisp/progmodes/octave.el (inferior-octave-dynamic-list-input-ring):
11450 * lisp/progmodes/fortran.el (fortran-window-create-momentarily):
11451 * lisp/progmodes/ebrowse.el (ebrowse-hack-electric-buffer-menu):
11452 * lisp/progmodes/cperl-mode.el (cperl-putback-char):
11453 * lisp/obsolete/vip.el (vip-escape-to-emacs)
11454 (vip-prefix-arg-value, vip-prefix-arg-com):
11455 * lisp/obsolete/terminal.el (te-escape-extended-command-unread):
11456 * lisp/leim/quail/tibetan.el (quail-tibetan-update-translation)
11457 (quail-tibkey-update-translation):
11458 * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
11459 * lisp/leim/quail/lao.el (quail-lao-update-translation):
11460 * lisp/leim/quail/japanese.el (quail-japanese-update-translation)
11461 (quail-japanese-self-insert-and-switch-to-alpha):
11462 * lisp/leim/quail/hangul.el (hangul2-input-method)
11463 (hangul3-input-method, hangul390-input-method):
11464 * lisp/language/hanja-util.el (hangul-to-hanja-char):
11465 * lisp/international/robin.el (robin-input-method):
11466 * lisp/international/quail.el (quail-start-translation)
11467 (quail-start-conversion):
11468 * lisp/gnus/gnus-art.el (gnus-article-describe-key)
11469 (gnus-article-describe-key-briefly):
11470 * lisp/eshell/em-hist.el (eshell-list-history):
11471 * lisp/term.el (term-dynamic-list-input-ring)
11472 (term-dynamic-list-completions):
11473 * lisp/subr.el (momentary-string-display):
11474 * lisp/simple.el (read-quoted-char):
11475 * lisp/pcomplete.el (pcomplete-show-completions):
11476 * lisp/kmacro.el (kmacro-repeat-on-last-key):
11477 * lisp/info.el (Info-summary):
11478 * lisp/ehelp.el (electric-help-command-loop):
11479 * lisp/ebuff-menu.el (electric-buffer-list)
11480 (Electric-buffer-menu-exit):
11481 * lisp/double.el (double-translate-key):
11482 * lisp/comint.el (comint-dynamic-list-input-ring)
11483 (comint-dynamic-list-completions): Do not overwrite preexisting
11484 contents of `unread-command-events' when putting new events into it.
11486 2015-08-04 Daniel Colascione <dancol@dancol.org>
11488 Improve ansi-color filtering of unrecognized escape sequences
11489 * lisp/ansi-color.el (ansi-color-drop-regexp): Recognize mode-setting
11491 (ansi-color-filter-apply, ansi-color-apply): Filter out
11492 unrecognized escape sequences.
11494 2015-08-04 Artur Malabarba <bruce.connor.am@gmail.com>
11496 * lisp/emacs-lisp/package.el (package-menu-mode-map): Convert menu
11497 definitions to `easy-menu-define', improve a couple to account for
11498 async, and add a couple of new commands.
11500 2015-08-03 Jürgen Hötzel <juergen@archlinux.org>
11502 * lisp/net/tramp-cache.el (tramp-set-file-property): Fix code typo.
11504 2015-08-03 Ingo Lohmar <i.lohmar@gmail.com>
11506 Add new 'calendar-weekend-days' option
11507 Make the days receiving the 'calendar-weekend-header' face freely
11508 customizable, as they differ by region/culture.
11509 * doc/emacs/calendar.texi (Move to Beginning or End): Document the
11511 * lisp/calendar/calendar.el (calendar-generate-month): New variable
11512 calendar-weekend-days to customize day header fontification.
11514 2015-08-03 Paul Eggert <eggert@cs.ucla.edu>
11516 Redo text-quoting-style variable
11517 Rename help-quote-translation to text-quoting-style,
11518 and use symbols rather than characters as values.
11519 This follows suggestions along these lines by Alan Mackenzie in:
11520 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00343.html
11521 and by Drew Adams in:
11522 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00048.html
11523 * doc/lispref/help.texi (Keys in Documentation)
11525 * lisp/cus-start.el (standard):
11526 * src/doc.c (Fsubstitute_command_keys, syms_of_doc):
11527 Document and/or implement the new behavior instead of the old.
11528 (syms_of_doc): New symbols 'grave' and 'straight'.
11530 2015-08-03 Nikolaus Rath <Nikolaus@rath.org>
11532 nnimap.el: Use IMAP MOVE extension if available
11533 * lisp/gnus/nnimap.el (nnimap-request-move-article)
11534 (nnimap-process-expiry-targets, nnimap-split-incoming-mail):
11535 Use MOVE extension if available.
11537 nnimap.el: Explicitly ask for server capabilities
11538 * lisp/gnus/nnimap.el (nnimap-open-connection-1): Don't assume full
11539 capabilities will be returned in the login-result.
11541 2015-08-02 Paul Eggert <eggert@cs.ucla.edu>
11543 Treat help strings like other doc strings
11544 * doc/lispref/text.texi (Special Properties), etc/NEWS: Document this.
11545 * lisp/epa.el (epa--select-keys): Remove no-longer-needed calls to
11546 substitute-command-keys.
11547 * src/keyboard.c (show_help_echo, parse_menu_item): Call
11548 substitute-command-keys on the help string before displaying it.
11550 Also mention "curly quotes"
11551 See Drew Adams's email in:
11552 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00040.html
11553 * doc/lispref/help.texi (Keys in Documentation):
11554 Add index entry "curly quotes".
11555 * etc/NEWS: Use the phrase "curly quotes" too.
11557 ede-proj-target-makefile docstring tweaks
11558 * lisp/cedet/ede/proj.el (ede-proj-target-makefile):
11559 Consistently use "all:" to describe the all: target,
11560 replacing three different and confusingly-quoted usages.
11562 2015-08-02 Evgeny Fraimovitch <johnlen7@gmail.com> (tiny change)
11564 Don't abort emacsclientw when -a was specified
11565 * lib-src/emacsclient.c (set_tcp_socket) [WINDOWSNT]: Don't error
11566 out if we are in emacsclientw and -a was specified.
11568 2015-08-02 Eli Zaretskii <eliz@gnu.org>
11570 Fix handling of 1st keystroke on MS-Windows
11571 * src/w32fns.c (globals_of_w32fns): Initialize after_deadkey to -1.
11572 This is needed to correctly handle the session's first keystroke,
11573 if it has any modifiers. (Bug#19994)
11575 2015-08-02 Paul Eggert <eggert@cs.ucla.edu>
11577 Substitute some customization etc. doc strings
11578 These changes apply substitute-command-keys to some
11579 doc strings that were going through untranslated
11580 when creating customization or other widgets.
11581 * lisp/cus-edit.el (custom-group-value-create):
11582 * lisp/wid-edit.el (widget-default-create):
11583 (widget-push-button-value-create):
11584 Treat the widget tag as a doc string.
11585 * lisp/emacs-lisp/cl-extra.el (cl--describe-class-slot):
11586 Treat the :documentation value as a doc string.
11587 * lisp/wid-edit.el (widget-choose):
11588 Treat the choice names as doc strings.
11589 (widget-default-create): Treat the :doc value as a doc string.
11590 (widget-toggle-value-create): Treat the :on and :off values
11592 (widget-documentation-string-value-create):
11593 Substitute the doc string.
11595 2015-08-01 Dmitry Gutov <dgutov@yandex.ru>
11597 Add a second argument to project-ignores
11598 * lisp/progmodes/project.el (project-ignores): Add a second
11600 * lisp/progmodes/project.el (project-ignores): Only include the VC
11601 ignores if DIR is the VC root.
11602 * lisp/progmodes/xref.el (xref-find-regexp): Update accordingly.
11604 2015-08-01 Eli Zaretskii <eliz@gnu.org>
11606 Prevent incorrect display when 'line-spacing' variable is set
11607 * src/xdisp.c (try_window_id): Give up this optimization if the
11608 buffer has its 'line-spacing' variable set non-nil.
11610 2015-08-01 Dmitry Gutov <dgutov@yandex.ru>
11612 Don't pass NOVISIT to find-file
11613 * lisp/progmodes/etags.el (next-file):
11614 Don't pass NOVISIT to find-file (bug#21175).
11616 Ignore buffer restriction for tags-loop-eval
11617 * lisp/progmodes/etags.el (tags-loop-continue): Ignore buffer
11618 restriction (bug#21167).
11620 2015-08-01 Eli Zaretskii <eliz@gnu.org>
11622 Fix a thinko in 'ffap-gopher-at-point'
11623 * lisp/ffap.el (ffap-gopher-at-point): Fix last change. (Bug#21168)
11625 Honor 'line-spacing' for empty lines
11626 * src/xdisp.c (append_space_for_newline): Honor 'line-height'
11627 property and 'line-spacing' frame parameter or variable or
11628 property for empty lines, by doing the same processing as in
11629 x_produce_glyph for newline characters. (Bug#21165)
11631 2015-08-01 Paul Eggert <eggert@cs.ucla.edu>
11633 Simplify by assuming C99 integer division
11634 * src/floatfns.c (ceiling2, floor2, truncate2):
11635 Assume C99 (i.e., Fortran) semantics for integer division.
11636 This simplifies the code.
11638 2015-07-31 Paul Eggert <eggert@cs.ucla.edu>
11640 Don't overflow if computing approximate percentage
11641 * lisp/align.el (align-region):
11642 * lisp/cedet/semantic.el (semantic-repeat-parse-whole-stream):
11643 * lisp/cedet/semantic/wisent.el (wisent-parse-region):
11644 * lisp/cus-edit.el (custom-buffer-create-internal):
11645 * lisp/emacs-lisp/checkdoc.el (checkdoc-interactive-ispell-loop)
11646 (checkdoc-message-interactive-ispell-loop, checkdoc-next-error)
11647 (checkdoc-next-message-error):
11648 * lisp/emacs-lisp/eieio-opt.el (eieio-display-method-list):
11649 * lisp/epa.el (epa-progress-callback-function):
11650 * lisp/erc/erc-dcc.el (erc-dcc-do-LIST-command):
11651 * lisp/ffap.el (ffap-menu-rescan):
11652 * lisp/gnus/nnbabyl.el (nnbabyl-retrieve-headers):
11653 * lisp/gnus/nndiary.el (nndiary-retrieve-headers):
11654 * lisp/gnus/nneething.el (nneething-retrieve-headers):
11655 * lisp/gnus/nnmbox.el (nnmbox-retrieve-headers):
11656 * lisp/gnus/nnmh.el (nnmh-retrieve-headers):
11657 * lisp/gnus/nnml.el (nnml-retrieve-headers):
11658 * lisp/gnus/nnspool.el (nnspool-retrieve-headers):
11659 * lisp/gnus/nntp.el (nntp-retrieve-headers)
11660 (nntp-retrieve-articles):
11661 * lisp/imenu.el (imenu--relative-position):
11662 * lisp/international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11663 (skkdic-convert-okuri-nasi):
11664 * lisp/net/ange-ftp.el (ange-ftp-process-handle-hash):
11665 * lisp/nxml/rng-valid.el (rng-compute-mode-line-string):
11666 * lisp/org/org-list.el (org-update-checkbox-count):
11667 * lisp/org/org.el (org-table-map-tables)
11668 (org-update-parent-todo-statistics):
11669 * lisp/play/decipher.el (decipher-insert-frequency-counts)
11670 (decipher-analyze-buffer):
11671 * lisp/profiler.el (profiler-format-percent):
11672 * lisp/progmodes/cc-cmds.el (c-progress-update):
11673 * lisp/progmodes/cpp.el (cpp-highlight-buffer):
11674 * lisp/progmodes/idlwave.el (idlwave-convert-xml-system-routine-info)
11675 (idlwave-list-load-path-shadows):
11676 * lisp/progmodes/opascal.el (opascal-step-progress):
11677 * lisp/progmodes/vhdl-mode.el (vhdl-update-progress-info)
11678 (vhdl-scan-directory-contents):
11679 * lisp/textmodes/bibtex.el (bibtex-progress-message):
11680 * lisp/textmodes/flyspell.el (flyspell-small-region)
11681 (flyspell-external-point-words):
11682 * lisp/textmodes/table.el (table-recognize):
11683 Prefer (floor (* 100.0 NUMERATOR) DENOMINATOR) when calculating
11684 progress-report percentages and the like. This avoids problems
11685 if (* 100 NUMERATOR) would overflow.
11686 * lisp/gnus/gnus-registry.el (gnus-registry-import-eld):
11687 * lisp/gnus/registry.el (registry-reindex):
11688 Use (* 100.0 ...) rather than (* 100 ...) to avoid int overflow issues.
11689 * lisp/descr-text.el (describe-char):
11690 * lisp/org/org-colview.el (org-nofm-to-completion):
11691 * lisp/ps-print.el (ps-plot):
11692 * lisp/simple.el (what-cursor-position):
11693 Prefer (round (* 100.0 NUMERATOR) DENOMINATOR) to a
11694 more-complicated and less-accurate approximation.
11696 Fix some int overflows in profiler.c
11697 * src/profiler.c (make_log): Make args EMACS_INT, not int,
11698 to avoid unwanted behavior on 'int' overflow.
11699 (make_log, evict_lower_half, record_backtrace):
11700 Use ptrdiff_t, not int, for object indexes.
11702 Port to pedantic memcpy
11703 * src/keyboard.c (menu_bar_items, tool_bar_items):
11704 * src/xrdb.c (magic_db):
11705 Port to pedantic memcpy implementations that reject memcpy (0, 0, 0).
11709 2015-07-29 time_rz: port to pedantic memcpy
11710 * lib/time_rz.c: Copy from gnulib.
11712 2015-07-31 Artur Malabarba <bruce.connor.am@gmail.com>
11714 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
11715 When updating the very last entry, tabulated-list-print would
11716 erase it and then try to look at the next one (which obviously
11719 2015-07-31 Eli Zaretskii <eliz@gnu.org>
11721 Allow to use the old key processing code on MS-Windows
11722 * src/w32fns.c (syms_of_w32fns) <w32-use-fallback-wm-chars-method>:
11724 (w32_wnd_proc): Use it to invoke the old code that processed
11725 character keys, as fallback, when this variable is non-nil.
11726 Fix typos in comments. (Bug#19994)
11728 2015-07-31 Ilya Zakharevich <ilya@math.berkeley.edu>
11730 Improve handling of Unicode keyboard input on MS-Windows
11731 * src/w32fns.c (get_wm_chars, deliver_wm_chars): New functions.
11732 (FPRINTF_WM_CHARS) [DEBUG_WM_CHARS]: New macro for debugging.
11733 (w32_wnd_proc): Call deliver_wm_chars to process non-special keys
11734 upon receiving WM_KEYDOWN or WM_SYSKEYDOWN messages. If that is
11735 successful, don't call TranslateMessage. (Bug#19994)
11737 2015-07-30 Dmitry Gutov <dgutov@yandex.ru>
11739 Fix default-directory in changeset diffs after vc-print-log
11740 * lisp/vc/log-view.el (log-view-diff-common): Move the
11741 revision-granularity check back into log-view-diff-changeset.
11742 (log-view-diff-changeset): Bind default-directory to the current
11745 Rename project-directories to project-roots
11746 * lisp/progmodes/project.el (project-search-path-function)
11747 (project-search-path): Update the docstring.
11748 (project-directories): Rename to `project-roots', update all
11749 callers and implementations accordingly.
11750 (project-root): Remove.
11751 * lisp/progmodes/xref.el (xref-find-regexp): Use * instead of *.*
11752 as the default file mask.
11754 2015-07-30 Eli Zaretskii <eliz@gnu.org>
11756 Support long URLs in w32-shell-execute
11757 * src/w32fns.c (Fw32_shell_execute): Don't use filename_to_utf16
11758 and filename_to_ansi to convert the DOCUMENT argument, as it could
11759 be a URL that is not limited to MAX_PATH characters. Instead, use
11760 MultiByteToWideChar directly, and allocate heap storage as
11761 required to accommodate the converted string. Likewise with
11762 non-Unicode operation. Ensure OPERATION is null-terminated, even
11763 if it is longer than 32K bytes. (Bug#21158)
11765 2015-07-30 Stephen Leake <stephen_leake@stephe-leake.org>
11767 * lisp/vc/vc-mtn.el (vc-mtn-find-revision): Handle null rev.
11769 2015-07-29 Stephen Leake <stephen_leake@stephe-leake.org>
11771 Add docs for display-buffer action display-buffer-use-some-frame
11772 * lisp/window.el (display-buffer-use-some-frame): Improve doc string.
11773 * doc/lispref/windows.texi (Display Action Functions):
11774 Add display-buffer-use-some-frame.
11775 * etc/NEWS: Mention display-buffer-use-some-frame.
11777 Add display-buffer action display-buffer-use-some-frame
11778 * lisp/window.el (display-buffer-use-some-frame): New.
11780 Handle vc-mtn error more gently
11781 * lisp/vc/vc-mtn.el (vc-mtn-mode-line-string): Return "" when
11784 2015-07-29 Michael Albinus <michael.albinus@gmx.de>
11786 Fix Tramp problems with multihops, and nc
11787 * lisp/net/tramp-cache.el (tramp-get-file-property)
11788 (tramp-set-file-property, tramp-flush-file-property)
11789 (tramp-get-connection-property, tramp-set-connection-property)
11790 (tramp-flush-connection-property): Remove hop from vector.
11791 * lisp/net/tramp-gw.el (tramp-gw-process-filter): Ignore errors.
11792 * lisp/net/tramp-sh.el (tramp-methods) <nc>: Separate STDERR.
11793 (tramp-do-copy-or-rename-file-out-of-band): Increase timeout of
11795 (tramp-sh-handle-start-file-process): Do not show hops in prompt.
11796 * lisp/net/tramp.el (tramp-handle-file-name-as-directory)
11797 (tramp-handle-file-name-directory, tramp-handle-file-remote-p):
11798 Keep hop in result.
11799 * test/automated/tramp-tests.el (tramp-test02-file-name-dissect):
11802 2015-07-29 Eli Zaretskii <eliz@gnu.org>
11804 Resurrect highlighting of repeated words by Flyspell Mode
11805 * lisp/textmodes/flyspell.el (flyspell-word): Leave some non-word
11806 characters between point and the doublon candidate, so that
11807 flyspell-word-search-backward finds it. (Bug#21157)
11809 Fix redisplay of large images on expose events
11810 * src/xdisp.c (expose_window, expose_area): Avoid comparisons
11811 between signed negative values and unsigned values. This
11812 prevented redisplay on expose events when the window showed a very
11815 2015-07-29 Paul Eggert <eggert@cs.ucla.edu>
11817 Remove unnecessary stack overflow dependency
11818 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING):
11819 Don't worry about $ac_cv_header_sys_resource_h and
11820 $ac_cv_func_getrlimit, as they're no longer needed for this.
11821 Problem reported by Eli Zaretskii in:
11822 http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00443.html
11824 2015-07-28 Andy Moreton <andrewjmoreton@gmail.com> (tiny change)
11826 Pacify compilation -Wincompatible-pointer-types warnings
11827 * src/w32proc.c (Fw32_get_codepage_charset): Avoid compilation
11829 (CompareStringW_Proc): New typedef.
11830 (w32_compare_strings): Use it, to pacify compiler warnings under
11831 "-Wincompatible-pointer-types".
11832 * src/w32fns.c (GetDiskFreeSpaceExW_Proc)
11833 (GetDiskFreeSpaceExA_Proc): New typedefs.
11834 (Ffile_system_info): Use them, to pacify compiler warnings under
11835 "-Wincompatible-pointer-types".
11837 2015-07-28 Paul Eggert <eggert@cs.ucla.edu>
11839 Fix subscript error in calculate_direct_scrolling
11840 Use slightly-longer cost vectors. Without this change,
11841 calculate_direct_scrolling can have a subscript violation when
11842 FRAME_LINES (frame) <= delta.
11843 * src/scroll.c (calculate_scrolling, calculate_direct_scrolling)
11844 (line_ins_del, do_line_insertion_deletion_costs):
11845 Allocate and use slightly-larger cost vectors, ones based on
11846 FRAME_TOTAL_LINES instead of FRAME_LINES.
11848 Fix uninitalized value in encode_coding_object
11849 * src/coding.c (encode_coding_object): Also initialize
11850 coding->src_pos and coding->src_pos_byte when NILP (src_object).
11851 This avoids later use of uninitialized storage.
11853 2015-07-27 Xue Fuqiao <xfq.free@gmail.com>
11855 * doc/lispref/variables.texi (Variable Aliases): Typo fix.
11858 2015-07-27 Paul Eggert <eggert@cs.ucla.edu>
11862 2015-07-27 time_rz: port better to MinGW
11863 2015-07-27 time: port __need_time_t to MinGW
11864 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
11865 * lib/strftime.c, lib/time.in.h, lib/time_rz.c: Copy from gnulib.
11866 * lib/time-internal.h: New file, from gnulib.
11868 2015-07-27 Eli Zaretskii <eliz@gnu.org>
11870 Handle NULL pointers in w32heap.c allocation routines
11871 * src/w32heap.c (FREEABLE_P): Consider a NULL pointer "not
11873 (realloc_after_dump, realloc_before_dump, free_before_dump):
11874 Handle NULL pointers gracefully, as Emacs now seems to expect that.
11876 Fix Cairo build without PNG
11877 * src/image.c: Define PNG function when USE_CAIRO is defined, even
11878 if HAVE_PNG is not. (Bug#21133)
11880 MS-Windows follow-up for recent TZ-related changes
11881 * nt/mingw-cfg.site (ac_cv_header_pthread_h)
11882 (gl_cv_sys_struct_timespec_in_pthread_h): Force to "no", to avoid
11883 picking up 'struct timespec' from pthread.h, if it is installed on
11884 the user's system. We want either the definitions from MinGW
11885 system headers, if available, or the Gnulib replacements if not.
11886 * nt/inc/ms-w32.h <struct timespec>: Don't define, as we now use
11888 * lib/time.in.h: Don't let __need_* symbols affect what happens on
11889 MinGW. These symbols are defined by MinGW system headers, but we
11890 don't want that to affect whether Gnulib portions of the header
11891 are or aren't used.
11893 2015-07-26 Paul Eggert <eggert@cs.ucla.edu>
11895 * src/ftfont.c (ftfont_close): Add comment re Bug#20890.
11897 New optional ZONE arg for format-time-string etc.
11898 This simplifies time conversions in other time zones.
11899 It also prevents display-time-world tampering with TZ (Bug#21020).
11900 * admin/admin.el (add-release-logs):
11901 Use improved add-log-time-format API.
11902 * admin/merge-gnulib (GNULIB_MODULES): Add time_rz, timegm.
11903 (GNULIB_TOOL_FLAGS): Avoid flexmember, setenv, unsetenv.
11904 * configure.ac (tzalloc): Remove test for this, since
11905 Emacs no longer uses HAVE_TZALLOC directly.
11906 * doc/lispref/os.texi (Time of Day, Time Conversion)
11908 * etc/NEWS: Document the new behavior.
11909 Merge from gnulib, incorporating:
11910 2015-07-25 strftime: fix newly-introduced bug on Solaris
11911 2015-07-23 fprintftime, strftime: use timezone_t args
11912 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
11913 * lib/strftime.c, lib/strftime.h, lib/time.in.h, m4/sys_time_h.m4:
11915 Update from gnulib.
11916 * lib/time_rz.c, lib/timegm.c, m4/time_rz.m4, m4/timegm.m4:
11917 New files from gnulib.
11918 * lisp/time-stamp.el (time-stamp-string):
11919 * lisp/time.el (display-time-world-list)
11920 (display-time-world-display):
11921 Use new API, with time zone arg.
11922 * lisp/time.el (display-time-world-display):
11923 Fix race when current-time advances while we're running.
11924 * lisp/vc/add-log.el (add-log-iso8601-time-zone)
11925 (add-log-iso8601-time-string): Accept optional time zone arg.
11926 * lisp/vc/add-log.el (add-change-log-entry):
11927 * lisp/vc/log-edit.el (log-edit-changelog-ours-p): Use new arg.
11928 * nt/gnulib.mk: Propagate lib/gnulib.mk changes here.
11929 Add rules for the time module, since they're now needed
11931 * src/conf_post.h (getenv_TZ, setenv_TZ): New macros.
11932 (emacs_getenv_TZ, emacs_setenv_TZ): New decls.
11933 * src/editfns.c: Include errno.h.
11934 (set_time_zone_rule): Omit unnecessary forward decl.
11935 (initial_tz): Remove, replacing with ...
11936 (local_tz, wall_clock_tz, utc_tz): New static vars and constants.
11937 (tzeqlen): New constant; prefer it to (sizeof "TZ=" - 1).
11938 (emacs_localtime_rz, emacs_mktime_z, xtzalloc, xtzfree)
11939 (tzlookup): New static functions.
11940 (init_editfns): New arg DUMPING. All uses changed.
11941 (init_editfns): Omit most initialization if dumping, not if
11942 !initialized. Initialize wall_clock_tz and local_tz.
11943 (emacs_nmemftime, format_time_string): Time zone argument can now
11944 be any time zone, not just a boolean for UTC or local time. All
11946 (Fformat_time_string, Fencode_time, Fcurrent_time_string)
11947 (Fcurrent_time_zone): New optional arg ZONE.
11948 (Fdecode_time, Fset_time_zone_rule): ZONE arg can now also take
11949 the same form as with the other new additions.
11950 (decode_time_zone): Remove; no longer needed.
11951 (tzvalbuf): Now file-scope.
11952 (emacs_getenv_TZ, emacs_setenv_TZ): New functions.
11953 (syms_of_editfns): Define Qwall.
11954 * src/editfns.c (mktime_z) [!HAVE_TZALLOC]:
11955 * src/systime.h (mktime_z, timezone_t, tzalloc, tzfree)
11957 Remove; now supplied by gnulib.
11958 * src/emacs.c (main):
11959 * src/lisp.h (init_editfns): Adjust to init_editfns API change.
11961 2015-07-26 Shigeru Fukaya <shigeru.fukaya@gmail.com>
11963 Fix infinite loop in delete-consecutive-dups
11964 * lisp/subr.el (delete-consecutive-dups): Work even if the last
11965 element is nil (Bug#20588). Avoid rescan of a circular list in
11966 deletion of last element.
11968 2015-07-26 Martin Rudalics <rudalics@gmx.at>
11970 Have `x-frame-geometry' return nil for terminal and initial
11972 * src/nsfns.m (Fx_frame_geometry):
11973 * src/xfns.c (Fx_frame_geometry): Return nil for initial and
11975 * src/w32fns.c (Fw32_frame_menu_bar_size, Fw32_frame_rect)
11976 (Fx_frame_geometry): Return nil for terminal frames
11978 2015-07-26 HOSOYA Kei <hosoyakei.free@gmail.com> (tiny change)
11980 * etc/tutorials/TUTORIAL.ja: Improve translation.
11982 2015-07-25 Eli Zaretskii <eliz@gnu.org>
11984 Avoid crashes when w32 GUI functions are called in -batch
11985 * src/w32fns.c (Fx_frame_geometry, Fw32_frame_rect)
11986 (Fw32_frame_menu_bar_size, Fw32_send_sys_command): Don't call
11987 FRAME_W32_WINDOW for initial frame. (Bug#21132)
11989 Fix flyspell-check-previous-highlighted-word
11990 * lisp/textmodes/flyspell.el
11991 (flyspell-check-previous-highlighted-word): Really accept a
11992 numeric argument, as the doc string describes. Fix an off-by-one
11993 error in looking up overlays, so invocation with point immediately
11994 after a word would check that word. Clarify the doc string as
11995 Suggested by N. Jackson <nljlistbox2@gmail.com>. (Bug#21129)
11997 2015-07-24 Michael Albinus <michael.albinus@gmx.de>
11999 Minor cleanup in tramp-tests.el
12000 * test/automated/tramp-tests.el (tramp-test31-*, tramp-test32-*):
12001 Implement using the documented interface
12002 `tramp-connection-properties', rather than with internal functions.
12004 2015-07-24 Harald Hanche-Olsen <hanche@math.ntnu.no> (tiny change)
12006 Pass lambdas to `skeleton-read'
12007 * lisp/skeleton.el (skeleton-read): Allow PROMPT to be a function.
12008 * lisp/textmodes/sgml-mode.el (sgml-attributes, sgml-value): Pass
12009 lambdas to `skeleton-read' (bug#20386).
12011 2015-07-24 Eli Zaretskii <eliz@gnu.org>
12013 * INSTALL (DETAILED BUILDING AND INSTALLATION):
12014 Mention --without-imagemagick.
12016 Don't require GUI frames and mouse for Flyspell menus
12017 * lisp/textmodes/flyspell.el (flyspell-correct-word-before-point)
12018 (flyspell-emacs-popup): Require neither a GUI frame nor mouse
12019 support, since pop-up menus work with text terminals and can be
12020 controlled via the keyboard.
12022 Improve documentation of Flyspell commands
12023 * doc/emacs/fixit.texi (Spelling): Mention Flyspell commands that
12024 can be invoked via the keyboard. Mention those commands by name
12025 and add them to the fn index. (Bug#21125)
12027 2015-07-23 Michael Albinus <michael.albinus@gmx.de>
12029 Fix some Tramp problems with HP-UX
12030 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
12031 Add "tab0" to stty call.
12032 * test/automated/tramp-tests.el (tramp-persistency-file-name):
12034 (tramp--test-hpux-p): New defun.
12035 (tramp--test-utf8): Use it.
12037 2015-07-22 Glenn Morris <rgm@gnu.org>
12039 * build-aux/update-subdirs: Put "no-update-autoloads: t" in output.
12041 2015-07-22 Eli Zaretskii <eliz@gnu.org>
12043 Fix point positioning in ffap-next-guess
12044 * lisp/ffap.el (ffap-url-at-point): Set ffap-string-at-point-region,
12045 as our callers expect. This was clobbered as part of fixing
12046 bug#5673. (Bug#21107)
12047 (ffap-gopher-at-point): Set ffap-string-at-point-region.
12049 2015-07-22 Martin Rudalics <rudalics@gmx.at>
12051 * lisp/window.el (even-window-sizes): Fix customization type.
12053 Optionally even widths of `display-buffer' windows. (Bug#21100)
12054 * lisp/window.el (quit-restore-window): Restore width if
12056 (display-buffer-record-window): Record width when window is
12057 reused and horizontally combined.
12058 (even-window-sizes): New option to allow evening window widths.
12059 (even-window-heights): Defalias to `even-window-sizes'.
12060 (window--even-window-heights): Rename to
12061 `window--even-window-sizes'. Handle side-by-side windows.
12062 (display-buffer-use-some-window): Call `window--even-window-sizes'
12063 instead of `window--even-window-heights'.
12064 * lisp/help.el (resize-temp-buffer-window): Fix indentation.
12065 * doc/lispref/windows.texi (Choosing Window Options): Describe
12066 `even-window-sizes'.
12067 (Coordinates and Windows): Fix typo.
12069 2015-07-22 Stephen Leake <stephen_leake@stephe-leake.org>
12071 Add file name to autoload error messages
12072 * lisp/emacs-lisp/autoload.el (autoload-save-buffers):
12073 Add condition-case to add file name to error message.
12075 2015-07-22 Michael Albinus <michael.albinus@gmx.de>
12077 * lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options):
12078 Use 0.0.0.1 as test host.
12080 2015-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
12082 (advice--called-interactively-skip): Fix inf-loop (bug#21083)
12083 * lisp/emacs-lisp/nadvice.el (advice--called-interactively-skip):
12084 Fix inf-loop (bug#21083).
12086 2015-07-21 Glenn Morris <rgm@gnu.org>
12088 * test/automated/package-test.el (package-test-signed):
12089 Update for recent changes.
12091 * test/automated/elisp-mode-tests.el
12092 (elisp-xref-finds-both-function-and-variable)
12093 (elisp-xref-finds-only-function-for-minor-mode):
12094 Update for recent xref name changes.
12096 2015-07-21 Dmitry Gutov <dgutov@yandex.ru>
12098 Make eldoc timer non-repeatable
12099 * lisp/emacs-lisp/eldoc.el (eldoc-schedule-timer): Make the timer
12100 non-repeatable. Since it's on post-command hook, that just wasted
12103 2015-07-21 Michael Albinus <michael.albinus@gmx.de>
12105 Mention `tramp-connection-properties' in NEWS
12107 Sync with Tramp repository
12108 * doc/misc/tramp.texi (Configuration): Note, that Tramp must be
12109 required prior changing its configuration.
12110 (Connection caching, Predefined connection information)
12111 (Remote shell setup): Fix typos.
12112 (Predefined connection information): Describe, how to overwrite
12113 parameters of `tramp-methods'.
12114 (Remote programs, Remote processes, Traces and Profiles):
12116 (Remote programs): Remove superfluous comment.
12117 * doc/misc/trampver.texi: Update release number.
12118 * lisp/net/tramp-cache.el (tramp-connection-properties):
12120 * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file): New defun.
12121 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file): Use it.
12122 (tramp-gvfs-handle-make-directory): Reimplement PARENTS handling,
12123 "gvfs-mkdir -p ..." does not work robust.
12124 (tramp-gvfs-maybe-open-connection):
12125 Adapt `tramp-get-method-parameter' call.
12126 * lisp/net/tramp-sh.el (tramp-methods):
12127 Add `tramp-remote-shell-login' parameter where it fits.
12128 (tramp-get-remote-path): Use it.
12129 (tramp-make-copy-program-file-name): Fix quoting for "psftp" method.
12130 (all): Adapt `tramp-get-method-parameter' calls.
12131 * lisp/net/tramp.el (tramp-methods): Adapt docstring.
12132 (tramp-get-method-parameter): Replace argument METHOD by VEC.
12133 Check also for hits in `tramp-connection-properties'. Adapt docstring.
12134 (tramp-get-remote-tmpdir): Cache only the local name of tmpdir.
12135 (all): Adapt `tramp-get-method-parameter' calls.
12136 * lisp/net/trampver.el Update release number.
12137 * test/automated/tramp-tests.el (tramp--instrument-test-case):
12138 Add "^make-symbolic-link not supported$" to `debug-ignored-errors'.
12139 (tramp-test13-make-directory, tramp--test-adb-p)
12140 (tramp--test-smb-or-windows-nt-p): Simplify.
12141 (tramp--test-ftp-p, tramp--test-gvfs-p): New defuns.
12142 (tramp--test-special-characters): Fix docstring. Add gvfs and
12144 (tramp--test-utf8): Fix docstring.
12146 2015-07-20 Dmitry Gutov <dgutov@yandex.ru>
12148 Add new xref-query-replace command
12149 * lisp/progmodes/xref.el (xref--match-buffer-bounds):
12150 New function, extracted from xref-pulse-momentarily.
12151 (xref-query-replace): New command.
12152 (xref--query-replace-1): New helper function.
12153 (xref--xref-buffer-mode-map): Add `r' binding.
12155 2015-07-20 Paul Eggert <eggert@cs.ucla.edu>
12157 Simplify icalendar decoding of Z dates
12158 * lisp/calendar/icalendar.el (icalendar--decode-isodatetime):
12159 Simplify calculation of time strings with trailing "Z".
12161 2015-07-19 Dmitry Gutov <dgutov@yandex.ru>
12163 Do not corrupt grep-find-ignored-files
12164 * lisp/progmodes/project.el (project-ignores): Change the order of
12165 the arguments to nconc, in order not to corrupt grep-find-ignored-files.
12167 Add xref-match-item, and use it
12168 * lisp/progmodes/xref.el (xref-match-bounds): New generic function.
12169 (xref-file-location): Add reader for the column slot.
12170 (xref-match-item): New class.
12171 (xref-match-bounds): A method implementation for it.
12172 (xref-make-match): New constructor function.
12173 (xref--current-item): New private variable.
12174 (xref-pulse-momentarily): Use it.
12175 (xref--pop-to-location): Change the first argument to an xref
12176 item, instead of location, bind xref--current-item.
12177 Update all callers.
12178 (xref-next-line, xref-prev-line, xref--next-error-function)
12179 (xref--mouse-2): Look for the property `xref-item',
12180 instead of `xref-location'.
12181 (xref--item-at-point): Likewise. This function replaces
12182 `xref-location-at-point'. Update all callers.
12183 (xref--insert-xrefs): Add the `xref-item' text property, instead
12184 of `xref-location'.
12185 (xref--collect-match): Use xref-make-match.
12187 * lisp/progmodes/xref.el (xref-item): Rename from `xref--xref'.
12188 Update all references.
12190 * lisp/progmodes/xref.el (xref--xref): Rename the `description'
12193 vc-hg: Perform the print-log call asynchronously
12194 * lisp/vc/vc-hg.el (vc-hg-print-log): Perform the call
12195 asynchronously (bug#21067).
12197 Add xref-after-jump-hook and xref-after-return-hook
12198 * lisp/progmodes/xref.el (xref-after-jump-hook)
12199 (xref-after-return-hook): New hooks.
12200 (xref-pulse-on-jump): Remove, in favor of the above.
12201 (xref-pulse-momentarily): Rename from xref--maybe-pulse.
12202 (xref--pop-to-location, xref--display-position)
12203 (xref-pop-marker-stack): Use the new hooks, as requested in
12204 http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00213.html
12206 2015-07-19 Bozhidar Batsov <bozhidar@batsov.com>
12208 * lisp/progmodes/js.el (js-mode): Correct the lighter.
12210 2015-07-19 Leo Liu <sdl.web@gmail.com>
12212 Fix a bug in cfengine3-mode
12213 * lisp/progmodes/cfengine.el (cfengine3-mode): Handle nil
12214 eldoc-documentation-function.
12216 2015-07-18 Julien Danjou <julien@danjou.info>
12218 sieve-mode: support "body" test command
12219 * lisp/gnus/sieve-mode.el (sieve-font-lock-keywords):
12220 Add missing "body" test command.
12222 2015-07-18 Eli Zaretskii <eliz@gnu.org>
12224 Fix info-apropos when the default encoding is Latin-N
12225 * lisp/info.el (Info-find-node-2): Reset the buffer's encoding to
12226 'undecided', so that it is set to the encoding of the Info file we
12227 are about to insert. Otherwise, 'info-apropos' will fail to find
12228 some index nodes in some UTF-8 encoded files, if the buffer's
12229 previous encoding is Latin-N or some such.
12231 2015-07-18 Ivan Andrus <darthandrus@gmail.com>
12233 * lisp/epg.el (epg--start): Check that gpgconf can be found
12236 Expose more file types to OS X that Emacs understands
12237 * nextstep/Cocoa/Emacs.base/Contents/Info.plist: Add editor role for
12238 sty, dtx, json, and org files. Export UTIs for el, elc, and org files.
12240 2015-07-18 Eli Zaretskii <eliz@gnu.org>
12242 Fix visual-order cursor movement when lines are truncated
12243 * src/xdisp.c (Fmove_point_visually): When lines are truncated,
12244 simulate display in a window of infinite width, to allow move_it_*
12245 functions reach positions outside of normal window dimensions.
12246 Remove code that tried to handle a subset of these situations by
12247 manual iteration of buffer text. (Bug#17777)
12249 Fix following Info cross-references to anchors
12250 * lisp/info.el (Info-read-subfile): Add to the returned value the
12251 length of subfile preamble, after converting it to file's byte
12252 offset, as expected by the caller. Use bufferpos-to-filepos.
12253 (Info-find-node-2): If searching for a node with a
12254 1000-character slop fails, try again with a 10000-character slop,
12255 to account for known bugs in Texinfo 5.0 and 5.1. (Bug#21055)
12256 * lisp/international/mule-util.el (bufferpos-to-filepos): New
12258 * etc/NEWS: Mention bufferpos-to-filepos.
12260 Fix scrolling backwards on TTY frames under scroll-conservatively
12261 * src/xdisp.c (move_it_vertically_backward): Fix off-by-one error
12262 in moving backwards on TTY frames. (Bug#21080)
12264 2015-07-17 Dmitry Gutov <dgutov@yandex.ru>
12266 Consider a jsdoc tag to be a beginning of a paragraph as well
12267 * lisp/progmodes/js.el (js-mode): Change c-paragraph-start to
12268 consider a jsdoc tag to be a beginning of a paragraph as well.
12270 2015-07-17 Artur Malabarba <bruce.connor.am@gmail.com>
12272 * lisp/emacs-lisp/package.el: Fix warnings.
12274 * lisp/emacs-lisp/package.el (package-buffer-info):
12275 Add author and maintainers to `package-buffer-info'.
12277 * lisp/emacs-lisp/package.el: Many small changes.
12278 Replace all instances of 'face with 'font-lock-face.
12279 (describe-package-1): Improve some strings and move the summary
12281 (package-install-file): Update docstring.
12282 (package-menu-hide-package): Bind to `H'.
12284 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
12285 Fix error handling.
12287 2015-07-17 Paul Eggert <eggert@cs.ucla.edu>
12289 Fix hang with large yanks This should fix the bug fixed by Mike
12291 https://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00106.html
12292 A problem in this area has been reported by several users; see
12293 Bug#16737, Bug#17101, Bug#17026, Bug#17172, Bug#19320, Bug#20283.
12294 This fix differs from Mike Crowe's patch in that it should avoid a
12295 race condition that could lose SIGIO signals. ignore_sigio dates
12296 back to the 1980s when some platforms couldn't block signals, and
12297 could only ignore them, which led to races when signals arrived
12298 while being ignored. We shouldn't have to worry about those old
12300 * src/dispextern.h, src/sysdep.c (ignore_sigio): Remove.
12301 * src/emacs.c (shut_down_emacs):
12302 Don't call ignore_sigio; unrequest_sigio should suffice.
12303 * src/keyboard.c (kbd_buffer_store_buffered_event):
12304 Use unrequest_sigio, not ignore_sigio.
12305 (kbd_buffer_get_event):
12306 Call request_sigio when getting the ball rolling again.
12308 2015-07-17 Artur Malabarba <bruce.connor.am@gmail.com>
12310 * lisp/obsolete/longlines.el (longlines-search-function):
12311 Fallback on `isearch-search-fun-default'.
12313 2015-07-17 Tassilo Horn <tsdh@gnu.org>
12316 * lisp/net/rcirc.el (rcirc-completion-at-point): Support completion
12317 of mentions/messages with @nick instead of just nick.
12319 2015-07-16 Michael Albinus <michael.albinus@gmx.de>
12322 * lisp/autorevert.el (auto-revert-handler): Do not check for
12323 `buffer-modified-p'.
12324 * lisp/files.el (buffer-stale--default-function): Check for
12325 `buffer-modified-p'.
12326 * test/automated/auto-revert-tests.el
12327 (auto-revert-test02-auto-revert-mode-dired): Adapt test.
12329 2015-07-16 Ari Roponen <ari.roponen@gmail.com>
12331 Fix delete-dups bug on long lists
12332 * lisp/subr.el (delete-dups):
12333 Don't mistakenly keep some dups when applied to long lists.
12335 2015-07-16 Paul Eggert <eggert@cs.ucla.edu>
12337 Better heuristic for C stack overflow
12338 Improve the heuristic for distinguishing stack overflows from
12339 other SIGSEGV causes (Bug#21004). Corinna Vinschen explained that
12340 the getrlimit method wasn't portable to Cygwin; see:
12341 https://www.cygwin.com/ml/cygwin/2015-07/msg00092.html
12342 Corinna suggested pthread_getattr_np but this also has problems.
12343 Instead, replace the low-level system stuff with a simple
12344 heuristic based on known good stack addresses.
12345 * src/eval.c, src/lisp.h (near_C_stack_top): New function.
12346 * src/sysdep.c: Don't include <sys/resource.h>.
12347 (stack_direction): Remove. All uses removed.
12348 (stack_overflow): New function.
12349 (handle_sigsegv): Use it instead of incorrect getrlimit heuristic.
12350 Make SEGV fatal in non-main threads.
12352 2015-07-16 Daiki Ueno <ueno@gnu.org>
12354 epg: Automatically start pinentry server
12355 * lisp/epg-config.el (epg-gpgconf-program): New variable.
12356 * lisp/epg.el (epg--start): Call `pinentry-start' if
12357 allow-emacs-pinentry is set in ~/.gnupg/gpg-agent.conf.
12359 2015-07-15 Katsumi Yamaoka <yamaoka@jpl.org>
12361 * lisp/gnus/nnimap.el: Fix my last bogus change.
12362 Reinstall Stefan Monnier's change that was made in
12363 <83d824bc4041332f338ad7e5e830f443535aa300>.
12365 2015-07-15 Paul Eggert <eggert@cs.ucla.edu>
12369 2015-07-05 acl-permissions: Document FreeBSD ACL_TYPE_NFS4 acls
12370 2015-07-05 acl-permissions: Fix on FreeBSD
12371 2015-07-05 file-has-acl, acl-permissions: fix some more HP-UX typos
12372 * lib/acl-internal.c, lib/acl-internal.h, lib/get-permissions.c:
12373 * lib/set-permissions.c: Copy from gnulib.
12375 Port to stricter C99
12376 * src/keyboard.h (kbd_buffer_store_event_hold):
12377 Don't return a void expression.
12379 2015-07-15 Xue Fuqiao <xfq.free@gmail.com>
12381 * doc/emacs/frames.texi (Creating Frames):
12382 Fix the command `C-x 5 m' runs.
12384 2015-07-14 Michael Albinus <michael.albinus@gmx.de>
12386 New autorevert tests
12387 * test/automated/auto-revert-tests.el: New file.
12389 2015-07-14 Paul Eggert <eggert@cs.ucla.edu>
12391 Clear gcprolist etc. after stack overflow
12392 After stack overflow, command_loop calls init_eval, and this needs to
12393 clear gcprolist and byte_stack_list (Bug#20996).
12394 * src/alloc.c (init_alloc):
12395 Move gcprolist and byte_stack_list initialization from here ...
12396 * src/eval.c (init_eval): ... to here.
12398 2015-07-13 Xue Fuqiao <xfq.free@gmail.com>
12400 * doc/emacs/windows.texi (Pop Up Window): Fix the description
12403 2015-07-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12405 Avoid deprecated enums in mac-ct font backend driver
12406 * src/macfont.m (mac_font_copy_default_descriptors_for_language)
12407 (mac_ctfont_get_advance_width_for_glyph)
12408 (mac_ctfont_get_bounding_rect_for_glyph): Avoid deprecated enums.
12410 Cache font family in mac-ct font backend driver
12411 * src/macfont.m (macfont_family_cache): New variable.
12412 (syms_of_macfont): Initialize it.
12413 (macfont_available_families_cache): New variable.
12414 (macfont_invalidate_family_cache, macfont_get_family_cache_if_present)
12415 (macfont_set_family_cache, macfont_invalidate_available_families_cache)
12416 (macfont_handle_font_change_notification)
12417 (macfont_init_font_change_handler)
12418 (macfont_copy_available_families_cache): New functions.
12419 (macfont_create_family_with_symbol): Use font family caches.
12420 (macfont_list, macfont_list_family):
12421 Use macfont_copy_available_families_cache instead of
12422 mac_font_create_available_families.
12424 2015-07-12 Dmitry Gutov <dgutov@yandex.ru>
12426 Show the default value in the prompt
12427 * lisp/progmodes/xref.el: Add `M-?' binding for
12428 xref-find-references. Declare functions `grep-read-files' and
12429 `grep-expand-template'.
12430 (xref--read-identifier): Show the default value in the prompt.
12432 * lisp/progmodes/xref.el (xref-find-regexp): When called with
12433 prefix argument, ask for file patterns to search as well. When
12434 prompting for the directory, require an existing one.
12435 (xref-collect-matches): Add a new argument, FILES. Use it in the
12438 Add `project-ignores'
12439 * lisp/progmodes/project.el (project-ignores): New generic
12440 function, and an implementation for the VC project type.
12441 * lisp/progmodes/xref.el (xref--rgrep-command): Split, as a
12442 variant of rgrep-default-command that handles a generic list of
12444 (xref-collect-matches): Use it, and pass through to it the value
12445 of the newly added argument.
12446 (xref-find-regexp): Handle ignored paths within the project.
12447 Remove outdated comment.
12448 * lisp/vc/vc.el (vc-default-ignore-completion-table):
12449 Skip the comments and the empty lines.
12451 2015-07-12 Xue Fuqiao <xfq.free@gmail.com>
12453 * doc/emacs/buffers.texi (Misc Buffer): Add a cross reference.
12455 2015-07-11 Eric Abrahamsen <eric@ericabrahamsen.net>
12457 gnus-registry.el: Correct function argument order
12458 * lisp/gnus/gnus-registry.el (gnus-registry--set/remove-mark):
12459 Reverse the order of function arguments.
12461 2015-07-11 Dmitry Gutov <dgutov@yandex.ru>
12463 Bind grep-highlight-matches to nil
12464 * lisp/progmodes/xref.el (xref-collect-matches):
12465 Bind grep-highlight-matches to nil (bug#20728).
12467 2015-07-11 Nikolaus Rath <Nikolaus@rath.org>
12469 nnimap.el: Fix IMAP message size parsing
12470 * lisp/gnus/nnimap.el (nnimap-transform-headers):
12471 Don't assume that UID comes before RFC822.SIZE.
12473 2015-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
12475 * lisp/gnus/nnimap.el: Clean up "unused var" warnings
12476 (auth-source-creation-prompts): Declare.
12477 (nnimap-retrieve-headers, nnimap-status-message)
12478 (nnimap-request-create-group, nnimap-request-delete-group)
12479 (nnimap-close-group, nnimap-request-move-article)
12480 (nnimap-request-accept-article, nnimap-request-newgroups)
12481 (nnimap-request-post, nnimap-dummy-active-number)
12482 (nnimap-save-mail-spec, nnimap-get-groups): Add _ to unused vars.
12483 (nnimap-parse-flags): Remove unused var `p'.
12484 (nnimap-retrieve-group-data-early): Remove unused var `groups'.
12485 (nnimap-flags-to-marks): Remove unused var `totalp'.
12487 2015-07-10 Andy Moreton <andrewjmoreton@gmail.com> (tiny change)
12489 * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 20MB.
12491 2015-07-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12493 * src/macfont.m (macfont_list): Ignore font families lacking
12496 2015-07-09 Dmitry Gutov <dgutov@yandex.ru>
12498 Don't check the exit status, it can be misleading
12499 * lisp/progmodes/xref.el (xref-collect-matches): Don't check the
12500 exit status, it can be misleading.
12502 Introduce a Project API
12503 * lisp/progmodes/project.el: New file.
12504 * lisp/cedet/ede.el (project-try-ede): New function.
12505 (project-root): New implementation.
12506 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
12507 Set project-search-path-function.
12508 (elisp--xref-find-references): Delegate some logic to
12509 project-search-path.
12510 (elisp-search-path): New function.
12511 (elisp-xref-find): Don't implement `matches' anymore.
12512 * lisp/progmodes/etags.el: Don't implement `matches'.
12513 Delegate some logic to project-search-path.
12514 (etags-search-path): New function.
12515 * lisp/progmodes/xref.el (xref-find-function):
12516 Remove `matches' from the API.
12517 (xref-find-regexp): Move whatever common logic was in elisp and
12518 etags implementations, and search the directories returned by
12519 project-directories and project-search-path.
12521 2015-07-09 Nicolas Petton <nicolas@petton.fr>
12523 * test/automated/map-tests.el (test-map-delete-return-value):
12526 Add support for gv.el in map.el
12527 * lisp/emacs-lisp/map.el (map-elt, map-delete): Declare a gv-expander.
12528 * lisp/emacs-lisp/map.el (map-put): Refactor using `setf' and `map-elt'.
12529 * test/automated/map-tests.el: Update tests to work with the new
12530 implementations of map-elt and map-put.
12532 2015-07-09 Glenn Morris <rgm@gnu.org>
12534 * lisp/emacs-lisp/debug.el (debug-help-follow): Use describe-symbol.
12536 2015-07-09 Dmitry Gutov <dgutov@yandex.ru>
12538 Syntax-propertize until the end of the line first
12539 * lisp/progmodes/xref.el (xref--collect-match): Syntax-propertize
12540 until the end of the line first.
12542 2015-07-09 Xue Fuqiao <xfq.free@gmail.com>
12544 * doc/emacs/files.texi (File Archives): Add a cross reference.
12546 2015-07-08 Nikolaus Rath <Nikolaus@rath.org>
12548 nnimap.el: Handle plain value for nnimap-stream
12549 * lisp/gnus/nnimap.el (nnimap-open-connection-1): Always query
12550 capabilities, so that a 'plain value for the `nnimap-stream' server
12551 variable is handled correctly.
12552 * doc/misc/gnus.texi (Customizing the IMAP Connection):
12553 Document the 'plain option.
12555 2015-07-08 Leo Liu <sdl.web@gmail.com>
12557 Fix bug in thing-at-point--bounds-of-well-formed-url
12558 * lisp/thingatpt.el (thing-at-point--bounds-of-well-formed-url): Make
12559 sure boundary contains current point.
12561 2015-07-08 Dmitry Gutov <dgutov@yandex.ru>
12563 * lisp/progmodes/xref.el (xref-collect-matches): Use `nreverse'
12566 Declare whitespace-line-column a safe file-local
12567 * lisp/whitespace.el (whitespace-line-column): Declare to be a
12568 safe file-local when the value is an integer.
12570 2015-07-08 Eric Abrahamsen <eric@ericabrahamsen.net>
12572 gnus-group.el: Check if group names are already strings
12573 * lisp/gnus/gnus-group.el (gnus-group-group-name):
12574 The group name may already be a string.
12575 Specifically, in the group list reached from the *Server* buffer,
12576 the 'gnus-group text property returns a string. Everywhere else
12577 it returns a symbol.
12579 nnimap.el: Remove unused let variables
12580 * lisp/gnus/nnimap.el (nnimap-request-group): Variables are not used.
12582 2015-07-08 Eli Zaretskii <eliz@gnu.org>
12584 Support "maximized" property of runemacs's shortcut
12585 * nt/runemacs.c (WinMain): If runemacs is invoked "maximized", pass
12586 the '--maximized' switch to Emacs.
12588 Support "minimized" property of runemacs's shortcut
12589 * nt/runemacs.c (WinMain): If runemacs is invoked "minimized",
12590 pass the '--iconic' switch to Emacs. (Bug#20991)
12592 2015-07-08 Xue Fuqiao <xfq.free@gmail.com>
12595 * doc/emacs/files.texi (Diff Mode): Fix the description of `C-c
12597 * doc/emacs/arevert-xtra.texi (Auto Reverting the Buffer Menu):
12598 Add a cross reference.
12600 2015-07-08 Nicolas Richard <youngfrog@members.fsf.org>
12602 * lisp/obsolete/landmark.el: Add Obsolete-since header.
12604 2015-07-07 Glenn Morris <rgm@gnu.org>
12606 * test/automated/ert-tests.el (ert-test-deftest):
12607 Update for recent changes.
12609 2015-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12611 (gv-setter, gv-synthetic-place, gv-delay-error): New funs/macros
12612 * lisp/emacs-lisp/gv.el (gv-setter): New function.
12613 (gv-invalid-place): New error.
12614 (gv-get): Use them.
12615 (gv-synthetic-place, gv-delay-error): New places.
12616 * lisp/emacs-lisp/cl-generic.el (cl--generic-setf-rewrite): Remove.
12617 (cl-defgeneric, cl-defmethod): Use gv-setter.
12619 2015-07-07 Fabrice Popineau <fabrice.popineau@gmail.com>
12621 Make vc-tests work with MSYS svn program
12622 * lisp/vc/vc-svn.el (vc-svn-create-repo): Fix the file:// URL when
12623 svn is an MSYS program.
12625 2015-07-07 Ken Brown <kbrown@cornell.edu>
12627 Improve recent change to emacsclient on Cygwin
12628 * lisp/server.el (server-process-filter): Remove redundant check
12629 that 'cygwin-convert-file-name-from-windows' is defined as a
12630 function on Cygwin. Don't call that function unless its argument
12631 starts with a drive letter.
12633 2015-07-07 Artur Malabarba <bruce.connor.am@gmail.com>
12635 * lisp/emacs-lisp/package.el (package-compute-transaction):
12636 Fix void variable due to `found-something' being in the wrong `let'.
12638 2015-07-07 Nicolas Richard <theonewiththeevillook@yahoo.fr>
12640 * lisp/play/landmark.el: Move to lisp/obsolete/.
12642 2015-07-07 Martin Rudalics <rudalics@gmx.at>
12644 Have `x-show-tip' handle `right' and `bottom' frame parameters
12645 * src/nsfns.m (compute_tip_xy, Fx_show_tip)
12646 * src/w32fns.c (compute_tip_xy, Fx_show_tip)
12647 * src/xfns.c (compute_tip_xy, Fx_show_tip): Allow aligning
12648 tooltips also via `right' and `bottom' frame parameters.
12650 2015-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12652 Add online-help support to describe types
12653 * lisp/help-fns.el (describe-symbol-backends): Move to help-mode.el.
12654 (describe-symbol): Improve the selection of default.
12655 * lisp/help-mode.el: Require cl-lib.
12656 (describe-symbol-backends): Move from help-fns.el.
12657 (help-make-xrefs): Use it.
12658 * lisp/emacs-lisp/cl-extra.el (describe-symbol-backends): Add entry
12660 (cl--typedef-regexp): New const.
12661 (find-function-regexp-alist): Add entry for types.
12662 (cl-help-type, cl-type-definition): New buttons.
12663 (cl-find-class): New function.
12664 (cl-describe-type): New command.
12665 (cl--describe-class, cl--describe-class-slot)
12666 (cl--describe-class-slots): New functions, moved from eieio-opt.el.
12667 * lisp/emacs-lisp/cl-generic.el (cl--generic-method-documentation)
12668 (cl--generic-all-functions, cl--generic-specializers-apply-to-type-p):
12669 New functions. Moved from eieio-opt.el.
12670 (cl--generic-class-parents): New function, extracted from
12671 cl--generic-struct-specializers.
12672 (cl--generic-struct-specializers): Use it.
12673 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Use pcase-dolist.
12674 Improve constructor's docstrings.
12675 (cl-struct-unknown-slot): New error.
12676 (cl-struct-slot-offset): Use it.
12677 * lisp/emacs-lisp/cl-preloaded.el (cl-struct-define): Record the type
12678 definition in current-load-list.
12679 * lisp/emacs-lisp/eieio-core.el (eieio--known-slot-names): New var.
12680 (eieio--add-new-slot): Set it.
12681 (eieio-defclass-internal): Use new name for current-load-list.
12682 (eieio-oref): Add compiler-macro to warn about unknown slots.
12683 * lisp/emacs-lisp/eieio.el (defclass): Update eieio--known-slot-names
12684 as compile-time as well. Improve constructor docstrings.
12685 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
12686 (eieio--help-print-slot, eieio-help-class-slots): Move to cl-extra.el.
12687 (eieio-class-def): Remove button.
12688 (eieio-help-constructor): Use new name for load-history element.
12689 (eieio--specializers-apply-to-class-p, eieio-all-generic-functions)
12690 (eieio-method-documentation): Move to cl-generic.el.
12691 (eieio-display-method-list): Use new names.
12692 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
12693 Add "define-linline".
12694 (lisp-fdefs): Remove "defsubst".
12695 (el-fdefs): Add "defsubst", "cl-defsubst", and "define-linline".
12696 * lisp/emacs-lisp/macroexp.el (macroexp--warned): New var.
12697 (macroexp--warn-and-return): Use it to avoid inf-loops.
12698 Add `compile-only' argument.
12700 2015-07-06 Fabián Ezequiel Gallina <fgallina@gnu.org>
12702 python.el: Fix local/remote shell environment setup
12703 * lisp/progmodes/python.el (python-shell-with-environment):
12704 Fix remote/local environment setup.
12705 * test/automated/python-tests.el (python-shell-with-environment-1)
12706 (python-shell-with-environment-2): New tests.
12708 2015-07-06 Glenn Morris <rgm@gnu.org>
12710 * lisp/simple.el (set-variable): Tweak recent doc fix.
12712 2015-07-06 Ken Brown <kbrown@cornell.edu>
12714 * src/sysdep.c (handle_sigsegv) [CYGWIN]: Increase STACK_DANGER_ZONE.
12716 2015-07-06 Glenn Morris <rgm@gnu.org>
12718 * lisp/simple.el (set-variable): Use user-error for type mismatch.
12720 2015-07-06 Ken Brown <kbrown@cornell.edu>
12722 * src/emacs.c (main): Don't increase the stack size on Cygwin.
12724 2015-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
12726 (describe-symbol): Rewrite describe-function-or-variable
12727 * lisp/help-fns.el (describe-symbol-backends): New var.
12728 (help-xref-stack-item): Declare.
12729 (describe-symbol): Rename from describe-function-or-variable.
12730 Rewrite using describe-symbol-backends instead of help-xref-interned.
12731 * lisp/help.el (help-map): Use it.
12732 * lisp/help-mode.el (help-symbol, help-follow-symbol): Use it.
12733 (help-xref-interned): Make it into an obsolete alias.
12735 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-save): Don't ignore
12736 `file' arg (bug#20972). Always use utf-8-emacs. Use with-temp-buffer
12739 2015-07-06 Wolfgang Jenkner <wjenkner@inode.at>
12741 Fix parsing glitches in dired-mark-sexp (bug#13575)
12742 * lisp/dired-x.el (dired-x--string-to-number): New function.
12743 (dired-mark-sexp): Use it. Tweak dired-re-inode-size. Fix usage
12744 of directory-listing-before-filename-regexp. Consider
12745 forward-word harmful and replace it. Add more verbiage in
12746 comments and doc string.
12748 2015-07-06 Fabián Ezequiel Gallina <fgallina@gnu.org>
12750 python.el: Respect process environment for remote shells
12751 * lisp/progmodes/python.el
12752 (python-shell-calculate-process-environment): Calculate
12753 process-environment or tramp-remote-process-environment depending
12754 whether current file is remote.
12755 (python-shell-calculate-exec-path): Calculate exec-path or
12756 tramp-remote-path depending whether current file is remote.
12757 (python-shell-with-environment): New macro.
12758 (python-shell-prompt-detect, python-shell-calculate-command)
12759 (python-shell-make-comint, python-check): Use it.
12761 python.el: Avoid making let-bound defvars buffer local (Bug#18244)
12762 * lisp/progmodes/python.el (python-shell--interpreter)
12763 (python-shell--interpreter-args): New vars.
12764 (inferior-python-mode, python-shell-make-comint): Use them.
12766 python.el: Fixes for IPython 3.x (Bug#20580)
12767 * lisp/progmodes/python.el:
12768 (python-shell-completion-native-setup): Fix IPython 3.x setup.
12769 (python-shell-completion-native-get-completions): Fix timeout
12772 python.el: Fix mark-defun behavior (Bug#19665)
12773 * lisp/progmodes/python.el (python-mark-defun): New function.
12774 * test/automated/python-tests.el (python-mark-defun-1)
12775 (python-mark-defun-2, python-mark-defun-3): New tests.
12777 2015-07-05 Glenn Morris <rgm@gnu.org>
12779 * lisp/progmodes/f90.el (f90-type-def-re): Handle attribute lists
12780 such as "extends(parent), private". (Bug#20969)
12781 * test/automated/f90.el (f90-test-bug20969, f90-test-bug20969b):
12784 2015-07-05 Paul Eggert <eggert@cs.ucla.edu>
12786 Avoid duplicate calls to current_timespec
12787 * src/process.c (wait_reading_process_output):
12788 Cache current_timespec results as long as we're not waiting.
12790 2015-07-05 Ian Kelling <ian@iankelling.org>
12792 Avoid returning early reading process output due to SIGIO
12793 * src/process.c (wait_reading_process_output): Extend the behavior of
12794 not breaking due to not finding output when a timer has lowered the
12795 timeout to include when SIGIO lowers the timeout.
12797 Don't return as fast reading any process output
12798 * src/process.c (wait_reading_process_output):
12799 The patch for Bug#17647 returns too fast sometimes when reading
12800 from any processes. Revert part of it, and limit the timeout more
12801 sensibly (Bug#20978).
12803 Refactor timeouts in wait_reading_process_output
12804 * src/process.c (wait_reading_process_output):
12805 Simplify timeouts with an enum. Remove a redundant condition.
12808 Remove ADAPTIVE_READ_BUFFERING ifdef
12809 * src/process.c (make-process, make-pipe-process, deactivate_process)
12810 (wait_reading_process_output, read_process_output, send_process)
12811 (init_process_emacs): ifdef ADAPTIVE_READ_BUFFERING was originally
12812 added in case there was an operating system in which it was not
12813 useful. That was 11 years ago and it hasn't happened. Make
12814 development easier by not considering the effect of changes on a
12815 theoretical OS where this is disabled (Bug#20978).
12817 2015-07-05 Glenn Morris <rgm@gnu.org>
12819 * lisp/simple.el (set-variable): Doc fix.
12821 * lisp/progmodes/fortran.el (fortran-line-length): Doc fix.
12823 2015-07-05 Ian Kelling <ian@iankelling.org>
12825 accept-process-output fix
12826 This is a followon to the fix for bug#17647 (Bug#20976).
12827 * src/process.c (status_notify): Fix too high return in some cases.
12829 2015-07-05 Artur Malabarba <bruce.connor.am@gmail.com>
12831 * lisp/character-fold.el (character-fold-table):
12832 Only fold decompositions if at least one character is non-spacing.
12835 2015-07-05 Paul Eggert <eggert@cs.ucla.edu>
12839 2015-07-04 file-has-acl, acl-permissions: fix HP-UX typos
12840 2015-07-03 set-permissions.c: adjust acl_from_mode's cpp guard
12841 2015-07-02 update-copyright: fix test failure with perl >= 5.22
12842 2015-07-01 gnulib-common.m4: change the ARFLAGS default to 'cr'
12843 2015-07-01 acl: fix definition of acl_from_mode on FreeBSD
12844 * build-aux/update-copyright, doc/misc/texinfo.tex, lib/acl-internal.h:
12845 * lib/set-permissions.c, m4/gnulib-common.m4: Copy from gnulib.
12847 2015-07-05 Christoph Wedler <christoph.wedler@sap.com>
12849 Respect `prog-indentation-context' in python.el
12850 * lisp/progmodes/python.el (python-indent-guess-indent-offset)
12851 (python-indent-context, python-indent--calculate-indentation)
12852 (python-info-current-defun)
12853 (python-info-dedenter-opening-block-message)
12854 (python-info-line-ends-backslash-p)
12855 (python-info-beginning-of-backslash)
12856 (python-info-continuation-line-p): Use `prog-widen'.
12857 (python-indent--calculate-indentation)
12858 (python-indent--calculate-levels)
12859 (python-indent-calculate-indentation): Use `prog-first-column'.
12860 (python-indent--calculate-levels): Simplify.
12861 Ignore also initial empty lines for syntax calculation.
12862 * lisp/progmodes/python.el (python-indent-context): Return
12863 :no-indent for first non-empty line, not just in line 1.
12864 * test/automated/python-tests.el (python-indent-base-case)
12865 (python-indent-inside-paren-1, python-indent-inside-paren-2)
12866 (python-indent-inside-paren-3, python-indent-inside-paren-4)
12867 (python-indent-inside-paren-5, python-indent-inside-paren-6)
12868 (python-indent-after-backslash-1)
12869 (python-indent-after-backslash-2)
12870 (python-indent-after-backslash-3)
12871 (python-indent-after-backslash-4, python-indent-inside-string-1):
12872 Expect :no-indent for first non-empty line.
12874 2015-07-04 Daniel Colascione <dancol@dancol.org>
12876 Factor isearch word description into new function
12877 * lisp/isearch.el (isearch--describe-word-mode): New function.
12878 (isearch-message-prefix, isearch-query-replace): Use it.
12880 2015-07-04 Eli Zaretskii <eliz@gnu.org>
12882 Fix mouse pointer on w32 when a menu is active
12883 * src/w32fns.c (w32_wnd_proc): Don't change the mouse pointer
12884 shape while a menu is in use. This started happening since we now
12885 send WM_EMACS_SHOWCURSOR messages when the mouse moves.
12887 2015-07-04 Martin Rudalics <rudalics@gmx.at>
12889 Fix processing of alpha parameter for Windows tip frames (Bug#17344)
12890 * src/w32fns.c (x_create_tip_frame): Fix processing alpha
12891 parameter. (Bug#17344)
12893 Have `compilation-set-window' use right window for getting fringes
12895 * lisp/progmodes/compile.el (compilation-set-window):
12896 Take `window-fringes' from argument window.
12898 2015-07-03 Glenn Morris <rgm@gnu.org>
12900 Update eieio tests for recent eieio-core change.
12901 * test/automated/eieio-test-persist.el (persist-test-save-and-compare):
12902 * test/automated/eieio-tests.el
12903 (eieio-test-32-slot-attribute-override-2):
12904 Replace the deleted eieio--class-v with cl--find-class.
12906 2015-07-03 Martin Rudalics <rudalics@gmx.at>
12908 Fix some issues with `window-divider-mode'
12909 * lisp/frame.el (window-divider-default-places): New option.
12910 (window-divider-mode): Remove option.
12911 (window-divider-mode): Make it a "regular" minor mode.
12912 (window-divider-width-valid-p): Drop frame- prefix.
12913 (window-divider-mode-apply): New argument ENABLE. Drop frame-
12914 prefix. Handle `window-divider-default-places'.
12915 (frame--window-divider-mode-set-and-apply): Remove.
12916 (window-divider-default-bottom-width)
12917 (window-divider-default-right-width): Drop :group entries.
12918 * lisp/menu-bar.el (menu-bar-bottom-and-right-window-divider)
12919 (menu-bar-right-window-divider, menu-bar-bottom-window-divider)
12920 (menu-bar-no-window-divider): Set `window-divider-default-places'
12921 and call `window-divider-mode'.
12922 * doc/emacs/frames.texi (Window Dividers): Document
12923 `window-divider-default-places'.
12925 2015-07-02 Xue Fuqiao <xfq.free@gmail.com>
12927 * doc/emacs/display.texi (Displaying Boundaries):
12928 * doc/emacs/search.texi (Word Search): Add cross references.
12930 2015-07-02 Paul Eggert <eggert@cs.ucla.edu>
12932 -batch should not affect ‘’ -> `' display
12933 * lisp/startup.el (command-line): Do the ‘’ -> `' check even if
12934 -batch (Bug#20926).
12936 2015-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12938 * lisp/emacs-lisp/eieio-core.el (eieio--class-v): Remove
12939 * lisp/emacs-lisp/eieio-core.el, lisp/emacs-lisp/eieio.el:
12940 * lisp/emacs-lisp/eieio-opt.el, lisp/emacs-lisp/eieio-compat.el:
12941 Use cl--find-class instead.
12943 * lisp/term/xterm.el (xterm--query): Fix paren typo (bug#20951).
12945 2015-07-02 Martin Rudalics <rudalics@gmx.at>
12947 Some further fixes in Change Window node (Bug#20183)
12948 * doc/emacs/windows.texi (Change Window): Replace "rearranging"
12949 by "resizing" in section title. Add some concept indices.
12950 Suggested by N. Jackson (Bug#20183).
12952 * doc/emacs/windows.texi (Change Window): Reference window
12955 Document new `window-divider-mode'.
12956 * lisp/frame.el (window-divider-mode): Fix doc-string.
12957 * doc/emacs/frames.texi (Window Dividers): New section.
12959 Improve accessibility of window dividers (Bug#20183)
12960 * lisp/faces.el (window-divider)
12961 (window-divider-first-pixel, window-divider-last-pixel): Change
12962 membership from `frames' to `window-divider' customization group.
12963 * lisp/frame.el (window-divider): New customization group.
12964 (window-divider-mode): New minor mode.
12965 (window-divider-default-bottom-width)
12966 (window-divider-default-right-width): New options.
12967 (frame--window-divider-previous-mode): New variable.
12968 (frame-window-divider-width-valid-p)
12969 (frame--window-divider-mode-apply)
12970 (frame--window-divider-mode-set-and-apply): New functions.
12971 * lisp/menu-bar.el (menu-bar-options-save): Save
12972 window-divider-mode settings.
12973 (menu-bar-window-divider-customize)
12974 (menu-bar-bottom-and-right-window-divider)
12975 (menu-bar-right-window-divider, menu-bar-bottom-window-divider)
12976 (menu-bar-no-window-divider): New functions.
12977 (menu-bar-showhide-window-divider-menu): New variable.
12978 (menu-bar-showhide-menu): Show/hide window divider menu.
12979 * lisp/mouse.el (mouse-split-window-vertically)
12980 (mouse-split-window-horizontally): Replace `error' by
12981 `user-error'. Bind `window-combination-resize' to nil.
12982 (top-level): Add/reorder mouse key bindings on mode- and
12985 2015-07-02 Paul Eggert <eggert@cs.ucla.edu>
12987 Don't display ‘’ as `' under X in en_GB
12988 The curved quote setup code invokes (char-displayable-p ?‘),
12989 but this isn’t reliable until after the X frame replaces the
12990 terminal frame (Bug#20926).
12991 * lisp/international/mule-cmds.el (set-locale-environment):
12992 Move curved quote setup code from here ...
12993 * lisp/startup.el (command-line): ... to here, after creating
12996 2015-07-01 Nicolas Richard <youngfrog@members.fsf.org>
12998 * lisp/emacs-lisp/seq.el (seq-difference): Fix typo in docstring.
13000 * lisp/ido.el (ido-restrict-to-matches): Add an optional argument
13001 to reverse the meaning (Bug#15631).
13003 2015-07-01 Eli Zaretskii <eliz@gnu.org>
13005 Be more tolerant to fonts named "Foobar-12"
13006 * src/frame.c (x_set_font): If font_spec_from_name returns nil,
13007 don't barf; instead, request a new fontset to be generated. This
13008 avoids unnecessarily rejecting fonts named against XLFD rules. See
13009 http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html,
13010 for the description of the original problem.
13011 * lisp/faces.el (set-face-attribute): Don't be fooled too easily
13012 by a hyphen in a font's name.
13014 Fix value of posn-at-pont in R2L lines
13015 * src/keyboard.c (Fposn_at_x_y, Fposn_at_point): Allow X pixel
13016 coordinate of -1, for a newline in a right-to-left line that
13017 overflowed into the left fringe.
13019 2015-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13021 (cl--copy-slot-descriptor): Copy the `props' alist as well
13022 * lisp/emacs-lisp/cl-preloaded.el (cl--copy-slot-descriptor-1):
13023 Rename from cl--copy-slot-descriptor.
13024 (cl--copy-slot-descriptor): New function. Copy the alist (bug#20914).
13026 2015-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
13028 * lisp/term/xterm.el (xterm--query): Avoid generating garbage
13029 (xterm-query-timeout): New var.
13030 (xterm--query): Use it. Fallback on async method if we timeout before
13031 getting the first byte of the reply (bug#12354).
13033 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
13036 * lisp/character-fold.el (character-fold-search):
13037 * lisp/emacs-lisp/package.el (package-hidden-regexps):
13040 2015-06-30 Xue Fuqiao <xfq.free@gmail.com>
13042 * doc/emacs/frames.texi (Frame Commands): Typo fix. (Bug#20946)
13044 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
13046 In strings, prefer plain ` and ' to \` and \'
13047 * lisp/allout.el (allout-insert-listified):
13048 * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13049 * lisp/ls-lisp.el (ls-lisp-UCA-like-collation)
13050 (ls-lisp-string-lessp):
13051 * lisp/menu-bar.el (menu-bar-open):
13052 * lisp/obsolete/otodo-mode.el (todo-top-priorities):
13053 * lisp/progmodes/compile.el (compile):
13054 * lisp/progmodes/etags.el (tags-loop-scan):
13055 * lisp/progmodes/make-mode.el (makefile-browser-insert-continuation):
13056 * lisp/subr.el (posn-actual-col-row):
13057 * lisp/term/pc-win.el (x-list-fonts):
13058 * lisp/textmodes/texinfmt.el (texinfmt-version):
13059 * lisp/textmodes/texnfo-upd.el (texinfo-master-menu):
13060 * lisp/time.el (display-time-world-list):
13061 * lisp/tmm.el (tmm-menubar):
13062 * src/buffer.c (syms_of_buffer):
13063 * src/fileio.c (syms_of_fileio):
13064 Omit unnecessary and confusing backslash before quote.
13065 * lisp/erc/erc.el (erc-cmd-LASTLOG):
13066 * lisp/progmodes/flymake.el (flymake-fix-file-name):
13067 * lisp/progmodes/vhdl-mode.el (vhdl-in-extended-identifier-p):
13068 Fix string that was intended to escape a backslash and not a quote.
13070 2015-06-30 Glenn Morris <rgm@gnu.org>
13072 * leim/Makefile.in, lisp/Makefile.in: Add missing EXEEXT definition.
13074 * lisp/Makefile.in (MH_E_SRC, TRAMP_SRC, CAL_SRC):
13075 Replace hard-coded lists with wildcard + filter-out.
13077 * configure.ac (system-configuration-features): Add X11, NS.
13079 Improve reproducibility of generated loaddefs file
13080 * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13081 Make the return value the modtime of the input file (if no autoloads).
13082 (update-directory-autoloads): In the "no autoloads" section,
13083 use "most recent modtime" rather than "current time".
13085 2015-06-30 Artur Malabarba <bruce.connor.am@gmail.com>
13087 * lisp/emacs-lisp/package.el (package--remove-hidden): Fix logic.
13090 2015-06-30 Nicolas Petton <nicolas@petton.fr>
13092 * doc/lispref/sequences.texi: Add documentation for seq-min and seq-max.
13094 Add seq-min and seq-max
13095 Bump version number.
13096 * lisp/emacs-lisp/seq.el (seq-min, seq-max): New functions.
13097 * test/automated/seq-tests.el: Add tests for seq-min and seq-max.
13099 2015-06-30 Eli Zaretskii <eliz@gnu.org>
13101 Make sure sleep-for always delays for as long as it's told
13102 * src/dispnew.c (Fsleep_for): Call wait_reading_process_output in
13103 a loop, to ensure we always wait exactly the required amount of
13106 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
13108 Fix pointer signedness glitch
13109 * src/font.c (font_load_for_lface): Use SSDATA, not SDATA.
13111 2015-06-30 Eli Zaretskii <eliz@gnu.org>
13113 Don't block changes in mouse pointer inside 'track-mouse'
13115 * doc/lispref/frames.texi (Mouse Tracking): Document the special
13116 effect of setting 'track-mouse' to 'dragging'.
13117 * lisp/textmodes/artist.el (artist-mouse-draw-continously):
13118 * lisp/ruler-mode.el (ruler-mode-mouse-drag-any-column-iteration):
13119 * lisp/mouse-drag.el (mouse-drag-throw):
13120 * lisp/mouse.el (mouse-drag-line): Set 'track-mouse' to 'dragging'
13121 to avoid changes in the shape of the mouse pointer.
13122 * src/xdisp.c (define_frame_cursor1): Don't change the mouse
13123 pointer shape when do_mouse_tracking has the value of 'dragging',
13124 not just any non-nil value. (Bug#20934)
13125 (syms_of_xdisp): DEFSYM 'dragging'.
13127 2015-06-30 Artur Malabarba <bruce.connor.am@gmail.com>
13129 * lisp/isearch.el (isearch-toggle-word): Fix toggle.
13131 * lisp/emacs-lisp/package.el (package-compute-transaction):
13132 Don't assume version sorting.
13134 * lisp/emacs-lisp/package.el (package--save-selected-packages):
13135 Don't save before init time, to avoid overwriting configurations.
13138 2015-06-30 Xue Fuqiao <xfq.free@gmail.com>
13140 * doc/emacs/display.texi (Standard Faces, Fringes): Add cross
13143 2015-06-29 Ted Zlatanov <tzz@lifelogs.com>
13145 Update for the upcoming CFEngine 3.7 release: support macros and
13146 quoted context strings; reformat JSON; indent promise attributes 2
13147 units by default; give function parameter descriptions in the eldoc
13149 * lisp/progmodes/cfengine.el: Update version and docs and fix name.
13150 Autoload `json-pretty-print'. Support new features in 3.7.
13151 (cfengine-parameters-indent): Set default promise attribute indent to
13152 2 more than the promise itself.
13153 (cfengine3-macro-regex): New variable to match the new macro syntax.
13154 (cfengine3-font-lock-keywords): Use it to highlight macros.
13155 (cfengine3-indent-line): Use it to indent macros to column 0.
13156 (cfengine3-class-selector-regex): Update for the new quoted strings
13158 (cfengine3-reformat-json-string): New function to reformat a JSON
13159 string using `json-pretty-print'.
13160 (cfengine3-format-function-docstring): Use function parameter
13161 description if it's provided by the cf-promises syntax dump.
13163 2015-06-29 Michael R. Mauger <michael@mauger.com>
13165 Cygwin emacsclient handles w32 file names
13166 * lisp/server.el (server-process-filter): Allow Cygwin's
13167 emacsclient to be used as a file handler on MS-Windows.
13169 2015-06-29 Katsumi Yamaoka <yamaoka@jpl.org>
13171 * lisp/isearch.el (isearch-exit): Don't call isearch-done twice
13174 2015-06-29 Eli Zaretskii <eliz@gnu.org>
13176 * doc/lispref/text.texi (Sticky Properties): Improve wording.
13179 Allow font names that end in "-NN", where NN is a number
13180 * src/font.c (font_load_for_lface): If the font-spec didn't match
13181 any available fonts, try again without interpreting trailing "-NN"
13182 as the font size. For the description of the original problem, see
13183 http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html
13185 .gdbinit followup to changes in !USE_LSB_TAG
13186 * src/.gdbinit (xgetsym): Don't left-shift $ptr even under
13187 !USE_LSB_TAG, as Emacs no longer does.
13189 2015-06-29 Wolfgang Jenkner <wjenkner@inode.at>
13191 * lisp/calc-store.el (calc-insert-permanent-variable): Heed case.
13192 Otherwise `s p' of f and F will stomp on each other's value.
13195 2015-06-29 Artur Malabarba <bruce.connor.am@gmail.com>
13197 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
13198 Don't block remember-pos if buffer isn't displayed. (Bug#20921)
13200 2015-06-29 Nicolas Richard <theonewiththeevillook@yahoo.fr>
13202 * lisp/emacs-lisp/package.el (describe-package): Use symbol-at-point
13203 as additional guess.
13205 * lisp/emacs-lisp/package.el (describe-package): Convert the guess
13208 2015-06-28 Paul Eggert <eggert@cs.ucla.edu>
13210 apropos-library quoting fix
13211 * lisp/apropos.el (apropos-library): Quote library consistently
13212 with the rest of the quoting used by apropos.
13214 Clarify interpreter-mode-alist doc
13215 * lisp/files.el (interpreter-mode-alist):
13216 Reword to avoid confusing quoting that wasn't working anyway.
13218 2015-06-28 Michael Albinus <michael.albinus@gmx.de>
13220 Sync with Tramp 2.2.12
13221 * doc/misc/trampver.texi:
13222 * lisp/net/trampver.el: Update release number.
13223 * test/automated/tramp-tests.el (tramp-test13-make-directory):
13226 2015-06-28 Artur Malabarba <bruce.connor.am@gmail.com>
13228 * lisp/isearch.el (isearch-mode): Don't char-fold regexps (bug#20913).
13230 2015-06-27 Dmitry Gutov <dgutov@yandex.ru>
13232 Bind grep-highlight-matches around the rgrep call
13233 * lisp/progmodes/grep.el (zrgrep): Bind grep-highlight-matches
13234 around the rgrep call (bug#20728).
13236 Put "--color" before the other options in grep-command
13237 * lisp/progmodes/grep.el (grep-compute-defaults): Put "--color"
13238 before the other options in grep-command (bug#20912).
13240 Add --color Grep option to the command dynamically
13241 * lisp/progmodes/grep.el (grep-template, grep-find-template):
13242 Update the description for <C>. (Bug#20728)
13243 (grep-compute-defaults): Don't add the --color option to
13244 grep-options. Only add it to grep-command.
13245 (grep-expand-keywords): Expand the env value opts into <C>.
13246 (grep-expand-template): Replace cf in the env with the opts list,
13247 that can include -i and --color.
13248 * lisp/progmodes/xref.el (xref-collect-matches): Do not remove
13249 "--color=always" from the template, because we don't have to.
13251 2015-06-27 Paul Eggert <eggert@cs.ucla.edu>
13253 cl-extra fixes for most-negative-fixnum
13254 * lisp/emacs-lisp/cl-extra.el (cl-gcd, cl-lcm, cl-random):
13255 Don't mishandle an argument equal to most-negative-fixnum,
13256 whose absolute value equals itself.
13257 (cl-gcd, cl-lcm): Use dolist rather than doing it by hand.
13259 Initialize cl--gensym-counter to 0
13260 Previously it was initialized to a random value, which made it
13261 harder to reproduce earlier Emacs runs. The need for a random
13262 value went away when Emacs introduced and used the #: syntax for
13263 uninterned symbols (Bug#20862).
13264 * doc/misc/cl.texi (Creating Symbols, Common Lisp Compatibility):
13265 Document that cl--gensym-counter now starts with 0.
13266 * lisp/emacs-lisp/cl-lib.el (cl--gensym-counter): Remove.
13267 (cl--random-time): Move to near only remaining use.
13268 * lisp/emacs-lisp/cl-macs.el (cl--gensym-counter): Initialize to 0.
13270 Improve docstring for macroexp-let2
13271 * lisp/emacs-lisp/macroexp.el (macroexp-let2):
13272 Improve as per suggestion by RMS in:
13273 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00621.html
13274 Also, rename args to match new doc string.
13276 2015-06-27 Eli Zaretskii <eliz@gnu.org>
13278 Fix VC test suite on MS-Windows
13279 * lisp/vc/vc-svn.el (vc-svn-create-repo): Make sure the file: URL
13280 always starts with 3 slashes after the colon.
13281 * test/automated/vc-tests.el (vc-test--create-repo-function): Use
13282 'w32-application-type' to invoke CVS on MS-Windows with properly
13283 formatted CVSROOT directory name.
13285 Add a new function w32-application-type
13286 * src/w32proc.c (Fw32_application_type): New function.
13288 Avoid error in TLS connections due to incorrect format
13289 * src/gnutls.c (Fgnutls_boot): Use the %x conversion specifier in
13290 the call to 'error', instead of the unsupported %u. Reported by
13291 lo2net <fangtao0901@gmail.com>. (Bug#20908)
13293 2015-06-26 Artur Malabarba <bruce.connor.am@gmail.com>
13295 * lisp/replace.el (replace-search): Fix regexp case (bug#20901).
13297 2015-06-26 Leo Liu <sdl.web@gmail.com>
13299 * lisp/emacs-lisp/cl-indent.el: Fix indentation for
13300 `with-output-to-string' in elisp.
13302 Revert "lisp/emacs-lisp/cl-indent.el: Fix indent of
13303 with-output-to-string".
13304 This reverts commit 659199f2ca5f283fb246faa78a244e5ca25f53dd.
13306 2015-06-26 Eli Zaretskii <eliz@gnu.org>
13308 Minor corrections in ELisp manual
13309 * doc/lispref/nonascii.texi (Character Properties): Correct
13310 inaccuracies in description of values of the Unicode properties.
13312 Fix invisible mouse pointers on Windows.
13313 * src/w32fns.c: Include windowsx.h.
13314 (w32_wnd_proc): If the mouse moved and the mouse pointer is
13315 invisible, make it visible again even when the main (Lisp)
13317 * src/w32term.c (w32_toggle_invisible_pointer): Rather then
13318 garbaging the frame have the input thread call SetCursor.
13320 2015-06-26 Martin Rudalics <rudalics@gmx.at>
13322 Provide invisible mouse pointers on Windows (Bug#6105) (Bug#12922)
13323 * src/w32fns.c (w32_wnd_proc): Handle f->pointer_invisible
13324 for WM_SETCURSOR and WM_EMACS_SETCURSOR cases.
13325 * src/w32term.c (w32_hide_hourglass): Handle f->pointer_invisible.
13326 (w32_toggle_invisible_pointer): New function.
13327 (w32_create_terminal): Add w32_toggle_invisible_pointer as
13328 toggle_invisible_pointer_hook for this terminal.
13330 2015-06-25 Xue Fuqiao <xfq.free@gmail.com>
13332 Doc fix for deletion commands
13333 'delete-char' does not respect the value of 'delete-active-region'.
13334 * doc/emacs/killing.texi (Deletion):
13335 Fix documentation for some single-char deletion commands.
13337 * doc/emacs/help.texi (Apropos):
13338 Improve documentation of 'apropos-do-all'.
13340 * doc/emacs/help.texi (Help Summary):
13341 Improve documentation of 'describe-mode'.
13343 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
13345 Fix submake dependency bug with .h files
13346 * src/Makefile.in ($(libsrc)/make-docfile$(EXEEXT)):
13347 Depend on $(lib)/libgnu.a, so that we build $(lib)/*/*.h
13348 before the submake in $(libsrc) would spin off a subsubmake
13349 for $(lib) in parallel with our submake for $(lib) (Bug#20894).
13351 2015-06-25 Artur Malabarba <bruce.connor.am@gmail.com>
13353 * lisp/character-fold.el (character-fold-table): Reuse `table'.
13355 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
13357 Translate undisplayable ‘ to `
13358 * doc/lispref/help.texi (Keys in Documentation):
13359 * lisp/international/mule-cmds.el (set-locale-environment):
13360 * lisp/term/w32console.el (terminal-init-w32console):
13361 * src/doc.c (Fsubstitute_command_keys, Vhelp_quote_translation):
13362 If ‘ is not displayable, transliterate it to `, not to '. See:
13363 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00542.html
13365 Fix C99 incompatibilities in Cairo code
13366 * src/image.c (xpm_load) [USE_CAIRO]:
13367 * src/xterm.c (x_cr_accumulate_data) [USE_CAIRO]:
13368 Fix pointer signedness problem.
13370 2015-06-25 Oleh Krehel <ohwoeowho@gmail.com>
13372 lisp/emacs-lisp/cl-indent.el: Fix indent of with-output-to-string
13373 * lisp/emacs-lisp/cl-indent.el (common-lisp-indent-function):
13374 `with-output-to-string' should have the same indent as `progn'.
13375 This is in line with the declaration of `with-output-to-string'.
13377 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
13379 Get ‘./configure; make -C src emacs’ to work
13380 Without this fix, lib/fcntl.h isn't built in time (Bug#20894).
13381 * lib-src/Makefile.in (../lib/libgnu.a):
13382 * src/Makefile.in ($(lib)/libgnu.a): Build all, not libgnu.a.
13384 2015-06-24 Paul Eggert <eggert@cs.ucla.edu>
13386 Fix GC bugs --with-wide-int and Qnil == 0
13387 Use the same alignment for the !USE_LSB_TAG case as for the
13388 more-typical USE_LSB_TAG case. The attempt to support arbitrary
13389 alignments with !USE_LSB_TAG had subtle bugs in garbage collection
13390 once we changed the representation of symbols so that Qnil == 0.
13391 Problem reported by Eli Zaretskii (Bug#20862).
13392 * src/alloc.c (XMALLOC_HEADER_ALIGNMENT) [XMALLOC_OVERRUN_CHECK]:
13393 * src/alloc.c (vector_alignment, union aligned_Lisp_Symbol)
13394 (union aligned_Lisp_Misc, maybe_lisp_pointer, pure_alloc):
13395 Use same alignment for !USE_LSB_TAG as for USE_LSB_TAG.
13396 * src/alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS): Remove.
13397 This optimization in the !USE_LSB_TAG case is no longer valid when
13398 symbols are represented via offsets. Change the only use to
13399 assume that pointers might hide in objects.
13400 * src/lisp.h (alignas) [!USE_LSB_TAG]:
13401 Require support in this case, too.
13402 (TAG_SYMOFFSET, XSYMBOL) [!USE_LSB_TAG]: Do not shift the offset.
13403 This is OK, because the !USE_LSB_TAG case now applies only when
13404 Lisp_Object is wider than void *, so there's no longer any need
13405 to shift the offset. Not shifting the offset means that
13406 symbol representations have the same alignment as pointers,
13407 which the GC assumes.
13409 2015-06-24 Xue Fuqiao <xfq.free@gmail.com>
13411 * doc/lispintro/emacs-lisp-intro.texi (Data types):
13412 Improve documentation of 'substring'.
13414 2015-06-24 Artur Malabarba <bruce.connor.am@gmail.com>
13416 * lisp/character-fold.el (character-fold-table): Fix table generation.
13418 2015-06-24 Glenn Morris <rgm@gnu.org>
13420 * nextstep/Makefile.in (all): Make it the first target.
13421 (../src/emacs${EXEEXT}): Add rule for making it.
13423 2015-06-24 Artur Malabarba <bruce.connor.am@gmail.com>
13425 * etc/NEWS: Fix mention to old function name.
13427 * lisp/character-fold.el: New file (Bug#20887)
13428 (character-fold-to-regexp): New function.
13429 * lisp/replace.el (replace-search): Check value of
13430 `character-fold-search'.
13431 * lisp/isearch.el: Move character-folding code to
13433 (isearch-toggle-character-fold): New command.
13434 (isearch-mode-map): Bind it to "\M-sf".
13435 (isearch-mode): Check value of `character-fold-search'.
13437 2015-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
13439 lisp/subr.el (remove-from-invisibility-spec): Handle the t case
13440 * lisp/subr.el (remove-from-invisibility-spec): Make sure `element'
13441 is visible even if it's not yet in buffer-invisibility-spec (bug#20468).
13443 * lisp/progmodes/xref.el (xref-location-group, xref-location-marker)
13444 (xref--insert-xrefs, xref-collect-references): Avoid init-args in oref.
13446 2015-06-24 Glenn Morris <rgm@gnu.org>
13448 * Makefile.in (install-arch-dep): Don't set sticky bit on the binary.
13450 2015-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
13452 lisp/gnus/nnmaildir.el: Silence lexical warnings
13453 * lisp/gnus/nnmaildir.el (nnmaildir--prepare): Use a more
13455 (nnmaildir--update-nov): Remove unused var `numdir'.
13456 (nnmaildir-request-type, nnmaildir--scan, nnmaildir-request-newgroups)
13457 (nnmaildir-request-group, nnmaildir-request-create-group)
13458 (nnmaildir-request-post, nnmaildir-request-move-article)
13459 (nnmaildir-request-accept-article, nnmaildir-active-number):
13461 (nnmaildir-get-new-mail, nnmaildir-group-alist)
13462 (nnmaildir-active-file): Declare.
13463 (nnmaildir-request-scan): Remove unused vars `group' and `grp-dir'.
13464 (nnmaildir-request-update-info): Remove unused vars `dotfile', `num',
13465 `mark', `end', `new-mark', and `mark-sym'.
13466 (nnmaildir-retrieve-headers): Remove unused args `srv-dir', `dir',
13468 (nnmaildir-request-expire-articles):
13469 Remove unused vars `article', `stop' and `nlist2'.
13470 (nnmaildir-request-set-mark): Remove unused vars `begin', `article' and
13471 `end'. Use nnmaildir--article when dyn-binding is needed.
13472 Give the value directly in the `let' for `del-mark', `del-action',
13473 `add-action', and `set-action'. Don't use `add-to-list' on a local var.
13474 (nnmaildir-close-server): Declare those local vars that need to be
13477 2015-06-24 Paul Eggert <eggert@cs.ucla.edu>
13479 * src/keyboard.h (kbd_buffer_store_event_hold): Remove unused local.
13481 Port selection info fix to clang
13482 * src/keyboard.h (kbd_buffer_store_event_hold):
13483 Don't assume C11 semantics for alignof (Bug#20756).
13485 Fix bug that munged selection info
13486 On some optimizing C compilers, copying a structure did not
13487 copy the padding bytes between elements, and the type punning
13488 between struct input_data and struct selection_input_data did
13489 not work. Change the C code to use a proper union type instead.
13490 Problem reported by YAMAMOTO Mitsuharu (Bug#20756).
13491 * src/keyboard.c (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr)
13492 (readable_events, discard_mouse_events, kbd_buffer_events_waiting)
13493 (kbd_buffer_get_event, process_special_events, stuff_buffered_input)
13495 Use union buffered_input_event, not struct input_event.
13496 (clear_event, deliver_input_available_signal, process_special_events):
13497 Remove unnecessary forward decls.
13498 (kbd_buffer_store_buffered_event): New function, mostly just the
13499 old kbd_buffer_store_event_hold, except its argument is of type
13500 union buffered_input_event, not struct input_event.
13501 (kbd_buffer_unget_event): Define only if HAVE_X11, since it's
13502 not needed otherwise. Argument is now of type
13503 struct selection_input_event *, not struct input_event *.
13504 All callers changed.
13505 (clear_event): Arg is now of type union buffered_input_event *,
13506 not struct input_event *. All callers changed.
13507 * src/keyboard.h [HAVE_X11]: Include "xterm.h".
13508 (union buffered_input_event): New type.
13509 (kbd_buffer_store_event_hold): Now an inline function,
13511 * src/termhooks.h (EVENT_KIND_WIDTH): New constant.
13512 (struct input_event): Use it.
13513 * src/xselect.c (struct selection_event_queue):
13514 Make elements be of type struct selection_input_event,
13515 not struct input_event.
13516 (selection_input_event_equal): New static function.
13517 (x_queue_event): Use it.
13518 (x_queue_event, x_decline_selection_request)
13519 (x_selection_current_request, x_reply_selection_request)
13520 (x_handle_selection_request, x_handle_selection_clear)
13521 (x_handle_selection_event): Use struct selection_input_event,
13522 not struct input_event. All callers changed.
13523 (x_convert_selection): Omit unused first arg. All callers changed.
13524 (Fx_disown_selection_internal): Omit unnecessary union.
13525 * src/xterm.c (handle_one_xevent): Use new union buffered_input_event
13526 rather than rolling our own equivalent. Prefer sie.kind when
13527 setting up that kind of structure.
13528 Call kbd_buffer_store_buffered_event, not kbd_buffer_store_event_hold.
13529 * src/xterm.h (struct selection_input_event: Use EVENT_KIND_WIDTH.
13530 (SELECTION_EVENT_DISPLAY, SELECTION_EVENT_DPYINFO)
13531 (SELECTION_EVENT_REQUESTOR, SELECTION_EVENT_SELECTION)
13532 (SELECTION_EVENT_TARGET, SELECTION_EVENT_PROPERTY)
13533 (SELECTION_EVENT_TIME, x_handle_selection_event):
13534 Arg is now of type struct selection_input_event *)
13535 not struct input_event *. All callers changed.
13537 2015-06-23 Glenn Morris <rgm@gnu.org>
13539 * Makefile.in (install-arch-dep): Simplify with Make conditionals.
13541 2015-06-23 Artur Malabarba <bruce.connor.am@gmail.com>
13543 * lisp/isearch.el: Fold many unicode characters to ASCII.
13544 (isearch-character-fold-search, isearch--character-fold-extras)
13545 (isearch--character-fold-table): New variable.
13546 (isearch--character-folded-regexp): New function.
13547 (isearch-search-fun-default): Use them.
13548 * lisp/replace.el (replace-character-fold): New variable.
13549 (replace-search): Use it.
13550 * etc/NEWS: Document it.
13552 2015-06-23 Glenn Morris <rgm@gnu.org>
13554 Check for an input event before showing a dialog box. (Bug#20813)
13555 * lisp/subr.el (y-or-n-p):
13556 * src/fns.c (Fyes_or_no_p): Check last-input-event as well
13557 as last-nonmenu-event.
13559 2015-06-23 Jürgen Hartmann <juergen_hartman_@hotmail.com> (tiny change)
13561 Respect ‘switch-to-visible-buffer’ more rigidly. (Bug#20861)
13562 * lisp/window.el (switch-to-visible-buffer): Doc adjustment.
13563 (switch-to-prev-buffer, switch-to-next-buffer): Respect
13564 switch-to-visible-buffer independent of the windows history.
13566 2015-06-23 Paul Eggert <eggert@cs.ucla.edu>
13568 * src/keyboard.c (last_timer_event): Remove unused var.
13570 2015-06-23 Artur Malabarba <bruce.connor.am@gmail.com>
13572 * test/automated/package-test.el (package-test-update-listing):
13575 2015-06-23 Glenn Morris <rgm@gnu.org>
13577 Revert 2014-06-25 nextstep/Makefile change.
13578 * nextstep/Makefile.in (${ns_appbindir}): Remove rule.
13579 (${ns_appbindir}/Emacs, links): Create ns_appbindir in the rule,
13580 not as an order-only prerequisite.
13582 * configure.ac (--with-ns): Enable by default on OS X.
13584 2015-06-23 Leo Liu <sdl.web@gmail.com>
13586 Fix shell-for/backward-command to exclude spaces
13587 * lisp/shell.el (shell-forward-command, shell-backward-command):
13588 Handle the 'move case from re-search-forward/backward.
13589 fixes debbugs:20873
13591 2015-06-22 Juri Linkov <juri@linkov.net>
13593 * lisp/replace.el (query-replace-read-from): Add separator to
13594 the local binding of text-property-default-nonsticky. (Bug#20690)
13596 * lisp/simple.el (shell-command-on-region): Replace 'error' with 'user-error'.
13599 2015-06-22 Ken Brown <kbrown@cornell.edu>
13601 Enable CPU profiling on Cygwin
13602 * src/syssignal.h [CYGWIN] (PROFILER_CPU_SUPPORT): Revert previous
13603 change that undefined this.
13604 (SIGEV_SIGNAL): Ensure that this is defined as a macro.
13605 * src/profiler.c [CYGWIN] (timer_getoverrun): Define as a macro on
13608 Improve diagnostics of profiler-cpu-start
13609 * src/profiler.c (setup_cpu_timer): Change return type to 'int';
13610 return -1 if the sampling interval is invalid.
13611 (Fprofiler_cpu_start): Improve error message if 'setup_cpu_timer'
13614 2015-06-22 Artur Malabarba <bruce.connor.am@gmail.com>
13616 * lisp/emacs-lisp/package.el: Exclude packages by name.
13617 (package-hidden-regexps): New variable.
13618 (package-menu--refresh): Use it.
13619 (package-menu-hide-package): New command.
13621 * lisp/emacs-lisp/package.el: Rename hide-obsolete to toggle-hiding.
13623 2015-06-22 Eli Zaretskii <eliz@gnu.org>
13625 Fix debug-timer-check on systems without HAVE_TIMERFD
13626 * src/atimer.c (Fdebug_timer_check) [!HAVE_TIMERFD]: Actively run
13627 the expired timers, since wait_reading_process_output doesn't.
13628 (debug_timer_callback): Enlarge the tolerance to 20 msec.
13630 Fix RCS crashes in vc-test
13631 * lisp/vc/vc-rcs.el (vc-rcs-register): Avoid crashes with some old
13632 ports of 'ci' on MS-Windows by always passing the -t- switch.
13634 2015-06-22 Glenn Morris <rgm@gnu.org>
13636 * doc/emacs/package.texi (Packages):
13637 * doc/emacs/trouble.texi (Known Problems): Remove faq cross-references.
13639 * doc/misc/efaq-w32.texi (Downloading): Copyedits. (Bug#20851)
13641 2015-06-22 Paul Eggert <eggert@cs.ucla.edu>
13643 Port tests to help-quote-translation
13644 * test/automated/ert-x-tests.el (ert-test-describe-test):
13645 * test/automated/package-test.el (package-test-describe-package)
13646 (package-test-signed): Allow straight quotes, too.
13648 2015-06-22 Dmitry Gutov <dgutov@yandex.ru>
13650 Make find-function-on-key use the current window
13651 * lisp/emacs-lisp/find-func.el (find-function-on-key-do-it):
13652 Extract from `find-function-on-key', add a second argument.
13653 (find-function-on-key): Use it (bug#19679).
13654 (find-function-on-key-other-window)
13655 (find-function-on-key-other-frame): New commands.
13657 2015-06-21 Nicolas Petton <nicolas@petton.fr>
13659 Revert "Define `map-elt' as a generalized variable"
13660 This reverts commit 8b6d82d3ca86f76ed964063b3941a7c6ab0bf1c6.
13662 2015-06-21 Ken Brown <kbrown@cornell.edu>
13664 Drop support for CPU profiling on Cygwin
13665 * src/syssignal.h (PROFILER_CPU_SUPPORT): Don't define on Cygwin.
13668 2015-06-21 Paul Eggert <eggert@cs.ucla.edu>
13670 Fix some “nested” quoting confusion in doc strings
13671 * lisp/emacs-lisp/advice.el (ad-map-arglists):
13672 * lisp/kermit.el (kermit-clean-on):
13673 * lisp/mh-e/mh-comp.el (mh-repl-group-formfile):
13674 * src/keyboard.c (Frecursive_edit):
13675 Use curved quotes when quoting text containing apostrophe,
13676 so that the apostrophe isn't curved in the output.
13678 2015-06-21 Nicolas Petton <nicolas@petton.fr>
13680 Define `map-elt' as a generalized variable
13681 * lisp/emacs-lisp/map.el (map-elt): Define a gv-expander.
13682 * lisp/emacs-lisp/map.el (map--dispatch): Tighten the code.
13683 * lisp/emacs-lisp/map.el (map-put): Redefine it as a function using a
13684 `setf' with `map-elt'.
13685 * test/automated/map-tests.el: Comment out `test-map-put-literal'.
13687 2015-06-21 Michael Albinus <michael.albinus@gmx.de>
13689 Improve error handling in tramp-adb.el
13690 * lisp/net/tramp-adb.el (tramp-adb-handle-file-local-copy):
13691 Improve error handling.
13693 2015-06-21 Nicolas Petton <nicolas@petton.fr>
13695 Reuse `alist-get' in map.el
13696 * lisp/emacs-lisp/map.el (map-elt): Use `alist-get' to retrieve alist
13699 2015-06-21 Eli Zaretskii <eliz@gnu.org>
13701 Fix bytecomp-tests--warnings when $TMPDIR has a long name
13702 * test/automated/bytecomp-tests.el (bytecomp-tests--warnings):
13703 Allow the warning to begin on the 3rd, not only 2nd line, which
13704 happens if temporary-file-directory has a very long name.
13706 Expect 2 icalendar tests to fail on MS-Windows
13707 * test/automated/icalendar-tests.el (icalendar-import-with-timezone)
13708 (icalendar-real-world): Make them expected failures on MS-Windows.
13710 2015-06-20 Paul Eggert <eggert@cs.ucla.edu>
13712 Improve port of settings UI to older displays
13713 * lisp/cus-start.el (standard): Don't assume curved quotes are
13714 easily distinguishable when users are tinkering with a setting
13715 that affects how curved quotes are generated.
13717 Fix quoting in electric-quote-mode doc string
13718 * lisp/electric.el (electric-quote-mode): Fix quoting.
13719 This is a fallout from the recent change introducing
13720 ‘help-quote-translation’.
13724 * doc/misc/texinfo.tex, lib/set-permissions.c: Merge from gnulib.
13726 * src/doc.c (syms_of_doc): Remove unused symbols.
13728 2015-06-20 Martin Rudalics <rudalics@gmx.at>
13730 * lisp/window.el (window-state-put): Undedicate target window
13731 before putting STATE into it. (Bug#20848)
13733 2015-06-19 Paul Eggert <eggert@cs.ucla.edu>
13735 Merge from origin/emacs-24
13736 a5e6f33 Fixes: debbugs:20832
13737 b9f02cf Fixes: debbugs:20832
13739 2015-06-19 Eli Zaretskii <eliz@gnu.org>
13741 Fix file-in-directory-p when the directory is UNC
13742 * lisp/files.el (file-in-directory-p): Support files and
13743 directories that begin with "//". (Bug#20844)
13745 2015-06-19 Stephen Berman <stephen.berman@gmx.net>
13747 * lisp/calendar/todo-mode.el (todo-show): Don't visit todo file
13748 in the minibuffer. (Bug#20832)
13750 2015-06-19 Nicolas Richard <youngfrog@members.fsf.org>
13752 * lisp/calendar/todo-mode.el (todo-show): Signal an error if buffer
13753 for adding new todo file is empty but modified. (Bug#20832)
13755 2015-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
13757 (filepos-to-bufferpos): Further tweaks to the utf-16 code
13758 * lisp/international/mule-util.el (filepos-to-bufferpos):
13759 Fix typo. Move non-exact check to the utf-16 branch (the only one
13760 affected). Don't use byte-to-position for the utf-16 case.
13762 2015-06-19 Eli Zaretskii <eliz@gnu.org>
13764 Minor fixes in filepos-to-bufferpos
13765 * lisp/international/mule-util.el (filepos-to-bufferpos): Remove
13766 test for utf-8-emacs. Exempt single-byte encodings from the
13767 'use-exact' path when QUALITY is 'exact'. Test UTF-16 encodings
13768 for BOM before subtracting 2 bytes. Use 'identity' when adjusting
13769 UTF-16 encoded files for CR-LF EOLs.
13771 2015-06-19 Paul Eggert <eggert@cs.ucla.edu>
13773 Improve the optional translation of quotes
13774 Fix several problems with the recently-added custom variable
13775 help-quote-translation where the code would quote inconsistently
13776 in help buffers. Add support for quoting 'like this', which
13777 is common in other GNU programs in ASCII environments. Change
13778 help-quote-translation to use more mnemonic values: values are now the
13779 initial quoting char, e.g., (setq help-quote-translation ?`) gets the
13780 traditional Emacs help-buffer quoting style `like this'. Change the
13781 default behavior of substitute-command-keys to match what's done in
13782 set-locale-environment, i.e., quote ‘like this’ if displayable,
13783 'like this' otherwise.
13784 * doc/lispref/help.texi (Keys in Documentation): Document
13785 new behavior of substitute-command-keys, and document
13786 help-quote-translation.
13787 * doc/lispref/tips.texi (Documentation Tips):
13788 Mention the effect of help-quote-translation.
13789 * etc/NEWS: Mention new behavior of substitute-command-keys,
13790 and merge help-quote-translation news into it.
13791 When talking about doc strings, mention new ways to type quotes.
13792 * lisp/cedet/mode-local.el (overload-docstring-extension):
13793 Revert my recent change to this function, which shouldn't be
13794 needed as the result is a doc string.
13795 * lisp/cedet/mode-local.el (mode-local-print-binding)
13796 (mode-local-describe-bindings-2):
13797 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
13798 * lisp/cus-theme.el (describe-theme-1):
13799 * lisp/descr-text.el (describe-text-properties-1, describe-char):
13800 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
13801 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
13802 (eieio-help-constructor):
13803 * lisp/emacs-lisp/package.el (describe-package-1):
13804 * lisp/faces.el (describe-face):
13805 * lisp/help-fns.el (help-fns--key-bindings)
13806 (help-fns--compiler-macro, help-fns--parent-mode)
13807 (help-fns--obsolete, help-fns--interactive-only)
13808 (describe-function-1, describe-variable):
13809 * lisp/help.el (describe-mode):
13810 Use substitute-command-keys to ensure a more-consistent quoting
13811 style in help buffers.
13812 * lisp/cus-start.el (standard):
13813 Document new help-quote-translation behavior.
13814 * lisp/emacs-lisp/lisp-mode.el (lisp-fdefs):
13815 * lisp/help-mode.el (help-xref-symbol-regexp, help-xref-info-regexp)
13816 (help-xref-url-regexp):
13817 * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
13818 * lisp/wid-edit.el (widget-documentation-link-regexp):
13819 Also match 'foo', in case we're in a help buffer generated when
13820 help-quote-translation is ?'.
13821 * src/doc.c: Include disptab.h, for DISP_CHAR_VECTOR.
13822 (LEFT_SINGLE_QUOTATION_MARK, uLSQM0, uLSQM1, uLSQM2, uRSQM0)
13823 (uRSQM1, uRSQM2, LSQM, RSQM): New constants.
13824 (Fsubstitute_command_keys): Document and implement new behavior.
13825 (Vhelp_quote_translation): Document new behavior.
13827 2015-06-18 Glenn Morris <rgm@gnu.org>
13829 * lisp/cus-start.el (help-quote-translation): Add :version.
13831 * src/doc.c (Fsubstitute_command_keys): Make previous change compile.
13833 2015-06-18 Alan Mackenzie <acm@muc.de>
13835 Make translation of quotes to curly in doc strings optional.
13836 * src/doc.c (traditional, prefer-unicode): New symbols.
13837 (help-quote-translation): New variable.
13838 (Fsubstitute_command_keys): Make translation of quotes dependent on
13839 `help-quote-translation'; also translate curly quotes back to ASCII
13841 * lisp/cus-start.el (top-level): Add a customization entry for
13842 `help-quote-translation'.
13844 2015-06-18 Artur Malabarba <bruce.connor.am@gmail.com>
13846 * lisp/emacs-lisp/package.el: Don't always propagate async errors
13847 (package--with-work-buffer-async): Only propagate the error if the
13848 callback returns non-nil.
13849 (package--download-one-archive): Return nil on the signature
13850 checking callback if we accept unsigned.
13851 (package--download-and-read-archives): Return non-nil on the
13852 archive download callback.
13854 2015-06-18 Martin Rudalics <rudalics@gmx.at>
13856 Set image_cache_refcount before x_default_parameter calls. (Bug#20802)
13857 * src/nsfns.m (Fx_create_frame):
13858 * src/xfns.c (Fx_create_frame, x_create_tip_frame): Move setting
13859 image_cache_refcount before first x_default_parameter call.
13861 2015-06-18 Eli Zaretskii <eliz@gnu.org>
13863 Improve and extend filepos-to-bufferpos
13864 * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
13865 Don't barf if F returns nil for some argument.
13866 (filepos-to-bufferpos): Expand to support UTF-16 and not assume
13867 that every encoding of type 'charset' is single-byte.
13869 2015-06-18 Artur Malabarba <bruce.connor.am@gmail.com>
13871 * lisp/emacs-lisp/package.el (package-menu--perform-transaction):
13872 Properly delete packages. (Bug#20836)
13874 2015-06-18 Eli Zaretskii <eliz@gnu.org>
13876 Update data files from just-released Unicode 8.0
13877 * etc/NEWS: Update wording since Unicode 8.0 is no longer in draft
13879 * test/BidiCharacterTest.txt: Update from Unicode 8.0.
13880 * admin/unidata/BidiMirroring.txt:
13881 * admin/unidata/BidiBrackets.txt:
13882 * admin/unidata/UnicodeData.txt: Update from Unicode 8.0.
13884 2015-06-18 Paul Eggert <eggert@cs.ucla.edu>
13886 Document curved quotes a bit better
13887 * doc/emacs/basic.texi (Inserting Text):
13888 Mention C-x 8. Change example to use curved quote rather
13889 than infinity, as this lets us give more ways to do it.
13890 * doc/emacs/mule.texi (International Chars): Mention C-x 8 shortcuts
13891 and quotation marks.
13892 * doc/emacs/text.texi (Quotation Marks):
13893 * doc/lispref/tips.texi (Documentation Tips):
13894 Add "curly quotes" and "curved quotes" to the index.
13895 * doc/emacs/text.texi (Quotation Marks):
13896 Give the C-x 8 shorthands for curved quotes.
13897 Cross-reference to "Quotation Marks".
13899 2015-06-17 Daiki Ueno <ueno@gnu.org>
13901 Add pinentry.el for better GnuPG integration
13902 * lisp/pinentry.el: New file.
13903 * etc/NEWS: Add entry about pinentry.el.
13904 * lisp/epg.el (epg--start): Set INSIDE_EMACS envvar.
13907 2015-06-17 Artur Malabarba <bruce.connor.am@gmail.com>
13909 * lisp/emacs-lisp/package.el: Slightly better error reporting.
13911 2015-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13913 (define-minor-mode): Use setq-default for :global minor modes
13914 * lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
13915 Use setq-default for :global minor modes (bug#20712).
13917 2015-06-17 Eli Zaretskii <eliz@gnu.org>
13919 Avoid infloop in redisplay with tall images
13920 * src/xdisp.c (try_scrolling): Prevent an infloop when scrolling
13921 down near ZV. (Bug#20808)
13922 Call bidi_unshelve_cache to avoid memory leaks. Use IT_CHARPOS
13923 instead of CHARPOS.
13925 2015-06-17 Artur Malabarba <bruce.connor.am@gmail.com>
13927 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
13928 Fix error reporting.
13930 * lisp/let-alist.el: Move to lisp/emacs-lisp/let-alist.el
13932 * lisp/emacs-lisp/package.el: Revert buffer after any operation
13933 Call `package-menu--post-refresh' after any operation that changes
13934 the package database (`package-install' and `package-delete'). To
13935 avoid performance issues in large transactions, these functions
13936 add `post-refresh' to `post-command-hook' instead of calling it
13938 (package-menu--mark-or-notify-upgrades): New function.
13939 (list-packages): Add it to `package--post-download-archives-hook'.
13940 (package-menu--post-refresh): Lose the upgrade-checking code, add
13941 code to remove itself from `post-command-hook'.
13942 (package-install, package-delete): Add it to `post-command-hook'.
13943 (package-menu-execute): Don't call `package-menu--post-refresh'.
13945 2015-06-17 Stephen Leake <stephen_leake@stephe-leake.org>
13947 Add missing function xref-location-group for elisp-mode.
13948 * lisp/progmodes/elisp-mode.el: Add missing function xref-location-group.
13950 2015-06-17 Wolfgang Jenkner <wjenkner@inode.at>
13952 * src/editfns.c (Fbyte_to_position): Fix bytepos not at char boundary.
13953 The behavior now matches the description in the manual. (Bug#20783)
13955 2015-06-17 Xue Fuqiao <xfq.free@gmail.com>
13957 * etc/tutorials/TUTORIAL.cn: Update; synchronize with TUTORIAL.
13959 2015-06-17 Glenn Morris <rgm@gnu.org>
13961 Generate char-script-table from Unicode source. (Bug#20789)
13962 * admin/unidata/Makefile.in (AWK): New, set by configure.
13963 (all): Add charscript.el.
13964 (blocks): New variable.
13965 (charscript.el, ${unidir}/charscript.el): New targets.
13966 (extraclean): Also remove generated charscript.el.
13967 * admin/unidata/blocks.awk: New script.
13968 * admin/unidata/Blocks.txt: New data file, from unicode.org.
13969 * lisp/international/characters.el: Load charscript.
13970 * src/Makefile.in (charscript): New variable.
13971 (${charscript}): New target.
13972 (${lispintdir}/characters.elc): Depend on charscript.elc.
13973 (temacs$(EXEEXT)): Depend on charscript.
13975 * lisp/international/characters.el (char-script-table): Tweak
13976 some ranges to better match the source. (Bug#20789#17)
13978 Remove "no-byte-compile: t" from a few files.
13979 * lisp/obsolete/bruce.el, lisp/obsolete/keyswap.el:
13980 * lisp/obsolete/patcomp.el: No reason not to compile these.
13982 2015-06-16 Glenn Morris <rgm@gnu.org>
13984 Fix some typos in copied Unicode data. (Bug#20789)
13985 * lisp/international/characters.el (char-script-table):
13986 * lisp/international/fontset.el (script-representative-chars)
13987 (setup-default-fontset): Fix typos.
13989 * lisp/emacs-lisp/check-declare.el (check-declare-warn):
13990 Don't print filename twice (it's in the prefix now).
13992 * lisp/emacs-lisp/pcase.el (pcase--u1): Revert earlier workaround.
13995 Address a compilation warning.
13996 * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defalias):
13997 Replace 't' with '_' in pcase.
13999 Address some check-declare warnings.
14000 * lisp/simple.el (tabulated-list-print):
14001 * lisp/progmodes/elisp-mode.el (xref-collect-matches):
14002 * lisp/term/ns-win.el (ns-selection-owner-p, ns-selection-exists-p)
14003 (ns-get-selection): Update declarations.
14005 Address some compilation warnings.
14006 * lisp/elec-pair.el (electric-pair-post-self-insert-function):
14007 * lisp/vc/vc-git.el (vc-git-file-type-as-string):
14008 Replace 't' with '_' in pcase.
14010 Address some compilation warnings.
14011 * lisp/face-remap.el (text-scale-adjust):
14012 * lisp/menu-bar.el (popup-menu-normalize-position):
14013 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand):
14014 * lisp/emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14015 * lisp/emacs-lisp/generator.el (cps--transform-1):
14016 * lisp/emacs-lisp/macroexp.el (macroexp--expand-all):
14017 * lisp/obsolete/vc-arch.el (vc-arch-mode-line-string):
14018 * lisp/progmodes/octave.el (octave-goto-function-definition)
14019 (octave-find-definition-default-filename):
14020 Replace 't' with '_' in pcase.
14022 * lisp/emacs-lisp/pcase.el (pcase--u1):
14023 Paper-over today's bootstrap failure.
14025 2015-06-16 Nicolas Petton <nicolas@petton.fr>
14027 * lisp/emacs-lisp/seq.el: Fix a byte-compiler warnings related to pcase.
14029 * lisp/emacs-lisp/map.el (map-into): Fix a byte-compiler warning.
14031 Better confirmation message in `find-alternate-file' (Bug#20830)
14032 * lisp/files.el (find-alternate-file'): Improve the confirmation
14033 message to show the buffer name.
14035 Better docstring for null. (Bug#20815)
14036 * src/data.c (null): Improves the docstring, saying what null returns
14037 when OBJECT is non-nil.
14039 2015-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
14041 * lisp/net/newst-treeview.el: Use lexical-binding.
14043 (filepos-to-bufferpos): Add missing cases. Make sure it terminates.
14044 * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
14045 New auxiliary function, extracted from filepos-to-bufferpos.
14046 Make sure it terminates.
14047 (filepos-to-bufferpos): Use it to fix the latin-1-dos case.
14048 Add support for the `exact' quality.
14050 2015-06-16 Cédric Chépied <cedric.chepied@gmail.com>
14052 Identify feeds in newsticker treeview with :nt-feed property
14053 * lisp/net/newst-treeview.el:
14054 (newsticker--treeview-nodes-eq): Use property :nt-feed instead of :tag.
14056 2015-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
14058 * lisp/emacs-lisp/pcase.el: Improve docs and error handling.
14059 (pcase--self-quoting-p): Floats aren't self-quoting.
14060 (pcase): Tweak docstring.
14061 (pcase--u1): Deprecate the t pattern. Improve error detection for
14063 (\`): Tweak docstring. Signal an error for unrecognized cases.
14066 2015-06-16 Eli Zaretskii <eliz@gnu.org>
14068 Fix infloop in filepos-to-bufferpos
14069 * lisp/international/mule-util.el (filepos-to-bufferpos): Fix EOL
14070 offset calculation, and make it conditional on the eol-type of the
14071 file's encoding. (Bug#20825)
14073 2015-06-16 Martin Rudalics <rudalics@gmx.at>
14075 Fix handling of image cache refcounts. (Bug#20802)
14076 This backports Eli Zaretskii's solution of this problem for W32
14078 * src/nsfns.m (image_cache_refcount): Define unconditionally.
14079 (unwind_create_frame): If the image cache's reference count
14080 hasn't been updated yet, do that now.
14081 (Fx_create_frame): Set image_cache_refcount unconditionally.
14082 * src/xfns.c (image_cache_refcount): Define unconditionally.
14083 (unwind_create_frame): If the image cache's reference count
14084 hasn't been updated yet, do that now.
14085 (Fx_create_frame, x_create_tip_frame): Set image_cache_refcount
14087 * src/w32fns.c (image_cache_refcount): Make it a ptrdiff_t as on
14090 2015-06-16 Nils Ackermann <nils@ackermath.info>
14092 Improve reftex-label-regexps default value
14093 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Make
14094 keyvals label regexp more strict to better cope with unbalanced
14095 brackets common in math documents.
14097 2015-06-16 Glenn Morris <rgm@gnu.org>
14099 * doc/emacs/calendar.texi (Format of Diary File):
14100 Move "nonmarking" from here...
14101 (Displaying the Diary): ... to here.
14103 * doc/emacs/calendar.texi (Format of Diary File, Displaying the Diary):
14104 Swap the order of these nodes.
14105 * doc/emacs/emacs.texi: Update detailed menu for the above change.
14107 * doc/emacs/calendar.texi (Specified Dates, Special Diary Entries):
14108 Update date of examples.
14109 (Diary, Format of Diary File): Move example from former to latter.
14110 Reduce duplication.
14112 No need for cp51932.el, eucjp-ms.el to not be compiled any more.
14113 * admin/charsets/cp51932.awk, admin/charsets/eucjp-ms.awk:
14114 Don't set no-byte-compile in the outputs.
14115 * lisp/loadup.el: Don't specify uncompiled cp51932, eucjp-ms.
14117 2015-06-15 Glenn Morris <rgm@gnu.org>
14119 * lisp/calendar/calendar.el (diary-file): Use locate-user-emacs-file.
14120 * doc/emacs/calendar.texi (Diary, Format of Diary File):
14121 Update for above diary-file change.
14123 * lisp/macros.el (name-last-kbd-macro, kbd-macro-query)
14124 (apply-macro-to-region-lines): Use user-error.
14126 * lisp/textmodes/page-ext.el (add-new-page, pages-directory)
14127 (pages-directory-for-addresses): Doc fixes.
14129 2015-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14131 * lisp/info.el: Cleanup bytepos/charpos issues
14132 * lisp/international/mule-util.el: Use lexical-binding.
14133 (filepos-to-bufferpos): New function.
14134 * lisp/info.el (Info-find-in-tag-table-1): Use 0-based file positions.
14135 (Info-find-node-2): Use filepos-to-bufferpos (bug#20704).
14136 (Info-read-subfile, Info-search): Use 0-based file positions.
14138 * lisp/progmodes/perl-mode.el: Refine handling of /re/ and y/abc/def/
14139 (perl--syntax-exp-intro-keywords): New var.
14140 (perl--syntax-exp-intro-regexp, perl-syntax-propertize-function): Use it.
14143 2015-06-15 Paul Eggert <eggert@cs.ucla.edu>
14145 Fix quoting when making derived mode docstring
14146 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
14147 Nest regexp-quote inside format, not the reverse.
14148 Problem reported by Artur Malabarba in:
14149 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00206.html
14151 2015-06-15 Eli Zaretskii <eliz@gnu.org>
14153 Fix current-iso639-language on MS-Windows
14154 * lisp/international/mule-cmds.el (set-locale-environment):
14155 Downcase the locale name before interning it. This is so the
14156 'current-iso639-language' on MS-Windows matches the ':lang'
14157 property of font-spec objects.
14159 Limit Symbola usage some more
14160 * lisp/international/fontset.el (setup-default-fontset): Limit
14161 Symbol coverage of Currency Symbols to u+20B6..u+20CF.
14164 2015-06-15 Nicolas Petton <nicolas@petton.fr>
14166 * lisp/emacs-lisp/map.el (map-let): Better docstring.
14168 2015-06-15 Paul Eggert <eggert@cs.ucla.edu>
14170 * test/automated/help-fns.el (abc\\\[universal-argument\]b\`c\'d\\e\"f):
14171 (help-fns-test-funny-names): Spelling fixes.
14173 2015-06-14 Glenn Morris <rgm@gnu.org>
14175 * lisp/version.el (emacs-repository-version-git): Demote errors.
14176 Check result is a hash.
14178 2015-06-14 Artur Malabarba <bruce.connor.am@gmail.com>
14180 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
14181 Catch errors that happen before going async. (Bug#20809)
14183 2015-06-14 Eli Zaretskii <eliz@gnu.org>
14185 Another improvement of documentation of set-fontset-font
14186 * doc/lispref/display.texi (Fontsets): Say explicitly that
14187 CHARACTER can be a single codepoint.
14188 * src/fontset.c (Fset_fontset_font): Doc fix.
14190 Another improvement for symbol and punctuation characters
14191 * lisp/international/fontset.el (setup-default-fontset): Exclude
14192 from Symbola character ranges for symbols and punctuation covered
14193 well by popular Unicode fonts. Prefer fixed-misc Unicode font, if
14194 installed and where its coverage of symbols and punctuation is
14195 known to be good. (Bug#20727)
14197 2015-06-14 Christoph Wedler <christoph.wedler@sap.com>
14199 Some generic support for multi-mode indentation.
14200 * lisp/progmodes/prog-mode.el (prog-indentation-context):
14202 (prog-first-column, prog-widen): New convenience functions.
14204 2015-06-14 Artur Malabarba <bruce.connor.am@gmail.com>
14206 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
14207 Don't assume that `tabulated-list-printer' will leave point at the
14208 end of the buffer. (Bug#20810)
14210 2015-06-13 Glenn Morris <rgm@gnu.org>
14212 Tweaks for getting repository version; a bit more like it was for bzr
14213 * lisp/version.el (emacs-repository-version-git)
14214 (emacs-repository--version-git-1): New functions,
14215 split from emacs-repository-get-version.
14216 (emacs-repository-get-version): Make the second argument meaningful.
14218 * lisp/startup.el (command-line-1): Inform if skipping relative
14219 file names due to deleted PWD.
14221 * src/xsmfns.c (x_session_initialize): Avoid libSM crash
14222 when starup directory is missing. (Bug#18851)
14223 (errno.h): Include it.
14225 2015-06-13 Paul Eggert <eggert@cs.ucla.edu>
14227 Better fix for documenting `X as "`X"
14228 Fix suggested by Stefan Monnier.
14229 * lisp/help-fns.el (help-fns--signature):
14230 Insert "`X", not "(\` X)", when documenting `X (Bug#20759).
14231 * lisp/help.el (help-split-fundoc, help--make-usage-docstring):
14232 Don't treat `X specially, as help-fns--signature now handles this.
14234 2015-06-13 Eli Zaretskii <eliz@gnu.org>
14236 Improve the default fontset when Symbola is not installed
14237 * lisp/international/fontset.el (setup-default-fontset): Only
14238 prepend Symbola and FreeMono font specs for symbols and
14239 punctuation; do not replace the default spec for them. This
14240 should have better results when Symbola/FreeMono are not
14241 installed. (Bug#20727)
14243 Improve documentation of ':lang' in font specs
14244 * src/font.c (Ffont_spec): Doc fix: elaborate on the values and
14245 use of the ':lang' property of the font spec.
14246 * doc/emacs/frames.texi (Fonts): Document the language names that
14247 can be in the STYLE part of XLFD.
14248 * doc/lispref/display.texi (Low-Level Font): Document the ':lang'
14251 * nt/README: Don't advertise the (obsolescent) w32 FAQ.
14253 * nt/README.W32: Don't advertise the (obsolescent) w32 FAQ.
14255 Revert last change in fontset.el
14256 * lisp/international/fontset.el (setup-default-fontset): Revert
14257 the change "Configure Symbola font only if installed", since font
14258 search is evidently not yet set up when this function is called.
14261 2015-06-12 Glenn Morris <rgm@gnu.org>
14263 Ensure early startup warnings are visible at the end. (Bug#20792)
14264 * lisp/emacs-lisp/warnings.el (display-warning):
14265 If startup isn't complete, delay the warning.
14266 * lisp/startup.el (normal-top-level, command-line):
14267 Let display-warning automatically handle the needed delays.
14268 Run delayed-warnings-hook.
14270 * lisp/version.el (emacs-repository-get-version):
14271 Avoid calling external executable if possible. (Bug#20799)
14273 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
14275 Document `X as "`X", not as "(` X)"
14276 * lisp/help.el (help-split-fundoc, help--make-usage-docstring):
14277 Document (backquote FOO) as "`FOO", not as "(` FOO)" (Bug#20759).
14279 * src/print.c (print_object): Minor simplification.
14281 2015-06-12 Glenn Morris <rgm@gnu.org>
14283 * src/buffer.c (init_buffer): Add final newline to message.
14285 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
14287 Configure Symbola font only if installed
14288 * lisp/international/fontset.el (setup-default-fontset):
14289 Don't specify the Symbola font if it's not installed.
14290 Likewise for FreeMono. (Bug#20727)
14292 2015-06-12 Eli Zaretskii <eliz@gnu.org>
14294 Configure Symbola font only for symbols and punctuation
14295 * lisp/international/fontset.el (setup-default-fontset): Leave
14296 only symbols and punctuation in the fontset setup for Symbola
14297 font; remove "Greek and Coptic" and "Cyrillic Supplement".
14300 2015-06-12 Andreas Schwab <schwab@linux-m68k.org>
14302 Fix crash in fontset-info
14303 * src/fontset.c (Ffontset_info): Check that the RFONT-DEF elt is
14306 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
14308 Port to Solaris 10 sparc + Sun C 5.13
14309 * configure.ac (SETUP_SLAVE_PTY) [sol2* | unixware]:
14310 Adjust to process.c change.
14311 * src/process.c (create_process): Declare volatile variables at
14312 top level of this function, so that they're less likely to be
14313 reused later in the function in the code executed by the vforked
14314 child. Do not declare locals used only in the vforked child, as
14315 they might share memory with locals still live in the parent.
14316 Instead, use the same variables in the child as in the parent.
14317 This works around a subtle bug that causes a garbage collector
14318 crash when Emacs is built with Sun C 5.13 sparc on Solaris 10.
14320 2015-06-12 Glenn Morris <rgm@gnu.org>
14322 * lisp/startup.el (normal-top-level): Don't let *Messages* get
14323 a nil default-directory.
14325 2015-06-11 Glenn Morris <rgm@gnu.org>
14327 * lisp/startup.el (normal-top-level): Use delay-warning. (Bug#20792)
14329 Some progress towards starting with PWD deleted. (Bug#18851)
14330 * src/buffer.c (init_buffer): Handle get_current_dir_name failures.
14331 * lisp/startup.el (normal-top-level, command-line-1):
14332 * lisp/minibuffer.el (read-file-name-default):
14333 Handle default-directory being nil.
14335 2015-06-11 Paul Eggert <eggert@cs.ucla.edu>
14337 Fix "not a tty" bug on Solaris 10
14338 * configure.ac (PTY_OPEN): Define to plain 'open'
14339 on SVR4-derived hosts, so that the O_CLOEXEC flag isn't set.
14340 * src/process.c (allocate_pty): Set the O_CLOEXEC flag after
14341 calling PTY_TTY_NAME_SPRINTF, for the benefit of SVR4-derived
14342 hosts that call grantpt which does its work via a setuid subcommand
14343 (Bug#19191, Bug#19927, Bug#20555, Bug#20686).
14344 Also, set O_CLOEXEC even if PTY_OPEN is not defined, since it
14345 seems relevant in that case too.
14347 2015-06-11 Juri Linkov <juri@linkov.net>
14349 * lisp/bindings.el (debug-ignored-errors): Add mark-inactive.
14350 * lisp/simple.el (kill-region): Replace 'error' with 'user-error'.
14353 2015-06-11 Glenn Morris <rgm@gnu.org>
14355 * lisp/international/characters.el (char-script-table): Fix typo.
14357 2015-06-11 Paul Eggert <eggert@cs.ucla.edu>
14359 Fix quoting of help for functions with odd names
14360 While investigating Bug#20759, I discovered other quoting problems:
14361 C-h f mishandled characters like backslash and quote in function names.
14362 This fix changes the behavior so that 'C-h f pcase RET' now
14363 generates "... (\` QPAT) ..." instead of "... (` QPAT) ...",
14364 because '(format "%S" '(` FOO))' returns "(\\` FOO)". A comment
14365 in src/lread.c's read1 function says that the backslash will be
14366 needed starting in Emacs 25, which implies that 'format' is
14367 correct and the old pcase documention was wrong to omit the backslash.
14368 * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
14369 * lisp/help-fns.el (help-fns--signature):
14370 * lisp/help.el (help-add-fundoc-usage):
14371 * lisp/progmodes/elisp-mode.el (elisp-function-argstring):
14372 Use help--make-usage-docstring rather than formatting
14374 * lisp/emacs-lisp/pcase.el (pcase--make-docstring):
14375 Return raw docstring.
14376 * lisp/help-fns.el (help-fns--signature): New arg RAW, to return
14377 raw docstring. Take more care to distinguish raw from cooked dstrings.
14378 (describe-function-1): Let help-fns--signature substitute
14380 * lisp/help.el (help--docstring-quote): New function.
14381 (help-split-fundoc): Use it, to quote funny characters more
14383 (help--make-usage): Rename from help-make-usage, since this
14384 should be private. Leave an obsolete alias for the old name.
14385 (help--make-usage-docstring): New function.
14386 * test/automated/help-fns.el (help-fns-test-funny-names): New test.
14388 2015-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
14390 * lisp/thingatpt.el (in-string-p): Revert last change,
14391 since in-string-p is not used in thingatpt.el but only from outside.
14392 Also, use lexical binding.
14394 2015-06-11 Artur Malabarba <bruce.connor.am@gmail.com>
14396 * lisp/let-alist.el (let-alist--deep-dot-search): Fix cons.
14397 * test/automated/let-alist.el (let-alist-cons): Test it.
14399 2015-06-11 Nicolas Richard <theonewiththeevillook@yahoo.fr>
14401 * src/syntax.c (Fbackward_prefix_chars): Reword docstring.
14403 2015-06-10 Glenn Morris <rgm@gnu.org>
14405 * build-aux/gitlog-to-emacslog: Also ignore pointless merge commits.
14407 Improve generated ChangeLog for gitmerge.el commits. (Bug#20717)
14408 * build-aux/gitlog-to-changelog: Handle gitmerge.el skipped commits.
14409 * admin/gitmerge.el (gitmerge-commit-message):
14410 Exclude "skipped" messages from ChangeLog once again.
14412 Slight namespace cleanup for thingatpt.el.
14413 * lisp/thingatpt.el (thing-at-point--in-string-p)
14414 (thing-at-point--end-of-sexp, thing-at-point--beginning-of-sexp)
14415 (thing-at-point--read-from-whole-string): Rename from
14416 old versions without "thing-at-point--" prefix.
14417 Keep old versions as obsolete aliases. Update all uses.
14419 * lisp/emacs-lisp/checkdoc.el (checkdoc-get-keywords):
14420 Move requiring of finder from here...
14421 (checkdoc-package-keywords): ... to here.
14423 Use 'user-error' in a few calendar files.
14424 * lisp/calendar/appt.el (appt-add):
14425 * lisp/calendar/calendar.el (calendar-absolute-from-gregorian)
14426 (calendar-generate):
14427 * lisp/calendar/diary-lib.el (diary-mail-entries, diary-cyclic):
14428 Replace 'error' with 'user-error'.
14430 * lisp/progmodes/f90.el (f90-backslash-not-special): Use user-error.
14432 * lisp/files-x.el (add-file-local-variable):
14433 Special-case 'lexical-binding'. (Bug#20641)
14435 * lisp/progmodes/executable.el (executable-self-display): Obsolete.
14436 No longer autoload.
14437 * doc/misc/autotype.texi (Executables):
14438 Undocument executable-self-display.
14440 * lisp/progmodes/executable.el (executable-self-display):
14441 Use non-obsolete tail syntax. (Bug#20779)
14442 (executable-self-display): Doc update.
14444 2015-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
14446 * lisp/emacs-lisp/checkdoc.el: Use lexical-binding
14447 (finder-known-keywords): Silence byte-compiler.
14449 2015-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
14451 * lisp/simple.el (eval-expression): Macroexpand before evaluating
14454 * lisp/progmodes/sh-script.el: Better handle nested quotes.
14455 (sh-here-doc-open-re): Don't mis-match the <<< operator (bug#20683).
14456 (sh-font-lock-quoted-subshell): Make sure double quotes within single
14457 quotes don't mistakenly end prematurely the surrounding string.
14459 * lisp/progmodes/elisp-mode.el: Require cl-lib for cl-defstruct.
14461 2015-06-09 Glenn Morris <rgm@gnu.org>
14463 * test/automated/Makefile.in (ELFILES): Sort.
14465 * Makefile.in (SUBDIR_MAKEFILES):
14466 * lwlib/Makefile.in (WARN_CFLAGS):
14467 Use built-in Make functions rather than echo+sed.
14469 2015-06-09 Eli Zaretskii <eliz@gnu.org>
14471 Update char-script-table
14472 * lisp/international/characters.el (char-script-table): Update
14473 from Unicode 8.0 Draft.
14475 Improve font selection for punctuation and other symbols
14476 * src/fontset.c (face_for_char): If the character's script is
14477 'symbol', and the font used for ASCII face has a glyph for it, use
14478 the font for the ASCII face instead of searching the fontsets.
14479 This comes instead of NS-specific code that used the current
14480 face's font instead, which is now disabled due to undesirable
14481 consequences. (Bug#20727)
14483 2015-06-08 Dmitry Gutov <dgutov@yandex.ru>
14485 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
14486 Skip past `#' to find BEG (bug#20771).
14487 * test/automated/elisp-mode-tests.el
14488 (elisp-completes-functions-after-hash-quote): New test.
14490 2015-06-08 Eli Zaretskii <eliz@gnu.org>
14492 Fix compilation warning/error in --without-x builds
14493 * src/xdisp.c (append_space_for_newline): Condition GUI-specific
14494 code on HAVE_WINDOW_SYSTEM.
14496 Improve the default fontset wrt symbols
14497 * lisp/international/fontset.el (setup-default-fontset): Better
14498 setup of fontset-default for symbols: use Symbola and FreeMono.
14501 2015-06-08 Oleh Krehel <ohwoeowho@gmail.com>
14503 Add new command checkdoc-package-keywords
14504 * lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag):
14506 (checkdoc-list-of-strings-p): Add doc.
14507 (checkdoc-current-buffer): When `checkdoc-package-keywords-flag' is
14508 non-nil, call `checkdoc-package-keywords'.
14509 (checkdoc-get-keywords): New defun.
14510 (checkdoc-package-keywords): New command. Warns if the current file
14511 has package.el-style keywords that aren't in `finder-known-keywords'.
14512 * etc/NEWS: Add entry.
14514 2015-06-08 Eli Zaretskii <eliz@gnu.org>
14516 Avoid crashes when key-binding is called from a timer
14517 * src/keymap.c (Fkey_binding): Don't segfault if called with an
14518 empty vector as KEY. (Bug#20705)
14520 Fix a thinko in arc-mode.el
14521 * lisp/arc-mode.el (archive-zip-summarize): Fix last change in the
14522 non-Zip64 case. (Bug#20769)
14524 2015-06-08 Artur Malabarba <bruce.connor.am@gmail.com>
14526 * lisp/emacs-lisp/package.el (package-delete): Make interactive.
14528 2015-06-08 Oleh Krehel <ohwoeowho@gmail.com>
14530 * lisp/emacs-lisp/checkdoc.el (checkdoc-file): New function.
14531 (checkdoc-error): When `checkdoc-diagnostic-buffer' is set to
14532 "*warn*", print the warning to the standard output. (bug#20754)
14534 2015-06-07 Glenn Morris <rgm@gnu.org>
14536 * admin/update_autogen (changelog_files): Remove gitlog-to-emacslog.
14538 * src/font.c (syms_of_font) <font-log>: Doc fix.
14540 Remove the obsolete leading "*" from some C doc strings.
14541 * src/coding.c (syms_of_coding):
14542 * src/font.c (syms_of_font): Remove leading "*" from docs.
14543 * lisp/cus-start.el (enable-character-translation): Add it.
14545 2015-06-07 Paul Eggert <eggert@cs.ucla.edu>
14547 Move gen_origin from program to data
14548 That way, 'make change-history' needs to change only ChangeLog.2,
14549 instead of having to change two files.
14550 * ChangeLog.2: Add commit info for range that this file covers.
14551 * Makefile.in (new_commit_regexp): New macro.
14552 (change-history-nocommit): Simplify, by putting what used to be
14553 the gen_origin value into the data (ChangeLog.2) rather than
14554 into the program (gitlog-to-emacslog).
14555 * build-aux/gitlog-to-emacslog (gen_origin): Calculate from
14556 the input file (e.g., ChangeLog.2) rather than by having a
14557 constant in the program. Substitute it into the output.
14559 2015-06-07 Dmitry Gutov <dgutov@yandex.ru>
14561 * lisp/help-fns.el (help-fns--signature): Quote any quotes in the
14562 function name (bug#20759).
14564 2015-06-07 Eli Zaretskii <eliz@gnu.org>
14566 Adapt 'struct timespec' to next release of MinGW runtime
14567 * nt/inc/ms-w32.h (struct timespec): Don't declare if
14568 __struct_timespec_defined is defined.
14570 2015-06-06 Paul Eggert <eggert@cs.ucla.edu>
14574 2015-06-06 acl-permissions: pacify -Wsuggest-attribute=const
14575 2015-06-05 stdio: Don't redefine gets when using C++
14576 2015-06-05 acl-permissions: port to AIX, C89 HP-UX
14577 2015-06-02 file-has-acl: fix build on Mac OS X 10
14578 2015-06-01 gnulib-tool: concatenate lib_SOURCES to a single line
14579 2015-06-01 pthread_sigmask: discount system version if a simple macro
14580 2015-05-31 readlinkat: avoid OS X 10.10 trailing slash bug
14581 * doc/misc/texinfo.tex, lib/acl-internal.h, lib/get-permissions.c:
14582 * lib/readlinkat.c, lib/set-permissions.c, lib/stdio.in.h:
14583 * m4/acl.m4, m4/pthread_sigmask.m4, m4/readlinkat.m4: Copy from gnulib.
14584 * lib/gnulib.mk: Regenerate.
14586 2015-06-06 Juri Linkov <juri@linkov.net>
14588 * lisp/progmodes/grep.el (zrgrep): Let-bind grep-highlight-matches
14589 before calling grep-compute-defaults because now it affects the
14590 command lines computed in grep-compute-defaults. (Bug#20728)
14592 2015-06-06 Glenn Morris <rgm@gnu.org>
14594 Address some compilation warnings.
14595 * lisp/international/mule-cmds.el (w32-get-console-codepage)
14596 (w32-get-console-output-codepage):
14597 * lisp/progmodes/elisp-mode.el (xref-collect-references):
14598 * lisp/version.el (cairo-version-string): Declare.
14599 * lisp/erc/erc.el (erc-nickname-in-use): Fix typo.
14601 2015-06-06 Eli Zaretskii <eliz@gnu.org>
14603 Fix display when a font claims large values of ascent and descent
14604 This fixes bug#20628.
14605 * src/xdisp.c (get_phys_cursor_geometry): Correct the Y
14606 coordinate of a hollow cursor glyph when the original glyph's
14607 ascent is too small.
14608 (get_font_ascent_descent, normal_char_ascent_descent)
14609 (normal_char_height): New functions.
14610 (handle_single_display_spec, append_space_for_newline)
14611 (calc_pixel_width_or_height, produce_stretch_glyph)
14612 (calc_line_height_property): Use normal_char_ascent_descent and
14613 normal_char_height.
14614 (x_produce_glyphs): When font-global values of ascent and descent
14615 are too large, use per-character glyph metrics instead, if
14616 possible. But don't allow the glyph row's ascent and descent
14617 values become smaller than the values from the metrics of the
14618 font's "normal" character.
14619 * src/xftfont.c (xftfont_draw):
14620 * src/w32font.c (w32font_draw): Correct the values of ascent and
14621 descent used to draw glyphless characters' hex code in a box.
14622 * src/xterm.c (x_draw_glyph_string_background):
14623 * src/xdisp.c (x_produce_glyphs):
14624 * src/w32term.c (x_draw_glyph_string_background):
14625 * src/nsterm.m (ns_maybe_dumpglyphs_background): Use FONT_TOO_HIGH
14626 to detect fonts whose global ascent and descent values are too
14627 large to be used in layout decision, and redraw the background
14629 * src/dispextern.h (FONT_TOO_HIGH): New macro.
14630 (get_font_ascent_descent): Add prototype.
14631 * src/xterm.c (x_new_font):
14632 * src/w32term.c (x_new_font):
14633 * src/nsterm.m (x_new_font):
14634 * src/font.c (font_open_entity):
14635 * src/composite.c (composition_gstring_width):
14636 Use get_font_ascent_descent to obtain reasonable values for ascent
14637 and descent of a font.
14639 2015-06-06 Nicolas Richard <youngfrog@members.fsf.org>
14641 Add assertion in adjust_point_for_property
14642 * src/keyboard.c (adjust_point_for_property): Add eassert for
14643 current buffer being shown in selected window.
14645 2015-06-06 Dmitry Gutov <dgutov@yandex.ru>
14647 Replace uses of in-string-p; make it obsolete
14648 * lisp/thingatpt.el (in-string-p): Declare obsolete (bug#20732).
14649 (end-of-sexp, beginning-of-sexp): Use syntax-ppss instead.
14651 2015-06-06 Eli Zaretskii <eliz@gnu.org>
14653 Fix Dired display of an explicit list of files by ls-lisp.el
14654 * lisp/ls-lisp.el (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt)
14655 (ls-lisp-gid-d-fmt, ls-lisp-gid-s-fmt): Make the initial values be
14656 correct for when displaying individual files separately, not as
14657 part of listing a directory, in which case these values are not
14658 recomputed by 'ls-lisp-insert-directory', but used verbatim.
14660 * lisp/dired.el (dired): Doc fix. (Bug#20739)
14662 2015-06-06 Nicolas Richard <youngfrog@members.fsf.org>
14664 Do not adjust point in a non-selected window
14665 * src/keyboard.c (command_loop_1): Do not adjust point when
14666 current buffer is not shown in selected window (Bug#20590).
14668 * etc/DEBUG: Mention 'maybe_call_debugger'
14670 2015-06-05 Nicolas Petton <nicolas@petton.fr>
14672 Fix a unit test for map.el
14673 * test/automated/map-tests.el (test-map-let): Fix the test to work
14674 with the new syntax of `map-let'.
14676 * lisp/emacs-lisp/map.el (map-let): Better docstring.
14678 Better syntax for the map pcase pattern
14679 * lisp/emacs-lisp/map.el: Improves the map pcase pattern to take
14680 bindings of the form (KEY PAT) or SYMBOL. KEY is not quoted.
14682 * lisp/emacs-lisp/map.el (map--dispatch): Better docstring.
14684 Fix a byte-compiler error in map-put and map-delete
14685 * lisp/emacs-lisp/map.el (map-put, map-delete): Ensure that `setq' is
14686 called with a symbol.
14688 2015-06-05 Glenn Morris <rgm@gnu.org>
14690 * admin/gitmerge.el (gitmerge-commit-message):
14691 Revert to including "skipped" messages in ChangeLog once again.
14693 2015-06-05 Tassilo Horn <tsdh@gnu.org>
14695 Use string> instead of equiv lambda with string<
14696 * lisp/help.el (view-emacs-news): Use string> instead of equivalent
14697 lambda with string<.
14699 2015-06-05 Glenn Morris <rgm@gnu.org>
14701 * lisp/emacs-lisp/map.el (map--dispatch): Move before use.
14702 (map--delete-array): Fix typo.
14704 * test/automated/map-tests.el: Replace "assert" with "should".
14706 * lisp/Makefile.in (SUBDIRS): Rename from SUBDIRS_ABS.
14707 (SUBDIRS_REL): Derive from SUBDIRS.
14709 Tweak some build messages.
14710 * lisp/Makefile.in ($(lisp)/loaddefs.el):
14711 * lisp/cus-dep.el (custom-make-dependencies):
14712 * lisp/finder.el (finder-compile-keywords): Say what we are doing.
14713 * lisp/international/titdic-cnv.el (batch-titdic-convert):
14714 Don't say how to compile.
14716 2015-06-05 Paul Eggert <eggert@cs.ucla.edu>
14718 Omit U+0332 COMBINING LOW LINE in previous change
14719 It turns out that it does not work on Ubuntu 15.04.
14721 Fix transliteration of Bahá'í months
14722 * lisp/calendar/cal-bahai.el (calendar-bahai-month-name-array):
14723 Improve quality of Latin transliteration of Bahá'í month names.
14725 Fix curved quotes in a few places
14726 * lisp/calc/calc-misc.el (calc-help): Fix quoting.
14727 The strings in question are not doc strings, so this partially
14728 undoes the recent change that assumed they were doc strings.
14729 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
14730 * lisp/info.el (Info-finder-find-node):
14732 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
14733 Also allow curved quotes in doc strings.
14735 2015-06-04 Glenn Morris <rgm@gnu.org>
14737 * lisp/Makefile.in (AM_V_at): Add missing definition.
14739 * lisp/Makefile.in: Quieten output a bit.
14740 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el):
14741 Don't echo directories, since the commands we invoke print them.
14743 * lisp/Makefile.in: Replace shell fragments in variables with $(shell).
14744 (SUBDIRS_REL, SUBDIRS_ABS, SUBDIRS_ALMOST, SUBDIRS_FINDER)
14745 (SUBDIRS_SUBDIRS): New variables.
14746 (setwins, setwins_almost, setwins_finder, setwins_for_subdirs):
14748 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el, $(lisp)/loaddefs.el)
14749 (update-subdirs, compile-main, compile-clean):
14750 Replace "setwins" usage with new "SUBDIRS" variables.
14752 * lisp/vc/compare-w.el (compare-windows-get-window-function):
14755 2015-06-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14757 * src/ftfont.c (ftfont_open2): Round divisions by upEM.
14759 Undo removal of x_clear_area call on expose for GTK3 or cairo
14760 * src/xterm.c (handle_one_xevent) [HAVE_GTK3 || USE_CAIRO]:
14761 Clear exposed area. (Bug#20677)
14763 2015-06-04 Glenn Morris <rgm@gnu.org>
14765 * doc/lispref/hash.texi (Creating Hash): Remove obsolete makehash.
14767 * lisp/Makefile.in (check-defun-dups): Also skip ldefs-boot.
14769 * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
14770 Rename from quail-lao-update-translation, since lao.el defines that.
14772 2015-06-04 Dmitry Gutov <dgutov@yandex.ru>
14774 Handle new-style advice in find-funct
14775 * lisp/emacs-lisp/find-func.el (find-function-advised-original):
14776 Handle new-style advice. Return the symbol's function definition.
14778 (find-function-library): Update accordingly.
14780 2015-06-04 Nicolas Petton <nicolas@petton.fr>
14784 * lisp/emacs-lisp/map.el: Better docstring for the map pcase macro.
14786 Add new function string-greaterp
14787 * lisp/subr.el (string-greaterp): New function. Also aliased to
14789 * test/automated/subr-tests.el (string-comparison-test): Add unit
14790 tests for `string>'and `string<'.
14791 * src/fns.c (string-lessp): Better docstring.
14793 2015-06-04 Eli Zaretskii <eliz@gnu.org>
14795 Fix timezone-related functions on MS-Windows
14796 * src/editfns.c (set_time_zone_rule) [WINDOWSNT]: Always call
14797 'xputenv', even if no reallocation of tzvalbuf was necessary.
14798 This fixes a bug in timezone-related functions on MS-Windows.
14799 Reported by Fabrice Popineau <fabrice.popineau@gmail.com>.
14801 2015-06-03 Paul Eggert <eggert@cs.ucla.edu>
14803 Don't pass raw directory name to 'error'
14804 * lisp/files.el (basic-save-buffer-2): Avoid format error if
14805 a directory name contains a string like "%s".
14807 2015-06-03 Dmitry Gutov <dgutov@yandex.ru>
14809 Override 'grep --color=always'
14810 * lisp/progmodes/xref.el (xref-collect-matches):
14811 Override --color=always in grep-find-template.
14813 2015-06-03 Michael Albinus <michael.albinus@gmx.de>
14815 Fix error introduced recently in file-notify-tests.el
14816 * test/automated/file-notify-tests.el
14817 (file-notify--test-remote-enabled): Do not use `file-notify--test-desc'.
14818 (file-notify--deftest-remote): Revert previous patch, not
14821 2015-06-03 Wolfgang Jenkner <wjenkner@inode.at>
14823 * src/indent.c (Fvertical_motion): Amend motion by 0 lines.
14824 Starting from a display string after a newline, point went to the
14825 previous line. Also, fix an inadvertent use of a buffer position
14826 with FETCH_BYTE. (Bug#20701)
14828 2015-06-03 Michael Albinus <michael.albinus@gmx.de>
14830 Instrument file-notify-test.el in order to catch hydra error
14831 * test/automated/file-notify-tests.el (file-notify--deftest-remote):
14832 Wrap body by `ignore-case', in order to trap non-local errors.
14834 2015-06-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14836 Undo previous changes in non-toolkit scroll bar drawing
14837 * src/xterm.c (x_scroll_bar_set_handle, x_scroll_bar_expose)
14838 [!USE_TOOLKIT_SCROLL_BARS]: Draw into scroll bar window. (Bug#20668)
14840 2015-06-03 Paul Eggert <eggert@cs.ucla.edu>
14842 * .gitignore: Also ignore doc/*/*/*.html and .ps.
14844 Support quotes 'like this' in info files
14845 This is possible when 'makeinfo --disable-encoding' is used
14847 * lisp/calc/calc-help.el (calc-describe-thing):
14848 * lisp/gnus/gnus-art.el (gnus-button-alist):
14849 * lisp/info.el (Info-find-index-name):
14850 * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
14851 Also support quotes 'like this'.
14852 * lisp/calc/calc-help.el (calc-describe-thing): Simplify.
14853 * lisp/finder.el (finder-font-lock-keywords): Remove var that
14854 hasn't been used in years, instead of bothering to fix its quoting.
14856 2015-06-02 Paul Eggert <eggert@cs.ucla.edu>
14858 * .gitignore: Remove !test/etags/html-src/*.html.
14859 It's no longer needed, since *.html was removed. Sort.
14861 2015-06-02 Dmitry Gutov <dgutov@yandex.ru>
14863 Restore <D> instead of '.' in grep-find-template
14864 * lisp/cedet/semantic/symref/grep.el
14865 (semantic-symref-grep-use-template): Update a comment.
14866 * lisp/progmodes/grep.el (grep-compute-defaults): Restore <D>
14867 instead of '.' in grep-find-template (bug#20719).
14868 (rgrep): Pass nil as the directory to rgrep-default-command.
14869 * lisp/progmodes/grep.el (grep-expand-keywords): Use '.' as the
14870 default value for DIR.
14871 * lisp/progmodes/xref.el (xref-collect-matches): Drop the
14874 2015-06-02 Glenn Morris <rgm@gnu.org>
14876 * configure.ac (emacs_config_features): Add X toolkit and scroll-bars.
14878 * configure.ac (emacs_config_features): Add Cairo.
14880 * configure.ac [HAVE_GTK3]: Remove USE_CAIRO that gets reset later.
14882 2015-06-02 Michael Albinus <michael.albinus@gmx.de>
14884 Ensure that autorevert works for remote files in file-notify-tests.el
14885 * test/automated/file-notify-tests.el (file-notify--test-desc):
14887 (file-notify--test-remote-enabled)
14888 (file-notify-test00-availability, file-notify-test01-add-watch)
14889 (file-notify-test02-events): Use it.
14890 (file-notify--test-event-test): Check proper descriptor.
14891 (file-notify-test03-autorevert): Ensure that
14892 `visited-file-modtime' has changed. (Bug#20392)
14894 2015-06-02 Nicolas Petton <nicolas@petton.fr>
14896 Add a pcase pattern for maps and `map-let' based on it
14897 * lisp/emacs-lisp/map.el (map-let): New macro.
14898 (map--make-pcase-bindings, map--make-pcase-patterns): New functions.
14899 * test/automated/map-tests.el: New test for `map-let'.
14901 2015-06-02 Dmitry Gutov <dgutov@yandex.ru>
14903 Reuse rgrep mechanics in xref-find-regexp
14904 * lisp/progmodes/grep.el (rgrep-default-command):
14905 Extract from `rgrep'.
14906 * lisp/progmodes/xref.el (xref-collect-references): Split from
14907 `xref-collect-matches'. Only handle the case of symbol search.
14908 (xref-collect-matches): Instead of Semantic Symref, use
14909 `rgrep-default-command', to take advantage of its directory and
14910 file ignore settings.
14911 (xref--collect-match): Remove the last argument, leaving the
14912 regexp construction up to the caller.
14913 * lisp/progmodes/elisp-mode.el (elisp--xref-find-matches):
14914 Change to take the xref-collect- function to use as an argument.
14915 (elisp-xref-find): Update accordingly.
14916 * lisp/progmodes/etags.el (etags--xref-find-matches)
14917 (etags-xref-find): Same.
14919 Move xref-elisp-location to elisp-mode.el
14920 * lisp/progmodes/xref.el (xref-elisp-location)
14921 (xref-make-elisp-location, xref-location-marker): Remove here.
14922 (xref--xref): Don't limit the type of the location slot.
14923 * lisp/progmodes/elisp-mode.el (xref-elisp-location):
14924 Define as a cl-struct here.
14925 (xref-location-marker): Move here.
14927 2015-06-02 Eli Zaretskii <eliz@gnu.org>
14929 Minor tweaks for .gitignore
14930 * .gitignore: Don't ignore versioned *.html and *.ps files.
14931 Don't ignore admin/notes/tags that might be ignored as TAGS
14932 on case-insensitive filesystems. (Bug#20710)
14934 2015-06-02 Paul Eggert <eggert@cs.ucla.edu>
14936 Generate curved quotes in ert doc
14937 * lisp/emacs-lisp/ert.el (ert--print-test-for-ewoc)
14938 (ert-results-mode-menu)
14939 (ert-results-pop-to-backtrace-for-test-at-point)
14940 (ert-results-pop-to-messages-for-test-at-point)
14941 (ert-results-pop-to-should-forms-for-test-at-point)
14942 (ert-describe-test):
14943 Quote ‘like this’, not `like this', when generating doc strings
14945 * test/automated/ert-x-tests.el (ert-test-describe-test):
14946 Allow quoting ‘like this’.
14948 2015-06-02 Nicolas Richard <youngfrog@members.fsf.org>
14950 Add test for previous commit
14951 * test/automated/replace-tests.el: New file.
14952 (query-replace--split-string-tests): Add test for previous commit.
14954 Avoid confusion in query-replace history when replacing NUL chars
14955 * lisp/replace.el (query-replace--split-string): New function.
14956 (query-replace-read-from): Rely on the 'separator' property
14957 instead of searching for the NUL character (Bug#20690).
14959 2015-06-02 Glenn Morris <rgm@gnu.org>
14961 Merge from origin/emacs-24
14962 8b5f2f4 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
14964 * admin/gitmerge.el (gitmerge-commit-message):
14965 Exclude "skipped" messages from ChangeLog.
14967 2015-06-01 Michael Albinus <michael.albinus@gmx.de>
14969 Sync with Tramp repository
14970 * lisp/net/tramp.el (tramp-message): Dump connection buffer error
14972 (tramp-handle-make-auto-save-file-name): When calling
14973 `make-auto-save-file-name' internally, make sure it uses Unix-like
14974 behavior, not Windows-like behavior.
14975 * lisp/net/tramp-sh.el (tramp-set-file-uid-gid): Add a timeout for
14976 the local case, because "chown" might fail on w32.
14977 * lisp/net/trampver.el (tramp-repository-get-version): Don't run
14980 2015-06-01 Eli Zaretskii <eliz@gnu.org>
14982 MS-Windows followup for batch stdout/stderr output changes
14983 * lisp/international/mule-cmds.el (set-locale-environment):
14984 In batch mode, use console codepages for keyboard and terminal
14985 encoding. (Bug#20545)
14987 Update .gitattributes for DOS EOL files
14988 * .gitattributes: Use "whitespace=cr-at-eol" for files with DOS
14989 CRLF end-of-line format.
14991 NS equivalents of xterm.c and w32term.c changes
14992 * src/nsterm.m (ns_maybe_dumpglyphs_background): Force redraw of
14993 glyph string background also when the font in use claims
14994 preposterously large global height value. Helps to remove
14995 artifacts left from previous displays when glyphless characters
14996 are displayed as hex code in a box.
14997 (x_new_font): Call get_font_ascent_descent to obtain a reasonable
14998 value for FRAME_LINE_HEIGHT, even when a font claims very large
14999 value for its height.
15001 2015-06-01 Paul Eggert <eggert@cs.ucla.edu>
15003 Avoid grave accent quoting in stderr diagnostics
15004 A few Emacs diagnostics go directly to stderr, and so can't easily
15005 contain curved quotes (as non-UTF-8 locales might mishandle them).
15006 Instead of bothering to add support for this rarity, reword the
15007 diagnostics so that they don't use grave accent to quote.
15008 * src/alloc.c (mark_memory): Fix comment.
15009 * src/buffer.c (init_buffer):
15010 * src/dispnew.c (init_display):
15011 * src/emacs.c (main, sort_args):
15012 * src/lread.c (dir_warning):
15013 * src/term.c (init_tty):
15014 * src/unexmacosx.c (unexec):
15015 * src/xfns.c (select_visual):
15016 * src/xterm.c (cvt_string_to_pixel, x_io_error_quitter):
15017 Reword stderr diagnostics to avoid quoting `like this'.
15018 * src/unexmacosx.c: Include errno.h.
15019 * src/xfns.c (select_visual): Encode value for locale.
15021 2015-05-31 Paul Eggert <eggert@cs.ucla.edu>
15023 Treat batch stdout/stderr like standard display
15024 Calls like (print FOO) could generate improperly encoded or
15025 hard-to-read output if FOO contains characters outside the system
15026 locale. Fix this by treating batch stdout and stderr like
15027 interactive standard display, when it comes to transliterating and
15028 encoding characters (Bug#20545).
15029 * doc/emacs/mule.texi (Communication Coding):
15030 * doc/lispref/display.texi (Active Display Table):
15031 * doc/lispref/nonascii.texi (Locales):
15033 * src/coding.c (syms_of_coding):
15034 * src/dispnew.c (syms_of_display):
15036 * src/print.c: Include disptab.h.
15037 (printchar_to_stream): New function, with much of the guts of the
15038 old Fexternal_debugging_output, except this one also uses the
15039 standard display table.
15040 (printchar, strout, Fexternal_debugging_output): Use it.
15042 2015-05-31 Glenn Morris <rgm@gnu.org>
15044 * src/emacs.c (syms_of_emacs) <system-configuration-features>: Doc fix.
15046 2015-05-31 Paul Eggert <eggert@cs.ucla.edu>
15048 Remove DEFSYMs that aren't used at the C level. Also:
15049 * src/decompress.c (Qzlib_dll):
15050 * src/font.c (Qunicode_sip):
15051 * src/frame.c (Qtip_frame):
15052 * src/ftfont.c (Qserif):
15053 * src/gnutls.c (Qgnutls_dll):
15054 * src/xml.c (Qlibxml2_dll):
15056 * src/w32fns.c (syms_of_w32fns): ... to here,
15057 as these are used only on MS-Windows.
15059 2015-05-31 Michael Albinus <michael.albinus@gmx.de>
15061 Use another default value for tramp-histfile-override
15062 * lisp/net/tramp-sh.el (tramp-histfile-override):
15063 Use ".tramp_history" as default.
15066 2015-05-29 Nicolas Petton <nicolas@petton.fr>
15068 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
15070 2015-05-16 Nicolas Petton <nicolas@petton.fr>
15072 * etc/NEWS: Add an entry about map.el.
15074 Improve the docstring of functions in map.el
15075 Since a map is not a data structure but a concept, adding information
15076 about the possible types of maps can be useful information.
15077 * lisp/emacs-lisp/map.el: Add documentation about the type of MAP to
15078 each public function.
15080 2015-04-29 Nicolas Petton <nicolas@petton.fr>
15082 * lisp/emacs-lisp/map.el (map-empty-p): Faster implementation using
15083 specific tests depending on the type of the map.
15085 * lisp/emacs-lisp/map.el: Better docstrings.
15087 2015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
15089 * lisp/emacs-lisp/map.el (map-pairs): Dump redundant lambda.
15091 2015-04-25 Nicolas Petton <nicolas@petton.fr>
15093 * lisp/emacs-lisp/map.el (map--elt-list): Better docstring.
15095 * lisp/emacs-lisp/map.el (map--elt-list): Minor refactoring.
15097 Fix a false negative in `map-elt' with alists and values being nil
15098 * lisp/emacs-lisp/map.el (map-elt): If map is an alist and key is
15099 found but its associated value is nil, do not return the default
15101 * test/automated/map-tests.el: Add a regression test.
15103 2015-04-24 Nicolas Petton <nicolas@petton.fr>
15105 * lisp/emacs-lisp/map.el (map--dispatch): Improve the docstring.
15107 Do not signal an error when trying to delete a key from an array
15108 * lisp/emacs-lisp/map.el (map-delete): When map is an array, check if
15109 the key is present to avoid signaling an error.
15110 * test/automated/map-tests.el: Add a test for deleting non-existing
15113 * lisp/emacs-lisp/map.el: Better docstring.
15115 Minor improvement in map-elt
15116 * lisp/emacs-lisp/map.el (map-elt): Do not use `ignore-errors' when
15117 doing a lookup in arrays, but check the boundaries of the array
15119 * test/automated/map-tests.el: Adds a test for `map-elt' with arrays
15120 and a negative integer as key.
15122 2015-04-21 Nicolas Petton <nicolas@petton.fr>
15124 * test/automated/map-tests.el: Refactoring of test methods.
15126 * test/automated/map-tests.el: Renamed from map-test.el.
15128 2015-04-18 Nicolas Petton <nicolas@petton.fr>
15130 * lisp/emacs-lisp/map.el (map-into): Better error message.
15132 * lisp/emacs-lisp/map.el: Remove byte-compilation warnings.
15134 Throw an error when converting a map into an unknown map type
15135 * lisp/emacs-lisp/map.el (map-into): Throw an error if type is
15137 * test/automated/map-test.el: Add a regression test.
15139 New library map.el similar to seq.el but for mapping data structures.
15140 * test/automated/map-test.el: New file.
15141 * lisp/emacs-lisp/map.el: New file.
15143 2015-05-30 Dmitry Gutov <dgutov@yandex.ru>
15145 * lisp/progmodes/etags.el (tag-implicit-name-match-p): Make sure
15146 there's no explicit tag name (bug#20629).
15148 2015-05-30 Paul Eggert <eggert@cs.ucla.edu>
15151 * src/editfns.c, src/lisp.h (format2): Remove.
15152 It is more trouble than it's worth, now that we have CALLN.
15153 This is just a minor refactoring.
15154 * src/buffer.c (Fkill_buffer):
15155 * src/dbusbind.c (XD_OBJECT_TO_STRING):
15156 * src/fileio.c (barf_or_query_if_file_exists):
15157 Adjust to format2 going away.
15159 Don't misencode C-generated messages
15160 Also, be more consistent about calls to 'Fmessage' vs 'message'.
15161 * src/alloc.c (Fgc_status):
15162 Prefer AUTO_STRING to build_string for Fmessage call.
15163 * src/data.c (Fmake_variable_buffer_local)
15164 (Fmake_local_variable, Fmake_variable_frame_local):
15165 * src/doc.c (store_function_docstring):
15166 Use Fmessage, not message, since the argument can contain
15167 non-ASCII characters, and this can cause the resulting message
15168 to be incorrectly encoded for the current environment.
15169 * src/fns.c (maybe_resize_hash_table):
15170 * src/xselect.c (x_clipboard_manager_save_all):
15171 Use message, not Fmessage, since Fmessage's power isn't needed here.
15172 * src/process.c (Fmake_network_process): Reword message to avoid %s.
15173 * src/xdisp.c (vmessage): Document restrictions on message contents.
15174 (message_nolog) [false]: Remove unused code.
15176 Use \r rather than ^M in string literals
15177 This is less likely to cause problems on platforms that
15178 use CRLF (or CR!) termination for lines.
15180 Update .gitattributes to match current sources
15181 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00879.html
15182 * .gitattributes: Accommodate tests that insist on DOS format.
15183 Remove test/automated/data/decompress/foo-gzipped.
15184 Add etc/e/eterm-color.
15186 2015-05-30 Eli Zaretskii <eliz@gnu.org>
15188 * doc/emacs/mule.texi (Modifying Fontsets):
15189 Document face-ignored-fonts. (Bug#20628)
15191 Add etags test for the new -Q option
15192 * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
15193 * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
15194 * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
15195 test-case changes below.
15196 * test/etags/ETAGS.good_6: New file.
15197 * test/etags/cp-src/x.cc: New file.
15198 * test/etags/Makefile (CPSRC): Add x.cc.
15199 (check): Add one more test, for -Q.
15201 2015-05-30 Dmitry Gutov <dgutov@yandex.ru>
15203 Use list for the tags completion table, not obarray
15204 * lisp/progmodes/etags.el (etags-tags-completion-table): Return a
15205 list instead of an obarray
15206 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00876.html).
15207 (tags-completion-table): Combine those lists.
15208 (tags-completion-table): Update the docstring.
15210 2015-05-30 Eli Zaretskii <eliz@gnu.org>
15212 Restore EOL format testing in etags
15213 * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
15214 * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
15215 * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
15216 test-case changes below.
15217 * test/etags/html-src/algrthms.html: Convert back to DOS EOL format.
15218 * test/etags/cp-src/c.C (B): Add back stray CR character.
15219 * test/etags/c-src/dostorture.c: Add back.
15220 * test/etags/Makefile (CSRC): Add back c-src/dostorture.c.
15222 2015-05-30 Vitaly Takmazov <vitalyster@gmail.com> (tiny change)
15224 Declare Emacs on MS-Windows to be DPI-aware
15225 * nt/emacs-x86.manifest (asmv3:windowsSettings): Add dpiAware.
15226 * nt/emacs-x64.manifest (asmv3:windowsSettings): Add dpiAware.
15227 This avoids Windows entering compatibility mode for Emacs,
15228 which causes fonts to look less nice.
15230 2015-05-30 Michael Albinus <michael.albinus@gmx.de>
15232 Improve Tramp traces
15233 * lisp/net/trampver.el (tramp-repository-get-version): New defun.
15234 * lisp/net/tramp.el (tramp-debug-message): Use it.
15236 2015-05-30 Paul Eggert <eggert@cs.ucla.edu>
15238 backup-buffer minor reworking of internals
15239 * lisp/files.el (backup-buffer): Rework to avoid a couple of
15240 unused locals inadvertently introduced in the previous change.
15242 backup-buffer now reports .emacs.d/%backup% ills
15243 * lisp/files.el (backup-buffer): If the write to .emacs.d/%backup%
15244 fails due to disk space exhaustion or whatever, do not pretend
15245 that it succeeded. More generally, do a better job of checking
15246 for I/O failures, and limit the scope of the condition-case to
15247 just the operations where file errors should be caught and ignored
15248 (Bug#20595). Also, don't bother trying to delete later backups if
15249 an earlier deletion fails, as this is a sign of trouble and it's
15250 better to stop when there's trouble.
15252 copy-file now truncates output after writing
15253 * src/fileio.c (Fcopy_file): Truncate output after writing rather
15254 than before. This is more likely to work than truncation before
15255 writing, if the file system is out of space or the user is over
15256 disk quota (Bug#20595). Also, check for read errors.
15258 2015-05-29 Artur Malabarba <bruce.connor.am@gmail.com>
15260 * lisp/emacs-lisp/package.el (package-load-all-descriptors):
15261 Don't load descriptors from directories above the package directories.
15263 2015-05-29 Paul Eggert <eggert@cs.ucla.edu>
15266 This incorporates the following (Bug#20681):
15267 2015-05-29 acl-permissions: Fix build on Mac OS X and older AIX
15268 2015-05-29 acl-permissions: Fix build on Solaris and Cygwin
15269 * lib/set-permissions.c: Copy from gnulib.
15271 2015-05-29 Michael Albinus <michael.albinus@gmx.de>
15273 Improve Tramp traces
15274 * lisp/net/tramp.el (tramp-call-process-region): New defun.
15275 * lisp/net/tramp-sh.el (tramp-get-inline-coding): Use it.
15277 2015-05-29 Glenn Morris <rgm@gnu.org>
15279 * test/automated/vc-tests.el: Try enabling tests on hydra.nixos.org.
15281 2015-05-29 Wolfgang Jenkner <wjenkner@inode.at>
15283 * src/xfns.c (x_set_menu_bar_lines): Fix calls to x_clear_area.
15284 The signature was changed in the cairo branch, merged on 2015-05-23.
15285 This oversight broke compiling only the non-toolkit X version.
15287 2015-05-29 Samer Masterson <samer@samertm.com>
15289 * doc/lispref/os.texi: Update initial-buffer-choice docs.
15291 2015-05-29 Glenn Morris <rgm@gnu.org>
15293 * test/automated/vc-tests.el (vc-test-rcs04-checkout-model):
15294 Mark as an expected failure.
15296 2015-05-29 Paul Eggert <eggert@cs.ucla.edu>
15298 Change package test to look for curved quotes
15299 * test/automated/package-test.el (package-test-describe-package)
15300 (package-test-signed): Search for curved single quotes as well as
15301 for grave accent and apostrophe.
15303 2015-05-28 Katsumi Yamaoka <yamaoka@jpl.org>
15305 * lisp/gnus/gnus-art.el (gnus-button-alist): Re-revert last change.
15306 cf. <http://news.gmane.org/group/gmane.emacs.devel/thread=186896>
15308 2015-05-28 Samer Masterson <samer@samertm.com>
15310 Show files when `initial-buffer-choice' is non-nil
15311 * lisp/startup.el (command-line-1): When Emacs is given a file as an
15312 argument and `initial-buffer-choice' is non-nil, display both the file
15313 and `initial-buffer-choice'. For more than one file, show
15314 `initial-buffer-choice' and *Buffer List*. Refactor display-changing
15315 commands out of the command line arg parser.
15316 (initial-buffer-choice): Clarify docstring.
15318 2015-05-28 Eli Zaretskii <eliz@gnu.org>
15321 * nt/gnulib.mk (libgnu_a_SOURCES): Add get-permissions.c back.
15322 (gnulib module qcopy-acl): Add back, as it is harmless. This
15323 minimizes differences wrt lib/gnulib.mk.
15325 Fix the MS-Windows build as followup to gnulib update
15326 * nt/gnulib.mk (libgnu_a_SOURCES): Remove get-permissions.c and
15327 set-permissions.c, as they don't compile on MinGW.
15328 (gnulib module qcopy-acl): Remove, as it needs set-permissions.c.
15330 2015-05-28 Paul Eggert <eggert@cs.ucla.edu>
15332 Revert my change to gnus-art.el
15333 * lisp/gnus/gnus-art.el (gnus-button-alist): Revert last change.
15334 It wasn't that important, and it caused a Gnus build to fail. See:
15335 http://www.randomsample.de:4456/builders/emacs-devel/builds/734
15337 New minor mode Electric Quote
15338 This lets you easily insert quotes ‘like this’ by typing
15339 quotes `like this', and similarly you can easily insert
15340 quotes “like this” by typing quotes ``like this'' (Bug#20545).
15341 * doc/emacs/basic.texi (Inserting Text):
15342 * doc/emacs/modes.texi (Minor Modes):
15343 * etc/NEWS: Document it.
15344 * doc/emacs/text.texi (Quotation Marks): New section.
15345 * lisp/electric.el (electric-quote-comment)
15346 (electric-quote-string, electric-quote-paragraph):
15348 (electric--insertable-p)
15349 (electric-quote-post-self-insert-function): New functions.
15350 (electric-quote-mode, electric-quote-local-mode): New minor modes.
15351 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
15352 Add curved single quotes to electric-pair-text-pairs.
15353 Set electric-quote-string in this buffer.
15355 A few more doc string fixes (Bug#20385)
15357 Accept curved quotes in doc strings
15358 * lisp/info-look.el (info-lookup-guess-custom-symbol):
15359 (info-lookup-alist): Treat ‘’ like `' when parsing help buffers etc.
15361 Generate curved quotes in pseudo-info nodes
15362 * lisp/info.el (Info-virtual-index-find-node)
15363 (Info-virtual-index, Info-apropos-find-node, info-apropos):
15364 Quote ‘like this’, not `like this', when generating pseudo-info nodes.
15366 Fix minor quoting problems in doc strings
15367 Most of these fixes involve escaping grave accents that are
15368 actually intended to be grave accents, not left quotes.
15371 Support curved quotes in doc strings
15372 Emacs's traditional doc string style has been to quote symbols
15373 `like this'. This worked well on now-obsolete terminals where
15374 ` and ' were symmetric quotes, but nowadays curved quotes
15375 ‘like this’ look better. Support quoting the new way too.
15377 * doc/lispref/tips.texi (Documentation Tips): Symbols can be quoted
15378 ‘like-this’ as well as `like-this'.
15379 * etc/NEWS: Mention this.
15380 * lisp/cedet/mode-local.el (overload-docstring-extension)
15381 (mode-local-print-binding, mode-local-describe-bindings-2):
15382 * lisp/cus-theme.el (describe-theme-1):
15383 * lisp/descr-text.el (describe-text-properties-1, describe-char):
15384 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
15385 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
15386 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
15387 (eieio-help-constructor):
15388 * lisp/emacs-lisp/package.el (describe-package-1):
15389 * lisp/faces.el (describe-face):
15390 * lisp/help-fns.el (help-fns--key-bindings)
15391 (help-fns--compiler-macro, help-fns--parent-mode, help-fns--obsolete):
15392 (help-fns--interactive-only, describe-function-1):
15393 (describe-variable):
15394 * lisp/help.el (describe-mode):
15395 * lisp/international/mule-cmds.el (describe-input-method)
15396 (describe-language-environment):
15397 * lisp/international/mule-diag.el (describe-character-set)
15398 (print-coding-system-briefly, list-input-methods)
15399 (list-input-methods-1):
15400 Insert curved quotes rather than grave accent and apostrophe.
15401 * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
15402 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
15403 (checkdoc-proper-noun-region-engine):
15404 * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2)
15405 (lisp-cl-font-lock-keywords-2):
15406 * lisp/finder.el (finder-font-lock-keywords):
15407 * lisp/gnus/gnus-art.el (gnus-button-alist):
15408 * lisp/help-fns.el (help-do-arg-highlight)
15409 (describe-function-1, describe-variable):
15410 * lisp/help-mode.el (help-xref-symbol-regexp)
15411 (help-xref-info-regexp, help-xref-url-regexp):
15412 * lisp/help.el (describe-mode):
15413 * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
15414 * lisp/wid-edit.el (widget-documentation-link-regexp):
15415 Parse symbols quoted ‘like-this’ as well as `like-this'.
15416 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
15417 Add "‘" and "’" to electric-pair-text-pairs.
15418 (elisp--form-quoted-p): Also allow "‘" as a quoting char.
15419 (elisp-completion-at-point, elisp--preceding-sexp):
15420 Also treat "‘" and "’" as quoting chars.
15422 substitute-command-keys now curves quotes
15423 So, for example, it turns "`abc'" into "‘abc’" (Bug#20385).
15424 * doc/lispref/help.texi (Keys in Documentation):
15425 * etc/NEWS: Document this.
15426 * src/doc.c (Fsubstitute_command_keys): Implement it.
15428 2015-05-28 Glenn Morris <rgm@gnu.org>
15430 * lisp/mail/rmailsum.el (rmail-summary-by-recipients)
15431 (rmail-summary-by-topic, rmail-summary-by-senders):
15432 No longer strip leading/trailing whitespace.
15434 * lisp/progmodes/f90.el (f90-type-def-re): Add "type, extends".
15435 (f90-no-block-limit): Add "enum". (Bug#20680)
15436 * test/automated/f90.el (f90-test-bug20680, f90-test-bug20680b):
15439 2015-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
15441 * lisp/isearch.el (isearch--current-buffer): Give a default value.
15442 Un-revert changes mistakenly dropped by f9fabb2b.
15444 2015-05-27 Paul Eggert <eggert@cs.ucla.edu>
15448 2015-05-27 qacl: Reimplement qset_acl and qcopy_acl (Bug#20666)
15449 2015-05-27 file-has-acl: Split feature tests again (Bug#20667)
15450 2015-05-27 string: fix build failure on BSD/OSX with FORTIFY_SOURCE
15451 2015-05-26 stdio: limit __gnu_printf__ witness to gcc 4.4+
15452 2015-05-26 inttypes: force correct mingw PRIdMAX even without <stdio.h>
15453 2015-05-26 stdio: fix probe on mingw under gcc 5.1
15454 * admin/merge-gnulib (GNULIB_MODULES):
15455 Replace qacl with qcopy-acl, since we don't need the rest of qacl.
15456 * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
15457 * lib/inttypes.in.h, lib/qcopy-acl.c, lib/qset-acl.c:
15458 * lib/string.in.h, m4/acl.m4, m4/stdio_h.m4:
15459 Get latest versions from gnulib.
15460 * lib/get-permissions.c, lib/set-permissions.c: New files.
15461 * lib/gnulib.mk, m4/gnulib-comp.m4:
15463 * nt/gnulib.mk: Merge lib/gnulib.mk changes by hand.
15465 2015-05-27 Dmitry Gutov <dgutov@yandex.ru>
15467 * lisp/vc/vc-dispatcher.el (vc-setup-buffer): Delete the old
15469 (vc-do-command): Rather than here (bug#20608).
15471 2015-05-27 Ivan Shmakov <ivan@siamics.net>
15473 Avoid gratuitous delete-dups in face-at-point
15474 * lisp/faces.el (face-at-point): Do not compute the properly
15475 ordered, duplicate-free list if only a single value is
15476 requested anyway. (Bug#20519)
15478 Show the exact C-x 8 RET invocation in describe-char
15479 * lisp/descr-text.el (describe-char): Show the exact C-x 8 RET
15480 invocation instead of a template. (Bug#20522)
15482 2015-05-27 Artur Malabarba <bruce.connor.am@gmail.com>
15484 * lisp/emacs-lisp/package.el: Don't erase tags on refresh.
15485 (package-menu--post-refresh): Call `tabulated-list-print' with the
15486 UPDATE argument. This only affects the refresh action, the revert
15487 action still erases tags.
15488 (package-menu-get-status): Change `assq' to `assoc'.
15489 (package-menu--mark-upgrades-1): New function.
15490 (package-menu--mark-upgrades-pending): New variable.
15491 (package-menu-mark-upgrades): Use them to delay marking until
15492 after refresh is done.
15493 (package-menu--post-refresh): Call mark-upgrades-1 if
15494 mark-upgrades-pending is non-nil.
15496 2015-05-27 Michael Albinus <michael.albinus@gmx.de>
15498 * lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
15499 Fix typo in "Improve tramp-handle-make-auto-save-file-name"
15500 (commit 3953c4be2816537be95520605d45b866dc731f4b).
15502 2015-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
15504 * lisp/isearch.el (isearch--current-buffer): New var.
15505 (isearch-update): Set cursor-sensor-inhibit here.
15506 (isearch-done): Unset cursor-sensor-inhibit in the right buffer
15509 Change inhibit-point-motion-hooks to t
15510 * src/textprop.c (syms_of_textprop): Default Vinhibit_point_motion_hooks
15511 to t and document it as obsolete.
15513 2015-05-27 Eli Zaretskii <eliz@gnu.org>
15515 Support ZIP files that use Zip64 extensions
15516 * lisp/arc-mode.el (archive-zip-summarize): Handle the new ZIP
15517 format of central directory offsets used by Zip64 extensions.
15520 2015-05-27 Michael Albinus <michael.albinus@gmx.de>
15522 New test tramp-test30-make-auto-save-file-name
15523 * test/automated/tramp-tests.el
15524 (tramp-test30-make-auto-save-file-name): New test.
15525 (tramp-test31-special-characters)
15526 (tramp-test31-special-characters-with-stat)
15527 (tramp-test31-special-characters-with-perl)
15528 (tramp-test31-special-characters-with-ls, tramp-test32-utf8)
15529 (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
15530 (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
15531 (tramp-test34-recursive-load, tramp-test35-unload): Rename.
15533 Improve tramp-handle-make-auto-save-file-name
15534 * lisp/net/tramp.el (tramp-auto-save-directory): Add :tags.
15535 (tramp-handle-make-auto-save-file-name): Let native
15536 `make-auto-save-file-name' use `auto-save-file-name-transforms',
15537 if `tramp-auto-save-directory' is not set.
15539 2015-05-27 Glenn Morris <rgm@gnu.org>
15541 No longer set dired-directory in eshell. (Bug#16477)
15542 * lisp/eshell/esh-mode.el (eshell-mode):
15543 * lisp/eshell/em-dirs.el (eshell/cd): No longer set dired-directory.
15545 * lisp/mail/sendmail.el (mail-position-on-field): Doc fix.
15547 Make c-submit-bug-report file reports at debbugs.gnu.org. (Bug#15784)
15548 * lisp/progmodes/cc-mode.el (c-mode-help-address):
15549 Change to submit@debbugs.
15550 (c-mode-bug-package): New constant.
15551 (mail-position-on-field): Declare.
15552 (c-submit-bug-report): Insert X-Debbugs-Package header.
15553 * doc/misc/cc-mode.texi (Mailing Lists and Bug Reports):
15554 Mention debbugs.gnu.org.
15556 2015-05-26 Glenn Morris <rgm@gnu.org>
15558 * lisp/mail/rmailsum.el: Commas no longer separate regexps. (Bug#19026)
15559 (rmail-summary-by-recipients, rmail-summary-by-topic)
15560 (rmail-summary-by-senders): No longer use mail-comma-list-regexp.
15561 * doc/emacs/rmail.texi (Rmail Make Summary): Update for this change.
15563 2015-05-26 Paul Eggert <eggert@cs.ucla.edu>
15565 Handle curved quotes in info files
15566 * lisp/calc/calc-help.el (calc-describe-thing):
15567 * lisp/info.el (Info-find-index-name)
15568 (Info-try-follow-nearest-node, Info-fontify-node):
15569 * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
15570 In info files, process quotes ‘like this’ the same way we process
15571 quotes `like this'. This catches a few places we missed earlier.
15573 2015-05-26 Dmitry Gutov <dgutov@yandex.ru>
15575 xref-prompt-for-identifier: Use a list value
15576 * lisp/progmodes/xref.el (xref-prompt-for-identifier): Allow list
15577 value, to be interpreted as a list of commands.
15578 (xref--prompt-p): New function.
15579 (xref--read-identifier): Use it.
15581 2015-05-26 Eli Zaretskii <eliz@gnu.org>
15583 Teach MS-Windows font back-end return per-glyph ascent/descent
15584 * src/w32font.h (struct w32_metric_cache): Add ascent and descent
15586 * src/w32font.c (w32font_text_extents): Compute, cache, and
15587 accumulate per-glyph ascent and descent values, instead of copying
15588 global values from the font. If the values are not available from
15589 the font data, i.e., non-TTF fonts, fall back on font-global values.
15590 (compute_metrics): Compute and return per-glyph ascent and descent
15591 values, if returned by GetGlyphOutlineW, falling back on
15592 font-global values. (Bug#20628)
15593 * src/w32term.c (w32_draw_rectangle): Add 1 pixel to width and
15594 height of rectangle to be drawn, to be compatible with
15595 XDrawRectangle. Fixes glyphless-char display as hex codes in a
15596 box, when per-glyph ascent/descent values are used.
15598 2015-05-26 Artur Malabarba <bruce.connor.am@gmail.com>
15600 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
15601 Don't sort if sorter is nil.
15603 2015-05-26 Michael Albinus <michael.albinus@gmx.de>
15606 * lisp/net/tramp-sh.el (tramp-set-auto-save): Remove it. There
15607 are major modes which set `auto-save-mode' on their own rules;
15608 Tramp shall not overwrite such settings.
15610 2015-05-26 Glenn Morris <rgm@gnu.org>
15612 * lisp/desktop.el: If modes aren't autoloaded, try simple guesswork.
15613 (desktop-load-file): Guess that "foobar" defines "foobar-mode".
15614 (desktop-buffer-mode-handlers, desktop-minor-mode-handlers):
15616 (vc-dir-mode): Remove unnecessary autoload.
15618 2015-05-25 Philipp Stephani <phst@google.com>
15620 * lisp/term/xterm.el: Add gui-get-selection support via OSC-52.
15621 (xterm--extra-capabilities-type): Add `getSelection'.
15622 (xterm--query): Add `no-async' argument.
15623 (xterm--init-activate-get-selection): New function.
15624 (terminal-init-xterm): Use it.
15625 (xterm--init-modify-other-keys): Rename from
15626 terminal-init-xterm-modify-other-keys.
15627 (xterm--init-bracketed-paste-mode): Rename from
15628 terminal-init-xterm-bracketed-paste-mode.
15629 (xterm--init-activate-set-selection): Rename from
15630 terminal-init-xterm-activate-set-selection.
15631 (xterm--selection-char): New function.
15632 (gui-backend-set-selection): Use it. Use the &context to only apply
15633 this method in terminals where we enabled the feature.
15634 (gui-backend-get-selection): New method.
15636 2015-05-25 Daniel Colascione <dancol@dancol.org>
15638 * lisp/progmodes/cc-langs.el (c-constant-kwds): Add C-language
15639 keyword constants to C++.
15641 2015-05-25 Paul Eggert <eggert@cs.ucla.edu>
15643 Make TAGS files more portable to MS-Windows
15644 * etc/NEWS: Document this.
15645 * lib-src/etags.c (readline_internal) [DOS_NT]:
15646 Don't treat CRs differently from GNUish hosts.
15647 * lisp/progmodes/etags.el (etags-goto-tag-location):
15648 Adjust STARTPOS to account for the skipped CRs in dos-style files.
15650 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
15652 Improve fix of bug#20634 in tramp-sh.el
15654 2015-05-25 Eli Zaretskii <eliz@gnu.org>
15656 Fix a typo in last commit
15657 * lib-src/etags.c (C_entries): Fix a typo.
15658 * test/etags/ETAGS.good_1:
15659 * test/etags/ETAGS.good_2:
15660 * test/etags/ETAGS.good_3:
15661 * test/etags/ETAGS.good_4:
15662 * test/etags/ETAGS.good_5:
15663 * test/etags/CTAGS.good: Update due to the change in etags.c.
15665 Fix tagging of class members in C-like OO languages
15666 * lib-src/etags.c (longopts): Add new option --class-qualify and
15668 (print_help): Add help text for --class-qualify.
15669 (main): Add handling of -Q.
15670 (consider_token, C_entries) <omethodparm>: Append argument types
15671 to Objective C methods only if --class-qualify was specified.
15672 Qualify C++, Objective C, and Java class members with their class
15673 names only if --class-qualify was specified.
15674 (C_entries): If --class-qualify was not specified, remove the
15675 namespace and class qualifiers from tag names of C++ methods.
15676 This allows to use etags.el as xref back-end without the
15677 tag-symbol-match-p method, which greatly increases the number of
15678 potentially false positives. (Bug#20629)
15679 * doc/man/etags.1: Update to document the new --class-qualify
15681 * test/etags/ETAGS.good_1:
15682 * test/etags/ETAGS.good_2:
15683 * test/etags/ETAGS.good_3:
15684 * test/etags/ETAGS.good_4:
15685 * test/etags/ETAGS.good_5:
15686 * test/etags/CTAGS.good: Update due to changes in etags.c.
15688 2015-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
15690 (cl-generic-define-method): Side effects are evil (bug#20644)
15691 * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method): Don't reuse
15692 cons-cells that might be used as keys in an `equal' hash-table.
15694 2015-05-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
15696 Make erc timestamps visible again
15697 * lisp/erc/erc-stamp.el (erc-munge-invisibility-spec):
15698 Make timestamps visible again (if requested).
15700 2015-05-25 Eli Zaretskii <eliz@gnu.org>
15702 Fix last change in etags.c that broke tagging compresed files
15703 * lib-src/etags.c (process_file_name) [MSDOS || DOS_NT]: Fix
15704 quoting of decompression shell command for MS-Windows/MS-DOS.
15706 2015-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
15708 * lisp/emacs-lisp/cl-macs.el (cl-tagbody): Scope cl--tagbody-alist.
15711 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
15713 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer):
15714 Fix typo in "Inhibit `epa-file-handler' in Tramp"
15715 (commit 89035e247591c8d688fce922b7079881aa110f33).
15717 2015-05-25 Orivej Desh <orivej@gmx.fr> (tiny change)
15719 Fix IPv6 addresses in Tramp
15720 * lisp/net/tramp-sh.el (tramp-make-copy-program-file-name):
15721 Add square brackets around host name.
15723 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
15725 Inhibit `epa-file-handler' in Tramp (Bug#20634)
15726 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
15727 (tramp-sh-handle-insert-file-contents-literally): Inhibit also
15728 `epa-file-handler'.
15730 2015-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
15732 * lisp/emacs-lisp/pcase.el: Use PAT rather than UPAT in docstring.
15733 (pcase-let): Document the behavior in case the pattern doesn't match.
15735 2015-05-24 Artur Malabarba <bruce.connor.am@gmail.com>
15737 * lisp/emacs-lisp/tabulated-list.el: New optional print method.
15738 (tabulated-list-print): New optional argument, UPDATE. If
15739 non-nil, the list is printed by only adding and deleting the
15740 changed entries, instead of erasing the whole buffer. This method
15741 is much faster when few or no entries have changed.
15742 * doc/lispref/modes.texi (Tabulated List Mode): Document it.
15743 * etc/NEWS: Document it.
15745 * lisp/emacs-lisp/tabulated-list.el: Improve printing.
15746 (tabulated-list--get-sorter): New function.
15747 (tabulated-list-print): Restore window-line when remember-pos is
15748 passed and optimize away the `nreverse'.
15750 2015-05-24 Paul Eggert <eggert@cs.ucla.edu>
15752 Simpilify etags TEX mode scanning
15753 * lib-src/etags.c (TEX_mode, TEX_esc, TEX_opgrp, TEX_clgrp):
15754 Remove static vars.
15755 (TeX_commands): Deduce escapes here instead.
15756 (TEX_LESC, TEX_SESC, TEX_mode): Remove; all uses removed.
15757 This removes the need for a reset_input call.
15759 Improve etags I/O error reporting
15761 Don't include sys/types.h and sys/stat.h; no longer needed.
15762 (infilename): New static var.
15763 (process_file_name): Don't call 'stat'. Instead, just open the
15764 file for reading and report any errors. Don't bother making
15765 a copy of the file argument; it's not needed. Be more careful to
15766 use the failing errno when reporting an error.
15767 Quote the real name better (though no perfectly)
15768 when passing it to the shell.
15769 (reset_input): New function, which reports I/O errors.
15770 All uses of 'rewind' changed to use this function.
15771 (perhaps_more_input): New function, which also checks for
15772 I/O errors. All uses of 'feof' changed to use this function.
15773 (analyze_regex): Report an error if fclose fails.
15774 (readline_internal): Report an error if getc fails.
15775 (etags_mktmp): Return an error if close fails.
15777 etags.c: avoid side effects in 'if'
15778 * lib-src/etags.c (process_file_name, Perl_functions)
15779 (TEX_decode_env): Hoist side effects into previous statement.
15782 * .gitignore: Ignore all *.stamp files. Sort.
15783 Ignore [0-9]*.txt (commonly used name for git patches)
15784 and /vc-dwim-log-* (vc-dwim temporary).
15786 2015-05-24 Eli Zaretskii <eliz@gnu.org>
15788 Fix last change in etags.c, which failed the test suite
15789 * lib-src/etags.c (intoken): Add '$' to the set, as it was there
15790 before the last change.
15792 2015-05-23 Glenn Morris <rgm@gnu.org>
15794 Remove charset map files from repository, generate in first bootstrap
15795 * admin/charsets/Makefile.in (${srcdir}/charsets.stamp): New.
15796 (all): Create the stamp file.
15797 (extraclean): Delete the stamp file.
15798 * src/Makefile.in (lispintdir, charsets): New variables.
15799 (${lispintdir}/cp51932.el, ${lispintdir}/eucjp-ms.el, ${charsets}):
15801 (emacs$(EXEEXT), temacs$(EXEEXT)): Depend on $charsets.
15802 * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
15803 * etc/charsets/*.map: Remove from repository.
15805 2015-05-23 Paul Eggert <eggert@cs.ucla.edu>
15807 Cleanup etags.c to use locale-independent code
15808 Although this doesn't alter behavior (as etags doesn't use
15809 setlocale), the new version is more clearly locale-independent and
15810 the executable is a bit smaller on my platform.
15811 * lib-src/etags.c: Include <limits.h>, for UCHAR_MAX.
15812 Include <c-ctype.h> instead of <ctype.h>.
15813 (CHARS, CHAR, init, _wht, _nin, _itk, _btk, _etk, white, nonam, endtk)
15815 Remove; no longer needed.
15816 (iswhite, ISALNUM, ISALPHA, ISDIGIT, ISLOWER, lowcase): Remove.
15817 All callers changed to use c_isspace, c_isalnum, c_isalpha, c_isdigit,
15818 c_islower, c_tolower, respectively.
15819 (notinname, begtoken, intoken, endtoken): Rewrite as functions
15820 instead of macros, and initialize the tables at compile-time
15821 rather than at run-time.
15823 Put default action first in src/Makefile
15824 * src/Makefile.in (all): Put this rule before lisp.mk.
15825 That way, plain 'make' works in the src directory again.
15827 2015-05-23 Glenn Morris <rgm@gnu.org>
15829 * Makefile.in: Fix extraclean rule.
15830 (extraclean_dirs): New.
15831 (extraclean): Use it.
15833 2015-05-23 Eli Zaretskii <eliz@gnu.org>
15835 Avoid compiler warning in image.c on MS-Windows
15836 * src/w32term.h (x_query_color): Add prototype, to avoid compiler
15837 warning in image.c.
15839 2015-05-23 Glenn Morris <rgm@gnu.org>
15841 Fix --without-toolkit-scroll-bars builds.
15842 * src/xterm.c (x_scroll_bar_set_handle) [!USE_TOOLKIT_SCROLL_BARS]:
15843 Add new argument to x_clear_area1.
15844 (XTset_horizontal_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
15845 Update x_clear_area arguments.
15847 * admin/charsets/glibc/: New directory, imported from glibc 2.21.
15848 * admin/charsets/Makefile.in (GLIBC_CHARMAPS):
15849 Change to included version.
15850 (LOCAL, local, totalclean): Remove.
15851 (extraclean): Delete all generated files.
15853 2015-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15855 * lisp/pcmpl-cvs.el (pcmpl-cvs-entries): Don't assume
15856 CVS/Entries exists.
15858 * lisp/progmodes/xref.el (xref-find-apropos): Use read-string.
15860 * lisp/progmodes/etags.el (tags-completion-at-point-function):
15861 Don't trust the find-tag function.
15863 2015-05-23 Paul Eggert <eggert@cs.ucla.edu>
15865 Pacify --enable-gcc-warnings
15866 * src/frame.h (x_query_color): Remove redundant extern decl.
15867 * src/ftcrfont.c (ftcrfont_glyph_extents, ftcrfont_list)
15868 (ftcrfont_match, ftcrfont_open, ftcrfont_close)
15869 (ftcrfont_text_extents, ftcrfont_draw):
15870 * src/xterm.c (x_set_window_size_1, *x_color_cells, x_update_end)
15871 (XTframe_up_to_date, x_clear_area1, x_clear_frame)
15872 (x_ins_del_lines, frame_highlight, frame_unhighlight)
15873 (x_new_focus_frame, x_focus_changed, XTframe_rehighlight)
15874 (x_draw_hollow_cursor, x_draw_bar_cursor, x_flush, x_update_begin)
15875 (x_update_window_begin, x_connection_closed)
15876 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
15877 (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
15878 (*x_gc_get_ext_data, x_extension_initialize)
15879 (x_cr_accumulate_data):
15880 Remove redundant static decl. Many of these GCC doesn't complain
15881 about, but we might as well clean out the duplication while we're
15882 in the neighborhood.
15883 * src/xterm.c (x_fill_trapezoid_for_relief):
15884 Remove decl of nonexistent function.
15886 2015-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15888 Replace gui-method macros with cl-generic with &context
15889 * lisp/frame.el (gui-method--name, gui-method, gui-method-define)
15890 (gui-method-declare, gui-call): Remove.
15891 (frame-creation-function): Use cl-defgeneric.
15892 (make-frame): Adjust callers.
15893 * lisp/menu-bar.el (menu-bar-edit-menu):
15894 Use gui-backend-selection-exists-p.
15895 * lisp/select.el (x-get-clipboard): Use gui-backend-get-selection.
15896 (gui-backend-get-selection): New cl-generic to replace
15897 gui-get-selection method.
15898 (gui-backend-set-selection): New cl-generic to replace
15899 gui-set-selection method.
15900 (gui-selection-owner-p): New cl-generic to replace
15901 gui-selection-owner-p method.
15902 (gui-backend-selection-exists-p): New cl-generic to replace
15903 gui-selection-exists-p method. Adjust all callers.
15904 * lisp/server.el (server-create-window-system-frame): Don't ignore
15905 window-system spec even when unsupported.
15906 * lisp/simple.el (deactivate-mark): Use new gui-backend-* functions.
15907 * lisp/startup.el (handle-args-function, window-system-initialization):
15909 (command-line): Adjust calls accordingly.
15910 * lisp/term/ns-win.el (ns-window-system-initialization): Turn into
15911 a window-system-initialization method.
15912 (handle-args-function, frame-creation-function): Use cl-defmethod.
15913 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
15914 (gui-get-selection): Use cl-defmethod on the new functions instead.
15915 * lisp/term/pc-win.el (w16-get-selection-value): Turn into
15916 a gui-backend-get-selection method.
15917 (gui-selection-exists-p, gui-selection-owner-p, gui-set-selection):
15918 Use cl-defmethod on the new functions instead.
15919 (msdos-window-system-initialization): Turn into
15920 a window-system-initialization method.
15921 (frame-creation-function, handle-args-function): Use cl-defmethod.
15922 * lisp/term/w32-win.el (w32-window-system-initialization): Turn into
15923 a window-system-initialization method.
15924 (handle-args-function, frame-creation-function): Use cl-defmethod.
15925 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
15926 (gui-get-selection): Use cl-defmethod on the new functions instead.
15927 * lisp/term/x-win.el (x-window-system-initialization): Turn into
15928 a window-system-initialization method.
15929 (handle-args-function, frame-creation-function): Use cl-defmethod.
15930 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
15931 (gui-get-selection): Use cl-defmethod on the new functions instead.
15932 * lisp/term/xterm.el (xterm--set-selection): Turn into
15933 a gui-backend-set-selection method.
15934 * src/nsselect.m (Fns_selection_exists_p): Remove unused arg `terminal'.
15935 (Fns_selection_owner_p): Remove unused arg `terminal'.
15936 (Fns_get_selection): Remove unused args `time_stamp' and `terminal'.
15938 2015-05-23 Eli Zaretskii <eliz@gnu.org>
15940 Revert "Fix etags Bug#20629 that broke C++ support"
15941 This reverts commit 13dd9d4f7e75d2c78aa5537cef09de03663e9748.
15943 2015-05-23 Jan D <jan.h.d@swipnet.se>
15945 Fix etags Bug#20629 that broke C++ support
15946 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
15947 Revert commit from Sun May 10 (Bug#20629).
15949 Merge branch 'cairo'.
15950 Main work done by YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>.
15951 Small fixes and image work by Jan D. <jan.h.d@swipnet.se>.
15953 Merge branch 'master' into cairo
15955 Fixes to compile cairo branch without cairo
15956 * src/gtkutil.c (xg_update_scrollbar_pos): x_clear_area takes frame as
15958 * src/xterm.c (handle_one_xevent): Surround x_cr_destroy_surface with
15961 2015-05-23 Artur Malabarba <bruce.connor.am@gmail.com>
15963 * lisp/emacs-lisp/package.el: Always update selected-packages.
15964 (package--update-selected-packages): New function.
15965 (package-menu-execute): Use it before starting the transaction,
15966 this way the list of selected packages is updated even when the
15968 (package-menu--perform-transaction): Don't edit selected-packages.
15970 2015-05-23 Eli Zaretskii <eliz@gnu.org>
15972 Fix etags reading of compressed files
15973 * lib-src/etags.c (O_CLOEXEC) [WINDOWSNT]: Define.
15974 Include fcntl.h, for O_CLOEXEC.
15975 (process_file_name): Don't use 'popen', whose streams cannot be
15976 rewound. Instead, uncompress the file to a temporary file,
15977 created by 'etags_mktmp', and read from that as usual.
15978 (etags_mktmp): New function.
15979 * test/etags/ETAGS.good_1:
15980 * test/etags/ETAGS.good_2:
15981 * test/etags/ETAGS.good_3:
15982 * test/etags/ETAGS.good_4:
15983 * test/etags/ETAGS.good_5: Update to be consistent with latest
15984 changes in etags.c regarding reading compressed files.
15986 Improve documentation of 'set-fontset-font'
15987 * doc/lispref/display.texi (Fontsets): Document the value of nil
15988 for the 3rd argument of 'set-fontset-font'.
15990 Fix documentation of forward-line
15991 * src/cmds.c (Fforward_line): Clarify the return value if the line
15992 at end of accessible portion of the buffer has no newline.
15993 * doc/lispref/positions.texi (Text Lines): Document what happens
15994 if the line at end of accessible portion of buffer has no newline.
15997 2015-05-22 Glenn Morris <rgm@gnu.org>
15999 * admin/charsets/Makefile.in (TRANS_TABLE): Add short aliases.
16001 * admin/charsets/mapconv (LC_ALL): Set to C.
16003 * Makefile.in: Add admin/charsets into top-level clean rules.
16004 (clean): Add admin/charsets.
16005 (maybeclean_dirs): New variable.
16006 (distclean, bootstrap-clean, maintainer-clean): Use $maybeclean_dirs.
16008 * admin/charsets/Makefile.in (LOCAL, local): Fix members.
16010 2015-05-22 Artur Malabarba <bruce.connor.am@gmail.com>
16012 * lisp/emacs-lisp/package.el (package-selected-packages): Fix doc.
16014 2015-05-22 Glenn Morris <rgm@gnu.org>
16016 Generate admin/charsets Makefile via configure, and make more portable
16017 * configure.ac (SUBDIR_MAKEFILES): Add admin/charsets/Makefile.
16018 (admin/charsets/Makefile): Generate it.
16019 * admin/charsets/Makefile.in: Rename from Makefile.
16020 (AWK, srcdir, top_srcdir, AM_DEFAULT_VERBOSITY):
16021 New variables, set by configure.
16022 (charsetdir, lispintdir, mapfiledir, AM_V_GEN, am__v_GEN_)
16023 (am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_, am__v_at_0)
16024 (am__v_at_1, LOCAL, mapconv, run_mapconv, big5, compact, cp51932)
16025 (cp932, eucjp_ms, gb180302, gb180304, kuten): New variables.
16026 (TRANS_TABLE, CHARSETS): Add directory prefix to value.
16027 (all): Declare PHONY.
16028 (local): New PHONY target.
16029 (map_template): New template. Use to define short PHONY aliases.
16030 (*.map): Add directory prefixes to targets and prerequisites.
16031 Respect make verbosity.
16032 (JISC6226.map): Replace non-portable sed append without newline.
16033 (install): Remove rule.
16034 (clean): Only delete temporary sedscript.
16035 (bootstrap-clean, distclean, maintainer-clean, extraclean)
16036 (totalclean): New PHONY rules.
16037 * admin/charsets/mapconv (BASE): Replace basename with expr.
16038 (FILE): Add "mapfiles" subdirectory.
16039 (AWK): New variable. Use throughout in place of "awk".
16040 (main): Use "gunzip -c" in place of "zcat".
16041 Don't leave whitespace before "p", for older sed.
16042 * admin/charsets/mapfiles/PTCP154: Add final newline,
16043 to make older sed versions happy.
16045 2015-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
16047 * lisp/autorevert.el: Use lexical-binding. Fix hook usage.
16048 (global-auto-revert-ignore-buffer, auto-revert-notify-modified-p)
16049 (auto-revert-notify-watch-descriptor): Use defvar-local.
16050 (find-file-hook, auto-revert-tail-mode)
16051 (auto-revert-notify-add-watch): Use setq-local.
16052 (auto-revert-notify-add-watch): Don't call make-local-variable on
16053 kill-buffer-hook (bug#20601).
16055 2015-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
16057 Change defgeneric so it doesn't completely redefine the function
16058 * lisp/emacs-lisp/cl-generic.el (cl-generic-define): Don't throw away
16059 previously defined methods.
16060 (cl-generic-define-method): Let-bind purify-flag instead of
16062 (cl--generic-prefill-dispatchers): Only define during compilation.
16063 (cl-method-qualifiers): Remove redundant alias.
16064 (help-fns-short-filename): Silence byte-compiler.
16065 * test/automated/cl-generic-tests.el:
16066 Adjust to new defgeneric semantics.
16068 2015-05-21 Artur Malabarba <bruce.connor.am@gmail.com>
16070 * lisp/emacs-lisp/package.el (package-menu-execute):
16071 Remove reference to remove-dups.
16073 2015-05-21 kwhite <kwhite@gnu.org>
16075 * lisp/erc/erc.el: Hide network/channel messages.
16076 (erc-network-hide-list, etc-channel-hide-list): New lists to define
16077 message types per network/channel.
16078 (erc-add-targets): New function to parse list of targets.
16079 (erc-hide-current-message-p): Modified to check for new targets.
16081 2015-05-21 Paul Eggert <eggert@cs.ucla.edu>
16083 Don't quote nil and t in doc strings
16084 This is as per "Tips for Documentation Strings" in the elisp manual.
16085 For consistency, do the same in diagnostics and comments.
16087 2015-05-21 Eli Zaretskii <eliz@gnu.org>
16089 Fix a minor problem with mouse-face on mode line
16090 * src/xdisp.c (note_mode_line_or_margin_highlight): Reset the
16091 mouse face also if the mouse pointer hovers above mode-line glyphs
16092 that don't come from any Lisp string. (Bug#20620)
16094 2015-05-21 Artur Malabarba <bruce.connor.am@gmail.com>
16096 * lisp/emacs-lisp/package.el: Fix selected-package logic.
16097 (package-menu-execute): Mark as selected all non-upgrade packages
16099 (package-menu--perform-transaction): Don't mark anything.
16101 * lisp/emacs-lisp/package.el: Mode-line progress report.
16102 (package-menu--transaction-status): New variable.
16103 (package-menu-mode, package-menu--perform-transaction): Use it.
16105 * lisp/emacs-lisp/package.el: Better transaction messages.
16106 (package-menu--partition-transaction): New function.
16107 (package-menu--prompt-transaction-p, package-menu-execute):
16109 (package-menu--perform-transaction): Don't do any messaging.
16111 * lisp/emacs-lisp/package.el: Revert async package transactions.
16112 (package-menu-async): Update doc.
16113 (package-install-from-archive, package-download-transaction)
16114 (package-install, package-menu--perform-transaction)
16115 (package-menu-execute): Remove asynchronous functionality.
16117 2015-05-21 Paul Eggert <eggert@cs.ucla.edu>
16119 Revert doc string changes to f90.el
16120 Problem reported by Glenn Morris in:
16121 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00596.html
16122 * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
16123 Revert recent changes to doc strings, as it's intended that they
16124 use grave accent, not quote.
16126 2015-05-20 Bozhidar Batsov <bozhidar@batsov.com>
16128 * lisp/emacs-lisp/subr-x.el (hash-table-empty-p):
16129 Improve parameter name.
16131 * lisp/emacs-lisp/subr-x.el (hash-table-empty-p): New inline function.
16133 2015-05-20 Paul Eggert <eggert@cs.ucla.edu>
16135 Don't require help-fns when not needed
16136 * lisp/emacs-lisp/autoload.el, lisp/emacs-lisp/advice.el:
16137 * lisp/emacs-lisp/elint.el:
16138 Don't require help-fns at the top level
16139 * lisp/emacs-lisp/advice.el (ad-arglist):
16140 * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
16141 Don't require help-fns. (Bug#17001)
16143 2015-05-20 Eli Zaretskii <eliz@gnu.org>
16145 Fix slash collapsing in etags on MS-Windows
16146 * lib-src/etags.c (canonicalize_filename) [DOS_NT]: Separate the
16147 MS-Windows code from the Posix code, and support collapsing both
16148 forward- and back-slashes on MS-Windows. Fixes a regression found
16151 Improve documentation of glyphless-char-display
16152 * doc/lispref/display.texi (Glyphless Chars): Improve
16153 documentation of glyphless character display.
16155 Fix "acronym" display of glyphless characters on w32
16156 * src/w32term.c (x_draw_glyphless_glyph_string_foreground): Don't
16157 ignore "acronym" substitutes of 1 character for glyphless characters.
16159 2015-05-20 Oleh Krehel <ohwoeowho@gmail.com>
16161 Add an automated test for let-when-compile
16162 * test/automated/subr-tests.el (let-when-compile): New test.
16164 Add let-when-compile macro instead of using pcase-let
16165 * lisp/subr.el (let-when-compile): New let-like macro that makes its
16166 bindings known to macros like `eval-when-compile' in the body.
16167 * lisp/emacs-lisp/lisp-mode.el: Change the top-level `pcase-let' to
16168 a `let-when-compile'. Also comment out the unused lexical var
16170 The change greatly improves readability, while providing almost the
16171 same (even shorter) byte code: instead of pre-evaluating 10 variables,
16172 tossing them into a list, and destructuring that list a full screen
16173 page later, the variables are simply bound as they are evaluated,
16174 wrapped individually in `eval-when-compile'.
16176 2015-05-20 Artur Malabarba <bruce.connor.am@gmail.com>
16178 * lisp/emacs-lisp/package.el: "Delete" button in Help buffer.
16179 (package-delete-button-action): New function.
16180 (describe-package-1): Add Delete button.
16182 * lisp/emacs-lisp/package.el: Better dependency description.
16183 (package--used-elsewhere-p): New optional arg, ALL, and return
16184 package-desc objects instead of names.
16185 (package-delete): Update accordingly.
16186 (describe-package-1): Describe which packages require the package.
16188 2015-05-20 Martin Rudalics <rudalics@gmx.at>
16190 Fix handling and doc-string of FRAME arg of `other-buffer' (Bug#20533)
16191 * src/buffer.c (Fother_buffer): Argument FRAME must denote a live frame.
16194 Improve `switch-to-buffer' in strongly dedicated windows (Bug#20472)
16195 * lisp/window.el (switch-to-buffer-in-dedicated-window): New option.
16196 (switch-to-buffer): If the selected window is strongly dedicated
16197 to its buffer, signal error before prompting for buffer name.
16198 Handle `switch-to-buffer-in-dedicated-window'.
16199 * doc/lispref/windows.texi (Switching Buffers):
16200 Document `switch-to-buffer-in-dedicated-window'.
16202 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
16204 Prefer "this" to “this” in doc strings
16205 This mostly just straightens quotes introduced in my previous patch.
16206 Suggested by Dmitry Gutov in:
16207 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00565.html
16208 * lisp/faces.el, lisp/gnus/gnus-group.el, lisp/ldefs-boot.el:
16209 * lisp/mail/supercite.el, lisp/net/tramp.el, lisp/recentf.el:
16210 * lisp/textmodes/artist.el, lisp/textmodes/rst.el:
16211 * lisp/textmodes/tildify.el, lisp/vc/ediff-util.el:
16212 * lisp/vc/log-edit.el, lisp/xt-mouse.el:
16213 Prefer straight double quotes to curved double quotes in doc strings.
16215 Fix minor quoting problems in doc strings
16216 These were glitches regardless of how or whether we tackle the
16217 problem of grave accent in doc strings.
16218 * lisp/calc/calc-aent.el (math-restore-placeholders):
16219 * lisp/ido.el (ido-ignore-buffers, ido-ignore-files):
16220 * lisp/leim/quail/cyrillic.el ("bulgarian-alt-phonetic"):
16221 * lisp/leim/quail/hebrew.el ("hebrew-new")
16222 ("hebrew-biblical-sil"):
16223 * lisp/leim/quail/thai.el ("thai-kesmanee"):
16224 * lisp/progmodes/idlw-shell.el (idlwave-shell-file-name-chars):
16225 Used curved quotes to avoid ambiguities like ‘`''’ in doc strings.
16226 * lisp/calendar/calendar.el (calendar-month-abbrev-array):
16227 * lisp/cedet/semantic/mru-bookmark.el (semantic-mrub-cache-flush-fcn):
16228 * lisp/cedet/semantic/symref.el (semantic-symref-tool-baseclass):
16229 * lisp/cedet/semantic/tag.el (semantic-tag-copy)
16230 (semantic-tag-components):
16231 * lisp/cedet/srecode/cpp.el (srecode-semantic-handle-:cpp):
16232 * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
16233 * lisp/emacs-lisp/byte-opt.el (byte-optimize-all-constp):
16234 * lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-engine):
16235 * lisp/emacs-lisp/generator.el (iter-next):
16236 * lisp/gnus/gnus-art.el (gnus-treat-strip-list-identifiers)
16237 (gnus-article-mode-syntax-table):
16238 * lisp/net/rlogin.el (rlogin-directory-tracking-mode):
16239 * lisp/net/soap-client.el (soap-wsdl-get):
16240 * lisp/net/telnet.el (telnet-mode):
16241 * lisp/org/org-compat.el (org-number-sequence):
16242 * lisp/org/org.el (org-remove-highlights-with-change)
16243 (org-structure-template-alist):
16244 * lisp/org/ox-html.el (org-html-link-org-files-as-html):
16245 * lisp/play/handwrite.el (handwrite-10pt, handwrite-11pt)
16246 (handwrite-12pt, handwrite-13pt):
16247 * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
16248 * lisp/progmodes/idlwave.el (idlwave-mode, idlwave-check-abbrev):
16249 * lisp/progmodes/verilog-mode.el (verilog-tool)
16250 (verilog-string-replace-matches, verilog-preprocess)
16251 (verilog-auto-insert-lisp, verilog-auto-insert-last):
16252 * lisp/textmodes/makeinfo.el (makeinfo-options):
16253 * src/font.c (Ffont_spec):
16254 Fix minor quoting problems in doc strings, e.g., missing quote,
16255 ``x'' where `x' was meant, etc.
16256 * lisp/erc/erc-backend.el (erc-process-sentinel-2):
16257 Fix minor quoting problem in other string.
16258 * lisp/leim/quail/ethiopic.el ("ethiopic"):
16259 * lisp/term/tvi970.el (tvi970-set-keypad-mode):
16260 Omit unnecessary quotes.
16261 * lisp/faces.el (set-face-attribute, set-face-underline)
16262 (set-face-inverse-video, x-create-frame-with-faces):
16263 * lisp/gnus/gnus-group.el (gnus-group-nnimap-edit-acl):
16264 * lisp/mail/supercite.el (sc-attribs-%@-addresses)
16265 (sc-attribs-!-addresses, sc-attribs-<>-addresses):
16266 * lisp/net/tramp.el (tramp-methods):
16267 * lisp/recentf.el (recentf-show-file-shortcuts-flag):
16268 * lisp/textmodes/artist.el (artist-ellipse-right-char)
16269 (artist-ellipse-left-char, artist-vaporize-fuzziness)
16270 (artist-spray-chars, artist-mode, artist-replace-string)
16271 (artist-put-pixel, artist-text-see-thru):
16272 * lisp/vc/ediff-util.el (ediff-submit-report):
16273 * lisp/vc/log-edit.el (log-edit-changelog-full-paragraphs):
16274 Use double-quotes rather than TeX markup in doc strings.
16275 * lisp/skeleton.el (skeleton-pair-insert-maybe):
16276 Reword to avoid the need for grave accent and apostrophe.
16277 * lisp/xt-mouse.el (xterm-mouse-tracking-enable-sequence):
16278 Don't use grave and acute accents to quote.
16280 2015-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
16282 * lisp/emacs-lisp/generator.el (cps--gensym, cps--transform-1):
16285 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
16287 Try to port new etags tests to MS-Windows
16288 * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
16289 * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
16290 * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
16291 Adjust to test-case changes below.
16292 * test/etags/Makefile (CSRC): Remove dostorture.c.
16293 Whatever it was trying to test, wasn't working portably.
16294 (LC_ALL): Remove. Apparently there wasn't an encoding problem,
16295 just a line-ending problem.
16296 * test/etags/c-src/dostorture.c: Remove.
16297 * test/etags/cp-src/c.C: Remove stray CR.
16298 * test/etags/html-src/algrthms.html: Remove trailing CRs.
16299 State UTF-8 as the encoding. The file is ASCII so it doesn't matter,
16300 but if someone edits it later it should stay UTF-8-compatible.
16302 2015-05-19 Eli Zaretskii <eliz@gnu.org>
16304 Fix display of overlapping window-specific overlays
16305 * src/keyboard.c (adjust_point_for_property): When adjusting point
16306 due to display strings, ignore overlays that are specific to
16307 windows other than the currently selected one.
16308 * src/xdisp.c (handle_single_display_spec): If the display
16309 property comes from an overlay, arrange for buffer iteration to
16310 resume only after the end of that overlay. (Bug#20607)
16312 2015-05-19 Dmitry Gutov <dgutov@yandex.ru>
16314 New command icomplete-force-complete-and-exit
16315 * lisp/icomplete.el (icomplete-force-complete-and-exit):
16317 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00461.html)
16318 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00516.html).
16319 (icomplete-minibuffer-map): Bind C-j to it.
16320 (icomplete-forward-completions, icomplete-backward-completions):
16321 Mention the new command in the docstring.
16322 * lisp/minibuffer.el (minibuffer-force-complete-and-exit):
16323 Revert the previous fix for bug#17545.
16325 2015-05-19 Martin Rudalics <rudalics@gmx.at>
16329 In Elisp manual explain how to override window manager positioning
16331 * doc/lispref/frames.texi (Position Parameters): Give example of
16332 how to override a window manager positioning decision.
16334 Clarify concept of "surrogate minibuffer frames" (Bug#20538)
16335 * src/frame.c (Fdelete_frame): In doc-string mention that frame
16336 can't be deleted if it has a surrogate minibuffer.
16337 * doc/lispref/frames.texi (Minibuffers and Frames)
16338 (Deleting Frames): Explain "surrogate minibuffer frames".
16340 * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 19/12 MB.
16342 2015-05-18 Glenn Morris <rgm@gnu.org>
16344 Add option to ignore commit lines matching a pattern in ChangeLog
16345 * build-aux/gitlog-to-changelog: Add --ignore-line option.
16346 * build-aux/gitlog-to-emacslog: Ignore lines matching '^; '.
16348 2015-05-18 Paul Eggert <eggert@cs.ucla.edu>
16350 Don't skip new etags tests on non-UTF-8 hosts
16351 Problem reported by Eli Zaretskii for MS-Windows.
16352 * test/etags/Makefile (UTF8_LOCALE, UTF8_ENCODING): Remove.
16353 (LC_ALL): Set to C if the current locale isn't UTF-8.
16354 (.PHONY): Remove ediff_1 thru ediff_5.
16355 (check): Always run.
16357 2015-05-18 Glenn Morris <rgm@gnu.org>
16359 * lisp/calculator.el (calculator-funcall):
16360 * lisp/textmodes/artist.el (artist-spray-random-points):
16361 Use standard degree/radian conversion utilities.
16363 Further lisp-complete-symbol related cleanup.
16364 * lisp/emacs-lisp/lisp.el (lisp-complete-symbol):
16365 Unadvertise non-functional argument. Replace obsolete alias.
16367 2015-05-18 Dmitry Gutov <dgutov@yandex.ru>
16369 Add a test case for Maven warning ouput
16370 * test/automated/compile-tests.el
16371 (compile-tests--test-regexps-data): Add a case for Maven warning
16373 (compile--test-error-line): Check the compilation message type, if
16374 it's specified in the test data.
16376 2015-05-18 Paul Pogonyshev <pogonyshev@gmail.com>
16378 Update Maven compilation-mode entry to distinguish warnings
16379 * lisp/progmodes/compile.el
16380 (compilation-error-regexp-alist-alist): Update Maven entry to
16381 distinguish warnings (bug#20556).
16383 2015-05-18 Przemysław Wojnowski <esperanto@cumego.com>
16385 * test/automated/sgml-mode-tests.el: New file.
16387 2015-05-18 Dmitry Gutov <dgutov@yandex.ru>
16389 Improve handling of the first Git revision
16390 * lisp/vc/log-view.el (log-view-toggle-entry-display): When
16391 there's no next entry, delete until the end of the buffer.
16392 (log-view-end-of-defun-1): Stop at eob.
16393 * lisp/vc/vc-annotate.el
16394 (vc-annotate-show-diff-revision-at-line-internal): Don't give up
16395 when previous-revision is nil.
16396 * lisp/vc/vc-git.el (vc-git-expanded-log-entry): End the arguments
16397 with `--' to avoid ambiguity.
16398 (vc-git-annotate-extract-revision-at-line): Exclude `^' from the
16399 returned revision string.
16400 (vc-git-annotate-time): Expect `^' before the first revision.
16401 * lisp/vc/vc-git.el (vc-git-diff): Diff against an empty tree if
16402 REV1 is nil, and REV2 is not.
16403 * lisp/vc/vc.el: Update the description of the `diff' function.
16405 2015-05-18 Oleh Krehel <ohwoeowho@gmail.com>
16407 Allow checkdoc to be called in batch
16408 * lisp/emacs-lisp/checkdoc.el (checkdoc-error): When `noninteractive'
16409 is non-nil, echo the error with `warn'.
16410 How it can be used in -batch:
16411 (with-current-buffer (find-file "checkdoc.el")
16412 (checkdoc-current-buffer t))
16414 2015-05-18 Glenn Morris <rgm@gnu.org>
16416 * lisp/calendar/solar.el (solar-ecliptic-coordinates): Use float-pi.
16418 2015-05-17 Paul Eggert <eggert@cs.ucla.edu>
16420 * admin/notes/unicode: New section "binary files".
16422 Change new etags test to use UTF-8 encoding
16423 * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
16424 * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
16425 * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
16426 * test/etags/html-src/index.shtml, test/etags/html-src/software.html:
16427 * test/etags/html-src/softwarelibero.html:
16428 Switch to UTF-8 encoding.
16429 * test/etags/Makefile (SRCS): Adjust to switch to UTF-8.
16430 Remove Makefile, as it's too incestuous to have the test input
16431 include the build procedure.
16432 (UTF8_LOCALE, UTF_ENCODING): New macros.
16433 (LC_ALL): If possible, set to a UTF-8 encoding if not already UTF-8.
16434 (check): Skip if not UTF-8.
16435 (.PHONY): New rule.
16436 (FRC): Remove, as superseded by .PHONY. All uses removed.
16437 (regexfile): Prefer printf to echo when outputting oddball chars.
16438 (.PRECIOUS): Remove, as these files are not built.
16440 Rename 'foo-gzipped' to 'foo.gz'
16441 * test/automated/data/decompress/foo.gz:
16442 Rename from test/automated/data/decompress/foo-gzipped,
16443 to make it easier for other tools to tell that it's compressed.
16444 * test/automated/zlib-tests.el (zlib--decompress):
16445 Adjust to renamed file.
16447 2015-05-17 Dmitry Gutov <dgutov@yandex.ru>
16449 Set up default-directory
16450 * lisp/vc/vc-annotate.el (vc-annotate-mode-map): Remove duplicate
16452 (vc-annotate-show-changeset-diff-revision-at-line): Set up an
16453 appropriate value for default-directory.
16455 2015-05-17 Samer Masterson <samer@samertm.com>
16457 * lisp/eshell/em-term.el (eshell-term-sentinel):
16458 No-op by default, only kills term buffer if
16459 `eshell-destroy-buffer-when-process-dies' is non-nil. (Bug#18108)
16460 (eshell-destroy-buffer-when-process-dies): New custom to preserve
16463 eshell: Introduce new buffer syntax
16464 The new buffer syntax '#<buffer-name>' is equivalent to '#<buffer
16465 buffer-name>'. Remove `eshell-buffer-shorthand', as it is no longer
16466 needed (Bug#19319).
16467 * lisp/eshell/esh-io.el (eshell-buffer-shorthand): Remove.
16468 (eshell-get-target): Remove shorthand-specific code.
16469 * lisp/eshell/esh-arg.el (eshell-parse-special-reference): Parse
16472 2015-05-17 Jan D <jan.h.d@swipnet.se>
16474 Merge branch 'master' into cairo
16476 2015-04-26 Jan D <jan.h.d@swipnet.se>
16478 Merge branch 'master' into cairo
16480 Add PBM support for cairo
16481 * src/image.c (xcolor_to_argb32): New function.
16482 (get_spec_bg_or_alpha_as_argb): Call xcolor_to_argb32.
16483 (pbm_load, png_load_body, jpeg_load_body, gif_load): Only use
16484 XImagePtr if ! USE_CAIRO.
16485 (pbm_load): Add cairo support.
16487 2015-04-12 Jan D <jan.h.d@swipnet.se>
16489 * src/xterm.c (x_free_cr_resources): Rename from x_prepare_for_xlibdraw.
16490 (x_cr_draw_frame, x_cr_export_frames, x_shift_glyphs_for_insert)
16491 (x_free_frame_resources): Rename x_prepare_for_xlibdraw to
16492 x_free_cr_resources.
16494 Handle specified bg in images. Use generic libpng code for PNGs.
16495 * src/image.c (get_spec_bg_or_alpha_as_argb)
16496 (create_cairo_image_surface): New functions when USE_CAIRO.
16497 (xpm_load): Call the above functions. Handle XPM without mask
16499 (png_load_body): Handle USE_CAIRO case.
16500 (png_load): Remove USE_CAIRO specific fuction, modify png_load_body
16502 (jpeg_load_body): Call create_cairo_image_surface.
16503 (gif_load, svg_load_image): Handle specified background, call
16504 create_cairo_image_surface.
16505 * src/xterm.c (x_draw_image_glyph_string): Add missing USE_CAIRO.
16507 2015-04-11 Jan D <jan.h.d@swipnet.se>
16509 Support GIF and TIFF with cairo
16510 * configure.ac: Allow jpeg with cairo.
16511 Allow tiff and gif with cairo.
16512 * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
16513 (tiff_load): Create cairo image surface if USE_CAIRO.
16516 Support JPEG with USE_CAIRO
16517 * configure.ac: Allow jpeg with cairo.
16518 * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
16520 2015-04-05 Jan D <jan.h.d@swipnet.se>
16522 Support RSVG and cairo
16523 * configure.ac: Allow rsvg with cairo. Move back HAVE_RSVG.
16524 * src/dispextern.h (struct image): Add cr_data2 if cairo.
16525 * src/image.c: #undef COLOR_TABLE_SUPPORT when USE_CAIRO.
16526 (x_clear_image): Free cr_data and cr_data2 if set.
16527 (xpm_load): Assign data to cr_data2.
16528 (svg_load_image): Convert from GdkPixbuf to CAIRO_FORMAT_ARGB32.
16530 2015-04-03 Jan D <jan.h.d@swipnet.se>
16532 Introduce limited Xpm support (32 bit ZPixmap) for Cairo
16533 * configure.ac (HAVE_RSVG): Move after cairo.
16534 (USE_CAIRO): Disable rsvg, don't disable Xpm.
16535 * src/image.c (prepare_image_for_display): Don't load if USE_CAIRO.
16536 (x_clear_image): If USE_CAIRO, also free possible img->ximg->obdata and
16537 don't return early.
16538 (ALLOC_XPM_COLORS): Don't define when USE_CAIRO.
16539 (xpm_load): Convert simple Xpms (32 bit ZPixmap) to CAIRO_FORMAT_ARGB32
16540 and create a surface.
16542 Tool tips for menus did not show any text.
16543 * src/xterm.c (x_update_begin): Don't create any surface for non-visible
16544 tip frames, the geometry may be wrong.
16546 Merge branch 'master' into cairo, fixes tooltips not shown.
16548 Merge branch 'master' into cairo
16550 Add CAIRO_CFLAGS to lwlib/Makefile.in
16551 * Makefile.in (CAIRO_CFLAGS): Add.
16553 2015-02-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16555 * src/ftcrfont.c (ftcrfont_draw): Don't flush when drawing to screen.
16557 2015-02-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16559 Draw outermost line using black relief and erase corners also for cairo.
16560 * src/xterm.c [USE_CAIRO]: Include math.h.
16561 (enum corners) [USE_CAIRO]: New enum.
16562 (x_erase_corners_for_relief) [USE_CAIRO]: New function.
16563 (x_draw_relief_rect) [USE_CAIRO]: Use it. If box width is larger
16564 than 1, draw the outermost line using the black relief.
16566 * src/xterm.c (x_fill_trapezoid_for_relief):
16567 Remove unnecessary cairo_close_path.
16569 2015-02-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16571 * src/xterm.c (x_draw_relief_rect) [USE_CAIRO]: Reset clipping.
16573 * src/xterm.c (x_draw_stretch_glyph_string):
16574 Call x_reset_clip_rectangles instead of XSetClipMask.
16576 Use int instead of unsigned int for width and height args.
16577 * src/xterm.c (x_cr_draw_image, x_fill_rectangle, x_draw_rectangle)
16578 (x_fill_trapezoid_for_relief): Use int instead of unsigned int for
16579 width and height args.
16581 Modernize k&r cairo-related function declarations.
16582 * src/gtkutil.c (xg_page_setup_dialog, xg_get_page_setup, draw_page)
16583 (xg_print_frames_dialog): Modernize k&r declarations.
16584 * src/xfns.c (Fx_export_frames, Fx_page_setup_dialog, Fx_get_page_setup)
16585 (Fx_print_frames_dialog): Modernize k&r declarations.
16586 * src/xterm.c (x_gc_get_ext_data, x_extension_initialize)
16587 (x_begin_cr_clip, x_end_cr_clip, x_set_cr_source_with_gc_foreground)
16588 (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
16589 (x_cr_destroy_fringe_bitmap, x_cr_draw_frame, x_cr_accumulate_data)
16590 (x_cr_destroy, x_cr_export_frames, x_prepare_for_xlibdraw)
16591 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
16592 (x_draw_rectangle, x_clear_window, x_fill_trapezoid_for_relief)
16593 (x_clear_area): Modernize k&r declarations.
16595 Implement wave-style variant of underlining for cairo.
16596 * src/xterm.c (x_draw_horizontal_wave) [USE_CAIRO]: New function.
16597 (x_draw_underwave) [USE_CAIRO]: Use it.
16599 * src/xterm.c (x_draw_window_divider): Use x_fill_rectangle
16600 instead of XFillRectangle.
16602 2015-02-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16604 Fix fringe bitmap initialization for cairo
16605 * src/fringe.c (init_fringe_bitmap) [USE_CAIRO]: Adjust bitmap
16606 data for cairo image surface.
16607 * src/xterm.c (x_cr_define_fringe_bitmap):
16608 Call cairo_surface_mark_dirty.
16610 2015-02-11 Jan D <jan.h.d@swipnet.se>
16613 * configure.ac (with-cairo): New option.
16614 (USE_CAIRO): Default to yes for Gtk+ 3. Add code to test for cairo,
16615 set CAIRO_CFLAGS, CAIRO_LIBS. Add ftcrfonto to FONT_OBJ if cairo.
16616 Output "Does Emacs use cairo?".
16617 * lisp/version.el (emacs-version): Add cairo version.
16618 * src/Makefile.in (CAIRO_CFLAGS, CAIRO_LIBS): New variables.
16619 (FONT_OBJ): Add comment about ftcrfont.
16620 (ALL_CFLAGS): Add CAIRO_CFLAGS.
16621 (LIBES): Add CAIRO_LIBS.
16622 * src/dispextern.h (struct image): Add cr_data for cairo.
16623 (x_cr_init_fringe): Declare.
16624 * src/font.c (syms_of_font): Call syms_of_ftcrfont for cairo.
16625 * src/font.h (ftcrfont_driver, syms_of_ftcrfont): Declare
16626 * src/fringe.c (x_cr_init_fringe): New function name that shares code
16627 with w32_init_fringe.
16628 * src/ftcrfont.c: New font driver for cairo, based on the ftfont driver.
16629 * src/ftfont.c (ftfont_info_size); New global variable.
16630 (ftfont_open2): New extern function almost the same as old ftfont_open,
16631 but takes the font_object as argument.
16632 (ftfont_open): Build font object and call ftfont_open2.
16633 * src/ftfont.h (ftfont_open2, ftfont_info_size): Declare.
16634 * src/gtkutil.c (xg_clear_under_internal_border)
16635 (xg_update_scrollbar_pos, xg_update_horizontal_scrollbar_pos):
16636 Only queue_draw if not cairo. Change args to x_clear_area.
16637 (xg_get_font): Use Qftcr when using cairo, Qxft otherwise.
16638 (xg_page_setup_dialog, xg_get_page_setup, draw_page)
16639 (xg_print_frames_dialog): New functions for printing.
16640 * src/gtkutil.h (xg_page_setup_dialog, xg_get_page_setup)
16641 (xg_print_frames_dialog): Declare.
16642 * src/image.c: Add defined (USE_CAIRO) for PNG.
16643 Add !defined USE_CAIRO for W32 PNG code.
16644 (x_clear_image): If cairo, destroy the surface in cr_data.
16645 (png_load): Add new cairo compatible implementation.
16646 (lookup_image_type): Add defined (USE_CAIRO) for define png_type.
16647 * src/xfns.c: New section Printing.
16648 (x-export-frames, x-page-setup-dialog, x-get-page-setup)
16649 (x-print-frames-dialog): New printing functions.
16650 (Fx_create_frame, x_create_tip_frame): Register ftcrfont if cairo.
16651 (syms_of_xfns): Defsym Qorientation, Qtop_margin, Qbottom_margin,
16652 Qportrait, Qlandscape, Qreverse_portrait, Qreverse_landscape).
16653 (syms_of_xfns): Provide cairo and defvar cairo-version-string.
16654 defsubr Sx_page_setup_dialog, Sx_get_page_setup, Sx_print_frames_dialog.
16655 * src/xterm.c (x_clear_area1, x_prepare_for_xlibdraw)
16656 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
16657 (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
16658 (x_gc_get_ext_data, x_extension_initialize, x_cr_accumulate_data):
16660 (FRAME_CR_CONTEXT, FRAME_CR_SURFACE): New macros.
16661 (max_fringe_bmp, fringe_bmp): New variables.
16662 (x_gc_get_ext_data, x_extension_initialize)
16663 (x_cr_destroy_surface, x_begin_cr_clip, x_end_cr_clip)
16664 (x_set_cr_source_with_gc_foreground)
16665 (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
16666 (x_cr_destroy_fringe_bitmap, x_cr_draw_image, x_cr_draw_frame)
16667 (x_cr_accumulate_data, x_cr_destroy, x_cr_export_frames)
16668 (x_prepare_for_xlibdraw, x_set_clip_rectangles)
16669 (x_reset_clip_rectangles, x_fill_rectangle, x_draw_rectangle)
16670 (x_clear_window, x_fill_trapezoid_for_relief): New functions.
16671 (x_update_begin): Create cairo surface if needed.
16672 (x_draw_vertical_window_border): Call x_fill_rectangle for cairo.
16673 (x_update_end): Paint cairo drawing surface to xlib surface.
16674 (x_clear_under_internal_border, x_after_update_window_line): Adjust
16675 arguments to x_clear_area.
16676 (x_draw_fringe_bitmap): Call x_fill_rectangle. Get GC values and
16677 call x_cr_draw_image for cairo. Call x_reset_clip_rectangles instead
16679 (x_set_glyph_string_clipping)
16680 (x_set_glyph_string_clipping_exactly): Use x_set_clip_rectangles
16681 instead of XSetClipRectangles.
16682 (x_clear_glyph_string_rect, x_draw_glyph_string_background):
16683 Use x_fill_rectangle instead of XFillRectangle.
16684 (x_draw_glyph_string_foreground)
16685 (x_draw_composite_glyph_string_foreground)
16686 (x_draw_glyphless_glyph_string_foreground): Use x_draw_rectangle
16687 instead of XDrawRectangle.
16688 (x_draw_relief_rect): Add code for USE_CAIRO.
16689 Call x_reset_clip_rectangles instead of XSetClipMask.
16690 (x_draw_box_rect): x_set_clip_rectangles instead of XSetClipRectangles,
16691 x_fill_rectangle instead of XFillRectangle, x_reset_clip_rectangles
16692 instead of XSetClipMask.
16693 (x_draw_image_foreground, x_draw_image_foreground_1):
16694 x_draw_rectangle instead of XDrawRectangle.
16695 (x_draw_glyph_string_bg_rect): x_fill_rectangle instead of
16697 (x_draw_image_glyph_string): If img has cr_data, use it as
16699 (x_draw_stretch_glyph_string): x_set_clip_rectangles instead of
16700 XSetClipRectangles, x_fill_rectangle instead of XFillRectangle.
16701 (x_draw_glyph_string): x_fill_rectangle instead of XFillRectangle.,
16702 x_reset_clip_rectangles instead of XSetClipMask.
16703 (x_shift_glyphs_for_insert): Call x_prepare_for_xlibdraw.
16704 (x_clear_area1): New function that calls XClearArea.
16705 (x_clear_area): Takes frame as parameter, calls x_clear_area1 for
16707 (x_clear_frame): x_clear_window instead of XClearWindow.
16708 (x_scroll_run): Set frame garbaged if cairo.
16709 (XTmouse_position): Initialize *part to 0.
16710 (x_scroll_bar_create): Adjust arguments to x_clear_area.
16711 (x_scroll_bar_set_handle): x_clear_area1 instead of x_clear_area,
16712 x_fill_rectangle instead of XFillRectangle.
16713 (XTset_vertical_scroll_bar, XTset_horizontal_scroll_bar): Adjust
16714 arguments to x_clear_area.
16715 (x_scroll_bar_expose): x_draw_rectangle instead of XDrawRectangle.
16716 (handle_one_xevent): Adjust arguments to x_clear_area.
16717 Destroy cairo surface for frame if ConfigureNotify.
16718 (x_clip_to_row): x_set_clip_rectangles instead of XSetClipRectangles.
16719 (x_draw_hollow_cursor): x_draw_rectangle instead of XDrawRectangle,
16720 x_reset_clip_rectangles instead of XSetClipMask.
16721 (x_draw_bar_cursor): x_fill_rectangle instead of XFillRectangle,
16722 x_reset_clip_rectangles instead of XSetClipMask.
16723 (x_clear_frame_area): Adjust arguments to x_clear_area.
16724 (x_free_frame_resources): Call x_prepare_for_xlibdraw.
16725 (x_term_init): Call x_extension_initialize if cairo.
16726 (x_redisplay_interface): Add x_cr_define_fringe_bitmap,
16727 x_cr_destroy_fringe_bitmap for cairo.
16728 (x_initialize): Call x_cr_init_fringe for cairo.
16729 * src/xterm.h: Add include of cairo header files.
16730 (x_bitmap_record): Add img if cairo.
16731 (x_gc_ext_data): New struct for cairo.
16732 (x_display_info): Add ext_codes for cairo.
16733 (x_output): Add cr_context and cr_surface for cairo.
16734 (x_clear_area): Change arguments from Display*/Window to frame pointer.
16735 (x_query_color, x_begin_cr_clip, x_end_cr_clip)
16736 (x_set_cr_source_with_gc_foreground, x_set_cr_source_with_gc_background)
16737 (x_cr_draw_frame, x_cr_export_frames): Declare.
16739 2015-05-17 Johan Bockgård <bojohan@gnu.org>
16741 Fix integer-valued `mouse-highlight' (Bug#20590)
16742 * src/xterm.c (handle_one_xevent) [USE_GTK]: Fix ifdef scope.
16744 2015-05-17 Eli Zaretskii <eliz@gnu.org>
16746 MS-Windows followup for ASCIIfication of curved quotes
16747 * lisp/term/w32console.el (terminal-init-w32console): Repeat the
16748 test for curved quotes being displayable, after switching the
16749 terminal encoding. (Bug#20545)
16751 2015-05-17 Jan D <jan.h.d@swipnet.se>
16753 Add comment that x_shift_glyphs_for_insert is never called
16754 * src/xterm.c (x_shift_glyphs_for_insert, x_redisplay_interface):
16755 Add comment that this function is never called.
16757 2015-05-16 Glenn Morris <rgm@gnu.org>
16759 * src/lisp.mk: Remove from repository and generate at build-time.
16760 * src/Makefile.in (lisp.mk): New rule to generate from loadup.el.
16761 (shortlisp_filter): New variable.
16762 (emacs$(EXEEXT), $(etc)/DOC): Depend on lisp.mk.
16763 (distclean): Remove lisp.mk.
16764 * Makefile.in ($(MAKEFILE_NAME)): No longer depend on src/lisp.mk.
16765 * lisp/loadup.el: Tweak layout to make it easier to parse.
16766 * make-dist: Do not distribute src/lisp.mk.
16768 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
16770 Display shorter dates in Git annotate output
16771 * lisp/vc/vc-git.el (vc-git-annotate-command): Use the short date
16772 format (when not overridden with vc-git-annotate-switches).
16773 (vc-git-annotate-time): Support the short format, as well as ISO
16774 8601 that has been used until now (bug#5428).
16776 2015-05-16 Paul Eggert <eggert@cs.ucla.edu>
16778 ASCIIfy curved quotes on displays lacking them
16779 * lisp/international/mule-cmds.el (set-locale-environment):
16780 If curved quotes don't work, display straight ASCII approximations
16783 2015-05-16 Glenn Morris <rgm@gnu.org>
16785 Small src/Makefile simplification
16786 * src/lisp.mk (shortlisp): Rename from lisp, remove $lispsource prefix.
16787 * src/Makefile.in (lisp): Derive from shortlisp.
16788 ($(etc)/DOC): Use $shortlisp rather than parsing lisp.mk.
16790 2015-05-16 Eli Zaretskii <eliz@gnu.org>
16792 * lisp/help-mode.el (help-go-forward): Doc fix.
16795 * doc/lispref/debugging.texi (Profiling): Improve indexing.
16798 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
16800 * lisp/vc/vc-git.el (vc-git-resolve-when-done): Use `unless' to
16801 have one fewer `not'.
16803 * lisp/vc/vc-git.el (vc-git-diff-switches)
16804 (vc-git-annotate-switches, vc-git-resolve-conflicts)
16805 (vc-git-program, vc-git-root-log-format): Remove the redundant
16806 :group declarations.
16808 2015-05-16 Nicolas Petton <nicolas@petton.fr>
16810 Removes the predicate from lisp-complete-symbol (Bug#20456)
16811 * lisp/emacs-lisp/lisp.el (lisp-complete-symbol): Do not use predicate
16812 and remove it from the docstring.
16814 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
16816 Add new option vc-git-resolve-conflicts
16817 * lisp/vc/vc-git.el (vc-git-resolve-conflicts): New variable.
16818 (vc-git-find-file-hook): Add to after-save-hook only when the
16820 (vc-git-resolve-when-done): Update to honor the new variable.
16823 2015-05-16 Artur Malabarba <bruce.connor.am@gmail.com>
16825 * lisp/emacs-lisp/tabulated-list.el: Don't error on null header-string.
16826 (tabulated-list-init-header): Document new behavior.
16827 (tabulated-list-print-fake-header): Do nothing if
16828 `tabulated-list--header-string' is nil.
16829 (tabulated-list--header-string): Add a docstring.
16830 * doc/lispref/modes.texi (Tabulated List Mode): Document it.
16831 * etc/NEWS: Document it.
16833 2015-05-15 Leo Liu <sdl.web@gmail.com>
16835 Revert "Fix cps--gensym"
16836 * lisp/emacs-lisp/generator.el (cps--gensym): Revert commit
16837 fbda511ab8069d0115eafca411a43353b85431b1 on 2015-05-14.
16839 2015-05-15 Glenn Morris <rgm@gnu.org>
16841 Replace AC_SUBST_FILE in configure with include in Makefiles
16842 * configure.ac (DEPDIR, MKDEPDIR, deps_frag, lwlib_deps_frag)
16843 (oldxmenu_deps_frag, lisp_frag): Remove output variables/files.
16844 (AUTO_DEPEND): New output variable.
16845 * lwlib/Makefile.in (AUTO_DEPEND): New, set by configure.
16846 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
16847 (lwlib_deps_frag): Replace by conditional include.
16848 * lwlib/autodeps.mk: Remove file.
16849 * oldXMenu/Makefile.in (AUTO_DEPEND): New, set by configure.
16850 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
16851 (oldxmenu_deps_frag): Replace by conditional include.
16852 * oldXMenu/autodeps.mk: Remove file.
16853 * src/Makefile.in (AUTO_DEPEND): New, set by configure.
16854 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
16855 (lisp_frag): Replace by an include.
16856 (deps_frag): Replace by conditional include.
16857 * src/autodeps.mk: Remove file.
16859 Tweak japanese.el's loading of dependencies
16860 * lisp/loadup.el: Explicitly load cp51932 and eucjp-ms.
16861 * lisp/language/japanese.el: Use require rather than load.
16862 * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
16864 * admin/charsets/eucjp-ms.awk, admin/charsets/cp51932.awk:
16865 Provide a feature in the generated file.
16867 2015-05-15 Jan D <jan.h.d@swipnet.se>
16870 * src/nsmenu.m (ns_popup_dialog)
16871 * src/nsimage.m (initFromXBM:width:height:fg:bg:)
16872 * src/nsfns.m (Fx_create_frame): Remove unused variables.
16873 (Fns_read_file_name): Initialize fname, remove ret.
16874 * src/nsterm.m (ns_draw_window_cursor): Handle DEFAULT_CURSOR in switch.
16875 (ns_get_color, ns_set_horizontal_scroll_bar, keyDown):
16876 Remove unused variable.
16877 (init): Add parantesis in if.
16878 (ns_create_terminal): Assign set_horizontal_scroll_bar_hook.
16880 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
16882 Fix a enum conversion warning in macfont.m
16883 * src/macfont.h (CharacterCollection): Typedef to NSCharacterCollection.
16884 (MAC_CHARACTER_COLLECTION_*): Use the NS variants.
16886 2015-05-15 Eli Zaretskii <eliz@gnu.org>
16888 * lisp/textmodes/ispell.el (ispell-aspell-find-dictionary):
16889 Support Aspell dictionaries with names like "de-alt". (Bug#20581)
16891 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
16893 * lisp/cus-start.el: Add ns-confirm-quit.
16895 Fix warnings on OSX 10.10
16896 * src/nsfns.m (MODAL_OK_RESPONSE): New define for different
16898 (Fns_read_file_name): Check against MODAL_OK_RESPONSE.
16899 (compute_tip_xy): Use convertRectToScreen for OSX >= 10.7
16900 * src/nsmenu.m (initWithContentRect:styleMask:backing:defer:)
16901 * src/nsimage.m (allocInitFromFile, setPixmapData): Only call
16902 setScalesWhenResized for OSX < 10.6.
16903 * src/nsterm.h (EmacsScroller): Declare scrollerWidth.
16904 * src/nsterm.m (ns_copy_bits): New function that does not use
16905 deprecated NSCopyBits.
16906 (ns_scroll_run, ns_shift_glyphs_for_insert): Call ns_copy_bits.
16907 (runAlertPanel): New function.
16908 (applicationShouldTerminate:): Call runAlertPanel.
16909 (initFrameFromEmacs, toggleFullScreen:): Only call
16910 useOptimizedDrawing for OSX < 10.10.
16911 (initFrameFromEmacs:): Only call allocateGState for OSX < 10.10.
16912 (windowWillUseStandardFrame:defaultFrame:): Cast arg to abs to int.
16913 (draggingEntered:): Returns NSDragOperation.
16914 (scrollerWidth): Use scrollerWidthForControlSize for OSX >= 10.7.
16916 2015-05-15 Artur Malabarba <bruce.connor.am@gmail.com>
16918 * lisp/emacs-lisp/package.el: Don't ensure-init during startup.
16919 (package--init-file-ensured): New variable.
16920 (package-initialize, package--ensure-init-file): Use it.
16922 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
16924 Honor :fore/background for XBM on NS (Bug#14969)
16925 * src/nsterm.h (EmacsImage): Add xbm_fg, remove initFromSkipXBM,
16926 initFromXBM takes bg, fg args, remove flip arg.
16927 (ns_image_from_XBM): Add bg, fg args.
16928 * src/image.c (x_create_bitmap_from_data)
16929 (Create_Pixmap_From_Bitmap_Data): ns_image_from_XBM takes bg, fg args.
16930 * src/nsimage.m (ns_image_from_XBM): Add fg, bg args, pass to
16931 initFromXBM. Remove flip arg.
16932 (initFromSkipXBM): Move code to initFromXBM.
16933 (initFromXBM): Actually set fg and bg, instead of playing alpha games.
16934 Use fg, bg from args (Bug#14969). Remove if (length) section, was
16936 Remove bit flipping (bitPat, swt), generated incorrect images when
16937 width/height wasn't a multiple of 8.
16938 (setXBMColor:): Modify planes by comparing to saved xbm_fg.
16939 * src/nsterm.m (ns_draw_fringe_bitmap): initFromXBM takes fg, bg args,
16942 2015-05-15 Artur Malabarba <bruce.connor.am@gmail.com>
16944 * lisp/emacs-lisp/package.el: Be more careful with the init file.
16945 (package--ensure-init-file): Check that user-init-file is set,
16946 exists, is readable, and is writable. (Bug#20584)
16947 Also expand the docstring.
16949 2015-05-14 Wilson Snyder <wsnyder@wsnyder.org>
16951 Sync with upstream verilog-mode revision 6232468
16952 * lisp/progmodes/verilog-mode.el
16953 (verilog-font-lock-grouping-keywords-face)
16954 (verilog-highlight-grouping-keywords): Fix use of face when
16955 `verilog-highlight-grouping-keywords' set. Reported by Jeff Pompa.
16956 (verilog-auto-reset): Fix AUTORESET to ignore member resets if
16957 parent is reset, bug906. Reported by Ken Schmidt.
16958 (verilog-auto-inout-module): Add fourth regexp argument to
16959 AUTOINOUTMODULE and AUTOINOUTCOMP for signals to not match, bug856.
16960 Reported by John Tillema.
16961 (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
16962 modport if signal attachment is itself a modport. Reported by
16964 (verilog-auto-reset, verilog-auto-sense-sigs): Fix AUTORESET with
16965 always_comb and always_latch, bug844. Reported by Greg Hilton.
16966 (verilog-at-constraint-p, verilog-beg-of-statement-1): Fix hanging
16967 with many curly-bracket pairs, bug663.
16968 (verilog-set-auto-endcomments): Fix end comments for functions of
16969 type void, etc. Reported by Alex Reed.
16970 (verilog-do-indent): Fix electric tab deleting form-feeds. Note
16971 caused by indent-line-to deleting tabls pre 24.5.
16972 (verilog-nameable-item-re): Fix nameable items that can have an
16973 end-identifier to include endchecker, endgroup, endprogram,
16974 endproperty, and endsequence. Reported by Alex Reed.
16975 (verilog-label-be): When auto-commenting a buffer, consider
16976 auto-comments on all known keywords (not just a subset thereof).
16977 Reported by Alex Reed.
16978 (verilog-auto-end-comment-lines-re)
16979 (verilog-end-block-ordered-re, verilog-set-auto-endcomments):
16980 Automatically comment property/endproperty blocks to match other
16981 similar blocks like sequence/endsequence, function/endfunction, etc.
16982 Reported by Alex Reed.
16983 (verilog-set-auto-endcomments): Detect the function- or task-name
16984 when auto-commenting blocks that lack an explicit portlist.
16985 Reported by Alex Reed.
16986 (verilog-auto, verilog-auto-insert-last): Add AUTOINSERTLAST to
16987 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
16988 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
16989 is nil, fix indenting initial/final to match always statements,
16990 bug825. Reported by Tim Clapp.
16991 (verilog-extended-complete-re): Fix indentation of DPI-C imports
16992 with c_identifiers, and DPI-C imports, bug557. Reported by ZeDong
16993 Mao and Jason Forkey.
16994 (verilog-read-decls): Fix parsing typed interfaces. Fix
16995 AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
16996 Fix localparam not being ignored in AUTOINSTPARAM,
16997 bug889. Reported by Shannon Hill.
16998 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY,
16999 bug793. Reported by Pierre-David Pfister.
17000 (verilog-auto-arg-format, verilog-auto-arg-ports):
17001 Add verilog-auto-arg-format to support newlines in AUTOARG.
17002 Reported by Jie Xiao.
17003 (verilog-batch-execute-func): Do not batch re-auto files loaded by
17004 Local Variables. Fix printing "no changes to be saved" with
17005 verilog-batch. Reported by Dan Dever.
17006 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
17007 interface-only modules, bug721. Reported by Dean Hoyt.
17008 Author: Alex Reed <acreed4@gmail.com>
17009 * lisp/progmodes/verilog-mode.el (verilog-beg-of-statement):
17010 Don't treat '<keyword>:<identifier>' as the start of a labeled
17011 statement, bug905. Reported by Enzo Chi.
17012 (verilog-directive-re, verilog-compiler-directives)
17013 (verilog-keywords): Match full set of IEEE 2012-1800 compiler
17014 directives (plus some extras) when determining indentation, bug
17015 901. Reported by Bernd Beuster.
17016 (verilog-at-constraint-p): Fix indentation of coverpoint bins if
17017 iff expression doesn't start with word-character, bug900.
17018 (verilog-optional-signed-range-re, verilog-optional-signed-re):
17019 Fix incorrect indentation/alignment of unsigned declarations,
17021 (verilog-looking-back, verilog-in-attribute-p): Fix labeling of
17022 always constructs, bug895.
17023 (verilog-calc-1): Fix verilog-mode constraint indentation, bug324.
17024 Reported by Eric Mastromarchi.
17025 (verilog-beg-of-statement): Fix indenting for some forms of
17026 constraintsm bug433. Reported by Brad Parker. Fix indentation of
17027 continued assignment incorrect if first line ends with ']', bug437.
17028 Reported by Dan Dever. Fix indention of cover inside an
17029 ifdef, bug 862. Reported by Bernd Beuster. Fix labeling do-while
17031 (verilog-preprocessor-re): Fix fork/end UNMATCHED warning, bug859.
17032 Reported by Kaushal Modi.
17033 (verilog-set-auto-endcomments): Fix endlabel end comments, bug888.
17034 (verilog-backward-token): Fix indenting sensitivity lists with
17035 named events, bug840. Reed.
17036 (verilog-no-indent-begin-re): Fix `verilog-indent-begin-after-if'
17037 nil not honoring 'forever', 'foreach', and 'do' keywords.
17039 2015-05-14 Paul Eggert <eggert@cs.ucla.edu>
17041 Check for invalid GTK+ monitor scales
17042 * src/gtkutil.c (xg_get_gdk_scale): Return 1 for invalid scales,
17043 INT_MAX for too-large scales. All callers changed to assume the
17044 result is valid (Bug#20432).
17045 (xg_frame_set_char_size, xg_update_scrollbar_pos):
17046 Calculate scale only if needed.
17047 Show ASCII approximations instead.
17049 2015-05-14 Eli Zaretskii <eliz@gnu.org>
17051 Fix daemon crashes when linum-mode is turned on early on
17052 * src/window.c (Fwindow_end): Don't try calling display engine
17053 functions on initial-frame frame. (Bug#20565)
17055 Fix selective diff browsing in Ediff
17056 * lisp/vc/ediff-util.el (ediff-focus-on-regexp-matches):
17057 Go to the beginning of the region before searching for the
17058 ediff-regexp-focus-* regexps. (Bug#20568)
17060 2015-05-14 Jan D <jan.h.d@swipnet.se>
17063 * src/gtkutil.c (delete_cb): Don't send delete event here, it does
17064 arrive in the main loop, even for Gtk 3 (Bug#20142).
17066 Don't access display after i/o error (Bug#19147).
17067 * src/xterm.c (x_connection_closed): Add third arg ioerror.
17068 If ioerror, set display to 0 (Bug#19147).
17069 (x_error_quitter): Call x_connection_closed with third arg false.
17070 (x_io_error_quitter): Call x_connection_closed with third arg true.
17072 Handle GTK_SCALE, fixes Bug#20432.
17073 * src/gtkutil.c (xg_get_gdk_scale): New function.
17074 (xg_frame_set_char_size)
17075 (x_wm_set_size_hint, xg_get_default_scrollbar_width)
17076 (xg_get_default_scrollbar_height)
17077 (xg_update_horizontal_scrollbar_pos): Take GTK_SCALE in to account
17078 when setting sizes (Bug#20432).
17080 2015-05-13 Leo Liu <sdl.web@gmail.com>
17082 * lisp/emacs-lisp/generator.el (cps--gensym): Fix.
17084 2015-05-13 Glenn Morris <rgm@gnu.org>
17086 Fix bootstrap (void function cl-member).
17087 * lisp/emacs-lisp/cl-lib.el: Load cl-seq if no cl-loaddefs file.
17088 * lisp/emacs-lisp/cl-seq.el: Provide a feature.
17090 2015-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17092 * lisp/loadup.el ("emacs-lisp/cl-generic"): Preload
17093 * src/lisp.mk (lisp): Add emacs-lisp/cl-generic.elc.
17094 * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method):
17095 Avoid defalias for closures which are not immutable.
17096 (cl--generic-prefill-dispatchers): New macro. Use it to prefill
17097 the dispatchers table with various entries.
17098 * lisp/emacs-lisp/ert.el (emacs-lisp-mode-hook):
17099 * lisp/emacs-lisp/seq.el (emacs-lisp-mode-hook): Use add-hook.
17101 2015-05-13 Eli Zaretskii <eliz@gnu.org>
17103 Improve tagging of C bindings in DEFVAR_*
17104 * src/Makefile.in (TAGS): Add --regex options to tag the C binding
17107 2015-05-13 Paul Eggert <eggert@cs.ucla.edu>
17109 * src/editfns.c (Fformat): Fix use-after-free bug (Bug#20548).
17111 2015-05-12 Glenn Morris <rgm@gnu.org>
17113 * lisp/progmodes/tcl.el (tcl-filter):
17114 Handle comint-prompt-read-only like gud.el does. (Bug#20549)
17116 Add basic VC push support
17117 * lisp/vc/vc.el (vc-push): New autoloaded command.
17118 * lisp/vc/vc-hooks.el (vc-prefix-map, vc-menu-map): Add vc-push.
17119 * lisp/vc/vc-bzr.el (vc-bzr--pushpull): New, factored from vc-bzr-pull.
17120 (vc-bzr-pull): Reimplement using vc-bzr--pushpull.
17121 (vc-bzr-push): New.
17122 * lisp/vc/vc-git.el (vc-git--pushpull): New, factored from vc-git-pull.
17123 (vc-git-pull): Reimplement using vc-git--pushpull.
17124 (vc-git-push): New.
17125 * lisp/vc/vc-hg.el (vc-hg--pushpull): New, factored from vc-hg-pull.
17126 (vc-hg-pull, vc-hg-push): Reimplement using vc-hg--pushpull.
17127 * doc/emacs/maintaining.texi (Pulling / Pushing):
17128 Rename from "VC Pull". Mention pushing.
17129 (VC With A Merging VCS, VC Change Log): Update xrefs.
17130 (Branches): Update menu.
17131 * doc/emacs/emacs.texi: Update menu.
17132 * etc/NEWS: Mention this.
17134 2015-05-12 Nicolas Petton <nicolas@petton.fr>
17136 Improve the seq pcase pattern and the `seq-let' macro
17137 * lisp/emacs-lisp/seq.el: The pcase pattern now matches only if the
17138 object is a sequence, and binds each element of ARGS to the
17139 corresponding element of the sequence.
17141 2015-05-12 Eli Zaretskii <eliz@gnu.org>
17143 Fix tags created from DEFVAR_* declarations in C
17144 * src/Makefile.in (TAGS): Improve the --regex argument to etags,
17145 to make tags extracted from DEFVAR_* declarations more accurate.
17147 Add a test suite for etags
17148 * test/etags/: New test suite, adapted from
17149 http://fly.isti.cnr.it/pub/software/unix/etags-regression-test.tar.bz2,
17150 whose original author is Francesco Potortì <pot@gnu.org>.
17152 Fix tagging of symbols in C enumerations
17153 * lib-src/etags.c (consider_token): Don't tag symbols in
17154 expressions that assign values to enum constants. See
17155 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00291.html
17157 (C_entries): Reset fvdef to fvnone after processing a preprocessor
17158 conditional and after a comma outside of parentheses.
17160 2015-05-12 Glenn Morris <rgm@gnu.org>
17162 * lisp/url/url-handlers.el (url-file-name-completion)
17163 (url-file-name-all-completions): Silence compiler.
17165 * lisp/emacs-lisp/chart.el (chart-axis-draw): Replace obsolete alias.
17167 * lisp/play/dunnet.el (dun-dos-boot-msg): Fix time. (Bug#20554)
17169 2015-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17171 * lisp/emacs-lisp/cl-generic.el: Add dispatch on &context arguments
17172 (cl--generic-mandatory-args): Remove.
17173 (cl--generic-split-args): New function.
17174 (cl-generic-define, cl--generic-lambda): Use it.
17175 (cl-generic-define-method): Use it as well, and add support for
17177 (cl--generic-get-dispatcher): Handle &context dispatch.
17178 (cl--generic-cache-miss): `dispatch-arg' can now be a
17179 context expression.
17180 (cl--generic-dispatchers): Pre-fill.
17181 * test/automated/cl-generic-tests.el (sm-generic-test-12-context):
17184 2015-05-11 Glenn Morris <rgm@gnu.org>
17186 * make-dist: Abort if "make ChangeLog" fails. Add "--no-changelog".
17188 2015-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
17190 * lisp/term/xterm.el: Fix xterm-paste handling for rxvt
17191 * lisp/term/rxvt.el: Require term/xterm.
17192 (rxvt-function-map): Use xterm-rxvt-function-map.
17193 (rxvt-standard-colors): Move before first use.
17194 (terminal-init-rxvt): Use xterm--push-map and
17195 xterm-register-default-colors.
17196 (rxvt-rgb-convert-to-16bit, rxvt-register-default-colors): Remove.
17197 * lisp/term/xterm.el (xterm-rxvt-function-map): New var.
17198 Move shared bindings between rxvt and xterm to it.
17199 (xterm-function-map): Use it. Move the xterm-paste binding to
17200 xterm-rxvt-function-map (bug#20444).
17201 (xterm-standard-colors): Move before first use.
17202 (xterm--push-map): New function.
17203 (xterm-register-default-colors): Take standard colors as argument.
17204 (terminal-init-xterm): Use it. Adjust call to
17205 xterm-register-default-colors.
17207 2015-05-11 Glenn Morris <rgm@gnu.org>
17209 * lisp/term/x-win.el: Quieten --without-x compilation.
17210 (x-own-selection-internal, x-disown-selection-internal)
17211 (x-selection-owner-p, x-selection-exists-p, x-get-selection-internal):
17214 * Makefile.in (emacslog): Remove srcdir.
17215 (ChangeLog): Update for the above.
17217 2015-05-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
17219 python.el: better limit for looking-back calls
17220 * lisp/progmodes/python.el (python-shell-accept-process-output):
17221 Use last comint prompt start as limit for looking-back.
17223 2015-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
17225 CEDET (srecode-insert-fcn): Fix use of oref on a class
17226 * lisp/cedet/srecode/insert.el (srecode-insert-fcn): Fix use of oref
17227 on a class. Reported by Pierre Lorenzon.
17228 (srecode-template-inserter-point): Remove declaration.
17230 CEDET (srecode-create-dictionary): Avoid obsolete object name
17231 * lisp/cedet/srecode/dictionary.el (srecode-create-dictionary):
17232 Don't use a symbol as an object name. Reported by Pierre Lorenzon.
17234 2015-05-10 Paul Eggert <eggert@cs.ucla.edu>
17236 C-x 8 shorthands for curved quotes, Euro, etc.
17237 Although C-x 8 lets you insert arbitrary Unicode characters,
17238 it's awkward to use this to insert commonly used symbols such as curved
17239 quotes, the Euro symbol, etc. This patch adds simpler sequences for
17240 characters commonly found in English text and in basic math.
17241 For example, assuming the Alt key works on your keyboard and iso-transl
17242 is loaded, one can now type "A-[" instead of "A-RET LEFT SIN TAB RET"
17243 to get the character "‘" (U+2018 LEFT SINGLE QUOTATION MARK).
17245 * doc/emacs/mule.texi (Unibyte Mode):
17246 A few other printing characters now work too.
17247 * etc/NEWS: Document this.
17248 * lisp/international/iso-transl.el (iso-transl-char-map):
17249 Also support the following characters:
17250 ‐ ‑ ‒ – — ― ‘ ’ “ ” † ‡ • ′ ″ € № ← → ↔ − ≈ ≠ ≤ ≥
17252 2015-05-10 Dmitry Gutov <dgutov@yandex.ru>
17254 Add xref-find-regexp
17255 * lisp/progmodes/xref.el (xref-find-function): Describe the
17257 (xref-find-regexp): New command, using it.
17258 (xref-collect-references): Rename to xref-collect-matches.
17259 (xref--collect-reference): Rename to xref--collect-match.
17260 (xref-collect-matches, xref--collect-match): Accept new argument,
17261 KIND. Update accordingly.
17262 (xref--regexp-to-extended): New function.
17263 * lisp/progmodes/elisp-mode.el (elisp-xref-find): Support the
17265 (elisp--xref-find-matches): Accept new argument. Resolve a FIXME.
17266 * lisp/progmodes/etags.el (etags-xref-find):
17267 Support the `matches' action.
17268 (etags--xref-find-matches): New function.
17270 2015-05-10 Glenn Morris <rgm@gnu.org>
17272 * Makefile.in: Fixes for recent change-history changes.
17273 (change-history-nocommit): Update footer regexp.
17274 Ensure output script stays executable.
17276 2015-05-10 Nicolas Petton <nicolas@petton.fr>
17278 New version of `seq-let' based on a pcase pattern
17279 * lisp/emacs-lisp/seq.el (seq-let): Define the macro in terms of a
17280 pcase pattern if `pcase-defmacro' is defined (Emacs>=25.1).
17282 2015-05-10 Przemysław Wojnowski <esperanto@cumego.com>
17284 Add basic HTML5 tags and a template
17285 * lisp/textmodes/sgml-mode.el: Basic HTML5 support.
17286 (html-tag-alist): Add HTML5 tags.
17287 (html-tag-help): Add new tags descriptions.
17288 (html-navigational-links): Template for nav links.
17289 (html-html5-template): Template for a HTML5 page.
17291 2015-05-10 Dmitry Gutov <dgutov@yandex.ru>
17293 semantic/symref/grep: Don't use word boundaries
17294 * lisp/cedet/semantic/symref/grep.el
17295 (semantic-symref-perform-search): Instead of wrapping input in
17296 word boundaries, check that the characters before and after are
17297 not word constituents.
17299 semantic/symref/grep: Support regexp search
17300 * lisp/cedet/semantic/symref.el
17301 (semantic-symref-hit-to-tag-via-buffer): Don't regexp-quote when
17302 the search type is regexp.
17303 * lisp/cedet/semantic/symref/grep.el
17304 (semantic-symref-perform-search): Support the regexp search type.
17305 Pass -E to Grep when it's used.
17307 semantic-symref-regexp: Allow to input an arbitrary string
17308 * lisp/cedet/semantic/symref/list.el (semantic-symref-regexp):
17309 Allow to input an arbitrary string interactively.
17311 Remove tag-symbol-match-p from etags-xref-find-definitions-tag-order
17312 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
17313 Remove tag-symbol-match-p from the default value
17314 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00292.html).
17316 Declare find-tag obsolete
17317 * lisp/progmodes/etags.el (find-tag): Declare obsolete in favor of
17318 xref-find-definitions.
17320 2015-05-10 Jan D <jan.h.d@swipnet.se>
17322 Draw composite string correctly (Bug#20537)
17323 * src/nsterm.m (ns_draw_composite_glyph_string_foreground):
17325 (ns_draw_glyph_string): Call it.
17327 2015-05-09 Eli Zaretskii <eliz@gnu.org>
17329 Avoid infloop in ERC
17330 * lisp/simple.el (line-move-to-column): Ignore field boundaries
17331 while computing line beginning position. (Bug#20498)
17333 2015-05-08 Glenn Morris <rgm@gnu.org>
17335 * Makefile.in (ChangeLog): No longer pass "srcprefix"; cd instead.
17336 * build-aux/gitlog-to-emacslog: Check called from right directory.
17337 (srcprefix): Remove.
17339 * build-aux/gitlog-to-emacslog: Get rid of "distprefix".
17340 * Makefile.in (ChangeLog): No longer pass "distprefix".
17341 * make-dist: Update "make ChangeLog" syntax for the above change.
17343 * build-aux/gitlog-to-emacslog: Don't hard-code "ChangeLog.2".
17344 * Makefile.in (ChangeLog): Pass -n to gitlog-to-emacslog.
17346 * build-aux/gitlog-to-emacslog: Add "for earlier changes" to footer.
17348 Add command-line option-parsing to gitlog-to-emacslog
17349 * build-aux/gitlog-to-emacslog: Add command-line options.
17350 By default, refuse to remove an existing output file.
17351 * Makefile.in (CHANGELOG): Update default.
17352 (ChangeLog): Do not test for existing file.
17353 (change-history-nocommit): Ensure temp file does not exist.
17355 Quieten --without-x compilation
17356 * lisp/term/common-win.el: Provide a feature.
17357 * lisp/term/x-win.el (term/common-win): Require it.
17359 * lisp/dired-aux.el (dired-do-print): Require lpr.
17361 Quieten compilation, eg in --without-x builds
17362 * lisp/dired-aux.el (lpr-printer-switch):
17363 * lisp/frame.el (tool-bar-height):
17364 * lisp/linum.el (font-info):
17365 * lisp/window.el (font-info, overflow-newline-into-fringe)
17367 * lisp/emacs-lisp/package-x.el (tar-data-buffer):
17368 * lisp/gnus/gnus-util.el (iswitchb-mode):
17369 * lisp/mail/rmailmm.el (libxml-parse-html-region):
17370 * lisp/net/nsm.el (gnutls-peer-status)
17371 (gnutls-peer-status-warning-describe):
17372 * lisp/net/shr.el (libxml-parse-xml-region):
17373 * lisp/url/url-http.el (gnutls-peer-status): Declare.
17375 2015-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17377 CEDET (srecode-pop, srecode-peek): Don't use `subclass'
17378 * lisp/cedet/srecode/insert.el (srecode-pop, srecode-peek): Don't use
17379 `subclass' since they're never called with a class.
17380 (srecode-insert-method, srecode-insert-subtemplate): Avoid obsolete
17381 srecode-dictionary-child-p.
17383 2015-05-08 Nicolas Richard <theonewiththeevillook@yahoo.fr>
17385 * lisp/help.el (help--binding-locus): Document argument POSITION.
17388 2015-05-08 Paul Eggert <eggert@cs.ucla.edu>
17391 * doc/misc/texinfo.tex: Get latest version.
17393 2015-05-08 Oleh Krehel <ohwoeowho@gmail.com>
17395 ffap.el (ffap-read-file-or-url): Fix completing-read call
17396 * lisp/ffap.el (ffap-read-file-or-url): The HIST argument of
17397 `completing-read' should be a symbol.
17399 2015-05-08 Eli Zaretskii <eliz@gnu.org>
17401 Verify file modifications by other programs
17402 * src/filelock.c (lock_file): Check whether the file was modified
17403 since it was visited even if 'create-lockfiles' is nil. (Bug#18828)
17405 Fix keyboard macros that include function keys
17406 * src/keyboard.c (read_char_minibuf_menu_prompt): Record function
17407 keys in the macro before returning. (Bug#20454)
17409 2015-05-08 Glenn Morris <rgm@gnu.org>
17411 * build-aux/gitlog-to-changelog: Treat "Tiny-change" like
17412 "Copyright-paperwork-exempt". (Bug#20324)
17414 * lisp/vc/log-edit.el: Handle "(tiny change)". (Bug#20324)
17415 (log-edit-rewrite-tiny-change): New variable.
17416 (log-edit-insert-changelog): Maybe add "Copyright-paperwork-exempt".
17417 (log-edit-changelog-ours-p): Set log-edit-author to a cons.
17418 * etc/NEWS: Mention this.
17420 * lisp/calc/calc.el (math-zerop): Declare.
17422 * lisp/emacs-lisp/eieio-opt.el (help-fns-short-filename): Declare.
17424 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
17426 * lisp/emacs-lisp/subr-x.el (if-let): Fix debug spec.
17427 Support the case when BINDINGS is a single tuple. (Bug#20525)
17429 * etc/NEWS: Fix typo in previous commit
17430 (14bb519f1034ddb38ce375cbad7095d9b07f8b26).
17432 2015-05-07 Jan D <jan.h.d@swipnet.se>
17434 * configure.ac: Warn for multiple display crash for all Gtk+ versions.
17435 Output URL to Gtk+ bug (Bug#20452).
17437 * lisp/term/ns-win.el (ns-paste-secondary): Use gui-get-selection.
17439 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
17441 * lisp/emacs-lisp/package.el: New "external" package status.
17442 An external package is any installed package that's not built-in
17443 and not from `package-user-dir', which usually means it's from an
17444 entry in `package-directory-list'. They are treated much like
17445 built-in packages, in that they cannot be through the Package Menu
17446 deleted and are not considered for upgrades.
17447 (package-desc-status): Identify if a package is installed outside
17448 `package-user-dir'.
17449 (package-menu--print-info-simple)
17450 (package-menu--status-predicate): Add support for it.
17451 * etc/NEWS: Document it.
17453 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17455 * lisp/mail/rmail.el: Use lexical-binding.
17456 (rmail-bury): Remove unused var `buffer-to-bury'.
17457 (rmail-get-new-mail): Remove unused vars `opoint' and `success'.
17458 (rmail-parse-url): Remove unused var `proto', `user', and `host'.
17459 (rmail-unrmail-new-mail-maybe): Remove unused var `new-file'.
17460 (rmail-insert-inbox-text): Remove unused var `movemail'.
17461 (rmail-add-mbox-headers): Remove unused var `limit'.
17462 (rmail-undelete-previous-message): Remove unused var `value'.
17463 (rmail-reply): Remove unused vars `resent-to', `resent-cc',
17465 (rmail-mime-mbox-buffer, rmail-mime-view-buffer): Declare.
17466 (rmail-restore-desktop-buffer): Rename arguments.
17468 2015-05-06 Glenn Morris <rgm@gnu.org>
17470 * Makefile.in (change-history-commit): Add missing piece of previous.
17472 Avoid unnecessary bumping of Makefile.in's timestamp
17473 * Makefile.in (gen_origin): Move to gitlog-to-emacslog.
17474 (emacslog): New variable.
17475 (ChangeLog): Use $emacslog. Don't pass $gen_origin.
17476 (unchanged-history-files): Use $emacslog rather than Makefile.in.
17477 (change-history-nocommit): Store hash in $emacslog.
17478 * build-aux/gitlog-to-emacslog (gen_origin): Move default here.
17479 * admin/update_autogen (changelog_files): Update for the above.
17481 * Makefile.in: Don't always insist on removing existing "ChangeLog".
17482 (CHANGELOG): New variable.
17483 (no-ChangeLog): Remove.
17484 (ChangeLog): Replace "no-ChangeLog"; pass output file to script.
17485 (change-history-nocommit): Use a temp file rather than insisting
17486 on deletion of any existing "ChangeLog".
17488 * build-aux/gitlog-to-emacslog: Allow specification of output.
17490 * admin/update_autogen: Add option to update ChangeLog.
17491 (usage): Mention -H.
17492 (changelog_flag, changelog_n, changelog_files): New variables.
17493 (main): Check for -H, and maybe run change-history-nocommit.
17495 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17497 * lisp/subr.el (delete-dups): Pre-size the hashtable.
17499 * lisp/emacs-lisp/cl.el (define-modify-macro): Make sure
17500 cl--arglist-args is defined (bug#20517).
17502 2015-05-06 Glenn Morris <rgm@gnu.org>
17504 * Makefile.in (change-history-nocommit): New.
17506 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
17508 * lisp/cedet/pulse.el (pulse-momentary-unhighlight): Only cancel
17509 timer when it is non-nil
17510 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00223.html).
17512 2015-05-06 Glenn Morris <rgm@gnu.org>
17514 Quieten CEDET compilation
17515 * lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym->tag):
17516 Invert fboundp test to quieten on current Emacs.
17517 * lisp/cedet/ede/config.el (ede-shell-run-something)
17518 (semanticdb-file-table-object, semanticdb-needs-refresh-p)
17519 (semanticdb-refresh-table): Declare.
17520 (ede-preprocessor-map): Require semantic/db.
17522 Quieten cc-mode compilation
17523 * lisp/progmodes/cc-awk.el (c-forward-sws):
17524 * lisp/progmodes/cc-cmds.el (c-forward-subword, c-backward-subword):
17527 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
17529 * lisp/subr.el (delete-dups): Avoid nreverse.
17531 2015-05-06 Artur Malabarba <bruce.connor.am@gmail.com>
17533 * lisp/subr.el (delete-dups): Make it destructive again.
17535 2015-05-06 Paul Eggert <eggert@cs.ucla.edu>
17537 * doc/lispref/sequences.texi (Sequence Functions): Fix quoting.
17539 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17541 * lisp/emacs-lisp/testcover.el: Don't use edebug--read (bug#20487).
17542 * lisp/emacs-lisp/testcover.el: Use lexical-binding.
17543 (testcover--read): Rename from testcover-read. Change calling
17544 convention. Use edebug-read-and-maybe-wrap-form now that edebug-read
17546 (testcover-start): Use add-function. Move edebug-all-defs binding to
17548 (testcover-this-defun): Tighten scope of edebug-all-defs binding.
17549 (testcover-mark): Remove unused var `item'.
17550 * src/lread.c (syms_of_lread): Default load-read-function to `read'.
17552 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
17554 * lisp/subr.el (delete-dups): When there are more than 100 candidates,
17555 use a hash table. This can result in ~500 times speed-up for typical
17556 collections of size 5000, like that of `load-library'.
17558 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17560 CEDET: Avoid `oref' on classes in a few more cases
17561 * lisp/cedet/ede/generic.el (ede-find-target):
17562 * lisp/cedet/ede.el (ede-project-forms-menu): Avoid `oref' on classes.
17563 * lisp/cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Remove unused
17566 * lisp/cedet/semantic/symref/grep.el: Fix unused var warnings.
17567 (grepflags, greppattern): Declare.
17568 (semantic-symref-perform-search): Remove unused var `pat'.
17570 CEDET (srecode-compile-inserter): Avoid `oref' on classes
17571 * lisp/cedet/srecode/compile.el (srecode-compile-inserter):
17572 Avoid `oref' on classes (bug#20491).
17573 (srecode-compile-split-code): Remove unused var `key'.
17575 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
17577 Clean up pulse.el a little
17578 * lisp/cedet/pulse.el (pulse): Remove.
17579 (pulse-momentary-timer): Save instead of the stop time.
17580 (pulse-momentary-highlight-overlay):
17581 Call pulse-momentary-unhighlight first thing.
17582 Treat pulse-momentary-overlay as a single value, not a list.
17583 Save the created timer. Only pass the stop time to the timer.
17584 (pulse-tick): Update accordingly.
17585 (pulse-momentary-unhighlight): Treat pulse-momentary-overlay as a
17586 single value. Cancel the timer.
17588 2015-05-06 Tassilo Horn <tsdh@gnu.org>
17590 * lisp/textmodes/reftex-cite.el (reftex-format-bib-entry):
17591 Support the biblatex journaltitle field.
17593 2015-05-05 Glenn Morris <rgm@gnu.org>
17595 Minor declare-function improvement
17596 * lisp/emacs-lisp/bytecomp.el
17597 (byte-compile-macroexpand-declare-function):
17598 Handle declarations after calls. (Bug#20509)
17600 * lisp/progmodes/js.el (js--optimize-arglist): Remove declaration.
17602 * lisp/w32-fns.el (w32-shell-name): Silence compiler.
17604 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
17606 Pulse using a timer
17607 * lisp/cedet/pulse.el (pulse-momentary-stop-time): New variable.
17608 (pulse-momentary-highlight-overlay): Set up the timer instead of
17610 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/).
17611 (pulse-tick): New function.
17612 (pulse-momentary-unhighlight): Cut off the stop time.
17613 (pulse-delay): Update the docstring WRT to not using sit-for.
17615 Add semantic/symref/grep file patterns for ruby-mode
17616 * lisp/cedet/semantic/symref/grep.el
17617 (semantic-symref-filepattern-alist): Add patterns for ruby-mode.
17618 Clarify the docstring.
17620 Don't require match
17621 * lisp/progmodes/xref.el (xref--read-identifier): Don't require
17622 match. That doesn't work for every command, and some identifier
17623 completion tables are bound to be imperfect anyway.
17625 2015-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17627 * lisp/cedet/semantic/grammar.el: Fix compiler warnings (bug#20505).
17628 (semantic-grammar--template-expand): New function.
17629 (semantic-grammar-header, semantic-grammar-footer): Use it.
17630 (semantic-grammar--lex-block-specs): Remove unused var `block-spec'.
17631 (semantic-grammar-file-regexp): Refine regexp.
17632 (semantic-grammar-eldoc-get-macro-docstring):
17633 Use elisp-get-fnsym-args-string when available.
17634 (semantic-idle-summary-current-symbol-info): Use new elisp-* names
17635 instead of the old eldoc-* names.
17636 * lisp/emacs-lisp/eldoc.el (eldoc-docstring-format-sym-doc): Move back
17637 from elisp-mode.el. Tweak calling convention.
17638 * lisp/progmodes/elisp-mode.el (package-user-dir): Declare.
17639 (elisp-get-fnsym-args-string): Add `prefix' argument. Rename from
17640 elisp--get-fnsym-args-string.
17641 (elisp--highlight-function-argument): Add `prefix' arg.
17642 (elisp-get-var-docstring): Rename from elisp--get-var-docstring.
17643 (elisp--docstring-format-sym-doc): Move back to eldoc.el.
17645 2015-05-05 Glenn Morris <rgm@gnu.org>
17647 * lisp/help-fns.el (describe-function-1):
17648 Handle builtins with advertised calling conventions. (Bug#20479)
17650 2015-05-05 Nicolas Petton <nicolas@petton.fr>
17652 Merge branch 'seq-let'
17654 Update `seq-let' documentation
17655 * doc/lispref/sequences.texi: Update the documentation of `seq-let'
17656 with the support of `&rest'.
17658 Add support for &rest in `seq-let'
17659 * lisp/emacs-lisp/seq.el (seq--make-bindings): Add support for `&rest'
17660 in the argument list.
17661 * test/automated/seq-tests.el: Add a test for parsing and binding
17662 `&rest' in `seq-let'.
17664 2015-05-05 Pierre Lorenzon <devel@pollock-nageoire.net> (tiny change)
17666 * lisp/emacs-lisp/eieio-custom.el (eieio-object-value-get):
17667 Add missing increment (Bug#20467).
17668 (eieio-object-value-create): Adjust to new slots representation
17670 (eieio-object-value-create): Fix missed adjustment to new
17671 representation of slots metadata.
17673 2015-05-05 Nicolas Petton <nicolas@petton.fr>
17675 * lisp/emacs-lisp/seq.el (seq--make-bindings): Improve the docstring.
17677 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
17679 Work around "Attempt to modify read-only object"
17680 * lisp/progmodes/elisp-mode.el (elisp--xref-format): Extract from
17681 elisp--xref-find-definitions, to work around "Attempt to modify
17682 read-only object" error.
17684 Only skip some variables that have function counterparts
17685 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
17686 Only skip minor-mode-named variable if it's defined in a Lisp
17687 file, and it's in minor-mode-list (bug#20506).
17688 * test/automated/elisp-mode-tests.el
17689 (elisp-xref-finds-both-function-and-variable)
17690 (elisp-xref-finds-only-function-for-minor-mode): New tests.
17692 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
17694 * lisp/progmodes/xref.el (xref--location-at-point): Revert the
17696 (xref--insert-xrefs): Buttonize the whole line, including the
17697 number at the beginning.
17699 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
17700 Make sure we're inside the let bindings.
17701 * test/automated/elisp-mode-tests.el
17702 (elisp-completes-functions-after-let-bindings): New test.
17704 2015-05-04 Glenn Morris <rgm@gnu.org>
17706 * lisp/cedet/semantic/grammar.el (eldoc-function-argstring)
17707 (eldoc-docstring-format-sym-doc, eldoc-last-data-store)
17708 (eldoc-get-fnsym-args-string, eldoc-get-var-docstring):
17709 Remove outdated declarations.
17711 Replace instances of "(eval-when-compile (autoload ...))"
17712 * lisp/gnus/gnus-art.el (nneething-get-file-name):
17713 Declare rather than autoload.
17714 * lisp/gnus/gnus-async.el (gnus-html-prefetch-images):
17715 Remove pointless autoload.
17716 * lisp/gnus/gnus-sync.el (gnus-group-topic): Autoload at run-time.
17717 (gnus-topic-create-topic, gnus-topic-enter-dribble):
17718 Declare rather than autoload.
17719 * lisp/gnus/mm-archive.el (gnus-recursive-directory-files)
17720 (mailcap-extension-to-mime): Autoload at run-time.
17721 * lisp/gnus/mm-util.el (latin-unity-massage-name)
17722 (latin-unity-maybe-remap, latin-unity-representations-feasible-region)
17723 (latin-unity-representations-present-region):
17724 Declare rather than autoload.
17725 * lisp/gnus/mml-smime.el (epg-make-context)
17726 (epg-passphrase-callback-function): Autoload at run-time.
17727 (epg-context-set-signers, epg-context-result-for)
17728 (epg-new-signature-digest-algorithm)
17729 (epg-verify-result-to-string, epg-list-keys, epg-verify-string)
17730 (epg-sign-string, epg-encrypt-string)
17731 (epg-context-set-passphrase-callback, epg-sub-key-fingerprint)
17732 (epg-configuration, epg-expand-group, epa-select-keys):
17733 Declare rather than autoload.
17734 * lisp/gnus/nnir.el (nnimap-change-group, nnimap-make-thread-query):
17735 Autoload at run-time.
17736 (gnus-group-topic-name, nnimap-buffer, nnimap-command)
17737 (gnus-registry-get-id-key, gnus-registry-action):
17738 Declare rather than autoload.
17739 * lisp/gnus/nnmail.el (mail-send-and-exit): Autoload at run-time.
17740 * lisp/gnus/spam.el (spam-stat-buffer-change-to-non-spam)
17741 (spam-stat-buffer-change-to-spam, spam-stat-buffer-is-non-spam)
17742 (spam-stat-buffer-is-spam, spam-stat-load, spam-stat-save)
17743 (spam-stat-split-fancy): Remove pointless autoloads.
17744 * lisp/net/mairix.el: Load gnus-util when compiling.
17745 (gnus-group-read-ephemeral-group, gnus-summary-toggle-header)
17746 (message-field-value): Declare rather than autoload.
17747 (mairix-gnus-ephemeral-nndoc, mairix-gnus-fetch-field):
17748 Check gnus-alive-p is fbound.
17749 (vm-quit, vm-visit-folder, vm-select-folder-buffer)
17750 (vm-check-for-killed-summary, vm-error-if-folder-empty)
17751 (vm-get-header-contents, vm-select-marked-or-prefixed-messages):
17752 Declare rather than autoload.
17754 * lisp/gnus/mm-view.el (epg-decrypt-string): Autoload.
17756 * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
17757 (epg-sub-key-capability, epg-sub-key-validity): Fix declarations.
17759 * lisp/progmodes/elisp-mode.el (xref-collect-references): Declare.
17761 * lisp/emacs-lisp/debug.el (help-xref-interned): Update declaration.
17763 * lisp/allout.el (epg-user-id-string, epg-key-user-id-list):
17764 * lisp/emacs-lisp/package.el (epg-signature-status):
17767 * lisp/play/gametree.el (gametree-show-children-and-entry)
17768 (gametree-apply-layout, gametree-mouse-show-subtree)
17769 (gametree-mouse-hide-subtree): Replace obsolete outline aliases.
17771 * lisp/emacs-lisp/check-declare.el (check-declare-verify):
17772 Handle cl-defgeneric, cl-defmethod.
17774 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
17776 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions):
17777 Highlight both type and symbol name.
17779 Insert, highlight and align line numbers in xref output
17780 * lisp/progmodes/etags.el (xref-location-line): Specialize for
17781 xref-etags-location.
17782 * lisp/progmodes/xref.el (xref-location-line): New generic method.
17783 (xref-file-location): Add reader for the line slot.
17784 (xref--location-at-point): Skip to the `xref-location' property.
17785 (xref--collect-reference): Drop the line number from description.
17786 (xref--insert-xrefs): Insert, highlight and align line numbers.
17788 2015-05-04 Daniel Colascione <dancol@dancol.org>
17790 * lisp/simple.el (save-mark-and-excursion--save)
17791 (save-mark-and-excursion--restore): Fix previous commit
17792 (255a011f0ecf004b31c59945b10154b10fac3af1).
17794 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
17796 Don't pulse the indentation, or the newline
17797 * lisp/cedet/pulse.el (pulse-lighten-highlight)
17798 (pulse-reset-face): Fall back to the inherited background
17800 (pulse-momentary-highlight-region): Add autoload cookie.
17801 * lisp/progmodes/xref.el (xref--maybe-pulse): Don't highlight the
17802 indentation, or the newline, if the line's non-empty
17803 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00118.html).
17805 2015-05-04 Daniel Colascione <dancol@dancol.org>
17807 Add `save-mark-and-excursion', which has the old
17808 `save-excursion' behavior
17809 * doc/lispref/positions.texi (Excursions):
17810 Document `save-mark-and-excursion'.
17811 * lisp/font-lock.el (font-lock-fontify-block):
17812 Use `save-mark-and-excursion' instead of `save-excursion',
17813 restoring Emacs 24 behavior.
17814 * lisp/simple.el (save-mark-and-excursion--save)
17815 (save-mark-and-excursion--restore): New functions.
17816 (save-mark-and-excursion): New user macro.
17817 * src/editfns.c (Fsave_excursion): Mention `save-mark-and-excursion'
17818 in `save-excursion' documentation.
17820 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
17822 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
17823 Classify lone symbol inside let varlist as variable.
17824 * test/automated/elisp-mode-tests.el
17825 (completest-variables-in-let-bindings): New test.
17827 Add xref-pulse-on-jump
17828 * lisp/cedet/pulse.el (pulse-momentary-highlight-one-line):
17829 Add autoload cookie.
17830 * lisp/progmodes/xref.el (xref-pulse-on-jump): New option.
17831 (xref--maybe-pulse): New function.
17832 (xref-pop-marker-stack, xref--pop-to-location)
17833 (xref--display-position): Use it.
17834 (xref--location-at-point): Use back-to-indentation.
17836 2015-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17838 lisp/org/org-{macs,list}.el: Fix lexical warnings
17839 * lisp/org/org-list.el (org-list-struct): Remove unused var `ind'.
17840 (org-list-get-next-item, org-list-get-prev-item)
17841 (org-list-get-children): Mark unused arg `struct'.
17842 (org-list-use-alpha-bul-p): Remove unused var `bul'.
17843 (org-toggle-checkbox): Mark unused var.
17844 (org-update-checkbox-count): Remove unused var `box-num'.
17845 (org-adapt-indentation): Declare.
17846 (org-list-parse-list): Declare var instead of adding a dummy duplicate.
17847 (org-list-send-list): Remove unused var `txt'.
17848 (org-list-to-latex, org-list-to-texinfo): Mark unused arg `params'.
17849 (org-list-to-subtree): Add prefix to dyn-bind var, and declare them.
17850 * lisp/org/org-macs.el: Use `declare'.
17851 (org-with-limited-levels): Declare dyn-bound vars.
17853 2015-05-04 Eli Zaretskii <eliz@gnu.org>
17855 Fix minor issues with CEDET on MS-Windows
17856 * lisp/cedet/semantic/symref/idutils.el
17857 (semantic-symref-parse-tool-output-one-line): Fix the search
17858 regexp to match MS-Windows file names with drive letters.
17860 * lisp/cedet/semantic/symref/grep.el
17861 (semantic-symref-grep-use-template): Remove "--color=always" from
17862 Grep switches on MS-Windows.
17863 (semantic-symref-grep-shell): Use shell-file-name as the default
17864 value, so this works not only on Posix platforms.
17865 (semantic-symref-perform-search): Use shell-quote-argument instead
17866 of literal '..' for portable quoting of Grep command-line
17867 argument. Use shell-command-switch instead of a literal "-c".
17868 * lisp/cedet/semantic/bovine/gcc.el
17869 (semantic-gcc-get-include-paths): Use file-name-absolute-p to test
17870 for an absolute file name in a portable way.
17872 2015-05-04 Artur Malabarba <bruce.connor.am@gmail.com>
17874 * lisp/emacs-lisp/package.el: Remove `package--silence' variable.
17875 (package-import-keyring, package-refresh-contents)
17876 (package-compute-transaction, package--save-selected-packages)
17877 (package-install-from-archive, package-delete)
17878 (package-menu--perform-transaction): Use `inhibit-message' instead.
17879 (package--compile): Set `warning-minimum-level' to :error.
17881 2015-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17883 * lisp/term/screen.el (xterm-screen-extra-capabilities): New custom.
17884 (terminal-init-screen): Use it (bug#20356).
17885 * lisp/term/xterm.el: Provide `term/xterm' instead of `xterm'.
17886 (xterm--extra-capabilities-type): New const.
17887 (xterm-extra-capabilities): Use it.
17888 (xterm--version-handler): Lower the pseudo-version for `screen'.
17890 2015-05-03 Dmitry Gutov <dgutov@yandex.ru>
17892 * lisp/progmodes/xref.el (xref--insert-xrefs): Tweak the faces.
17893 Always insert a newline at the end (to avoid mouse-face background
17894 tail at the last line).
17896 elisp-completion-at-point: Prioritize being quoted over funpos
17897 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
17898 Only consider function position when not inside quoted form
17900 * test/automated/elisp-mode-tests.el: New file.
17902 Stop vc-print-log from jumping to the top
17903 * lisp/vc/vc.el (vc-print-log-internal): Pass nil
17904 GOTO-LOCATION-FUNC to vc-log-internal-common when WORKING-REVISION
17906 (vc-incoming-outgoing-internal): Always pass nil.
17907 (vc-log-internal-common): When GOTO-LOCATION-FUNC is nil, don't
17908 call it, and don't set vc-sentinel-movepoint (bug#15322).
17909 (vc-print-root-log): Don't fetch the root working revision, nor
17910 pass it to vc-print-log-internal.
17912 2015-05-02 Michael Vehrs <Michael.Burschik@gmx.de>
17914 Fix display of keyboard layouts for right-to-left scripts
17915 * lisp/international/quail.el (quail-insert-kbd-layout):
17916 Force left-to-right paragraph direction.
17918 2015-05-02 K. Handa <handa@gnu.org>
17920 * src/cmds.c (internal_self_insert): When we insert spaces for
17921 padding, set point before the padding spaces, not after them.
17923 2015-05-02 Nicolas Petton <nicolas@petton.fr>
17925 * lisp/emacs-lisp/seq.el (seq-p): New alias to `sequencep'.
17927 2015-05-02 Dmitry Gutov <dgutov@yandex.ru>
17929 Fix etags-xref-find for references
17930 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references):
17932 * lisp/progmodes/etags.el (etags-xref-find): Ditto. Prompt for
17933 directory if no tags tables are loaded (bug#19468).
17935 2015-05-02 Philipp Stephani <phst@google.com>
17937 Update the options in whitespace-style defcustom
17938 * lisp/whitespace.el (whitespace-style): Use `set' instead of a
17939 `repeat' because the option is really set-like. Add missing
17940 options. Reorder options to match the order in the
17941 documentation. (Bug#20346)
17943 2015-05-02 Eli Zaretskii <eliz@gnu.org>
17945 Fix error diagnostics of c-macro-expand
17946 * lisp/progmodes/cmacexp.el (c-macro-expansion): Don't bail out
17947 too early if no start-marker string was found -- that generally
17948 means cpp exited abnormally, and we still want to show its error
17949 messages to the user.
17951 Don't require Texinfo 5.0 for Emacs documentation
17952 * doc/emacs/docstyle.texi: Use "@set txicodequoteundirected" and
17953 "@set txicodequotebacktick" instead of "@codequotebacktick on" and
17954 "@codequoteundirected on", respectively, to avoid requiring
17955 Texinfo 5.x for Emacs documentation.
17957 2015-05-01 Simen Heggestøyl <simenheg@gmail.com>
17959 * lisp/files.el (pwd):
17960 When called with a prefix argument, insert the current default
17961 directory at point.
17963 2015-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
17965 * lisp/isearch.el (isearch-mode-map): Allow backspace remapping
17966 * lisp/isearch.el (isearch-mode-map): Don't inhibit
17967 function-key-map remapping for backspace (bug#20466).
17969 2015-05-01 Dmitry Gutov <dgutov@yandex.ru>
17971 Implement xref-find-references in etags and elisp-mode
17972 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): New function.
17973 (elisp-xref-find): Use it.
17974 * lisp/progmodes/etags.el (etags-xref-find): Use `xref-collect-references'.
17975 * lisp/progmodes/xref.el (xref-collect-references):
17976 (xref--collect-reference): New functions.
17978 2015-05-01 Paul Eggert <eggert@cs.ucla.edu>
17980 Prefer plain characters to Texinfo circumlocutions
17981 For example, prefer 'François' to 'Fran\c{c}ois', 'Fran\c cois',
17982 'Fran@,{c}ois' or 'Francois' (all of which were used!) in Texinfo sources.
17984 Fix single-quoting style in PDF manuals
17985 The PDF versions of the GNU manuals used curved single quotes to
17986 represent grave accent and apostrophe, which made it a pain to cut
17987 and paste code examples from them. Fix the PDF versions to use
17988 grave accent and apostrophe for Lisp source code, keystrokes, etc.
17989 This change does not affect the info files, nor does it affect
17990 ordinary uses of curved single quotes in PDF.
17991 * doc/emacs/docstyle.texi: New file, which specifies treatment for
17992 grave accent and apostrophe, as well as the document encoding.
17993 * doc/emacs/emacs-xtra.texi, doc/emacs/emacs.texi:
17994 * doc/lispintro/emacs-lisp-intro.texi:
17995 * doc/lispref/back.texi, doc/lispref/book-spine.texi:
17996 * doc/lispref/elisp.texi, doc/lispref/lay-flat.texi:
17997 * doc/misc/ada-mode.texi, doc/misc/auth.texi:
17998 * doc/misc/autotype.texi, doc/misc/bovine.texi, doc/misc/calc.texi:
17999 * doc/misc/cc-mode.texi, doc/misc/cl.texi, doc/misc/dbus.texi:
18000 * doc/misc/dired-x.texi, doc/misc/ebrowse.texi, doc/misc/ede.texi:
18001 * doc/misc/ediff.texi, doc/misc/edt.texi, doc/misc/efaq-w32.texi:
18002 * doc/misc/efaq.texi, doc/misc/eieio.texi, doc/misc/emacs-gnutls.texi:
18003 * doc/misc/emacs-mime.texi, doc/misc/epa.texi, doc/misc/erc.texi:
18004 * doc/misc/ert.texi, doc/misc/eshell.texi, doc/misc/eudc.texi:
18005 * doc/misc/eww.texi, doc/misc/flymake.texi, doc/misc/forms.texi:
18006 * doc/misc/gnus-coding.texi, doc/misc/gnus-faq.texi:
18007 * doc/misc/gnus.texi, doc/misc/htmlfontify.texi:
18008 * doc/misc/idlwave.texi, doc/misc/ido.texi, doc/misc/info.texi:
18009 * doc/misc/mairix-el.texi, doc/misc/message.texi, doc/misc/mh-e.texi:
18010 * doc/misc/newsticker.texi, doc/misc/nxml-mode.texi:
18011 * doc/misc/octave-mode.texi, doc/misc/org.texi, doc/misc/pcl-cvs.texi:
18012 * doc/misc/pgg.texi, doc/misc/rcirc.texi, doc/misc/reftex.texi:
18013 * doc/misc/remember.texi, doc/misc/sasl.texi, doc/misc/sc.texi:
18014 * doc/misc/semantic.texi, doc/misc/ses.texi, doc/misc/sieve.texi:
18015 * doc/misc/smtpmail.texi, doc/misc/speedbar.texi:
18016 * doc/misc/srecode.texi, doc/misc/todo-mode.texi, doc/misc/tramp.texi:
18017 * doc/misc/url.texi, doc/misc/vhdl-mode.texi, doc/misc/vip.texi:
18018 * doc/misc/viper.texi, doc/misc/widget.texi, doc/misc/wisent.texi:
18019 * doc/misc/woman.texi:
18020 Use it instead of '@documentencoding UTF-8', to lessen the need for
18021 global changes like this in the future.
18022 * doc/emacs/Makefile.in (EMACS_XTRA):
18023 * doc/lispintro/Makefile.in (srcs):
18024 * doc/lispref/Makefile.in (srcs):
18025 Add dependency on docstyle.texi.
18026 * doc/misc/Makefile.in (style): New macro.
18027 (${buildinfodir}/%.info, %.dvi, %.pdf, %.html)
18028 (${buildinfodir}/ccmode.info, ${buildinfodir}/efaq%.info, gnus_deps):
18031 2015-05-01 Glenn Morris <rgm@gnu.org>
18033 * test/automated/cl-lib-tests.el (cl-lib-adjoin-test): Fix it.
18035 * lisp/emacs-lisp/pcase.el (get-edebug-spec, edebug-match)
18036 (help-fns--signature): Declare.
18038 * lisp/emacs-lisp/pcase.el (pcase--make-docstring): Require help-fns.
18040 2015-05-01 Nicolas Petton <nicolas@petton.fr>
18042 New macro seq-let, providing destructuring support to seq.el
18043 * lisp/emacs-lisp/seq.el (seq-let): New macro. `seq-let' is similar
18044 to `cl-destructuring-bind' but works on all sequence types supported
18045 by `seq.el'. Bump version number to 1.6.
18046 * test/automated/seq-tests.el: Add tests for seq-let.
18047 * doc/lispref/sequences.texi: Add documentation for seq-let.
18049 2015-05-01 Pontus Michael <m.pontus@gmail.com>
18051 * lisp/simple.el (blink-matching-open): Better behavior in minibuffer.
18053 2015-05-01 Glenn Morris <rgm@gnu.org>
18055 * lisp/emacs-lisp/ert.el (ert--special-operator-p): Fix previous.
18057 2015-05-01 Artur Malabarba <bruce.connor.am@gmail.com>
18059 * lisp/emacs-lisp/bytecomp.el: Revert "Silence noninteractive compilations"
18060 This reverts commit 9a7ddde977378cb5276a81476ae458889c403267.
18061 This reverts commit 3c0ea587daf8b17960b90603a70e3ac4057d883d.
18062 With message: "* lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'".
18065 2015-05-01 K. Handa <handa@gnu.org>
18067 * lisp/international/mule-cmds.el (input-method-use-echo-area):
18068 Change :type to 'boolean.
18070 2015-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18072 Start using proportional fonts in eww by default
18073 * lisp/net/shr.el (shr-use-fonts): Switch the default to t, since
18074 it seems to work well.
18076 Fix links in tables in shr
18077 * lisp/net/shr.el: Remove `shr-inhibit-decoration', because that
18078 makes (some) links in tables not work.
18080 2015-05-01 Jan D <jan.h.d@swipnet.se>
18082 * lisp/term/ns-win.el (ns-get-cut-buffer-internal): Remove this alias.
18084 2015-04-30 Glenn Morris <rgm@gnu.org>
18086 * lisp/emacs-lisp/ert.el (ert--special-operator-p):
18087 Update for 2015-02-08 change to indirect-function.
18089 * lisp/term/ns-win.el (ns-get-selection-internal):
18090 Remove declaration for function deleted 2014-10-21.
18092 * lisp/dom.el: Load subr-x when compiling, for when-let.
18094 Silence some compilation warnings
18095 * lisp/emacs-lisp/check-declare.el (compilation-forget-errors):
18096 * lisp/emulation/cua-base.el (delete-active-region):
18097 * lisp/net/net-utils.el (w32-get-console-output-codepage):
18098 * lisp/term/ns-win.el (ns-own-selection-internal)
18099 (ns-disown-selection-internal, ns-selection-owner-p)
18100 (ns-selection-exists-p, ns-get-selection):
18101 Declare for compiler.
18103 Function declaration updates prompted by 'make check-declare'
18104 * lisp/emacs-lisp/package.el (lm-homepage):
18105 * lisp/gnus/gnus-util.el (iswitchb-read-buffer):
18106 * lisp/gnus/mm-decode.el (libxml-parse-html-region):
18107 * lisp/gnus/mml.el (libxml-parse-html-region):
18108 * lisp/gnus/nnrss.el (libxml-parse-html-region):
18109 * lisp/net/eww.el (libxml-parse-html-region):
18110 * lisp/net/shr.el (libxml-parse-html-region):
18111 * lisp/vc/vc-bzr.el (vc-annotate-convert-time):
18112 * lisp/vc/vc-cvs.el (vc-annotate-convert-time):
18113 * lisp/vc/vc-git.el (vc-annotate-convert-time):
18114 * lisp/vc/vc-hg.el (vc-annotate-convert-time):
18115 * lisp/vc/vc-mtn.el (vc-annotate-convert-time):
18116 * lisp/vc/vc-rcs.el (vc-annotate-convert-time):
18117 Update declaration.
18119 Remove compatibility code for 20-year old function renaming
18120 * lisp/progmodes/idlw-shell.el (idlwave-shell-comint-filter):
18121 Make it an obsolete alias.
18122 (idlwave-shell-filter): Change all uses to comint-output-filter.
18124 2015-04-30 Tassilo Horn <tsdh@gnu.org>
18126 Add ace-window face config
18127 * etc/themes/tsdh-light-theme.el (tsdh-light): Add ace-window face
18130 2015-04-30 Paul Eggert <eggert@cs.ucla.edu>
18132 Unclutter 'make doc' output a bit
18133 * Makefile.in ($(DOCS), $(INSTALL_DOC), $(UNINSTALL_DOC)):
18134 Use make subst rather than sh IFS to split target string apart.
18135 This makes 'make' output easier to follow.
18138 * doc/misc/texinfo.tex: Update from gnulib.
18140 2015-04-30 Artur Malabarba <bruce.connor.am@gmail.com>
18142 * lisp/emacs-lisp/package.el: Some speed optimizations on menu refresh.
18143 (package-menu--print-info): Obsolete.
18144 (package-menu--print-info-simple): New function.
18145 (package-menu--refresh): Use it, simplify code, and improve
18147 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18148 Tiny performance improvement.
18150 * lisp/emacs-lisp/package.el (package--message): inhibit-message.
18152 2015-04-29 Paul Eggert <eggert@cs.ucla.edu>
18154 Omit -Wstrict-overflow workaround in GCC 5
18155 * src/process.c: Remove workaround for GCC -Wstrict-overflow bug
18156 if it's GCC 5 or later, as the bug appears to be fixed in GCC 5.1.
18160 2015-04-29 extern-inline: no need for workaround in GCC 5.1
18161 2015-04-26 file-has-acl: port to CentOS 6
18162 * m4/acl.m4, m4/extern-inline.m4: Update from gnulib.
18164 2015-04-29 Helmut Eller <eller.helmut@gmail.com>
18166 Set next-error-* in xref--xref-buffer-mode
18167 * lisp/progmodes/xref.el (xref--xref-buffer-mode):
18168 Set `next-error-function' and `next-error-last-buffer'.
18169 (xref--next-error-function): New function.
18170 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01311.html)
18172 2015-04-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
18174 python.el: Fix warnings on looking-back calls missing LIMIT
18175 * lisp/progmodes/python.el (python-shell-accept-process-output):
18176 Pass LIMIT arg to looking-back.
18178 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
18180 * lisp/emacs-lisp/package.el: Use pushnew for downloads in progress.
18181 (package--download-and-read-archives): Use pushnew instead of
18182 append. If something terrible happened during a previous
18183 download, simply refreshing should now make things work again.
18185 2015-04-29 Dmitry Gutov <dgutov@yandex.ru>
18187 Introduce etags-xref-find-definitions-tag-order
18188 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
18190 (etags--xref-find-definitions): Use it (bug#19468).
18192 2015-04-29 Eli Zaretskii <eliz@gnu.org>
18194 PATH- and completion-related fixes in Eshell on MS-Windows
18195 * lisp/eshell/esh-ext.el (eshell-search-path): When running on
18196 MS-Windows, prepend "." to list of directories produced from PATH,
18197 as Windows always implicitly searches the current directory first.
18198 (eshell-force-execution): Make it have a non-nil default value on
18199 MS-Windows and MS-DOS.
18200 * lisp/eshell/em-cmpl.el (eshell-complete-commands-list): If
18201 eshell-force-execution is non-nil, complete on readable files and
18202 directories, not only executables. When running on MS-Windows,
18203 prepend "." to list of directories produced from PATH, as Windows
18204 always implicitly searches the current directory first.
18206 2015-04-29 Sam Steingold <sds@gnu.org>
18208 Bury RCIRC buffers when there is no activity
18209 * lisp/net/rcirc.el (rcirc-non-irc-buffer): Remove.
18210 (rcirc-bury-buffers): New function.
18211 (rcirc-next-active-buffer): When there is no new activity, use
18212 `rcirc-bury-buffers' to hide all RCIRC buffers.
18214 2015-04-29 Krzysztof Jurewicz <krzysztof.jurewicz@gmail.com> (tiny change)
18216 Fix DBUS query result parsing for secrets-search-items
18217 * lisp/net/secrets.el (secrets-search-items): Fix DBUS query result
18218 parsing. The function assumed that return value of the
18219 SearchItems method called on a collection is a list of two lists,
18220 however this is true only when no collection is specified. GNOME
18221 had used to incorrectly return a list of two lists in both cases,
18222 but this was already fixed:
18223 https://bugzilla.gnome.org/show_bug.cgi?id=695115 . Also fix an
18224 incorrect information in the secrets-search-items’ docstring.
18227 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
18229 * lisp/emacs-lisp/bytecomp.el (byte-compile--message):
18230 Use `inhibit-message' instead of hiding the previous message
18231 with (message nil).
18233 2015-04-29 Oleh Krehel <ohwoeowho@gmail.com>
18235 Remove the deprecated INTERNAL_FIELD macro by expanding it
18236 * src/lisp.h (INTERNAL_FIELD): Remove.
18237 (DEFVAR_KBOARD): Modify accordingly.
18238 * src/alloc.c, src/buffer.c, src/buffer.h, src/category.c:
18239 * src/keyboard.c, src/keyboard.h, src/syntax.c: Adjust users.
18240 * src/buffer.c (compact_buffer): Use BVAR.
18242 2015-04-29 Glenn Morris <rgm@gnu.org>
18244 Replace an obsolete function alias
18245 * lisp/isearch.el (isearch-yank-x-selection):
18246 * lisp/mouse-copy.el (mouse-drag-secondary-pasting)
18247 (mouse-drag-secondary-moving):
18248 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
18249 Replace obsolete alias x-get-selection with gui-get-selection.
18251 2015-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18253 * lisp/mail/rmailsum.el: Use lexical-binding.
18255 2015-04-29 Glenn Morris <rgm@gnu.org>
18257 * test/automated/package-test.el (package-test-update-archives-async):
18258 Skip test on hydra.nixos.org.
18260 2015-04-28 Glenn Morris <rgm@gnu.org>
18262 * lisp/foldout.el: Update for 2015-01-30 outline.el changes.
18263 (foldout-zoom-subtree, foldout-exit-fold, foldout-mouse-show)
18264 (foldout-mouse-hide-or-exit): Use new names for outline functions.
18266 * lisp/cedet/semantic/bovine/c.el (semantic-c-do-lex-if):
18267 Update for 2014-06-26 hideif.el change.
18269 * lisp/mail/rmailsum.el: Fix search for encoded subjects. (Bug#19088)
18270 (rmail--decode-and-apply): New function.
18271 (rmail-message-regexp-p-1, rmail-message-subject-p): Use it.
18273 * lisp/mail/rmail.el (rmail-highlighted-headers): Fix :type.
18275 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
18277 * lisp/emacs-lisp/package.el: Fix priority-hiding corner case
18278 (package-menu--refresh): Delegate obsolete-hiding to
18279 `package--remove-hidden'.
18280 (package--remove-hidden): Disregard high-priority package if it is
18281 older than the installed one.
18283 2015-04-28 Paul Eggert <eggert@cs.ucla.edu>
18285 Update source file encoding list
18286 Update admin/notes/unicode, along with coding system cookies in
18287 other files, so that the two match each other better.
18288 * admin/notes/unicode: lisp/language/ethio-util.el and
18289 lisp/language/ethiopic.el also use utf-8-emacs.
18290 * admin/notes/hydra, doc/misc/dbus.texi, doc/misc/org.texi:
18291 * doc/misc/remember.texi, etc/refcards/cs-dired-ref.tex:
18292 * etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
18293 * etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
18294 * etc/refcards/sk-survival.tex:
18295 Add "coding: utf-8" so that this file is not mishandled in a
18296 Latin-1 or Big-5 locale.
18297 * lisp/international/robin.el, lisp/org/ox-ascii.el:
18298 Specify utf-8, not utf-8-emacs, as these are plain UTF-8 files.
18299 * lisp/language/ethio-util.el: Fix trailer.
18301 2015-04-28 Eli Zaretskii <eliz@gnu.org>
18303 Fix synchronous invocation of Ispell
18304 * lisp/textmodes/ispell.el (ispell-init-process): Assign a non-nil
18305 value to ispell-process-directory before calling ispell-init-process.
18306 Don't call set-process-coding-system if ispell-async-processp is nil.
18309 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
18311 * lisp/emacs-lisp/package.el: Skip space and comments in init file
18312 (package--ensure-init-file): Insert snippet at first
18313 non-whitespace non-comments line. Respects local-vars at the top
18316 2015-04-28 Glenn Morris <rgm@gnu.org>
18318 * lisp/mail/rmail.el (rmail-copy-headers):
18319 Handle rmail-nonignored-headers being nil. (Bug#18878)
18321 * lisp/subr.el (delay-mode-hooks): Fix doc typo.
18323 * lisp/vc/vc-bzr.el (vc-bzr-after-dir-status):
18324 Don't get confused by a bzrlib version mismatch warning.
18326 2015-04-27 Thomas Fitzsimmons <fitzsim@fitzsim.org>
18328 Change default location of EUDC options file
18329 * etc/NEWS: Document change to EUDC options file's default location.
18330 * lisp/net/eudc-vars.el (eudc-options-file): Use
18331 `locate-user-emacs-file' to change default options file location.
18333 2015-04-27 Glenn Morris <rgm@gnu.org>
18335 * test/automated/package-test.el (package-test-update-archives-async):
18336 Try to handle the test server script dying.
18338 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
18340 * lisp/saveplace.el (save-place-mode): New minor mode.
18341 (save-place): Redefine as an obsolete alias.
18343 * lisp/midnight.el: Make it a minor mode. Allow predicates.
18344 * lisp/midnight.el: Use lexical-binding.
18345 (midnight-mode): Make it a proper minor mode.
18346 (midnight-buffer-display-time): Make arg non-optional.
18347 (midnight-find): Remove.
18348 (clean-buffer-list-kill-never-regexps)
18349 (clean-buffer-list-kill-regexps): Tweak type for new function choice.
18350 (clean-buffer-list-delay): Allow clean-buffer-list-kill-regexps to
18352 (clean-buffer-list): Use cl-find.
18353 Allow clean-buffer-list-kill-never-regexps to contain functions.
18355 2015-04-27 Nicolas Petton <nicolas@petton.fr>
18357 Bump version of seq.el to 1.5
18358 * lisp/emacs-lisp/seq.el (seq-doseq): Remove undocumented return value
18359 from seq-doseq. Bump version number of seq.el.
18361 2015-04-27 Glenn Morris <rgm@gnu.org>
18363 * lisp/mail/rmail.el (rmail-reply):
18364 Decode subject before matching "Re:" prefix. (Bug#20396)
18366 2015-04-27 Artur Malabarba <bruce.connor.am@gmail.com>
18368 * lisp/emacs-lisp/package.el: Small improvements
18369 (package--with-work-buffer-async): More informative error.
18370 (package-install-user-selected-packages): Rename to
18371 `package-install-selected-packages'.
18373 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
18375 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last
18376 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last change.
18377 (eieio--class-make): Remove leftover `tag'.
18379 2015-04-27 Glenn Morris <rgm@gnu.org>
18381 * lisp/gnus/message.el (gnus-extract-address-components):
18382 Remove bogus declaration that was masking previous problem.
18384 2015-04-27 Nicolas Graner <nicolas.graner@u-psud.fr> (tiny change)
18386 * lisp/gnus/message.el (message-insert-formatted-citation-line):
18387 Fix typo. (Bug#20318)
18389 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
18391 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Reuse oldc.
18393 * lisp/textmodes/reftex-toc.el: Improve multi-frame behavior
18394 * lisp/textmodes/reftex-toc.el (reftex-toc-revert): Avoid displaying
18395 the buffer in yet another frame.
18396 (reftex-toc-visit-location): Make sure toc-window has focus at the end
18397 when `final' is nil.
18398 (reftex--rebuilding-toc): Defvar to avoid `boundp' and
18399 silence warnings. Use `--' to clarify that it's internal.
18400 (reftex-toc-next, reftex-toc-previous, reftex-toc-demote)
18401 (reftex-toc-promote): Clarify unused argument.
18402 (reftex--pro-or-de, reftex--start-line, reftex--mark-line):
18403 Add `reftex--' prefix. Fix all users.
18404 (reftex-toc-promote-prepare): Use _ for dummy variable.
18405 (reftex-toc-restore-region): Rename `m.
18407 2015-04-27 Eli Zaretskii <eliz@gnu.org>
18409 Fix a typo in bibtex.el
18410 * lisp/textmodes/bibtex.el (bibtex-insert-kill): Fix a typo from
18411 last change. (Bug#20429)
18413 Fix redisplay of frame after loading new fonts
18414 * src/xdisp.c (redisplay_internal): When retrying redisplay of
18415 a frame because new fonts were loaded, disable all redisplay
18416 optimizations on that frame by calling SET_FRAME_GARBAGED.
18419 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
18421 * lisp/info.el (Info-menu): Properly provide the `default'
18424 * lisp/progmodes/elisp-mode.el (elisp--get-fnsym-args-string):
18425 Catch errors from documentation (bug#20418).
18426 (emacs-lisp-mode-abbrev-table): Remove redundant defvar.
18428 2015-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
18430 * lisp/emacs-lisp/package.el: Move variables to silence byte-compiler.
18431 Remove redundant ":group 'package".
18433 2015-04-26 Eli Zaretskii <eliz@gnu.org>
18435 Fix a typo in rmail.el
18436 * lisp/mail/rmail.el (rmail-ensure-blank-line): Fix a typo in the
18437 last commit. (Bug#20429)
18439 2015-04-26 Dmitry Gutov <dgutov@yandex.ru>
18441 Introduce xref-prompt-for-identifier
18442 * lisp/progmodes/xref.el (xref-prompt-for-identifier): New option.
18443 (xref--read-identifier): Use it
18444 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01205.html).
18446 2015-04-26 João Távora <joaotavora@gmail.com>
18448 `tex-insert-quote' after single `'' opens quotes instead of closing
18449 Without this, it's very hard to precede double quotes with the
18450 apostrophe character, i.e. insert the sequence '``
18451 (quote-backquote-backquote), commonly useful in portuguese, for
18453 * lisp/textmodes/tex-mode.el (tex-insert-quote): Add ?' to the list of
18454 preceding chars making `tex-insert-quote' be in the "opening" context.
18456 2015-04-25 Dmitry Gutov <dgutov@yandex.ru>
18458 Pass `id' to `completing-read' as def instead of initial input
18459 * lisp/progmodes/xref.el (xref--read-identifier): Pass `id' to
18460 `completing-read' as the default value instead of initial input
18461 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01182.html).
18463 2015-04-25 Paul Eggert <eggert@cs.ucla.edu>
18465 Don't freeze with unreadable processes
18466 Don't freeze if an exiting process can't be read from. (Bug#19860).
18467 This fixes a bug I introduced in
18468 2014-07-08T07:24:07Z@eggert@cs.ucla.edu
18469 "* process.c: Add sanity checks for file descriptors."
18470 Dmitry Gutov did most of the legwork in finding the problem.
18471 * src/process.c (wait_reading_process_output):
18472 Treat non-running processes that can't be read from
18473 the same as other non-running processes.
18475 2015-04-25 Alan Mackenzie <acm@muc.de>
18477 Fix change from 2015-04-22 "On C-y, stop some text property entries ..."
18478 * lisp/subr.el (remove-yank-excluded-properties): Put
18479 `with-silent-modifications' around only the last three lines of code.
18481 2015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
18483 * lisp/emacs-lisp/package.el (package-all-keywords): Don't cache
18484 (package--all-keywords): Deleted variable.
18486 * etc/NEWS: Document package-hiding functionality.
18488 2015-04-25 Eli Zaretskii <eliz@gnu.org>
18490 * lisp/window.el (recenter-last-op): Doc fix. (Bug#20419)
18492 Clarify the doc string of 'replace-regexp-in-string'
18493 * lisp/subr.el (replace-regexp-in-string): Doc fix. (Bug#20395)
18495 Improve doc string of 'insert-buffer-substring'
18496 * src/editfns.c (Finsert_buffer_substring): Doc fix. (Bug#20421)
18498 MS-Windows followup for the recent gnulib update
18499 * nt/gnulib.mk (libgnu_a_SOURCES): Replace file-has-acl.c with
18502 2015-04-24 Paul Eggert <eggert@cs.ucla.edu>
18508 2015-04-24 file-has-acl: new module, split from acl
18509 2015-04-24 manywarnings: add GCC 5.1 warnings
18510 2015-04-21 lstat: fix cross-compilation 'ln -s' problem
18511 2015-04-15 qacl: Simplify HP-UX acl_nontrivial check
18512 2015-04-15 acl: On Linux, check for acls without libacl
18513 2015-04-14 tempname: avoid unused parameter warnings (trivial)
18514 * lib/acl-internal.c: New file, from gnulib.
18515 * lib/file-has-acl.c: Remove; no longer imported from gnulib.
18516 * lib/acl-internal.h, lib/gnulib.mk, lib/qcopy-acl.c, lib/tempname.c:
18517 * m4/acl.m4, m4/gnulib-comp.m4, m4/lstat.m4, m4/manywarnings.m4:
18518 Update from gnulib.
18520 Port --enable-gcc-warnings to GCC 5.1 x86-64
18521 * lib-src/ebrowse.c (dump_sym):
18522 * lib-src/hexl.c (main):
18523 * src/ccl.c (ccl_driver):
18524 * src/character.c (string_escape_byte8):
18525 * src/dbusbind.c (xd_retrieve_arg, xd_add_watch):
18526 * src/gnutls.c (Fgnutls_boot):
18527 * src/gtkutil.c (xg_check_special_colors):
18528 * src/image.c (x_build_heuristic_mask):
18529 * src/print.c (safe_debug_print, print_object):
18530 * src/term.c (produce_glyphless_glyph):
18531 * src/xdisp.c (get_next_display_element)
18532 (produce_glyphless_glyph):
18533 * src/xterm.c (x_draw_glyphless_glyph_string_foreground):
18534 Don't use a signed format to print an unsigned integer, or vice
18535 versa. GCC 5.1's new -Wformat-signedness option warns about this.
18536 * src/image.c (png_load_body, jpeg_load_body):
18537 Silence a bogus setjump diagnostic from GCC 5.1 (GCC bug 54561).
18539 2015-04-24 Tassilo Horn <tsdh@gnu.org>
18541 Add new faces to tsdh-light-theme
18542 * etc/themes/tsdh-light-theme.el (tsdh-light): New face
18543 definitions for Info-quoted, ace-jump-face-foreground,
18544 hl-paren-face, show-paren-match, and show-paren-mismatch.
18546 2015-04-24 Nicolas Petton <nicolas@petton.fr>
18548 * lisp/emacs-lisp/seq.el (seq-doseq): Fix the macro.
18550 2015-04-24 Glenn Morris <rgm@gnu.org>
18552 * build-aux/gitlog-to-emacslog:
18553 Use raw log format rather than wrapped one.
18555 2015-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
18557 * lisp/emacs-lisp/seq.el (seq-doseq): Tighten the code.
18558 (seq-doseq): Fix out-of-scope binding.
18559 Don't call `seq-length at every iteration.
18560 Reduce `if's from 3 to 2 per iteration.
18561 (emacs-lisp-mode-hook): Don't tweak in Emacs≥25.
18563 2015-04-24 Glenn Morris <rgm@gnu.org>
18565 * lisp/textmodes/text-mode.el (text-mode-hook):
18566 Move text-mode-hook-identify to default.
18568 * lisp/mouse.el (minor-mode-menu-from-indicator):
18569 Handle non-function members of minor-mode-map-alist. (Bug#20201)
18571 * lisp/help-fns.el (describe-function): More type checking.
18572 (describe-function-1): Handle changed symbol-function. (Bug#20201)
18574 * build-aux/gitlog-to-emacslog: Convert "Fixes:" to "(Bug#)".
18577 2015-04-24 Andreas Schwab <schwab@linux-m68k.org>
18579 shr: strip leading whitespace when expanding URLs
18580 * lisp/net/shr.el (shr-expand-url): Strip leading whitespace from URL.
18582 2015-04-24 Eli Zaretskii <eliz@gnu.org>
18584 Clarify "co-authored" some more
18586 * CONTRIBUTE: Clarify "co-authored-by". (Bug#20400)
18588 Clarify doc strings of functions that search for properties
18589 * src/textprop.c (Fnext_char_property_change)
18590 (Fprevious_char_property_change)
18591 (Fnext_single_char_property_change)
18592 (Fprevious_single_char_property_change, Fnext_property_change)
18593 (Fnext_single_property_change, Fprevious_property_change)
18594 (Fprevious_single_property_change): Clarify doc strings wrt return
18595 value and the optional LIMIT argument. (Bug#20411)
18597 2015-04-24 Glenn Morris <rgm@gnu.org>
18599 * test/automated/message-mode-tests.el (message-mode-propertize):
18600 Handle non-writable HOME; eg on hydra.nixos.org.
18602 2015-04-23 Eli Zaretskii <eliz@gnu.org>
18604 Avoid starting threads by w32-shell-execute
18605 * src/w32fns.c (Fw32_shell_execute): Convert "file:///" URLs into
18606 local file names, before invoking ShellExecute. (Bug#20220)
18608 2015-04-23 Martin Rudalics <rudalics@gmx.at>
18610 Fix following doc-links in `widget-documentation-link-action'
18611 * lisp/wid-edit.el (widget-documentation-link-action): Make
18612 following doc-links less simplistic (Bug#20398).
18614 2015-04-22 Thomas Fitzsimmons <fitzsim@fitzsim.org>
18616 Improve EUDC manual
18617 * doc/misc/eudc.texi (Troubleshooting):
18618 New LDAP troubleshooting subsection.
18620 2015-04-22 Paul Eggert <eggert@cs.ucla.edu>
18622 Omit needless "\ " after multibyte then newline
18623 * src/print.c: Include <c-ctype.h>, for c_isxdigit.
18624 (print_object): When print-escape-multibyte is non-nil and a
18625 multibyte character is followed by a newline or formfeed, followed
18626 by a hex digit, don't output a needless "\ " before the hex digit.
18627 * test/automated/print-tests.el (print-hex-backslash): New test.
18629 2015-04-22 Oleh Krehel <ohwoeowho@gmail.com>
18631 Add a new `inhibit-message' variable
18632 * src/xdisp.c (syms_of_xdisp): Define a boolean `inhibit_message'.
18633 (message3): Don't call `message3_nolog' (i.e. use the Echo Area) when
18634 `inhibit_message' is non-zero.
18635 * etc/NEWS: Add an entry.
18636 * doc/lispref/display.texi: Add an entry for `inhibit-message',
18637 mention it in `message'.
18639 2015-04-22 Martin Rudalics <rudalics@gmx.at>
18641 Fix last fix in `display-buffer-record-window'.
18642 * lisp/window.el (display-buffer-record-window): Fix last fix.
18644 2015-04-22 Eli Zaretskii <eliz@gnu.org>
18646 Minor edits in CONTRIBUTE
18647 * CONTRIBUTE: Rearrange instructions about log messages.
18648 Use "Git" capitalized all over.
18649 Use 2 spaces between sentences.
18651 2015-04-22 Artur Malabarba <bruce.connor.am@gmail.com>
18653 * lisp/files.el (basic-save-buffer): Fix argument.
18655 * lisp/cus-edit.el (custom-file): Consider init-file-had-error.
18656 In case `(and (null custom-file) init-file-had-error)' do the same
18657 thing we'd do if `(null user-init-file)', which is to either error out
18658 or return nil. This is in line with `custom-save-all' which would
18659 throw an error in that situation. (Bug#20355)
18661 * lisp/emacs-lisp/package.el: Hide lower-priority packages in menu.
18662 (package-menu-hide-low-priority): New variable, see its doc.
18663 (package-archive-priorities): Update doc.
18664 (package-desc-priority): New function.
18665 (package-desc-priority-version): Use it.
18666 (package--remove-hidden): New function.
18667 (package-menu--refresh): Use it.
18669 * lisp/emacs-lisp/package.el: Implement displaying obsolete packages.
18670 (package-menu--hide-obsolete): New variable.
18671 (package--remove-hidden): Use it.
18672 (package-menu-hide-obsolete): New interactive function to toggle
18674 (package--quick-help-keys): Document it.
18675 (package-menu-async): Add :version tag.
18676 (package-menu-mode-map): Bind package-menu-hide-obsolete.
18677 (package-desc-status): Indicate non-installed obsolete packages as
18679 (package-menu-mark-install): Allow installation of avail-obso.
18680 (package-menu--status-predicate): Sort avail-obso with available.
18682 2015-04-22 Alan Mackenzie <acm@muc.de>
18684 On C-y, stop some text property entries being written into buffer-undo-list
18685 * lisp/subr.el (remove-yank-excluded-properties): Enclose the code in
18686 `with-silent-modifications'.
18688 2015-04-22 Martin Rudalics <rudalics@gmx.at>
18690 In display-buffer-record-window record selected window if necessary
18691 * lisp/window.el (display-buffer-record-window): Store selected window
18692 if it differs from 3rd element of 'quit-restore' parameter (Bug#20353).
18694 2015-04-22 Tassilo Horn <tsdh@gnu.org>
18696 Fix reftex-citation bug
18697 * lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries):
18698 Fix `wrong-type-argument stringp nil' error that occurs when AUCTeX
18699 integration is enabled and there are no citations in the document
18702 2015-04-21 Dmitry Gutov <dgutov@yandex.ru>
18704 Add or reset based on the presence of MERGE_HEAD
18705 * lisp/vc/vc-git.el (vc-git-find-file-hook): Add
18706 `vc-git-resolve-when-done' to `after-save-hook' in either case.
18707 (vc-git-conflicted-files): Add a TODO.
18708 (vc-git-resolve-when-done): Depending on the presence of
18709 MERGE_HEAD, either update the resolved file in the index, or
18710 remove it from there. (Bug#20292)
18712 2015-04-21 Glenn Morris <rgm@gnu.org>
18714 * lisp/custom.el (custom-declare-group): No need to purecopy
18715 custom-current-group-alist members following recent change to set
18716 it to nil before dumping.
18718 * build-aux/gitlog-to-emacslog: Get footer from ChangeLog.2.
18721 2015-04-21 Daniel Colascione <dancol@dancol.org>
18723 Unbreak no-op buffer save message
18724 * lisp/files.el (basic-save-buffer): Accept called-interactively as
18725 an argument instead of directly invoking called-interactively-p,
18726 which will always yield nil in that context.
18728 2015-04-21 Alan Mackenzie <acm@muc.de>
18730 CC Mode: Do nothing in before/after-change-functions for text
18733 * lisp/progmodes/cc-mode.el (c-basic-common-init): Make
18734 yank-handled-properties buffer local, and remove 'category from it.
18735 (c-called-from-text-property-change-p): New function.
18736 (c-before-change): Don't do anything if a call of the new function
18738 (c-after-change): Don't do much if a call of the new function returns
18740 (c-extend-after-change-region): Put changes to text property 'fontified
18741 inside c-save-buffer-state.
18743 2015-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18745 Fix byte-compiler warnings about looking-back
18746 * lisp/vc/log-view.el (log-view-end-of-defun-1):
18747 * lisp/textmodes/tex-mode.el (latex-forward-sexp-1):
18748 * lisp/textmodes/reftex-ref.el (reftex-goto-label):
18749 * lisp/textmodes/bibtex.el (bibtex-insert-kill):
18750 * lisp/progmodes/sh-script.el (sh--maybe-here-document):
18751 * lisp/progmodes/ruby-mode.el (ruby-end-of-defun):
18752 * lisp/progmodes/ada-mode.el (ada-in-numeric-literal-p):
18753 * lisp/org/org.el (org-insert-heading, org-sort-entries):
18754 * lisp/org/org-mouse.el (org-mouse-end-headline)
18755 (org-mouse-context-menu):
18756 * lisp/org/org-clock.el (org-clock-cancel):
18757 * lisp/man.el (Man-default-man-entry):
18758 * lisp/mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text)
18759 (rmail-ensure-blank-line):
18760 * lisp/mail/footnote.el (Footnote-delete-footnote):
18761 * lisp/mail/emacsbug.el (report-emacs-bug):
18762 * lisp/info.el (Info-follow-reference, Info-fontify-node):
18763 * lisp/info-look.el (info-lookup-guess-custom-symbol):
18764 * lisp/help-fns.el (help-fns--key-bindings):
18765 * lisp/files.el (hack-local-variables):
18766 * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-cmd-complete)
18767 (viper-get-ex-pat, ex-expand-filsyms, viper-get-ex-file)
18768 (viper-complete-filename-or-exit):
18769 * lisp/emulation/viper-cmd.el (viper-backward-indent):
18770 * lisp/emacs-lisp/lisp-mode.el (calculate-lisp-indent):
18771 * lisp/emacs-lisp/elint.el (elint-get-top-forms):
18772 * lisp/cus-edit.el (custom-face-edit-value-create):
18773 * lisp/calendar/todo-mode.el (todo-set-item-priority)
18774 (todo-filter-items-1, todo-convert-legacy-files)
18775 (todo-prefix-overlays): Add explicit second arg to looking-back.
18777 2015-04-20 Glenn Morris <rgm@gnu.org>
18779 Avoid non-nil current-load-list at startup
18780 * src/process.c (init_process_emacs): Move Fprovide statement...
18781 (syms_of_process): ... to here.
18783 * lisp/loadup.el (custom-current-group-alist): Reset before dumping.
18785 * lisp/startup.el (command-line) <site-run-file>: Avoid rogue value
18788 2015-04-20 Ludovic Courtès <ludo@gnu.org>
18790 * lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary.
18793 2015-04-20 Glenn Morris <rgm@gnu.org>
18795 * lisp/cus-start.el (exec-path): Set standard value, to avoid rogue.
18797 Tweak exec-path in uninstalled case
18798 * src/callproc.c (init_callproc): If running uninstalled, do not
18799 include eventual installation libexec directory in exec-path.
18801 2015-04-20 Artur Malabarba <bruce.connor.am@gmail.com>
18803 * lisp/emacs-lisp/package.el: Filter by multiple keywords and
18805 (package-menu-filter): Accept a list of keywords.
18806 (package--all-keywords): New variable to cache known keywords.
18807 (package-all-keywords): Populate it if necessary.
18808 (package-refresh-contents): Reset it.
18810 * lisp/emacs-lisp/package.el: Make archive and status pseudo-keywords
18811 (package--has-keyword-p): Understand "arc:xxxx" and "status:xxxx"
18812 as special keywords which match agains package archive and status
18814 * etc/NEWS: Document it.
18816 2015-04-20 Eli Zaretskii <eliz@gnu.org>
18818 Describe and index "empty overlays".
18819 * doc/lispref/display.texi (Overlays): Improve indexing.
18820 (Managing Overlays): Describe "empty" overlays.
18821 (Overlay Properties, Finding Overlays): Add cross-reference to
18822 where empty overlays are described.
18824 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
18828 Quote 'like this' in top-level files
18829 * CONTRIBUTE, INSTALL, Makefile.in, README, configure.ac, make-dist:
18830 Prefer to single-quote 'like this' (instead of the older style
18832 * configure.ac: Fix some space-before-tab problems that 'git commit'
18835 Use bool for boolean in textprop.c, undo.c
18836 * src/textprop.c (soft, hard): Now constants instead of macros.
18837 (validate_plist): Rewrite to avoid need for boolean local.
18838 (interval_has_all_properties, interval_has_some_properties)
18839 (interval_has_some_properties_list, add_properties)
18840 (remove_properties, get_char_property_and_overlay)
18841 (Fnext_single_char_property_change)
18842 (Fprevious_single_char_property_change, add_text_properties_1)
18843 (Fremove_text_properties, Fremove_list_of_text_properties)
18844 (copy_text_properties):
18845 * src/tparam.c (tparam1):
18846 * src/undo.c (record_change, record_property_change)
18848 Use 'true' and 'false' for booleans.
18850 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
18852 * lisp/vc/vc-git.el (vc-git-find-file-hook):
18853 Call `smerge-start-session' even when dealing with a stash
18854 conflict (bug#20292).
18856 2015-04-19 Vibhav Pant <vibhavp@gmail.com>
18858 Add option to eshell/clear to clear scrollback.
18859 * lisp/eshell/esh-mode.el (eshell/clear-scrollback): New function.
18860 (eshell/clear): Add an optional SCROLLBACK argument. If non-nil,
18861 scrollback contents are cleared.
18862 * etc/NEWS: Describe change.
18863 * doc/misc/eshell.texi: Add entry for `clear'.
18865 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
18867 * src/widget.c (set_frame_size): Prefer 'int' to 'unsigned'
18868 where either will do.
18870 2015-04-19 Steve Purcell <steve@sanityinc.com>
18872 Assume package archive-contents are UTF8-encoded
18873 * lisp/emacs-lisp/package.el (package--read-archive-file):
18874 Set `coding-system-for-read' explicitly to 'utf-8 when reading the
18875 downloaded and cached archive-contents files, so that non-ASCII
18876 characters in package descriptions are displayed correctly in the
18877 `list-packages' menu. (Bug#20231)
18879 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
18881 Abort when looking at stashed changes
18882 * lisp/vc/vc-git.el (vc-git-find-file-hook): Abort when looking at
18883 stashed changes (bug#20292).
18885 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
18887 Refactor low-level printing for simplicity
18888 * src/print.c (PRINTDECLARE): Remove. Move its contents into
18889 PRINTPREPARE; doable now that we assume C99. All callers changed.
18890 (PRINTCHAR): Remove, as it adds more mystery than clarity.
18891 All callers changed.
18892 (strout): Assume that caller computes length. All callers changed.
18893 (print_c_string): New function.
18894 (write_string, write_string_1): Compute length instead of asking
18895 the caller to compute it. All callers changed.
18896 (write_string): Simplify by using write_string_1.
18897 (write_string_1): Simplify by using print_c_string.
18898 (Fterpri): Compute default val more clearly.
18899 (Fprin1_to_string, print_object):
18900 Assume C99 to avoid unnecessary nesting.
18901 (print_object): Prefer print_c_string to multiple printchar, or
18902 to calling strout with -1 length. Coalesce into sprintf when
18905 2015-04-18 Paul Eggert <eggert@cs.ucla.edu>
18907 Prefer "Bug#1234" in commit messages (Bug#20325)
18908 * .dir-locals.el (log-edit-mode): Don't rewrite Bug#,
18909 as this isn't useful for Git.
18910 * CONTRIBUTE: Suggest "Bug#1234" instead of "Fixes: debbugs:1234".
18912 2015-04-18 Glenn Morris <rgm@gnu.org>
18914 * lisp/files.el (auto-mode-alist): Use conf mode for gitconfig, hgrc.
18917 2015-04-18 Tom Willemse <tom@ryuslash.org> (tiny change)
18919 * lisp/elec-pair.el (electric-pair-post-self-insert-function):
18920 Do not use `chomp' as a function. (Bug#19505)
18922 2015-04-18 Glenn Morris <rgm@gnu.org>
18924 * lisp/net/browse-url.el (browse-url, browse-url-at-point): Doc fixes.
18926 * doc/emacs/misc.texi (Sorting): Small edit.
18929 * admin/admin.el (make-manuals): Add emacs-xtra in pdf and ps.
18931 2015-04-18 Simen Heggestøyl <simenheg@gmail.com>
18933 css-mode.el: Support multi-line comment filling
18935 * lisp/textmodes/css-mode.el (css-fill-paragraph): Support multi-line
18937 (css-adaptive-fill): New function.
18938 (css-mode): Set `adaptive-fill-function'.
18939 (scss-mode): Set `comment-continue'.
18941 2015-04-18 Nicolas Petton <nicolas@petton.fr>
18943 * lisp/emacs-lisp/seq.el (seq-concatenate, seq-into):
18944 Better error messages.
18946 2015-04-18 Ivan Radanov Ivanov <ivanradanov@yahoo.co.uk> (tiny change)
18948 Minor improvements in Bulgarian input methods
18949 * lisp/leim/quail/cyrillic.el (bulgarian-phonetic, bulgarian-bds):
18950 Replace U+042C with U+045D, as the former character is not used in
18951 the modern Bulgarian language.
18954 2015-04-17 Thomas Fitzsimmons <fitzsim@fitzsim.org>
18956 Improve EUDC manual
18957 * doc/misc/eudc.texi (LDAP Configuration): Mention simple and SASL
18958 authentication schemes. Add index items. Shorten example server
18961 2015-04-17 Dmitry Gutov <dgutov@yandex.ru>
18963 Don't show both feature and function with the same name
18964 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
18965 Don't show both feature and function with the same name.
18967 (elisp--xref-identifier-location): Skip variable, if it's also
18969 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
18970 Avoid returning both the variable and the function for the same
18973 2015-04-17 Wolfgang Jenkner <wjenkner@inode.at>
18975 Fix fontification of keywords clobbered by the prompt
18976 * lisp/comint.el (comint-output-filter): Remove the uses of
18977 with-silent-modifications I introduced as part of the last change.
18978 This fixes, e.g., erratically missing highlighting when running
18979 ./configure --help; ./configure in a shell-mode buffer with
18980 compilation-shell-minor-mode turned on.
18982 2015-04-17 Glenn Morris <rgm@gnu.org>
18984 * admin/authors.el (authors-valid-file-names)
18985 (authors-renamed-files-alist): Additions.
18987 2015-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
18989 * lisp/indent.el (indent-region): Don't deactivate the mark.
18992 2015-04-17 Sam Steingold <sds@gnu.org>
18994 * lisp/net/rcirc.el (defun-rcirc-command): Mark `target' as ignorable.
18996 2015-04-16 Leo Liu <sdl.web@gmail.com>
18998 * lisp/progmodes/xref.el (xref-push-marker-stack): Add optional arg.
19000 2015-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
19002 * lisp/erc/erc-pcomplete.el (erc-pcomplete):
19003 Don't use `pcomplete' any more.
19005 2015-04-16 Glenn Morris <rgm@gnu.org>
19007 * admin/authors.el (authors-lax-changelogs): Update for erc changes.
19009 2015-04-16 Eli Zaretskii <eliz@gnu.org>
19011 Don't link with -ljpeg on MS-Windows, to avoid dependency on DLL
19012 * configure.ac (LIBJPEG): Leave it empty for MinGW.
19014 2015-04-16 Glenn Morris <rgm@gnu.org>
19016 * lisp/replace.el (query-replace-from-to-separator):
19017 Delay initialization to avoid rogue setting after startup.
19019 2015-04-16 Paul Eggert <eggert@cs.ucla.edu>
19021 Pre-4.6 GCC succeeds with unknown option
19022 * configure.ac (emacs_cv_prog_cc_nopie): Port to pre-4.6 GCC.
19025 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
19027 '[:graph:]' now excludes whitespace, not just ' '
19028 * doc/lispref/searching.texi (Char Classes):
19029 * lisp/emacs-lisp/rx.el (rx): Document [:graph:] to be [:print:]
19030 sans whitespace (not sans space).
19031 * src/character.c (graphicp): Exclude all Unicode whitespace chars,
19033 * src/regex.c (ISGRAPH): Exclude U+00A0 (NO-BREAK SPACE).
19035 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19037 * lisp/subr.el (substitute-key-definition-key, special-form-p)
19038 (macrop): Drop deprecated second arg to indirect-function.
19039 (looking-back): Make the second arg non-optional.
19041 * lisp/org/org-clock.el (org-x11idle-exists-p): Be honest about which
19042 command is actually sent to the shell.
19044 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
19046 Port jpeg configuration to Solaris 10 with Sun C
19047 * configure.ac: Check for jpeglib 6b by trying to link it, instead
19048 of relying on cpp magic that has problems in practice. Check for
19049 both jpeglib.h and jerror.h features. Remove special case for
19050 mingw32, which should no longer be needed (and if it were needed,
19051 should now be addressable by hotwiring emacs_cv_jpeglib).
19054 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19056 Move some Elisp-specific code from lisp-mode.el to elisp-mode.el
19057 * lisp/emacs-lisp/lisp-mode.el (lisp--el-font-lock-flush-elisp-buffers):
19058 Move to elisp-mode.el.
19059 (lisp-mode-variables): (Re)move elisp-specific settings.
19060 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add settings removed
19061 from lisp-mode-variables.
19062 (elisp--font-lock-flush-elisp-buffers): New function, moved from
19065 * lisp/emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p):
19066 Avoid pathological slowdown at top-level in large file.
19068 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
19070 Standardize names of ChangeLog history files
19071 Suggested by Glenn Morris in:
19072 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
19073 * Makefile.in (install-man): Don't treat ChangeLog.1 as a man page.
19074 * doc/man/ChangeLog.1: Rename back from doc/man/ChangeLog.01.
19075 * lisp/erc/ChangeLog.1: New file, containing the old contents of ...
19076 * lisp/erc/ChangeLog.01, lisp/erc/ChangeLog.02, lisp/erc/ChangeLog.03:
19077 * lisp/erc/ChangeLog.04, lisp/erc/ChangeLog.05, lisp/erc/ChangeLog.06:
19078 * lisp/erc/ChangeLog.07, lisp/erc/ChangeLog.08, lisp/erc/ChangeLog.09:
19081 Split top-level entries into pre- and post-April 7
19082 This more clearly distingiushes pre-April-7 ChangeLog entries (which
19083 are for top-level files only) from post-April-7 entries (which are
19084 about files at all levels. Problem reported by Glenn Morris in:
19085 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
19086 * ChangeLog.1: Move post-April-7 entries from here ...
19087 * ChangeLog.2: ... to this new file.
19088 * Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump to 2.
19090 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19092 Fix recent cus-start changes that added customize-rogues
19093 * lisp/cus-start.el (custom-delayed-init-variables): Initialize the
19095 * lisp/loadup.el ("cus-start"): Move to the end to reduce
19098 2015-04-15 Nicolas Petton <nicolas@petton.fr>
19100 Define cl-concatenate as an alias to seq-concatenate
19101 * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Removes duplicated
19102 code by making cl-concatenate an alias to seq-concatenate.
19104 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19106 * src/lread.c (intern_1): Make sure we'd find the symbol we add
19108 * src/xfaces.c (resolve_face_name): Don't use `intern' with
19111 2015-04-15 Glenn Morris <rgm@gnu.org>
19113 * doc/lispref/sequences.texi (Sequence Functions): Fix typo in previous.
19115 2015-04-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19117 Clean up gnus-uu saving code slightly
19118 * lisp/gnus/gnus-uu.el (gnus-uu-save-article): Make the
19119 save-restriction/widen calls make more sense.
19121 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
19123 Make [:graph:] act like [:print:] sans space
19124 In POSIX [[:print:]] is equivalent to [ [:graph:]], so change
19125 [:graph:] so that it matches everything that [:print:] does,
19127 * doc/lispref/searching.texi (Char Classes):
19129 * lisp/emacs-lisp/rx.el (rx):
19130 Document [:graph:] to be [:print:] sans ' '.
19131 * src/character.c, src/character.h (graphicp): New function.
19132 * src/regex.c (ISGRAPH) [emacs]: Use it.
19133 (BIT_GRAPH): New macro.
19134 (BIT_PRINT): Increase to 0x200, to make room for BIT_GRAPH.
19135 (re_wctype_to_bit) [! WIDE_CHAR_SUPPORT]:
19136 Return BIT_GRAPH for RECC_GRAPH.
19137 (re_match_2_internal) [emacs]: Use ISGRAPH if BIT_GRAPH,
19138 and ISPRINT if BIT_PRINT.
19140 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19142 automated/eieio-test-methodinvoke.el (make-instance) <(subclass C)>:
19143 Don't use call-next-method in a cl-defmethod.
19145 * lisp/emacs-lisp/eieio-core.el (eieio--class): Derive from cl--class
19146 (eieio--class-p): Remove, provided by cl-defstruct.
19148 2015-04-14 Nicolas Petton <nicolas@petton.fr>
19150 Add seq-intersection and seq-difference to the seq library
19151 * lisp/emacs-lisp/seq.el (seq-intersection, seq-difference):
19153 * test/automated/seq-tests.el: Add tests for seq-intersection and
19155 * doc/lispref/sequences.texi: Add documentation for seq-intersection
19156 and seq-difference.
19158 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19160 * lisp/emacs-lisp/eieio-core.el (class-abstract-p): Don't inline,
19161 to avoid leaking internals.
19163 2015-04-14 Sam Steingold <sds@gnu.org>
19165 package--ensure-init-file: widen requires save-restriction
19167 2015-04-14 Eli Zaretskii <eliz@gnu.org>
19169 Improve the commit-msg Git hook for unibyte environments
19170 * build-aux/git-hooks/commit-msg: Set LC_ALL=C, before running Awk
19171 in unibyte environments. (Suggested by Paul Eggert
19172 <eggert@cs.ucla.edu>.) Use a more accurate approximation to
19173 [:print:], based on UTF-8 sequences of the unprintable characters.
19175 Describe problems with cursor caused by Windows Magnifier
19176 * etc/PROBLEMS: Describe the problem with cursor shape on
19177 MS-Windows due to Windows Magnifier.
19180 Make [:print:] support non-ASCII characters correctly
19181 * src/regex.c (ISPRINT): Call 'printablep' for multibyte characters.
19182 (BIT_PRINT): New bit mask.
19183 (re_wctype_to_bit): Return BIT_PRINT for RECC_PRINT.
19184 * src/character.c (printablep): New function.
19185 * src/character.h (printablep): Add prototype.
19186 * lisp/emacs-lisp/rx.el (rx): Doc fix: document the new behavior
19187 of 'print', 'alnum', and 'alphabetic'.
19188 * doc/lispref/searching.texi (Char Classes): Document the new
19189 behavior of [:print:].
19190 * etc/NEWS: Mention the new behavior of [:print:].
19192 Assign correct general-category and names to surrogates
19193 * admin/unidata/unidata-gen.el (unidata-setup-list): Don't ignore
19194 surrogates. This avoids assigning them the default
19195 general-category of 'Cn', i.e. unassigned codepoints.
19196 (unidata-get-name): Give surrogates synthetic names.
19198 2015-04-14 Paul Eggert <eggert@cs.ucla.edu>
19200 Assume C89 offsetof in xterm.c, xlwmenu.c
19201 * lwlib/xlwmenu.c (offset):
19202 * src/xterm.c (cvt_string_to_pixel_args):
19203 Use offsetof, not XtOffset.
19205 2015-04-14 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
19207 Assume C89 offsetof in widget.c
19208 * src/widget.c (XtOffset): Remove; no longer needed.
19209 (offset): Implement via offsetof instead of via pre-C89 XtOffset hack.
19211 Fix think-o in previous patch
19212 * src/window.c (count_windows, get_leaf_windows):
19213 Don't optimize count_windows incorrectly.
19215 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
19217 Avoid some int overflows in window.c
19218 * src/print.c (print_object):
19219 * src/window.c (sequence_number):
19220 * src/window.h (struct window.sequence_number):
19221 Don't assume window sequence number fits in int.
19222 * src/window.c (window_select_count):
19223 * src/window.h (struct window.use_time, window_select_count):
19224 Don't assume window use time fits in int.
19225 * src/window.c (Fsplit_window_internal):
19226 Don't assume user-supplied integer, or sum, fits in int.
19227 (Fset_window_configuration, count_windows, get_leaf_windows)
19228 (save_window_save, Fcurrent_window_configuration):
19229 Use ptrdiff_t for object counts.
19230 (Fset_window_configuration): Omit unused local 'n'.
19231 (count_windows): Simplify by writing in terms of get_leaf_windows.
19232 (get_leaf_windows): Don't store through FLAT if it's null.
19233 (extract_dimension): New static function.
19234 (set_window_margins, set_window_fringes, set_window_scroll_bars):
19235 Use it to avoid undefined behavior when converting user-supplied
19238 2015-04-13 Glenn Morris <rgm@gnu.org>
19240 Minor doc copyedits
19241 * doc/emacs/custom.texi (Init Examples): Tweak example, replace typo.
19242 * doc/lispintro/emacs-lisp-intro.texi (condition-case): Typo fix.
19244 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
19246 [Gnus] Catch the invalid-operation that idna.el will issue
19247 * lisp/gnus/gnus-art.el (gnus-use-idna):
19248 * lisp/gnus/gnus-sum.el (gnus-summary-idna-message):
19249 * lisp/gnus/message.el (message-use-idna):
19250 Catch the invalid-operation that idna.el will issue.
19252 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
19254 * doc/lispref/processes.texi (Shell Arguments): Prefer diff -u.
19256 2015-04-13 Sam Steingold <sds@gnu.org>
19258 package--ensure-init-file: widen before looking for
19259 "(package-initialize)"
19261 2015-04-13 Dmitry Gutov <dgutov@yandex.ru>
19263 Change diff-switches default to `-u' (Bug#20290)
19264 * doc/emacs/files.texi (Comparing Files): Document the new default
19265 value of `diff-switches'.
19266 * doc/emacs/trouble.texi (Sending Patches): Document the preference
19267 for unified diff format. Escape the plus in the suggested `-F' regexp
19269 * lisp/vc/diff.el (diff-switches): Change the default to `-u'.
19271 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
19273 (gnus-group--setup-tool-bar-update): Fix last change
19274 * lisp/gnus/gnus-group.el (gnus-group--setup-tool-bar-update):
19275 cursor-sensor-functions should be a list of functions.
19277 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
19279 * lisp/gnus/gnus-topic.el (gnus-topic-mode):
19280 Use gmm-called-interactively-p.
19282 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
19284 * lisp/loadup.el ("cus-start"): Load it after loaddefs.el
19286 * lisp/cus-start.el (read-buffer-function): Don't advertise
19287 iswitchb-read-buffer any more.
19288 (iswitchb): Don't tweak this obsolete group any more.
19290 2015-04-13 Artur Malabarba <bruce.connor.am@gmail.com>
19292 * lisp/emacs-lisp/package.el: Fix package--ensure-init-file.
19294 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Implement docstrings.
19295 Adding a string after a constructor's argument list will use
19296 that string as the constructor function docstring. If this string
19297 is absent but the struct itself was given a docstring, use that as
19298 the constructor's docstring.
19301 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
19303 Deprecate `intangible' and `point-entered' properties
19304 * lisp/emacs-lisp/cursor-sensor.el: New file.
19305 * lisp/simple.el (pre-redisplay-functions): New hook.
19306 (redisplay--pre-redisplay-functions): New function.
19307 (pre-redisplay-function): Use it.
19308 (minibuffer-avoid-prompt): Mark obsolete.
19309 (redisplay--update-region-highlight): Adapt it to work as a function on
19310 pre-redisplay-functions.
19311 * lisp/cus-start.el (minibuffer-prompt-properties--setter): New fun.
19312 (minibuffer-prompt-properties): Use it. Use cursor-intangible rather
19313 than point-entered to make the prompt intangible.
19314 * lisp/forms.el: Move `provide' calls to the end.
19315 (forms-mode): Don't use `run-hooks' on a local var.
19316 (forms--make-format, forms--make-format-elt-using-text-properties):
19317 Use cursor-intangible rather than `intangible'.
19318 (forms-mode): Enable cursor-intangible-mode.
19319 * lisp/isearch.el (isearch-mode): Use defvar-local.
19320 (cursor-sensor-inhibit): Declare.
19321 (isearch-mode): Set cursor-sensor-inhibit.
19322 (isearch-done): Set it back.
19323 (isearch-open-overlay-temporary, isearch-open-necessary-overlays)
19324 (isearch-close-unnecessary-overlays): Don't bother with `intangible'
19326 * lisp/ses.el (ses-localvars): Remove `mode-line-process'.
19327 (ses-sym-rowcol, ses-cell-value, ses-col-width, ses-col-printer):
19329 (ses-goto-print, ses-print-cell, ses-adjust-print-width)
19330 (ses-goto-data, ses-setup, ses-copy-region): Don't let-bind
19331 inhibit-point-motion-hooks any more.
19332 (ses--cell-at-pos, ses--curcell): New functions, extracted from
19334 (ses-set-curcell): Use them.
19335 (ses-print-cell, ses-setup): Use cursor-intangible instead of
19336 `intangible'. Make sure cursor-intangible isn't sticky at BOB.
19337 (ses-print-cell-new-width, ses-reprint-all, ses-recalculate-all):
19338 Use ses--cell-at-pos.
19339 (ses--mode-line-process, ses--cursor-sensor-highlight): New functions,
19340 extracted from ses-command-hook. Make them work with multiple windows
19341 displaying the same buffer.
19342 (ses-mode): Use them via mode-line-process and pre-redisplay-functions.
19343 Enable cursor-intangible-mode.
19344 (ses-command-hook): Remove cell highlight and mode-line update code.
19345 (ses-forward-or-insert, ses-copy-region-helper, ses-sort-column):
19346 Update for new name of text-property holding the cell name.
19347 (ses-rename-cell): Don't mess with mode-line-process.
19348 * lisp/erc/erc-stamp.el (erc-add-timestamp): Use the new
19349 cursor-sensor-functions property instead of point-entered.
19350 (erc-insert-timestamp-right, erc-format-timestamp):
19351 Use cursor-intangible rather than `intangible'.
19352 (erc-munge-invisibility-spec): Use add-to-invisibility-spec and
19353 remove-from-invisibility-spec. Enable cursor-intangible-mode and
19354 cursor-sensor-mode if needed.
19355 (erc-echo-timestamp): Adapt to calling convention of
19356 cursor-sensor-functions.
19357 (erc-insert-timestamp-right): Remove unused vars `current-window' and
19359 * lisp/gnus/gnus-group.el (gnus-tmp-*): Declare.
19360 (gnus-update-group-mark-positions): Remove unused `topic' var.
19361 (gnus-group-insert-group-line): Remove unused var `header'.
19362 (gnus-group--setup-tool-bar-update): New function.
19363 (gnus-group-insert-group-line): Use it.
19364 (gnus-group-update-eval-form): Declare local
19365 dynamically-bound variables.
19366 (gnus-group-unsubscribe-group): Use \` and \' to match string bounds.
19367 * lisp/gnus/gnus-topic.el (gnus-topic-jump-to-topic)
19368 (gnus-group-prepare-topics, gnus-topic-update-topic)
19369 (gnus-topic-change-level, gnus-topic-catchup-articles)
19370 (gnus-topic-remove-group, gnus-topic-delete, gnus-topic-indent):
19371 Use inhibit-read-only.
19372 (gnus-topic-prepare-topic): Use gnus-group--setup-tool-bar-update.
19373 (gnus-topic-mode): Use define-minor-mode and derived-mode-p.
19374 * lisp/textmodes/reftex-index.el (reftex-display-index):
19375 Use cursor-intangible-mode if available.
19376 (reftex-index-post-command-hook): Check cursor-intangible.
19377 * lisp/textmodes/reftex-toc.el (reftex-toc):
19378 Use cursor-intangible-mode if available.
19379 (reftex-toc-recenter, reftex-toc-post-command-hook):
19380 Check cursor-intangible.
19381 * lisp/textmodes/sgml-mode.el: Use lexical-binding.
19382 (sgml-tag): Use cursor-sensor-functions instead of point-entered.
19383 (sgml-tags-invisible): Use with-silent-modifications and
19384 inhibit-read-only. Enable cursor-sensor-mode.
19385 (sgml-cursor-sensor): Rename from sgml-point-entered and adjust to
19386 calling convention of cursor-sensor-functions.
19387 * lisp/textmodes/table.el (table-cell-map-hook, table-load-hook)
19388 (table-point-entered-cell-hook, table-point-left-cell-hook):
19390 (table-cell-entered-state): Remove var.
19391 (table--put-cell-point-entered/left-property)
19392 (table--remove-cell-properties):
19393 Use cursor-sensor-functions rather than point-entered/left.
19394 (table--point-entered/left-cell-function): Merge
19395 table--point-entered-cell-function and table--point-left-cell-function
19396 and adjust to calling convention of cursor-sensor-functions.
19398 Update ldef-boots.el
19400 * lisp/emacs-lisp/pcase.el (pcase-dolist): Autoload as well.
19402 * doc/misc/eieio.texi: Don't advertise now obsolete constructs
19404 Collapse successive char deletions in the undo log
19405 * src/cmds.c (remove_excessive_undo_boundaries): New function,
19406 extracted from Fself_insert_command.
19407 (Fdelete_char, Fself_insert_command): Use it.
19408 * src/fileio.c (Fmake_symbolic_link): Rename arg to `target'.
19409 * src/keyboard.c (syms_of_keyboard): `top-level' shouldn't be special.
19411 xterm and OSC 52: Add NEWS entry, and tweak the code
19412 * lisp/term/xterm.el (gui-set-selection) <nil>: Move method definition
19414 (terminal-init-xterm-activate-set-selection): Set a terminal property.
19415 (xterm--set-selection): Use it instead of checking the value of
19416 `terminal-initted'. Don't use string-bytes.
19418 2015-04-13 Philipp Stephani <p.stephani2@gmail.com>
19420 xterm.el: Implement OSC-52 functionality for setting the X selection
19421 * lisp/term/xterm.el (xterm-max-cut-length): New var.
19422 (xterm--set-selection, terminal-init-xterm-activate-set-selection):
19424 (terminal-init-xterm, xterm--version-handler): Use them.
19426 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
19428 Remove left over code from when we used an obsolete/loaddefs.el file
19429 * lisp/subr.el (do-after-load-evaluation): Remove left over code from
19430 when we used an obsolete/loaddefs.el file.
19432 * lisp/cedet/semantic/fw.el (semantic-exit-on-input)
19433 (semanticdb-without-unloaded-file-searches): Use declare.
19434 (semantic-fw-add-edebug-spec): Remove.
19436 * lisp/completion.el (completion-lisp-mode-hook):
19437 Use completion-separator-chars rather than local key binding.
19439 * src/*.c: Set deactivate_mark buffer-locally
19441 * src/insdel.c (prepare_to_modify_buffer_1):
19442 * src/fileio.c (Finsert_file_contents): Set deactivate_mark
19445 2015-04-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
19447 python.el: Keep symmetry on sexp navigation with parens
19449 * lisp/progmodes/python.el
19450 (python-nav--forward-sexp): Add argument skip-parens-p.
19451 (python-nav-forward-sexp, python-nav-backward-sexp)
19452 (python-nav-forward-sexp-safe)
19453 (python-nav-backward-sexp-safe): Use it.
19454 * test/automated/python-tests.el
19455 (python-nav-forward-sexp-1): Fix test.
19457 2015-04-12 João Távora <joaotavora@gmail.com>
19459 Don't use `setq-local' in Gnus code
19460 This might break upstream builds with older Emacsen
19461 * lisp/gnus/message.el (message-mode): Use `set' and
19462 `make-local-variable' instead of `setq-local'.
19464 2015-04-12 Paul Eggert <eggert@cs.ucla.edu>
19466 Update Makefile.in's .PHONY dependencies
19467 * Makefile.in (change-history-commit, master-branch-is-current)
19468 (no-ChangeLog): Now phony.
19470 Remove configure's --with-mmdf option
19471 * configure.ac (MAIL_USE_MMDF): Remove.
19472 * etc/NEWS: Document this.
19473 * lib-src/movemail.c: Assume MAIL_USE_MMDF is not defined.
19476 * doc/man/ChangeLog.01: Rename from doc/man/ChangeLog.1.
19477 That way, 'make install' won't think it's a man page.
19478 Reported by Ashish SHUKLA in:
19479 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00656.html
19481 Improve 'make change-history' prereq tests
19482 * Makefile.in (gen_origin): Fix to match what's in the master branch.
19483 (no-ChangeLog, master-branch-is-current): New rules.
19484 (change-history): Depend on them, to avoid similar future problems.
19485 Escape the local-variables string to pacify Emacs when editing
19488 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
19490 * test/automated/package-test.el (with-package-test):
19491 Kill Packages buffer.
19493 * lisp/emacs-lisp/package.el: Improve transaction y-or-n prompt.
19494 (package-menu--prompt-transaction-p): Prompt for "Delete" first,
19495 "Upgrade" last, and use capitalized instead of all-caps.
19497 * lisp/emacs-lisp/package.el: Completely silence async operations.
19498 (package--make-autoloads-and-stuff): Silence autoloads.
19499 (package--save-selected-packages): New function, silences
19500 `customize-save-variable'.
19501 (package--user-selected-p, package-install-from-buffer)
19502 (package-delete, package-install): Use it.
19503 (package-install-from-archive)
19504 (package-menu--perform-transaction): Silence.
19505 (package-menu-execute): Feedback when operation starts.
19507 Use delay-mode-hooks when visiting the init-file
19508 * lisp/emacs-lisp/package.el (package--ensure-init-file):
19510 * lisp/cus-edit.el (custom-save-all): delay-mode-hooks.
19512 * lisp/files.el: Only message when saving if save-silently is nil.
19513 (save-silently): New variable.
19514 (files--message): New function.
19515 (find-file-noselect, save-buffer, basic-save-buffer)
19516 (basic-save-buffer-2, save-some-buffers, not-modified)
19517 (append-to-file): Use them.
19519 2015-04-12 Johan Bockgård <bojohan@gnu.org>
19521 Support debug declarations in pcase macros
19522 * lisp/emacs-lisp/pcase.el (pcase-MACRO): New edebug spec.
19523 (pcase-UPAT): Use it. Remove "`".
19524 (pcase--edebug-match-macro): New function.
19525 (pcase-defmacro): Support debug declarations.
19526 * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
19527 * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>:
19528 * lisp/emacs-lisp/pcase.el (\`): <pcase-defmacro>:
19529 Add debug declaration.
19531 pcase.el: Edebug support for `app' and vector patterns
19532 * lisp/emacs-lisp/pcase.el (pcase-FUN): New edebug spec.
19533 (pcase-UPAT): Use it. Support `app' patterns.
19534 (pcase-QPAT): Support vector patterns.
19536 edebug.el: Disambiguate vector specifications
19537 * lisp/emacs-lisp/edebug.el (edebug-match-list): Always treat
19538 `(vector ...)' as a vector specification, not as a sublist.
19540 (gnus-summary-refer-thread): Don't clobber unread articles
19541 This fixes a bug where `A T' causes "random" articles to become marked
19543 * lisp/gnus/gnus-sum.el (gnus-summary-refer-thread): Make sure
19544 gnus-newsgroup-unreads remains sorted.
19546 mouse-sel.el: Fix mouse-sel-get-selection-function
19547 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
19548 Use gui--last-selected-text-primary instead of no longer existing
19549 gui-last-selected-text.
19551 * lisp/rect.el (delete-whitespace-rectangle-line): Don't cross EOL.
19553 * lisp/net/nsm.el (nsm-query-user): Use cursor-in-echo-area.
19555 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
19557 * lisp/emacs-lisp/package.el (list-packages): Avoid redundant generate.
19559 * lisp/emacs-lisp/package.el (list-packages): Call refresh in
19562 * lisp/emacs-lisp/bytecomp.el: Silence noninteractive compilations.
19563 (byte-compile--interactive): New var.
19564 (byte-compile--message): New function.
19565 (byte-compile-log-1, byte-force-recompile)
19566 (byte-recompile-directory, byte-recompile-file)
19567 (byte-compile-file, compile-defun)
19568 (byte-compile-file-form-defmumble, byte-compile)
19569 (byte-compile-file-form-defalias, display-call-tree): Use it.
19571 * lisp/files.el: Don't message when nothing happened.
19572 (save-some-buffers, basic-save-buffer): Before messaging to say
19573 "nothing was saved" check if (called-interactively-p 'any).
19575 2015-04-12 João Távora <joaotavora@gmail.com>
19577 Summary: Improve sexp-based movement in message-mode
19578 Works by giving citations and smileys a different syntax. This helps
19579 modes like `show-paren-mode', `electric-pair-mode', and C-M-*
19580 sexp-based movement.
19581 * lisp/gnus/message.el (message--syntax-propertize): New function.
19582 (message-mode): Set syntax-related vars.
19583 (message-smileys): New variable.
19584 * test/automated/message-mode-tests.el: New file
19586 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
19588 Use bool for boolean in window.c
19589 * src/window.c: Omit unnecessary static function decls.
19590 (adjust_window_count, select_window, Fselect_window)
19591 (window_body_width, Fwindow_body_height, Fwindow_body_width)
19592 (set_window_hscroll, check_window_containing, Fwindow_at)
19593 (Fwindow_end, Fset_window_start, Fpos_visible_in_window_p)
19594 (unshow_buffer, replace_window, recombine_windows)
19595 (add_window_to_list, candidate_window_p, next_window)
19596 (Fnext_window, Fprevious_window, window_loop, check_all_windows)
19597 (Fget_buffer_window, Fdelete_other_windows_internal)
19598 (replace_buffer_in_windows_safely, set_window_buffer)
19599 (Fset_window_buffer, Fforce_window_update)
19600 (temp_output_buffer_show, make_parent_window)
19601 (window_resize_check, window_resize_apply, Fwindow_resize_apply)
19602 (resize_frame_windows, Fsplit_window_internal)
19603 (Fdelete_window_internal, grow_mini_window, shrink_mini_window)
19604 (Fresize_mini_window_internal, mark_window_cursors_off)
19605 (window_scroll, window_scroll_pixel_based)
19606 (window_scroll_line_based, scroll_command, Fscroll_other_window)
19607 (Fscroll_left, Fscroll_right, displayed_window_lines, Frecenter)
19608 (Fmove_to_window_line, Fset_window_configuration)
19609 (delete_all_child_windows, apply_window_adjustment)
19610 (set_window_fringes, set_window_scroll_bars)
19611 (Fset_window_vscroll, foreach_window, foreach_window_1)
19612 (compare_window_configurations, Fcompare_window_configurations):
19613 Prefer 'bool', 'true', and 'false' for booleans.
19614 * src/window.h (WINDOW_MODE_LINE_LINES)
19615 (WINDOW_HEADER_LINE_LINES): Omit unnecessary "!!" on bool value.
19617 2015-04-11 Artur Malabarba <bruce.connor.am@gmail.com>
19619 Speed up byte-compilation and autoload generation by avoiding mode-hooks
19620 This prevents emacs-lisp-mode-hook from being run everytime an
19621 autoload file is generated, which can account for a fraction of
19622 package installation time depending on the hooks the user has
19624 * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use delay-mode-hooks.
19625 * lisp/emacs-lisp/autoload.el (autoload-find-file)
19626 (autoload-find-generated-file): Use delay-mode-hooks.
19628 * lisp/emacs-lisp/package.el: Improve `package-menu-refresh'.
19629 (package-menu-refresh): Respect async and do new package checking.
19630 (list-packages): Use `package-menu-refresh' instead of repeating code.
19632 * lisp/emacs-lisp/package.el: Improve package-menu-quick-help.
19633 (package--quick-help-keys): New variable.
19634 (package--prettify-quick-help-key): New function.
19635 (package-menu-quick-help): Use it.
19637 * lisp/emacs-lisp/package.el: Fix initially wrong compat table.
19638 (package--build-compatibility-table): Require finder.
19640 * test/automated/package-test.el: Fix new test.
19642 * lisp/emacs-lisp/package.el: Silence async operations.
19643 (package--silence): New variable.
19644 (package--message): New function.
19645 (package-import-keyring, package-refresh-contents)
19646 (package-compute-transaction, package-install, package-delete)
19647 (package-menu--perform-transaction, package-menu-execute): Use it.
19649 * test/automated/package-test.el: Test async functionality.
19650 (package-test-update-archives-async): New test.
19652 2015-04-11 Daiki Ueno <ueno@gnu.org>
19654 Utilize `make-process' in epg.el
19655 * lisp/epg.el (epg-error-output): Abolish.
19656 (epg-context): New slot `error-buffer'.
19657 (epg--start): Use `make-process' and `make-pipe-process'.
19658 (epg--process-filter): Remove code separating stderr from stdout.
19659 (epg-wait-for-completion): Simplify `error-output' handling.
19660 (epg-reset): Dispose error buffer.
19662 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
19664 * .gitignore: Ignore doc temps and outputs.
19666 Port commit-msg to MSYS Bash+Gawk
19667 See Eli Zaretskii in:
19668 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00610.html
19669 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format)
19670 (cent_sign, print_at_sign, at_sign): Revert previous change.
19671 (print_at_sign): Prepend "BEGIN".
19672 (at_sign): Redirect from /dev/null to be safer with pre-POSIX awk.
19674 Port commit-msg to broken MS-Windows shell
19675 * build-aux/git-hooks/commit-msg (cent_sign):
19676 Just use UTF-8 here rather than ASCII + printf, as the latter fails
19677 on a broken MS-Windows shell. Reported by Eli Zaretskii in:
19678 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00592.html
19680 2015-04-11 Chris Zheng <chriszheng99@gmail.com> (tiny change)
19682 Support GnuTLS v3.4 and later on MS-Windows
19683 * src/gnutls.c (syms_of_gnutls) <libgnutls-version>: New DEFSYM.
19684 * lisp/term/w32-win.el (dynamic-library-alist): Determine which
19685 GnuTLS DLL to load according to value of libgnutls-version.
19688 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
19690 Minor quoting etc. fixes to misc manuals
19691 Fix some minor quoting and spacing issues. Distinguish more
19692 clearly among grave accent and apostrophe (which are ASCII) and
19693 single quote (which is not). Prefer the standard terms
19694 "apostrophe" and "grave accent" to alternative names that can be
19695 confusing. Use apostrophes to single-quote ASCII text.
19696 * doc/misc/remember.texi: Spell the mystic's pseudonym in UTF-8
19697 rather than approximating it in ASCII with grave accent.
19699 2015-04-11 Daiki Ueno <ueno@gnu.org>
19701 Respect more keyword args in `make-process'
19702 * src/process.c (Fmake_process): Respect `:sentinel' and `:filter'
19703 keywords as documented.
19705 2015-04-10 Dmitry Gutov <dgutov@yandex.ru>
19707 Extract ChangeLog entries when committing a directory
19708 * lisp/vc/vc-dispatcher.el (vc-log-edit): Update FIXME comment.
19709 * lisp/vc/log-edit.el (log-edit-changelog-insert-entries):
19710 Add a FIXME comment.
19711 (log-edit-changelog-entries): Extract from
19712 `log-edit-changelog-entries', handle FILE being a directory
19713 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00555.html).
19715 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
19717 Fix problems found by --enable-gcc-warnings
19718 * src/process.c (create_process, Fmake_pipe_process)
19719 (Fmake_network_process): Omit unused locals.
19721 Fix commit-msg to handle scissors lines
19722 * build-aux/git-hooks/commit-msg:
19723 Ignore every line after a scissors line, such as a line generated
19724 by 'git commit -v'. Problem reported by Johan Bockgård in:
19725 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00580.html
19727 port commit-msg to Gawk 3.0.4 (1999)
19728 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format, cent_sign)
19729 (print_at_sign, at_sign): New vars. Use them to avoid problems
19730 Eli Zaretskii encountered with Gawk 3.0.4 (1999) on MSYS. See:
19731 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
19733 Have commit-msg report commit failure
19734 * build-aux/git-hooks/commit-msg: If the commit is aborted,
19735 say so. Simplify by doing this at the end. Problem reported
19736 by Eli Zaretskii in:
19737 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
19739 2015-04-10 Thomas Fitzsimmons <fitzsim@fitzsim.org>
19741 Clean up LDAP Configuration section of EUDC manual
19742 * doc/misc/eudc.texi: Combine indices.
19743 (LDAP Configuration): Use command markup. Add index entries.
19744 Change formatting. Wrap long lines. Add noindent markup.
19746 2015-04-10 Daiki Ueno <ueno@gnu.org>
19748 Add facility to collect stderr of async subprocess
19749 * src/w32.h (register_aux_fd): New function declaration.
19750 * src/w32.c (register_aux_fd): New function.
19751 * src/process.h (struct Lisp_Process): New member stderrproc.
19752 * src/process.c (PIPECONN_P): New macro.
19753 (PIPECONN1_P): New macro.
19754 (Fdelete_process, Fprocess_status, Fset_process_buffer)
19755 (Fset_process_filter, Fset_process_sentinel, Fstop_process)
19756 (Fcontinue_process): Handle pipe process specially.
19757 (create_process): Respect p->stderrproc.
19758 (Fmake_pipe_process): New function.
19759 (Fmake_process): Add new keyword argument :stderr.
19760 (wait_reading_process_output): Specially handle a pipe process when
19762 (syms_of_process): Register Qpipe and Smake_pipe_process.
19763 * doc/lispref/processes.texi (Asynchronous Processes): Document
19764 `make-pipe-process' and `:stderr' keyword of `make-process'.
19765 * lisp/subr.el (start-process): Suggest to use `make-process' handle
19766 standard error separately.
19767 * test/automated/process-tests.el (process-test-stderr-buffer)
19768 (process-test-stderr-filter): New tests.
19769 * etc/NEWS: Mention new process type `pipe' and its usage with the
19770 `:stderr' keyword of `make-process'.
19772 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
19774 Minor quoting etc. fixes to lispref manual
19775 * doc/lispref/tips.texi (Documentation Tips):
19776 Distinguish more clearly among grave accent, apostrophe,
19778 * doc/lispref/README, doc/lispref/buffers.texi:
19779 * doc/lispref/commands.texi, doc/lispref/control.texi:
19780 * doc/lispref/customize.texi, doc/lispref/display.texi:
19781 * doc/lispref/elisp.texi, doc/lispref/files.texi:
19782 * doc/lispref/frames.texi, doc/lispref/hash.texi:
19783 * doc/lispref/help.texi, doc/lispref/internals.texi:
19784 * doc/lispref/loading.texi, doc/lispref/makefile.w32-in:
19785 * doc/lispref/markers.texi, doc/lispref/modes.texi:
19786 * doc/lispref/nonascii.texi, doc/lispref/objects.texi:
19787 * doc/lispref/os.texi, doc/lispref/positions.texi:
19788 * doc/lispref/strings.texi, doc/lispref/syntax.texi:
19789 * doc/lispref/text.texi, doc/lispref/tips.texi:
19790 * doc/lispref/two-volume-cross-refs.txt, doc/lispref/windows.texi:
19791 Use American-style double quoting in ordinary text,
19792 and quote 'like this' when single-quoting in ASCII text.
19793 Also, fix some minor spacing issues.
19795 2015-04-10 Michael Albinus <michael.albinus@gmx.de>
19797 Handle symlinked test directory in tramp-tests.el
19798 * test/automated/tramp-tests.el (tramp-test18-file-attributes)
19799 (tramp--test-check-files): Use `file-truename' for directories.
19801 2015-04-10 Eli Zaretskii <eliz@gnu.org>
19803 Fix 'recenter' when visual-line-mode is turned on
19804 * src/window.c (Frecenter): Use the same code for GUI and TTY
19805 frames alike; use vmotion only for "initial" frames. This is
19806 because vmotion doesn't support visual-line-mode. Rewrite the
19807 'iarg >= 0' case to use move_it_* functions instead of using
19808 vmotion, for the same reason. Fix the clipping of the argument
19809 value to support scroll-margin in all cases and avoid unwarranted
19810 recentering. Reported by Milan Stanojević <milanst@gmail.com> in
19811 http://lists.gnu.org/archive/html/help-gnu-emacs/2015-04/msg00092.html,
19814 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
19816 * lisp/abbrev.el (define-abbrev-table): Refine last change.
19818 * lisp/emacs-lisp/cl-lib.el: Partial revert of "2015-04-05 Rationalize
19819 use of c[ad]+r", so as to keep the "cl-" prefix on all
19820 cl-lib definitions.
19822 * lisp/progmodes/vhdl-mode.el (vhdl-prepare-search-2):
19823 Use inhibit-point-motion-hooks.
19825 * lisp/cedet/semantic: Remove some dead code.
19826 * lisp/cedet/semantic/util-modes.el
19827 (semantic-stickyfunc-header-line-format): Emacs<22 is not supported
19829 * lisp/cedet/semantic/fw.el (semantic-buffer-local-value): Emacs<21 is
19830 not supported any more.
19831 (semantic-safe): Use `declare'.
19832 * lisp/cedet/semantic/decorate.el (semantic-set-tag-intangible)
19833 (semantic-tag-intangible-p): Remove unused functions.
19834 * lisp/cedet/semantic/complete.el (semantic-displayor-window-edges):
19835 Remove unused function.
19837 * lisp/gnus/gnus-art.el (gnus-hidden-properties): Simplify.
19838 (gnus-article-hide-text, gnus-article-unhide-text)
19839 (gnus-article-unhide-text-type): Remove special handling of
19840 `intangible' since that property is not used any more.
19841 (gnus-article-treat-body-boundary): Use gnus-hidden-properties.
19843 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
19845 Use the VC root in `log-edit-listfun'
19846 * lisp/vc/vc-dispatcher.el (vc-log-edit): Use the VC root in
19847 `log-edit-listfun'.
19849 2015-04-09 Jay Belanger <jay.p.belanger@gmail.com>
19851 Fix description of Unix time, mention new function.
19852 * lisp/calc/calc-forms.el (calcFunc-unixtime): Fix adjustment for
19854 * doc/misc/calc.texi (Date Forms): Fix description of Unix time.
19855 (Basic Operations on Units): Mention `calc-convert-exact-units'.
19857 2015-04-09 Artur Malabarba <bruce.connor.am@gmail.com>
19859 * lisp/emacs-lisp/package.el: Use mode-line-process for notification.
19861 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
19863 * lisp/vc/log-edit.el (log-edit-insert-changelog-entries):
19864 Don't add newline after the last entry.
19866 2015-04-09 Simen Heggestøyl <simenheg@gmail.com>
19868 css-mode.el: Add "not" pseudo-class
19870 * lisp/textmodes/css-mode.el (css-pseudo-class-ids): Add "not" to
19871 list of CSS pseudo-classes.
19873 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
19875 * etc/NEWS: Add missing entry for "Stop messing with the EMACS env var".
19877 2015-04-09 Michael Albinus <michael.albinus@gmx.de>
19879 Stop messing with the EMACS env var
19880 * doc/emacs/misc.texi (Interactive Shell): Remove description of
19883 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
19885 Adapt 'make change-history' to coding cookie
19886 * Makefile.in (change-history): Adjust to change of format of
19887 ChangeLog file, which now has a coding cookie before an indented
19890 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
19892 Adapt 'make change-history' to coding cookie
19893 * Makefile.in (change-history): Adjust to change of format of
19894 ChangeLog file, which now has a coding cookie before an indented
19897 gitlog-to-changelog coding cookie and mv -i
19898 * build-aux/gitlog-to-emacslog: Use ChangeLog.1, not Makefile.in,
19899 for copyright notice prototype, so that we get a proper "coding:"
19900 cookie. Use 'mv -i' to avoid unconditionally overwriting an
19901 existing ChangeLog. Problems reported by Eli Zaretskii in:
19902 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00504.html
19905 * build-aux/gitlog-to-changelog: Update from gnulib, incorporating:
19906 2015-04-09 gitlog-to-changelog: port to MS-Windows
19908 2015-04-09 Boruch Baum <boruch_baum@gmx.com> (tiny change)
19910 * lisp/bookmark.el (bookmark-bmenu-goto-bookmark): Don't inf-loop.
19913 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
19915 Stop messing with the EMACS env var
19917 * lisp/net/tramp-sh.el (tramp-remote-process-environment):
19918 * lisp/comint.el (comint-exec-1):
19919 * lisp/term.el (term-exec-1): Don't set EMACS envvar.
19920 * lisp/progmodes/compile.el (compilation-start): Same and bring
19921 INSIDE_EMACS's format in line with other users.
19923 css-mode.el (css-smie-rules): Fix indentation after complex selectors
19925 * lisp/textmodes/css-mode.el (css-smie-rules): Don't get confused by
19926 inner structure of selectors.
19928 2015-04-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
19930 python.el: Indent docstring lines to base-indent
19932 Thanks to immerrr <immerrr@gmail.com> for reporting and providing
19934 * lisp/progmodes/python.el
19935 (python-indent-context): Add :inside-docstring context.
19936 (python-indent--calculate-indentation): Handle :inside-docstring.
19937 (python-indent-region): Re-indent docstrings.
19938 * test/automated/python-tests.el (python-indent-region-5)
19939 (python-indent-inside-string-2): Fix tests.
19941 python.el: Increase native completion robustness
19943 Thanks to Carlos Pita <carlosjosepita@gmail.com> for reporting
19944 this and providing useful ideas.
19945 * lisp/progmodes/python.el
19946 (python-shell-completion-native-output-timeout): Increase value.
19947 (python-shell-completion-native-try-output-timeout): New var.
19948 (python-shell-completion-native-try): Use it.
19949 (python-shell-completion-native-setup): New readline setup avoids
19950 polluting current context, ensures output when no-completions are
19951 available and includes output end marker.
19952 (python-shell-completion-native-get-completions): Trigger with one
19953 tab only. Call accept-process-output until output end is found or
19954 python-shell-completion-native-output-timeout is exceeded.
19956 2015-04-08 Samer Masterson <samer@samertm.com>
19958 * lisp/eshell: Make backslash a no-op in front of normal chars
19960 * lisp/eshell/esh-arg.el (eshell-parse-argument-hook): Update comment.
19961 (eshell-parse-backslash): Return escaped character after backslash
19962 if it is special. Otherwise, if the backslash is not in a quoted
19963 string, ignore the backslash and return the character after; if
19964 the backslash is in a quoted string, return the backslash and the
19966 * test/automated/eshell.el (eshell-test/escape-nonspecial)
19967 (eshell-test/escape-nonspecial-unicode)
19968 (eshell-test/escape-nonspecial-quoted)
19969 (eshell-test/escape-special-quoted): Add tests for new
19970 `eshell-parse-backslash' behavior.
19972 2015-04-08 Gustav Hållberg <gustav@gmail.com> (tiny change)
19974 * lisp/vc/diff-mode.el (diff-hunk-file-names): Don't require a TAB
19975 after the file name.
19978 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
19980 Minor quoting etc. fixes to Emacs manual
19981 * doc/emacs/Makefile.in, doc/emacs/ack.texi, doc/emacs/building.texi:
19982 * doc/emacs/calendar.texi, doc/emacs/cmdargs.texi:
19983 * doc/emacs/custom.texi, doc/emacs/dired.texi, doc/emacs/emacs.texi:
19984 * doc/emacs/files.texi, doc/emacs/glossary.texi, doc/emacs/gnu.texi:
19985 * doc/emacs/indent.texi, doc/emacs/macos.texi:
19986 * doc/emacs/maintaining.texi, doc/emacs/makefile.w32-in:
19987 * doc/emacs/programs.texi, doc/emacs/rmail.texi:
19988 * doc/emacs/search.texi, doc/emacs/trouble.texi:
19989 * doc/emacs/vc1-xtra.texi:
19990 Use American-style double quoting in ordinary text,
19991 and quote 'like this' when single-quoting in ASCII text.
19992 Also, fix some minor spacing issues.
19994 Minor quoting etc. fixes to elisp intro
19995 * doc/lispintro/emacs-lisp-intro.texi: Consistently use
19996 American-style double quoting in ordinary text. In ASCII text,
19997 consistently quote 'like this' instead of `like this', unless
19998 Emacs requires the latter.
20000 2015-04-08 Dmitry Gutov <dgutov@yandex.ru>
20002 * CONTRIBUTE: Mention log-edit-insert-changelog.
20004 * CONTRIBUTE: Emphasize creating the top-level ChangeLog file manually.
20006 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
20008 * doc/misc/calc.texi (Summary): Avoid '@:' when usurped.
20010 2015-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
20012 * lisp/emacs-lisp/eieio-core.el (eieio-copy-parents-into-subclass):
20013 Fix inheritance of initargs. (Bug#20270)
20015 2015-04-08 Artur Malabarba <bruce.connor.am@gmail.com>
20017 * lisp/emacs-lisp/package.el (package-menu-mode): Mode-line notification
20018 while dowloading information.
20020 * lisp/emacs-lisp/package.el: More conservative `ensure-init-file'
20021 (package--ensure-init-file): Check file contents before visiting.
20022 (package-initialize): Call it.
20023 (package-install-from-buffer, package-install): Don't call it.
20025 2015-04-08 Eli Zaretskii <eliz@gnu.org>
20027 * src/eval.c (init_eval_once): Bump max_lisp_eval_depth to 800.
20030 2015-04-08 Michael Albinus <michael.albinus@gmx.de>
20032 * lisp/net/tramp-cache.el (tramp-flush-file-property):
20033 Fix nasty scoping bug.
20035 2015-04-08 Tassilo Horn <tsdh@gnu.org>
20037 Add notice to visual commands section
20038 * doc/misc/eshell.texi (Input/Output): Add notice that some tools
20039 such as git call less with its -F option which omits pagination if
20040 the contents is less than one page long. This interferes with
20041 eshell's visual (sub-)commands.
20043 2015-04-07 Dmitry Gutov <dgutov@yandex.ru>
20045 * lisp/ffap.el (ffap-string-at-point-mode-alist): Support
20046 environment variable expansion in file names. (Bug#19839)
20048 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
20050 Prefer double-quote to accent-grave in man pages
20052 2015-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
20055 * lisp/files.el (set-visited-file-name): Clear auto-save if nil.
20057 2015-04-07 Ivan Shmakov <ivan@siamics.net>
20059 Update etc/PROBLEMS.
20060 * etc/PROBLEMS: Mention visible-cursor; a few more mentions of
20061 ~/.Xresources and xrdb(1); refer to 'GNU Coreutils' and
20062 'X Window System' or 'X' (were: 'GNU Fileutils' and 'X Windows',
20063 respectively); other minor updates and tweaks. (Bug#20011)
20065 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
20067 Add doc strings for some Isearch state vars
20068 * lisp/misearch.el (multi-isearch-buffer-list)
20069 (multi-isearch-file-list): Add doc strings.
20072 2015-04-07 Alan Mackenzie <acm@muc.de>
20074 Always mark "<" and ">" in #include directives with text properties.
20075 * lisp/progmodes/c-fonts.el (c-cpp-matchers): Replace a font-lock
20076 "anchored matcher" with an invocation of
20077 c-make-font-lock-search-function to allow fontification when there's
20078 no trailing space on an "#include <..>" line.
20080 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
20082 Generate a ChangeLog file from commit logs
20083 * .gitignore: Add 'ChangeLog'.
20084 * build-aux/gitlog-to-changelog: New file, from Gnulib.
20085 * build-aux/gitlog-to-emacslog: New file.
20086 * CONTRIBUTE: Document the revised workflow.
20087 * Makefile.in (clean): Remove *.tmp and etc/*.tmp*
20088 instead of just special cases.
20089 (CHANGELOG_HISTORY_INDEX_MAX, CHANGELOG_N, gen_origin): New vars.
20090 (ChangeLog, unchanged-history-files, change-history)
20091 (change-history-commit): New rules.
20092 * admin/admin.el (make-manuals-dist--1):
20093 Don't worry about doc/ChangeLog.
20094 * admin/authors.el: Add a FIXME.
20095 * admin/make-tarball.txt:
20096 * lisp/calendar/icalendar.el:
20097 * lisp/gnus/deuglify.el:
20098 * lisp/obsolete/gulp.el:
20100 Adjust to renamed ChangeLog history files.
20101 * admin/merge-gnulib (GNULIB_MODULES): Add gitlog-to-changelog.
20102 * admin/notes/repo: Call it 'master' a la Git, not 'trunk' a la Bzr.
20103 Remove obsolete discussion of merging ChangeLog files.
20104 New section "Maintaining ChangeLog history".
20105 * build-aux/git-hooks/pre-commit:
20106 Reject attempts to commit files named 'ChangeLog'.
20107 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
20108 * make-dist: Make and distribute top-level ChangeLog if there's a
20109 .git directory. Distribute the new ChangeLog history files
20110 instead of scattered ChangeLog files. Distribute the new files
20111 gitlog-to-changelog and gitlog-to-emacslog.
20114 Rename ChangeLogs for gitlog-to-changelog
20115 This patch was implemented via the following shell commands:
20116 find * -name ChangeLog |
20117 sed 's,.*,git mv & &.1,
20118 s, lisp/ChangeLog\.1$, lisp/ChangeLog.17,
20119 s, lisp/erc/ChangeLog\.1$, lisp/erc/ChangeLog.09,
20120 s, lisp/gnus/ChangeLog\.1$, lisp/gnus/ChangeLog.3,
20121 s, lisp/mh-e/ChangeLog\.1$, lisp/mh-e/ChangeLog.2,
20122 s, src/ChangeLog\.1$, src/ChangeLog.13,' |
20124 git commit -am"[this commit message]"
20126 This file records repository revisions from
20127 commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to
20128 commit 138480a97bfc1104143b5fc10dfc962b95b78ae8 (inclusive).
20129 See ChangeLog.1 for earlier changes.
20131 ;; Local Variables:
20135 Copyright (C) 2015 Free Software Foundation, Inc.
20137 This file is part of GNU Emacs.
20139 GNU Emacs is free software: you can redistribute it and/or modify
20140 it under the terms of the GNU General Public License as published by
20141 the Free Software Foundation, either version 3 of the License, or
20142 (at your option) any later version.
20144 GNU Emacs is distributed in the hope that it will be useful,
20145 but WITHOUT ANY WARRANTY; without even the implied warranty of
20146 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20147 GNU General Public License for more details.
20149 You should have received a copy of the GNU General Public License
20150 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.