1 2015-11-28 Michael Albinus <michael.albinus@gmx.de>
3 Fix a problem with gfilenotify in filenotify-tests.el
5 * test/lisp/filenotify-tests.el
6 (file-notify--test-expected-events): Remove.
7 (file-notify--test-cleanup): Do not set that variable.
8 (file-notify--test-with-events): EVENTS can also be a list of lists.
9 (file-notify-test02-events, file-notify-test04-file-validity):
10 Adapt expected result.
12 2015-11-28 Eli Zaretskii <eliz@gnu.org>
14 * .gitignore: Adjust to changes in 'test' directory structure.
16 2015-11-28 Eli Zaretskii <eliz@gnu.org>
18 Fix test/manual/etags/Makefile
20 * test/manual/etags/Makefile (ETAGS_PROG, CTAGS_PROG): Adjust to
21 changes in 'test' directory structure.
23 2015-11-27 Phillip Lord <phillip.lord@russet.org.uk>
25 Exclude resource dirs from search for tests.
27 * test/Makefile.in: Test file locations are now found with find
28 rather than using finds native functions.
30 2015-11-27 Phillip Lord <phillip.lord@russet.org.uk>
32 Add test targets without directory names.
34 * (test/Makefile.in): Extend test_template to add two targets for each
37 2015-11-27 Artur Malabarba <bruce.connor.am@gmail.com>
39 * lisp/emacs-lisp/package.el: Require url-handlers
41 2015-11-27 Phillip Lord <phillip.lord@russet.org.uk>
43 Move elisp-mode-tests to new function names.
45 * test/lisp/progmodes/elisp-mode-tests.el (find-defsdefun-c-defvar-c,
46 find-defs-defun-el-defvar-c): Call `elisp--xref-find-definitions'.
48 2015-11-27 Juanma Barranquero <lekktu@gmail.com>
50 * lisp/emacs-lisp/package.el: Declare `url-insert-buffer-contents'
52 2015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
54 Merge branch 'feature/standard-test-location'
56 2015-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
58 * lisp/emacs-lisp/eieio.el: Add some default implementations
60 (standard-class): Mark it obsolete.
61 (slot-missing): Give it a default implementation.
62 (destructor): Simplify and mark it obsolete.
63 (object-print): Give it a default implementation.
64 (eieio-change-class): Rename from change-class.
65 (change-class): Redefine as obsolete alias.
67 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
69 Some final fixes in file notification before merging with master
71 * lisp/filenotify.el (file-notify--rm-descriptor): Remove WHAT arg.
72 (file-notify-callback): Improve check for `stopped' event. Call
73 `file-notify-rm-watch' rather than `file-notify--rm-descriptor'.
74 (file-notify-add-watch): In case FILE is not a directory, call the
75 file monitor for the kqueue backend. Otherwise, call the
76 directory monitor for the upper directory.
78 * src/inotify.c (inotifyevent_to_event): Extract file name from
79 watch_object if the event doesn't provide it.
80 (Finotify_add_watch): Add file name to watch_object.
82 * test/automated/file-notify-tests.el (file-notify--test-timeout):
83 Use different timeouts for different libraries.
84 (file-notify--test-with-events): Suppress lock files. Flush
85 outstanding events before running the body.
86 (file-notify-test02-events, file-notify-test04-file-validity): Do
87 not skip cygwin tests. Add additional test for file creation.
88 Adapt expected result for different backends.
89 (file-notify-test03-autorevert): Some of the tests don't work for
91 (file-notify-test06-many-events): Rename into both directions.
93 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
95 Rework file notifications, kqueue has problems with directory monitors
97 * lisp/filenotify.el (file-notify-add-watch): Call the native
98 add-watch function on the file, not on the dir.
100 * src/kqueue.c (kqueue_compare_dir_list): Make also bookkeeping
101 about already deleted entries.
103 * test/automated/auto-revert-tests.el
104 (auto-revert-test01-auto-revert-several-files): Do not call "cp -f"
105 since this deletes the target file first.
107 * test/automated/file-notify-tests.el (file-notify--test-event-test):
108 Make stronger checks.
109 (file-notify-test01-add-watch, file-notify-test02-events)
110 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
111 Rewrite in order to call file monitors but directory monitors.
112 (file-notify-test06-many-events): Ler rename work in both directions.
114 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
116 Continue with pending events
118 * src/kqueue.c (pending_events): Remove global variable.
119 (kqueue_compare_dir_list): Create `write' event for not used
121 (globals_of_kqueue): Remove initialization of pending_events.
123 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
125 Improve loops in file-notify-test06-many-events
127 * test/automated/file-notify-tests.el (file-notify-test06-many-events):
128 Use `read-event' pauses for the `write-file' loops; otherwise
129 events are lost in inotify and gfilenotify cases.
131 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
133 Handle more complex rename operation in kqueue
135 * src/kqueue.c (pending_events): New variable.
136 (kqueue_compare_dir_list): Handle more complex rename operation.
137 (globals_of_kqueue): Initialize pending_events.
139 * test/automated/file-notify-tests.el (file-notify-test06-many-events):
140 Adapt expected events in the `rename-file' case.
141 (file-notify-test06-many-events-remote): Declare.
143 2015-11-25 Wolfgang Jenkner <wjenkner@inode.at>
145 New test with a larger number of events
147 * test/automated/file-notify-tests.el (file-notify--test-with-events):
148 Make timeout heuristically depend on the number of events.
150 (file-notify-test06-many-events): Use it for new test.
152 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
154 Further fixes for kqueue
156 * lisp/filenotify.el (file-notify-callback): Raise also event if
157 directory name matches.
158 (file-notify-add-watch): Add `create' to the flags for `kqueue'.
160 * src/kqueue.c (kqueue_generate_event): Use watch_object as
161 argument instead of ident. Remove callback argument. Adapt
162 callees. Check actions whether they are monitored flags.
164 * test/automated/file-notify-tests.el (file-notify--test-library):
166 (file-notify-test00-availability, file-notify-test02-events)
167 (file-notify-test04-file-validity)
168 (file-notify-test05-dir-validity): Use it.
169 (file-notify-test02-events, file-notify-test04-file-validity): Add
170 `read-event' calls between different file actions, in order to
171 give the backends a chance to rais an event. Needed especially
172 for kqueue. In case of deleting a directory, there are two
175 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
177 Code cleanup of kqueue.c
179 * src/kqueue.c (kqueue_directory_listing): Skip "." and "..".
180 (kqueue_compare_dir_list): Do not loop when calling
181 directory_files_internal. Remove checks for "." and "..", this is
182 done in kqueue_directory_listing now.
183 (Fkqueue_add_watch): Check for proper emacs_open flags.
185 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
187 Doc changes for kqueue
189 * doc/lispref/os.texi (File Notifications): Add kqueue as backend.
190 Fix some glitches in the example.
192 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
194 Finish implementation in kqueue.c
196 * src/kqueue.c (kqueue_directory_listing, kqueue_callback):
197 Simplify access to list.
198 (kqueue_compare_dir_list): Simplify access to list. Raise
199 `delete' event if directory does not exist any longer. Otherwise,
200 wait until directory contents has changed. Fix error in check.
202 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
204 * lisp/filenotify.el (file-notify-add-watch): Fix thinko.
206 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
210 * lisp/filenotify.el (file-notify-callback): Handle also the
211 `rename' event from kqueue.
212 (file-notify-add-watch): Do not register an entry twice.
214 * src/kqueue.c (kqueue_directory_listing): New function.
215 (kqueue_generate_event): New argument FILE1. Adapt callees.
216 (kqueue_compare_dir_list): Rewrite in order to make it more robust.
218 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
220 Implement directory events
222 * lisp/filenotify.el (file-notify-handle-event)
223 (file-notify-callback): Remove traces.
225 * src/kqueue.c: Include <sys/time.h>.
226 (kqueue_generate_event, kqueue_compare_dir_list): New functions.
227 (kqueue_callback): Use them. Call kevent() with a zero timeout.
228 (Fkqueue_add_watch): Adapt docstring. Support directory events.
229 Compute initial directory listing. Close file descriptor in case
231 (syms_of_kqueue): Declare Qcreate.
233 2015-11-25 Wolfgang Jenkner <wjenkner@inode.at>
235 Build fixes for kqueue support
237 * src/kqueue.c (Fkqueue_add_watch): O_BINARY is not a POSIX open(3)
240 * configure.ac (HAVE_KQUEUE): There is no pkg-config module for native
243 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
245 Continue kqueue implementation
247 * lisp/filenotify.el (file-notify-handle-event)
248 (file-notify-callback): Enable trace messages.
250 * src/kqueue.c: Include also <sys/types.h>.
251 (kqueue_callback): Remove watch in case of NOTE_DELETE or NOTE_RENAME.
252 (Fkqueue_rm_watch, Fkqueue_valid_p): New functions.
253 (syms_of_kqueue): Add them.
255 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
259 * lisp/filenotify.el (file-notify--library)
260 (file-notify-descriptors, file-notify-callback)
261 (file-notify-add-watch, file-notify-rm-watch)
262 (file-notify-valid-p): Add kqueue support.
264 * src/keyboard.c (make_lispy_event): Check also for HAVE_KQUEUE.
266 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
270 * configure.ac (--with-file-notification): Add kqueue.
271 (top): Remove special test for "${HAVE_NS}" and
272 ${with_file_notification}, this is handled inside gfilenotify
273 tests. Add kqueue tests. Use NOTIFY_CFLAGS and NOTIFY_LIBS
274 instead of library specific variables.
276 * src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS.
278 * src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue.
280 * src/kqueue.c: New file.
282 * src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.
284 2015-11-24 Phillip Lord <phillip.lord@russet.org.uk>
286 Update elisp-mode-tests for changed file location.
288 * test/lisp/progmodes/elisp-mode-tests.el:
290 2015-11-24 Phillip Lord <phillip.lord@russet.org.uk>
292 Exclude manual tests from Makefile
296 2015-11-24 Phillip Lord <phillip.lord@russet.org.uk>
298 Move package test files to new directory.
300 * test/lisp/emacs-lisp/package-tests.el: Update resoruce file location.
301 * test/data/package: Moved to test/lisp/emacs-lisp/package-resources
303 2015-11-24 Phillip Lord <phillip.lord@russet.org.uk>
305 Restore delete Makefiles and fix .gitignore.
307 * .gitignore: Update Makefiles to changed locations
308 * test/lisp/progmodes/flymake-resources/Makefile,
309 test/manual/etags/Makefile,
310 test/manual/etags/make-src/Makefile,
311 test/manual/indent/Makefile: Restored and moved to new location.
313 2015-11-24 Phillip Lord <phillip.lord@russet.org.uk>
315 Test infrastructure: updates after directory move
317 * (test/Makefile.in): Support directories several levels deep.
318 * (test/data/flymake): Rename to test/lisp/progmodes/flymake-resources.
319 * (test/lisp/progmodes/flymake-tests.el): Support renamed resource directory.
321 2015-11-24 Phillip Lord <phillip.lord@russet.org.uk>
323 Rename all test files to reflect source layout.
325 * CONTRIBUTE,Makefile.in,configure.ac: Update to reflect
326 test directory moves.
327 * test/file-organisation.org: New file.
328 * test/automated/Makefile.in
329 test/automated/data/decompress/foo.gz
330 test/automated/data/epg/pubkey.asc
331 test/automated/data/epg/seckey.asc
332 test/automated/data/files-bug18141.el.gz
333 test/automated/data/flymake/test.c
334 test/automated/data/flymake/test.pl
335 test/automated/data/package/archive-contents
336 test/automated/data/package/key.pub
337 test/automated/data/package/key.sec
338 test/automated/data/package/multi-file-0.2.3.tar
339 test/automated/data/package/multi-file-readme.txt
340 test/automated/data/package/newer-versions/archive-contents
341 test/automated/data/package/newer-versions/new-pkg-1.0.el
342 test/automated/data/package/newer-versions/simple-single-1.4.el
343 test/automated/data/package/package-test-server.py
344 test/automated/data/package/signed/archive-contents
345 test/automated/data/package/signed/archive-contents.sig
346 test/automated/data/package/signed/signed-bad-1.0.el
347 test/automated/data/package/signed/signed-bad-1.0.el.sig
348 test/automated/data/package/signed/signed-good-1.0.el
349 test/automated/data/package/signed/signed-good-1.0.el.sig
350 test/automated/data/package/simple-depend-1.0.el
351 test/automated/data/package/simple-single-1.3.el
352 test/automated/data/package/simple-single-readme.txt
353 test/automated/data/package/simple-two-depend-1.1.el
354 test/automated/abbrev-tests.el
355 test/automated/auto-revert-tests.el
356 test/automated/calc-tests.el
357 test/automated/icalendar-tests.el
358 test/automated/character-fold-tests.el
359 test/automated/comint-testsuite.el
360 test/automated/descr-text-test.el
361 test/automated/electric-tests.el
362 test/automated/cl-generic-tests.el
363 test/automated/cl-lib-tests.el
364 test/automated/eieio-test-methodinvoke.el
365 test/automated/eieio-test-persist.el
366 test/automated/eieio-tests.el
367 test/automated/ert-tests.el
368 test/automated/ert-x-tests.el
369 test/automated/generator-tests.el
370 test/automated/let-alist.el
371 test/automated/map-tests.el
372 test/automated/advice-tests.el
373 test/automated/package-test.el
374 test/automated/pcase-tests.el
375 test/automated/regexp-tests.el
376 test/automated/seq-tests.el
377 test/automated/subr-x-tests.el
378 test/automated/tabulated-list-test.el
379 test/automated/thunk-tests.el
380 test/automated/timer-tests.el
381 test/automated/epg-tests.el
382 test/automated/eshell.el
383 test/automated/faces-tests.el
384 test/automated/file-notify-tests.el
385 test/automated/auth-source-tests.el
386 test/automated/gnus-tests.el
387 test/automated/message-mode-tests.el
388 test/automated/help-fns.el
389 test/automated/imenu-test.el
390 test/automated/info-xref.el
391 test/automated/mule-util.el
392 test/automated/isearch-tests.el
393 test/automated/json-tests.el
394 test/automated/bytecomp-tests.el
395 test/automated/coding-tests.el
396 test/automated/core-elisp-tests.el
397 test/automated/decoder-tests.el
398 test/automated/files.el
399 test/automated/font-parse-tests.el
400 test/automated/lexbind-tests.el
401 test/automated/occur-tests.el
402 test/automated/process-tests.el
403 test/automated/syntax-tests.el
404 test/automated/textprop-tests.el
405 test/automated/undo-tests.el
406 test/automated/man-tests.el
407 test/automated/completion-tests.el
408 test/automated/dbus-tests.el
409 test/automated/newsticker-tests.el
410 test/automated/sasl-scram-rfc-tests.el
411 test/automated/tramp-tests.el
412 test/automated/obarray-tests.el
413 test/automated/compile-tests.el
414 test/automated/elisp-mode-tests.el
415 test/automated/f90.el
416 test/automated/flymake-tests.el
417 test/automated/python-tests.el
418 test/automated/ruby-mode-tests.el
419 test/automated/subword-tests.el
420 test/automated/replace-tests.el
421 test/automated/simple-test.el
422 test/automated/sort-tests.el
423 test/automated/subr-tests.el
424 test/automated/reftex-tests.el
425 test/automated/sgml-mode-tests.el
426 test/automated/tildify-tests.el
427 test/automated/thingatpt.el
428 test/automated/url-future-tests.el
429 test/automated/url-util-tests.el
430 test/automated/add-log-tests.el
431 test/automated/vc-bzr.el
432 test/automated/vc-tests.el
433 test/automated/xml-parse-tests.el
434 test/BidiCharacterTest.txt
436 test/cedet/cedet-utests.el
437 test/cedet/ede-tests.el
438 test/cedet/semantic-ia-utest.el
439 test/cedet/semantic-tests.el
440 test/cedet/semantic-utest-c.el
441 test/cedet/semantic-utest.el
442 test/cedet/srecode-tests.el
443 test/cedet/tests/test.c
444 test/cedet/tests/test.el
445 test/cedet/tests/test.make
446 test/cedet/tests/testdoublens.cpp
447 test/cedet/tests/testdoublens.hpp
448 test/cedet/tests/testfriends.cpp
449 test/cedet/tests/testjavacomp.java
450 test/cedet/tests/testnsp.cpp
451 test/cedet/tests/testpolymorph.cpp
452 test/cedet/tests/testspp.c
453 test/cedet/tests/testsppcomplete.c
454 test/cedet/tests/testsppreplace.c
455 test/cedet/tests/testsppreplaced.c
456 test/cedet/tests/testsubclass.cpp
457 test/cedet/tests/testsubclass.hh
458 test/cedet/tests/testtypedefs.cpp
459 test/cedet/tests/testvarnames.c
460 test/etags/CTAGS.good
461 test/etags/ETAGS.good_1
462 test/etags/ETAGS.good_2
463 test/etags/ETAGS.good_3
464 test/etags/ETAGS.good_4
465 test/etags/ETAGS.good_5
466 test/etags/ETAGS.good_6
467 test/etags/a-src/empty.zz
468 test/etags/a-src/empty.zz.gz
469 test/etags/ada-src/2ataspri.adb
470 test/etags/ada-src/2ataspri.ads
471 test/etags/ada-src/etags-test-for.ada
472 test/etags/ada-src/waroquiers.ada
473 test/etags/c-src/a/b/b.c
474 test/etags/c-src/abbrev.c
476 test/etags/c-src/dostorture.c
477 test/etags/c-src/emacs/src/gmalloc.c
478 test/etags/c-src/emacs/src/keyboard.c
479 test/etags/c-src/emacs/src/lisp.h
480 test/etags/c-src/emacs/src/regex.h
481 test/etags/c-src/etags.c
482 test/etags/c-src/exit.c
483 test/etags/c-src/exit.strange_suffix
484 test/etags/c-src/fail.c
485 test/etags/c-src/getopt.h
487 test/etags/c-src/machsyscalls.c
488 test/etags/c-src/machsyscalls.h
489 test/etags/c-src/sysdep.h
490 test/etags/c-src/tab.c
491 test/etags/c-src/torture.c
492 test/etags/cp-src/MDiagArray2.h
493 test/etags/cp-src/Range.h
494 test/etags/cp-src/burton.cpp
495 test/etags/cp-src/c.C
496 test/etags/cp-src/clheir.cpp.gz
497 test/etags/cp-src/clheir.hpp
498 test/etags/cp-src/conway.cpp
499 test/etags/cp-src/conway.hpp
500 test/etags/cp-src/fail.C
501 test/etags/cp-src/functions.cpp
502 test/etags/cp-src/screen.cpp
503 test/etags/cp-src/screen.hpp
504 test/etags/cp-src/x.cc
505 test/etags/el-src/TAGTEST.EL
506 test/etags/el-src/emacs/lisp/progmodes/etags.el
507 test/etags/erl-src/gs_dialog.erl
508 test/etags/f-src/entry.for
509 test/etags/f-src/entry.strange.gz
510 test/etags/f-src/entry.strange_suffix
511 test/etags/forth-src/test-forth.fth
512 test/etags/html-src/algrthms.html
513 test/etags/html-src/index.shtml
514 test/etags/html-src/software.html
515 test/etags/html-src/softwarelibero.html
516 test/etags/lua-src/allegro.lua
517 test/etags/objc-src/PackInsp.h
518 test/etags/objc-src/PackInsp.m
519 test/etags/objc-src/Subprocess.h
520 test/etags/objc-src/Subprocess.m
521 test/etags/objcpp-src/SimpleCalc.H
522 test/etags/objcpp-src/SimpleCalc.M
523 test/etags/pas-src/common.pas
524 test/etags/perl-src/htlmify-cystic
525 test/etags/perl-src/kai-test.pl
526 test/etags/perl-src/yagrip.pl
527 test/etags/php-src/lce_functions.php
528 test/etags/php-src/ptest.php
529 test/etags/php-src/sendmail.php
530 test/etags/prol-src/natded.prolog
531 test/etags/prol-src/ordsets.prolog
532 test/etags/ps-src/rfc1245.ps
533 test/etags/pyt-src/server.py
534 test/etags/tex-src/gzip.texi
535 test/etags/tex-src/nonewline.tex
536 test/etags/tex-src/testenv.tex
537 test/etags/tex-src/texinfo.tex
538 test/etags/y-src/atest.y
539 test/etags/y-src/cccp.c
540 test/etags/y-src/cccp.y
541 test/etags/y-src/parse.c
542 test/etags/y-src/parse.y
543 test/indent/css-mode.css
544 test/indent/js-indent-init-dynamic.js
545 test/indent/js-indent-init-t.js
546 test/indent/js-jsx.js
548 test/indent/latex-mode.tex
549 test/indent/modula2.mod
552 test/indent/pascal.pas
553 test/indent/perl.perl
554 test/indent/prolog.prolog
555 test/indent/ps-mode.ps
557 test/indent/scheme.scm
558 test/indent/scss-mode.scss
559 test/indent/sgml-mode-attribute.html
562 test/redisplay-testsuite.el
564 test/automated/buffer-tests.el
565 test/automated/cmds-tests.el
566 test/automated/data-tests.el
567 test/automated/finalizer-tests.el
568 test/automated/fns-tests.el
569 test/automated/inotify-test.el
570 test/automated/keymap-tests.el
571 test/automated/print-tests.el
572 test/automated/libxml-tests.el
573 test/automated/zlib-tests.el: Files Moved.
575 2015-11-20 Michael Albinus <michael.albinus@gmx.de>
577 Rework file notifications, kqueue has problems with directory monitors
579 * lisp/filenotify.el (file-notify-add-watch): Call the native
580 add-watch function on the file, not on the dir.
582 * src/kqueue.c (kqueue_compare_dir_list): Make also bookkeeping
583 about already deleted entries.
585 * test/automated/auto-revert-tests.el
586 (auto-revert-test01-auto-revert-several-files): Do not call "cp -f"
587 since this deletes the target file first.
589 * test/automated/file-notify-tests.el (file-notify--test-event-test):
590 Make stronger checks.
591 (file-notify-test01-add-watch, file-notify-test02-events)
592 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
593 Rewrite in order to call file monitors but directory monitors.
594 (file-notify-test06-many-events): Ler rename work in both directions.
596 2015-11-19 Michael Albinus <michael.albinus@gmx.de>
598 Continie with pending events
600 * src/kqueue.c (pending_events): Remove global variable.
601 (kqueue_compare_dir_list): Create `write' event for not used
603 (globals_of_kqueue): Remove initialization of pending_events.
605 2015-11-19 Michael Albinus <michael.albinus@gmx.de>
607 Improve loops in file-notify-test06-many-events
609 * test/automated/file-notify-tests.el (file-notify-test06-many-events):
610 Use `read-event' pauses for the `write-file' loops; otherwise
611 events are lost in inotify and gfilenotify cases.
613 2015-11-19 Michael Albinus <michael.albinus@gmx.de>
615 Handle more complex rename operation in kqueue
617 * src/kqueue.c (pending_events): New variable.
618 (kqueue_compare_dir_list): Handle more complex rename operation.
619 (globals_of_kqueue): Initialize pending_events.
621 * test/automated/file-notify-tests.el (file-notify-test06-many-events):
622 Adapt expected events in the `rename-file' case.
623 (file-notify-test06-many-events-remote): Declare.
625 2015-11-18 Wolfgang Jenkner <wjenkner@inode.at>
627 New test with a larger number of events.
629 * test/automated/file-notify-tests.el (file-notify--test-with-events):
630 Make timeout heuristically depend on the number of events.
632 (file-notify-test06-many-events): Use it for new test.
634 2015-11-18 Michael Albinus <michael.albinus@gmx.de>
636 Further fixes for kqueue.
638 * lisp/filenotify.el (file-notify-callback): Raise also event if
639 directory name matches.
640 (file-notify-add-watch): Add `create' to the flags for `kqueue'.
642 * src/kqueue.c (kqueue_generate_event): Use watch_object as
643 argument instead of ident. Remove callback argument. Adapt
644 callees. Check actions whether they are monitored flags.
646 * test/automated/file-notify-tests.el (file-notify--test-library):
648 (file-notify-test00-availability, file-notify-test02-events)
649 (file-notify-test04-file-validity)
650 (file-notify-test05-dir-validity): Use it.
651 (file-notify-test02-events, file-notify-test04-file-validity): Add
652 `read-event' calls between different file actions, in order to
653 give the backends a chance to rais an event. Needed especially
654 for kqueue. In case of deleting a directory, there are two
657 2015-11-17 Michael Albinus <michael.albinus@gmx.de>
659 Code cleanup of kqueue.c
661 * src/kqueue.c (kqueue_directory_listing): Skip "." and "..".
662 (kqueue_compare_dir_list): Do not loop when calling
663 directory_files_internal. Remove checks for "." and "..", this is
664 done in kqueue_directory_listing now.
665 (Fkqueue_add_watch): Check for proper emacs_open flags.
667 2015-11-16 Michael Albinus <michael.albinus@gmx.de>
669 Doc changes for kqueue
671 * doc/lispref/os.texi (File Notifications): Add kqueue as backend.
672 Fix some glitches in the example.
674 2015-11-16 Michael Albinus <michael.albinus@gmx.de>
676 Finish implementation in kqueue.c
678 * src/kqueue.c (kqueue_directory_listing, kqueue_callback):
679 Simplify access to list.
680 (kqueue_compare_dir_list): Simplify access to list. Raise
681 `delete' event if directory does not exist any longer. Otherwise,
682 wait until directory contents has changed. Fix error in check.
684 2015-11-16 Michael Albinus <michael.albinus@gmx.de>
686 * lisp/filenotify.el (file-notify-add-watch): Fix thinko.
688 2015-11-15 Michael Albinus <michael.albinus@gmx.de>
692 * lisp/filenotify.el (file-notify-callback): Handle also the
693 `rename' event from kqueue.
694 (file-notify-add-watch): Do not register an entry twice.
696 * src/kqueue.c (kqueue_directory_listing): New function.
697 (kqueue_generate_event): New argument FILE1. Adapt callees.
698 (kqueue_compare_dir_list): Rewrite in order to make it more robust.
700 2015-11-14 Michael Albinus <michael.albinus@gmx.de>
702 Implement directory events
704 * lisp/filenotify.el (file-notify-handle-event)
705 (file-notify-callback): Remove traces.
707 * src/kqueue.c: Include <sys/time.h>.
708 (kqueue_generate_event, kqueue_compare_dir_list): New functions.
709 (kqueue_callback): Use them. Call kevent() with a zero timeout.
710 (Fkqueue_add_watch): Adapt docstring. Support directory events.
711 Compute initial directory listing. Close file descriptor in case
713 (syms_of_kqueue): Declare Qcreate.
715 2015-11-11 Wolfgang Jenkner <wjenkner@inode.at>
717 Build fixes for kqueue support.
719 * src/kqueue.c (Fkqueue_add_watch): O_BINARY is not a POSIX open(3)
722 * configure.ac (HAVE_KQUEUE): There is no pkg-config module for native
725 2015-11-11 Michael Albinus <michael.albinus@gmx.de>
727 Continue kqueue implementation
729 * lisp/filenotify.el (file-notify-handle-event)
730 (file-notify-callback): Enable trace messages.
732 * src/kqueue.c: Include also <sys/types.h>.
733 (kqueue_callback): Remove watch in case of NOTE_DELETE or NOTE_RENAME.
734 (Fkqueue_rm_watch, Fkqueue_valid_p): New functions.
735 (syms_of_kqueue): Add them.
737 2015-11-11 Michael Albinus <michael.albinus@gmx.de>
741 * lisp/filenotify.el (file-notify--library)
742 (file-notify-descriptors, file-notify-callback)
743 (file-notify-add-watch, file-notify-rm-watch)
744 (file-notify-valid-p): Add kqueue support.
746 * src/keyboard.c (make_lispy_event): Check also for HAVE_KQUEUE.
748 2015-11-11 Michael Albinus <michael.albinus@gmx.de>
752 * configure.ac (--with-file-notification): Add kqueue.
753 (top): Remove special test for "${HAVE_NS}" and
754 ${with_file_notification}, this is handled inside gfilenotify
755 tests. Add kqueue tests. Use NOTIFY_CFLAGS and NOTIFY_LIBS
756 instead of library specific variables.
758 * src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS.
760 * src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue.
762 * src/kqueue.c: New file.
764 * src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.
766 2015-11-21 Wilson Snyder <wsnyder@wsnyder.org>
768 verilog-mode.el: Commentary and fix pre-Emacs 21 behavior.
770 * verilog-mode.el (verilog-save-font-no-change-functions):
771 Commentary and fix pre-Emacs 21 behavior.
773 2015-11-19 Przemysław Wojnowski <esperanto@cumego.com>
775 Use obarray functions from obarray.
777 * lisp/abbrev.el (copy-abbrev-table, abbrev-table-p, make-abbrev-table,
778 abbrev-table-get, abbrev-table-put, abbrev-table-empty-p,
779 clear-abbrev-table, define-abbrev, abbrev--symbol, abbrev-table-menu):
780 delegate to obarray.el functions.
781 * lisp/loadup.el: load obarray before abbrev
782 * test/automated/abbrev-tests.el: new tests
784 2015-11-18 Christian Schwarzgruber <c.schwarzgruber.cs@gmail.com> (tiny change)
786 epa.el: Add option to replace original text
788 * lisp/epa.el (epa-replace-original-text): New user option.
791 2015-11-18 Mark Oteiza <mvoteiza@udel.edu>
793 Add interactive seek command.
795 * lisp/mpc.el (mpc-cmd-seekcur): New function.
796 (mpc-seek-current): New command.
797 (mpc-mode-menu): Add entry for mpc-seek-current
798 (mpc-mode-map): Bind mpc-seek-current to "g"
800 2015-11-18 Mark Oteiza <mvoteiza@udel.edu>
802 Fix issue where a new tempfile was created every refresh
804 * lisp/mpc.el (mpc-format): Leave dir as relative path
806 2015-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
808 * lisp/progmodes/cc-defs.el: Use with-silent-modifications
810 (c-save-buffer-state): Use with-silent-modifications when available.
811 (c--macroexpand-all): Check macroexpand-all directly rather than
814 2015-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
816 * lisp/loadup.el: Set max-lisp-eval-depth here
818 * lisp/Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS): Remove.
819 (BYTE_COMPILE_FLAGS): Adjust accordingly.
821 2015-11-17 João Távora <joaotavora@gmail.com>
823 Minor fix to comment indentation and typo in last commit
825 * linum.el (linum-update-window): Fix comment indentation and a
828 2015-11-17 João Távora <joaotavora@gmail.com>
830 linum-mode plays more nicely with other margin-setting extensions
832 linum.el will only modify the left margin if it needs to, and will
833 only reset the it back to 0 if it guesses that no-one has touched that
834 margin in the meantime.
836 As such, this is a more of a workaround than an actual fix, but fixes
837 the problems described in bug#20674 regarding the interaction with
838 modes such as darkroom-mode and olivetti-mode.
840 A similar fix was commited to nlinum.el in ELPA.git's
841 e7f5f549fbfb740b911fb7f33b42381ecece56d8
843 * linum.el (linum-delete-overlays): Restore margins more
845 (linum-update-window): Set margins more criteriously.
847 2015-11-16 Daiki Ueno <ueno@gnu.org>
849 * lisp/image-mode.el: Support encrypted file
851 (image-toggle-display-image): Read content from the buffer instead
852 of the file, if the buffer holds a decrypted data. (Bug#21870)
854 2015-11-15 Juanma Barranquero <lekktu@gmail.com>
856 * lisp/progmodes/verilog-mode.el (verilog-save-buffer-state): Add backquote
858 2015-11-15 Artur Malabarba <bruce.connor.am@gmail.com>
860 * lisp/emacs-lisp/package.el: Fix a decoding issue
862 (package--with-response-buffer): Use `url-insert-buffer-contents'.
863 The previous code had some issues with decoding. Refactoring that
864 function allows us to use the decoding from url-handlers while still
865 treating both sync and async requests the same.
867 * lisp/url/url-handlers.el (url-insert-file-contents): Move some code to
868 `url-insert-buffer-contents'.
869 (url-insert-buffer-contents): New function
871 2015-11-15 Artur Malabarba <bruce.connor.am@gmail.com>
873 * lisp/emacs-lisp/package.el: Refactor -with-work-buffer-async
875 (package--with-work-buffer-async): Reimplement as
876 `package--with-response-buffer'.
877 (package--with-work-buffer): Mark obsolete.
878 (package--with-response-buffer): New macro. This is a more self
879 contained and less contrived version of
880 `package--with-work-buffer-async'. It uses keyword arguments,
881 doesn't have async on the name, doesn't fallback on
882 `package--with-work-buffer', and has _much_ simpler error
885 (package--check-signature, package--download-one-archive)
886 (package-install-from-archive, describe-package-1): Use it.
888 (package--download-and-read-archives): Let
889 `package--download-one-archive' take care of calling
890 `package--update-downloads-in-progress'.
892 2015-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
894 * lisp/progmodes/verilog-mode.el: Use with-silent-modifications
896 (verilog-save-buffer-state): Use with-silent-modifications when available.
897 (verilog-save-font-no-change-functions): Don't bind
898 before/after-change-functions if it's not needed.
900 2015-11-14 Xue Fuqiao <xfq.free@gmail.com>
902 * CONTRIBUTE: Remove information about feature freeze.
904 Merge branch 'release-process-lowercase'
906 2015-11-14 Xue Fuqiao <xfq.free@gmail.com>
908 Document the release process
910 * admin/notes/versioning: Add information about RC releases.
911 * admin/release-process: Document the release process.
912 * admin/authors.el (authors-ignored-files):
913 * admin/README: Change FOR-RELEASE to release-process.
915 * admin/notes/bugtracker: Don't mention FOR-RELEASE.
917 2015-11-14 Xue Fuqiao <xfq.free@gmail.com>
919 * admin/release-process: Rename from admin/FOR-RELEASE.
921 2015-11-14 David Engster <deng@randomsample.de>
923 gitmerge: Fix git log command
925 * admin/gitmerge.el (gitmerge-missing): Use '--left-only' since we
926 only want commits from the branch that is to be merged.
927 (gitmerge-setup-log-buffer): Use the same symmetric range as in
930 2015-11-14 David Engster <deng@randomsample.de>
932 gitmerge: Try to detect cherry-picks
934 * admin/gitmerge.el (gitmerge-default-branch): Change to
936 (gitmerge-missing): Use symmetric difference ('...') between
937 branch and master so that cherry-picks can be detected.
939 2015-11-14 Eli Zaretskii <eliz@gnu.org>
941 Increment Emacs version on master branch
943 * lisp/cus-edit.el (customize-changed-options-previous-release):
944 Increase previous version to 24.5.
947 * msdos/sed2v2.inp: Bump version to 25.1.50.
949 2015-11-14 Xue Fuqiao <xfq.free@gmail.com>
951 Mention CONTRIBUTE in README, since it was moved from etc/ to root.
952 * etc/TODO: Remove the reference to `etc/CONTRIBUTE'.
953 * README: Mention CONTRIBUTE.
955 2015-11-13 Wilson Snyder <wsnyder@wsnyder.org>
957 Update verilog-mode.el to 2015-11-09-b121d60-vpo
959 * verilog-mode.el (verilog-auto, verilog-delete-auto)
960 (verilog-modi-cache-results, verilog-save-buffer-state)
961 (verilog-save-font-no-change-functions): When internally suppressing
962 change functions, use `inhibit-modification-hooks' and call
963 `after-change-funtions' to more nicely work with user hooks.
964 Reported by Stefan Monnier.
965 (verilog-auto, verilog-delete-auto, verilog-delete-auto-buffer):
966 Create `verilog-delete-auto-buffer' to avoid double-calling
968 (verilog-restore-buffer-modified-p, verilog-auto)
969 (verilog-save-buffer-state): Prefer restore-buffer-modified-p over
970 set-buffer-modified-p. Reported by Stefan Monnier.
971 (verilog-diff-auto, verilog-diff-buffers-p)
972 (verilog-diff-ignore-regexp): Add `verilog-diff-ignore-regexp'.
973 (verilog-auto-inst-port, verilog-read-sub-decls-expr): Fix
974 AUTOINST with unpacked dimensional parameters, bug981. Reported by
976 (verilog-read-decls, verilog-read-sub-decls-line): Avoid unneeded
977 properties inside internal structures. No functional change
980 2015-11-13 Dmitry Gutov <dgutov@yandex.ru>
982 Use generic dispatch for xref backends
984 * lisp/progmodes/xref.el (xref-backend-functions):
986 (xref-find-function): Remove.
988 (xref--etags-backend): New functions.
989 (xref-identifier-at-point-function)
990 (xref-identifier-completion-table-function): Remove.
991 (xref-backend-definitions, xref-backend-references)
992 (xref-backend-apropos, xref-backend-identifier-at-point)
993 (xref-backend-identifier-completion-table):
994 New generic functions.
996 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
997 Add `elisp--xref-backend' to the beginning of
998 `xref-backend-functions', locally. Delete references to
999 removed functions and vars.
1000 (elisp-xref-find): Remove.
1001 (elisp--xref-backend): New function.
1002 (elisp--xref-find-references, elisp--xref-find-apropos)
1003 (elisp--xref-identifier-completion-table):
1004 Turn into appropriately named generic methods.
1006 * lisp/progmodes/etags.el (etags-xref-find): Remove.
1007 (xref-backend-identifier-completion-table)
1008 (xref-backend-references, xref-backend-definitions)
1009 (xref-backend-apropos): New generic methods.
1011 2015-11-13 Juri Linkov <juri@linkov.net>
1013 Support rectangular regions for more commands
1015 * lisp/simple.el (region-extract-function): Handle the arg
1017 (region-insert-function): New function.
1018 (shell-command-on-region): Add arg ‘region-noncontiguous-p’.
1019 If non-nil, operate on multiple chunks.
1020 (region-noncontiguous-p): New function.
1022 * lisp/rect.el: Add function rectangle--insert-region
1023 around region-insert-function.
1024 (extract-rectangle-bounds): New function.
1025 (rectangle--extract-region): Handle the arg value ‘bounds’.
1026 (rectangle--insert-region): New function.
1028 * lisp/emulation/cua-rect.el: Add function cua--insert-rectangle
1029 around region-insert-function.
1030 (cua--extract-rectangle-bounds): New function.
1031 (cua--rectangle-region-extract): Handle the arg value ‘bounds’.
1033 * lisp/replace.el (query-replace, query-replace-regexp): Add arg
1034 ‘region-noncontiguous-p’. Use ‘use-region-p’.
1035 (query-replace-regexp-eval, map-query-replace-regexp)
1036 (replace-string, replace-regexp): Use ‘use-region-p’.
1037 (keep-lines, flush-lines, how-many): Use ‘use-region-p’.
1038 (perform-replace): Add arg ‘region-noncontiguous-p’.
1039 If non-nil, operate on multiple chunks.
1041 * src/casefiddle.c (Fdowncase_region): Add arg ‘region-noncontiguous-p’.
1042 If non-nil, operate on multiple chunks. (Bug#19829)
1044 2015-11-13 Dmitry Gutov <dgutov@yandex.ru>
1046 Handle multiple matches on the same line; add highlighting
1048 * lisp/progmodes/xref.el (xref-location-marker): Interpret the
1049 column value in characters.
1050 (xref--collect-matches): Rename from `xref--collect-match'.
1051 Search for all matches in the hit line. Add `highlight' face to
1052 the matched region in the summary. Update both callers.
1054 2015-11-13 Dmitry Gutov <dgutov@yandex.ru>
1056 Replace xref-match-bounds with xref-match-length
1058 Relying on xref-location-marker to point to the beginning of the match
1060 * lisp/progmodes/xref.el (xref-match-bounds): Remove.
1061 (xref-match-length): Add.
1062 (xref-make-match): Change the arguments.
1063 (xref--match-buffer-bounds): Remove.
1064 (xref-match-item): Store length, instead of end-column.
1065 (xref-pulse-momentarily)
1066 (xref--collect-match)
1067 (xref--query-replace-1): Update accordingly.
1068 (xref-query-replace): Ditto. And check that the search results
1071 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
1076 2015-11-13 xalloc-oversized: improve performance with GCC 5
1077 * lib/xalloc-oversized.h: Copy from gnulib.
1079 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
1081 Spruce up ftfont.c memory allocation
1083 * src/ftfont.c (setup_otf_gstring):
1084 Avoid O(N**2) behavior when reallocating.
1085 (ftfont_shape_by_flt): Prefer xpalloc to xrealloc when
1086 reallocating buffers; this simplifies the code. Do not trust
1087 mflt_run to leave the output areas unchanged on failure, as
1088 this isn’t part of its interface spec.
1090 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
1092 Port recent XCB changes to 64-bit ‘long int’
1094 For historical reasons, libX11 represents 32-bit values like Atoms as
1095 ‘long int’ even on platforms where ‘long int’ is 64 bits. XCB doesn’t
1096 do that, so adapt the recent XCB code to behave properly on 64-bit
1097 platforms. Also, fix what appears to be a bug in the interpretation
1098 of xcb_get_property_value_length, at least on my Fedora platform
1099 which is running libxcb-1.11-5.fc21.
1100 * src/xfns.c (x_real_pos_and_offsets):
1101 * src/xterm.c (get_current_wm_state):
1102 xcb_get_property_value_length returns a byte count, not a word count.
1103 For 32-bit quantities, xcb_get_property_value returns a vector
1104 of 32-bit words, not of (possibly 64-bit) long int.
1106 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
1108 * src/undo.c (run_undoable_change): Now static.
1110 2015-11-13 Eli Zaretskii <eliz@gnu.org>
1112 Remove support for ':timeout' from w32 tray notifications
1114 * src/w32fns.c (Fw32_notification_notify): Delete the code that
1115 supports ':timeout'.
1116 (syms_of_w32fns): Don't DEFSYM ':timeout'. This avoids clashes
1117 with dbusbind.c when D-Bus is compiled in.
1119 * doc/lispref/os.texi (Desktop Notifications): Don't mention
1122 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
1124 * test/automated/simple-test.el: Add test for bug#20698 (bug#21885)
1125 (simple-test--transpositions): New macro.
1126 (simple-transpose-subr): New test.
1128 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
1130 * lisp/progmodes/elisp-mode.el: Declare function `project-roots'
1132 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
1134 * src/undo.c: Small fixes for previous change
1135 (run_undoable_change): Mark void argument list.
1136 (record_property_change): Remove unused variable `boundary'.
1138 2015-11-13 Eli Zaretskii <eliz@gnu.org>
1140 Add a few more variables to redisplay--variables
1142 * lisp/frame.el (redisplay--variables): Add bidi-paragraph-direction
1143 and bidi-display-reordering to the list.
1145 2015-11-13 Eli Zaretskii <eliz@gnu.org>
1147 * lisp/loadup.el: Enlarge the size of the hash table to 80000.
1149 2015-11-13 Eli Barzilay <eli@barzilay.org>
1151 Fix point positioning after transposing with negative arg
1153 * lisp/simple.el (transpose-subr): When invoked with a negative
1154 argument, move point to after the transposed text, like we do
1155 when invoked with a positive argument. (Bug#21885)
1157 2015-11-13 Eli Zaretskii <eliz@gnu.org>
1159 Fix last change in shr.el
1161 * lisp/net/shr.el (shr--have-one-fringe-p): Rename from
1162 have-fringes-p. All callers changed. Doc fix. (Bug#21895)
1164 2015-11-13 Eli Zaretskii <eliz@gnu.org>
1168 * src/w32fns.c (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]:
1169 Don't DEFSYM tray notification symbols if D-Bus is being used.
1171 2015-11-13 Eli Zaretskii <eliz@gnu.org>
1173 Another fix for MinGW64 and Cygwin builds due to notifications
1175 * src/w32fns.c: Ifdef away tray notification code if D-Bus is
1176 being compiled into Emacs.
1177 (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]: Don't defsubr
1178 Sw32_notification_notify and Sw32_notification_close if the code
1179 is not compiled. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1181 2015-11-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1183 Remove intern calls and XXX comments from Fx_export_frames
1185 * src/xfns.c (Fx_export_frames): Use Qpdf, Qpng, Qpostscript, and
1186 Qsvg instead of intern calls. Use "postscript" instead of "ps"
1187 for consistency with image types. Remove XXX comments.
1188 (syms_of_xfns) <Qpdf>: DEFSYM it.
1190 2015-11-12 Eric Hanchrow <eric.hanchrow@gmail.com>
1192 shr: don't invoke unbound function (Bug#21895)
1194 * lisp/net/shr.el (have-fringes-p): New function.
1195 (shr-insert-document, shr-fill-text): Use it.
1197 2015-11-12 Juanma Barranquero <lekktu@gmail.com>
1199 * test/automated/keymaps-test.el: Fix test to make it repeatable
1201 (keymap-store_in_keymap-FASTINT-on-nonchars): Reset Buffer-menu-mode-map
1202 entry to its initial value to make the test repeatable in interactive
1203 sessions (assuming it doesn't fail and crashes Emacs, of course).
1205 2015-11-12 Artur Malabarba <bruce.connor.am@gmail.com>
1207 * test/automated/cl-lib-tests.el (cl-lib-struct-constructors):
1210 2015-11-12 Phillip Lord <phillip.lord@newcastle.ac.uk>
1212 The heuristic that Emacs uses to add an `undo-boundary' has been
1213 reworked, as it interacts poorly with functions on `post-command-hook'
1214 or `after-change-functions'.
1216 * lisp/simple.el: New section added.
1217 * src/cmds.c (remove_excessive_undo_boundaries): Now in lisp.
1218 (self_insert_command): Calls simple.el to amalgamate.
1219 (delete_char): Calls simple.el to amalgamate.
1220 * src/keyboard.c (last_undo_boundary): Removed.
1221 * src/undo.c (run_undoable_change): New function.
1223 2015-11-12 Juri Linkov <juri@linkov.net>
1225 Bind [?\S-\ ] to previous line command in Dired-like modes
1227 * lisp/arc-mode.el (archive-mode-map):
1228 * lisp/dired.el (dired-mode-map):
1229 * lisp/proced.el (proced-mode-map):
1230 * lisp/vc/vc-dir.el (vc-dir-mode-map):
1231 Bind [?\S-\ ] to previous line command.
1234 2015-11-12 Eli Zaretskii <eliz@gnu.org>
1236 Fix the MinGW64 and Cygwin-w32 builds
1238 * src/w32fns.c (MYNOTIFYICONDATAW_V1_SIZE)
1239 (MYNOTIFYICONDATAW_V2_SIZE, MYNOTIFYICONDATAW_V3_SIZE): Define and
1240 use instead of the corresponding NOTIFYICONDATAW_Vn_SIZE macros,
1241 which cause trouble with MinGW42 headers. Ifdef away tray
1242 notifications code for Cygwin. Reported by Andy Moreton
1243 <andrewjmoreton@gmail.com>.
1245 2015-11-12 Simen Heggestøyl <simenheg@gmail.com>
1247 Enable sorting of JSON object keys when encoding
1249 * lisp/json.el (json-encoding-object-sort-predicate): New variable
1250 for specifying a sorting predicate for JSON objects during encoding.
1251 (json--plist-to-alist): New utility function.
1252 (json-encode-hash-table): Re-use `json-encode-alist' when object keys
1254 (json-encode-alist): Sort output by
1255 `json-encoding-object-sort-predicate, when set.
1256 (json-encode-plist): Re-use `json-encode-alist' when object keys are
1258 (json-pretty-print-buffer-ordered): New command to pretty print the
1259 buffer with object keys sorted alphabetically.
1260 (json-pretty-print-ordered): New command to pretty print the region
1261 with object keys sorted alphabetically.
1263 * test/automated/json-tests.el (test-json-plist-to-alist)
1264 (test-json-encode-plist, test-json-encode-hash-table)
1265 (test-json-encode-alist-with-sort-predicate)
1266 (test-json-encode-plist-with-sort-predicate): New tests.
1268 * etc/NEWS: Add an entry for the new commands.
1270 2015-11-12 Juanma Barranquero <lekktu@gmail.com>
1272 * test/automated/keymap-tests.el: New test file.
1274 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
1276 Speed up x_real_pos_and_offsets using XCB
1278 * src/xfns.c (x_real_pos_and_offsets) [USE_XCB]: Add XCB flavors of
1279 all X calls, and pipeline requests when possible, collecting results
1280 later. Eliminate use of x_catch_errors (and thus XSync) in XCB case.
1282 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
1284 Enable use of XCB for checking window manager state
1286 * src/xterm.c (get_current_wm_state) [USE_XCB]: Use XCB calls instead
1287 of XGetWindowProperty plus error-catching, since we can explicitly
1288 check for errors in the XCB version. This eliminates 3 XSync calls on
1289 top of the round-trip actually fetching the information.
1291 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
1293 Detect XCB and save a connection handle
1295 * configure.ac: If using X11, check for XCB libraries and header.
1296 * src/Makefile.in (XCB_LIBS): Define.
1297 (LIBX_EXTRA): Include it.
1299 * src/xterm.h [USE_XCB]: Include X11/Xlib-xcb.h.
1300 (struct x_display_info) [USE_XCB]: Add an XCB connection handle field.
1301 * src/xterm.c (x_term_init) [USE_XCB]: Initialize the new field.
1303 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
1305 Reduce some data dependencies between X calls
1307 Gains nothing in the traditional-Xlib code, but more closely aligns
1308 with how the XCB version will work.
1310 * src/xfns.c (x_real_pos_and_offsets): When translating coordinates,
1311 send coordinates (0,0) to the X server and add in the real coordinates
1312 after getting the response. Move XGetGeometry for outer window inside
1313 error-trapping block. Use DPY variable more, since it's available.
1315 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
1317 Use color cache for creating bitmap
1319 * src/image.c (x_create_bitmap_from_xpm_data) [ALLOC_XPM_COLORS]:
1320 Set attributes to use the caching color allocator. Initialize and
1323 2015-11-12 Eli Barzilay <eli@barzilay.org>
1325 Add "^" to the interactive specs of `dired-next/previous-line'
1327 * lisp/dired.el (dired-next-line, dired-previous-line): It makes sense
1328 to bind these commands to the arrow keys, and that means that they work
1329 better with a "^" in the `interactive' declaration so selection works
1332 2015-11-11 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1334 Sync with soap-client repository, version 3.0.2
1336 * soap-client.el: Bump version to 3.0.2.
1338 * soap-client.el (soap-warning): Use format, not format-message.
1340 * soap-client.el: Add cl-lib to Package-Requires. Require cl-lib.
1341 (soap-validate-xs-simple-type): Use cl-labels instead of cl-flet.
1343 * soap-client.el: Support Emacs versions that do not have
1346 * soap-inspect.el: Remove version header.
1348 * soap-client.el, soap-inspect.el, jira2.el: Fix first line header
1351 2015-11-11 Alan Mackenzie <acm@muc.de>
1353 CC Mode: Respect users' settings of open-paren-in-column-0-is-defun-start
1355 * lisp/progmodes/cc-engine.el (c-backward-single-comment)
1356 (c-backward-comments, c-invalidate-state-cache-1, c-parse-state-1)
1357 (c-guess-basic-syntax):
1358 Remove bindings of open-paren-in-column-0-is-defun-start to nil.
1359 (c-get-fallback-scan-pos): "New" function (existed several years ago).
1360 (c-parse-state-get-strategy): Reintroduce the 'BOD strategy, using
1361 c-get-fallback-scan-pos.
1362 (c-parse-state-1): Handle 'BOD strategy.
1364 * lisp/progmodes/cc-mode.el (c-before-change, c-after-change)
1365 (c-font-lock-fontify-region): Remove bindings of
1366 open-paren-in-column-0-is-defun-start to nil.
1368 * doc/misc/cc-mode.texi (Performance Issues)
1369 (Limitations and Known Bugs): Fix mix up between @chapter and @appendix.
1371 2015-11-11 Artur Malabarba <bruce.connor.am@gmail.com>
1373 * lisp/obarray.el: Fix shadowed variables.
1374 (obarray-map, obarray-remove, obarray-put, obarray-get):
1375 Change OBARRAY arg to OB to avoid shadowing ‘obarray’.
1377 2015-11-11 Eli Zaretskii <eliz@gnu.org>
1379 Avoid error in submitting a form with EWW
1381 * lisp/gnus/mm-url.el (mm-url-form-encode-xwfu): Allow argument
1382 CHUNK to be nil. (Bug#21881)
1384 2015-11-11 Nicolas Petton <nicolas@petton.fr>
1386 Rename seq-p and map-p to seqp and mapp
1388 * lisp/emacs-lisp/seq.el (seqp): New name.
1389 * lisp/emacs-lisp/map.el (mapp): New name.
1390 * doc/lispref/sequences.texi: Update the documentation for seqp.
1391 * test/automated/map-tests.el: Update the tests for mapp.
1393 2015-11-11 Nicolas Petton <nicolas@petton.fr>
1395 Rename obarray-p to obarrayp
1397 * lisp/obarray.el (obarrayp): New name.
1398 * test/automated/obarray-tests.el: Update the tests.
1400 2015-11-11 Nicolas Petton <nicolas@petton.fr>
1402 Rename obarray-foreach to obarray-map
1404 * lisp/obarray.el (obarray-map): New name.
1405 * test/automated/obarray-tests.el: Update the corresponding tests.
1407 2015-11-11 Przemysław Wojnowski <esperanto@cumego.com>
1409 New file with obarray functions
1411 * lisp/obarray.el: Basic obarray functions extracted from abbrev.el.
1412 * test/automated/obarray-tests.el: New file.
1414 2015-11-11 Eli Zaretskii <eliz@gnu.org>
1416 Implement tray notifications for MS-Windows
1418 * src/w32fns.c (MY_NOTIFYICONDATAW): New typedef.
1419 (NOTIFYICONDATAW_V1_SIZE, NOTIFYICONDATAW_V2_SIZE)
1420 (NOTIFYICONDATAW_V3_SIZE, NIF_INFO, NIIF_NONE, NIIF_INFO)
1421 (NIIF_WARNING, NIIF_ERROR, EMACS_TRAY_NOTIFICATION_ID)
1422 (EMACS_NOTIFICATION_MSG): New macros.
1423 (NI_Severity): New enumeration.
1424 (get_dll_version, utf8_mbslen_lim, add_tray_notification)
1425 (delete_tray_notification, Fw32_notification_notify)
1426 (Fw32_notification_close): New functions.
1427 (syms_of_w32fns): Defsubr functions exposed to Lisp. DEFSYM
1428 keywords used by w32-notification-notify.
1430 * doc/lispref/os.texi (Desktop Notifications): Describe the native
1431 w32 tray notifications.
1433 2015-11-11 Michael Albinus <michael.albinus@gmx.de>
1435 Optimize `file-equal-p' and `file-in-directory-p' in Tramp
1437 * lisp/net/tramp.el (tramp-handle-file-equal-p)
1438 (tramp-handle-file-in-directory-p): New defuns. Suggested by
1439 Harvey Chapman <hchapman@3gfp.com>.
1441 * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1442 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1443 * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1444 * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use them.
1446 2015-11-10 Karl Fogel <kfogel@red-bean.com>
1448 * CONTRIBUTE: Encourage adding tests.
1450 Based on this post from John Wiegley:
1452 From: "John Wiegley" <johnw@newartisans.com>
1453 Subject: Re: [Emacs-diffs] master 1f02cbe: Fix bug#21766 and add test
1454 To: Juanma Barranquero <lekktu@gmail.com>
1455 Cc: emacs-diffs@gnu.org, bruce.connor.am@gmail.com,
1456 emacs-devel <emacs-devel@gnu.org>
1457 Date: Wed, 28 Oct 2015 18:45:29 -0700
1458 Message-ID: <m2y4emqwg6.fsf@newartisans.com>
1460 https://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02372.html
1462 2015-11-10 David Reitter <david.reitter@gmail.com>
1464 Avoid creating notification objects when possible
1466 * src/nsterm.m (windowWillEnterFullScreen, windowWillExitFullScreen:)
1467 (windowDidEnterFullScreen, windowDidExitFullScreen): Provide convenience
1468 functions that do not require a notification object. When needed,
1469 define NSWindowDidEnterFullScreenNotification to allow for compilation
1472 2015-11-10 Paul Eggert <eggert@cs.ucla.edu>
1474 Move INTEGER_TO_CONS body out of .h file
1476 * src/data.c (INTBIG_TO_LISP): New macro, with most
1477 of the contents of the old INTEGER_TO_CONS.
1478 (intbig_to_lisp, uintbig_to_lisp): New functions.
1479 * src/lisp.h (INTEGER_TO_CONS):
1480 Simplify by using EXPR_SIGNED and the new functions.
1481 This shrinks code size a bit, and makes it easier to
1482 put a breakpoint on handling of large integers.
1484 2015-11-10 Paul Eggert <eggert@cs.ucla.edu>
1489 2015-11-10 intprops: new public macro EXPR_SIGNED
1490 2015-11-10 intprops: fix typo in clang port
1491 * lib/intprops.h: Copy from gnulib.
1493 2015-11-10 Paul Eggert <eggert@cs.ucla.edu>
1497 * lisp/net/soap-inspect.el (soap-inspect-xs-simple-type):
1498 Fix misspelling in output.
1500 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
1502 * doc/lispref/variables.texi (Directory Local Variables):
1503 Document dir-locals wildcards.
1505 * lisp/files.el (dir-locals-file): Point to Info node.
1507 * doc/emacs/custom.texi (Directory Variables):
1508 Document dir-locals wildcards.
1510 * etc/NEWS: Document new functionality.
1512 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
1514 * lisp/files.el: Don't allow customization of dir-locals sorting.
1515 In retrospect, this is not a good idea for the same reason that
1516 `dir-locals-file' is a defconst, because it is important that this
1517 behaviour be "uniform across different environments and users".
1518 Sure, the user can still change the sorting with a hack, but we
1519 shouldn't encourage them to change it.
1520 (dir-locals--all-files): Return list in the order returned by
1521 `file-expand-wildcards'.
1522 (file-expand-wildcards): Document the sorting predicate used.
1523 (dir-locals-sort-predicate): Delete variable.
1525 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
1527 * lisp/files.el (dir-locals-read-from-file): Better handle errors.
1529 * lisp/isearch.el (search-default-regexp-mode): Change default value.
1531 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
1533 * lisp/files.el (dir-locals-find-file): Don't stop at unreadable files.
1534 `locate-dominating-file' will now keep looking if the files it finds in
1535 a given directory are unreadable (or not files).
1537 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
1539 * lisp/files.el (dir-locals-file): Allow wildcards.
1540 (dir-locals-find-file, dir-locals-collect-variables)
1541 (dir-locals-read-from-file): Update accordingly.
1542 (hack-dir-local-variables): Rename a local variable.
1544 * lisp/files-x.el (modify-dir-local-variable): Update accordingly.
1546 * lisp/help-fns.el (describe-variable): Update accordingly.
1548 * .gitignore: Add .dir-locals?.el.
1550 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
1552 * lisp/emacs-lisp/map.el (map-merge-with): New function.
1554 * test/automated/map-tests.el (test-map-merge-with): New test.
1556 2015-11-09 Karl Fogel <kfogel@red-bean.com>
1558 Fix some recently-perturbed bookmark autoloads
1560 * lisp/bookmark.el (bookmark-set-internal): Remove unnecessary autoload.
1561 (bookmark-set): Restore autoload.
1562 (bookmark-set-no-overwrite): Add autoload.
1564 Thanks to Juanma Barranquero for noticing the autoload problems
1565 introduced by my recent commit adding/changing the above functions
1566 (Sun Nov 8 14:16:43 2015 -0500, git commit 3812e17978).
1568 2015-11-09 Noah Friedman <friedman@splode.com>
1570 * etc/emacs-buffer.gdb (ydump-buffer): Handle case where gap is at
1571 the start of buffer. I don't recall if older versions of gdb were
1572 less strict but you cannot dump a 0-length range in gdb 7.9.1.
1574 2015-11-09 Dmitry Gutov <dgutov@yandex.ru>
1576 * lisp/progmodes/project.el: Update Commentary.
1578 Merge branch 'project-next'
1580 2015-11-09 Dmitry Gutov <dgutov@yandex.ru>
1582 Fold `project-ask-user' into `project-current'
1584 * lisp/progmodes/project.el (project-find-functions):
1585 Remove `project-ask-user'.
1586 (project-ask-user): Remove function and the corresponding
1587 `project-roots' implementation.
1588 (project-current): Add a new argument, MAYBE-PROMPT. Prompt the
1589 user in case there's no project in the current directory. Update
1592 2015-11-09 Karl Fogel <kfogel@red-bean.com>
1594 When VC detects a conflict, specify which file
1596 * lisp/vc/vc.el (vc-message-unresolved-conflicts): New function.
1597 * lisp/vc/vc-svn.el (vc-svn-find-file-hook):
1598 * lisp/vc/vc-hg.el (vc-hg-find-file-hook):
1599 * lisp/vc/vc-bzr.el (vc-bzr-find-file-hook):
1600 * lisp/vc/vc-git.el (vc-git-find-file-hook): Use above new function
1601 to display a standard message that specifies the conflicted file.
1603 Before this change, the message VC used for indicating a conflicted
1604 file was just "There are unresolved conflicts in this file" without
1605 naming the file (and this language was duplicated in several places).
1606 After this change, it's "There are unresolved conflicts in file FOO"
1607 (and this language is now centralized in one function in vc.el).
1609 Justification: It's important for the message to name the conflicted
1610 file because the moment when VC realizes a file is conflicted does not
1611 always come interactively. For example, some people automatically
1612 find a set of Org Mode files on startup, and may keep those .org files
1613 under version control. If any of the files are conflicted, the user
1614 just sees some messages fly by, and might later check the "*Messages*"
1615 buffer to find out what files were conflicted. I'm not saying this
1616 happened to me or anything; it's a purely hypothetical example.
1618 2015-11-09 Eli Zaretskii <eliz@gnu.org>
1620 Fix assertion violation in define-key
1622 * src/keymap.c (store_in_keymap): Don't use XFASTINT on non-character
1623 objects. Reported by Drew Adams <drew.adams@oracle.com>
1624 and Juanma Barranquero <lekktu@gmail.com>.
1626 2015-11-09 Dima Kogan <dima@secretsauce.net>
1628 Fix a memory leak in GC of font cache
1630 * src/alloc.c (compact_font_cache_entry): Don't GC unmarked font
1631 entities if some of the fonts it references are marked. This
1632 plugs a memory leak. (Bug#21556)
1634 2015-11-09 Paul Eggert <eggert@cs.ucla.edu>
1636 Use INT_ADD_WRAPV etc. to check integer overflow
1638 * src/alloc.c (xnmalloc, xnrealloc, xpalloc, Fmake_string):
1639 * src/buffer.c (record_overlay_string, overlay_strings):
1640 * src/casefiddle.c (casify_object):
1641 * src/ccl.c (Fccl_execute_on_string):
1642 * src/character.c (char_width, c_string_width, lisp_string_width)
1643 (count_size_as_multibyte, string_escape_byte8):
1644 * src/coding.c (coding_alloc_by_realloc, produce_chars):
1645 * src/data.c (arith_driver):
1646 * src/dispnew.c (realloc_glyph_pool, init_display):
1647 * src/editfns.c (styled_format):
1648 * src/fns.c (Ffillarray):
1649 * src/ftfont.c (ftfont_shape_by_flt):
1650 * src/gnutls.c (gnutls_hex_string):
1651 * src/gtkutil.c (get_utf8_string):
1652 * src/image.c (x_to_xcolors, x_detect_edges, png_load_body):
1653 * src/keymap.c (Fkey_description):
1654 * src/lisp.h (SAFE_ALLOCA_LISP):
1655 * src/term.c (encode_terminal_code):
1656 * src/tparam.c (tparam1):
1657 * src/xselect.c (x_property_data_to_lisp):
1658 * src/xsmfns.c (smc_save_yourself_CB):
1659 * src/xterm.c (x_term_init):
1660 When checking for integer overflow, prefer INT_MULTIPLY_WRAPV to
1661 more-complicated code involving division and/or
1662 INT_MULTIPLY_OVERFLOW, and similarly for INT_ADD_WRAPV and
1663 subtraction and/or INT_ADD_OVERFLOW.
1664 * src/casefiddle.c (casify_object): Simplify multibyte size check.
1665 * src/character.c: Remove some obsolete ‘#ifdef emacs’s.
1666 * src/data.c (arith_driver): Also check for division overflow,
1667 as that’s now possible given that the accumulator can now contain
1669 * src/lisp.h (lisp_word_count): Remove; no longer used.
1671 2015-11-08 Dmitry Gutov <dgutov@yandex.ru>
1673 Make sure that the ignore file exists
1675 * lisp/vc/vc.el (vc-default-ignore-completion-table):
1676 Make sure that the ignore file exists.
1678 2015-11-08 Michael Sperber <mike@xemacs.org>
1680 * gnus-sum.el (gnus-summary-backend-map): Bind B-backspace to
1681 `gnus-summary-delete-article` in a way that also works on XEmacs.
1683 2015-11-08 Simen Heggestøyl <simenheg@gmail.com>
1685 Add support for retrieving paths to JSON elements
1687 Add support for retrieving the path to a JSON element. This can for
1688 instance be useful to retrieve paths in deeply nested JSON
1691 * lisp/json.el (json-pre-element-read-function)
1692 (json-post-element-read-function): New variables to hold pre- and post
1693 read callback functions for `json-read-array' and `json-read-object'.
1694 (json--path): New variable used internally by `json-path-to-position'.
1695 (json--record-path, json--check-position): New functions used
1696 internally by `json-path-to-position'.
1697 (json-path-to-position): New function for retrieving the path to a
1698 JSON element at a given position.
1699 (json-read-object, json-read-array): Call
1700 `json-pre-element-read-function' and `json-post-element-read-function'
1703 * test/automated/json-tests.el (test-json-path-to-position-with-objects)
1704 (test-json-path-to-position-with-arrays)
1705 (test-json-path-to-position-no-match): New tests for
1706 `json-path-to-position'.
1708 2015-11-08 Karl Fogel <kfogel@red-bean.com>
1710 * etc/NEWS: Mention new `bookmark-set-no-overwrite'.
1712 This really should been part of my previous commit
1713 (Sun Nov 8 14:16:43 2015 -0500, git commit 3812e17978).
1715 2015-11-08 Karl Fogel <kfogel@red-bean.com>
1717 Offer non-overwrite bookmark setter (Bug#15746)
1719 * lisp/bookmark.el (bookmark-set-internal): New helper function to do
1720 what `bookmark-set' used to do, but with more choices for overwrite
1721 vs push, and with minor changes to the interactive prompt format.
1722 (bookmark-set): Rewrite as wrapper around above.
1723 If overwriting, inform the user of that in the prompt.
1724 (bookmark-set-no-overwrite): New function, also done as wrapper.
1725 Bind to "M" in `ctl-x-r-map' autoloads.
1726 (bookmark-map): Similarly bind "M" here.
1728 2015-11-08 Paul Eggert <eggert@cs.ucla.edu>
1730 * src/unexelf.c (NEW_PROGRAM_H): Remove unused macro (Bug#20614).
1732 2015-11-08 Alan Modra <amodra@gmail.com>
1734 ELF unexec: Don't insert a new section
1736 Reuse the .bss section instead, making it SHT_PROGBITS. This way we
1737 don't need to mess with symbol st_shndx, or section sh_link and
1740 This does lead to eu-elflint complaints about symbols defined in .bss
1741 with a needed version, because normally it is undefined symbols that
1742 have needed versions; Defined symbols have version definitions.
1743 The exception is symbols defined by the linker in .dynbss for
1744 variables copied from a shared library in order to avoid text
1745 relocations, with copy relocs to copy their initial values from the
1746 shared library. These symbols are both defined and have needed
1747 versions, and eu-elflink only expects to see them in SHT_NOBITS
1748 sections. Of course there is no real problem with having such symbols
1749 in SHT_PROGBITS sections. glibc ld.so handles them fine.
1751 * src/unexelf.c: Delete outdated comments.
1752 (PATCH_INDEX): Delete.
1753 (find_section): Delete.
1754 (unexec): Don't add a new section. Instead reuse the last bss
1755 section, extending it to cover dumped data. Make bss sections
1756 SHT_PROGBITS. Remove all patching of sh_link, sh_info and
1757 st_shndx. Rename bss sections.
1759 2015-11-08 Alan Modra <amodra@gmail.com>
1761 ELF unexec: Drive from PT_LOAD header rather than sections
1763 This rewrites bss handling in the ELF unexec code. Finding bss
1764 sections by name results in complicated code that
1765 - does not account for all names of possible bss sections,
1766 - assumes specific ordering of bss sections,
1767 - can wrongly choose a SHT_NOBITS section not in the bss segment,
1768 - incorrectly calculates bss size (no accounting for alignment gaps),
1769 - assumes .data and .bss are in the same segment.
1771 All of these problems and more are solved by finding the bss segment
1772 in PT_LOAD headers, ie. the address range included in p_memsz but not
1773 p_filesz of the last PT_LOAD header, then matching SHT_NOBITS sections
1774 in that address range.
1776 * src/unexelf.c: Delete old ppc comment.
1777 (OLD_PROGRAM_H): Define.
1779 (unexec): Don't search for bss style sections by name. Instead,
1780 use the last PT_LOAD header address range covered by p_memsz
1781 but not p_filesz and match any SHT_NOBITS section in that
1782 address range. Simplify initialisation of section header vars.
1783 Don't assume that section headers are above bss segment. Move
1784 copying of bss area out of section loop. Align .data2 section
1785 to 1, since it now covers the entire bss area. For SHT_NOBITS
1786 sections in the bss segment, leave sh_addr and sh_addralign
1787 unchanged, but correct sh_offset. Clear memory corresponding
1788 to SHT_NOBITS .plt section. Delete comment and hacks for
1789 sections partly overlapping bss range now that the full range
1790 is properly calculated. Delete now dead .sbss code.
1793 2015-11-08 Alan Modra <amodra@gmail.com>
1795 ELF unexec: R_*_NONE relocs
1797 These should be ignored on all targets.
1799 * src/unexelf.c (unexec): Ignore R_*_NONE relocs for any target,
1800 not just Alpha. Comment on reloc size assumption.
1802 2015-11-08 Alan Modra <amodra@gmail.com>
1804 ELF unexec: _OBJC_ symbols in bss sections
1806 This code assumed that there was only one bss section. Rather than
1807 checking for a particular index, check the section type. Also, handle
1808 the possibility that the section was SHT_NOBITS originally and is
1809 unchanged, in which case no clearing is needed (and sh_offset isn't
1810 necessarily valid, which can lead to a wild memset).
1812 * src/unexelf.c (unexec): Properly handle _OBJC_ symbols in
1815 2015-11-08 Alan Modra <amodra@gmail.com>
1817 ELF unexec: Symbol table patching
1819 No st_shndx value larger than SHN_LORESERVE should be changed.
1820 * src/unexelf.c (unexec): Don't adjust any st_shndx larger than
1821 SHN_LORESERVE. Error on SHN_XINDEX.
1823 2015-11-08 Alan Modra <amodra@gmail.com>
1825 ELF unexec: Merge Alpha and MIPS COFF debug handling
1827 * src/unexelf.c (unexec): Merge Alpha and MIPS COFF debug handling.
1828 Don't find .mdebug section index, find the section in the loop.
1829 Allow for unlikely possibility that .mdebug is located at sh_offset
1830 before bss segment, by calculating move from difference in
1831 sh_offset rather than just assuming new_data2_size. Simplify
1832 cbLineOffset handling.
1834 2015-11-08 Alan Modra <amodra@gmail.com>
1836 ELF unexec: Tidy code
1838 Separate out some of the more mechanical changes so following patches
1841 * src/unexelf.c (unexec): Rearrange initialisation of program
1842 header vars. Use pointer vars in loops rather than indexing
1843 section header array via macros. Simplify _OBJC_ sym code
1844 and reloc handling code.
1846 2015-11-08 Alan Modra <amodra@gmail.com>
1848 ELF unexec: Correct section header index
1850 First a small fix. The code incorrectly uses "NEW_SECTION_H (n)" when
1851 it should have been using "NEW_SECTION_H (nn)" to find the name of the
1852 section currently being processed. Of course, before the bss
1853 sections, n and nn have the same value, so this doesn't matter except
1854 in the case of .sbss. For .sbss this probably meant .bss (most likely
1855 the next section) was copied from memory. A later patch removes the
1856 bogus .sbss handling anyway.
1858 * src/unexelf.c (unexec): Use correct index to look up names.
1860 2015-11-08 Michael Albinus <michael.albinus@gmx.de>
1864 * lisp/filenotify.el (file-notify--rm-descriptor):
1865 Use `descriptor' instead of computing its value.
1866 (file-notify--descriptor): Additional argument FILE. Adapt all callees.
1867 (file-notify-rm-watch): Use `descriptor' when calling file name handler.
1870 2015-11-08 Dmitry Gutov <dgutov@yandex.ru>
1872 Remove dirs in vc project roots from the the vc project library roots
1874 * lisp/progmodes/project.el (project-library-roots):
1875 Remove directories inside the project roots from the result.
1876 (http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00536.html)
1878 2015-11-07 Dmitry Gutov <dgutov@yandex.ru>
1880 Move and rename xref-find-regexp to the project package
1882 * lisp/progmodes/project.el (project-find-regexp)
1883 (project--read-regexp)
1884 (project--find-regexp-in): New functions.
1886 * lisp/progmodes/xref.el (xref--find-xrefs): Extract from
1887 xref--show-xrefs. Use in existing callers in place of that
1889 (xref--show-xrefs): Only do the "show" part.
1890 (xref-find-regexp): Rename, more or less, to
1891 project-or-libraries-find-regexp.
1893 2015-11-06 Dmitry Gutov <dgutov@yandex.ru>
1895 Abolish temporary buffer management for xref
1897 * lisp/progmodes/xref.el (xref--temporary-buffers)
1899 (xref--inhibit-mark-current)
1900 (xref--mark-selected): Remove. Remove all references.
1901 (xref--show-xrefs): Do not construct the
1902 list of the temporary buffers, nor pass it along.
1904 2015-11-06 Dmitry Gutov <dgutov@yandex.ru>
1906 Rename "search path" to "library roots"
1908 * lisp/emacs-lisp/cl-seq.el (cl-set-difference): Retain the order
1909 of the elements from CL-LIST1.
1911 * test/automated/cl-lib-tests.el (cl-lib-test-set-functions):
1912 Update WRT to the above change.
1914 * lisp/progmodes/project.el (project-search-path-function): Rename
1915 to project-library-roots-function, update the documentation and
1917 (project-search-path): Likewise, to project-library-roots.
1918 (project-roots): Clarify documentation.
1919 (project-vc-search-path): Likewise, to project-vc-library-roots.
1920 (project-library-roots): In addition to the renames, thread the
1921 results through file-name-as-directory.
1922 (project-prune-directories): Accept a variable number of
1923 arguments. Rename to project-combine-directories.
1924 (project-subtract-directories): New function.
1926 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references):
1927 Append project-roots and project-library-roots together.
1929 * lisp/progmodes/etags.el (etags--xref-find-references): Ditto.
1931 2015-11-08 Paul Eggert <eggert@cs.ucla.edu>
1933 Prefer xpalloc to doubling buffers by hand
1935 * src/lread.c (grow_read_buffer): New function, which uses xpalloc.
1936 (read1): Use it for simplicity.
1937 * src/macros.c (store_kbd_macro_char):
1938 * src/minibuf.c (read_minibuf_noninteractive):
1939 * src/term.c (encode_terminal_code):
1940 * src/xrdb.c (magic_db):
1941 Prefer xpalloc to growing buffers by hand.
1942 This doesn’t fix any bugs, but simplifies the code a bit.
1944 2015-11-08 Paul Eggert <eggert@cs.ucla.edu>
1949 2015-11-05 timespec-sub: fix overflow bug; add tests
1950 2015-11-04 intprops: revise _WRAPV macros, revert _OVERFLOW
1951 2015-11-03 intprops: add parentheses
1952 * lib/intprops.h, lib/timespec-add.c, lib/timespec-sub.c:
1955 2015-11-07 David Reitter <david.reitter@gmail.com>
1957 Provide NS notification objects where required to eliminate warnings
1959 * nsterm.m (windowDidResize:, toggleFullScreen:):
1960 Call notification functions with notification objects
1961 as per delegate APIs.
1963 2015-11-07 Noam Postavsky <npostavs@users.sourceforge.net>
1965 Add test for bug #21824
1967 * test/automated/buffer-tests.el: New file.
1968 (overlay-modification-hooks-message-other-buf): New test.
1970 2015-11-07 Kelvin White <kwhite@gnu.org>
1972 * lisp/erc/erc-pcomplete.el (pcomplete-erc-nicks): Fix bug#18771.
1974 2015-11-07 David Reitter <david.reitter@gmail.com>
1976 Ignore fullscreen exit notifications on NS when frame is dead
1978 * nsterm.m (windowDidResize:, windowWillExitFullScreen:)
1979 (windowDidExitFullScreen:): Return if frame is dead.
1980 These functions may be called when a fullscreen frame
1981 is closed; they are called before, not after.
1983 May address Bug#21428.
1985 2015-11-07 Eli Zaretskii <eliz@gnu.org>
1987 Speed up lookup in redisplay--variables
1989 * lisp/frame.el (redisplay--variables): Make it a hash-table.
1991 * src/xdisp.c (maybe_set_redisplay): Access redisplay--variables
1992 as a hash-table. This speeds up this function by an order of
1993 magnitude: where previously a setq was slowed down by 100% by
1994 introducing the maybe_set_redisplay test, it is now only 5%
1996 (syms_of_xdisp) <redisplay--variables>: Doc fix.
1998 2015-11-07 Artur Malabarba <bruce.connor.am@gmail.com>
2000 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Fix a bug.
2002 The defsubst was being created as:
2003 (cl-defsubst name (args) ("DOC") ...)
2005 * test/automated/cl-lib-tests.el (cl-lib-struct-constructors):
2008 2015-11-07 Mihai Olteanu <mihai_olteanu@fastmail.fm> (tiny change)
2010 Update doc string of hexl-mode
2012 * lisp/hexl.el (hexl-mode): Doc fix. (Bug#21800)
2014 2015-11-07 Eli Zaretskii <eliz@gnu.org>
2016 Fix error in copy-abbrev-table
2018 * lisp/abbrev.el (define-abbrev): Don't erase the :abbrev-table-modiff
2019 property of the abbrev-table. (Bug#21828)
2021 * test/automated/abbrev-tests.el: New file.
2023 2015-11-07 Michael Albinus <michael.albinus@gmx.de>
2025 Add test to auto-revert-tests.el for Bug#21841
2027 * test/automated/auto-revert-tests.el
2028 (auto-revert-test01-auto-revert-several-files): New test.
2029 (auto-revert-test02-auto-revert-tail-mode)
2030 (auto-revert-test03-auto-revert-mode-dired): Rename them.
2032 2015-11-07 Martin Rudalics <rudalics@gmx.at>
2034 * doc/lispref/windows.texi (Coordinates and Windows): Fix typo.
2036 2015-11-07 Martin Rudalics <rudalics@gmx.at>
2038 In x_consider_frame_title don't set title of tooltip frames
2040 * src/xdisp.c (x_consider_frame_title): Return immediately for
2041 tooltip frames to avoid displaying empty tooltips.
2043 2015-11-06 Anders Lindgren <andlind@gmail.com>
2045 Fixed NextStep fullscreen problem (bug#21770).
2047 * src/nsterm.m (ns_constrain_all_frames): Don't constrain
2050 2015-11-06 Eli Zaretskii <eliz@gnu.org>
2052 Ensure redisplay after evaluation
2054 * lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp):
2056 * lisp/frame.el (redisplay--variables): Populate the
2057 redisplay--variables list.
2058 * src/xdisp.c (maybe_set_redisplay): New function.
2059 (syms_of_xdisp) <redisplay--variables>: New variable.
2060 * src/window.h (maybe_set_redisplay): Declare prototype.
2061 * src/data.c (set_internal): Call maybe_set_redisplay. (Bug#21835)
2063 2015-11-06 Artur Malabarba <bruce.connor.am@gmail.com>
2065 * test/automated/subr-tests.el (subr-test-when): Fix again.
2067 2015-11-06 Eli Zaretskii <eliz@gnu.org>
2069 Don't invoke overlay modification hooks in wrong buffer
2071 * src/buffer.c (report_overlay_modification): When called with
2072 AFTER non-zero, don't invoke overlay modification hooks if the
2073 buffer recorded in last_overlay_modification_hooks is different
2074 from the current buffer. (Bug#21824)
2076 2015-11-06 Juanma Barranquero <lekktu@gmail.com>
2078 * admin/notes/repo: Fix a few obsolete references to Bazaar.
2080 2015-11-06 Artur Malabarba <bruce.connor.am@gmail.com>
2082 * test/automated/subr-tests.el (subr-test-when): Fix test.
2084 2015-11-06 Martin Rudalics <rudalics@gmx.at>
2086 Avoid division by zero crash observed by Yuan MEI
2088 See http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00194.html.
2090 * src/dispnew.c (required_matrix_height, required_matrix_width):
2091 Avoid division by zero.
2092 * src/xterm.c (x_term_init): Init dpyinfo->smallest_font_height and
2093 dpyinfo->smallest_char_width to 1.
2095 2015-11-06 Eli Zaretskii <eliz@gnu.org>
2097 Ensure redisplay after "C-x C-e"
2099 * lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp): Make sure
2100 redisplay happens to account for any side effects of the evaluated
2103 2015-11-06 Michael Albinus <michael.albinus@gmx.de>
2105 Skip some file notification tests for cygwin
2107 * test/automated/file-notify-tests.el (file-notify--test-with-events):
2108 Remove argument TIMEOUT. Adapt all callees.
2109 (file-notify-test02-events, file-notify-test04-file-validity):
2110 Skip for cygwin. (Bug#21804)
2112 2015-11-05 Stephen Leake <stephen_leake@stephe-leake.org>
2114 * lisp/progmodes/xref.el: Require semantic/symref during compilation.
2116 2015-11-05 Daiki Ueno <ueno@gnu.org>
2118 Suppress redundant Pinentry startup messages
2120 * lisp/net/pinentry.el (pinentry-start): Add optional QUIET argument.
2121 * lisp/epg.el: Declare `pinentry-start'.
2122 (epg--start): Call `pinentry-start' with QUIET argument set.
2124 2015-11-05 Xue Fuqiao <xfq.free@gmail.com>
2126 * doc/emacs/ack.texi (Acknowledgments): Updates.
2128 2015-11-05 Juanma Barranquero <lekktu@gmail.com>
2130 * test/automated/elisp-mode-test.el: Silence some run-time warnings.
2131 (xref-elisp-deftest): Bind `find-file-suppress-same-file-warnings' to t.
2133 2015-11-05 Tassilo Horn <tsdh@gnu.org>
2135 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
2136 Add prettification support for \times.
2138 2015-11-05 Juanma Barranquero <lekktu@gmail.com>
2140 * test/automated/process-tests.el: Skip tests when bash is unavailable.
2141 (process-test-sentinel-accept-process-output)
2142 (process-test-sentinel-sit-for): skip-unless bash executable found.
2144 2015-11-05 Eli Zaretskii <eliz@gnu.org>
2146 Add test for bug #21831
2148 * test/automated/process-tests.el
2149 (start-process-should-not-modify-arguments): New test. (Bug#21831)
2150 Suggested by Nicolas Richard <youngfrog@members.fsf.org>
2152 2015-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2154 * lisp/emacs-lisp/eieio-compat.el: Typo caught by tests.
2156 (eieio--generic-static-object-generalizer): Fix typo.
2157 * test/automated/eieio-tests.el: Byte-compile it again. It looks
2158 like the underlying cause of bug#17852 was fixed in the mean time.
2160 2015-11-04 Artur Malabarba <bruce.connor.am@gmail.com>
2162 Revert "* lisp/subr.el (when): Use `macroexp-progn'"
2164 This reverts commit 8e843831eaf271801836b7a3e4dd3b4fb0bb72b8.
2165 It breaks bootstrapping (duh).
2167 2015-11-04 Artur Malabarba <bruce.connor.am@gmail.com>
2169 * lisp/files.el (report-errors): Obsolete.
2171 (normal-mode, hack-local-variables, dir-locals-find-file):
2172 Use `with-demoted-errors' instead.
2174 2015-11-04 Artur Malabarba <bruce.connor.am@gmail.com>
2176 * lisp/subr.el (when): Use `macroexp-progn'.
2178 * test/automated/subr-tests.el (subr-test-when): New test.
2180 2015-11-04 Juanma Barranquero <lekktu@gmail.com>
2182 * lisp/progmodes/xref.el: Doc fixes.
2183 (xref-make-file-location, xref-make-buffer-location, xref-make)
2184 (xref-make-bogus-location, xref-make-match): Add cross-references.
2185 (xref--insert-xrefs): Fix typo in docstring.
2187 2015-11-04 Anders Lindgren <andlind@gmail.com>
2189 Render fringe bitmaps correctly on NextStep (bug#21301)
2191 The fringe bitmaps were inverted, the background was not transparent,
2192 the image data was horizontally mirrored, and periodic fringe bitmaps
2195 * src/nsimage.m ([EmacsImage initFromXBM:width:height:fg:bg:]):
2196 When both background and foreground colors are 0, set the background
2197 alpha channel to 0 (making the background transparent). When
2198 copying the image data, do this from the most significant bit
2199 (leftmost) to the least (rightmost), to avoid mirroring.
2200 * src/nsterm.m (ns_draw_fringe_bitmap): Don't invert the image bits.
2201 Add support for periodic images (e.g. the empty line indicator).
2203 2015-11-03 Michael Heerdegen <michael_heerdegen@web.de>
2205 * lisp/emacs-lisp/pcase.el (pcase): Tweak docstring.
2207 2015-11-03 Nicolas Petton <nicolas@petton.fr>
2209 * admin/MAINTAINERS: Add seq-tests.el, map-tests.el, and thunk-tests.el.
2211 * admin/MAINTAINERS: Add thunk.el.
2213 2015-11-03 Jay Belanger <jay.p.belanger@gmail.com>
2215 * lisp/calc/calc (calc-bug-address): Change maintainer address.
2217 2015-11-03 Michael Albinus <michael.albinus@gmx.de>
2219 Fix a stupid error in gfilenotify.c
2221 * src/gfilenotify.c (dir_monitor_callback): Cancel monitor only,
2222 if we've got a `deleted' signal AND the file name is the watched one.
2224 2015-11-03 Stephen Leake <stephen_leake@stephe-leake.org>
2226 Fix Bug#21816; case insensitive file system in elisp-mode-tests.el
2228 * test/automated/elisp-mode-tests.el (xref-elisp-test-run):
2229 Use case-insensitive string compare for file names.
2230 (emacs-test-dir): Add 'downcase' to cause case differences (at
2231 least on my system).
2233 2015-11-02 Juanma Barranquero <lekktu@gmail.com>
2235 flymake-tests.el (warning-predicate-rx-gcc): Fix check
2237 * test/automated/flymake-tests.el (warning-predicate-rx-gcc):
2238 Also check that "make" is available, not just "gcc".
2240 2015-11-02 Ken Brown <kbrown@cornell.edu>
2242 Document behavior of collation on Cygwin
2244 * test/automated/fns-tests.el (fns-tests-collate-sort): Mark as
2245 expected failure on Cygwin.
2246 * doc/lispref/strings.texi (Text Comparison): Document that
2247 punctuation and whitespace are not ignored for sorting on Cygwin.
2249 2015-11-02 Dani Moncayo <dmoncayo@gmail.com>
2251 * build-aux/msys-to-w32: Prevent double slashes in w32 path list.
2253 2015-11-01 Glenn Morris <rgm@gnu.org>
2255 * lisp/progmodes/f90.el (f90-no-block-limit): Add associate.
2257 * test/automated/f90.el (f90-test-bug21794): New test.
2259 2015-11-01 Juanma Barranquero <lekktu@gmail.com>
2261 Fix incompatibility with TCC in test for bug#18745
2263 * test/automated/process-tests.el (process-test-quoted-batfile):
2264 Remove spaces unrelated to the bug being tested.
2266 2015-11-01 Michael Albinus <michael.albinus@gmx.de>
2268 Improve completion in tramp-gvfs.el
2270 * lisp/net/tramp-gvfs.el (tramp-zeroconf-parse-device-names):
2271 Rename from `tramp-zeroconf-parse-service-device-names'.
2272 (tramp-zeroconf-parse-webdav-device-names): Remove. Code merged
2273 with `tramp-zeroconf-parse-device-names'.
2274 (tramp-gvfs-parse-device-names): New defun.
2275 (top): Use it when `tramp-zeroconf-parse-device-names' is not
2278 * lisp/net/tramp.el (tramp-set-completion-function): The argument
2279 could also be a zeroconf service type.
2281 2015-10-31 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2283 * lisp/net/ntlm.el: Change version to 2.0.0.
2285 2015-10-31 Juanma Barranquero <lekktu@gmail.com>
2288 * lisp/progmodes/python.el (python-syntax-closing-paren-p): Check with
2289 `eql' instead of `=' to accommodate the case that (syntax-after (point))
2291 * test/automated/python-tests.el (python-indent-inside-paren-7):
2294 2015-10-31 Juanma Barranquero <lekktu@gmail.com>
2296 * test/automated/python-tests.el: Avoid warnings.
2297 (python-tests-with-temp-buffer, python-tests-with-temp-file):
2298 Bind `python-indent-guess-indent-offset' to nil.
2300 2015-10-31 Juanma Barranquero <lekktu@gmail.com>
2302 * src/alloc.c: Silence compiler warnings.
2303 (pointers_fit_in_lispobj_p, mmap_lisp_allowed_p): #ifdef DOUG_LEA_MALLOC.
2305 2015-10-31 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
2307 * etc/NEWS: Fix js-jsx-mode entry punctuation.
2309 2015-10-31 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
2311 Add JSX indentation via js-jsx-mode (Bug#21799)
2313 * progmodes/js.el: Add JSX indentation support.
2314 (js--jsx-end-tag-re)
2315 (js--jsx-after-tag-re): New variables.
2316 (js--jsx-find-before-tag)
2317 (js--jsx-indented-element-p)
2319 (js--expression-in-sgml-indent-line)
2320 (js-jsx-indent-line)
2321 (js-jsx-mode): New functions.
2322 * test/indent/js-jsx.el: New file.
2323 * etc/NEWS: Add information about js-jsx-mode.
2325 2015-10-31 Michael Albinus <michael.albinus@gmx.de>
2327 Minor fix in filenotify.el
2329 * lisp/filenotify.el (file-notify--event-file-name)
2330 (file-notify--event-file1-name): Normalize result with
2331 `directory-file-name'.
2333 2015-10-31 Eli Zaretskii <eliz@gnu.org>
2335 Avoid errors in redisplay--pre-redisplay-functions
2337 * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Don't
2338 use 'bobp', instead compare window-point with 1. (Bug#21730)
2340 2015-10-30 Paul Eggert <eggert@cs.ucla.edu>
2345 2015-10-30 intprops: add WRAPV and const flavors for GCC 5
2346 2015-10-25 stdalign: port to Sun C 5.9
2347 * doc/misc/texinfo.tex, lib/intprops.h, lib/stdalign.in.h:
2350 2015-10-30 Eli Zaretskii <eliz@gnu.org>
2352 * src/w32proc.c (_NLSCMPERROR): Fix a typo in the name of this macro.
2353 (w32_compare_strings): Adjust for the correction.
2355 2015-10-30 Michael Albinus <michael.albinus@gmx.de>
2357 * test/automated/vc-tests.el (vc-test--state)
2358 (vc-test--working-revision, vc-test--checkout-model):
2359 Add result messages.
2361 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
2363 * test/automated/faces-tests.el: Add another test
2365 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
2367 * lisp/faces.el (faces--attribute-at-point): Fix bug
2368 introduced by previous commit.
2370 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
2372 * test/automated/faces-tests.el: New file.
2374 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
2376 * lisp/faces.el: Refactor common code and fix a bug.
2377 (faces--attribute-at-point): New function. Fix a bug when the
2378 face at point is a list of faces and the desired attribute is not
2380 (foreground-color-at-point, background-color-at-point): Use it.
2382 2015-10-30 Przemysław Wojnowski <esperanto@cumego.com>
2384 * etc/tutorials/TUTORIAL.translators: Fix PL names.
2386 2015-10-30 Juanma Barranquero <lekktu@gmail.com>
2388 * lisp/character-fold.el: Provide `character-fold'.
2390 2015-10-30 Tassilo Horn <tsdh@gnu.org>
2392 * etc/themes/tsdh-dark-theme.el (tsdh-dark): Add more faces
2395 2015-10-30 Michael Albinus <michael.albinus@gmx.de>
2397 Some minor fixes for tramp-gvfs.el
2399 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
2400 An attribute returned by gvfs-info might be empty. In case of
2401 undetermined uid or gid, return "UNKNOWN" or -1, respectively.
2402 (tramp-zeroconf-parse-service-device-names): New defun.
2403 Derived from `tramp-zeroconf-parse-workstation-device-names'.
2404 (top): Add completion functions for "afp" and "smb" methods.
2406 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
2408 * test/automated/character-fold-tests.el: New file
2410 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
2412 * test/automated/sort-tests.el: New file.
2413 Tests in this file are randomly generated and then tested with
2414 regular, reverse, and case-fold sorting.
2416 2015-10-30 Eli Zaretskii <eliz@gnu.org>
2418 Describe known problems with pinning Emacs to taskbar
2420 * etc/PROBLEMS: Describe the problem with pinning Emacs to taskbar
2421 on Windows 10. For the details, see the discussion starting at
2422 http://lists.gnu.org/archive/html/help-emacs-windows/2015-09/msg00000.html.
2424 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
2426 * lisp/isearch.el: Avoid an error that blocks isearch.
2427 (isearch-update): Don't error if `isearch--current-buffer' has
2430 * test/automated/isearch-tests.el (isearch--test-update):
2433 2015-10-30 Phil Sainty <psainty@orcon.net.nz>
2435 Fix documentation of 'beginning/end-of-buffer'
2437 * lisp/simple.el (beginning-of-buffer, end-of-buffer): Clarify
2438 conditions under which the mark will be pushed at the previous
2439 position. (Bug#21748)
2441 2015-10-30 Tassilo Horn <tsdh@gnu.org>
2443 Add RefTeX feature idea: editing RefTeX TOC buffers
2445 More face defs for ivy, swiper, ace-window, eshell
2447 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2449 * lisp/gnus/auth-source.el: Silence lexical-binding warnings.
2450 (auth-source-netrc-use-gpg-tokens): Simplify (symbol-value 'VAR) to
2452 (auth-source-backend-parse): Use make-instance.
2453 (auth-source-search): Remove unused key args.
2454 Remove unused vars `accessor-key' and `backend'. Avoid `eval'.
2455 (auth-source-search-backends): Use slot names rather than their initarg.
2456 (auth-source-netrc-create):
2457 (auth-source-delete):
2458 (auth-source-secrets-create, auth-source-plstore-search)
2459 (auth-source-macos-keychain-create, auth-source-macos-keychain-search)
2460 (auth-source-plstore-create, auth-source-netrc-search)
2461 (auth-source-netrc-parse): Remove unused key args.
2462 (auth-source-forget+): Simplify the arglist.
2463 (auth-source-macos-keychain-search-items)
2464 (auth-source-token-passphrase-callback-function): Mark unused args.
2465 (auth-source-epa-extract-gpg-token): Remove unused var `plain'.
2466 (pp-escape-newlines): Declare.
2467 (auto-source--symbol-keyword): New function.
2468 (auth-source-plstore-create, auth-source-netrc-create)
2469 (auth-source-netrc-normalize): Use it.
2470 (auth-source-netrc-search): Don't pass :delete to
2471 auth-source-netrc-parse since it doesn't use it.
2472 (auth-source-plstore-create, auth-source-netrc-create): Use plist-get
2473 symbol-value to index in keyword args.
2474 (auth-source-macos-keychain-result-append): Avoid setq.
2475 (auth-source-netrc-create): Remove unused vars `file' and `add'.
2476 (auth-source-user-or-password): Remove unused var `cname'.
2478 2015-10-29 Juri Linkov <juri@linkov.net>
2480 * lisp/dired.el (dired-unmark-all-files-query): Declare.
2481 (dired-unmark-all-files): Let-bind it and use instead of ‘query’.
2484 2015-10-29 Juri Linkov <juri@linkov.net>
2486 * lisp/ielm.el (ielm-indent-line): Use non-nil arg of comint-bol
2487 to go to the beginning of text line instead of command line.
2488 http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02360.html
2490 2015-10-29 Eli Zaretskii <eliz@gnu.org>
2492 Fix encoding of saving *Help* buffers
2494 * lisp/help-fns.el (describe-function-1): If we use curved quotes,
2495 set help buffer's buffer-file-coding-system to UTF-8. (Bug#21780)
2497 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2499 * lisp/emacs-lisp/cl-generic.el: Add (major-mode MODE) context.
2500 (cl--generic-derived-specializers): New function.
2501 (cl--generic-derived-generalizer): New generalizer.
2502 (cl-generic-generalizers): New specializer (derived-mode MODE).
2503 (cl--generic-split-args): Apply the rewriter, if any.
2504 (cl-generic-define-context-rewriter): New macro.
2505 (major-mode): Use it to define a new context-rewriter, so we can write
2506 `(major-mode MODE)' instead of `(major-mode (derived-mode MODE))'.
2508 * lisp/frame.el (window-system): New context-rewriter so we can write
2509 `(window-system VAL)' instead of (window-system (eql VAL)).
2510 (cl--generic-split-args): Apply the rewriter, if any.
2511 (frame-creation-function): Use the new syntax.
2513 * lisp/term/x-win.el (window-system-initialization)
2514 (handle-args-function, frame-creation-function)
2515 (gui-backend-set-selection, gui-backend-selection-owner-p)
2516 (gui-backend-selection-exists-p, gui-backend-get-selection):
2517 * lisp/term/w32-win.el (window-system-initialization)
2518 (handle-args-function, frame-creation-function)
2519 (gui-backend-set-selection, gui-backend-get-selection)
2520 (gui-backend-selection-owner-p, gui-backend-selection-exists-p):
2521 * lisp/term/pc-win.el (gui-backend-get-selection)
2522 (gui-backend-selection-exists-p, gui-backend-selection-owner-p)
2523 (gui-backend-set-selection, window-system-initialization)
2524 (frame-creation-function, handle-args-function):
2525 * lisp/term/ns-win.el (window-system-initialization)
2526 (handle-args-function, frame-creation-function)
2527 (gui-backend-set-selection, gui-backend-selection-exists-p)
2528 (gui-backend-get-selection):
2529 * lisp/startup.el (handle-args-function):
2530 * lisp/term/xterm.el (gui-backend-get-selection)
2531 (gui-backend-set-selection): Use the new syntax.
2533 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2535 * test/indent/css-mode.css: Add tests for url(...) syntax.
2537 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2539 * lisp/emacs-lisp/smie.el: Use `declare' for `pure'.
2540 (smie-precs->prec2, smie-merge-prec2s, smie-bnf->prec2)
2541 (smie-prec2->grammar): Use `declare'.
2543 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2545 * lisp/emacs-lisp/cl-generic.el: Accommodate future changes.
2546 (cl--generic-generalizer): Add `name' field.
2547 (cl-generic-make-generalizer): Add corresponding `name' argument.
2548 (cl-generic-define-generalizer): New macro.
2549 (cl--generic-head-generalizer, cl--generic-eql-generalizer)
2550 (cl--generic-struct-generalizer, cl--generic-typeof-generalizer)
2551 (cl--generic-t-generalizer): Use it.
2552 (cl-generic-ensure-function): Add `noerror' argument.
2553 (cl-generic-define): Use it so we don't follow aliases.
2554 (cl-generic-define-method): Preserve pre-existing ordering of methods.
2555 (cl--generic-arg-specializer): New function.
2556 (cl--generic-cache-miss): Use it.
2557 (cl-generic-generalizers): Only fset a temporary definition
2559 (cl--generic-struct-tag, cl--generic-struct-specializers):
2560 Allow extra arguments.
2562 * lisp/emacs-lisp/eieio-compat.el
2563 (eieio--generic-static-symbol-generalizer)
2564 (eieio--generic-static-object-generalizer):
2565 Use cl-generic-define-generalizer.
2566 (eieio--generic-static-symbol-specializers): Allow extra arguments.
2568 * lisp/emacs-lisp/eieio-core.el (eieio--generic-generalizer)
2569 (eieio--generic-subclass-generalizer):
2570 Use cl-generic-define-generalizer.
2571 (eieio--generic-subclass-specializers): Allow extra arguments.
2573 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2575 * lisp/emacs-lisp/bytecomp.el (compile-defun): Add defvars in scope.
2577 2015-10-29 Michael Albinus <michael.albinus@gmx.de>
2579 Add "afp" method to Tramp
2581 * doc/misc/tramp.texi (GVFS based methods): Describe `afp' method.
2583 * lisp/net/tramp-gvfs.el (tramp-gvfs-methods): Add "afp" method.
2584 (tramp-gvfs-handle-expand-file-name)
2585 (tramp-gvfs-handler-mounted-unmounted)
2586 (tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec)
2587 (tramp-gvfs-maybe-open-connection): Support also "afp".
2588 (tramp-gvfs-handle-file-attributes): Handle the case of empty
2589 "owner::user" and "owner::group" entries.
2591 2015-10-29 Andy Moreton <andrewjmoreton@gmail.com>
2593 Handle negative coordinates in ‘x_calc_absolute_position’
2595 * src/w32term.c (x_calc_absolute_position): Find display origin to
2596 allow for negative coordinates.
2598 2015-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2600 (internal--syntax-propertize): Save match-data here (bug#21766)
2602 * lisp/emacs-lisp/syntax.el (internal--syntax-propertize): Save match-data.
2603 * lisp/simple.el (delete-trailing-whitespace): Undo last change.
2605 2015-10-28 Dmitry Gutov <dgutov@yandex.ru>
2607 Don't require default-directory to end with a slash
2609 * doc/lispref/files.texi (Magic File Names): Document the change
2610 in unhandled-file-name-directory.
2612 * lisp/url/url-handlers.el
2613 (url-handler-unhandled-file-name-directory): Update accordingly.
2615 * src/buffer.c (default-directory): Update the docsting.
2617 * src/fileio.c (unhandled-file-name-directory): Default to calling
2618 `file-name-as-directory'
2619 (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02294.html).
2621 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
2623 * lisp/isearch.el: Delete some outdated comments.
2625 2015-10-28 Vibhav Pant <vibhavp@gmail.com>
2627 Fix eshell/clear not working if the output has a small line count
2629 * lisp/eshell/esh-mode.el (eshell/clear): Use (window-size) as the
2630 number of newlines to be inserted. This fixes the issue where
2631 eshell/clear wouldn't work if the prompt was not at the bottom of the
2632 window, and the output wasn't too long.
2634 2015-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2636 * lisp/files.el (write-file): Use vc-refresh-state.
2638 * lisp/autorevert.el (auto-revert-handler): Use vc-refresh-state.
2640 * lisp/vc/pcvs.el (cvs-revert-if-needed): Use vc-refresh-state.
2642 2015-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2644 * lisp/emacs-lisp/macroexp.el: Tweak macroexp-if optimizations.
2645 (macroexp-unprogn): Make sure we never return an empty list.
2646 (macroexp-if): Remove unused (and unsafe) optimization.
2647 Optimize (if A T (if B T E)) into (if (or A B) T E) instead, which does
2650 2015-10-28 Juanma Barranquero <lekktu@gmail.com>
2652 Fix bug#21766 and add test
2653 * lisp/simple.el (delete-trailing-whitespace): Save match data when
2654 calling `skip-syntax-backward'.
2655 * test/automated/simple-test.el (simple-delete-trailing-whitespace):
2658 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
2660 * doc/lispref/sequences.texi (Sequence Functions): Fix typo.
2662 2015-10-28 Paul Eggert <eggert@cs.ucla.edu>
2664 * src/dispnew.c (init_display): Simplify overflow checking.
2666 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
2668 * lisp/character-fold.el (character-fold-to-regexp): Fix case
2669 where string ends in space
2671 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
2673 * lisp/emacs-lisp/seq.el (seq-mapn): New function.
2675 * doc/lispref/sequences.texi (Sequence Functions): Document seq-mapn.
2677 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
2679 * lisp/character-fold.el: Make compatible with lax-whitespace.
2680 (character-fold-to-regexp): Rework internals to play nice with
2683 When the user types a space, we want to match the table entry for
2684 ?\s, which is generally a regexp like "[ ...]". However, the
2685 `search-spaces-regexp' variable doesn't "see" spaces inside these
2686 regexp constructs, so we need to use "\\( \\|[ ...]\\)" instead (to
2687 manually expose a space).
2689 Furthermore, the lax search engine acts on a bunch of spaces, not
2690 on individual spaces, so if the string contains sequential spaces
2691 like " ", we need to keep them grouped together like this:
2692 "\\( \\|[ ...][ ...]\\)".
2694 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
2696 * lisp/isearch.el: Refactor momentary messages.
2697 (isearch--momentary-message): New function.
2698 (isearch-toggle-lax-whitespace, isearch-toggle-case-fold)
2699 (isearch-toggle-invisible): Use it.
2701 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
2703 * lisp/isearch.el: Define all toggles with `isearch-define-mode-toggle'.
2704 (isearch-define-mode-toggle): New macro.
2705 (isearch-toggle-invisible): Rename to
2706 `isearch-define-mode-toggle'.
2707 (isearch-toggle-case-fold, isearch-toggle-invisible)
2708 (isearch-toggle-regexp, isearch-toggle-lax-whitespace): Define
2709 with `isearch-define-mode-toggle'.
2711 2015-10-28 Michael Albinus <michael.albinus@gmx.de>
2713 Avoid using `add-to-list' on a let-local var in tramp-smb.el
2715 * lisp/net/tramp-compat.el (tramp-compat-delete-dups): New defun.
2716 * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files): Use it.
2718 2015-10-28 Anders Lindgren <andlind@gmail.com>
2720 Merge branch 'master' of /Volumes/HD2/build/emacs-git-ssh
2722 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/emacs
2724 Merge branch 'master' of /Volumes/HD2/build/emacs-git-ssh
2726 2015-10-28 Michael Albinus <michael.albinus@gmx.de>
2728 * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files):
2729 Revert 692bce5b9eccfae19ae2a5a23a9ccd8d6bf86076, `delete-dups'
2730 does not exist in XEmacs 21.4.
2732 2015-10-28 Anders Lindgren <andlind@gmail.com>
2734 Fixed OS X startup crash
2736 Input events started to arrive before ns_term_init() was finished.
2737 Solved by blocking input. This also seems to correct the "You
2738 can't open the application "Emacs" because it may be damaged or
2739 incomplete" error issued when double-clicking on the Emacs
2742 * nsterm.m (ns_constrain_all_frames, ns_init_term): Block input.
2743 * nsterm.m (ns_send_appdefined, EmacsApp): Trace output.
2745 2015-10-28 Anders Lindgren <andlind@gmail.com>
2747 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/emacs
2749 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
2751 * src/process.c (Fget_buffer_process): Improve docstring.
2752 Document the fact that it doesn't return dead processes.
2754 2015-10-28 Anders Lindgren <andlind@gmail.com>
2756 Fix incorrect NextStep tool-bar-mode -- wrong number of rows in frame.
2758 * nsterm.h (struct ns_output): New flag, in_animation.
2759 * nsfns.m (Fx_create_frame): Initialize in_animation flag.
2760 * nsmenu.m (free_frame_tool_bar, update_frame_tool_bar): Set
2761 in_animation flag around call to "setVisible". Set new tool bar
2762 height before call to setVisible.
2763 * nsterm.m (x_set_window_size): Don't call [view setRow:
2764 andColumns:] as this fools the subsequent call to updateFrameSize
2765 from performing the real resize.
2766 (windowDidResize): Don't update anything when in_animation is
2771 * nsmenu.m (free_frame_tool_bar, update_frame_tool_bar)
2773 * nsterm.m (x_set_window_size, updateFrameSize)
2774 ([EmacsView setRows: andColumns:])
2776 2015-10-28 Nicolas Petton <nicolas@petton.fr>
2778 * lisp/emacs-lisp/thunk.el (thunk-delay): Fix the macro.
2780 2015-10-28 Tassilo Horn <tsdh@gnu.org>
2782 Prettify TeX macros not ending in a word char
2784 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
2785 Prettify macros which don't end in a word character.
2787 2015-10-27 Dmitry Gutov <dgutov@yandex.ru>
2789 Pipe Hg commit descriptions through 'tabindent'
2791 * lisp/vc/vc-hg.el (vc-hg-log-format): Pipe commit description
2792 through 'tabindent'.
2793 (vc-hg-log-view-mode): Set tab-width to 2 locally.
2794 (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02259.html)
2796 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
2798 * lisp/net/tramp-smb.el: Avoid using `add-to-list' on a let-local var.
2799 (tramp-smb-handle-directory-files): Use `delete-dups'.
2801 * lisp/net/tramp.el (auto-save-file-name-transforms): Declare.
2803 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
2805 * lisp/international/ccl.el: Use lexical-binding.
2806 (ccl-compile-if): Remove unused var `false-ic'.
2807 (ccl-compile-write-repeat): Remove unused var `i'.
2808 (ccl-compile-map-single): Remove unused var `id'.
2809 (ccl-dump, ccl-dump-binary): Use explicit let-binding to bind the
2810 dynamic var `ccl-code'.
2812 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
2814 * lisp/json.el (json-new-object): Optimize trivial `list' call.
2816 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
2818 * lisp/help.el: Fix bug with incorrect arglist string.
2819 (help-add-fundoc-usage): Don't mistake a mis-formatted string
2822 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
2824 * lisp/gnus/gnus-topic.el: Silence some warnings.
2825 (gnus-topic-prepare-topic): Remove unused var `topic'.
2826 (gnus-topic-remove-topic): Mark unused arg `hide'.
2827 (gnus-tmp-header): Declare.
2828 (gnus-topic-goto-missing-group): Remove unused var `entry'.
2829 (gnus-topic-unmark-topic): Mark unused arg `dummy'.
2830 (gnus-topic-copy-matching): Mark unused arg `copyp'.
2831 Move initialization of `topic' into its declaration.
2833 2015-10-27 Stephen Leake <stephen_leake@stephe-leake.org>
2837 * lisp/cedet/cedet-global.el (cedet-gnu-global-gtags-call):
2838 Handle warnings from gtags about invalid options.
2839 (cedet-gnu-global-create/update-database): Do incremental update
2842 * lisp/cedet/ede/generic.el (ede-enable-generic-projects):
2843 Get monotone root right.
2845 2015-10-27 Michael Albinus <michael.albinus@gmx.de>
2847 Fall back to polling in autorevert when needed
2849 * lisp/autorevert.el (auto-revert-notify-handler): When a
2850 `stopped' event arrives from file notification, fall back to polling.
2852 * test/automated/file-notify-tests.el
2853 (file-notify-test03-autorevert): Extend test for polling when file
2854 notification ceases to work.
2856 2015-10-27 Dmitry Gutov <dgutov@yandex.ru>
2858 Show full commit messages in 'hg log' when appropriate
2860 * lisp/vc/vc-hg.el (vc-hg-log-format): New variable.
2861 (vc-hg-print-log, vc-hg-expanded-log-entry): Use it.
2862 (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02191.html)
2864 2015-10-27 Nicolas Petton <nicolas@petton.fr>
2866 Use a plain SVG file for the icon
2868 * etc/images/icons/hicolor/scalable/apps/emacs.svg: Use a plain SVG
2869 format instead of the Inkscape SVG format.
2871 2015-10-27 Michael Albinus <michael.albinus@gmx.de>
2873 Fix subtle bug in auto-revert-tests.el
2875 * test/automated/auto-revert-tests.el
2876 (auto-revert-test02-auto-revert-mode-dired): Narrow *Messages*
2877 buffer where it belongs to. (Bug#21668)
2879 2015-10-26 Nicolas Petton <nicolas@petton.fr>
2881 * lisp/emacs-lisp/map.el: Better docstrings.
2883 * lisp/emacs-lisp/seq.el: Better docstrings.
2885 * lisp/emacs-lisp/seq.el: Rename all seq arguments to sequence.
2887 2015-10-26 Phillip Lord <phillip.lord@russet.org.uk>
2889 * lisp/emacs-lisp/ert.el: Print results without newline escaping.
2891 2015-10-26 Stephen Leake <stephen_leake@stephe-leake.org>
2893 Clarify that load-path contents should be directory file names
2895 * doc/lispref/files.texi (Directory Names): Define and use "directory
2896 file name". Recommend `expand-file-name'.
2898 * src/lread.c (load-path): Fix doc string; elements are directory file
2901 2015-10-26 Eli Zaretskii <eliz@gnu.org>
2903 Fix simple-test.el test
2905 * test/automated/simple-test.el (simple-test--dummy-buffer):
2906 Make sure indentation doesn't use TABs, otherwise the 6th test
2909 2015-10-26 Mark Oteiza <mvoteiza@udel.edu>
2911 * lisp/net/eww.el (eww-bookmark-prepare): Use truncate-string-to-width.
2912 `substring' does not account for full width characters.
2914 2015-10-26 Michael Albinus <michael.albinus@gmx.de>
2916 Further work on `stopped' events in filenotify.el
2918 * doc/lispref/os.texi (File Notifications): Rework examples.
2920 * lisp/filenotify.el (file-notify--rm-descriptor): Optional parameter.
2921 (file-notify--rm-descriptor, file-notify-callback): Improve check
2922 for sending `stopped' event.
2923 (file-notify-add-watch): Check for more events for `inotify'.
2925 * test/automated/file-notify-tests.el
2926 (file-notify--test-expected-events): New defvar.
2927 (file-notify--test-with-events): Use it.
2928 (file-notify--test-cleanup): Make it more robust when deleting
2930 (file-notify--test-event-test): Check also for watched directories.
2931 (file-notify--test-event-handler): Suppress temporary .#files.
2932 (file-notify-test02-events, file-notify-test04-file-validity):
2933 Rework `stopped' events.
2934 (file-notify-test05-dir-validity): Wait for events when appropriate.
2936 2015-10-26 Artur Malabarba <bruce.connor.am@gmail.com>
2938 * src/keyboard.c (post-command-hook): Shorten docstring.
2940 2015-10-26 Tassilo Horn <tsdh@gnu.org>
2942 Fix infinite loop in sh-script's SMIE code
2944 * lisp/progmodes/sh-script.el (sh-smie-sh-forward-token): Fix infinite
2947 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
2949 * lisp/isearch.el (search-default-regexp-mode): Revert to nil.
2950 Character-fold search _still_ doesn't play well with
2951 lax-whitespace. So disable it by default (again) for now.
2953 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
2955 * lisp/isearch.el: No visual feedback for default search mode.
2956 During an isearch where character-folding is the default, we don't
2957 want to take up minibuffer space just to tell the user that
2958 "Char-fold " is on. The same goes for other modes, if the user
2959 changes the default. In contrast, if the user toggles OFF the
2960 default mode, they should see "Literal", to distinguish it from
2962 (isearch--describe-regexp-mode): Return "" if describing the
2963 default mode, and return "literal " if describing a plain search
2964 and it is not default.
2966 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
2968 * test/automated/simple-test.el: New file.
2969 Define tests for `newline' and `open-line'.
2971 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
2973 * lisp/simple.el (open-line): Integrate with electric-indent-mode.
2974 Also run `post-self-insert-hook' when called interactively.
2976 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
2978 * lisp/simple.el (open-line): Fix docstring.
2979 Also explain apparently redundant line.
2981 2015-10-25 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2982 Alexandru Harsanyi <AlexHarsanyi@gmail.com>
2984 Sync with soap-client repository, version 3.0.1
2986 * lisp/net/soap-client.el, lisp/net/soap-inspect.el:
2987 Bump version to 3.0.1.
2989 * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Update home page.
2991 2015-10-25 Eli Zaretskii <eliz@gnu.org>
2993 * lisp/progmodes/grep.el (grep): Doc fix. (Bug#21754)
2995 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
2997 * src/keyboard.c (post-command-hook): Extend the docstring.
2998 Mainly, explain how to use it without hanging Emacs, or giving the
2999 impression that it is hanging. Also mention `pre-command-hook'.
3000 (pre-command-hook): Mention `post-command-hook'.
3002 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
3004 * lisp/custom.el (custom-declare-variable): Shorten code again.
3005 Without using pcase this time. We can't use pcase because it is
3006 loaded after custom in loadup.el. Also add a comment explaining
3007 this to future dummies like me.
3009 2015-10-25 Michael Albinus <michael.albinus@gmx.de>
3011 * doc/lispref/os.texi (File Notifications): Document `stopped event'.
3013 2015-10-25 Michael Albinus <michael.albinus@gmx.de>
3015 Introduce `stopped' event in file notification
3017 * lisp/filenotify.el (file-notify--rm-descriptor): New defun.
3018 (file-notify-rm-watch): Use it.
3019 (file-notify-callback): Implement `stopped' event.
3020 (file-notify-add-watch): Mention `stopped' in the docstring.
3021 Check, that upper directory exists.
3023 * test/automated/file-notify-tests.el (file-notify-test01-add-watch):
3025 (file-notify-test02-events): Handle also `stopped' event.
3026 (file-notify-test04-file-validity): Add another test case.
3028 2015-10-25 Paul Eggert <eggert@cs.ucla.edu>
3030 Revert commit that broke 'make bootstrap'
3032 * lisp/custom.el (custom-declare-variable): Revert commit
3033 79fac080d277fed07b3c192890ad59d36d9f83b6. custom.el needs to work
3034 even when pcase has not been defined yet, when doing bootstrapping.
3036 2015-10-25 Paul Eggert <eggert@cs.ucla.edu>
3038 Port recent inline functions fix to Standard C
3040 * src/lisp.h (LISP_MACRO_DEFUN, LISP_MACRO_DEFUN_VOID): Remove.
3041 All uses rewritten to define the function directly rather than to
3042 use a macro to define the function. This conforms to Standard C,
3043 which does not allow stray semicolons at the top level. I hope it
3044 also avoids the problems with TAGS. Those macros, though clever,
3045 were pretty confusing anyway, and it wasn’t clear they were worth
3046 the aggravation even without the TAGS problem.
3048 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
3050 * lisp/isearch.el: Make character-fold search the default again.
3052 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
3054 * lisp/character-fold.el: Many improvements.
3055 (character-fold-search-forward, character-fold-search-backward):
3057 (character-fold-to-regexp): Remove lax-whitespace hack.
3058 (character-fold-search): Remove variable. Only isearch and
3059 query-replace use char-folding, and they both have their own
3060 variables to configure that.
3062 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
3064 * lisp/isearch.el: Generalize definition of regexp-function toggles.
3065 (isearch-specify-regexp-function): New macro for specifying
3066 possible values of `isearch-regexp-function'.
3067 (isearch-toggle-character-fold, isearch-toggle-symbol)
3068 (isearch-toggle-word): Define with `isearch-specify-regexp-function'.
3070 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
3072 * lisp/isearch.el (search-default-regexp-mode): New variable.
3073 (isearch-mode): Use it.
3075 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
3077 * lisp/isearch.el (search-exit-option, search-slow-window-lines)
3078 (search-slow-speed, search-upper-case)
3079 (search-nonincremental-instead, search-whitespace-regexp)
3080 (search-invisible, isearch-hide-immediately)
3081 (isearch-resume-in-command-history, search-ring-max)
3082 (regexp-search-ring-max, search-ring-update, search-highlight)
3083 (isearch-fail): Delete :group entries.
3085 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
3087 * lisp/custom.el (custom-declare-variable): Shorten code a bit.
3089 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
3091 addpm.c: Silence some warnings.
3093 * nt/addpm.c (DdeCommand): Cast pData argument of DdeClientTransaction
3095 (add_registry): Pass NULL to optional lpClass argument of
3096 RegCreateKeyEx, not an empty string.
3098 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
3100 addpm.c: Do not add obsolete GTK libraries to the path.
3102 * nt/addpm.c (REG_GTK, REG_RUNEMACS_PATH): Delete.
3103 (add_registry): Remove variables `size' and `gtk_key'.
3104 Do not add the GTK DLL directory to the library search path; it is
3105 confusing behavior (in particular, the same Emacs version with and
3106 without invoking addpm will use a different path), and the GTK image
3107 libraries are obsolete anyway.
3109 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
3111 addpm.c: Replace existing registry entries, but do not create new ones
3113 * nt/addpm.c (add_registry): If the Emacs registry key exists, replace
3114 existing values from previous versions, but do not add new ones; the
3115 key could exist for other reasons unrelated to old Emacsen, like X-style
3116 resources, or to set some environment variables like HOME or LANG, and
3117 in that case we don't want to populate it with obsolete values.
3119 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
3121 * nt/addpm.c (add_registry): Do not compute unused return value.
3123 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
3125 addpm.c: Don't pass REG_OPTION_NON_VOLATILE to RegOpenKeyEx
3127 * nt/addpm.c (add_registry): Pass 0 to ulOptions argument of
3128 RegOpenKeyEx, not REG_OPTION_NON_VOLATILE. This doesn't change
3129 current behavior because REG_OPTION_NON_VOLATILE is defined to
3130 be 0L anyway, but that option is actually documented only for
3133 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
3135 * src/w32notify.c (Fw32notify_add_watch): Fix version check.
3137 2015-10-24 Eli Zaretskii <eliz@gnu.org>
3139 Update frame title when redisplay scrolls selected window
3141 * src/xdisp.c (redisplay_window): Reconsider the frame's title
3142 when the mode-line of the frame's selected window needs to be
3145 2015-10-24 Eli Zaretskii <eliz@gnu.org>
3147 Update frame title when scrolling the selected window
3149 * src/window.c (wset_update_mode_line): New function, sets either
3150 the window's update_mode_line flag or the global update_mode_lines
3152 (Fset_window_start, set_window_buffer, window_scroll_pixel_based)
3153 (window_scroll_line_based): Call it instead of only setting the
3154 window's update_mode_line flag.
3156 2015-10-24 Eli Zaretskii <eliz@gnu.org>
3158 An even better fix for bug#21739
3160 * src/window.c (set_window_buffer): If the window is the frame's
3161 selected window, set update_mode_lines, not the window's
3162 update_mode_line flag.
3163 * src/buffer.c (Fkill_buffer): Undo last change.
3164 (set_update_modelines_for_buf): Function deleted.
3166 2015-10-24 Thomas Fitzsimmons <fitzsim@fitzsim.org>
3167 Alexandru Harsanyi <AlexHarsanyi@gmail.com>
3169 Sync with soap-client repository, version 3.0.0
3171 * lisp/net/soap-client.el, lisp/net/soap-inspect.el:
3172 Bump version to 3.0.0.
3174 * lisp/net/soap-inspect.el: Merge in changes from Emacs master branch.
3176 * lisp/net/soap-client.el: Merge in changes from Emacs master branch.
3178 * lisp/net/soap-inspect.el: Shorten first line description.
3180 * lisp/net/soap-client.el: Make a small whitespace fix.
3182 * lisp/net/soap-inspect.el: Update copyright years.
3184 * lisp/net/soap-client.el (soap-encoded-namespaces): Move above
3185 first use in soap-encode-xs-element.
3187 * lisp/net/soap-client.el (soap-type-is-array?): new defun
3188 (soap-encode-xs-element): handle array elements in this function
3189 (soap-encode-xs-complex-type): flag error if asked to encode an
3190 array type, this is handled in `soap-encode-xs-element'
3192 * lisp/net/soap-inspect.el (soap-inspect-xs-attribute-group):
3193 Do not print type for attribute group.
3195 * lisp/net/soap-inspect.el (soap-sample-value-for-xs-attribute-group)
3197 (soap-inspect-xs-attribute-group): Likewise.
3199 * lisp/net/soap-inspect.el
3200 (soap-resolve-references-for-xs-attribute-group): Resolve
3201 references of attributes in an attribute group.
3203 * lisp/net/soap-client.el (soap-decode-xs-attributes): Process attribute
3204 type directly, not through soap-wsdl-get.
3206 * lisp/net/soap-client.el (soap-xs-parse-attribute): Leave reference
3207 nil if reference attribute is nil.
3209 * lisp/net/soap-client.el (soap-resolve-references-for-xs-attribute):
3210 Convert XML schema attributes to xsd:string.
3212 * lisp/net/soap-inspect.el (soap-sample-value-for-xs-attribute):
3214 (soap-sample-value-for-xs-simple-type): Prepend attributes to result.
3215 (soap-sample-value-for-xs-complex-type): Likewise.
3216 (soap-inspect-xs-attribute): New function.
3217 (soap-inspect-xs-simple-type): Print attributes.
3218 (soap-inspect-xs-complex-type): Likewise.
3220 * lisp/net/soap-inspect.el (soap-resolve-references-for-xs-simple-type):
3221 Resolve references for attributes.
3222 (soap-resolve-references-for-xs-complex-type): Likewise.
3224 * lisp/net/soap-client.el (soap-xml-node-find-matching-child):
3225 Rename from soap-xml-node-first-child.
3226 (soap-xs-parse-attribute): Call soap-xml-node-find-matching-child.
3227 (soap-xs-parse-simple-type): Likewise.
3229 * lisp/net/soap-client.el (soap-invoke-async): Add error checking.
3231 * lisp/net/soap-client.el (soap-invoke-internal): New function.
3232 (soap-invoke-async): Call soap-invoke-internal.
3233 (soap-invoke): Likewise.
3235 * lisp/net/soap-client.el (soap-invoke-async): Ensure buffer passed to
3236 url-retrieve callback is killed.
3238 * lisp/net/soap-client.el (soap-parse-wsdl-phase-validate-node):
3240 (soap-parse-wsdl-phase-fetch-imports): Likewise.
3241 (soap-parse-wsdl-phase-parse-schema): Likewise.
3242 (soap-parse-wsdl-phase-fetch-schema): Likewise.
3243 (soap-parse-wsdl-phase-finish-parsing): Likewise.
3244 (soap-parse-wsdl): Update calls.
3246 * lisp/net/soap-client.el (soap-invoke-async): Fix callback invocation.
3248 * lisp/net/soap-client.el (soap-invoke-async): New function.
3249 (soap-invoke): Reimplement using soap-invoke-async.
3251 * lisp/net/soap-client.el (soap-parse-server-response):
3253 (soap-invoke): Inline call to soap-parse-server-response.
3255 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
3256 Prevent incorrect warning.
3258 * lisp/net/soap-client.el (soap-parse-server-response):
3259 Rename soap-process-url-response. Destroy the mime part.
3260 (soap-invoke): Call soap-parse-server-response.
3262 * lisp/net/soap-client.el: Update copyright date.
3264 * lisp/net/soap-client.el: Fix checkdoc issues.
3266 * lisp/net/soap-client.el: Fix indentation and long lines.
3268 * lisp/net/soap-client.el (soap-time-format): Remove variable.
3269 (soap-encode-xs-basic-type): Simplify date-time format detection.
3270 (soap-decode-xs-basic-type): Remove soap-time-format support.
3272 * lisp/net/soap-client.el (soap-process-url-response): New function.
3273 (soap-fetch-xml-from-url): Call soap-process-url-response.
3274 (soap-parse-wsdl-phase-1): New function.
3275 (soap-parse-wsdl-phase-2): Likewise.
3276 (soap-parse-wsdl-phase-3): Likewise.
3277 (soap-parse-wsdl-phase-4): Likewise.
3278 (soap-parse-wsdl-phase-5): Likewise.
3279 (soap-parse-wsdl): Call phase functions.
3281 * lisp/net/soap-client.el (soap-decode-xs-basic-type):
3282 Remove one-argument and call.
3284 * lisp/net/soap-client.el (soap-decode-date-time): Improve docstring.
3286 * lisp/net/soap-client.el (soap-xmlschema-imports): Remove variable.
3287 (soap-parse-schema): Add wsdl argument. Look up XML schema
3289 (soap-load-wsdl): Do not set soap-xmlschema-imports.
3290 (soap-parse-wsdl): Get XML schema imports from wsdl.
3292 * lisp/net/soap-client.el (soap-current-file): Remove variable.
3293 (soap-wsdl): Add current-file slot.
3294 (soap-fetch-xml-from-url): Add wsdl argument. Look up current
3296 (soap-fetch-xml-from-file): Likewise.
3297 (soap-fetch-xml): Likewise.
3298 (soap-load-wsdl): Always create wsdl object first.
3299 (soap-parse-wsdl): Pass wsdl to soap-fetch-xml.
3301 * lisp/net/soap-client.el (soap-xs-element): Add is-group slot.
3302 (soap-xs-parse-element): Set is-group slot.
3303 (soap-resolve-references-for-xs-element): Skip is-group elements.
3304 (soap-xs-complex-type): Add is-group slot.
3305 (soap-xs-parse-complex-type): Set is-group slot.
3306 (soap-xs-parse-sequence): Parse xsd:group elements.
3307 (soap-resolve-references-for-xs-complex-type): Inline elements
3308 from referenced xsd:group nodes.
3309 (soap-parse-schema): Parse xsd:group nodes.
3311 * lisp/net/soap-client.el (soap-invoke):
3312 Don't set url-http-version to 1.0.
3314 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
3315 Allow choice nodes to accept multiple values.
3317 * lisp/net/soap-client.el (soap-encode-body): Check parameters argument
3318 for extra header values.
3320 * lisp/net/soap-client.el (soap-well-known-xmlns):
3321 Add wsa and wsaw tags.
3322 (soap-operation): Add input-action and output-action slots.
3323 (soap-parse-operation): Parse wsaw:Action nodes.
3324 (soap-encode-body): Encode service-url for WS-Addressing.
3325 (soap-create-envelope): Likewise.
3326 (soap-invoke): Update soap-create-envelope call to provide
3327 service-url argument.
3329 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
3330 Support xsi:type override attribute.
3331 (soap-decode-array): Likewise.
3333 * lisp/net/soap-client.el (soap-parse-schema):
3334 Handle location attribute.
3336 * lisp/net/soap-client.el (soap-decode-type): Check that multiRef
3337 matched validation regexp.
3339 * lisp/net/soap-client.el (soap-encode-xs-simple-type):
3340 Encode xsd:list nodes.
3341 (soap-decode-xs-simple-type): Decode xsd:list nodes.
3343 * lisp/net/soap-client.el (soap-get-candidate-elements):
3344 Fix reference handling.
3346 * lisp/net/soap-client.el (soap-xs-simple-type): Add is-list slot.
3347 (soap-xs-parse-simple-type): Call soap-xs-add-list for xsd:list nodes.
3348 (soap-xs-add-list): New function.
3350 * lisp/net/soap-client.el (soap-encode-xs-element): When a boolean is
3351 expected, interpret nil as "false".
3353 * lisp/net/soap-client.el (soap-make-xs-basic-types): Add gYearMonth,
3354 gYear, gMonthDay, gDay and gMonth.
3356 * lisp/net/soap-client.el (soap-time-format): New variable.
3357 (soap-encode-xs-basic-type): Handle dateTime, time, date,
3358 gYearMonth, gYear, gMonthDay, gDay and gMonth.
3359 (soap-decode-date-time): New function.
3360 (soap-decode-xs-basic-type): Use soap-decode-date-time.
3362 * lisp/net/soap-client.el (soap-encode-xs-basic-type): Validate value
3364 (soap-decode-xs-basic-type): Validate value before decoding.
3366 * lisp/net/soap-client.el (soap-validate-xs-basic-type): New function.
3367 (soap-validate-xs-simple-type): Call soap-validate-xs-basic-type.
3369 * lisp/net/soap-client.el (soap-xs-add-union): Append result to base
3370 instead of overwriting it.
3371 (soap-validate-xs-simple-type): Add union support.
3373 * lisp/net/soap-client.el (soap-xs-add-restriction): Translate pattern
3374 to Emacs regexp using xsdre-translate.
3375 (soap-validate-xs-simple-type): Validate value against pattern.
3377 * lisp/net/soap-client.el (soap-xs-add-union): Preserve WSDL order of
3378 inline simpleType nodes.
3379 (soap-decode-type): Handle union types.
3381 * lisp/net/soap-client.el (soap-decode-xs-attributes): Decode basic-type
3384 * lisp/net/soap-client.el (soap-get-xs-attributes-from-groups): Rename
3385 from soap-xs-attribute-group-consolidate, all callers updated
3386 (soap-get-xs-attributes): Rename from
3387 soap-xs-attributes-consolidate, all callers updated
3389 * lisp/net/soap-client.el (soap-xs-type): Add attribute-group slot.
3390 (soap-xs-attribute-group): New type.
3391 (soap-xs-parse-attribute-group): New function.
3392 (soap-resolve-references-for-xs-attribute-group): Likewise.
3393 (soap-xs-add-extension): Handle attribute groups.
3394 (soap-resolve-references-for-xs-simple-type): Likewise.
3395 (soap-xs-parse-complex-type): Likewise.
3396 (soap-xs-parse-extension-or-restriction): Likewise.
3397 (soap-resolve-references-for-xs-complex-type): Likewise.
3398 (soap-xs-attribute-group-consolidate): New function.
3399 (soap-xs-attributes-consolidate): Handle attribute groups.
3400 (soap-parse-schema): Likewise.
3402 * lisp/net/soap-client.el (soap-encode-xs-basic-type):
3403 Fix boolean encoding.
3405 * lisp/net/soap-client.el (soap-encode-xs-complex-type): Print ref
3406 element names in warnings.
3408 * lisp/net/soap-client.el (soap-decode-xs-complex-type): Fix splicing.
3410 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
3411 Eliminate invalid warnings for choice types.
3413 * lisp/net/soap-client.el (soap-encode-xs-complex-type-attributes):
3414 Also encode base type attributes.
3416 * lisp/net/soap-client.el (soap-encode-xs-complex-type): Fix compilation
3417 warning. Print e-name in warnings, or element if e-name is nil.
3419 * lisp/net/soap-client.el (soap-xs-element): Add alternatives slot.
3420 (soap-xs-parse-element): Set substitution-group.
3421 (soap-resolve-references-for-xs-element): Populate alternatives slot.
3422 (soap-get-candidate-elements): New function.
3423 (soap-encode-xs-complex-type): Iterate through all candidate elements.
3424 Handle types with nil type indicator. Fix warning logic.
3426 * lisp/net/soap-client.el (soap-current-wsdl): Move declaration
3427 earlier in the file to prevent compiler warning.
3429 * lisp/net/soap-client.el (soap-node-optional): New function.
3430 (soap-node-multiple): Likewise.
3431 (soap-xs-parse-element): Call soap-node-optional and
3433 (soap-xs-complex-type): Add optional? and multiple? slots.
3434 (soap-xml-get-children-fq): New function.
3435 (soap-xs-element-get-fq-name): Likewise.
3436 (soap-xs-complex-type-optional-p): Likewise.
3437 (soap-xs-complex-type-multiple-p): Likewise.
3438 (soap-xs-attributes-consolidate): Likewise.
3439 (soap-decode-xs-attributes): Likewise.
3440 (soap-decode-xs-complex-type): Decode types with nil type indicator.
3441 Support children that use local namespaces. Decode attributes.
3442 Add type considerations to optional? and multiple? warnings.
3444 * lisp/net/soap-client.el (soap-xs-parse-extension-or-restriction):
3445 Store parsed attributes.
3446 (soap-encode-xs-complex-type-attributes): Encode custom attributes.
3448 * lisp/net/soap-client.el (soap-encode-xs-complex-type-attributes):
3449 Don't add the xsi:type attribute (Exchange refuses requests which have
3452 * lisp/net/soap-client.el, soap-inspect.el: Convert to lexical binding,
3453 correct compiler warnings about unused function arguments and
3456 * lisp/net/soap-client.el (soap-decode-xs-complex-type): Handle nil
3458 (soap-parse-envelope): Handle response headers.
3459 (soap-parse-response): Likewise. Only return non-nil decoded values.
3461 * lisp/net/soap-client.el (soap-validate-xs-simple-type):
3462 Return validated value.
3464 * lisp/net/soap-client.el (soap-xs-parse-element)
3465 (soap-xs-parse-simple-type)
3466 (soap-xs-parse-complex-type)
3467 (soap-parse-message)
3468 (soap-parse-operation): Add the current namespace to the element
3470 (soap-resolve-references-for-xs-element)
3471 (soap-resolve-references-for-xs-simple-type)
3472 (soap-resolve-references-for-xs-complex-type)
3473 (soap-resolve-references-for-operation): Resolve the namespace to
3475 (soap-make-wsdl): specify a namespace tag when creating the xsd
3476 and soapenc namespaces
3477 (soap-wsdl-resolve-references): don't update namespace tags in
3479 (soap-parse-port-type): bind the urn: to soap-target-xmlns
3480 (soap-encode-body): don't add nil namespace tags to
3481 soap-encoded-namespaces
3483 * lisp/net/soap-inspect.el: Use `soap-make-wsdl` to construct the object
3484 for registering the soap-inspect method. Make debbugs tests pass.
3485 * lisp/net/soap-client.el (soap-decode-any-type): Use soap-l2fq on the
3486 type name, also skip string only nodes when decoding a structure.
3487 (soap-xs-parse-complex-type): (BUG) Dispatch parsing for choice
3489 (soap-encode-body): Grab the header value from the param table.
3491 * lisp/net/soap-client.el (soap-should-encode-value-for-xs-element):
3493 (soap-encode-xs-element): Don't encode nil value unless needed.
3495 * lisp/net/soap-client.el (soap-bound-operation): New slot `soap-body`.
3496 (soap-parse-binding): Parse the message parts required in the body.
3497 (soap-encode-body): Encode only the parts that are declared to be
3500 * lisp/net/soap-client.el (soap-encode-xs-element): use the fq name
3501 when writing out the tag.
3502 (soap-encode-body): Remove hack that inserts the xmlns in the
3503 element attributes list.
3505 * lisp/net/soap-client.el (soap-xs-attribute): Add "default" slot.
3506 (soap-xs-parse-attribute): Default slot is set from the XML
3508 (soap-encode-xs-complex-type-attributes): Encode any attributes
3509 that have a default value. Also, don't put the xsi:nil attribute
3510 when the complex type has no content anyway.
3512 * lisp/net/soap-client.el (soap-well-known-xmlns):
3513 Add the xml namespace.
3514 (soap-local-xmlns): Start with the xml namespace.
3515 (soap-xml-node-first-child): Skip xsd:annotation nodes too.
3516 (soap-make-xs-basic-types): More xsd types added.
3517 (soap-encode-xs-basic-type, soap-decode-xs-basic-type):
3518 Handle "language", "time", "date", "nonNegativeInteger".
3519 (soap-resolve-references-for-xs-element): Don't signal an error if
3520 the element does not have a type.
3521 (soap-xs-parse-simple-type): Subtypes are handled with ecase,
3522 added stum for xsd:list.
3523 (soap-xs-add-union): Call soap-l2fq on all union members.
3524 (soap-xs-add-extension): Call soap-l2fq on the base member.
3525 (soap-resolve-references-for-xs-simple-type): Don't signal an
3526 error if the simple type has no base.
3527 (soap-resolve-references-for-xs-simple-type): Bugfix, call
3528 soap-wsdl-get on each type of the base.
3530 * lisp/net/soap-client.el (soap-resolve-references-for-xs-attribute):
3531 Referenced type can be eiher a simple type or a basic type.
3532 (soap-xs-add-restriction)
3533 (soap-xs-parse-extension-or-restriction): Use `soap-l2fq' on base.
3534 (soap-make-xs-basic-types)
3535 (soap-encode-xs-basic-type, soap-decode-xs-basic-type):
3536 Add support for more XMLSchema basic types.
3537 (soap-current-file, soap-xmlschema-imports): New defvars.
3538 (soap-parse-schema): Add locations from xsd:import tags to
3539 `soap-xmlschema-imports'.
3540 (soap-wsdl): Make destructor private.
3541 (soap-make-wsdl): New defun, SOAP-WSDL object constructor.
3542 (soap-wsdl-add-alias): Check if we try to replace aliases.
3543 (soap-fetch-xml-from-url, soap-fetch-xml-from-file)
3544 (soap-fetch-xml): New defuns.
3545 (soap-load-wsdl): Update to load the WSDL from either a file or
3547 (soap-load-wsdl-from-url): Now an alias to `soap-load-wsdl'.
3548 (soap-parse-wsdl): Process wsdl:import tags and imports from
3549 `soap-xmlschema-imports'.
3550 * lisp/net/soap-client.el (soap-l2wk): Bugfix: call symbolp instead of
3552 (soap-l2fq): Make the name part always a string.
3553 (soap-name-p): New defun, used for name tests.
3555 * lisp/net/soap-inspect.el (soap-sample-value-for-xs-complex-type):
3556 Supply sample values for choice types with a special tag.
3557 * lisp/net/soap-client.el (soap-encode-xs-complex-type):
3558 Handle anonymous elements correctly.
3559 (soap-encode-value): Accept nodes that have no namespace tag.
3561 * lisp/net/soap-client.el (soap-invoke): Encode the string for
3562 `url-request-data' as UTF-8. Fixes issue 16.
3564 2015-10-24 Nicolas Petton <nicolas@petton.fr>
3568 Move the E slightly to the right in the circle.
3570 * etc/images/icons/hicolor/128x128/apps/emacs.png:
3571 * etc/images/icons/hicolor/16x16/apps/emacs.png:
3572 * etc/images/icons/hicolor/24x24/apps/emacs.png:
3573 * etc/images/icons/hicolor/32x32/apps/emacs.png:
3574 * etc/images/icons/hicolor/48x48/apps/emacs.png:
3575 * etc/images/icons/hicolor/scalable/apps/emacs.svg:
3576 * nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns:
3577 * nt/icons/emacs.ico: New icom update.
3579 2015-10-24 Eli Zaretskii <eliz@gnu.org>
3581 Avoid missing inline functions from lisp.h in TAGS
3583 * src/lisp.h (LISP_MACRO_DEFUN): Mention in the commentary the
3584 need to end each invocation with a semi-colon.
3585 Add a semi-colon at the end of each invocation of LISP_MACRO_DEFUN
3586 and LISP_MACRO_DEFUN_VOID. This is to avoid missing in TAGS
3587 inline functions defined immediately after each invocation, and
3588 also avoid tagging every invocation of these macros.
3590 2015-10-24 Eli Zaretskii <eliz@gnu.org>
3592 A better fix for bug#21739
3594 * src/buffer.c (set_update_modelines_for_buf): New function.
3595 (Fkill_buffer): Use it to set the global variable
3596 update_mode_lines if the killed buffer was displayed in some
3597 window. Don't set windows_or_buffers_changed. This is a better
3598 fix for bug#21739 than the previous fix, since it will cause only
3599 redisplay of mode lines, not of entire windows, but will still
3600 catch attention of x_consider_frame_title in xdisp.c, which
3601 redraws the frame title.
3603 2015-10-24 Tassilo Horn <tsdh@gnu.org>
3605 * lisp/dired-aux.el (dired-compress-files-alist): Add support for
3606 tar.bz2 and tar.xz archives.
3608 2015-10-23 Eli Zaretskii <eliz@gnu.org>
3610 Fix infloop in redisplay introduced by a recent change
3612 * src/xdisp.c (redisplay_internal): Avoid inflooping when
3613 redisplaying the selected window sets the selected frame's
3614 redisplay flag. (Bug#21745)
3616 2015-10-23 Nicolas Petton <nicolas@petton.fr>
3618 * lisp/emacs-lisp/thunk.el: Better documentation.
3620 2015-10-23 Nicolas Petton <nicolas@petton.fr>
3622 Replace the old icon for Windows and Mac OSX
3624 * nt/icons/emacs.ico:
3625 * nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns:
3628 2015-10-23 Stephen Leake <stephen_leake@stephe-leake.org>
3630 * lisp/emacs-lisp/package.el (package-autoload-ensure-default-file):
3631 `load-path' should contain only directory names.
3633 2015-10-23 Nicolas Petton <nicolas@petton.fr>
3635 New library thunk.el
3637 thunk.el is extracted from stream.el in ELPA, with additional tests.
3639 * lisp/emacs-lisp/thunk.el: New file.
3640 * test/automated/thunk-tests.el: New file.
3641 * etc/NEWS: Add information about thunk.el
3643 2015-10-23 Michael Albinus <michael.albinus@gmx.de>
3647 * lisp/filenotify.el (file-notify-rm-watch): Improve check for
3648 calling low-level functions.
3650 * test/automated/file-notify-tests.el (file-notify--test-timeout):
3651 Decrase to 6 seconds for remote directories.
3652 (file-notify-test02-events): Expect different number of
3653 `attribute-changed' events for the local and remote cases. Apply
3654 short delays between the operations, in order to receive all
3655 events in the remote case. Combine `attribute-change' tests.
3658 2015-10-23 Eli Zaretskii <eliz@gnu.org>
3660 Decode the HTML source when displaying it in EWW
3662 * lisp/net/eww.el (eww-view-source): Decode the HTML source
3663 according to its headers.
3665 2015-10-23 Nicolas Petton <nicolas@petton.fr>
3669 * etc/images/icons/hicolor/128x128/apps/emacs23.png:
3670 * etc/images/icons/hicolor/16x16/apps/emacs23.png:
3671 * etc/images/icons/hicolor/24x24/apps/emacs23.png:
3672 * etc/images/icons/hicolor/32x32/apps/emacs23.png:
3673 * etc/images/icons/hicolor/48x48/apps/emacs23.png:
3674 * etc/images/icons/hicolor/scalable/apps/emacs23.svg:
3675 * etc/images/icons/hicolor/scalable/mimetypes/emacs-document23.svg:
3676 Move the old logo files to emacs23.*.
3677 * etc/images/icons/hicolor/128x128/apps/emacs.png:
3678 * etc/images/icons/hicolor/16x16/apps/emacs.png:
3679 * etc/images/icons/hicolor/24x24/apps/emacs.png:
3680 * etc/images/icons/hicolor/32x32/apps/emacs.png:
3681 * etc/images/icons/hicolor/48x48/apps/emacs.png:
3682 * etc/images/icons/hicolor/scalable/apps/emacs.svg:
3683 * etc/images/icons/hicolor/scalable/mimetypes/emacs-document.svg:
3685 * etc/images/icons/README: Update the copyright information.
3687 2015-10-23 Eli Zaretskii <eliz@gnu.org>
3689 Fix redisplay of frame title when current buffer is killed
3691 * src/buffer.c (Fkill_buffer): Set windows_or_buffers_changed to a
3692 non-zero value, to redisplay more than just the affected windows.
3695 2015-10-23 Anders Lindgren <andlind@gmail.com>
3697 NextStep maximization and NSTRACE rewrite
3699 Full-height, full-width, and maximized windows now cover the
3700 entire screen (except the menu bar), including the part where the
3701 system dock is placed. The system zoom animation is no longer
3704 Made NonMaximized->FullWidth->FullHeight->NonMaximized restore the
3707 * src/nsterm.m (ns_menu_bar_height): New function, return height of
3708 the menu bar, or 0 when it's hidden.
3709 (constrain_frame_rect): New function for constraining a frame.
3710 (ns_constrain_all_frames): Set frame size explicitly rather than
3711 relying on the system doing it for us by writing back the current
3713 (windowWillUseStandardFrame): Register non-maximized width or
3714 height as new user size. When entering full width or height,
3715 the other size component is taken from the user size.
3716 (fullscreenState): New method for accessing the fullscreen state.
3717 (constrainFrameRect): Restrict frame to be placed under the menu bar,
3718 if present. The old version, sometimes, restricted the height of a
3719 frame to the screen, this version never does this.
3720 (zoom): Perform zoom by setting the frame to the full size of the
3721 screen (minus the menu bar). The default system function, with the
3722 zoom animation, is no longer used, as the final frame size doesn't
3723 cover the entire screen.
3725 Rework how to constrain resizing to the character grid. The old
3726 system used "resizeIncrements" in NSWindows. However, once a frame
3727 was resized so that it was not aligned to the text grid, it
3728 remained unaligned even after a resize. In addition, it conflicted
3729 when resizing a fullheight window.
3731 * src/nsterm.m (windowWillResize): Restrict frame size to text grid,
3732 unless when pixelwise frame resizing is enabled.
3733 (updateFrameSize, initFrameFromEmacs)
3734 (toggleFullScreen, handleFS): Don't set resizeIncrements.
3736 Redesign the NS trace system. The call structure is represented
3737 using indentations and vertical lines. The NSTRACE macro accepts
3738 printf-style arguments. New macros for printing various
3741 * src/nsterm.h (NSTRACE_ENABLED): Macro to enable trace system.
3742 (NSTRACE, NSTRACE_WHEN, NSTRACE_UNLESS): Macros to start a new
3743 block (typically a function), accept printf-style arguments.
3744 (NSTRACE_MSG): Macro for extra information, accepts
3745 printf-style arguments.
3746 (NSTRACE_what): Macros for printing various types.
3747 (NSTRACE_FMT_what): Macro with printf format string snippets.
3748 (NSTRACE_ARG_what): Macros for passing printf-style arguments,
3749 corresponds to NSTRACE_FMT_what.
3750 (NSTRACE_RETURN): Macro to print return value, accept
3751 printf-style arguments.
3752 (NSTRACE_RETURN_what): Macros to print return value for
3755 * nsterm.m: Remove old NSTRACE macro
3756 * src/nsterm.m (nstrace_num): Trace counter.
3757 (nstrace_depth): Current call depth.
3758 (nstrace_leave): NSTRACE support function, called when the
3759 local variable "nstrace_enabled" goes out of scope using the
3760 "cleanup" extension.
3761 (ns_print_fullscreen_type_name): NSTRACE_FSTYPE support function.
3762 (constrain_frame_rect, ns_constrain_all_frames)
3763 (ns_update_auto_hide_menu_bar, ns_update_begin)
3764 (ns_update_window_begin, update_window_end, ns_update_end)
3765 (ns_focus, ns_unfocus, ns_ring_bell, ns_frame_raise_lower)
3766 (ns_frame_rehighlight, x_make_frame_visible)
3767 (x_make_frame_invisible, x_iconify_frame, x_free_frame_resources)
3768 (x_destroy_window, x_set_offset, x_set_window_size)
3769 (ns_fullscreen_hook, ns_lisp_to_color, ns_color_to_lisp)
3770 (ns_defined_color, frame_set_mouse_pixel_position)
3771 (note_mouse_movement, ns_mouse_position, ns_frame_up_to_date)
3772 (ns_define_frame_cursor, x_get_keysym_name, ns_redraw_scroll_bars)
3773 (ns_clear_frame, ns_clear_frame_area, ns_scroll_run)
3774 (ns_after_update_window_line, ns_shift_glyphs_for_insert)
3775 (dumpcursor, ns_draw_vertical_window_border)
3776 (ns_draw_window_divider, ns_draw_relief)
3777 (ns_dumpglyphs_box_or_relief, ns_maybe_dumpglyphs_background)
3778 (ns_dumpglyphs_image, ns_draw_glyph_string, ns_send_appdefined)
3779 (ns_read_socket, ns_select, ns_set_vertical_scroll_bar)
3780 (ns_set_horizontal_scroll_bar, ns_condemn_scroll_bars)
3781 (ns_redeem_scroll_bar, ns_judge_scroll_bars, ns_delete_terminal)
3782 (ns_create_terminal, ns_term_init, sendEvent)
3783 (applicationDidFinishLaunching, applicationDidBecomeActive)
3784 (timeout_handler, fd_handler, EmacsView_dealloc, changeFont)
3785 (acceptsFirstResponder, resetCursorRects, keyDown, mouseDown)
3786 (deltaIsZero, rightMouseDown, otherMouseDown, mouseUp)
3787 (rightMouseUp, otherMouseUp, scrollWheel, mouseMoved)
3788 (mouse_autoselect_window, in_window, mouseDragged)
3789 (rightMouseDragged, otherMouseDragged, windowShouldClose)
3790 (updateFrameSize, windowWillResize, windowDidResize)
3791 (windowDidBecomeKey, windowDidResignKey, windowWillMiniaturize)
3792 (initFrameFromEmacs, windowDidMove, windowDidDeminiaturize)
3793 (windowDidExpose, windowDidMiniaturize, windowWillEnterFullScreen)
3794 (windowDidEnterFullScreen, windowWillExitFullScreen)
3795 (windowDidExitFullScreen, toggleFullScreen, handleFS, setFSValue)
3796 (mouseEntered, mouseExited, menuDown, toolbarClicked, drawRect)
3797 (draggingEntered, performDragOperation, validRequestorForSendType)
3798 (setMiniwindowImage, constrainFrameRect, performZoom, zoom)
3799 (EmacsScroller_initFrame, EmacsScroller_setFrame)
3800 (EmacsScroller_dealloc, condemn, reprieve, judge)
3801 (resetCursorRects, setPosition, EmacsScroller_mouseDown)
3802 (EmacsScroller_mouseDragged, syms_of_nsterm): Use new trace system.
3804 * nsfns.m: Remove old NSTRACE macro
3805 * src/nsfns.m (x_set_icon_name, ns_set_name, x_explicitly_set_name)
3806 (x_implicitly_set_name, x_set_title, ns_set_name_as_filename)
3807 (ns_implicitly_set_icon_type, x_set_icon_type): Use new trace system.
3809 * nsimage.m: Remove old NSTRACE macro
3810 * src/nsimage.m (ns_image_from_XBM, ns_image_for_XPM)
3811 (ns_image_from_bitmap_file, ns_load_image): Use new trace system.
3813 * nsmenu.m: Remove old NSTRACE macro
3814 * src/nsmenu.m (ns_update_menubar, ns_menu_show, ns_popup_dialog):
3815 Use new trace system.
3817 2015-10-22 Katsumi Yamaoka <yamaoka@jpl.org>
3819 No need to use eval-and-compile
3821 * lisp/gnus/auth-source.el: Do require epg (when compiling) before
3822 autoload epg functions.
3824 2015-10-22 Katsumi Yamaoka <yamaoka@jpl.org>
3826 Fix auth-source-epa-make-gpg-token compilation (bug#21724)
3828 * lisp/gnus/auth-source.el: Add eval-and-compile to autoloads for
3829 epg-context-set-passphrase-callback, epg-decrypt-string, and
3830 epg-encrypt-string; require epg when compiling for the setf-method
3831 for epg-context-armor. (bug#21724)
3833 2015-10-22 Eli Zaretskii <eliz@gnu.org>
3835 Include file cleanup for w32 files in src directory
3837 * src/w32xfns.c: Don't include keyboard.h, window.h, charset.h,
3838 fontset.h, blockinput.h.
3839 * src/w32uniscribe.c: Don't include dispextern.h, character.h,
3840 charset.h, fontset.h.
3841 * src/w32term.c: Don't include systty.h, systime.h, charset.h,
3842 character.h, ccl.h, dispextern.h, disptab.h, intervals.h,
3843 process.h, atimer.h, keymap.h, w32heap.h. Include bitmap/gray.xbm
3844 in an ifdef-ed away block.
3845 Include fcntl.h for CYGWIN.
3846 (set_frame_param): Remove unused function.
3847 * src/w32select.c: Don't include charset.h and composite.h.
3848 (setup_config, Fw32_get_clipboard_data): Avoid compiler warnings
3849 due to pointer signedness mismatches.
3850 * src/w32reg.c (w32_get_string_resource): Avoid compiler warnings
3851 due to pointer signedness mismatches.
3852 * src/w32proc.c: Include unistd.h. Don't include systime.h,
3853 process.h, dispextern.h.
3854 (sys_spawnve, Fw32_short_file_name, Fw32_long_file_name)
3855 (Fw32_application_type): Avoid compiler warnings due to pointer
3856 signedness mismatches.
3857 * src/w32menu.c: Don't include keymap.h, termhooks.h, window.h,
3858 character.h, charset.h, dispextern.h.
3859 (simple_dialog_show, add_menu_item): Avoid compiler warnings due
3860 to pointer signedness mismatches.
3861 * src/w32inevt.c: Don't include dispextern.h, window.h,
3862 termhooks.h, w32heap.h.
3863 * src/w32font.c: Don't include dispextern.h, character.h,
3864 charset.h, fontset.h, font.h.
3865 (intern_font_name, add_font_entity_to_list)
3866 (registry_to_w32_charset, w32_to_x_charset, fill_in_logfont)
3867 (list_all_matching_fonts): Avoid compiler warnings due to pointer
3868 signedness mismatches.
3869 * src/w32fns.c: Don't include character.h, intervals.h,
3870 dispextern.h, epaths.h, charset.h, ccl.h, fontset.h, systime.h,
3871 termhooks.h, w32heap.h, bitmap/gray.xbm, font.h, w32font.h.
3872 (w32_color_map_lookup, add_system_logical_colors_to_map)
3873 (x_decode_color, x_set_name, FPRINTF_WM_CHARS, Fxw_color_defined_p)
3874 (Fxw_color_values, x_display_info_for_name, Fset_message_beep)
3875 (x_create_tip_frame, Fx_file_dialog, Fsystem_move_file_to_trash)
3876 (w32_parse_hot_key, Ffile_system_info, w32_kbd_patch_key): Avoid
3877 compiler warnings, mainly due to pointer signedness mismatches.
3878 (unwind_create_frame_1): Remove unused function.
3879 * src/w32console.c: Don't include character.h, disptab.h, frame.h,
3880 window.h, termhooks.h, dispextern.h.
3881 (w32con_write_glyphs, w32con_write_glyphs_with_face): Fix pointer
3882 signedness mismatch.
3883 * src/w32.c: Include c-strcase.h and systty.h. Don't include
3886 2015-10-22 Tassilo Horn <tsdh@gnu.org>
3888 Improve doc-view wrt. auto-revert-mode
3890 * lisp/doc-view.el (doc-view-revert-buffer): Don't revert when file
3891 is corrupted (bug#21729).
3892 (doc-view-mode): Set doc-view-revert-buffer as revert-buffer-function.
3894 2015-10-22 Oleh Krehel <ohwoeowho@gmail.com>
3896 Describe dired-do-compress-to in the manual
3900 * lisp/dired-aux.el: Fix typo.
3902 * doc/emacs/dired.texi: Add entry.
3904 2015-10-22 Jürgen Hötzel <juergen@archlinux.org>
3906 Further fix for proper locale handling in tramp-gvfs.el
3908 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
3909 Just suppress LC_MESSAGES locale category settings.
3911 2015-10-21 Paul Eggert <eggert@cs.ucla.edu>
3913 New lispref section “Security Considerations”
3915 This attempts to document some of the issues recently discussed
3916 on emacs-devel, and to indicate other such issues. The section
3917 could be a lot longer.
3918 * doc/lispref/os.texi (Security Considerations):
3920 * doc/lispref/elisp.texi (Top):
3921 * doc/lispref/processes.texi (Shell Arguments):
3922 * lisp/subr.el (shell-quote-argument):
3923 * src/callproc.c (syms_of_callproc):
3926 2015-10-21 Paul Eggert <eggert@cs.ucla.edu>
3931 2015-10-18 stdalign: work around pre-4.9 GCC x86 bug
3932 2015-10-18 time_rz: avoid warning from bleeding-edge gcc's -Wnonnull
3933 * doc/misc/texinfo.tex, lib/stdalign.in.h, lib/time_rz.c:
3936 2015-10-21 Katsumi Yamaoka <yamaoka@jpl.org>
3938 * lisp/gnus/mailcap.el (mailcap-mime-data): Remove fboundp checks.
3939 (mailcap-viewer-passes-test): Do it instead. Thanks to Stefan Monnier.
3941 2015-10-21 Ken Brown <kbrown@cornell.edu>
3943 Further include-file cleanup
3945 * src/sheap.c: Include stdlib.h.
3946 * src/unexcw.c: Include string.h.
3948 2015-10-21 Eli Zaretskii <eliz@gnu.org>
3950 Fix logic in 'server-kill-emacs-query-function'
3952 * lisp/server.el (server-kill-emacs-query-function): Correct the
3953 logic that controls whether the user is asked for confirmation.
3956 2015-10-21 Artur Malabarba <bruce.connor.am@gmail.com>
3958 * lisp/isearch.el (isearch-search-fun-default): Simplify logic.
3959 (isearch--lax-regexp-function-p): New function.
3961 2015-10-21 Artur Malabarba <bruce.connor.am@gmail.com>
3963 * lisp/isearch.el: Support lax-whitespace in regexp-function searches.
3964 (isearch-search-fun-default): Let-bind `search-spaces-regexp'
3965 around `isearch-regexp-function'.
3967 2015-10-21 Artur Malabarba <bruce.connor.am@gmail.com>
3969 * lisp/isearch.el: Rename word search to regexp-function search.
3970 `isearch-word' went well beyond its original purpose, and the name
3971 no longer makes sense. It is now called
3972 `isearch-regexp-function', and its value should always be a function
3973 that converts a string to a regexp (though setting it to t is still
3975 (isearch-word): Make obsolete.
3976 (isearch-regexp-function): New variable.
3977 (isearch-mode, isearch-done, isearch--state, isearch--set-state)
3978 (with-isearch-suspended, isearch-toggle-regexp)
3979 (isearch-toggle-word, isearch-toggle-symbol)
3980 (isearch-toggle-character-fold, isearch-query-replace)
3981 (isearch-occur, isearch-highlight-regexp)
3982 (isearch-search-and-update, isearch-message-prefix)
3983 (isearch-search-fun-default, isearch-search)
3984 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3986 (isearch-lazy-highlight-regexp-function): New var.
3987 (isearch-lazy-highlight-word): Make obsolete.
3988 (isearch--describe-regexp-mode): New function.
3989 (isearch--describe-word-mode): Make obsolete.
3991 * lisp/info.el (Info-isearch-search):
3992 * lisp/replace.el (replace-search, replace-highlight):
3993 * lisp/obsolete/longlines.el (longlines-search-function):
3994 * lisp/hexl.el (hexl-isearch-search-function):
3995 * lisp/cedet/semantic/senator.el (senator-isearch-search-fun):
3998 2015-10-21 Oleh Krehel <ohwoeowho@gmail.com>
4000 Add dired-do-compress-to command bound to "c"
4002 * lisp/dired-aux.el (dired-shell-command): Use the caller's
4003 `default-directory', return the result of `process-file'.
4004 (dired-compress-file-suffixes): Add comment on why "tar -zxf" isn't
4006 (dired-compress-files-alist): New defvar.
4007 (dired-do-compress-to): New command.
4009 * lisp/dired.el (dired-mode-map): Bind `dired-do-compress-to' to "c".
4010 (dired-do-compress-to): Add an autoload entry.
4012 * etc/NEWS: Add two entries.
4014 2015-10-21 Tassilo Horn <tsdh@gnu.org>
4016 Make RefTeX work with LaTeX subfiles package
4018 * lisp/textmodes/reftex.el (reftex-TeX-master-file): Recognize subfiles
4019 document class argument as master file for referencing purposes.
4021 2015-10-21 Katsumi Yamaoka <yamaoka@jpl.org>
4023 * lisp/gnus/mailcap.el (mailcap-mailcap-entry-passes-test): Doc fix.
4025 2015-10-20 Paul Eggert <eggert@cs.ucla.edu>
4027 Include-file cleanup for src directory
4029 Omit ‘#include "foo.h"’ unless the file needs foo.h (Bug#21707).
4030 In a few cases, add ‘#include "foo.h"’ if the file needs foo.h
4031 but does not include it directly. As a general rule, a source
4032 file should include foo.h if it needs the interfaces that foo.h
4034 * src/alloc.c: Don’t include process.h. Include dispextern.h,
4036 * src/atimer.c: Don’t include blockinput.h.
4037 * src/buffer.c: Include coding.h, systime.h. Don’t include
4038 keyboard.h, coding.h.
4039 * src/callint.c: Don’t include commands.h, keymap.h.
4040 * src/callproc.c: Don’t include character.h, ccl.h, composite.h,
4041 systty.h, termhooks.h.
4042 * src/casetab.c: Don’t include character.h.
4043 * src/category.c: Don’t include charset.h, keymap.h.
4044 * src/ccl.h: Don’t include character.h.
4045 * src/character.c: Don’t include charset.h.
4046 * src/charset.c: Don’t include disptab.h.
4047 * src/chartab.c: Don’t include ccl.h.
4048 * src/cm.c: Don’t include frame.h, termhooks.h.
4049 * src/cmds.c: Don’t include window.h, dispextern.h.
4050 * src/coding.c: Don’t include window.h, frame.h.
4051 * src/composite.c: Include composite.h. Don’t include window.h,
4053 * src/data.c: Don’t include syssignal.h, termhooks.h, font.h.
4054 * src/dbusbind.c: Don’t include frame.h.
4055 * src/decompress.c: Don’t include character.h.
4056 * src/dired.c: Don’t include character.h, commands.h, charset.h.
4057 * src/dispnew.c: Don’t include character.h, indent.h, intervals.h,
4058 process.h, timespec.h. Include systime.h.
4059 * src/doc.c: Include coding.h. Don’t include keyboard.h.
4060 * src/editfns.c: Include composite.h. Don’t include frame.h.
4061 * src/emacs.c: Include fcntl.h, coding.h. Don’t include
4062 commands.h, systty.h..
4063 * src/fileio.c: Don’t include intervals.h, dispextern.h.
4064 Include composite.h.
4065 * src/filelock.c: Don’t include character.h, systime.h.
4066 * src/fns.c: Don’t include time.h, commands.h, keyboard.h,
4067 keymap.h, frame.h, blockinput.h, xterm.h. Include composite.h.
4068 * src/font.c: Include termhooks.h.
4069 * src/font.h: Don’t include ccl.h, frame.h. Add forward decls of
4070 struct composition_it, struct face, struct glyph_string.
4071 * src/fontset.c: Don’t include buffer.h, ccl.h, keyboard.h,
4072 intervals.h, window.h, termhooks.h.
4073 * src/frame.c: Don’t include character.h, commands.h, font.h.
4074 * src/frame.h: Don’t include dispextern.h.
4075 * src/fringe.c: Don’t include character.h.
4076 * src/ftcrfont.c: Don’t include dispextern.h, frame.h,
4077 character.h, charset.h, fontset.h.
4078 * src/ftfont.c: Don’t include frame.h, blockinput.h, coding.h,
4080 * src/ftxfont.c: Don’t include dispextern.h, character.h,
4081 charset.h, fontset.h.
4082 * src/gfilenotify.c: Don’t include frame.h, process.h.
4083 * src/gtkutil.c: Include dispextern.h, frame.h, systime.h.
4084 Don’t include syssignal.h, buffer.h, charset.h, font.h.
4085 * src/gtkutil.h: Don’t include frame.h.
4086 * src/image.c: Include fcntl.h and stdio.h instead of sysstdio.h.
4087 Don’t include character.h.
4088 * src/indent.c: Don’t include keyboard.h, termchar.h.
4089 * src/inotify.c: Don’t include character.h, frame.h.
4090 * src/insdel.c: Include composite.h. Don’t include blockinput.h.
4091 * src/intervals.c: Don’t include character.h, keyboard.h.
4092 * src/intervals.h: Don’t include dispextern.h, composite.h.
4093 * src/keyboard.c: Don’t include sysstdio.h, disptab.h, puresize.h.
4095 * src/keyboard.h: Don’t incldue systime.h.
4096 * src/keymap.c: Don’t include charset.h, frame.h.
4097 * src/lread.c: Include dispextern.h and systime.h.
4098 Don’t include frame.h. Include systime.h.
4099 * src/macros.c: Don’t include commands.h, character.h, buffer.h.
4100 * src/menu.c: Include character.h, coding.h. Don’t include
4102 * src/menu.h: Don’t include systime.h.
4103 * src/minibuf.c: Don’t include commands.h, dispextern.h, syntax.h,
4104 intervals.h, termhooks.h.
4105 * src/print.c: Include coding.h. Don’t include keyboard.h,
4106 window.h, dispextern.h, termchar.h, termhooks.h, font.h.
4107 Add forward decl of struct terminal.
4108 * src/process.c: Don’t include termhooks.h, commands.h,
4109 dispextern.h, composite.h.
4110 * src/region-cache.c: Don’t include character.h.
4111 * src/scroll.c: Don’t include keyboard.h, window.h.
4112 * src/search.c: Don’t include category.h, commands.h.
4113 * src/sound.c: Don’t include dispextern.h.
4114 * src/syntax.c: Don’t include command.h, keymap.h.
4115 * src/sysdep.c: Don’t include window.h, dispextern.h.
4116 * src/systime.h: Use ‘#ifdef emacs’, not ‘#ifdef EMACS_LISP_H’,
4117 * src/term.c: Don’t include systty.h, intervals.h, xterm.h.
4118 * src/terminal.c: Include character.h.
4119 Don’t include charset.h, coding.h.
4120 * src/textprop.c: Don’t include character.h.
4121 * src/undo.c: Don’t include character.h, commands.h, window.h.
4122 * src/unexsol.c: Don’t include character.h, charset.h.
4123 * src/widget.c: Include widget.h. Don’t include keyboard.h,
4124 window.h, dispextern.h, blockinput.h, character.h, font.h.
4125 * src/widgetprv.h: Don’t include widget.h.
4126 * src/window.c: Don’t include character.h, menu.h, intervals.h.
4127 * src/xdisp.c: Include composite.h, systime.h. Don’t include
4128 macros.h, process.h.
4129 * src/xfaces.c: Don’t include charset.h, keyboard.h, termhooks.h,
4131 * src/xfns.c: Don’t include menu.h, character.h, intervals.h,
4132 epaths.h, fontset.h, systime.h, atimer.h, termchar.h.
4133 * src/xfont.c: Don’t include dispextern.h, fontset.h, ccl.h.
4134 * src/xftfont.c: Don’t include dispextern.h, character.h, fontset.h.
4135 * src/xgselect.c: Don’t include timespec.h, frame.h.
4137 * src/xgselect.h: Don’t include time.h.
4138 Use a forward decl to struct timespec instead.
4139 * src/xmenu.c: Don’t include keymap.h, character.h, charset.h,
4140 dispextern.h. Include systime.h.
4141 * src/xml.c: Don’t include character.h.
4142 * src/xrdb.c [USE_MOTIF]: Don’t include keyboard.h.
4143 * src/xselect.c: Don’t include dispextern.h, character.h,
4144 buffer.h, process.h.
4145 * src/xsmfns.c: Don’t include systime.h, sysselect.h.
4146 * src/xterm.c: Don’t include syssignal.h, charset.h, disptab.h,
4147 intervals.h process.h, keymap.h, xgselect.h. Include composite.h.
4149 2015-10-20 Paul Eggert <eggert@cs.ucla.edu>
4151 (/ N) now returns the reciprocal of N
4153 This is more compatible with Common Lisp and XEmacs (Bug#21690). See:
4154 http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg01053.html
4155 * lisp/color.el (color-hue-to-rgb, color-hsl-to-rgb)
4156 (color-xyz-to-srgb, color-xyz-to-lab):
4157 * lisp/emacs-lisp/cl-extra.el (cl-float-limits):
4158 * lisp/net/shr-color.el (shr-color-hue-to-rgb)
4159 (shr-color-hsl-to-rgb-fractions):
4160 Exploit the change to simplify the code a bit.
4161 * lisp/emacs-lisp/bytecomp.el (byte-compile-quo):
4162 Don’t complain about single-argument calls to ‘/’.
4163 * src/data.c (arith_driver, float_arith_driver):
4164 Implement the change.
4166 2015-10-20 Dmitry Gutov <dgutov@yandex.ru>
4168 Call vc-dir-refresh after stash operations
4170 * lisp/vc/vc-git.el (vc-git-stash-apply-at-point)
4171 (vc-git-stash-pop-at-point): Call vc-dir-refresh (bug#13960).
4173 * lisp/vc/vc-dir.el (vc-dir-resynch-file): Expand FNAME as well,
4174 since it can be abbreviated (as returned by vc-find-root).
4176 2015-10-20 Dmitry Gutov <dgutov@yandex.ru>
4178 * lisp/vc/vc-svn.el:
4179 * lisp/vc/vc-mtn.el:
4181 * lisp/vc/vc-cvs.el:
4182 * lisp/vc/vc-git.el:
4183 * lisp/vc/vc-bzr.el: Don't declare vc-exec-after anymore.
4184 Its usages have been replaced with vc-run-delayed.
4186 2015-10-20 Dima Kogan <dima@secretsauce.net>
4188 Fix memory leak in fontset handling
4190 * src/font.c (copy_font_spec): Make a deep copy of the input
4191 argument FONT. (Bug#21651)
4193 2015-10-20 Michael Sperber <mike@xemacs.org>
4195 * lisp/gnus/mailcap.el (mailcap-mime-data):
4196 Conditonalize `doc-view-mode', which does not exist on XEmacs.
4198 2015-10-20 Oleh Krehel <ohwoeowho@gmail.com>
4200 Update the way directories are compressed
4202 * lisp/dired-aux.el (dired-compress-file-suffixes): Update the recipe
4203 for *.tar.gz decompression to use a pipe.
4204 Add an entry for the default directory compression (to *.tar.g).
4205 (dired-compress-file): Update.
4207 See https://lists.gnu.org/archive/html/emacs-devel/2015-10/msg00949.html.
4209 2015-10-20 Michael Sperber <mike@xemacs.org>
4211 Unbreak `group' option for `mail-sources'
4213 * nnml.el (nnml-retrieve-groups, nnml-request-scan):
4214 * nnmail.el (nnmail-get-new-mail-per-group)
4215 (nnmail-get-new-mail-1): Unbreak `group' option for `mail-sources'.
4217 2015-10-19 Nicolas Petton <nicolas@petton.fr>
4219 New function seq-position
4221 * lisp/emacs-lisp/seq.el (seq-position): New function.
4222 * test/automated/seq-tests.el: New tests for seq-position.
4223 * doc/lispref/sequences.texi: Add documentation for `seq-position'.
4225 2015-10-19 Ken Brown <kbrown@cornell.edu>
4227 Enable --with-wide-int build on 32-bit Cygwin
4229 * src/sheap.c (STATIC_HEAP_SIZE): Remove distinction between x86
4230 and x86_64 to enable --with-wide-int build on 32-bit Cygwin.
4232 2015-10-19 Glenn Morris <rgm@gnu.org>
4234 * doc/emacs/ack.texi (Acknowledgments): Small, sad, update.
4236 2015-10-19 Eli Zaretskii <eliz@gnu.org>
4238 Resurrect image loading under auto-image-file-mode
4240 * src/image.c (x_find_image_fd): Handle the case of -2 returned by
4241 'openp' specially. This special case was lost in the changes on
4242 2015-08-18. (Bug#21685)
4244 2015-10-19 Eli Zaretskii <eliz@gnu.org>
4246 Fix return value of 'set-file-extended-attributes'
4248 * lisp/files.el (set-file-extended-attributes): Return non-nil
4249 when setting either ACLs or SELinux context succeeds. Document
4250 the return value. (Bug#21699)
4252 * doc/lispref/files.texi (Changing Files): Document the return
4253 value of set-file-extended-attributes.
4255 2015-10-19 Eli Zaretskii <eliz@gnu.org>
4257 Improve documentation of functions that change files
4259 * doc/lispref/files.texi (Changing Files): Document that these
4260 functions signal an error on failure.
4262 2015-10-18 Eli Zaretskii <eliz@gnu.org>
4264 Fix doc string of 'shell-quote-argument'
4266 * lisp/subr.el (shell-quote-argument): Doc fix. (Bug#21702)
4268 2015-10-18 Michael Albinus <michael.albinus@gmx.de>
4270 Some minor Tramp changes
4272 * doc/misc/tramp.texi (Obtaining Tramp): Add http git cloning.
4274 * lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
4275 Expand `tramp-auto-save-directory'.
4277 2015-10-18 Michael Albinus <michael.albinus@gmx.de>
4279 Minor edits in Tramp
4281 * lisp/net/tramp-adb.el (directory-listing-before-filename-regexp):
4284 * lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
4287 2015-10-17 Mark Oteiza <mvoteiza@udel.edu>
4289 * lisp/emacs-lisp/eldoc.el: Add back-to-indentation to the command list.
4291 2015-10-17 Eli Zaretskii <eliz@gnu.org>
4293 Avoid crashes when redisplayng a window changes faces or fonts
4295 * src/xdisp.c (redisplay_internal): If redisplaying the selected
4296 window or one of the frames turns on the frame's 'redisplay' flag,
4297 redisplay again. (Bug#21428)
4299 * src/frame.c (x_set_font): Set the frame's 'fonts_changed' flag.
4301 2015-10-17 Michael Albinus <michael.albinus@gmx.de>
4303 Solve timimg issues in file-notify-tests.el
4305 * test/automated/file-notify-tests.el (file-notify-test02-events):
4306 Rectify `attribute-change' tests. There are timing issues with
4307 gfilenotify. (Bug#21669)
4309 2015-10-16 Paul Eggert <eggert@cs.ucla.edu>
4311 Fix quoting of data within htmlfontify doc
4313 * doc/misc/htmlfontify.texi (Data Structures, Customization):
4314 Fix quoting of data structures. A Lisp quote is needed only
4315 when data appears within Lisp code.
4317 2015-10-16 Artur Malabarba <bruce.connor.am@gmail.com>
4319 * lisp/emacs-lisp/package.el: Reload archive-contents if
4321 (package--old-archive-priorities): New variable.
4322 (package-read-all-archive-contents, package-menu--refresh): Use it
4323 to decide when the `package-archive-contents' needs to be read
4326 2015-10-16 Paul Eggert <eggert@cs.ucla.edu>
4328 Make src headers idempotent and standalone
4330 Redo src/*.h so that each include file is idempotent (that is, can
4331 be included multiple times with the latter inclusions having no
4332 effect) and standalone (that is, can be included by itself,
4333 with no include file other than config.h needed as a prerequisite).
4334 This is standard practice in GNU programs nowadays.
4335 * lwlib/lwlib-widget.h, src/buffer.h, src/category.h, src/character.h:
4336 * src/charset.h, src/coding.h, src/commands.h, src/disptab.h:
4337 * src/fontset.h, src/gnutls.h, src/indent.h, src/keymap.h, src/macros.h:
4338 * src/regex.h [emacs]:
4339 * src/syntax.h, src/systty.h, src/termhooks.h:
4340 Include lisp.h, for Lisp_Object.
4341 * src/buffer.h, src/category.h, src/cm.h, src/commands.h, src/disptab.h:
4342 * src/indent.h, src/intervals.h, src/keyboard.h, src/macros.h:
4343 * src/process.h, src/puresize.h, src/region-cache.h, src/syntax.h:
4344 * src/syssignal.h, src/sysstdio.h, src/systty.h, src/termchar.h:
4345 * src/termopts.h, src/tparam.h, src/unexec.h:
4346 Protect against multiple inclusion.
4347 * src/buffer.h: Include character.h, for STRING_CHAR.
4348 * src/emacsgtkfixed.h (struct frame):
4349 * src/fontset.h (struct face):
4350 * src/region-cache.h (struct buffer):
4351 * src/termhooks.h (struct glyph):
4352 * src/xsettings.h (struct x_display_info):
4353 Add possibly-forward decl.
4354 * src/syntax.h: Include buffer.h, for BVAR.
4355 * src/sysselect.h: Include lisp.h, for eassume.
4356 * src/termchar.h: Include <stdio.h>, for FILE.
4357 * src/widget.h: Include <X11/IntrinsicP.h>, for Widget.
4358 * src/xsettings.h: Include <X11/Xlib.h>, for XEvent.
4360 2015-10-16 Jürgen Hötzel <juergen@archlinux.org>
4362 Handle symlink targets containing spaces in tramp-gvfs.el
4364 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
4365 Handle symlink targets containing spaces.
4367 2015-10-16 Artur Malabarba <bruce.connor.am@gmail.com>
4369 * lisp/custom.el (custom-theme-load-path): Demote to defvar.
4371 `custom-theme-load-path' was a defcustom, but it shouldn't be for the
4372 same reason that `load-path' shouldn't. Setting it via the customize
4373 interface is a trap for the user.
4375 Installed themes commonly add themselves to this variable, which means
4376 its value is not fit for being saved (it will permanently remember dirs
4377 that don't exist anymore).
4379 This is aggravated by the fact that Emacs always applies the `user'
4380 theme on top of any theme that's loaded, since this will apply the old
4381 variable value and remove any new directories that had been recently
4382 added by themes themselves.
4384 Not to mention, we already have `custom-theme-directory', which is safe
4387 2015-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
4389 * lisp/mpc.el: Rename the new toggling commands.
4390 (mpc-toggle-consume, mpc-toggle-repeat, mpc-toggle-single)
4391 (mpc-toggle-shuffle): Add "-toggle" in the name.
4393 2015-10-16 Eli Zaretskii <eliz@gnu.org>
4395 Improve the doc string of 'completion-boundaries'
4397 * lisp/minibuffer.el (completion-boundaries): Rename the argument
4398 TABLE to COLLECTION, for consistency with other high-level
4399 completion functions. Document how COLLECTION is called if it
4400 is a function. (Bug#21644)
4402 2015-10-16 Oleh Krehel <ohwoeowho@gmail.com>
4404 * lisp/dired-aux.el (dired-shell-command): Fix compile warning.
4406 2015-10-16 Oleh Krehel <ohwoeowho@gmail.com>
4408 Make dired-do-compress work for *.zip files
4410 * lisp/dired-aux.el (dired-check-process): Transform the top-level
4411 comment into a docstring.
4412 (dired-shell-command): New command. This mirrors
4413 `dired-check-process', but is more user-friendly for passing
4415 (dired-compress-file-suffixes): Allow to specify the command switches
4416 along with input (%i) and output (%o) inside the PROGRAM part.
4417 Add an entry for *.zip files, and update the entry for *.tar.gz files
4418 to the new style. Update the docstring.
4419 (dired-compress-file): When PROGRAM matches %i or %o, use the new
4421 (dired-update-file-line): Avoid an error when at end of buffer.
4425 2015-10-16 Eli Zaretskii <eliz@gnu.org>
4427 Minor improvement in documentation of internals
4429 * doc/lispref/internals.texi (Writing Emacs Primitives): Document QUIT.
4431 2015-10-16 Eli Zaretskii <eliz@gnu.org>
4433 Improve documentation of COLLECTION in completion functions
4435 * doc/lispref/minibuf.texi (Minibuffer Completion): Add a
4436 cross-reference to "Programmed Completion".
4438 * src/minibuf.c (Fcompleting_read): Improve the doc string.
4441 2015-10-16 Eli Zaretskii <eliz@gnu.org>
4443 Add more release info to etc/HISTORY
4445 * etc/HISTORY: Add more release information about 19.x and 20.x
4448 2015-10-15 Paul Eggert <eggert@cs.ucla.edu>
4450 New file etc/HISTORY
4452 * admin/FOR-RELEASE: Procedure for etc/HISTORY.
4453 * etc/HISTORY: New file.
4454 * etc/NEWS: Mention it.
4456 2015-10-15 Dmitry Gutov <dgutov@yandex.ru>
4458 js-mode: Don't misindent generator methods
4460 * lisp/progmodes/js.el (js--looking-at-operator-p): Distinguish
4461 generator methods from multiplication operator
4462 (https://github.com/mooz/js2-mode/issues/275).
4464 2015-10-15 Paul Eggert <eggert@cs.ucla.edu>
4466 Fix animation timeout delay calculation
4468 * lisp/image.el (image-animate-timeout):
4469 Don’t assume speed is floating-point.
4471 2015-10-15 Mark Oteiza <mvoteiza@udel.edu>
4473 Add commands for controlling MPD modes
4475 * lisp/mpc.el (mpc-cmd-consume, mpc-cmd-random, mpc-cmd-repeat)
4476 (mpc-cmd-single): New functions.
4477 (mpc-consume, mpc-repeat, mpc-single, mpc-shuffle): New commands.
4478 (mpc-mode-menu): Add new commands as menu items.
4480 2015-10-15 Dmitry Gutov <dgutov@yandex.ru>
4482 Refer to `(elisp)Basic Completion' in completing-read docstring
4484 * src/minibuf.c (Fcompleting_read): Refer to `(elisp)Basic
4485 Completion' in the docstring (bug#21644).
4487 2015-10-14 Mark Oteiza <mvoteiza@udel.edu>
4489 * lisp/mpc.el (mpc-format): Always push form to pred
4491 2015-10-14 Paul Eggert <eggert@cs.ucla.edu>
4495 * configure.ac (bitmapdir): Fix misspelling of bmd_acc.
4496 * test/automated/coding-tests.el (ert-test-coding-bogus-coding-systems):
4497 Fix misspelling of nonexistent file name.
4499 2015-10-14 Mark Oteiza <mvoteiza@udel.edu>
4501 * lisp/mpc.el (mpc-mode-menu, mpc-toggle-play): Fix docstrings
4503 2015-10-14 Michael Albinus <michael.albinus@gmx.de>
4505 Some editing fixes in Tramp
4507 * lisp/net/tramp-gvfs.el:
4508 * doc/misc/tramp.texi: "customer option" -> "custom option".
4510 * lisp/net/tramp.el (tramp-completion-function-alist): Fix docstring.
4512 2015-10-14 Jürgen Hötzel <juergen@archlinux.org>
4514 Use proper localization in tramp-gvfs.el
4516 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
4517 Suppress localized settings in order to proper parse gfvs output.
4519 2015-10-14 Warren Lynn <wrn.lynn@gmail.com> (tiny change)
4521 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4522 Quote argument in proper order. (Bug#21562)
4524 2015-10-14 Nicolas Petton <nicolas@petton.fr>
4526 Fix typos in docstrings
4528 * lisp/emacs-lisp/map.el:
4529 * lisp/emacs-lisp/seq.el: Fix typos in the docstrings of the pcase
4532 2015-10-14 Mark Oteiza <mvoteiza@udel.edu>
4534 * lisp/mpc.el (mpc-volume-refresh): Check if buffer is live.
4536 2015-10-14 Oleh Krehel <ohwoeowho@gmail.com>
4538 Make dired-jump work with tar-subfile-mode
4540 * lisp/dired-x.el (dired-jump): When in `tar-subfile-mode', instead of
4541 emitting an error, switch to `tar-superior-buffer'.
4543 2015-10-14 Juanma Barranquero <lekktu@gmail.com>
4545 * .gitignore: Add build-aux/ar-lib.
4547 2015-10-14 Nicolas Petton <nicolas@petton.fr>
4549 Better docstrings in seq.el and map.el
4551 * lisp/emacs-lisp/map.el:
4552 * lisp/emacs-lisp/seq.el: Improve the docstring for the pcase patterns.
4554 2015-10-14 Paul Eggert <eggert@cs.ucla.edu>
4559 2015-10-13 binary-io, u64, unistd: port to strict C
4560 2015-09-26 c-ctype: do not worry about EBCDIC + char signed
4561 2015-09-25 c-ctype: port better to z/OS EBCDIC
4562 2015-09-25 gnulib-common.m4: fix gl_PROG_AR_RANLIB/AM_PROG_AR clash
4563 * doc/misc/texinfo.tex, lib/binary-io.c, lib/c-ctype.h, lib/u64.c:
4564 * lib/unistd.c, m4/gnulib-common.m4, m4/gnulib-comp.m4:
4567 2015-10-14 Paul Eggert <eggert@cs.ucla.edu>
4571 * src/alloc.c (PURE_POINTER_P): Remove.
4572 All uses replaced with PURE_P.
4573 (XPNTR_OR_SYMBOL_OFFSET): New function.
4574 (XPNTR): Move here from lisp.h.
4575 Reimplement in terms of XPNTR_OR_SYMBOL_OFFSET.
4576 (mark_maybe_object, valid_lisp_object_p, survives_gc_p):
4577 Remove unnecessary cast.
4578 (purecopy): Use XPNTR_OR_SYMBOL_OFFSET instead of XPNTR,
4579 to avoid an unnecessary runtime test for symbols.
4580 * src/lisp.h (lisp_h_XPNTR, XPNTR): Remove, moving XPNTR to alloc.c.
4581 Only alloc.c needs XPNTR now.
4583 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
4585 Add MPC play/pause command
4587 * lisp/mpc.el (mpc-toggle-play): New command.
4588 (mpc-mode-map): Bind it to "s".
4589 (mpc-mode-menu): Add corresponding menu item.
4591 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
4593 Add bindings and menu items for prev and next tracks
4595 * lisp/mpc.el (mpc-mode-map): Bind ">" to mpc-next,
4597 (mpc-mode-menu): Add corresponding menu items
4599 2015-10-13 Ken Raeburn <raeburn@raeburn.org>
4601 Reduce face-related consing during frame creation.
4603 * faces.el (face--attributes-unspecified): Compute the "unspecified"
4604 attribute list once.
4605 (face-spec-reset-face): Use it instead of building the list.
4607 2015-10-13 Ken Raeburn <raeburn@permabit.com>
4609 Do process ConfigureNotify events indicating size changes.
4611 * src/xterm.c (handle_one_xevent): If consecutive ConfigureNotify
4612 events don't have the same size, process each one.
4614 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
4616 Derive mpc-mode from special-mode
4618 lisp/mpc.el (mpc-mode-map): Make from sparse keymap. Unbind g.
4619 (mpc-mode): Derive from special mode.
4620 (mpc-songs-mode-map): Don't set parent keymap.
4622 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
4624 Fix error messages for when covers are not found.
4626 The last change to mpc-format let the binding to file call
4627 mpc-file-local-copy with nil argument. Instead, employ if-let here
4628 so nil bindings don't result in needless computation and errors.
4629 * lisp/mpc.el: Require 'subr-x at compile time.
4630 * lisp/mpc.el (mpc-format): Use if-let.
4632 2015-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4634 Make dired-do-compress work for *.tar.gz files
4636 * lisp/dired-aux.el (dired-compress-file-suffixes): Associate
4637 "tar -zxvf" to *.tar.gz; update docstring.
4639 (dired-compress-file): Allow to specify switches after the command in
4640 `dired-compress-file-suffixes'.
4642 2015-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4644 Make dired-do-compress work for directories
4646 * lisp/dired-aux.el (dired-compress-file): When FILE is a directory,
4647 instead of emitting an error, call "tar -czf FILE.tar.gz FILE".
4648 Also convert the top comment into a docstring.
4650 2015-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4652 * lisp/mpc.el (mpc-songs-refresh): Don't side-effect `active'
4654 ... since it might come straight from the memoizing table.
4656 2015-10-13 Juanma Barranquero <lekktu@gmail.com>
4658 * src/w32fns.c (x_change_tool_bar_height): Remove unused variable frame.
4660 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
4662 Use special-mode in eww list modes
4664 * lisp/net/eww.el (eww-bookmark-mode, eww-history-mode)
4665 (eww-buffers-mode): Derive from special-mode and remove redundant
4666 setting of buffer-read-only.
4667 (eww-mode-map): Remove redundant keymap parent setting.
4668 (eww-bookmark-mode-map, eww-history-mode-map, eww-buffers-mode-map):
4669 Remove redundant keymap suppressions and mappings.
4671 2015-10-13 Martin Rudalics <rudalics@gmx.at>
4673 Allow setting frame pixel sizes from frame parameters (Bug#21415)
4675 Also fix some misfeatures in frame (re-)sizing code, add more
4676 debugging information and remove some dead code.
4678 * lisp/frame.el (frame-notice-user-settings, make-frame): Change
4679 parameter names when setting `frame-size-history'.
4680 (frame--size-history): New function.
4682 * src/frame.c (frame_inhibit_resize): If frame has not been made
4683 yet, return t if inhibit_horizontal_resize or
4684 inhibit_vertical_resize bit have been set.
4685 (adjust_frame_size): Simplify.
4686 (make_frame): Initialize inhibit_horizontal_resize,
4687 inhibit_vertical_resize, tool_bar_redisplayed, tool_bar_resized.
4688 (Fframe_after_make_frame): Reset inhibit_horizontal_resize and
4689 inhibit_vertical_resize slots.
4690 (x_set_frame_parameters): Handle `text-pixels' specification for
4691 width and height parameters. Don't consider new_height or
4692 new_width changes. Call adjust_frame_size instead of
4694 (x_figure_window_size): Two new arguments x_width and y_width
4695 returning frame's figures width and height. Calculate tool bar
4696 height before frame sizes so SET_FRAME_HEIGHT can pick it up.
4697 Handle `text-pixels' specification for width and height
4699 (Qtext_pixels, Qx_set_frame_parameters, Qset_frame_size)
4700 (Qx_set_window_size_1, Qx_set_window_size_2)
4701 (Qx_set_window_size_3, Qx_set_menu_bar_lines)
4702 (Qupdate_frame_menubar, Qfree_frame_menubar_1)
4703 (Qfree_frame_menubar_2): New symbols.
4704 * src/frame.h (structure frame): New booleans
4705 tool_bar_redisplayed, tool_bar_resized,
4706 inhibit_horizontal_resize, inhibit_vertical_resize.
4707 (x_figure_window_size): Update external declaration.
4708 * src/gtkutil.c (xg_frame_set_char_size): Set size hints before
4709 calling gtk_window_resize.
4710 (update_frame_tool_bar): Make inhibiting of frame resizing more
4711 discriminative. Set tool_bar_resized bit.
4712 * src/nsfns.m (x_set_tool_bar_lines): Make inhibiting of frame
4713 resizing more discriminative. Call adjust_frame_size instead of
4715 (Fx_create_frame): Handle x_width and x_height if
4716 set by x_figure_window_size.
4717 * src/nsterm.m (x_set_window_size): For GNUSTEP build don't
4718 subtract 3 from tool bar height.
4719 (x_set_window_size): Add frame_size_history_add call.
4720 (x_new_font): Call adjust_frame_size instead of
4722 * src/w32fns.c (x_change_tool_bar_height): Reset
4723 tool_bar_redisplayed and tool_bar_resized bits when adding tool
4724 bar. Make inhibiting of frame resizing more discriminative.
4725 (w32_wnd_proc): Remove dead code in WM_WINDOWPOSCHANGING case.
4726 (Fx_create_frame): Handle x_width and x_height if set by
4727 x_figure_window_size. Set size hints before adjusting frame size.
4728 (x_create_tip_frame): Adjust x_figure_window_size call.
4729 * src/w32term.c (x_set_window_size): Add frame_size_history_add
4731 * src/widget.c (set_frame_size): Remove dead code. Add
4732 frame_size_history_add call. When frame_resize_pixelwise is t
4733 use FRAME_PIXEL_WIDTH and FRAME_PIXEL_HEIGHT instead of
4734 pixel_width and pixel_height.
4735 (update_various_frame_slots): Remove dead code.
4736 (EmacsFrameResize): Add more information in
4737 frame_size_history_add call.
4738 (EmacsFrameQueryGeometry): Round only when frame_resize_pixelwise
4740 * src/xdisp.c (redisplay_tool_bar): Set tool_bar_redisplayed bits.
4741 * src/xfns.c (x_set_menu_bar_lines): Change argument name.
4742 (x_change_tool_bar_height): Reset tool_bar_redisplayed and
4743 tool_bar_resized bits when adding tool bar. Make inhibiting of
4744 frame resizing more discriminative.
4745 (Fx_create_frame): Handle x_width and x_height if set by
4746 x_figure_window_size. Set size hints before adjusting frame size.
4747 (x_create_tip_frame): Adjust x_figure_window_size call.
4748 * src/xmenu.c (update_frame_menubar): Don't handle Lucid specially.
4749 (set_frame_menubar): On Lucid never add core-border-width to
4750 avoid that adding XtNinternalBorderWidth adds it again.
4751 (free_frame_menubar): Handle frame_inhibit_resize true for Motif.
4752 * src/xterm.c (x_new_font): In non-toolkit case handle size
4754 (x_set_window_size_1): Fix calls to frame_size_history_add.
4755 (x_wm_set_size_hint): Remove dead code. Set
4756 size_hints.min_width and size_hints.min_height to base_width and
4759 2015-10-13 Michael Albinus <michael.albinus@gmx.de>
4761 * test/automated/file-notify-tests.el (file-notify--test-timeout):
4762 Add docstring. Increase to 10 seconds for remote
4763 directories. (Bug#21669)
4765 2015-10-12 Paul Eggert <eggert@cs.ucla.edu>
4767 Unmacroize ebrowse.c and etags.c a bit
4769 * lib-src/ebrowse.c (READ_CHUNK_SIZE): Now an enum constant.
4770 (streq, filename_eq, set_flag, has_flag): Now inline functions.
4771 (set_flag): First arg is now an address, not an lvalue.
4772 All callers changed.
4773 (filename_eq, set_flag, has_flag):
4774 Rename from FILENAME_EQ, SET_FLAG, HAS_FLAG.
4775 All callers changed.
4776 * lib-src/etags.c (streq, strcaseeq, strneq, strncaseeq):
4777 Now inline functions. Remove asserts that are unnecessary these
4778 days (and in some cases were too-generous anyway).
4780 2015-10-12 Mark Oteiza <mvoteiza@udel.edu>
4782 Use highlight for current items
4784 * lisp/mpc.el (mpc-select-make-overlay, mpc-tagbrowser-all-select):
4785 Apply highlight face instead of region face.
4787 2015-10-12 Mark Oteiza <mvoteiza@udel.edu>
4789 Search for more cover image names in MPC
4791 * lisp/mpc.el (mpc-format): Also look for .folder.jpg or folder.jpg
4794 2015-10-12 Juanma Barranquero <lekktu@gmail.com>
4796 Remove or comment out unused variables
4798 * src/w32fns.c (x_set_mouse_color): Comment out variables cursor,
4799 nontext_cursor, mode_cursor, hand_cursor and count.
4800 (x_change_tool_bar_height): Remove variable old_text_height.
4801 (deliver_wm_chars): Remove variable strip_Alt.
4802 (Fw32_shell_execute): Remove variable document_a.
4803 (Fw32_frame_geometry): Remove variable fullboth.
4804 * src/w32term.c (w32_setup_relief_color): Comment out variable
4806 (w32_horizontal_scroll_bar_handle_click): Remove variables start, end.
4807 (w32_read_socket): Comment out variables rows, columns.
4808 * src/w32uniscribe.c (uniscribe_check_otf_1): Remove variable rest.
4810 2015-10-12 Juanma Barranquero <lekktu@gmail.com>
4812 * src/w32proc.c (sys_select): Fix bitwise test.
4814 2015-10-12 Eli Zaretskii <eliz@gnu.org>
4816 Minor typo corrections in doc strings
4818 * lisp/menu-bar.el (popup-menu, popup-menu-normalize-position):
4821 2015-10-12 Eli Zaretskii <eliz@gnu.org>
4823 * nt/INSTALL: Recommend MSYS Automake/Autoconf from ezwinports.
4825 2015-10-12 Eli Zaretskii <eliz@gnu.org>
4827 Attempt to avoid crashes in plist-member
4829 * src/fns.c (Fplist_member): Don't call QUIT between a CONSP test
4830 and a call to XCDR. (Bug#21655)
4832 2015-10-12 Mike FABIAN <mfabian@redhat.com>
4834 * lisp/select.el (gui-get-primary-selection): In
4835 gui-get-primary-selection use gui--selection-value-internal (Bug#20906)
4837 2015-10-12 Tassilo Horn <tsdh@gnu.org>
4839 Support RTF in doc-view
4841 * lisp/doc-view.el (doc-view-set-doc-type): Add entry for RTF extension.
4843 2015-10-12 Juanma Barranquero <lekktu@gmail.com>
4845 * src/w32fns.c (get_wm_chars): Increment counter, not pointer.
4847 2015-10-11 Nicolas Petton <nicolas@petton.fr>
4849 Replace the usage of an obsolete function in auth-source.el
4851 * lisp/gnus/auth-source.el (auth-source-epa-make-gpg-token):
4852 Replace an usage of `epg-context-set-armor' with `setf'.
4854 2015-10-11 Nicolas Petton <nicolas@petton.fr>
4856 * lisp/gnus/auth-source.el: Use sharp-quoting with functions.
4858 2015-10-11 Jay Belanger <jay.p.belanger@gmail.com>
4860 Have calc-yank recognize numbers in different bases.
4862 * lisp/calc/calc-yank.el (math-number-regexp): New function.
4863 (calc-yank): Use `math-number-regexp' to recognize numbers.
4865 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
4867 Handle an opaque-move X11 window manager operation more efficiently
4869 * src/xterm.c (handle_one_xevent): If a ConfigureNotify event is
4870 followed by more ConfigureNotify events for the same window, process
4873 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
4875 Fix cursor setting for tip frame; re-enable cursor generation
4877 * src/xfns.c (x_create_tip_frame): Include the cursor in the window
4878 attributes sent when creating the new X window. Don't skip setting
4879 the pointerColor parameter.
4881 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
4883 Rewrite x_set_mouse_color to sync less
4885 We can track serial numbers of X requests and correlate error events
4886 with the associated requests. This way we can identify errors for
4887 specific calls without having to use XSync after every one.
4889 * src/xfns.c (enum mouse_cursor): New type.
4890 (struct mouse_cursor_types, struct mouse_cursor_data): New types.
4891 (mouse_cursor_types): New array listing the Lisp variables and default
4892 cursor appearances for each cursor type.
4893 (x_set_mouse_color_handler): New function; checks error event serial
4894 number against submitted requests.
4895 (x_set_mouse_color): Updated to use the new error handler callback,
4896 and to be more table-driven, to simplify repetitious code.
4898 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
4900 Add x_catch_errors_with_handler
4902 * src/xterm.c (struct x_error_message_stack): Add new fields for a
4903 callback function and associated data pointer.
4904 (x_error_catcher): If the callback function is set, call it after
4905 saving the error message string.
4906 (x_catch_errors_with_handler): Renamed from x_catch_errors but now
4907 accepts a callback function and data pointer.
4908 (x_catch_errors): Now a wrapper function.
4909 * src/xterm.h (x_special_error_handler): New typedef.
4910 (x_catch_errors_with_handler): Declare.
4912 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
4914 Introduce x_uncatch_errors_after_check to reduce XSync calls
4916 Both x_had_errors_p and x_check_errors call XSync, so if they're
4917 immediately followed by x_uncatch_errors, its XSync call will be
4918 redundant, resulting in a wasted round trip to the X server.
4920 * src/xterm.c (x_uncatch_errors_after_check): New routine; a copy of
4921 x_uncatch_errors without the XSync call.
4922 (XTmouse_position, x_wm_supports):
4923 * src/xfns.c (x_set_mouse_color):
4924 * src/xmenu.c (Fx_menu_bar_open_internal):
4925 * src/xselect.c (x_own_selection, x_get_foreign_selection):
4926 (Fx_get_atom_name): Call it instead of x_uncatch_errors.
4927 * src/xterm.h (x_uncatch_errors_after_check): Declare.
4929 2015-10-10 Jay Belanger <jay.p.belanger@gmail.com>
4931 Document the optional prefix to `calc-yank'
4933 * doc/misc/calc.texi (Yanking into the Stack): Document the optional
4934 prefix to `calc-yank'.
4935 * lisp/calc/calc-yank.el (calc-yank): Ensure that things killed from
4936 the Calc buffer are yanked back unchanged.
4938 2015-10-10 Mark Oteiza <mvoteiza@udel.edu>
4940 * lisp/calendar/calendar.el: Display buffer before executing body.
4942 In each use of this macro, the modeline is derived from a window width
4943 calculation, which will be wrong if (display-buffer) splits the window
4946 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
4948 Use ‘echo’ safely with ‘\’ or leading ‘-’
4950 POSIX says that ‘echo FOO’ produces implementation-defined output
4951 if FOO contains leading ‘-’, or ‘\’ anywhere, so don’t assume GNU
4952 behavior in that case.
4953 * Makefile.in (removenullpaths): Remove.
4954 (epaths-force): Rewrite to avoid the need for ‘echo’.
4955 (install-etc): Be clearer about escaping the shell metacharacters
4957 * Makefile.in (install-arch-indep, install-etcdoc):
4958 * admin/charsets/mapconv, admin/merge-gnulib, admin/merge-pkg-config:
4959 * admin/quick-install-emacs, build-aux/gitlog-to-emacslog:
4960 * configure.ac, lib-src/rcs2log, make-dist:
4961 * src/Makefile.in (lisp.mk):
4962 Don’t assume ‘echo’ outputs ‘\’ and leading ‘-’ unscathed.
4963 For example, use ‘printf '%s\n' "$foo"’ rather than ‘echo "$foo"’
4964 if $foo can contain arbitrary characters.
4965 * lisp/Makefile.in (TAGS): Use ‘ls’, not ‘echo’, to avoid ‘\’ issues.
4966 * doc/lispref/two-volume.make (vol1.pdf):
4967 * test/etags/make-src/Makefile (web ftp publish):
4968 Use ‘printf’ rather than ‘echo -e’.
4970 2015-10-10 Kaushal Modi <kaushal.modi@gmail.com>
4972 Allow numbers with different radixes to be yanked.
4974 * lisp/calc/calc-yank.el (calc-yank): Allow radixes besides the
4977 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
4979 Improve CHECK_IMPURE and PURE_P speedup
4981 * src/data.c (Faset): Use XVECTOR and XSTRING rather than XPNTR.
4983 2015-10-10 Jay Belanger <jay.p.belanger@gmail.com>
4985 Use events instead of chars to keep track of steps.
4987 * lisp/calc/calc-prog.el (calc-kbd-loop): Use events instead of chars
4988 to keep track of steps.
4990 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
4992 Fix --enable-gcc-warnings problem with older GCC
4994 * src/puresize.h: Add INLINE_HEADER_BEGIN, INLINE_HEADER_END.
4995 This is for building with --enable-gcc-warnings with
4996 GCC 4.6 through 5.0.
4998 2015-10-10 Eli Zaretskii <eliz@gnu.org>
5000 Fix vertical-motion in truncated lines that end in a stretch
5002 * src/indent.c (Fvertical_motion): Expect overshoot when point is
5003 beyond window margin and lines are truncated, even if we have a
5004 stretch at point. (Bug#21468)
5006 2015-10-10 Eli Zaretskii <eliz@gnu.org>
5008 Avoid link-time errors due to inline functions
5010 * src/emacs.c: Include puresize.h, to avoid link-time errors in
5011 unoptimized builds due to PURE_P and CHECK_IMPURE, which are now
5014 2015-10-10 Andreas Schwab <schwab@linux-m68k.org>
5016 * src/data.c (Faset): Fix last change.
5018 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
5020 CHECK_IMPURE and PURE_P speedup
5022 * src/intervals.c (create_root_interval):
5023 Do CHECK_IMPURE only for strings; not needed for buffers.
5024 Prefer ! STRINGP to BUFFERP, for a tad more speed.
5025 * src/puresize.h (CHECK_IMPURE, PURE_P):
5026 Now inline functions instead of macros.
5027 (PURE_P): Don’t use XPNTR; that is now the caller’s responsibility.
5028 All callers changed.
5029 (CHECK_IMPURE): New argument PTR, to save us the work of running XPNTR.
5030 All callers changed.
5032 2015-10-09 Noah Friedman <friedman@splode.com>
5034 (tramp-open-connection-setup-interactive-shell): Send -onlcr as well.
5036 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5038 * lisp/progmodes/cc-mode.el (c-after-font-lock-init): Only *move*
5040 our after-change-function, rather than re-adding it if it was removed.
5042 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5044 * lisp/cedet/ede: Silence some compiler warnings
5046 * lisp/cedet/ede.el: Require cl-lib. Silence some compiler warnings.
5047 (ede-menu-obj-of-class-p): Use cl-some rather than `eval'.
5048 (ede-apply-object-keymap, ede-reset-all-buffers)
5049 (ede-auto-add-to-target): Use dolist.
5050 (ede-new, ede-flush-deleted-projects, ede-global-list-sanity-check):
5051 Use field names rather than initarg names in `oref'.
5052 (ede-load-project-file): Remove unused var `file'.
5053 (ede-map-any-target-p): Use cl-some rather than ede-map-targets.
5054 (ede-set): Remove unused var `a'.
5056 * lisp/cedet/ede/emacs.el: Silence some compiler warnings.
5057 (ede-project-autoload): Avoid the old-style "name" argument.
5058 (ede-emacs-find-matching-target): Use field names rather than initarg
5061 * lisp/cedet/ede/linux.el: Silence some compiler warnings.
5062 (ede-linux-load, ede-project-autoload): Avoid the old-style
5064 (ede-linux-find-matching-target): Use field names rather than initarg
5067 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5069 * lisp/textmodes/reftex.el: Silence byte-compiler warnings.
5071 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5073 * lisp/progmodes/prolog.el (prolog-smie-rules): Try and avoid
5074 indenting too far after ":-".
5076 2015-10-09 Eli Zaretskii <eliz@gnu.org>
5078 Update case-table and categories of recently added characters
5080 * lisp/international/characters.el: Update information about Latin
5081 Extended-C, Latin Extended-D, Latin Extended-E, Cyrillic Extended,
5082 Georgian, Glagolitic, Deseret, Old Hungarian, and Warang Citi
5083 blocks. (Byug#21654)
5085 2015-10-09 Martin Rudalics <rudalics@gmx.at>
5087 * src/frame.c (adjust_frame_size): In minibuffer-only windows
5088 don't count minibuffer height twice. (Bug#21643)
5090 2015-10-09 Eli Zaretskii <eliz@gnu.org>
5092 Avoid inflooping in font-lock
5094 * lisp/font-lock.el (font-lock-extend-region-wholelines): Bind
5095 inhibit-field-text-motion around the call to
5096 line-beginning-position, to avoid inflooping. (Bug#21615)
5098 2015-10-09 Tassilo Horn <tsdh@gnu.org>
5100 Refactor duplicated code; ensure default is in completions
5102 * lisp/textmodes/reftex-cite.el (reftex--query-search-regexps):
5104 (reftex-extract-bib-entries): Use it.
5105 (reftex-extract-bib-entries-from-thebibliography): Use it.
5107 2015-10-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
5109 * doc/misc/autotype.texi (Skeletons as Abbrevs): "if" -> "ifst"
5112 2015-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5114 * lisp/calc/calc.el: Silence byte-compiler warnings.
5115 (calc-scan-for-dels): Use ignore-errors.
5116 (calc-dispatch, calc-do-dispatch): Make unused arg optional.
5117 (calc-read-key-sequence): Remove unused var `prompt2'.
5118 (calc-kill-stack-buffer): Remove unused var `buflist'.
5119 (calc): Remove unused var `oldbuf'.
5120 (calc-refresh): Use inhibit-read-only.
5121 (calc-can-abbrev-vectors): Declare.
5122 (calc-record): Remove unused var `mainbuf'.
5123 (math-sub-bignum): Remove unused var `sum'.
5124 (math-svo-c, math-svo-wid, math-svo-off): Declare.
5126 2015-10-08 Daiki Ueno <ueno@gnu.org>
5128 Use g_clear_error instead of g_error_free
5130 * src/image.c: Define g_clear_error instead of g_error_free.
5131 (init_svg_functions): Resolve symbol g_clear_error instead of
5133 (svg_load_image): Use g_clear_error instead of g_error_free, to
5134 suppress GLib warnings when ERR is not set. See bug#21641.
5136 2015-10-08 Paul Eggert <eggert@cs.ucla.edu>
5138 * src/image.c (image_size_error): Simplify.
5140 2015-10-08 Paul Eggert <eggert@cs.ucla.edu>
5142 Fix problems caught with --enable-gcc-warnings
5144 * src/image.c (lookup_rgb_color):
5145 * src/xfns.c (x_defined_color):
5146 * src/xterm.c (x_parse_color):
5147 Remove unused locals.
5149 2015-10-08 Jay Belanger <jay.p.belanger@gmail.com>
5151 * lisp/calc/calc.el (calc-digit-start-entry): Fix typo.
5153 2015-10-08 Jay Belanger <jay.p.belanger@gmail.com>
5155 Format initial input uniformly
5157 * lisp/calc/calc.el (calc-digit-start-entry): New function.
5158 * lisp/calc/calc.el (calcDigit-start):
5159 * lisp/calc/calc-aent.el (calc-alg-digit-entry):
5160 Use `calc-digit-start-entry' to format input.
5162 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
5164 Disable non-working pointerColor setting for X tooltip frame
5166 It generates a bunch of server traffic, but there's some bug wherein
5167 the new mouse cursor settings don't seem to get used. In most
5168 situations the cursor isn't likely to be seen anyway, so it's not
5171 * src/xfns.c (x_create_tip_frame): Don't set pointerColor.
5173 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
5175 Reduce some unnecessary X calls
5177 * src/xfns.c (x_real_pos_and_offsets): Remove a redundant XGetGeometry
5178 call. If border width is wanted, get it from the XGetGeometry call
5179 instead of calling XGetWindowAttributes on the same window. Skip some
5180 X calls if we've already detected an error from the X server.
5181 * src/xterm.c (x_wm_supports): Delete x_sync before x_had_errors_p.
5182 (handle_one_xevent): Delete XSync call before x_uncatch_errors.
5184 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
5186 Reduce color allocation/query traffic in the TrueColor case
5188 When working with an X visual with TrueColor class, pixel values can
5189 be generated from the RGB values according to mask value provided by
5190 the server on connection. Some of the image-handling code was already
5193 * src/xterm.h (x_make_truecolor_pixel): New function; code taken from
5195 (x_mutable_colormap): New function.
5196 * src/image.c (lookup_rgb_color): Move pixel composition code to
5197 x_make_truecolor_pixel.
5198 (x_kill_gs_process): Call x_mutable_colormap.
5199 * src/xfaces.c (x_free_colors, x_free_dpy_colors): Call
5201 * src/xftfont.c (xftfont_get_colors): Call x_query_colors.
5202 * src/xterm.c (x_query_colors): For a TrueColor display, decompose the
5203 pixel value into RGB values directly, and don't send a request to the
5205 (x_alloc_nearest_color): For a TrueColor display, construct the pixel
5206 value with x_make_truecolor_pixel.
5207 (x_copy_color): For an immutable color map, just return the provided
5210 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
5212 Cache XParseColor results in the X display info structure
5214 With repeated lookups of foreground and background colors for multiple
5215 faces per frame, we issue a lot of redundant color name lookups to the
5216 X server, waiting every time for the response. On a remote network
5217 with, say, 30ms round-trip time, this can add nearly a full second to
5218 creation of a new frame.
5220 * src/gtkutil.c (xg_check_special_colors): Call x_parse_color.
5221 * src/image.c (get_spec_bg_or_alpha_as_argb):
5222 (xpm_init_color_cache, xpm_lookup_color):
5223 * src/xfns.c (x_defined_color):
5224 * src/xterm.c (x_parse_color): New function; caches color names not
5225 starting with "#" in the display-info structure.
5226 (x_delete_display): Delete the cache content.
5227 * src/xterm.h (struct color_name_cache_entry): New type.
5228 (x_parse_color): Declare.
5229 (struct x_display_info): Add a new field for the cache.
5231 2015-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5233 * src/syntax.c (syms_of_syntax): Make syntax-propertize--done local.
5235 2015-10-07 Eli Zaretskii <eliz@gnu.org>
5237 Fix segfault in image_size_error
5239 * src/image.c (image_size_error): Pass a Lisp string to
5240 image_error, not a C string. (Bug#21641)
5242 2015-10-07 Simen Heggestøyl <simenheg@gmail.com>
5244 Highlight CSS variable definitions
5246 * lisp/textmodes/css-mode.el (css-nmstart-re): Tweak regexp to accept
5247 CSS variables. (Bug#21638)
5249 2015-10-07 Artur Malabarba <bruce.connor.am@gmail.com>
5251 * test/automated/tabulated-list-test.el: New file.
5252 Test bug#21639 and some basic functionality.
5254 2015-10-07 Artur Malabarba <bruce.connor.am@gmail.com>
5256 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-sort):
5257 Check if column can be sorted before trying. (Bug#21639)
5259 2015-10-07 Nicolas Richard <youngfrog@members.fsf.org>
5261 Add test for `self-insert-command' (bug#21633)
5263 * test/automated/cmds-tests.el: New file.
5265 2015-10-07 Martin Rudalics <rudalics@gmx.at>
5267 * src/window.c (resize_frame_windows): Don't set root window's
5268 top position when resizing horizontally.
5270 2015-10-07 Artur Malabarba <bruce.connor.am@gmail.com>
5272 * lisp/progmodes/prog-mode.el (prettify-symbols-alist):
5273 Document more possible values.
5275 2015-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5277 * lisp/textmodes/tex-mode.el: Use lexical-binding.
5279 2015-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5281 * lisp/indent.el (indent--default-inside-comment): New function.
5282 (indent-for-tab-command): Use it for `noindent' indentation.
5284 2015-10-06 Paul Eggert <eggert@cs.ucla.edu>
5286 Fix bug in GC_CHECK_MARKED_OBJECTS check
5288 * src/alloc.c (mark_object): Fix bug in checking code.
5289 When GC_CHECK_MARKED_OBJECTS is defined, the bug caused
5290 CHECK_ALLOCATED_AND_LIVE_SYMBOL to repeatedly do the
5291 CHECK_ALLOCATED and CHECK_LIVE tests for the first symbol in each
5292 bucket. The bug did not affect behavior either in the normal case
5293 where GC_CHECK_MARKED_OBJECTS is not defined, or where Emacs does
5294 not have an internal error that a properly-written
5295 CHECK_ALLOCATED_AND_LIVE_SYMBOL would detect.
5297 2015-10-06 Tassilo Horn <tsdh@gnu.org>
5299 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
5300 Add prettified version for \\Bbb{Q}.
5302 2015-10-06 Artur Malabarba <bruce.connor.am@gmail.com>
5304 * test/automated/package-test.el (package-test-install-single):
5305 Add a test for bug#21625.
5307 2015-10-06 Aaron Ecay <aaronecay@gmail.com>
5309 * lisp/emacs-lisp/package.el (package-install): Fix error when pkg is
5310 not a package-desc object. Also clarify documentation. (Bug#21625)
5312 2015-10-06 Eli Zaretskii <eliz@gnu.org>
5314 Fix display of characters adjacent to ZWJ and ZWNJ
5316 * src/bidi.c (bidi_resolve_neutral): Treat all Bn (a.k.a. "control")
5317 characters the same as directional formatting controls.
5318 (bidi_level_of_next_char): Include all Bn characters in rule L1,
5319 as mandated by the UBA.
5321 2015-10-06 Andreas Schwab <schwab@suse.de>
5323 * src/cmds.c (Fself_insert_command): Don't use XFASTINT on a negative
5326 2015-10-05 Xue Fuqiao <xfq.free@gmail.com>
5328 * doc/lispref/objects.texi (Window Type): Add a cross reference.
5330 * src/buffer.c (syms_of_buffer): Typo fix. (Bug#21622)
5332 2015-10-05 Eli Zaretskii <eliz@gnu.org>
5334 * lisp/language/misc-lang.el (composition-function-table):
5335 Fix entries for Arabic and Syriac.
5337 2015-10-05 Damien Cassou <damien@cassou.me>
5339 Add first unit tests for auth-source.el
5341 * test/automated/auth-source-tests.el: New file.
5343 2015-10-05 Eli Zaretskii <eliz@gnu.org>
5345 Remove redundant redisplay code
5347 * src/xdisp.c (redisplay_internal, try_cursor_movement)
5348 (try_window_reusing_current_matrix, try_window_id): Remove
5349 redundant restrictions on redisplay optimizations based on the
5350 frame's 'redisplay' flag. See
5351 http://osdir.com/ml/general/2015-10/msg02110.html for the relevant
5354 2015-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5356 * src/xdisp.c (windows_or_buffers_changed): Improve docstring.
5358 2015-10-04 Xue Fuqiao <xfq.free@gmail.com>
5360 Update tutorials/TUTORIAL.cn
5362 * etc/tutorials/TUTORIAL.cn: Improve translation.
5364 2015-10-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5366 * src/macfont.m (macfont_encode_char, syms_of_macfont):
5369 2015-10-04 Stefan Merten <stefan@merten-home.de>
5371 Pull in version numbers from rst.el upstream release.
5373 * lisp/textmodes/rst.el (rst-cvs-header, rst-svn-rev)
5374 (rst-svn-timestamp, rst-official-version)
5375 (rst-official-cvs-rev, rst-package-emacs-version-alist):
5376 Update version numbers.
5378 2015-10-04 Eli Zaretskii <eliz@gnu.org>
5380 * test/automated/coding-tests.el: New file.
5382 2015-10-04 Michael Albinus <michael.albinus@gmx.de>
5384 Improve XEmacs compatibility of Tramp
5386 * lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
5387 Declare if it doesn't exist.
5388 (file-remote-p): Remove defalias, which was necessary for GNU Emacs 21.
5389 (redisplay): Make it an alias if it doesn't exist.
5391 * lisp/net/tramp.el (tramp-get-remote-tmpdir): Don't use
5392 `file-remote-p' (due to XEmacs compatibility).
5394 * lisp/net/trampver.el (locate-dominating-file)
5395 (tramp-compat-replace-regexp-in-string): Autoload.
5396 (tramp-repository-get-version): Do not dupe byte-compiler.
5398 2015-09-02 K. Handa <handa@gnu.org>
5400 fix for the case that M17N_FLT_USE_NEW_FEATURE is not defined
5402 * src/ftfont.c (ftfont_drive_otf) [not M17N_FLT_USE_NEW_FEATURE]:
5403 Adjusted for the change of type of elements in the array
5404 MFLTGlyphString.glyphs.
5406 2015-10-04 Eli Zaretskii <eliz@gnu.org>
5407 Michael Heerdegen <michael_heerdegen@web.de>
5409 shr: fix too long lines in rendered buffers (Bug#21012)
5411 * lisp/net/shr.el (shr-insert-document, shr-fill-text):
5412 Correct calculation of available width.
5413 (shr-find-fill-point): Don't overflow window edge if shr-kinsoku-shorten
5416 2015-10-04 Vincent Belaïche <vincentb1@users.sourceforge.net>
5418 Restore blank line before next section, erroneously erased
5419 in my previous commit
5421 * etc/compilation.txt (symbol ant): Add an additional trailing blank
5422 line to this section, so that there are two of them immediately before
5425 2015-10-04 Vincent Belaïche <vincentb1@users.sourceforge.net>
5427 Support MSW filename style for ant compilation error regexp
5429 * etc/compilation.txt (symbol ant):
5430 * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
5431 Support MSW filename style.
5433 2015-10-03 Paul Eggert <eggert@cs.ucla.edu>
5435 * nt/INSTALL: Minor spelling and quote fixes.
5437 * lisp/ibuffer.el: Fix docstring length (Bug#21541).
5439 2015-10-03 Simen Heggestøyl <simenheg@gmail.com>
5441 Maintain ordering of JSON object keys by default
5443 * lisp/json.el (json-object-type): Mention order handling in doc-string.
5444 (json--plist-reverse): New utility function.
5445 (json-read-object): Maintain ordering for alists and plists.
5446 (json-pretty-print): Ensure that ordering is maintained.
5448 * test/automated/json-tests.el (test-json-plist-reverse): New test for
5449 `json--plist-reverse'.
5450 (json-read-simple-alist): Update test to accommodate for changes in
5453 * etc/NEWS: Document the new behavior of the pretty printing functions.
5455 2015-10-03 Andreas Schwab <schwab@linux-m68k.org>
5457 * src/coding.c (complement_process_encoding_system): Revert last change.
5459 2015-10-03 Ulf Jasper <ulf.jasper@web.de>
5461 * admin/MAINTAINERS: Add entry for Ulf Jasper.
5463 2015-10-03 Xue Fuqiao <xfq.free@gmail.com>
5465 Doc fix for `defmacro'
5467 * doc/lispref/objects.texi (Macro Type): `defmacro' is a macro now.
5469 2015-10-03 Andreas Schwab <schwab@linux-m68k.org>
5471 More validatation of coding systems
5473 * src/fileio.c (Finsert_file_contents): Remove redundant
5474 coding-system check.
5475 (choose_write_coding_system): Likewise.
5476 * src/coding.c (complement_process_encoding_system): Check argument
5477 for valid coding system.
5479 2015-10-03 Eli Zaretskii <eliz@gnu.org>
5481 Avoid crashes in coding_inherit_eol_type
5483 * src/coding.c (coding_inherit_eol_type): Check the validity of
5484 the arguments. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5487 2015-10-03 Eli Zaretskii <eliz@gnu.org>
5489 More validatation of coding system in 'write-region'
5491 * src/coding.c (choose_write_coding_system): More validation of
5492 coding-system from various sources. Suggested by Andreas Schwab
5493 <schwab@linux-m68k.org>. (Bug#21602)
5495 2015-10-03 Eli Zaretskii <eliz@gnu.org>
5497 Avoid crashes due to invalid coding-system
5499 * src/fileio.c (choose_write_coding_system)
5500 (Finsert_file_contents): Check validity of coding-system-for-write
5501 and coding-system-for-read bound by the caller. (Bug#21602)
5503 2015-10-03 Tassilo Horn <tsdh@gnu.org>
5505 Adapt to new prettify-symbols-unprettify-at-point default
5507 * etc/NEWS: Mention that unprettication of symbol at point is off
5510 2015-10-03 Tassilo Horn <tsdh@gnu.org>
5512 Revert my two recent process.c changes
5514 Revert "Improve last commit to process.c" and "Remove callback-handled
5515 channels from Available set" because they did not fix bug#21313.
5517 This reverts commits bfa1aa8e2bdaf14adbbf1e9e824051d3f740694c and
5518 27f871907cc24f33a7d12ac3a4ab71a88f0bc554.
5520 2015-10-02 Markus Triska <triska@metalevel.at>
5522 * lisp/progmodes/prolog.el: Update and extend operator table.
5523 (prolog-smie-grammar): Add multifile, public etc.
5525 2015-10-02 Paul Eggert <eggert@cs.ucla.edu>
5527 Allow autogen even when Git is not installed
5529 * autogen.sh: Test ‘git status’ before trying to use Git.
5531 2015-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5533 * lisp/vc/vc-git.el (vc-git-region-history): Handle local changes.
5534 Adjust lto/lfrom when we have uncommitted changes.
5536 2015-10-02 Paul Eggert <eggert@cs.ucla.edu>
5538 Fix problems found by clang 3.5.0
5540 * src/cmds.c (Fdelete_char): Don’t assume XINT returns int.
5541 * src/font.c (font_parse_family_registry):
5542 Use &"str"[X] instead of "str"+X, to pacify clang -Wstring-plus-int.
5544 2015-10-02 Eli Zaretskii <eliz@gnu.org>
5546 * nt/INSTALL: Update instructions for running autogen.sh.
5548 * nt/INSTALL: Point to ezwinports for libXpm binaries.
5550 2015-10-02 Daniel Colascione <dancol@dancol.org>
5552 Fix winner in cl-lib not loaded case
5554 * lisp/winner.el (winner-change-fun): Don't use cl-lib functions
5555 without requiring CL
5557 2015-10-02 Paul Eggert <eggert@cs.ucla.edu>
5559 Fix a few problems with directed quotes
5561 This is in response to a problem report by Kaushal Modi in:
5562 http://bugs.gnu.org/21588#25
5563 * lisp/cedet/mode-local.el (describe-mode-local-overload):
5564 * lisp/emacs-lisp/bytecomp.el (byte-compile-fix-header):
5565 * lisp/info-xref.el (info-xref-check-all-custom):
5566 * lisp/mail/emacsbug.el (report-emacs-bug-hook):
5567 Prefer directed to undirected single quotes in diagnostics.
5569 2015-10-01 Eli Zaretskii <eliz@gnu.org>
5571 Revert "Attempt to fix slow redisplay caused by last changes"
5573 * src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
5574 (try_cursor_movement): Don't relax requirements for redisplay
5575 optimizations for the selected frame. (Bug#21597)
5577 This reverts commit c4c1fb97727ff52bcfa83ad5ed94a64a93d12e59.
5579 2015-10-01 Eli Zaretskii <eliz@gnu.org>
5581 Fix slow redisplay when daemon frame exists
5583 * src/xdisp.c (redisplay_internal): Don't consider daemon frames
5584 when looking for frames that need to be redisplayed. (Bug#21597)
5586 2015-10-01 Eli Zaretskii <eliz@gnu.org>
5588 Attempt to fix slow redisplay caused by last changes
5590 * src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
5591 (try_cursor_movement): Relax requirements for redisplay
5592 optimizations for the selected frame. (Bug#21597)
5594 2015-10-01 Stephen Leake <stephen_leake@stephe-leake.org>
5596 * src/dired.c (Ffile_name_completion, Ffile_name_all_completions):
5599 2015-10-01 Stephen Leake <stephen_leake@stephe-leake.org>
5601 * lisp/minibuffer.el (minibuffer-completion-help):
5602 Set default base-size, in case completion table does not set it.
5604 2015-10-01 Eli Zaretskii <eliz@gnu.org>
5606 Fix GUD display of GDB output with non-ASCII text
5608 * lisp/progmodes/gdb-mi.el (gdb-mi-decode-strings): New defcustom.
5609 (gdb-mi-decode): New function.
5610 (gud-gdbmi-marker-filter): If gdb-mi-decode-strings is non-nil,
5611 decode octal escapes in GDB output. (Bug#21572)
5613 2015-10-01 Eli Zaretskii <eliz@gnu.org>
5615 * nt/INSTALL: Document where to find XPM support files.
5617 2015-10-01 Tassilo Horn <tsdh@gnu.org>
5619 Un- and re-prettification are not exclusive
5621 * lisp/progmodes/prog-mode.el (prettify-symbols--post-command-hook):
5622 Re-apply prettification to previous symbol also when unprettifying
5625 2015-10-01 Tassilo Horn <tsdh@gnu.org>
5627 Don't unprettify symbol at point by default
5629 * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
5630 Default to disabled (nil).
5632 2015-09-30 Artur Malabarba <bruce.connor.am@gmail.com>
5634 * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
5635 Support unprettifying when point is after a symbol.
5637 * etc/NEWS: Document `prettify-symbols-unprettify-at-point'.
5639 2015-09-30 Eli Zaretskii <eliz@gnu.org>
5641 Avoid assertion violations in push_prefix_prop
5643 * src/xdisp.c (push_prefix_prop): Avoid assertion violations when
5644 a line that has a line-prefix defined starts with an image. (Bug#21428)
5646 2015-09-30 Eli Zaretskii <eliz@gnu.org>
5648 Disable some display optimizations when frames need redisplay
5650 These optimizations were previously disabled by the
5651 windows_or_buffers_changed flag, which now is not set
5652 when only some frames need to be redrawn.
5653 * src/xdisp.c (redisplay_internal): Redisplay any frame whose
5654 'redisplay' flag is set.
5655 (try_window_reusing_current_matrix, try_window_id)
5656 (try_cursor_movement): Disable these optimizations when the
5657 frame's 'redisplay' flag is set.
5659 2015-09-30 Tassilo Horn <tsdh@gnu.org>
5661 Don't modify buffer by unprettification
5663 * lisp/progmodes/prog-mode.el (prettify-symbols--compose-symbol):
5664 (prettify-symbols--post-command-hook, prettify-symbols-mode): Don't
5665 modify buffer when setting/removing custom prettify-symbols-start/end
5666 text properties. Add them to font-lock-extra-managed-props, too.
5668 2015-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5670 Try to avoid redisplaying all frames when creating a new one
5672 * src/xfns.c (x_set_menu_bar_lines, x_change_tool_bar_height):
5673 * src/xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face)
5674 (Finternal_set_lisp_face_attribute, update_face_from_frame_parameter):
5675 * src/frame.c (x_set_screen_gamma): Set the specific frame's
5676 `redisplay' bit rather than windows_or_buffers_changed.
5678 * src/window.c (apply_window_adjustment): Remove redundant setting of
5679 windows_or_buffers_changed.
5681 * src/xdisp.c (redisplay_internal): Set the specific frame's
5682 `redisplay' bit rather than update_mode_lines in response to
5683 cursor_type_changed.
5684 (syms_of_xdisp): Use hash-tables for redisplay_*_cause tables.
5685 (AINC): Adjust accordingly.
5687 2015-09-30 Tassilo Horn <tsdh@gnu.org>
5689 Implement unprettification of symbol at point
5691 * lisp/progmodes/prog-mode.el: Implement feature for unprettifying the
5693 (prettify-symbols--current-symbol-bounds): New variable.
5694 (prettify-symbols--post-command-hook): New function.
5695 (prettify-symbols-unprettify-at-point): New defcustom.
5696 (prettify-symbols-mode): Use it.
5697 (prettify-symbols--compose-symbol): Use them.
5699 2015-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5701 * src/macfont.m (mac_font_descriptor_supports_languages):
5702 Regard "zh" as synonym of "zh-Hans".
5704 2015-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5706 Work around crash when displaying etc/HELLO on OS X 10.11
5708 * src/macfont.m (mac_font_get_weight)
5709 (mac_font_descriptor_get_adjusted_weight): New functions.
5710 (macfont_store_descriptor_attributes): Adjust weight.
5712 2015-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5714 * src/macfont.m: Fix compilation with USE_CT_GLYPH_INFO.
5716 2015-09-30 Nicolas Petton <nicolas@petton.fr>
5718 * lisp/arc-mode.el (archive-rar-summarize): Better alignment
5721 2015-09-30 Nicolas Petton <nicolas@petton.fr>
5723 Use unar and lsar to handle RAR archives in arc-mode
5725 * lisp/arc-mode.el (archive-rar-extract, archive-extract-by-file): Rely
5726 on unar and lsar instead of unrar-free for RAR archives (bug#17663).
5728 2015-09-30 Wieland Hoffmann <themineo@gmail.com> (tiny change)
5730 Clarify :create in auth-source's docs
5732 * lisp/gnus/auth-source.el (auth-source-search):
5733 Clarify :create's meaning.
5735 2015-09-30 Phil Sainty <psainty@orcon.net.nz>
5737 Avoid empty -path arguments in rgrep
5739 * lisp/progmodes/grep.el (rgrep-default-command): Remove nil from
5740 the list produced according to grep-find-ignored-directories,
5741 before passing it to Find/Grep invocation. (Bug#21548)
5743 2015-09-30 Eli Zaretskii <eliz@gnu.org>
5745 Clarify documentation of pos-visible-in-window-p
5747 * src/window.c (Fpos_visible_in_window_p): Clarify the meaning of
5749 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg01040.html
5750 for the original report.
5752 * doc/lispref/windows.texi (Window Start and End): Clarify the
5753 meaning of t for the POSITION argument of pos-visible-in-window-p.
5755 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
5757 * lisp/progmodes/prolog.el: Fix various indentation cases.
5758 (prolog-operator-chars): New const (add \\).
5759 (prolog-smie-forward-token, prolog-smie-backward-token): Use it.
5760 (prolog-smie-rules): Add rules according to bug#21526.
5762 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
5764 * lisp/progmodes/sh-script.el: Old "dumb" continued line indent.
5765 (sh-indent-after-continuation): Add new value `always' (bug#17620)
5766 (sh-smie-sh-rules): Remove old handling of continued lines.
5767 (sh-smie--indent-continuation): New function.
5768 (sh-set-shell): Use it.
5770 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
5772 * lisp/progmodes/octave.el: Use grammar more; Handle enumeration fun.
5773 Remove redundant :group keyword args.
5774 (octave-begin-keywords, octave-else-keywords, octave-end-keywords):
5776 (octave-operator-table, octave-smie-bnf-table): Use let-when-compile to
5777 turn them into compile-time variables.
5778 Auto-generate the "foo ... end" rules from the "foo ... endfoo" rules.
5779 Add rules for break, continue, return, global, and persistent.
5780 Refine the rule for "until".
5781 (octave-smie--funcall-p, octave-smie--end-index-p)
5782 (octave-smie--in-parens-p): New functions.
5783 (octave-smie-backward-token, octave-smie-forward-token): Use them to
5784 distinguish the "enumeration" function and the "end" index from
5785 their corresponding keywords.
5786 (octave--block-offset-keywords): New constant.
5787 (octave-smie-rules): Use it. Adjust rules for new global/persistent
5789 (octave-reserved-words): Redefine using octave-smie-grammar.
5790 (octave-font-lock-keywords): Use octave-smie--funcall-p and
5791 octave-smie--end-index-p.
5793 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
5795 * lisp/emacs-lisp/lisp-mode.el (let-when-compile): Work like let*.
5797 2015-09-29 Eli Zaretskii <eliz@gnu.org>
5799 * nt/INSTALL: Remove references to GTK site.
5800 That site no longer offers Windows downloads.
5802 2015-09-29 Eli Zaretskii <eliz@gnu.org>
5804 * nt/INSTALL: Add instructions for installing Git.
5806 2015-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
5808 * lisp/net/shr.el (shr-colorize-region): Allow 88-color tty to
5809 use colors. Suggested by Eli Zaretskii.
5811 2015-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
5813 * lisp/net/shr.el (shr-colorize-region): Don't do it on a system
5814 not supporting 256 above colors (bug#21557).
5816 2015-09-28 Dmitry Gutov <dgutov@yandex.ru>
5818 Revert "Don't rely on defaults in decoding UTF-8 encoded Lisp files"
5820 This reverts commit db828f62f6f17414fbbc3206dac123dc73dd6055.
5822 2015-09-28 Nicolas Petton <nicolas@petton.fr>
5824 Add documentation for seq.el
5826 * doc/lispref/sequences.texi: Add documentation regarding extending
5827 seq.el, as well as missing documentation for seq-elt, seq-length, seq-p,
5830 2015-09-28 Nicolas Petton <nicolas@petton.fr>
5832 Better documentation for seq-some
5834 * doc/lispref/sequences.texi:
5835 * lisp/emacs-lisp/seq.el: Update the documentation of seq-some to
5836 guarantee that the returned value is the first non-nil value that
5837 resulted from applying the predicate.
5839 2015-09-28 Nicolas Petton <nicolas@petton.fr>
5841 * lisp/arc-mode.el: Sharp-quote function arguments.
5843 2015-09-28 Eli Zaretskii <eliz@gnu.org>
5845 Avoid redisplay error in ediff-regions-wordwise
5847 * lisp/vc/ediff-util.el
5848 (ediff-clone-buffer-for-region-comparison): Make sure the mark is
5849 set before activating it. (Bug#21567)
5851 2015-09-28 Eli Zaretskii <eliz@gnu.org>
5853 Another attempt to fix crashes due to prematurely freed faces
5855 * src/xdisp.c (redisplay_internal): Inhibit freeing of realized
5856 faces for as long as we might have desired matrices that reference
5857 those faces. (Bug#21428)
5859 2015-09-28 Tassilo Horn <tsdh@gnu.org>
5861 Add auctex development list email address
5863 2015-09-28 Tassilo Horn <tsdh@gnu.org>
5865 * admin/MAINTAINERS: Add entries for AUCTeX team and myself.
5867 2015-09-28 Arash Esbati <esbati@gmx.de> (tiny change)
5869 Improve wrapfig package support and caption parsing
5871 * lisp/textmodes/reftex-vars.el (reftex-label-alist-builtin):
5872 Correct description string and add wraptable environment.
5873 (reftex-default-context-regexps): Improve caption regexp.
5875 2015-09-28 Anders Lindgren <andlind@gmail.com>
5877 Respect value of frame_resize_pixelwise when handling fullscreen state
5879 * src/nsterm.m (handleFS): Respect frame_resize_pixelwise when
5880 setting size increments.
5882 2015-09-27 Michael Albinus <michael.albinus@gmx.de>
5884 * src/gfilenotify.c (Fgfile_add_watch): Cleanup temporary variable.
5886 2015-09-27 Simen Heggestøyl <simenheg@gmail.com>
5888 Add prettify-symbols-alist for js-mode
5890 * lisp/progmodes/js.el (js--prettify-symbols-alist): New defconst.
5893 2015-09-27 Eli Zaretskii <eliz@gnu.org>
5895 * nt/subdirs.el: File deleted (no longer used).
5897 2015-09-26 Alan Mackenzie <acm@muc.de>
5899 Fix follow-scroll-up/down, making them replacements for scroll-up/down
5901 1. Allow point to move between follow windows in scroll operations.
5902 2. Fix bug where `right-char' just before EOB caused spurious scrolling,
5903 when EOB was isolated in the last follow window.
5905 * lisp/follow.el (follow-fixed-window): New variable.
5906 (follow-get-scrolled-point): New function.
5907 (follow-scrol-up, follow-scroll-down): Add autoload cookies.
5908 Reformulate the code. Put `scroll-command' properties on the functions.
5909 Correct minor errors in ...-down's doc string and code.
5910 (follow-calc-win-end): Amend incomplete doc string. Use
5911 `pos-visible-in-window-p' to check whether EOB is in the window.
5912 (follow-estimate-first-window-start): Correct an off-by-1 error.
5913 (follow-adjust-window): Add handling for explicit scrolling operations.
5915 2015-09-26 Paul Eggert <eggert@cs.ucla.edu>
5917 * admin/MAINTAINERS: Add self, plus list some more files
5920 2015-09-26 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
5922 New DWIM commands for changing letter-case
5924 * lisp/simple.el (upcase-dwim, downcase-dwim, capitalize-dwim):
5925 New functions. (Bug#21501)
5927 2015-09-26 Eli Zaretskii <eliz@gnu.org>
5929 * etc/PROBLEMS: Document problems with pasting on MS-Windows.
5931 2015-09-26 Eli Zaretskii <eliz@gnu.org>
5933 Make face realization be more frame-specific
5935 * src/frame.h (struct f): New flag face_change.
5936 * src/xfaces.c (Finternal_make_lisp_face)
5937 (Finternal_copy_lisp_face, Finternal_set_lisp_face_attribute)
5938 (update_face_from_frame_parameter): Set the face_change flag only
5939 for the frame whose faces are affected.
5940 * src/xdisp.c (init_iterator): If a frame's face_change flag is
5941 set, free faces only on that frame.
5942 (redisplay_internal): Disable "display optimization 1" if the
5943 frame's face_change flag is set.
5944 (redisplay_window): Don't allow skipping a window's redisplay if
5945 its frame's face_change flag is set.
5946 * src/frame.c (x_set_screen_gamma): Instead of calling
5947 Fclear_face_cache, call clear_face_cache and set
5948 windows_or_buffers_changed to a non-zero value. This avoids
5949 setting the global face_change flag that triggers face realization
5950 on all frames and thorough redisplay of all of them.
5952 * lisp/term/tty-colors.el (tty-register-default-colors): Don't
5953 clear face cache if the selected frame is a GUI frame.
5955 2015-09-26 Tassilo Horn <tsdh@gnu.org>
5957 Remove font-latex specific check
5959 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
5960 Use syntax-ppss data to identify verbatim contents.
5962 2015-09-25 Tassilo Horn <tsdh@gnu.org>
5964 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
5965 Fix some false negatives.
5967 2015-09-25 Eli Zaretskii <eliz@gnu.org>
5969 Reorder Windows version in Emacs manifests
5971 * nt/emacs-x64.manifest:
5972 * nt/emacs-x86.manifest: Reorder Windows version from lowest to
5975 2015-09-25 Eli Zaretskii <eliz@gnu.org>
5977 Update Emacs manifest files for Windows 10
5979 * nt/emacs-x86.manifest:
5980 * nt/emacs-x64.manifest: Declare compatibility with Windows 10.
5982 2015-09-25 Eli Zaretskii <eliz@gnu.org>
5984 Avoid non-ASCII decoding errors in C src files
5989 * src/doprnt.c: Add 'coding' cookies -- these files include
5990 Unicode characters and should be decoded as UTF-8.
5992 2015-09-25 Alan Mackenzie <acm@muc.de>
5994 Resurrect edebug-set-initial-mode, repurposing it to set the global mode
5996 * lisp/emacs-lisp/edebug.el (edebug-initial-mode-alist): Uncomment, and
5997 amend to match current modes and functions.
5998 (edebug-set-initial-mode): Uncomment and change from setting a defun's
5999 `edebug-initial-mode''s property to setting the variable
6000 `edebug-initial-mode'.
6001 (top level): Create new binding C-x C-a C-m for
6002 `edebug-set-initial-mode'.
6004 * doc/lispref/edebug.texi (Edebug Execution Modes): Document
6005 `edebug-set-initial-mode' and its new key binding.
6006 (Edebug Options): Mention the new command in the pertinent place.
6008 * etc/NEWS: Write entry for this change.
6010 2015-09-25 Eli Zaretskii <eliz@gnu.org>
6012 Avoid non-ASCII decoding errors in Texinfo files
6014 * doc/misc/tramp.texi:
6015 * doc/lispref/strings.texi:
6016 * doc/lispref/positions.texi:
6017 * doc/lispref/help.texi:
6018 * doc/lispref/functions.texi:
6019 * doc/lispintro/emacs-lisp-intro.texi:
6020 * doc/emacs/text.texi:
6021 * doc/emacs/modes.texi:
6022 * doc/emacs/mini.texi:
6023 * doc/emacs/display.texi:
6024 * doc/emacs/custom.texi:
6025 * doc/emacs/basic.texi: Add 'coding' cookies -- these files use
6026 Unicode characters and should be decoded as UTF-8.
6027 * doc/lispref/frames.texi (Size Parameters): Don't use a non-ASCII
6028 apostrophe unnecessarily.
6030 2015-09-25 Paul Eggert <eggert@cs.ucla.edu>
6035 2015-09-25 c-ctype: rewrite to use inline functions
6036 2015-09-24 maint: add coding cookies to non-ASCII sources
6037 2015-09-24 gitlog-to-changelog: trim only trailing whitespaces
6038 * build-aux/gitlog-to-changelog, doc/misc/texinfo.tex:
6039 * lib/acl-internal.c, lib/acl-internal.h, lib/c-ctype.c:
6040 * lib/c-ctype.h, lib/get-permissions.c, lib/qcopy-acl.c:
6041 * lib/set-permissions.c:
6044 2015-09-24 Paul Eggert <eggert@cs.ucla.edu>
6046 Update publicsuffix.txt from upstream
6048 * etc/publicsuffix.txt: Update from
6049 https://publicsuffix.org/list/effective_tld_names.dat
6050 dated 2015-09-24 17:29:21 UTC.
6052 2015-09-24 Eli Zaretskii <eliz@gnu.org>
6054 Prevent timers from messing up TTY menus
6056 * src/term.c (tty_menu_activate): Inhibit redisplay for as long as
6057 the TTY menu is open. (Bug#21530)
6059 2015-09-24 Paul Eggert <eggert@cs.ucla.edu>
6061 No need to mention K&R C in c-mode intro
6063 2015-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
6065 Fix recent bootstrap problems
6067 * src/syntax.c (parse_sexp_propertize): Fix last fix.
6068 * lisp/nxml/nxml-mode.el (nxml-comment-quote-nested): Fix paren typo.
6069 * lisp/emacs-lisp/lisp-mode.el: Require cl-lib for cl-progv.
6071 2015-09-24 Michael Albinus <michael.albinus@gmx.de>
6073 * src/gfilenotify.c (Fgfile_add_watch): Decrease polling rate.
6075 2015-09-23 Ivan Andrus <darthandrus@gmail.com>
6077 Properly quote nested xml comments (Bug#6267) (Bug#20001)
6079 * lisp/nxml/nxml-mode.el (nxml-comment-quote-nested): New function.
6080 (nxml-mode): Set comment-quote-nested-function.
6082 2015-09-23 Ivan Andrus <darthandrus@gmail.com>
6084 Allow major-modes full control over quoting nested comments
6086 * lisp/newcomment.el (comment-quote-nested-function): New variable.
6087 (comment-quote-nested-default): New function.
6088 (comment-quote-nested): Use `comment-quote-nested-function'.
6090 2015-09-23 Paul Eggert <eggert@cs.ucla.edu>
6092 Prefer CALLN in a few more places
6094 * src/macfont.m (macfont_set_family_cache):
6095 * src/nsterm.m (append2):
6096 * src/xterm.c (x_cr_export_frames):
6097 Prefer CALLN to allocating the arg arrays by hand.
6099 2015-09-23 Michael Albinus <michael.albinus@gmx.de>
6101 Adapt file-notify-test02-events test case
6103 * test/automated/file-notify-tests.el (file-notify-test02-events):
6104 Create a new watch for every test.
6106 2015-09-23 Michael Albinus <michael.albinus@gmx.de>
6108 Continue gfilenotify.c implementation of missing parts
6110 * lisp/filenotify.el (file-notify-add-watch): Append `flags' to
6111 `gfile-add-watch' call.
6112 (file-notify-rm-watch): Modify `file-notify-descriptors' only
6113 after calling the low level functions.
6115 * src/gfilenotify.c (dir_monitor_callback): Check, whether
6116 event_type is expected.
6117 (Fgfile_add_watch): Allow also `change'and `attribute-change' for FLAGS.
6118 (Fgfile_rm_watch): Fix typo.
6119 (syms_of_gfilenotify): Declare Qchange and Qattribute_change.
6121 2015-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6123 * src/syntax.c (parse_sexp_propertize): Handle spurious
6124 e_property_truncated flag.
6125 (update_syntax_table_forward): Remove invalid assertion.
6127 2015-09-23 Eli Zaretskii <eliz@gnu.org>
6129 * src/xdisp.c (produce_stretch_glyph): Support ':relative-width'
6130 space display spec on text-mode terminals, by calling
6131 PRODUCE_GLYPHS instead of x_produce_glyphs. Remove the
6132 HAVE_WINDOW_SYSTEM guards from the supporting code, as well as the
6133 test for a GUI frame.
6135 2015-09-23 Oleh Krehel <ohwoeowho@gmail.com>
6137 Move let-when-compile to lisp-mode.el
6139 This fixes the bootstrapping problem of `let-when-compile' using
6140 `cl-progv' while being in subr.el (i.e. before cl stuff was loaded).
6142 2015-09-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
6144 * lisp/url/url-http.el (url-http-parse-headers): Do not
6145 automatically include Authorization header in redirect.
6148 2015-09-22 Eli Zaretskii <eliz@gnu.org>
6150 Clarify documentation of ':relative-width'
6152 * doc/lispref/display.texi (Specified Space): Document that
6153 ':relative-width' is only supported on GUI frames.
6155 2015-09-22 Eli Zaretskii <eliz@gnu.org>
6157 Fix 'current-column' in presence of :relative-width
6159 * src/indent.c (check_display_width): Support ':relative-width'
6160 in a display spec that specifies a stretch glyph. (Bug#21533)
6162 2015-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6164 Reformat the pdbtrack remote-file fix ChangeLog.2 entry
6166 ... to conform better to CONTRIBUTE guidelines.
6168 2015-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
6170 * lisp/progmodes/prolog.el: Fix indentation of empty line
6172 * lisp/emacs-lisp/smie.el (smie-rules-function): Document new
6173 `empty-line-token' element.
6174 (smie-indent-empty-line): New function.
6175 (smie-indent-functions): Add it.
6177 * lisp/progmodes/prolog.el (prolog-smie-rules): Fix :list-intro
6178 behavior and use the new `empty-line-token' element (bug#21526).
6179 (prolog-mode-variables): Fix comment-start-skip setting to match
6182 * test/indent/prolog.prolog: Add nested indentation tests.
6184 * lisp/newcomment.el (comment-normalize-vars): Fix default value of
6185 comment-start-skip not to misuse submatch 1.
6187 2015-09-22 Alan Mackenzie <acm@muc.de>
6189 Make description of `edebug-initial-mode' user friendly
6193 * dec/lispref/edebug.texi (Edebug Execution Modes): Change the
6194 description of `edebug-initial-mode' from that of its implementation
6195 to that of its visual effect and use. Move the paragraph higher up.
6197 2015-09-22 Eli Zaretskii <eliz@gnu.org>
6199 lisp/progmodes/gud.el (gud-format-command): Fix last commit
6201 * lisp/progmodes/gud.el (gud-format-command): Don't use Tramp internal
6202 functions 'tramp-file-name-localname' and 'tramp-dissect-file-name'.
6204 2015-09-22 Tassilo Horn <tsdh@gnu.org>
6206 Improve last commit to process.c
6208 2015-09-22 Michael Albinus <michael.albinus@gmx.de>
6210 Implement gfile-valid-p
6212 * lisp/filenotify.el (file-notify-callback): Fix typo.
6213 (gfile-valid-p): Remove defalias.
6215 * src/gfilenotify.c (dir_monitor_callback): Cancel the monitor if
6216 the file or directory to be watched is deleted.
6217 (Fgfile_add_watch): Make watch_object a triple.
6218 (Fgfile_rm_watch): Check, whether watch is cancelled already.
6219 (Fgfile_valid_p): New defun.
6220 (syms_of_gfilenotify): Declare Sgfile_valid_p.
6222 2015-09-22 Tassilo Horn <tsdh@gnu.org>
6224 Remove callback-handled channels from Available set
6226 * src/process.c (wait_reading_process_output): Remove channel from
6227 Available set if it is handled by a callback, e.g., dbus or
6228 inotify (bug#21313).
6230 2015-09-21 Mark Oteiza <mvoteiza@udel.edu>
6232 Use lunate epsilon for TeX \epsilon
6234 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
6235 Add \varepsilon using GREEK SMALL LETTER EPSILON, and change
6236 \epsilon to use GREEK LUNATE EPSILON SYMBOL
6238 2015-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6240 * lisp/progmodes/prolog.el: Fix nested electric if-then-else
6242 * lisp/progmodes/prolog.el (prolog-find-unmatched-paren): Use innermost
6243 rather than outermost paren (bug#21526).
6245 2015-09-21 Paul Eggert <eggert@cs.ucla.edu>
6247 Improve git diff hunk headers for .el, .texi
6249 Problem reported by Alan Mackenzie in:
6250 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00826.html
6251 * .gitattributes (*.el, *.texi): New patterns.
6252 * autogen.sh: Configure diff.elisp.xfuncname and
6253 diff.texinfo.xfuncname if using Git.
6255 2015-09-21 Eli Zaretskii <eliz@gnu.org>
6257 Don't rely on defaults in decoding UTF-8 encoded Lisp files
6260 * lisp/textmodes/rst.el:
6261 * lisp/whitespace.el: Add an explicit UTF-8 encoding tag.
6263 2015-09-21 Paul Eggert <eggert@cs.ucla.edu>
6265 Clarify or replace a few \u escapes
6267 * doc/lispref/nonascii.texi (Character Properties)
6268 More-detailed commentary for \u escapes.
6269 * lisp/progmodes/python.el (python--prettify-symbols-alist):
6270 * lisp/replace.el (query-replace-from-to-separator):
6271 * lisp/textmodes/rst.el (rst-bullets, rst-re-alist-def)
6272 (rst-mode-syntax-table):
6273 * lisp/whitespace.el (whitespace-display-mappings):
6274 Prefer actual character to \u escape when this makes the code
6275 easier to follow in the usual case where Unicode chars can be
6278 2015-09-21 Paul Eggert <eggert@cs.ucla.edu>
6280 Pacify GCC -Wmaybe-uninitialized in xdisp.c
6282 * src/xdisp.c (face_before_or_after_it_pos): Use do-while rather
6283 than while loop to avoid GCC -Wmaybe-uninitialized diagnostic with
6284 charpos. The loop should always execute at least once anyway.
6286 2015-09-21 Tassilo Horn <tsdh@gnu.org>
6288 Signal error on invalid regexp
6290 * lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries):
6291 Signal an error when the user tries searching with a regexp
6292 matching the empty string.
6294 2015-09-21 Eli Zaretskii <eliz@gnu.org>
6296 Another fix of file-notify-tests for w32notify
6298 * test/automated/file-notify-tests.el (file-notify-test02-events):
6299 Further adaptation for w32notify: reduce the number of expected
6300 'changed' events. (Bug#21435)
6302 2015-09-21 Michael Albinus <michael.albinus@gmx.de>
6304 Adapt tests and manual for w32notify
6306 * doc/lispref/os.texi (File Notifications): w32notify does not
6307 send `attribute-changed' events.
6309 * test/automated/file-notify-tests.el (file-notify--test-with-events):
6310 Simplify parameters. Adapt all callees.
6311 (file-notify-test02-events): w32notify does not send
6312 `attribute-changed' events.
6313 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
6314 Do not skip in case of w32notify. Simply ignore this part of the test.
6316 2015-09-21 Dima Kogan <dima@secretsauce.net>
6318 Fix setting breakpoints when remote-debugging
6320 * lisp/progmodes/gud.el (gud-format-command): Send localized file
6321 names to the debugger running on the remote. (Bug#13304)
6323 2015-09-21 Nicolas Petton <nicolas@petton.fr>
6325 Better docstring and parameter name for seq-find
6327 * lisp/emacs-lisp/seq.el (seq-find): Improve the docstring and rename
6328 the parameter `sentinel' to `default'.
6330 * doc/lispref/sequences.texi (Sequence Functions): Update the
6331 documentation for `seq-find' accordingly.
6333 2015-09-21 Eli Zaretskii <eliz@gnu.org>
6335 Avoid infinite recursion while displaying box face
6337 * src/xdisp.c (face_before_or_after_it_pos): Fix calculation of
6338 the previous string/buffer character position under bidi
6339 iteration. (Bug#21428)
6341 2015-09-21 Anders Lindgren <andlind@gmail.com>
6343 Keep upper edge unchanged when changing size of NS frame
6345 * src/nsterm.m (x_set_window_size): Keep upper frame edge unchanged
6348 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6350 * lisp/progmodes/prolog.el: Improve handling of if/then/else.
6351 (prolog-smie-rules): Accommodate standard if/then/else special
6353 (prolog-mode): Add . to electric-indent-chars.
6354 (prolog-electric--if-then-else): Re-indent the line before adding space
6355 after the new char (bug#21526).
6357 2015-09-20 Mark Oteiza <mvoteiza@udel.edu>
6359 Add prettify symbols to python-mode
6361 * lisp/progmodes/python.el (python-prettify-symbols-alist):
6363 (python-mode): Use it
6365 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6367 * lisp/emacs-lisp/syntax.el (syntax-begin-function): Make obsolete.
6369 2015-09-20 Jostein Kjønigsen <jostein@secure.kjonigsen.net> (tiny change)
6371 (compilation-error-regexp-alist-alist): Tone down guile-file
6373 * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
6374 Make guile-file a bit less enthusiastic (bug#21496).
6376 2015-09-20 Drew Csillag <drew@thecsillags.com>
6378 * lisp/progmodes/m4-mode.el (m4-font-lock-keywords):
6379 Fix m4_* highlighting.
6381 * lisp/progmodes/m4-mode.el (m4-font-lock-keywords): Fix recognition
6382 of commands when they have a "m4_" prefix.
6384 2015-09-20 Paul Eggert <eggert@cs.ucla.edu>
6386 '.' -> `.' in doc string
6388 * lisp/emacs-lisp/timer.el (run-at-time): In doc string, quote
6389 individual chars with grave quotes instead of straight quotes, as
6390 this works better when they are translated to curved quotes.
6392 2015-09-20 Michael Albinus <michael.albinus@gmx.de>
6394 Improve file notifications, especially for Tramp
6396 * doc/lispref/files.texi (Magic File Names):
6397 Mention `file-notify-valid-p'.
6399 * doc/lispref/os.texi (File Notifications):
6400 Describe `file-notify-valid-p'.
6402 * etc/NEWS: Add `file-notify-valid-p'.
6404 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch):
6405 Improve implementation.
6406 (tramp-gvfs-monitor-file-process-filter): Rename from
6407 `tramp-gvfs-file-gvfs-monitor-file-process-filter'. Delete
6408 process if appropriate.
6410 * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6411 Improve implementation.
6412 (tramp-sh-gvfs-monitor-dir-process-filter): Rename from
6413 `tramp-sh-file-gvfs-monitor-dir-process-filter'. Delete process
6415 (tramp-sh-inotifywait-process-filter): Rename from
6416 `tramp-sh-file-inotifywait-process-filter'. Delete process if
6419 * lisp/net/tramp.el (tramp-handle-file-notify-rm-watch):
6420 Use `delete-process'.
6421 (tramp-handle-file-notify-valid-p): Check also, that file or
6422 directory to be watched still exists.
6424 * test/automated/file-notify-tests.el (file-notify--test-timeout):
6425 New defun. Use it at all places a timeout is needed.
6426 (file-notify--test-cleanup): Delete directories recursively.
6427 Cleanup also Tramp connections.
6428 (file-notify-test02-events): Add tests for `attribute-change'.
6429 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
6430 Add tests for `file-notify-rm-watch'.
6432 2015-09-20 Paul Eggert <eggert@cs.ucla.edu>
6434 Use %s to format strings instead of splicing them
6436 If FOO might contain quotes that are part of a file or variable
6437 name, the quotes should not be translated when showing FOO’s name
6438 in a diagnostic. So, for example, (message (concat (FOO ": bar")))
6439 is not quite right, as it would translate FOO’s quotes.
6440 Change it to (message "%s: bar" FOO) instead.
6441 * lisp/allout.el (allout-process-exposed):
6442 * lisp/calc/calc-ext.el (calc-do-prefix-help):
6443 * lisp/calc/calc-store.el (calc-store-into):
6444 * lisp/calendar/todo-mode.el (todo-category-completions):
6445 * lisp/cedet/semantic/complete.el (semantic-completion-message):
6446 * lisp/org/ob-latex.el (convert-pdf):
6447 * lisp/org/org-crypt.el (org-crypt-check-auto-save):
6448 * lisp/org/ox-latex.el (org-latex-compile):
6449 * lisp/org/ox-man.el (org-man-compile):
6450 * lisp/org/ox-odt.el (org-odt--export-wrap):
6451 * lisp/org/ox-texinfo.el (org-texinfo-compile):
6452 * lisp/progmodes/ruby-mode.el (ruby-in-ppss-context-p):
6453 * lisp/progmodes/verilog-mode.el (verilog-batch-execute-func)
6454 (verilog-signals-combine-bus, verilog-read-defines)
6455 (verilog-getopt-file, verilog-expand-dirnames)
6456 (verilog-modi-lookup, verilog-modi-modport-lookup-one):
6457 * lisp/term/ns-win.el (ns-spi-service-call):
6458 Use %s to avoid translating quotes of file names etc. in diagnostics.
6460 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6462 * lisp/progmodes/js.el (js--syntax-begin-function): Remove.
6463 (js-mode): Don't set syntax-begin-function.
6465 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6467 * lisp/font-lock.el (font-lock-compile-keywords): Don't assume
6468 syntax-begin-function is a symbol.
6470 2015-09-20 Eli Zaretskii <eliz@gnu.org>
6472 Improve documentation of 'run-at-time'
6473 * lisp/emacs-lisp/timer.el (run-at-time): Improve the doc string.
6474 In particular, don't refer to 'diary-entry-time', because it is
6475 unavailable until diary-lib is loaded. Also, refer to
6476 'timer-duration-words', not 'timer-duration', as the latter's doc
6477 string says nothing about the accepted strings.
6479 2015-09-19 Jay Belanger <jay.p.belanger@gmail.com>
6481 * lisp/calc/calc-ext.el (calc-do-prefix-help): Tidy up error message.
6483 2015-09-19 Ken Manheimer <ken.manheimer@gmail.com>
6485 Repair pdbtrack remote file tracking
6486 * lisp/progmodes/python.el (python-pdbtrack-set-tracked-buffer):
6487 Rectify pdbtrack so it follows transitions from one remote source
6490 2015-09-19 Artur Malabarba <bruce.connor.am@gmail.com>
6492 * lisp/emacs-lisp/timer.el (run-at-time): Docstring formatting.
6494 2015-09-19 Eli Zaretskii <eliz@gnu.org>
6496 Adapt vc-src to the old-new vc-checkin API
6497 * lisp/vc/vc-src.el (vc-src-checkin): Accept and ignore an
6498 additional optional parameter.
6500 2015-09-19 Simen Heggestøyl <simenheg@gmail.com>
6502 Add overflow module to CSS property list
6503 * lisp/textmodes/css-mode.el (css-property-ids): Add properties
6504 from CSS Overflow Module Level 3.
6506 2015-09-19 Eli Zaretskii <eliz@gnu.org>
6508 Fix documentation of "C-u C-x v v"
6509 * doc/emacs/maintaining.texi (Advanced C-x v v): Make the
6510 documentation of "C-u C-x v v" match what the code does.
6512 Resurrect the ability to specify a revision in vc-next-action
6513 * lisp/vc/vc-bzr.el (vc-bzr-checkin):
6514 * lisp/vc/vc-dav.el (vc-dav-checkin):
6515 * lisp/vc/vc-git.el (vc-git-checkin):
6516 * lisp/vc/vc-hg.el (vc-hg-checkin):
6517 * lisp/vc/vc-mtn.el (vc-mtn-checkin): Accept and silently ignore
6518 an additional optional argument, the revision to checkin.
6519 * lisp/vc/vc-sccs.el (vc-sccs-checkin):
6520 * lisp/vc/vc-cvs.el (vc-cvs-checkin):
6521 * lisp/vc/vc-rcs.el (vc-rcs-checkin): Allow to optionally specify
6522 a revision to checkin.
6523 * lisp/vc/vc.el (vc-next-action): Allow to optionally specify the
6524 revision when checking in files.
6525 See http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00688.html
6528 2015-09-18 Wilson Snyder <wsnyder@wsnyder.org>
6530 * lisp/progmodes/verilog-mode.el (verilog-forward-sexp-function)
6531 (verilog-decls-princ, verilog-modport-princ)
6532 (verilog-modi-modport-lookup-one): Fix checkdoc warnings.
6534 2015-09-17 Jay Belanger <jay.p.belanger@gmail.com>
6536 Fix the routine for help on Calc's prefixes
6537 * lisp/calc/calc-ext.el (calc-prefix-help-retry): New variable.
6538 (calc-do-prefix-help): Use `read-char' to determine the next Calc
6541 2015-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6543 * lisp/font-lock.el (font-lock-beginning-of-syntax-function): Remove.
6544 (font-lock-fontify-block): Don't let-bind it.
6545 (font-lock-compile-keywords): Don't use it.
6546 (font-lock-set-defaults): Don't set it. Allow the variable alist to
6547 start one slot earlier, instead.
6548 * lisp/emacs-lisp/syntax.el (font-lock-beginning-of-syntax-function):
6550 (syntax-ppss): Don't use it either.
6551 * lisp/font-core.el (font-lock-defaults): Remove SYNTAX-BEGIN
6553 * doc/emacs/display.texi (Font Lock): Don't mention
6554 font-lock-beginning-of-syntax-function.
6555 * doc/lispref/modes.texi (Font Lock Basics): Update description of
6557 (Syntactic Font Lock): Remove font-lock-beginning-of-syntax-function.
6558 * lisp/loadhist.el (unload-feature-special-hooks):
6559 Remove font-lock-beginning-of-syntax-function.
6560 * lisp/obsolete/lazy-lock.el (lazy-lock-fontify-region):
6561 * lisp/emacs-lisp/lisp.el (beginning-of-defun-raw): Don't let-bind
6562 font-lock-beginning-of-syntax-function.
6564 2015-09-17 Paul Eggert <eggert@cs.ucla.edu>
6566 Backslash cleanup in Elisp source files
6567 This patch should not change behavior. It typically omits backslashes
6568 where they are redundant (e.g., in the string literal "^\$").
6569 In a few places, insert backslashes where they make regular
6570 expressions clearer: e.g., replace "^\*" (equivalent to "^*") with
6571 "^\\*", which has the same effect as a regular expression.
6572 Also, use ‘\ %’ instead of ‘\%’ when avoiding confusion with SCCS IDs,
6573 and similarly use ‘\ $’ instead of ‘\$’ when avoiding confusion with
6574 RCS IDs, as that makes it clearer that the backslash is intended.
6576 Some more minor backslash fixes
6577 * test/automated/compile-tests.el (compile-tests--test-regexps-data):
6578 * test/automated/info-xref.el (info-xref-test-write-file):
6579 Double backslashes in strings.
6581 Fix several backslash typos in Elisp strings
6582 * lisp/calendar/todo-mode.el (todo-files, todo-rename-file)
6583 (todo-find-filtered-items-file, todo-reset-nondiary-marker)
6584 (todo-reset-done-string, todo-reset-comment-string)
6585 (todo-reset-highlight-item):
6586 * lisp/erc/erc-networks.el (erc-networks-alist):
6587 * lisp/gnus/gnus-art.el (gnus-button-handle-library):
6588 * lisp/gnus/gnus-group.el (gnus-read-ephemeral-gmane-group-url):
6589 * lisp/gnus/nntp.el (nntp-via-shell-prompt)
6590 (nntp-telnet-shell-prompt):
6591 * lisp/gnus/spam-report.el (spam-report-gmane-regex):
6592 * lisp/image-dired.el (image-dired-rotate-original):
6593 (image-dired-get-exif-file-name):
6594 * lisp/international/latin1-disp.el (latin1-display-ucs-per-lynx):
6595 * lisp/mail/undigest.el (rmail-digest-parse-rfc1153strict):
6596 * lisp/mh-e/mh-letter.el (mh-file-is-vcard-p):
6597 * lisp/mh-e/mh-mime.el (mh-file-mime-type-substitutions):
6598 * lisp/net/shr-color.el (shr-color->hexadecimal):
6599 * lisp/org/org-bibtex.el (org-bibtex-fields):
6600 * lisp/org/org-docview.el (org-docview-export):
6601 * lisp/org/org-entities.el (org-entities):
6602 * lisp/org/ox-icalendar.el (org-icalendar-cleanup-string):
6603 * lisp/progmodes/cperl-mode.el (cperl-indent-exp):
6604 * lisp/progmodes/ebnf2ps.el (ebnf-file-suffix-regexp)
6605 (ebnf-style-database):
6606 * lisp/progmodes/idlw-help.el (idlwave-do-context-help1):
6607 * lisp/progmodes/ruby-mode.el (ruby-imenu-create-index-in-block):
6608 * lisp/progmodes/sql.el (sql-product-alist):
6609 * lisp/progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist)
6610 (verilog-error-font-lock-keywords)
6611 (verilog-assignment-operator-re):
6612 * lisp/progmodes/vhdl-mode.el (vhdl-compiler-alist):
6613 * lisp/textmodes/reftex-parse.el (reftex-parse-from-file):
6614 * lisp/vc/add-log.el (change-log-version-number-regexp-list):
6615 Fix typo by replacing ‘\’ with ‘\\’ in a string literal.
6616 For example, to get the regular expression ‘\.’ use the string
6617 literal "\\.", not "\." (which is equivalent to ".").
6618 * lisp/emulation/viper-util.el (viper-glob-unix-files):
6619 Remove stray ‘\j’ from string.
6620 * lisp/gnus/nntp.el (nntp-via-shell-prompt)
6621 (nntp-telnet-shell-prompt):
6622 Treat > like $ when matching a shell prompt.
6623 * lisp/progmodes/make-mode.el (makefile-browse):
6624 Properly quote a diagnostic.
6626 Fix minor quoting problems in diagnostics
6627 * lisp/tutorial.el (tutorial--describe-nonstandard-key):
6628 * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
6629 Follow text-quoting-style in diagnostic, and quote a file name.
6631 2015-09-17 Eli Zaretskii <eliz@gnu.org>
6633 * doc/lispref/frames.texi (Cursor Parameters):
6634 Document 'x-stretch-cursor'.
6636 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
6638 Omit unnecessary \ before paren in C docstrings
6639 Although \( is needed in docstrings in Elisp code, it is not needed in
6640 docstrings in C code, since C function definitiions do not start with
6641 a parenthesis. The backslashes made the docstrings a bit harder to
6642 read and to format in columns. Also, some C docstrings had ( in
6643 column 1 and this did not appear to be causing any problems. So,
6644 simplify C docstrings by replacing \( with ( and \) with ).
6646 A few more minor quoting fixes in a script and a text file
6648 Minor quoting fixes in scripts and doc
6649 Prefer straight quotes in random script files, as they are not
6650 converted. Prefer grave quotes in a couple of places in the manual
6651 that were missed earlier, as these quotes are converted.
6653 Minor backslash fixes in manuals and scripts
6654 * Makefile.in (install-arch-indep):
6655 * admin/charsets/compact.awk:
6656 * admin/charsets/gb180302.awk (gb_to_index):
6657 * admin/charsets/gb180304.awk (gb_to_index):
6658 Avoid undefined behavior in Awk regular expression backslashes.
6659 * doc/misc/efaq.texi (Matching parentheses):
6660 Omit unnecessary backslashes.
6661 * doc/misc/gnus-faq.texi (FAQ 5-8):
6662 Avoid undefined behavior in suggested sed backslash usage.
6664 Add -Wswitch to --enable-gcc-warnings
6665 Make --enable-gcc-warnings a bit pickier, by also using -Wswitch.
6666 * configure.ac (WERROR_CFLAGS): Don’t add -Wno-switch.
6667 * lib-src/etags.c (main, consider_token, C_entries):
6668 * src/coding.c (encode_invocation_designation):
6669 * src/data.c (Ftype_of):
6670 * src/eval.c (Fdefvaralias, default_toplevel_binding)
6671 (Fbacktrace__locals, mark_specpdl):
6672 * src/lisp.h (record_xmalloc):
6673 * src/syntax.c (scan_lists, scan_sexps_forward):
6674 * src/window.c (window_relative_x_coord):
6675 * src/xdisp.c (push_it, pop_it):
6676 * src/xterm.c (xg_scroll_callback, x_check_fullscreen):
6677 Error out or do nothing (as appropriate) if a switch statement
6678 with an enum value does not cover all of the enum.
6679 * src/dispextern.h (struct iterator_stack_entry.u.comp):
6680 Remove unused member discovered by using -Wswitch.
6681 * src/lisp.h (record_xmalloc): Add a ‘+ 0’ to pacify -Wswitch.
6682 * src/vm-limit.c (check_memory_limits):
6683 Simplify warning-diagnostic computation by using a table.
6685 etags ‘fatal’ function is now printf-like
6686 * lib-src/etags.c (fatal): Now printf-like. All callers changed.
6687 Also, now static; not clear why it needed to be extern.
6688 (verror): New function, with most of the old contents of ‘error’.
6689 (fatal, error): Use it.
6691 2015-09-16 Eli Zaretskii <eliz@gnu.org>
6693 More adaptations in file-notify-tests.el
6694 * test/automated/file-notify-tests.el
6695 (file-notify-test05-dir-validity): Skip for w32notify in
6696 batch-mode. (Bug#21432)
6698 2015-09-16 Michael Albinus <michael.albinus@gmx.de>
6700 Adapt test in file-notify-tests.el
6701 * test/automated/file-notify-tests.el
6702 (file-notify-test04-file-validity): Skip for w32notify in
6703 batch-mode. Add test lost last commit.
6705 2015-09-16 Dima Kogan <dima@secretsauce.net>
6707 winner no longer holds on to dead frames
6708 * lisp/winner.el (winner-change-fun): Cull dead frames.
6709 This prevents a potentially massive memory leak. See:
6710 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00619.html
6712 2015-09-16 Michael Albinus <michael.albinus@gmx.de>
6714 Use common report_file_notify_error function
6715 * src/fileio.c (report_file_notify_error): New function.
6716 * src/inotify.c (report_inotify_error): Remove function.
6717 (inotify_callback, symbol_to_inotifymask, Finotify_add_watch)
6718 (Finotify_rm_watch): Use report_file_notify_error.
6719 * src/lisp.h (report_file_notify_error): Declare external function.
6720 * src/w32notify.c (report_w32notify_error): Remove function.
6721 (Fw32notify_add_watch, Fw32notify_rm_watch):
6722 Use report_file_notify_error.
6724 2015-09-16 Jay Belanger <jay.p.belanger@gmail.com>
6727 * doc/misc/calc.texi (Single-Variable Statistics): Fix the wording of
6728 the documentation of the root mean square.
6730 2015-09-16 Martin Rudalics <rudalics@gmx.at>
6732 Remove tool_bar_redisplayed_once and associated code.
6733 * src/frame.h (tool_bar_redisplayed_once): Remove slot.
6734 * src/frame.c (make_frame, x_set_font): Remove initialization of
6735 f->tool_bar_redisplayed_once.
6736 * src/w32fns.c (x_change_tool_bar_height):
6737 * src/xfns.c (x_change_tool_bar_height): Don't check for
6738 f->tool_bar_redisplayed_once.
6739 * src/xdisp.c (redisplay_internal): Remove handling of
6740 f->tool_bar_redisplayed_once.
6742 2015-09-16 Eli Zaretskii <eliz@gnu.org>
6744 Restore some of the quoting in the manuals
6745 * doc/lispref/windows.texi (Coordinates and Windows)
6746 (Coordinates and Windows):
6747 * doc/lispref/variables.texi (Lexical Binding)
6748 (File Local Variables):
6749 * doc/lispref/text.texi (Format Properties):
6750 * doc/lispref/symbols.texi (Symbol Components):
6751 * doc/lispref/strings.texi (Creating Strings):
6752 * doc/lispref/sequences.texi (Sequence Functions):
6753 * doc/lispref/searching.texi (Regexp Special, Regexp Search)
6754 (Search and Replace):
6755 * doc/lispref/processes.texi (Bindat Spec):
6756 * doc/lispref/os.texi (Idle Timers):
6757 * doc/lispref/objects.texi (Basic Char Syntax):
6758 * doc/lispref/numbers.texi (Float Basics, Random Numbers):
6759 * doc/lispref/nonascii.texi (Character Properties):
6760 * doc/lispref/modes.texi (Major Mode Conventions, Mode Hooks)
6761 (Mode Line Variables):
6762 * doc/lispref/minibuf.texi (Text from Minibuffer):
6763 * doc/lispref/loading.texi (Autoload):
6764 * doc/lispref/keymaps.texi (Controlling Active Maps):
6765 * doc/lispref/frames.texi (Frame Layout, Size and Position)
6766 (Size Parameters, Implied Frame Resizing):
6767 * doc/lispref/files.texi (Changing Files, Magic File Names):
6768 * doc/lispref/eval.texi (Self-Evaluating Forms):
6769 * doc/lispref/display.texi (Progress, Abstract Display)
6770 (Abstract Display Example, Bidirectional Display):
6771 * doc/lispref/commands.texi (Event Mod):
6772 * doc/emacs/windows.texi (Displaying Buffers):
6773 * doc/emacs/trouble.texi (Bug Criteria, Checklist):
6774 * doc/emacs/text.texi (Enriched Text):
6775 * doc/emacs/programs.texi (MixedCase Words):
6776 * doc/emacs/picture-xtra.texi (Insert in Picture)
6778 * doc/emacs/misc.texi (Emacs Server, Printing):
6779 * doc/emacs/mini.texi (Minibuffer History):
6780 * doc/emacs/maintaining.texi (Old Revisions, VC Change Log)
6781 (Pulling / Pushing):
6782 * doc/emacs/killing.texi (Yanking, Cut and Paste, Clipboard):
6783 * doc/emacs/help.texi (Help, Help Echo):
6784 * doc/emacs/glossary.texi (Glossary):
6785 * doc/emacs/frames.texi (Mouse Commands, Creating Frames)
6787 * doc/emacs/files.texi (Reverting, Saving, Directories):
6788 * doc/emacs/entering.texi (Exiting):
6789 * doc/emacs/emacs.texi (Top):
6790 * doc/emacs/cmdargs.texi (Window Size X, Icons X):
6791 * doc/emacs/anti.texi (Antinews): Restore quoting of text where
6792 appropriate or replace quoting with @dfn.
6793 * doc/misc/ediff.texi (Window and Frame Configuration):
6794 * doc/lispref/processes.texi (Network Feature Testing):
6795 * doc/lispref/display.texi (Display Margins): Quote the phrase
6796 after "a.k.a." where appropriate.
6798 2015-09-16 Tassilo Horn <tsdh@gnu.org>
6800 Clarify reftex-extra-bindings docs
6801 * lisp/textmodes/reftex-vars.el (reftex-extra-bindings):
6802 * doc/misc/reftex.texi (Key Bindings): Document that the variable
6803 only has an effect at load-time.
6805 2015-09-16 Daniel McClanahan <danieldmcclanahan@gmail.com> (tiny change)
6807 * lisp/emacs-lisp/lisp-mode.el (lisp--el-match-keyword): Fix
6808 search argument. (Bug#21492) (Bug#21493)
6810 2015-09-16 Tassilo Horn <tsdh@gnu.org>
6812 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
6813 Add pretty symbols for \qquad and \varrho.
6815 2015-09-15 Jay Belanger <jay.p.belanger@gmail.com>
6817 Add new functions for the root mean square of a (Calc) vector
6818 * lisp/calc/calc-stats.el (calcFunc-rms, calc-vector-rms):
6820 * lisp/calc/calc-ext.el (calc-init-extensions): Add keybinding for
6821 `calc-vector-rms', add autoloads for `calc-vector-rms' and
6823 * lisp/calc/calc-map.el (calc-u-oper-keys): Add entry for
6825 * lisp/calc/calc-menu.el (calc-vectors-menu): Add entry for
6827 * doc/misc/calc.texi (Single-Variable Statistics): Document the rms
6830 2015-09-15 Stephen Leake <stephen_leake@stephe-leake.org>
6832 Add monotone EDE generic project
6833 * lisp/cedet/ede/generic.el (ede-enable-generic-projects):
6834 Add monotone generic project.
6836 Revert premature commit
6837 * doc/lispref/files.texi: Revert premature commit of change to
6838 file-name-all-completions.
6840 Fix a bug in elisp--xref-find-definitions related to cl-generic defaults
6841 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Fix bug
6842 with cl-generic defaults.
6843 (elisp--xref-find-references): Add doc string.
6844 * test/automated/elisp-mode-tests.el (xref-elisp-generic-*): Improve
6847 Fix bugs in eieio-oref-default related to class symbols
6848 * lisp/emacs-lisp/eieio-core.el (class-p): Handle symbol properly.
6849 (eieio-oref-default): Handle class properly.
6851 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
6853 Quote “fullboth” when defining it
6854 * doc/lispref/frames.texi (Size Parameters): Use @dfn for “fullboth”
6855 and rewrite the containing paragraph, which was awkward. (Bug#21472).
6857 2015-09-15 Eli Zaretskii <eliz@gnu.org>
6859 Minor doc fix in emacs/ack.texi
6860 * doc/emacs/ack.texi (Acknowledgments): Fix an xref missing the
6863 2015-09-15 Michael Albinus <michael.albinus@gmx.de>
6865 Adapt tests in auto-revert-tests.el
6866 * test/automated/auto-revert-tests.el (auto-revert--timeout):
6868 (auto-revert--wait-for-revert): New defun.
6869 (auto-revert-test00-auto-revert-mode)
6870 (auto-revert-test01-auto-revert-tail-mode)
6871 (auto-revert-test02-auto-revert-mode-dired): Use it.
6873 2015-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6875 * lisp/emacs-lisp/lisp-mode.el (lisp-mode-symbol-regexp): New const.
6876 Use it everywhere "\\(\\sw\\|\\s_\\|\\\\.\\)+" was used.
6877 (cl-lib-fdefs): Add defgeneric.
6878 (cl-kw): Add all elements of eieio-kw and cl-lib-kw.
6879 (eieio-kw, cl-lib-kw, el-kw): Remove.
6881 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
6883 Quote less in manuals
6884 The manuals often used quotes ``...'' when it is better to use @dfn or
6885 @code or capitalized words or no quoting at all. For example, there is
6886 no need for the `` and '' in “if a variable has one effect for
6887 @code{nil} values and another effect for ``non-@code{nil}'' values”.
6888 Reword the Emacs, Lisp intro, and Lisp reference manuals to eliminate
6889 unnecessary quoting like this, and to use @dfn etc. instead when called
6892 2015-09-15 Mark Oteiza <mvoteiza@udel.edu>
6894 * lisp/custom.el (load-theme): Only compute hash when needed.
6896 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
6898 Pacify --enable-gcc-warnings
6899 * src/inotify.c (report_inotify_error): Declare it _Noreturn.
6901 2015-09-15 Michael Albinus <michael.albinus@gmx.de>
6903 Improve error reports in inotify.c
6904 * src/inotify.c (report_inotify_error): New function. Clone of
6905 report_w32notify_error.
6906 (inotify_callback, symbol_to_inotifymask, Finotify_add_watch)
6907 (Finotify_rm_watch): Use it.
6909 2015-09-15 Eli Zaretskii <eliz@gnu.org>
6911 Fix the file-notify tests for watch validation on w32
6912 * test/automated/file-notify-tests.el
6913 (file-notify-test04-file-validity): Move the directory deletion
6914 out of the file-notify--test-with-events macro.
6915 (file-notify-test04-file-validity)
6916 (file-notify-test05-dir-validity): Enlarge the timeout of
6917 read-event to 0.5, as 0.1 is borderline on w32. (Bug#21432)
6919 2015-09-15 Tassilo Horn <tsdh@gnu.org>
6921 Use OPEN BOX instead of space for \quad.
6922 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Use OPEN BOX
6923 character for \quad instead of a space.
6925 2015-09-15 Eli Zaretskii <eliz@gnu.org>
6927 Add missing *.pbm images
6928 * etc/images/connect.pbm: New file.
6929 * etc/images/custom/down-pushed.pbm: New file.
6930 * etc/images/custom/down.pbm: New file.
6931 * etc/images/custom/right-pushed.pbm: New file.
6932 * etc/images/custom/right.pbm: New file.
6933 * etc/images/describe.pbm: New file.
6934 * etc/images/disconnect.pbm: New file.
6935 * etc/images/ezimage/bits.pbm: New file.
6936 * etc/images/ezimage/bitsbang.pbm: New file.
6937 * etc/images/ezimage/box-minus.pbm: New file.
6938 * etc/images/ezimage/box-plus.pbm: New file.
6939 * etc/images/ezimage/box.pbm: New file.
6940 * etc/images/ezimage/checkmark.pbm: New file.
6941 * etc/images/ezimage/dir-minus.pbm: New file.
6942 * etc/images/ezimage/dir-plus.pbm: New file.
6943 * etc/images/ezimage/dir.pbm: New file.
6944 * etc/images/ezimage/doc-minus.pbm: New file.
6945 * etc/images/ezimage/doc-plus.pbm: New file.
6946 * etc/images/ezimage/doc.pbm: New file.
6947 * etc/images/ezimage/info.pbm: New file.
6948 * etc/images/ezimage/key.pbm: New file.
6949 * etc/images/ezimage/label.pbm: New file.
6950 * etc/images/ezimage/lock.pbm: New file.
6951 * etc/images/ezimage/mail.pbm: New file.
6952 * etc/images/ezimage/page-minus.pbm: New file.
6953 * etc/images/ezimage/page-plus.pbm: New file.
6954 * etc/images/ezimage/page.pbm: New file.
6955 * etc/images/ezimage/tag-gt.pbm: New file.
6956 * etc/images/ezimage/tag-minus.pbm: New file.
6957 * etc/images/ezimage/tag-plus.pbm: New file.
6958 * etc/images/ezimage/tag-type.pbm: New file.
6959 * etc/images/ezimage/tag-v.pbm: New file.
6960 * etc/images/ezimage/tag.pbm: New file.
6961 * etc/images/ezimage/unlock.pbm: New file.
6962 * etc/images/gnus/important.pbm: New file.
6963 * etc/images/gnus/mail-send.pbm: New file.
6964 * etc/images/gnus/receipt.pbm: New file.
6965 * etc/images/gnus/toggle-subscription.pbm: New file.
6966 * etc/images/gnus/unimportant.pbm: New file.
6967 * etc/images/gud/all.pbm: New file.
6968 * etc/images/gud/rcont.pbm: New file.
6969 * etc/images/gud/recstart.pbm: New file.
6970 * etc/images/gud/recstop.pbm: New file.
6971 * etc/images/gud/rfinish.pbm: New file.
6972 * etc/images/gud/rnext.pbm: New file.
6973 * etc/images/gud/rnexti.pbm: New file.
6974 * etc/images/gud/rstep.pbm: New file.
6975 * etc/images/gud/rstepi.pbm: New file.
6976 * etc/images/gud/thread.pbm: New file.
6977 * etc/images/lock-broken.pbm: New file.
6978 * etc/images/lock-ok.pbm: New file.
6979 * etc/images/lock.pbm: New file.
6980 * etc/images/mail/copy.pbm: New file.
6981 * etc/images/mail/forward.pbm: New file.
6982 * etc/images/mail/not-spam.pbm: New file.
6983 * etc/images/mail/outbox.pbm: New file.
6984 * etc/images/mail/preview.pbm: New file.
6985 * etc/images/mail/save-draft.pbm: New file.
6986 * etc/images/mh-logo.pbm: New file.
6987 * etc/images/mpc/add.pbm: New file.
6988 * etc/images/mpc/ffwd.pbm: New file.
6989 * etc/images/mpc/next.pbm: New file.
6990 * etc/images/mpc/pause.pbm: New file.
6991 * etc/images/mpc/play.pbm: New file.
6992 * etc/images/mpc/prev.pbm: New file.
6993 * etc/images/mpc/rewind.pbm: New file.
6994 * etc/images/mpc/stop.pbm: New file.
6995 * etc/images/redo.pbm: New file.
6996 * etc/images/smilies/braindamaged.pbm: New file.
6997 * etc/images/smilies/cry.pbm: New file.
6998 * etc/images/smilies/dead.pbm: New file.
6999 * etc/images/smilies/evil.pbm: New file.
7000 * etc/images/smilies/forced.pbm: New file.
7001 * etc/images/smilies/grin.pbm: New file.
7002 * etc/images/smilies/indifferent.pbm: New file.
7003 * etc/images/sort-ascending.pbm: New file.
7004 * etc/images/sort-column-ascending.pbm: New file.
7005 * etc/images/sort-criteria.pbm: New file.
7006 * etc/images/sort-descending.pbm: New file.
7007 * etc/images/sort-row-ascending.pbm: New file.
7008 * etc/images/unchecked.pbm: New file.
7009 * etc/images/zoom-in.pbm: New file.
7010 * etc/images/README: Update instructions for PBM files.
7012 Add separator.pbm tool-bar image
7013 * etc/images/separator.pbm: New file. Having it avoids the side
7014 effect of changing the tool-bar height when the default font's size
7015 changes and XPM image support is not available, due to the SPC
7016 characters that are left in the Lisp string used to display the tool
7017 bar, because there are no images to display instead of those SPC
7020 Make show-paren-match face visible on mono-color displays
7021 * lisp/faces.el (show-paren-match): Use the underline face for
7022 mono-color displays. (Bug#21481)
7024 2015-09-14 Paul Eggert <eggert@cs.ucla.edu>
7026 Don’t double-encode non-ASCII mail clipboard
7027 * lisp/mail/mailclient.el (mailclient-send-it):
7028 Also fix the case when mailclient-place-body-on-clipboard-flag
7029 is non-nil. Problem reported by Eli Zaretskii (Bug#21471#37).
7031 2015-09-14 Michael Albinus <michael.albinus@gmx.de>
7033 Adapt file-notify-tests.el test cases
7034 * lisp/filenotify.el (file-notify-rm-watch): Ignore `file-notify-error'.
7035 * src/inotify.c (Finotify_valid_p): Adapt docstring.
7036 * test/automated/file-notify-tests.el
7037 (file-notify-test03-autorevert)
7038 (file-notify-test04-file-validity)
7039 (file-notify-test04-file-validity-remote)
7040 (file-notify-test05-dir-validity)
7041 (file-notify-test05-dir-validity-remote): Adapt docstring.
7042 (file-notify-test04-file-validity): Let events arrive before
7043 calling final `file-notify-valid-p'. Do not ignore errors.
7044 (file-notify-test05-dir-validity): Do not manipulate
7045 `temporary-file-directory', it isn't necessary. Let events arrive
7046 before calling final `file-notify-valid-p'. Do not ignore errors.
7048 2015-09-14 Paul Eggert <eggert@cs.ucla.edu>
7050 Don’t double-encode non-ASCII for mail client
7051 * lisp/mail/mailclient.el (mailclient-encode-string-as-url):
7052 Use RFC 6068’s list of unreserved characters.
7053 (mailclient-send-it): When encoding the body as a URL,
7054 first decode it as per Content-Type: and Content-Transfer-Encoding:,
7055 as URLs must use percent-encoded UTF-8 (Bug#21471).
7056 * doc/misc/url.texi (mailto): Update RFC number.
7058 2015-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7060 * lisp/progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use dolist.
7062 2015-09-14 Alan Mackenzie <acm@muc.de>
7064 Replace `cadar' with `cadr/car', since `cadar' is problematic on Emacs
7065 (c-make-init-lang-vars-fun): Replace two occurrences of `cadar' with
7068 2015-09-14 Eli Zaretskii <eliz@gnu.org>
7070 Clarify documentation of char-table extra slots
7071 * doc/lispref/sequences.texi (Char-Tables): Clarify that extra
7072 slot numbers are zero-based. (Bug#21467)
7074 2015-09-14 Alan Mackenzie <acm@muc.de>
7076 Elisp mode: Make font-lock and imenu handle escaped characters in symbols
7078 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression)
7079 (lisp--el-match-keyword, lisp-el-font-lock-keywords-1)
7080 (lisp-cl-font-lock-keywords-1, lisp-el-font-lock-keywords-2)
7081 (lisp-cl-font-lock-keywords-2, lisp-string-in-doc-position-p):
7082 Insert "\\|\\\\." into regexps which match symbols.
7084 2015-09-14 Eli Zaretskii <eliz@gnu.org>
7086 Improve the doc string of w32notify-valid-p
7087 * src/w32notify.c (Fw32notify_valid_p): Mention in the doc string
7088 that removing a watch makes its object invalid.
7090 2015-09-14 Tassilo Horn <tsdh@gnu.org>
7092 Fix tests for file-notify-valid-p
7093 * test/automated/file-notify-tests.el (file-notify--test-cleanup):
7094 Use delete-directory to delete file-notify--test-tmpfile if it is
7095 a directory. Likewise for file-notify--test-tmpfile1.
7096 (file-notify-test04-file-validity)
7097 (file-notify-test05-dir-validity): Delete the parent directory of
7098 the test. Ignore errors when cleaning up after the test.
7100 2015-09-14 Eli Zaretskii <eliz@gnu.org>
7102 Report file-notify-error in w32notify.c
7103 * src/w32notify.c (report_w32notify_error): New function.
7104 (Fw32notify_add_watch, Fw32notify_rm_watch): Use it to report
7105 errors, instead of calling report_file_error. (Bug#21432)
7107 Implement w32notify-valid-p
7108 * src/w32notify.c (Fw32notify_valid_p): New function. (Bug#21432)
7109 * lisp/filenotify.el (w32notify-valid-p): No longer an alias for
7112 2015-09-14 Tassilo Horn <tsdh@gnu.org>
7114 Test file-notify-valid-p
7115 * test/automated/file-notify-tests.el
7116 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
7119 2015-09-13 Eli Zaretskii <eliz@gnu.org>
7121 Fix markup in ELisp manual
7122 * doc/lispref/frames.texi (Font and Color Parameters): Fix markup
7123 of the 'alpha' parameter value. (Bug#21470)
7125 2015-09-13 Michael Albinus <michael.albinus@gmx.de>
7127 Introduce `file-notify-valid-p'
7128 * lisp/filenotify.el (file-notify-valid-p): New defun.
7129 (gfile-valid-p, w32notify-valid-p): Make them an alias to `identity'.
7130 * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist)
7131 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7132 * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist)
7133 * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7134 <file-notify-valid-p>: Add handler.
7135 * lisp/net/tramp.el (tramp-file-name-for-operation):
7136 Add `file-notify-valid-p'.
7137 (tramp-handle-file-notify-valid-p): New defun.
7138 * src/inotify.c (Finotify_valid_p): New defun.
7139 (syms_of_inotify): Declare Sinotify_valid_p.
7141 2015-09-13 Paul Eggert <eggert@cs.ucla.edu>
7143 Port Unicode char detection to FreeBSD+svgalib
7144 Problem reported by Ashish SHUKLA in:
7145 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00531.html
7146 * configure.ac: Check for struct unipair.unicode instead of for
7147 <linux/kd.h>, since that’s more specific to what the code
7149 * src/terminal.c: Use HAVE_STRUCT_UNIPAIR_UNICODE, not HAVE_LINUX_KD_H.
7151 * src/indent.c (Fvertical_motion): Simplify bugfix (Bug#21468).
7153 2015-09-13 Eli Zaretskii <eliz@gnu.org>
7155 Fix vertical cursor motion across overlay strings with newlines
7156 * src/indent.c (Fvertical_motion): Don't leave point in the middle
7157 of an overlay string with newlines, as that will position the
7158 cursor after the string at whatever column is there. (Bug#21468)
7160 2015-09-12 Michael Albinus <michael.albinus@gmx.de>
7162 Fix tests in file-notify-tests.el
7163 * test/automated/file-notify-tests.el: Remove Tramp declarations.
7164 (file-notify-test00-availability): Print remote command w/o Tramp
7166 (file-notify-test02-events, file-notify-test02-events-remote):
7168 (file-notify-test03-autorevert): Use `format-message' when
7169 inspecting *Messages* buffer.
7171 2015-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7173 Bind inhibit-modification-hooks rather than a/b-c-f
7174 * lisp/wid-edit.el (widget-editable-list-insert-before)
7175 (widget-editable-list-delete-at):
7176 * lisp/progmodes/cperl-mode.el (cperl-find-pods-heres)
7177 (cperl-font-lock-unfontify-region-function):
7178 * lisp/progmodes/antlr-mode.el (save-buffer-state-x):
7179 * lisp/obsolete/longlines.el (longlines-mode):
7180 * lisp/obsolete/fast-lock.el (save-buffer-state):
7181 * lisp/mouse.el (mouse-save-then-kill-delete-region):
7182 * lisp/gnus/message.el (message-hide-headers):
7183 * lisp/eshell/esh-mode.el (eshell-send-input, eshell-output-filter):
7184 * lisp/ibuffer.el (ibuffer-update-title-and-summary)
7185 (ibuffer-redisplay-engine): Bind inhibit-modification-hooks to t rather
7186 than after/before-change-functions to nil.
7188 2015-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7190 (jit-lock-deferred-fontify): Pay attention to skipped redisplays
7191 * lisp/jit-lock.el (jit-lock-deferred-fontify): Make sure we refresh
7192 the buffers, even if the forced redisplay is interrupted.
7194 * lisp/emacs-lisp/eieio-core.el (class-p): Accept class objects
7196 Merge syntax-propertize--done and parse-sexp-propertize-done
7197 * lisp/emacs-lisp/syntax.el (syntax-propertize--done): Remove.
7198 (syntax-propertize): Set syntax-propertize--done even if
7199 syntax-propertize-function is nil. Avoid recursive invocations.
7200 (syntax-propertize-chunks): New var.
7201 (internal--syntax-propertize): Use it. Rename from syntax--jit-propertize.
7203 (parse-sexp-propertize-function): Don't set any more.
7204 * src/syntax.c (SETUP_SYNTAX_TABLE): Call parse_sexp_propertize as needed.
7205 (parse_sexp_propertize): Don't assume charpos is not yet propertized.
7206 Call Qinternal__syntax_propertize instead of
7207 Vparse_sexp_propertize_function. Truncate e_property if needed.
7208 (update_syntax_table_forward): Streamline.
7209 (syms_of_syntax): Define Qinternal__syntax_propertize.
7210 (syntax_propertize__done): Rename from parse_sexp_propertize_done.
7212 2015-09-11 Paul Eggert <eggert@cs.ucla.edu>
7214 Prefer straight quoting in some text files
7215 Mostly this just changes ` to ' in static text. Some exceptions:
7216 * INSTALL.REPO: Use curved quotes, as the diagnostic in question
7217 typically does that now.
7218 * admin/quick-install-emacs (TRY, top level):
7219 Use straight quoting in diagnostics.
7220 * src/README: Fix working-directory confusion.
7222 * CONTRIBUTE: Move send-email here from git-workflow.
7224 2015-09-11 Michael Albinus <michael.albinus@gmx.de>
7226 Improve file notifications in Tramp
7227 * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7228 Set proper events to watch for.
7229 (tramp-sh-file-gvfs-monitor-dir-process-filter): Report only
7232 2015-09-11 Eli Zaretskii <eliz@gnu.org>
7234 Fix NS build with --enable-checking='glyphs'
7235 * src/nsfns.m (unwind_create_frame): Make the preprocessor
7236 conditionals for referencing 'dpyinfo' consistent throughout the
7237 function. (Bug#21426)
7239 2015-09-10 Nicolas Petton <nicolas@petton.fr>
7242 This function is similar to `seq-some' but returns the found element.
7243 In the cases where nil can be the found element, a sentinel optional
7244 argument can be provided to avoid ambiguities.
7245 * lisp/emacs-lisp/seq.el (seq-find): New function.
7246 * test/automated/seq-tests.el (test-seq-find): Add tests for `seq-find'.
7247 * doc/lispref/sequences.texi (Sequence Functions): Add documentation for
7250 2015-09-10 Tassilo Horn <tsdh@gnu.org>
7252 Document file-notify--test-with-events.
7253 * test/automated/file-notify-tests.el (file-notify--test-with-events):
7256 2015-09-10 Michael Albinus <michael.albinus@gmx.de>
7258 Report used native library in file-notify-tests.el
7259 * test/automated/file-notify-tests.el
7260 (tramp-get-remote-gvfs-monitor-dir)
7261 (tramp-get-remote-inotifywait): Declare them.
7262 (file-notify-test00-availability): Print used native library.
7264 2015-09-10 Mark Oteiza <mvoteiza@udel.edu>
7266 * lisp/mpc.el (mpc--proc-connect): Use file-name-absolute-p.
7267 (mpc-file-local-copy): Check for absolute path. Check more config
7270 2015-09-10 Eli Zaretskii <eliz@gnu.org>
7272 Improve documentation of categories
7273 * doc/lispref/syntax.texi (Categories): Clarify the example of
7274 using define-category and modify-category-entry. (Bug#21448)
7276 2015-09-10 Paul Eggert <eggert@cs.ucla.edu>
7278 Revert some stray curved quotes I missed earlier
7279 Problem reported by David Kastrup in:
7280 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00440.html
7281 * lisp/international/mule-cmds.el (leim-list-header):
7282 Use format-message with an ASCII-only format.
7284 Prefer NUMBERP to spelling it out
7285 * src/editfns.c (styled_format):
7286 * src/frame.h (NUMVAL):
7287 * src/image.c (parse_image_spec):
7288 * src/lisp.h (CHECK_NUMBER_OR_FLOAT)
7289 (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER):
7290 * src/process.c (Fsignal_process):
7291 * src/xdisp.c (calc_pixel_width_or_height, on_hot_spot_p):
7292 * src/xfaces.c (check_lface_attrs):
7293 * src/xselect.c (x_fill_property_data, x_send_client_event):
7294 Use NUMBERP rather than INTEGERP || FLOATP.
7296 2015-09-10 Tassilo Horn <tsdh@gnu.org>
7298 Improve file-notify-tests
7299 * test/automated/file-notify-tests.el: Use lexical-binding.
7300 (file-notify--test-cleanup): New function.
7301 (file-notify-test00-availability, file-notify-test01-add-watch)
7302 (file-notify-test02-events, file-notify-test03-autorevert): Use it.
7303 (file-notify--test-with-events): New macro.
7304 (file-notify-test02-events): Use it.
7306 2015-09-10 Paul Eggert <eggert@cs.ucla.edu>
7308 Add patch-sending instructions to git-workflow
7309 From a suggestion by Mitchel Humpherys in:
7310 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00421.html
7311 * admin/notes/git-workflow (Sending patches): New section.
7313 Port to GIFLIB 5.0.6 and later
7314 Problem reported by Mitchel Humpherys in:
7315 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00420.html
7316 * src/image.c (HAVE_GIFERRORSTRING) [HAVE_GIF]: New macro.
7317 (GifErrorString, init_gif_functions) [HAVE_GIF && WINDOWSNT]:
7318 (gif_load) [HAVE_GIF]: Use it.
7320 2015-09-10 Glenn Morris <rgm@gnu.org>
7322 * lisp/cedet/ede/auto.el (ede-project-autoload): Doc fix.
7324 2015-09-09 Glenn Morris <rgm@gnu.org>
7326 * test/automated/file-notify-tests.el (file-notify-test02-events):
7329 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
7331 Refix movemail GCC pacification
7332 Problem reported by Ken Brown in:
7333 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00406.html
7334 * lib-src/movemail.c (main): Fix previous change.
7336 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7338 * lisp/calendar/time-date.el (time-to-seconds, time-less-p):
7339 Mark unused vars with underscore.
7341 * src/syntax.c (SETUP_SYNTAX_TABLE): Move truncation...
7342 (parse_sexp_propertize): ...from here.
7344 * lisp/filenotify.el: Use lexical-binding
7345 (file-notify-add-watch): Avoid add-to-list.
7347 2015-09-09 Tassilo Horn <tsdh@gnu.org>
7349 Start checking event types in file-notify tests
7350 * test/automated/file-notify-tests.el (file-notify--test-events):
7352 (file-notify--test-event-handler): Append received event to
7353 file-notify--test-events for later analysis.
7354 (file-notify-test02-events): Assert that the expected notifications have
7355 arrived in the expected order.
7357 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
7359 Merge from gnulib and texinfo
7361 2015-08-03 Improve port of stdalign to C++11
7362 * lib/stdalign.in.h: Copy from gnulib.
7363 * doc/misc/texinfo.tex: Copy from texinfo.
7365 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7367 Make syntax.c call syntax-propertize on demand
7368 * lisp/emacs-lisp/syntax.el (syntax--jit-propertize): New function.
7369 (parse-sexp-propertize-function): Use it.
7370 (syntax-propertize): Disable parse-sexp-propertize-function.
7371 * src/syntax.c (parse_sexp_propertize, update_syntax_table_forward):
7373 (syms_of_syntax): New vars `parse-sexp-propertize-done' and
7374 `parse-sexp-propertize-function'.
7375 * src/syntax.h (struct gl_state_s): Add `e_property_truncated' field.
7376 (UPDATE_SYNTAX_TABLE_FORWARD): Use update_syntax_table_forward.
7377 (SETUP_BUFFER_SYNTAX_TABLE): Set e_property_truncated.
7378 * lisp/progmodes/elisp-mode.el (elisp-byte-code-syntax-propertize):
7379 Don't assume `point' is set.
7381 2015-09-09 Eli Zaretskii <eliz@gnu.org>
7383 Fix indentation of an @example in ELisp manual
7384 * doc/lispref/syntax.texi (Categories): Untabify the example.
7387 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
7389 Define internal-char-font even if --without-x
7390 The function is used now even in non-graphical environments.
7391 Problem reported by Glenn Morris in:
7392 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00401.html
7393 * src/font.c (Finternal_char_font): Move here ...
7394 * src/fontset.c (Finternal_char_font): ... from here.
7396 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7398 * lisp/emacs-lisp/cl-generic.el (cl-generic-generalizers):
7401 2015-09-09 Eli Zaretskii <eliz@gnu.org>
7403 Fix display of complex local data types in GDB-MI
7404 * lisp/progmodes/gdb-mi.el (gdb-locals-handler-custom): If a
7405 variable has no value, display "<complex data type>" as a
7406 placeholder, instead of a confusing "nil". (Bug#21438)
7408 2015-09-09 Oleh Krehel <ohwoeowho@gmail.com>
7410 Remove redundant redefinition of seq-drop-while from seq.el
7411 * lisp/emacs-lisp/seq.el (seq-drop-while): Define only once.
7413 2015-09-09 Phil Sainty <psainty@orcon.net.nz>
7415 * lisp/emacs-lisp/package.el (package--ensure-init-file):
7416 More robust check for `package-initialize' calls in init file.
7417 This function accepts an optional argument, but calls passing
7418 an argument would not have been detected.
7420 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
7422 Port movemail to RHEL 6 with --enable-gcc-warnings
7423 * lib-src/movemail.c (main): Declare local only if needed.
7425 Port recent Linux console changes to RHEL 6
7426 * src/terminal.c [HAVE_LINUX_KD_H]: Include <sys/ioctl.h>.
7428 Improvements for curved quotes on Linux consule
7429 This should help Emacs work better out-of-the-box on Linux consoles,
7430 which have only limited support for displaying Unicode characters.
7431 Also, undo the recent change that caused text-quoting-style to
7432 affect quote display on terminals, so that the two features are
7433 independent. See Alan Mackenzie in:
7434 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00244.html
7435 Finally, add a style parameter to startup--setup-quote-display,
7436 so that this function can also be invoked after startup, with
7437 different styles depending on user preference at the time.
7438 * configure.ac: Check for linux/kd.h header.
7439 * doc/emacs/display.texi (Text Display): Document quote display.
7440 * doc/lispref/display.texi (Active Display Table):
7442 * lisp/startup.el (startup--setup-quote-display, command-line):
7443 text-quoting-style no longer affects quote display.
7444 * doc/lispref/frames.texi (Terminal Parameters): Fix typo.
7445 * lisp/international/mule-util.el (char-displayable-p):
7446 * lisp/startup.el (startup--setup-quote-display):
7447 On a text terminal supporting glyph codes, use the reported
7448 glyph codes instead of the terminal coding system, as this
7449 is more accurate on the Linux console.
7450 * lisp/startup.el (startup--setup-quote-display):
7451 New optional arg STYLE.
7452 * src/fontset.c (Finternal_char_font):
7453 Report glyph codes for a text terminal, if they are available.
7454 Currently this is supported only for the Linux console.
7455 * src/termhooks.h (struct terminal): New member glyph-code-table.
7456 * src/terminal.c [HAVE_LINUX_KD_H]: Include <errno.h>, <linux/kd.h>.
7457 (calculate_glyph_code_table) [HAVE_LINUX_KD_H]: New function.
7458 (terminal_glyph_code): New function.
7460 2015-09-08 Juri Linkov <juri@linkov.net>
7462 * lisp/info.el (Info-fontify-node): Don't stop at the non-title
7463 underline. (Bug#21433)
7465 2015-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7467 * lisp/calendar/time-date.el (with-decoded-time-value): Fix debug spec.
7469 2015-09-08 Tassilo Horn <tsdh@gnu.org>
7471 Fix double-reporting of rename events with inotify
7472 * lisp/filenotify.el (file-notify-callback): Fix double-reporting
7473 of rename events with inotify (bug#21435).
7475 2015-09-08 Vasilij Schneidermann <v.schneidermann@gmail.com> (tiny change)
7477 * lisp/play/tetris.el (tetris-move-down): New command (bug#21360).
7478 (tetris-mode-map): Use it.
7480 2015-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7482 Remove a few simple cases of global redisplay
7483 * src/dispnew.c (redraw_frame): Don't redisplay all frames.
7484 * src/xdisp.c (echo_area_display): Set the frame's `redisplay' bit
7485 rather than returning a "resized_p" boolean.
7486 (redisplay_internal): Adjust call accordingly.
7487 * src/xfaces.c (free_realized_faces): Don't redisplay all frames.
7488 (free_all_realized_faces): Set windows_or_buffers_changed so as to ease
7489 tracking of this undesirable situation.
7491 * src/process.c (status_notify): Avoid global redisplay (bug#11822)
7492 * src/process.c (status_notify): Only set the update_mode_line on the
7493 relevant buffers rather than setting it globally.
7495 2015-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7497 * lisp/electric.el (electric-quote-post-self-insert-function):
7498 Don't use syntax-ppss if comment-use-syntax is nil (e.g. message-mode).
7499 (electric-quote-mode): Activate everywhere in message-mode.
7501 2015-09-07 Paul Eggert <eggert@cs.ucla.edu>
7503 Go back to grave quoting in source-code docstrings etc.
7504 This reverts almost all my recent changes to use curved quotes
7505 in docstrings and/or strings used for error diagnostics.
7506 There are a few exceptions, e.g., Bahá’í proper names.
7507 * admin/unidata/unidata-gen.el (unidata-gen-table):
7508 * lisp/abbrev.el (expand-region-abbrevs):
7509 * lisp/align.el (align-region):
7510 * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet)
7511 (outlineify-sticky):
7512 * lisp/apropos.el (apropos-library):
7513 * lisp/bookmark.el (bookmark-default-annotation-text):
7514 * lisp/button.el (button-category-symbol, button-put)
7516 * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
7517 * lisp/calc/calc-embed.el (calc-do-embedded):
7518 * lisp/calc/calc-ext.el (calc-user-function-list):
7519 * lisp/calc/calc-graph.el (calc-graph-show-dumb):
7520 * lisp/calc/calc-help.el (calc-describe-key)
7521 (calc-describe-thing, calc-full-help):
7522 * lisp/calc/calc-lang.el (calc-c-language)
7523 (math-parse-fortran-vector-end, math-parse-tex-sum)
7524 (math-parse-eqn-matrix, math-parse-eqn-prime)
7525 (calc-yacas-language, calc-maxima-language, calc-giac-language)
7526 (math-read-giac-subscr, math-read-math-subscr)
7527 (math-read-big-rec, math-read-big-balance):
7528 * lisp/calc/calc-misc.el (calc-help, report-calc-bug):
7529 * lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
7530 (calc-auto-recompute):
7531 * lisp/calc/calc-prog.el (calc-fix-token-name)
7532 (calc-read-parse-table-part, calc-user-define-invocation)
7533 (math-do-arg-check):
7534 * lisp/calc/calc-store.el (calc-edit-variable):
7535 * lisp/calc/calc-units.el (math-build-units-table-buffer):
7536 * lisp/calc/calc-vec.el (math-read-brackets):
7537 * lisp/calc/calc-yank.el (calc-edit-mode):
7538 * lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
7539 * lisp/calendar/appt.el (appt-display-message):
7540 * lisp/calendar/diary-lib.el (diary-check-diary-file)
7541 (diary-mail-entries, diary-from-outlook):
7542 * lisp/calendar/icalendar.el (icalendar-export-region)
7543 (icalendar--convert-float-to-ical)
7544 (icalendar--convert-date-to-ical)
7545 (icalendar--convert-ical-to-diary)
7546 (icalendar--convert-recurring-to-diary)
7547 (icalendar--add-diary-entry):
7548 * lisp/calendar/time-date.el (format-seconds):
7549 * lisp/calendar/timeclock.el (timeclock-mode-line-display)
7550 (timeclock-make-hours-explicit, timeclock-log-data):
7551 * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
7552 (todo-item-mark, todo-check-format)
7553 (todo-insert-item--next-param, todo-edit-item--next-key)
7555 * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
7556 * lisp/cedet/mode-local.el (describe-mode-local-overload)
7557 (mode-local-print-binding, mode-local-describe-bindings-2):
7558 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
7559 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
7560 * lisp/cus-start.el (standard):
7561 * lisp/cus-theme.el (describe-theme-1):
7562 * lisp/custom.el (custom-add-dependencies, custom-check-theme)
7563 (custom--sort-vars-1, load-theme):
7564 * lisp/descr-text.el (describe-text-properties-1, describe-char):
7565 * lisp/dired-x.el (dired-do-run-mail):
7566 * lisp/dired.el (dired-log):
7567 * lisp/emacs-lisp/advice.el (ad-read-advised-function)
7568 (ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
7569 (ad-disable-advice, ad-remove-advice, ad-set-argument)
7570 (ad-set-arguments, ad--defalias-fset, ad-activate)
7572 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
7573 (byte-compile-unfold-lambda, byte-optimize-form-code-walker)
7574 (byte-optimize-while, byte-optimize-apply):
7575 * lisp/emacs-lisp/byte-run.el (defun, defsubst):
7576 * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
7577 (byte-compile-log-file, byte-compile-format-warn)
7578 (byte-compile-nogroup-warn, byte-compile-arglist-warn)
7579 (byte-compile-cl-warn)
7580 (byte-compile-warn-about-unresolved-functions)
7581 (byte-compile-file, byte-compile--declare-var)
7582 (byte-compile-file-form-defmumble, byte-compile-form)
7583 (byte-compile-normal-call, byte-compile-check-variable)
7584 (byte-compile-variable-ref, byte-compile-variable-set)
7585 (byte-compile-subr-wrong-args, byte-compile-setq-default)
7586 (byte-compile-negation-optimizer)
7587 (byte-compile-condition-case--old)
7588 (byte-compile-condition-case--new, byte-compile-save-excursion)
7589 (byte-compile-defvar, byte-compile-autoload)
7590 (byte-compile-lambda-form)
7591 (byte-compile-make-variable-buffer-local, display-call-tree)
7592 (batch-byte-compile):
7593 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use):
7594 * lisp/emacs-lisp/chart.el (chart-space-usage):
7595 * lisp/emacs-lisp/check-declare.el (check-declare-scan)
7596 (check-declare-warn, check-declare-file)
7597 (check-declare-directory):
7598 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
7599 (checkdoc-message-text-engine):
7600 * lisp/emacs-lisp/cl-extra.el (cl-parse-integer)
7601 (cl--describe-class):
7602 * lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
7603 (cl--generic-describe, cl-generic-generalizers):
7604 * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
7605 (cl-symbol-macrolet):
7606 * lisp/emacs-lisp/cl.el (cl-unload-function, flet):
7607 * lisp/emacs-lisp/copyright.el (copyright)
7608 (copyright-update-directory):
7609 * lisp/emacs-lisp/edebug.el (edebug-read-list):
7610 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
7611 * lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
7613 * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
7614 * lisp/emacs-lisp/eieio-speedbar.el:
7615 (eieio-speedbar-child-make-tag-lines)
7616 (eieio-speedbar-child-description):
7617 * lisp/emacs-lisp/eieio.el (defclass, change-class):
7618 * lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
7619 (elint-init-form, elint-check-defalias-form)
7620 (elint-check-let-form):
7621 * lisp/emacs-lisp/ert.el (ert-get-test, ert-results-mode-menu)
7622 (ert-results-pop-to-backtrace-for-test-at-point)
7623 (ert-results-pop-to-messages-for-test-at-point)
7624 (ert-results-pop-to-should-forms-for-test-at-point)
7625 (ert-describe-test):
7626 * lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
7627 (find-function-library):
7628 * lisp/emacs-lisp/generator.el (iter-yield):
7629 * lisp/emacs-lisp/gv.el (gv-define-simple-setter):
7630 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
7631 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
7632 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
7633 * lisp/emacs-lisp/nadvice.el (advice--make-docstring)
7634 (advice--make, define-advice):
7635 * lisp/emacs-lisp/package-x.el (package-upload-file):
7636 * lisp/emacs-lisp/package.el (package-version-join)
7637 (package-disabled-p, package-activate-1, package-activate)
7638 (package--download-one-archive)
7639 (package--download-and-read-archives)
7640 (package-compute-transaction, package-install-from-archive)
7641 (package-install, package-install-selected-packages)
7642 (package-delete, package-autoremove, describe-package-1)
7643 (package-install-button-action, package-delete-button-action)
7644 (package-menu-hide-package, package-menu--list-to-prompt)
7645 (package-menu--perform-transaction)
7646 (package-menu--find-and-notify-upgrades):
7647 * lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
7648 * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
7649 * lisp/emacs-lisp/ring.el (ring-previous, ring-next):
7650 * lisp/emacs-lisp/rx.el (rx-check, rx-anything)
7651 (rx-check-any-string, rx-check-any, rx-check-not, rx-=)
7652 (rx-repeat, rx-check-backref, rx-syntax, rx-check-category)
7654 * lisp/emacs-lisp/smie.el (smie-config-save):
7655 * lisp/emacs-lisp/subr-x.el (internal--check-binding):
7656 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
7657 * lisp/emacs-lisp/testcover.el (testcover-1value):
7658 * lisp/emacs-lisp/timer.el (timer-event-handler):
7659 * lisp/emulation/viper-cmd.el (viper-toggle-parse-sexp-ignore-comments)
7660 (viper-toggle-search-style, viper-kill-buffer)
7661 (viper-brac-function):
7662 * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
7663 * lisp/env.el (setenv):
7664 * lisp/erc/erc-button.el (erc-nick-popup):
7665 * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login, english):
7666 * lisp/eshell/em-dirs.el (eshell/cd):
7667 * lisp/eshell/em-glob.el (eshell-glob-regexp)
7668 (eshell-glob-entries):
7669 * lisp/eshell/em-pred.el (eshell-parse-modifiers):
7670 * lisp/eshell/esh-opt.el (eshell-show-usage):
7671 * lisp/facemenu.el (facemenu-add-new-face)
7672 (facemenu-add-new-color):
7673 * lisp/faces.el (read-face-name, read-face-font, describe-face)
7674 (x-resolve-font-name):
7675 * lisp/files-x.el (modify-file-local-variable):
7676 * lisp/files.el (locate-user-emacs-file, find-alternate-file)
7677 (set-auto-mode, hack-one-local-variable--obsolete)
7678 (dir-locals-set-directory-class, write-file, basic-save-buffer)
7679 (delete-directory, copy-directory, recover-session)
7680 (recover-session-finish, insert-directory)
7681 (file-modes-char-to-who, file-modes-symbolic-to-number)
7682 (move-file-to-trash):
7683 * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer):
7684 * lisp/find-cmd.el (find-generic, find-to-string):
7685 * lisp/finder.el (finder-commentary):
7686 * lisp/font-lock.el (font-lock-fontify-buffer):
7687 * lisp/format.el (format-write-file, format-find-file)
7688 (format-insert-file):
7689 * lisp/frame.el (get-device-terminal, select-frame-by-name):
7690 * lisp/fringe.el (fringe--check-style):
7691 * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
7692 * lisp/help-fns.el (help-fns--key-bindings)
7693 (help-fns--compiler-macro, help-fns--parent-mode)
7694 (help-fns--obsolete, help-fns--interactive-only)
7695 (describe-function-1, describe-variable):
7696 * lisp/help.el (describe-mode)
7697 (describe-minor-mode-from-indicator):
7698 * lisp/image.el (image-type):
7699 * lisp/international/ccl.el (ccl-dump):
7700 * lisp/international/fontset.el (x-must-resolve-font-name):
7701 * lisp/international/mule-cmds.el (prefer-coding-system)
7702 (select-safe-coding-system-interactively)
7703 (select-safe-coding-system, activate-input-method)
7704 (toggle-input-method, describe-current-input-method)
7705 (describe-language-environment):
7706 * lisp/international/mule-conf.el (code-offset):
7707 * lisp/international/mule-diag.el (describe-character-set)
7708 (list-input-methods-1):
7709 * lisp/mail/feedmail.el (feedmail-run-the-queue):
7710 * lisp/mouse.el (minor-mode-menu-from-indicator):
7711 * lisp/mpc.el (mpc-playlist-rename):
7712 * lisp/msb.el (msb--choose-menu):
7713 * lisp/net/ange-ftp.el (ange-ftp-shell-command):
7714 * lisp/net/imap.el (imap-interactive-login):
7715 * lisp/net/mairix.el (mairix-widget-create-query):
7716 * lisp/net/newst-backend.el (newsticker--sentinel-work):
7717 * lisp/net/newst-treeview.el (newsticker--treeview-load):
7718 * lisp/net/rlogin.el (rlogin):
7719 * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
7720 * lisp/obsolete/otodo-mode.el (todo-more-important-p):
7721 * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
7722 * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
7723 * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
7724 * lisp/org/ob-core.el (org-babel-goto-named-src-block)
7725 (org-babel-goto-named-result):
7726 * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
7727 * lisp/org/ob-ref.el (org-babel-ref-resolve):
7728 * lisp/org/org-agenda.el (org-agenda-prepare):
7729 * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
7730 (org-clock-resolve):
7731 * lisp/org/org-ctags.el (org-ctags-ask-rebuild-tags-file-then-find-tag):
7732 * lisp/org/org-feed.el (org-feed-parse-atom-entry):
7733 * lisp/org/org-habit.el (org-habit-parse-todo):
7734 * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
7735 (org-mouse-context-menu):
7736 * lisp/org/org-table.el (org-table-edit-formulas):
7737 * lisp/org/ox.el (org-export-async-start):
7738 * lisp/proced.el (proced-log):
7739 * lisp/progmodes/ada-mode.el (ada-get-indent-case)
7740 (ada-check-matching-start, ada-goto-matching-start):
7741 * lisp/progmodes/ada-prj.el (ada-prj-display-page):
7742 * lisp/progmodes/ada-xref.el (ada-find-executable):
7743 * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
7744 * lisp/progmodes/etags.el (etags-tags-apropos-additional):
7745 * lisp/progmodes/flymake.el (flymake-parse-err-lines)
7746 (flymake-start-syntax-check-process):
7747 * lisp/progmodes/python.el (python-shell-get-process-or-error)
7748 (python-define-auxiliary-skeleton):
7749 * lisp/progmodes/sql.el (sql-comint):
7750 * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
7751 * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate):
7752 * lisp/recentf.el (recentf-open-files):
7753 * lisp/replace.el (query-replace-read-from)
7754 (occur-after-change-function, occur-1):
7755 * lisp/scroll-bar.el (scroll-bar-columns):
7756 * lisp/server.el (server-get-auth-key):
7757 * lisp/simple.el (execute-extended-command)
7758 (undo-outer-limit-truncate, list-processes--refresh)
7759 (compose-mail, set-variable, choose-completion-string)
7760 (define-alternatives):
7761 * lisp/startup.el (site-run-file, tty-handle-args, command-line)
7763 * lisp/subr.el (noreturn, define-error, add-to-list)
7764 (read-char-choice, version-to-list):
7765 * lisp/term/common-win.el (x-handle-xrm-switch)
7766 (x-handle-name-switch, x-handle-args):
7767 * lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
7768 * lisp/textmodes/reftex-ref.el (reftex-label):
7769 * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
7770 * lisp/textmodes/two-column.el (2C-split):
7771 * lisp/tutorial.el (tutorial--describe-nonstandard-key)
7772 (tutorial--find-changed-keys):
7773 * lisp/type-break.el (type-break-noninteractive-query):
7774 * lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
7775 (wdired-do-perm-changes):
7776 * lisp/whitespace.el (whitespace-report-region):
7777 Prefer grave quoting in source-code strings used to generate help
7779 * lisp/faces.el (face-documentation):
7780 No need to convert quotes, since the result is a docstring.
7781 * lisp/info.el (Info-virtual-index-find-node)
7782 (Info-virtual-index, info-apropos):
7783 Simplify by generating only curved quotes, since info files are
7784 typically that ways nowadays anyway.
7785 * lisp/international/mule-diag.el (list-input-methods):
7786 Don’t assume text quoting style is curved.
7787 * lisp/org/org-bibtex.el (org-bibtex-fields):
7788 Revert my recent changes, going back to the old quoting style.
7790 2015-09-07 Artur Malabarba <bruce.connor.am@gmail.com>
7792 * lisp/emacs-lisp/package.el: Reduce autoloading before compiling.
7793 (package--autoloads-file-name)
7794 (package--activate-autoloads-and-load-path): New function.
7795 (package-activate-1): Delegate autoloading and load-path
7796 configuration to `package--activate-autoloads-and-load-path'.
7797 (package--compile): Before compilation, call
7798 `package--activate-autoloads-and-load-path' instead of
7799 `package-activate-1'.
7801 2015-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7803 * src/keyboard.c (read_key_sequence): Complete last fix (bug#21403).
7805 2015-09-07 Eli Zaretskii <eliz@gnu.org>
7807 Fix deletion of symlinks to directories on MS-Windows
7808 * src/w32.c (sys_unlink): If 'unlink' fails, and the argument is a
7809 symlink to a directory, try again with 'rmdir'.
7810 (is_symlink): If the argument is a symlink to a directory, set a
7811 bit in the return value to indicate that fact.
7813 2015-09-07 Artur Malabarba <bruce.connor.am@gmail.com>
7815 * lisp/emacs-lisp/package.el (package-initialize): Set enable-at-startup
7816 When `package-initialize' is called as part of loading the init file,
7817 the user probably doesn't want it to be called again afterwards.
7818 In this situation, `package-initialize' now sets
7819 `package-enable-at-startup' to nil to prevent that. The user can have
7820 the old behavior by setting this variable to t after the call to
7821 `package-initialize'. (Bug#21423)
7822 * doc/emacs/package.texi (Package Installation): Document it.
7823 * doc/lispref/package.texi (Packaging Basics): Document it.
7824 * etc/NEWS: Document it.
7826 2015-09-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
7828 Bump version of ntlm.el to 2.00
7829 * lisp/net/ntlm.el: Bump version to 2.00. New maintainer.
7832 2015-09-06 Adam Sjøgren <asjo@koldfront.dk>
7834 * doc/misc/gnus.texi (Mail Source Specifiers):
7835 Allow :mailbox to be a list.
7837 2015-09-06 Dmitry Gutov <dgutov@yandex.ru>
7839 * lisp/progmodes/etags.el (etags-tags-completion-table):
7840 Allow even one non-regular character before the implicit tag name.
7841 Reported at http://emacs.stackexchange.com/questions/15269/.
7843 2015-09-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
7845 Add support for NTLMv2 authentication
7846 * lisp/net/ntlm.el (ntlm): New customization group.
7847 (ntlm-compatibility-level): New defcustom.
7848 (ntlm-compute-timestamp): New function.
7849 (ntlm-generate-nonce): Likewise.
7850 (ntlm-build-auth-response): Add support for NTLMv2 authentication.
7852 2015-09-06 Artur Malabarba <bruce.connor.am@gmail.com>
7854 * lisp/emacs-lisp/package.el: Rename custom faces.
7855 All of the recently introduced faces, like `package-name-face', have
7856 been renamed to no end in `-face' to comply with the convention
7857 described in (info "(elisp) Defining Faces").
7858 (package-name, package-description)
7859 (package-status-built-in, package-status-external)
7860 (package-status-available, package-status-new)
7861 (package-status-held, package-status-disabled)
7862 (package-status-installed, package-status-dependency)
7863 (package-status-unsigned, package-status-incompat)
7864 (package-status-avail-obso): New faces.
7865 (package-menu--print-info-simple): Use them.
7867 2015-09-06 Adam Sjøgren <asjo@koldfront.dk>
7869 mail-source.el: Make the imap mail-source's :mailbox handle a list
7870 * lisp/gnus/mail-source.el (mail-source-fetch-imap):
7871 Allow :mailbox to be a list.
7873 2015-09-06 Eric Abrahamsen <eric@ericabrahamsen.net>
7875 nnimap.el: Handle nil arg to nnimap-request-group
7876 * lisp/gnus/nnimap.el (nnimap-request-group): Handle nil "info" arg.
7877 This arg isn't always passed in, check it's not nil before making it
7878 into a list. The active arg will also be nil if the group is new,
7881 2015-09-06 Michael Albinus <michael.albinus@gmx.de>
7883 File notifications: Support renaming over directory boundaries
7884 * lisp/filenotify.el (file-notify-handle-event):
7885 (file-notify--pending-event): Adapt docstring.
7886 (file-notify--descriptor, file-notify-callback): Reimplement in
7887 order to support renaming over directory boundaries.
7888 (file-notify-add-watch): Adapt `file-notify--descriptor' call.
7889 * doc/lispref/os.texi (File Notifications): Remove limitation of
7890 file renaming to the same directory.
7892 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
7894 Spelling fix (Bug#21420)
7896 2015-09-05 Nicolas Petton <nicolas@petton.fr>
7898 Improve the semantic of map-some
7899 Update map-some to return the returned by the predicate, similar to
7901 * lisp/emacs-lisp/map.el (map-some): Update the function to return the
7902 return value of the predicate.
7903 * test/automated/map-tests.el (test-map-some): Update the test to check
7904 for non-nil values only.
7906 Rename map-contains-key-p and map-some-p
7907 Remove the "-p" suffix from both function names.
7908 * lisp/emacs-lisp/map.el (map-contains-key, map-some):
7909 Rename the functions.
7910 * test/automated/map-tests.el (test-map-contains-key, test-map-some):
7911 Update both test functions.
7913 Improve the semantic of seq-some
7914 Update seq-some to return non-nil if the predicate returns non-nil for
7915 any element of the seq, in which case the returned value is the one
7916 returned by the predicate.
7917 * lisp/emacs-lisp/seq.el (seq-some): Update the function and its
7919 * test/automated/seq-tests.el (test-seq-some): Add a regression test.
7920 * doc/lispref/sequences.texi (Sequence Functions): Update the
7921 documentation for seq-some.
7923 Rename seq-some-p to seq-some and seq-contains-p to seq-contains
7924 * lisp/emacs-lisp/seq.el (seq-some, seq-contains): Rename the functions
7925 without the "-p" prefix.
7926 * test/automated/seq-tests.el (test-seq-some, test-seq-contains): Update
7927 the tests accordingly.
7928 * doc/lispref/sequences.texi (Sequence Functions): Update the
7929 documentation for seq.el.
7931 2015-09-05 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
7933 text-quoting-style for usage of fn names with ‘’
7934 * lisp/help.el (help--docstring-quote): Don’t assume
7935 text-quoting-style is ‘curve’ when generating usage strings for
7936 functions whose names contain curved quotes.
7938 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
7940 Fix fix for describe-function keybinding confusion
7941 This fixes a bug introduced by the previous patch.
7942 * lisp/help-fns.el (help-fns--signature):
7943 Last arg of help-fns--signature is now a buffer, or nil if a
7944 raw signature is wanted. All callers changed.
7945 (describe-function-1): Use this to do the right thing with signatures.
7947 2015-09-05 Johan Bockgård <bojohan@gnu.org>
7949 * doc/lispref/frames.texi (Mouse Tracking): Fix typo.
7951 Use PAT rather than UPAT in pcase macros
7952 * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
7953 * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>: Use PAT rather
7956 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
7958 Fix describe-function keybinding confusion
7959 * lisp/help-fns.el (describe-function-1): Compute signature
7960 in the original buffer, not in standard-output, so that
7961 substitute-command-keys uses the proper keybindings.
7962 This fixes Bug#21412, introduced in commit
7963 2015-06-11T10:23:46-0700!eggert@cs.ucla.edu.
7965 2015-09-05 Xue Fuqiao <xfq.free@gmail.com>
7967 * doc/emacs/programs.texi (Program Modes): Remove an index entry.
7969 2015-09-05 Robert Pluim <rpluim@gmail.com> (tiny change)
7971 Avoid read error messages from 'inotify'
7972 * src/process.c (wait_reading_process_output): Add a
7973 'tls_available' set and manipulate it instead of 'Available' when
7974 checking TLS inputs. Assign the value to 'Available' only if we
7975 find any TLS data waiting to be read. This avoids error messages
7976 from 'inotify' that tries to read data it shouldn't. (Bug#21337)
7978 2015-09-05 Eli Zaretskii <eliz@gnu.org>
7980 Avoid errors in thing-at-point with 2nd argument non-nil
7981 * lisp/thingatpt.el (thing-at-point): Only call 'length' on
7982 sequences. (Bug#21391)
7984 2015-09-05 Philip <pipcet@gmail.com> (tiny change)
7986 Fix segfaults due to using a stale face ID
7987 * src/xdisp.c (forget_escape_and_glyphless_faces): New function.
7988 (display_echo_area_1, redisplay_internal): Call it to avoid
7989 reusing stale face IDs for 'escape-glyph' and 'glyphless-char'
7990 faces, which could case a segfault if the frame's face cache was
7991 freed since the last redisplay. (Bug#21394)
7992 * src/xfaces.c (free_realized_faces):
7993 Call forget_escape_and_glyphless_faces.
7994 * src/dispextern.h (forget_escape_and_glyphless_faces): Add prototype.
7996 2015-09-04 Paul Eggert <eggert@cs.ucla.edu>
7998 Fix minor problems with " in manual
8000 2015-09-04 Michael Albinus <michael.albinus@gmx.de>
8002 * doc/misc/tramp.texi (Frequently Asked Questions): New item for ad-hoc
8005 2015-09-04 Paul Eggert <eggert@cs.ucla.edu>
8007 Support automated ‘make check’ in non-C locale
8008 This lets the builder optionally test Emacs behavior in other locales.
8009 The C locale is still the default for tests.
8010 * test/automated/Makefile.in (TEST_LOCALE): New macro.
8012 * test/automated/flymake-tests.el (flymake-tests--current-face):
8013 Use C locale for subprocesses so that tests behave as expected.
8014 * test/automated/python-tests.el:
8015 (python-shell-prompt-validate-regexps-1)
8016 (python-shell-prompt-validate-regexps-2)
8017 (python-shell-prompt-validate-regexps-3)
8018 (python-shell-prompt-validate-regexps-4)
8019 (python-shell-prompt-validate-regexps-5)
8020 (python-shell-prompt-validate-regexps-6)
8021 (python-shell-prompt-set-calculated-regexps-1):
8022 Adjust expected output to match locale.
8023 * test/automated/tildify-tests.el (tildify-test--test)
8024 (tildify-space-test--test, tildify-space-undo-test--test):
8025 This test assumes UTF-8 encoding.
8027 2015-09-03 Paul Eggert <eggert@cs.ucla.edu>
8029 Fix some more docstring etc. quoting problems
8030 Mostly these fixes prevent the transliteration of apostrophes
8031 that should stay apostrophes. Also, prefer curved quotes in
8032 Bahá’í proper names, as that’s the preferred Bahá’í style and
8033 these names are chock-full of non-ASCII characters anyway.
8034 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-autoload)
8035 (eieio-defclass-internal):
8036 * lisp/emacs-lisp/eieio.el (defclass):
8037 * lisp/hi-lock.el (hi-lock-mode):
8038 Don’t transliterate Lisp apostrophes when generating a
8039 doc string or diagnostic.
8040 * lisp/international/mule-diag.el (list-coding-systems-1):
8041 * lisp/international/ogonek.el (ogonek-jak, ogonek-how):
8042 * lisp/mail/sendmail.el (sendmail-query-user-about-smtp):
8043 * lisp/vc/ediff-mult.el (ediff-redraw-registry-buffer):
8044 * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
8045 Substitute quotes before putting them in the help buffer.
8047 2015-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8049 Re-add the notion of echo_prompt lost in the translation
8050 * src/keyboard.h (struct kboard): Replace echo_after_prompt with new
8051 echo_prompt which contains the actual string. Update all uses.
8052 * src/keyboard.c (kset_echo_prompt): New function.
8053 (echo_update): Add echo_prompt at the very beginning.
8054 (read_char): Remove workaround for bug#19875, not needed any more.
8055 (read_key_sequence): Set echo_prompt rather than echo_string
8057 (mark_kboards): Mark echo_prompt.
8059 Fix disassembly of non-compiled lexical functions (bug#21377)
8060 * lisp/emacs-lisp/bytecomp.el (byte-compile): Handle `closure' arg.
8061 * lisp/emacs-lisp/disass.el: Use lexical-binding.
8062 (disassemble): Recognize `closure's as well.
8063 (disassemble-internal): Use indirect-function and
8064 help-function-arglist, and accept `closure's.
8065 (disassemble-internal): Use interactive-form.
8066 (disassemble-1): Use functionp.
8068 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
8069 Don't compose inside verbatim blocks!
8071 2015-09-03 Mark Oteiza <mvoteiza@udel.edu>
8073 * lisp/thingatpt.el (thing-at-point-uri-schemes): Add "man:"
8076 * lisp/mpc.el (mpc--proc-connect): Handle unix sockets (bug#19394).
8078 2015-09-03 Dmitry Gutov <dgutov@yandex.ru>
8080 vc-git-mode-line-string: Explicitly re-apply the face
8081 * lisp/vc/vc-git.el (vc-git-mode-line-string): Explicitly re-apply
8082 the face (bug#21404).
8084 2015-09-02 Paul Eggert <eggert@cs.ucla.edu>
8086 Treat initial-scratch-message as a doc string
8087 * doc/emacs/building.texi (Lisp Interaction):
8088 * doc/lispref/os.texi (Startup Summary):
8089 * etc/NEWS: Document this.
8090 * lisp/startup.el (initial-scratch-message):
8091 Look up find-file’s key rather than hardcoding it.
8092 (command-line-1): Substitute the doc string.
8093 This also substitutes the quotes, which will help test display
8096 Fix describe-char bug with glyphs on terminals
8097 * lisp/descr-text.el (describe-char): Terminals can have glyphs in
8098 buffers too, so don’t treat them differently from graphic displays.
8099 Without this fix, describe-char would throw an error on a terminal
8100 if given a glyph with a non-default face.
8102 Follow text-quoting-style in display table init
8103 This attempts to fix a problem reported by Alan Mackenzie in:
8104 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00112.html
8105 * doc/lispref/display.texi (Active Display Table):
8106 Mention how text-quoting-style affects it.
8107 * doc/lispref/help.texi (Keys in Documentation):
8108 Say how to set text-quoting-style in ~/.emacs.
8109 * etc/NEWS: Document the change.
8110 * lisp/startup.el (startup--setup-quote-display):
8111 Follow user preference if text-quoting-style is set.
8112 (command-line): Setup quote display again if user expresses
8113 a preference in .emacs.
8115 2015-09-02 K. Handa <handa@gnu.org>
8118 * src/ftfont.c (ftfont_drive_otf): otf_positioning_type_components_mask
8119 -> OTF_positioning_type_components_mask.
8122 * src/ftfont.c (ftfont_drive_otf): Remember some bits of
8123 OTF_Glyph->positioning_type in MFLTGlyphFT->libotf_positioning_type.
8125 2015-09-01 David Caldwell <david@porkrind.org> (tiny change)
8127 * lisp/vc/vc-hooks.el (vc-refresh-state): New command.
8128 Rename from vc-find-file-hook and make interactive.
8129 (vc-find-file-hook): Redefine as obsolete alias.
8131 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
8133 Escape ` and ' in doc
8134 Escape apostrophes and grave accents in docstrings if they are
8135 are supposed to stand for themselves and are not quotes. Remove
8136 apostrophes from docstring examples like ‘'(calendar-nth-named-day
8137 -1 0 10 year)’ that confuse source code with data. Do some other
8138 minor docstring fixups as well, e.g., insert a missing close quote.
8140 2015-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8142 Generalize the prefix-command machinery of C-u
8143 * lisp/simple.el (prefix-command-echo-keystrokes-functions)
8144 (prefix-command-preserve-state-hook): New hooks.
8145 (internal-echo-keystrokes-prefix): New function.
8146 (prefix-command--needs-update, prefix-command--last-echo): New vars.
8147 (prefix-command-update, prefix-command-preserve): New functions.
8148 (reset-this-command-lengths): New compatibility definition.
8149 (universal-argument--mode): Call prefix-command-update.
8150 (universal-argument, universal-argument-more, negative-argument)
8151 (digit-argument): Call prefix-command-preserve-state.
8152 * src/keyboard.c: Call internal-echo-keystrokes-prefix to build
8153 the "prefix argument" to echo.
8154 (this_command_key_count_reset, before_command_key_count)
8155 (before_command_echo_length): Delete variables.
8156 (echo_add_key): Always add a space.
8157 (echo_char): Remove.
8158 (echo_dash): Don't give up when this_command_key_count is 0, since that
8159 is now the case after a prefix command.
8160 (echo_update): New function, extracted from echo_now.
8162 (add_command_key, read_char, record_menu_key): Remove old disabled code.
8163 (command_loop_1): Don't refrain from pushing an undo boundary when
8164 prefix-arg is set. Remove other prefix-arg special case, now handled
8165 directly in the prefix commands instead. But call echo_now if there's
8166 a prefix state to echo.
8167 (read_char, record_menu_key): Use echo_update instead of echo_char.
8168 (read_key_sequence): Use echo_now rather than echo_dash/echo_char.
8169 (Freset_this_command_lengths): Delete function.
8170 (syms_of_keyboard): Define Qinternal_echo_keystrokes_prefix.
8171 (syms_of_keyboard): Don't defsubr Sreset_this_command_lengths.
8172 * lisp/simple.el: Use those new hooks for C-u.
8173 (universal-argument--description): New function.
8174 (prefix-command-echo-keystrokes-functions): Use it.
8175 (universal-argument--preserve): New function.
8176 (prefix-command-preserve-state-hook): Use it.
8177 (command-execute): Call prefix-command-update if needed.
8178 * lisp/kmacro.el (kmacro-step-edit-prefix-commands)
8179 (kmacro-step-edit-prefix-index): Delete variables.
8180 (kmacro-step-edit-query, kmacro-step-edit-insert): Remove ad-hoc
8181 support for prefix arg commands.
8182 (kmacro-step-edit-macro): Don't bind kmacro-step-edit-prefix-index.
8183 * lisp/emulation/cua-base.el (cua--prefix-override-replay)
8184 (cua--shift-control-prefix): Use prefix-command-preserve-state.
8185 Remove now unused arg `arg'.
8186 (cua--prefix-override-handler, cua--prefix-repeat-handler)
8187 (cua--shift-control-c-prefix, cua--shift-control-x-prefix):
8189 (cua--prefix-override-timeout): Don't call reset-this-command-lengths
8191 (cua--keep-active, cua-exchange-point-and-mark): Don't set mark-active
8192 if the mark is not set.
8194 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
8196 Rework quoting in Emacs Lisp Introduction
8197 * doc/lispintro/emacs-lisp-intro.texi (Sample let Expression)
8198 (if in more detail, type-of-animal in detail, else): Rework the
8199 early example to use " rather than ' so that we don’t burden
8200 complete novices with the low-priority detail of text quoting style.
8201 (Complete zap-to-char, kill-region, Complete copy-region-as-kill)
8202 (kill-new function, kill-ring-yank-pointer)
8203 (Complete forward-sentence, Loading Files)
8204 (Code for current-kill, Code for current-kill, yank):
8205 Resurrect the Emacs 22 versions of the code, which uses grave
8206 quoting style in doc strings.
8207 (Complete zap-to-char): Mention how quoting works in doc strings.
8209 Setup quote display only if interactive
8210 * lisp/startup.el (command-line):
8211 Skip call to startup--setup-quote-display if noninteractive.
8212 Without this change, python-shell-prompt-validate-regexps-1
8213 fails in test/automated/python-tests.el when run in an
8214 en_US.utf8 locale on Fedora.
8216 2015-09-01 Katsumi Yamaoka <yamaoka@jpl.org>
8218 Use defalias at the top level
8219 * lisp/gnus/gnus-util.el (gnus-format-message):
8220 * lisp/net/tls.el (tls-format-message): Use defalias at the top level
8221 so as to make eval-and-compile unnecessary. Thanks to Stefan Monnier.
8223 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
8225 terminal-init-w32console mimicks command-line
8226 Problem reported by Eli Zaretskii.
8227 * lisp/startup.el (startup--setup-quote-display):
8228 New function, refactored from a part of ‘command-line’.
8229 (command-line): Use it.
8230 * lisp/term/w32console.el (terminal-init-w32console):
8231 Use it, so that this function stays consistent with ‘command-line’.
8233 Display replacement quotes with shadow glyphs
8234 * lisp/startup.el (command-line): When displaying ASCII
8235 replacements for curved quotes, use a shadow glyph instead of a
8236 regular one, to avoid ambiguity.
8238 2015-09-01 Michael Albinus <michael.albinus@gmx.de>
8240 * lisp/net/tramp-sh.el (tramp-methods) <sudo>: Mask "Password:".
8242 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
8244 Docstring fixes re quotes in C code
8245 Fix some docstring quoting problems, mostly by escaping apostrophe.
8247 2015-09-01 Michael Albinus <michael.albinus@gmx.de>
8249 Some Tramp password fixes
8250 * lisp/net/tramp.el (tramp-clear-passwd): Clear also the passwords
8252 * lisp/net/tramp-sh.el (tramp-methods) <sudo>: Move "-p" "Password:"
8253 at the beginning of the command. Otherwise, it could be
8254 interpreted as password prompt if the remote host echoes the
8256 (tramp-remote-coding-commands): Add "openssl enc -base64".
8258 2015-09-01 Dmitry Gutov <dgutov@yandex.ru>
8260 Make vc-git-working-revision always return the commit hash
8261 * lisp/vc/vc-git.el (vc-git-working-revision):
8262 Return the commit hash (bug#21383).
8263 (vc-git--symbolic-ref): New function, extracted from above.
8264 (vc-git-mode-line-string): Use it.
8266 2015-09-01 K. Handa <handa@gnu.org>
8268 Use the new type MFLTGlyphFT for MFLTGlyphString.glyphs
8269 * src/ftfont.c (MFLTGlyphFT): New type.
8270 (ftfont_get_glyph_id, ftfont_get_metrics, ftfont_drive_otf)
8271 (ftfont_shape_by_flt): Make MFLTGlyphFT the actual type of
8272 elements in the array MFLTGlyphString.glyphs.
8274 2015-09-01 Stephen Leake <stephen_leake@stephe-leake.org>
8276 Improve comments in elisp-mode.el, elisp-mode-tests.el
8277 * lisp/progmodes/elisp-mode.el: Clean up FIXMEs, comments.
8279 Delete Emacs 25 test in mode-local.el
8280 * lisp/cedet/mode-local.el (describe-mode-local-overload):
8281 Fix missed an edit in previous commit.
8283 Show all known mode-local overrides in *Help*
8284 * lisp/cedet/mode-local.el (describe-mode-local-overload):
8285 Assume Emacs 25. Add all known mode-local overrides.
8287 2015-09-01 Katsumi Yamaoka <yamaoka@jpl.org>
8289 * lisp/gnus/gnus-sum.el (gnus-summary-search-article):
8290 Ensure that the article where the search word is found is displayed
8291 and pointed to in the summary buffer.
8293 2015-08-31 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
8295 * lisp/newcomment.el (comment-dwim): Use `use-region-p'.
8296 When the region is active, but is empty (length 0), act as though
8297 the region was not active; that is, put a comment at the end of
8298 the line. (Bug#21119)
8300 2015-08-31 Katsumi Yamaoka <yamaoka@jpl.org>
8302 Port tls.el to older Emacs
8303 * lisp/net/tls.el (tls-format-message):
8304 Alias to format-message, or format if not available.
8305 (open-tls-stream): Use it.
8307 2015-08-31 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
8309 hideif.el: Recognize .h++ as C++ header
8310 * lisp/progmodes/hideif.el (hide-ifdef-header-regexp): Add .h++.
8312 isearch: Document character folding mode
8313 * lisp/isearch.el (isearch-forward):
8314 Mention `isearch-toggle-character-fold' in doc string.
8316 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
8318 Quoting fixes in ERC and Eshell
8319 * lisp/erc/erc-autoaway.el (erc-autoaway-set-away):
8320 * lisp/erc/erc-backend.el (define-erc-response-handler):
8321 * lisp/erc/erc-fill.el (erc-fill-static-center):
8322 * lisp/eshell/em-dirs.el (eshell-save-some-last-dir):
8323 * lisp/eshell/em-glob.el (eshell-glob-entries):
8324 * lisp/eshell/em-hist.el (eshell-save-some-history):
8325 * lisp/eshell/em-unix.el (eshell-remove-entries, eshell/rm)
8326 (eshell-shuffle-files):
8327 * lisp/eshell/esh-cmd.el (eshell-do-eval):
8328 * lisp/eshell/esh-proc.el (eshell-process-interact)
8329 (eshell-query-kill-processes):
8330 Respect ‘text-quoting-style’ in diagnostics and doc strings.
8332 Quoting fixes in Gnus
8333 * lisp/gnus/gnus-agent.el:
8334 (gnus-agent-possibly-synchronize-flags-server):
8335 * lisp/gnus/gnus-art.el (gnus-article-browse-delete-temp-files):
8336 * lisp/gnus/gnus-eform.el (gnus-edit-form):
8337 * lisp/gnus/gnus-group.el (gnus-group-edit-group)
8338 (gnus-group-nnimap-edit-acl):
8339 * lisp/gnus/gnus-topic.el (gnus-topic-edit-parameters):
8340 * lisp/gnus/mail-source.el (mail-source-delete-old-incoming):
8341 * lisp/gnus/message.el (message-strip-subject-encoded-words)
8342 (message-check-recipients, message-send-form-letter):
8343 * lisp/gnus/mm-decode.el (mm-display-part):
8344 * lisp/gnus/mm-uu.el (mm-uu-pgp-signed-extract-1):
8345 * lisp/gnus/mml-smime.el (mml-smime-get-dns-cert)
8346 (mml-smime-get-ldap-cert):
8347 * lisp/gnus/spam-report.el (spam-report-process-queue):
8348 Respect ‘text-quoting-style’ in diagnostics.
8349 * lisp/gnus/gnus-art.el (article-display-face)
8350 * lisp/gnus/gnus-fun.el (gnus-display-x-face-in-from):
8351 Use straight quoting in email.
8352 * lisp/gnus/rfc2231.el (rfc2231-decode-encoded-string):
8353 Escape apostrophes in doc strings.
8355 Quoting fixes in lisp mail, mh-e, net, url
8356 * lisp/mail/emacsbug.el (report-emacs-bug)
8357 (report-emacs-bug-hook): Use straight quotes in outgoing email,
8358 * lisp/mail/feedmail.el (feedmail-message-action-help-blat):
8359 * lisp/mail/rmail.el (rmail-unknown-mail-followup-to):
8360 * lisp/mail/rmailout.el (rmail-output-read-file-name):
8361 * lisp/net/imap.el (imap-interactive-login):
8362 * lisp/net/tls.el (open-tls-stream):
8363 * lisp/url/url-auth.el (url-register-auth-scheme):
8364 Respect ‘text-quoting-style’ in diagnostics.
8365 * lisp/mh-e/mh-e.el (mh-sortm-args):
8366 Quote docstring example using text quotes, not as a Lisp quote.
8368 2015-08-31 Stephen Leake <stephen_leake@stephe-leake.org>
8370 Fix some byte-compiler warnings in EDE
8371 This fixes a bug that caused ede-generic-new-autoloader to overwrite the
8372 existing autoloader list, rather than add to it.
8373 * lisp/cedet/ede/auto.el (ede-project-class-files): Delete obsolete name
8374 argument to eieio class constructor.
8375 (ede-show-supported-projects): New.
8376 (ede-add-project-autoload): Replace obsolete `eieio-object-name-string'
8377 with (oref ... name).
8378 (ede-auto-load-project): Use slot name, not initarg key.
8379 * lisp/cedet/ede/generic.el (ede-generic-load)
8380 (ede-generic-find-matching-target): Use slot name, not initarg key.
8381 (ede-find-target): Use oref-default on class name.
8382 (ede-generic-new-autoloader): Delete obsolete name argument to eieio
8384 (ede-enable-generic-projects): Make project type names unique.
8386 2015-08-31 Eli Zaretskii <eliz@gnu.org>
8388 Fix directory accessibility tests for w32 network volumes
8389 * src/w32.c (faccessat): Don't fail with network volumes without a
8391 (w32_accessible_directory_p): Handle network volumes without a
8394 Fix handling long file names in readdir on MS-Windows
8395 * src/w32.c (sys_readdir): Append "\*" to the directory after
8396 converting it to UTF-16/ANSI, not before, to avoid overflowing the
8397 260-character limit on file names in filename_to_utf16/ansi.
8399 Make file-accessible-directory-p reliable on MS-Windows
8400 * src/w32.c (w32_accessible_directory_p): New function.
8401 * src/w32.h (w32_accessible_directory_p): Add prototype.
8402 * src/fileio.c (file_accessible_directory_p) [WINDOWSNT]: Call
8403 w32_accessible_directory_p to test a directory for accessibility
8404 by the current user. (Bug#21346)
8405 (Ffile_accessible_directory_p): Remove the w32 specific caveat
8406 from the doc string.
8408 2015-08-31 Martin Rudalics <rudalics@gmx.at>
8410 Don't call do_pending_window_change in signal handlers (Bug#21380)
8411 * src/gtkutil.c (xg_frame_resized):
8412 * src/xterm.c (x_set_window_size):
8413 * src/w32term.c (x_set_window_size): Don't call
8414 do_pending_window_change.
8416 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
8418 Quoting fixes in lisp/org
8419 * lisp/org/org-agenda.el (org-search-view, org-todo-list)
8421 * lisp/org/org-capture.el (org-capture-mode)
8422 * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
8423 (org-ctags-ask-append-topic):
8424 * lisp/org/org.el (org-time-string-to-time)
8425 (org-time-string-to-absolute):
8426 * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
8427 (org-ctags-ask-append-topic):
8428 * lisp/org/org.el (org-time-string-to-time)
8429 (org-time-string-to-absolute):
8430 Respect ‘text-quoting-style’ in diagnostics.
8431 * lisp/org/org-agenda.el (org-agenda-custom-commands)
8432 (org-agenda-dim-blocked-tasks): Plural of TODO is TODOs, not TODO’s.
8433 * lisp/org/org-capture.el (org-capture-fill-template):
8434 Avoid contraction in output file that might be ASCII.
8435 * lisp/org/org-compat.el (format-message):
8436 Define if not already defined, for backward compatibility.
8437 * lisp/org/org-src.el (org-edit-src-save):
8438 * lisp/org/org.el (org-cycle, org-ctrl-c-ctrl-c):
8439 Escape apostrophes in diagnostics.
8441 Treat “instead” strings as docstrings
8442 * lisp/emacs-lisp/bytecomp.el (byte-compile-form):
8443 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
8444 Substitute quotes in instead strings.
8446 2015-08-31 Nicolas Petton <nicolas@petton.fr>
8448 Better documentation of seq-let
8449 * doc/lispref/sequences.texi (Sequence Functions): Rephrase the
8450 documentation of seq-let.
8452 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
8454 * lisp/international/ccl.el: Fix quoting.
8456 Quoting fixes in lisp/international and lisp/leim
8457 * lisp/international/ccl.el (ccl-dump, ccl-dump-call):
8458 * lisp/international/ja-dic-utl.el (skkdic-lookup-key):
8459 * lisp/international/mule-cmds.el:
8460 (select-safe-coding-system-interactively, leim-list-file-name):
8461 * lisp/international/quail.el (quail-use-package, quail-help):
8462 * lisp/international/titdic-cnv.el (tit-process-header)
8464 Respect text quoting style in doc strings and diagnostics.
8465 * lisp/international/quail.el (lisp/international/quail.el):
8466 * lisp/leim/quail/ethiopic.el ("ethiopic"):
8467 Escape apostrophes in doc strings.
8469 Make ‘text-quoting-style’ a plain defvar
8470 It doesn’t need customization, as it’s likely useful only by experts.
8471 Suggested by Stefan Monnier in:
8472 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg01020.html
8473 * lisp/cus-start.el: Remove doc.c section for builtin customized vars.
8475 Quoting fixes in lisp/textmodes
8476 * lisp/textmodes/bibtex.el (bibtex-validate)
8477 (bibtex-validate-globally, bibtex-search-entries):
8478 * lisp/textmodes/ispell.el (ispell-command-loop):
8479 * lisp/textmodes/page-ext.el (search-pages, pages-directory):
8480 * lisp/textmodes/texinfmt.el (texinfmt-version)
8481 (texinfo-format-region, texinfo-format-buffer-1):
8482 * lisp/textmodes/two-column.el (2C-split):
8483 Respect text quoting style in doc strings and diagnostics.
8484 * lisp/textmodes/conf-mode.el (conf-mode-map, conf-quote-normal):
8485 * lisp/textmodes/sgml-mode.el (sgml-specials, sgml-mode):
8486 Escape apostrophes in doc strings.
8488 Documentation fixes re quotes
8489 Prefer curved quotes in examples if users will typically see
8490 curved quotes when the examples run.
8491 Mention format-message when appropriate.
8492 Don’t use @code in examples.
8493 Quote an apostrophe with @kbd.
8495 Quoting fixes in lisp/progmodes
8496 * lisp/progmodes/cc-engine.el (c-bos-report-error):
8497 * lisp/progmodes/cpp.el (cpp-edit-reset):
8498 * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
8499 * lisp/progmodes/etags.el (etags-tags-apropos-additional)
8500 (etags-tags-apropos, list-tags, tags-apropos):
8501 * lisp/progmodes/executable.el (executable-set-magic):
8502 * lisp/progmodes/octave.el (octave-sync-function-file-names)
8503 (octave-help, octave-find-definition-default-filename)
8504 (octave-find-definition):
8505 Respect text quoting style in doc strings and diagnostics.
8506 * lisp/progmodes/cc-langs.el (c-populate-syntax-table):
8507 * lisp/progmodes/verilog-mode.el (verilog-auto-reset-widths):
8508 * lisp/progmodes/vhdl-mode.el (vhdl-electric-quote):
8509 Escape apostrophes in doc strings.
8510 * lisp/progmodes/cmacexp.el (c-macro-expansion):
8511 Use straight quoting in ASCII comment.
8512 * lisp/progmodes/idlwave.el (idlwave-auto-fill-split-string)
8513 (idlwave-pad-keyword):
8514 * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate)
8515 (vhdl-electric-open-bracket, vhdl-electric-close-bracket):
8516 (vhdl-electric-semicolon, vhdl-electric-comma)
8517 (vhdl-electric-period, vhdl-electric-equal):
8518 Use directed quotes in diagnostics and doc strings.
8520 2015-08-30 Xue Fuqiao <xfq.free@gmail.com>
8522 Minor documentation and NEWS tweak
8523 * doc/lispintro/emacs-lisp-intro.texi (fwd-para let):
8525 * etc/NEWS: Fix a typo in character-fold-to-regexp.
8527 2015-08-30 Michael Albinus <michael.albinus@gmx.de>
8529 * lisp/net/tramp-sh.el (tramp-convert-file-attributes):
8530 Revert patch from 2015-08-24. Tramp shall behave like for local files.
8531 * test/automated/tramp-tests.el (tramp-test18-file-attributes):
8534 2015-08-30 Paul Eggert <eggert@cs.ucla.edu>
8536 Text quoting fixes in cedet, emulation, emacs-lisp
8537 * lisp/cedet/ede.el (ede-check-project-directory):
8538 * lisp/cedet/semantic/analyze/debug.el
8539 (semantic-analyzer-debug-insert-include-summary):
8540 * lisp/cedet/semantic/bovine/c.el (semantic-c-describe-environment):
8541 * lisp/cedet/semantic/decorate/include.el
8542 (semantic-decoration-unknown-include-describe)
8543 (semantic-decoration-all-include-summary):
8544 * lisp/cedet/semantic/ia.el (semantic-ia-fast-jump):
8545 * lisp/emulation/edt.el (edt-load-keys):
8546 * lisp/emulation/viper-cmd.el
8547 (viper-display-current-destructive-command)
8548 (viper-query-replace, viper-brac-function):
8549 * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-compile):
8550 * lisp/emulation/viper-macs.el (viper-unrecord-kbd-macro):
8551 Respect text quoting style in doc string or diagnostic.
8552 * lisp/cedet/mode-local.el (describe-mode-local-overload):
8553 Use format-message to avoid overtranslating quotes.
8554 * lisp/emacs-lisp/checkdoc.el (checkdoc-in-sample-code-p):
8555 Escape an apostrophe in a docstring.
8556 * lisp/emacs-lisp/warnings.el (lwarn): Fix doc string.
8558 2015-08-29 Daniel Colascione <dancol@dancol.org>
8560 Fix which-func for curly quotes: look for symbol, not message
8561 * lisp/progmodes/which-func.el (which-func-ff-hook): Look for new
8562 imenu-unavailable error symbol instead of trying to match message
8564 * lisp/imenu.el (imenu-unavailable): New error.
8565 (imenu-unavailable-error): New function.
8567 2015-08-29 Eli Zaretskii <eliz@gnu.org>
8569 Fix Python tests on MS-Windows
8570 * test/automated/python-tests.el
8571 (python-shell-calculate-command-1): Run python-shell-interpreter
8572 through shell-quote-argument before comparing with what
8573 python-shell-calculate-command returns.
8574 (python-shell-calculate-pythonpath-1)
8575 (python-shell-calculate-pythonpath-2)
8576 (python-shell-calculate-process-environment-2): Use path-separator
8577 instead of a literal ':'.
8578 (python-shell-calculate-exec-path-2)
8579 (python-shell-calculate-exec-path-3)
8580 (python-shell-calculate-exec-path-4)
8581 (python-shell-with-environment-1)
8582 (python-shell-with-environment-2): Run "/env/bin" through
8583 expand-file-name before comparing with exec-path. (Bug#21375)
8585 2015-08-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8587 Use Core Text types/functions/variables/enumerators directly
8588 * src/macfont.h (FontDescriptorRef, FontRef, FontSymbolicTraits)
8589 (CharacterCollection): Remove typedefs. All uses replaced with
8591 (MAC_FONT_NAME_ATTRIBUTE, MAC_FONT_FAMILY_NAME_ATTRIBUTE)
8592 (MAC_FONT_TRAITS_ATTRIBUTE, MAC_FONT_SIZE_ATTRIBUTE)
8593 (MAC_FONT_CASCADE_LIST_ATTRIBUTE)
8594 (MAC_FONT_CHARACTER_SET_ATTRIBUTE, MAC_FONT_LANGUAGES_ATTRIBUTE)
8595 (MAC_FONT_FORMAT_ATTRIBUTE, MAC_FONT_SYMBOLIC_TRAIT)
8596 (MAC_FONT_WEIGHT_TRAIT, MAC_FONT_WIDTH_TRAIT)
8597 (MAC_FONT_SLANT_TRAIT): Remove macros. All uses replaced with
8599 (MAC_FONT_TRAIT_ITALIC, MAC_FONT_TRAIT_BOLD)
8600 (MAC_FONT_TRAIT_MONO_SPACE, MAC_FONT_TRAIT_COLOR_GLYPHS)
8601 (MAC_FONT_FORMAT_BITMAP)
8602 (MAC_CHARACTER_COLLECTION_IDENTITY_MAPPING)
8603 (MAC_CHARACTER_COLLECTION_ADOBE_JAPAN1): Remove enumerators.
8604 All uses replaced with definitions.
8605 (kCTFontTraitItalic, kCTFontTraitBold, kCTFontTraitMonoSpace)
8606 (kCTFontTraitColorGlyphs, kCTCharacterCollectionIdentityMapping)
8607 (kCTCharacterCollectionAdobeJapan1 kCTFontOrientationDefault):
8608 Add compatibility enumerators for older versions.
8609 (mac_font_descriptor_create_with_attributes)
8610 (mac_font_descriptor_create_matching_font_descriptors)
8611 (mac_font_descriptor_create_matching_font_descriptor)
8612 (mac_font_descriptor_copy_attribute)
8613 (mac_font_descriptor_supports_languages)
8614 (mac_font_create_with_name, mac_font_get_size)
8615 (mac_font_copy_family_name, mac_font_copy_character_set)
8616 (mac_font_get_glyphs_for_characters, mac_font_get_ascent)
8617 (mac_font_get_descent, mac_font_get_leading)
8618 (mac_font_get_underline_position)
8619 (mac_font_get_underline_thickness, mac_font_copy_graphics_font)
8620 (mac_font_copy_non_synthetic_table): Remove macros. All uses
8621 replaced with definitions.
8622 (mac_font_create_preferred_family_for_attributes)
8623 (mac_font_get_advance_width_for_glyph)
8624 (mac_font_get_bounding_rect_for_glyph)
8625 (mac_font_create_available_families, mac_font_shape):
8626 Remove macros for renamed functions.
8627 (mac_nsctfont_copy_font_descriptor): Remove unused macro.
8628 * src/macterm.m (mac_font_descriptor_supports_languages):
8629 Rename from mac_ctfont_descriptor_supports_languages.
8630 (mac_font_create_preferred_family_for_attributes): Rename from
8631 mac_ctfont_create_preferred_family_for_attributes.
8632 (mac_font_get_advance_width_for_glyph): Rename from
8633 mac_ctfont_get_advance_width_for_glyph.
8634 Use kCTFontOrientationDefault also for older versions.
8635 (mac_font_get_bounding_rect_for_glyph): Rename from
8636 mac_ctfont_get_bounding_rect_for_glyph.
8637 Use kCTFontOrientationDefault also for older versions.
8638 (mac_font_create_available_families): Rename from
8639 mac_ctfont_create_available_families.
8640 (mac_font_equal_in_postscript_name): Rename from
8641 mac_ctfont_equal_in_postscript_name. All uses changed.
8642 (mac_font_create_line_with_string_and_font): Rename from
8643 mac_ctfont_create_line_with_string_and_font. All uses changed.
8644 (mac_font_shape): Rename from mac_ctfont_shape.
8645 (mac_font_family_compare): Remove unused declaration.
8647 2015-08-29 Paul Eggert <eggert@cs.ucla.edu>
8649 Fix minor text quoting in calc, calendar, vc
8650 * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
8651 * lisp/calc/calc-help.el (calc-j-prefix-help):
8652 * lisp/calc/calc-misc.el (calc-help):
8653 * lisp/calc/calc.el (calc-algebraic-mode, calc-mode):
8654 Escape an apostrophe in a docstring.
8655 * lisp/calc/calc-forms.el (calc-hms-notation):
8656 * lisp/calc/calc-mode.el (calc-display-raw, calc-algebraic-mode):
8657 Escape an apostrophe in a diagnostic.
8658 * lisp/calc/calc-misc.el (calc-help):
8659 * lisp/calendar/diary-lib.el (diary-include-files):
8660 * lisp/calendar/todo-mode.el (todo-prefix, todo-item-mark):
8661 * lisp/vc/diff-mode.el (diff-delete-trailing-whitespace):
8662 * lisp/vc/ediff-diff.el (ediff-same-contents):
8663 * lisp/vc/ediff-merg.el (ediff-re-merge):
8664 * lisp/vc/ediff-ptch.el (ediff-patch-file-internal):
8665 * lisp/vc/ediff-util.el (ediff-test-save-region)
8666 (ediff-status-info):
8667 * lisp/vc/ediff.el (ediff-merge-revisions)
8668 (ediff-merge-revisions-with-ancestor):
8669 * lisp/vc/pcvs.el (cvs-mode-checkout, cvs-vc-command-advice):
8670 * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
8671 Respect text quoting style in doc string or diagnostic.
8672 * lisp/calc/calc-prog.el (calc-kbd-push, calc-kbd-pop):
8673 * lisp/vc/add-log.el (change-log-goto-source):
8674 Avoid double-formatting.
8675 * lisp/vc/ediff-init.el (format-message):
8676 New backward-compatibility alias.
8678 2015-08-28 Paul Eggert <eggert@cs.ucla.edu>
8680 Fix minor text quoting problems in lisp top level
8681 * lisp/apropos.el (apropos-describe-plist):
8682 * lisp/cus-theme.el (customize-themes):
8683 * lisp/dired.el (dired-log):
8684 * lisp/help-fns.el (describe-variable):
8685 * lisp/hexl.el (hexl-insert-multibyte-char):
8686 * lisp/info.el (Info-finder-find-node):
8687 * lisp/json.el (json-read-string):
8688 * lisp/novice.el (disabled-command-function)
8689 (disabled-command-function):
8690 * lisp/startup.el (normal-mouse-startup-screen):
8691 * lisp/woman.el (WoMan-log, WoMan-warn):
8692 Respect text quoting style in doc string or diagnostic.
8693 * lisp/replace.el (replace-character-fold):
8694 * src/syntax.c (Fmodify_syntax_entry):
8695 Escape an apostrophe in a docstring.
8696 * lisp/tempo.el (tempo-define-template):
8697 Remove confusing apostrophe from docstring.
8698 * lisp/whitespace.el (whitespace-mark-x):
8699 Use directed quotes in docstring.
8701 2015-08-28 Simen Heggestøyl <simenheg@gmail.com>
8703 Fix indentation rule in css-mode
8704 * lisp/textmodes/css-mode.el (css-smie-rules): Fix indentation of
8705 brackets in presence of pseudo-selectors. (Bug#21328)
8707 2015-08-28 Eli Zaretskii <eliz@gnu.org>
8709 Fix a bug in recording a macro while flyspell-mode is active
8710 * lisp/subr.el (sit-for): Don't call read-event when recording a
8713 2015-08-27 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
8715 Tweak startup screen quoting
8716 * lisp/startup.el (normal-splash-screen): Use standard
8717 "M-" abbrevation rather than a confusingly-different one.
8718 (normal-no-mouse-startup-screen): Follow ‘text-quoting-style’.
8720 2015-08-27 Paul Eggert <eggert@cs.ucla.edu>
8722 Add test case for ‘format’ bug and refactor
8723 * src/editfns.c (styled_format): Refactor internally, mostly by
8724 moving declarations closer to uses. This should not affect behavior.
8725 * test/automated/textprop-tests.el (textprop-tests-format): New test.
8727 Fix ‘format’ bug with property offsets
8728 * src/editfns.c (styled_format): Fix recently-introduced ‘format’
8729 bug in calculating string property offsets (Bug#21351).
8731 Use straight quotes in lib-src diagnostics
8732 These auxiliary programs can’t use Emacs’s text-quoting-style,
8733 and it’s too much trouble to redo that mechanism by hand.
8734 So just use straight quotes for now.
8735 * lib-src/ebrowse.c (main):
8736 * lib-src/emacsclient.c (decode_options, main):
8737 * lib-src/etags.c (Ada_help, default_C_help, Cplusplus_help)
8738 (Forth_help, HTML_help, Lisp_help, Makefile_help, Objc_help)
8739 (Perl_help, PHP_help, Python_help, Scheme_help, TeX_help, auto_help)
8740 (none_help, print_language_names, print_help, add_regex)
8741 (suggest_asking_for_help):
8742 * lib-src/make-docfile.c (write_c_args, scan_c_stream):
8743 Use straight quotes in diagnostics.
8745 ‘text-quoting-style’ fixes for admin
8746 * admin/admin.el (cusver-scan, cusver-check):
8747 * admin/authors.el (authors-canonical-file-name):
8748 * admin/bzrmerge.el (bzrmerge-missing):
8749 Respect ‘text-quoting-style’ in diagnostics.
8751 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
8753 Assume GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS
8754 This removes the need for GCPRO1 etc. Suggested by Stefan Monnier in:
8755 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00918.html
8756 * doc/lispref/internals.texi (Writing Emacs Primitives):
8758 Document the change.
8759 * src/alloc.c (gcprolist, dump_zombies, MAX_ZOMBIES, zombies)
8760 (nzombies, ngcs, avg_zombies, max_live, max_zombies, avg_live)
8761 (Fgc_status, check_gcpros, relocatable_string_data_p, gc-precise):
8762 * src/bytecode.c (mark_byte_stack) [BYTE_MARK_STACK]:
8763 * src/eval.c (gcpro_level) [DEBUG_GCPRO]:
8764 * src/lisp.h (struct handler.gcpro, struct gcpro, GC_MARK_STACK)
8765 (GC_USE_GCPROS_AS_BEFORE, GC_MAKE_GCPROS_NOOPS)
8766 (GC_MARK_STACK_CHECK_GCPROS, GC_USE_GCPROS_CHECK_ZOMBIES)
8767 (BYTE_MARK_STACK, GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, GCPRO6)
8768 (GCPRO7, UNGCPRO, RETURN_UNGCPRO):
8769 Remove. All uses removed. The code now assumes
8770 GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS.
8771 * src/bytecode.c (relocate_byte_stack):
8772 Rename from unmark_byte_stack, since it now only relocates.
8773 All callers changed.
8774 * src/frame.c (make_frame): Add an IF_LINT to pacify GCC 5.2
8775 with GCPROs removed.
8776 * src/systime.h: Use EMACS_LISP_H as the canary instead of GCPRO1.
8777 * test/automated/finalizer-tests.el (finalizer-basic)
8778 (finalizer-circular-reference, finalizer-cross-reference)
8780 * test/automated/generator-tests.el (cps-test-iter-close-finalizer):
8781 Remove tests, as they depend on gc-precise.
8783 2015-08-26 Nicolas Petton <nicolas@petton.fr>
8785 Improve seq-concatenate for new sequence types
8786 Use the new `seq-into-sequence' in seqs passed to `seq-concatenate' to
8787 ensure that concatenation happens on sequences only. This makes it
8788 possible to use `seq-concatenate' for new types of seqs.
8789 * lisp/emacs-lisp/seq.el (seq-into-sequence, seq-concatenate):
8790 New function used in `seq-concatenate'.
8791 * test/automated/seq-tests.el (test-seq-into-sequence): New unit test
8792 for seq-into-sequence.
8794 2015-08-26 Stephen Leake <stephen_leake@stephe-leake.org>
8796 Add mode local overrides to xref-find-definitions
8797 * lisp/cedet/mode-local.el (xref-mode-local--override-present)
8798 (xref-mode-local-overload): New; add mode local overrides to
8799 xref-find-definitions.
8800 * test/automated/elisp-mode-tests.el: Add mode local override tests.
8801 (xref-elisp-test-run): Handle indented defuns.
8802 (xref-elisp-generic-*): Improve doc strings.
8803 * lisp/progmodes/elisp-mode.el (elisp-xref-find-def-functions): New.
8804 (elisp--xref-find-definitions): Use it.
8806 Add mode local overrides to describe-function
8807 * lisp/cedet/mode-local.el (describe-mode-local-overload):
8808 New; add mode local overrides to describe-function.
8809 * etc/NEWS: Document change.
8811 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
8813 Prefer straight quoting in some etc text files
8814 These files are plain text and might be used by non-Emacs apps.
8815 They’re mostly ASCII, so just use straight quotes.
8817 Fix quoting in ‘message_with_string’
8818 * src/nsfont.m (nsfont_open): Use directed quotes in format; they
8820 * src/xdisp.c (message_to_stderr): New function, refactored from
8821 part of ‘message3_nolog’.
8822 (message3_nolog): Use it.
8823 (message_with_string): Use it. Don’t mishandle NUL bytes when
8824 noninteractive. Prefer AUTO_STRING when it’s most likely faster.
8825 Use ‘format-message’, not ‘format’, so that quotes are translated.
8827 2015-08-26 Eli Zaretskii <eliz@gnu.org>
8829 Mention false positives of file-accessible-directory on w32
8830 * src/fileio.c (Ffile_accessible_directory_p): Doc fix.
8833 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
8835 Treat error strings as help
8836 * src/print.c (print_error_message): Translate quotes and command
8837 keys in errmsg so that users see, e.g., "Symbol’s value as
8838 variable is void: foo" when text-quoting-style is curved.
8840 2015-08-26 Michael Albinus <michael.albinus@gmx.de>
8842 * lisp/net/tramp-cache.el (top): Use `message', not `format-message'.
8844 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
8846 Top-level elisp files respect ‘text-quoting-style’
8847 In top-level elisp files, use format-message in diagnostic formats,
8848 so that they follow user preference as per ‘text-quoting-style’
8849 rather than being hard-coded to quote `like this'.
8850 * lisp/allout.el (allout-get-configvar-values):
8851 * lisp/apropos.el (apropos-symbols-internal):
8852 * lisp/dired-aux.el (dired-do-shell-command, dired-create-files)
8853 (dired-do-create-files-regexp, dired-create-files-non-directory):
8854 * lisp/dired-x.el (dired-do-run-mail):
8855 * lisp/dired.el (dired-log, dired-dnd-handle-local-file):
8856 * lisp/disp-table.el (standard-display-european):
8857 * lisp/find-dired.el (find-dired):
8858 * lisp/forms.el (forms-mode):
8859 * lisp/ido.el (ido-buffer-internal):
8860 * lisp/info.el (Info-index-next):
8861 * lisp/outline.el (outline-invent-heading):
8862 * lisp/printing.el (pr-ps-outfile-preprint, pr-i-ps-send):
8863 * lisp/proced.el (proced-log):
8864 * lisp/ps-print.el (ps-print-preprint, ps-get-size):
8865 * lisp/recentf.el (recentf-open-files, recentf-save-list):
8866 * lisp/savehist.el (savehist-save):
8867 * lisp/server.el (server-ensure-safe-dir):
8868 * lisp/ses.el (ses-rename-cell):
8869 * lisp/simple.el (list-processes--refresh):
8870 * lisp/startup.el (command-line):
8871 * lisp/strokes.el (strokes-unset-last-stroke)
8872 (strokes-execute-stroke):
8873 Use format-message so that quotes are restyled.
8874 * lisp/cus-edit.el (custom-raised-buttons, customize-browse):
8875 Don’t quote ‘raised’.
8876 * lisp/descr-text.el (describe-char):
8877 * lisp/dirtrack.el (dirtrack-debug-message):
8878 * lisp/hexl.el (hexl-insert-multibyte-char):
8879 Apply substitute-command-keys to help string.
8880 * lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
8881 (wdired-do-perm-changes):
8882 Let dired-log do the formatting.
8884 2015-08-25 Paul Eggert <eggert@cs.ucla.edu>
8886 Go back to grave quoting in Tramp
8887 * lisp/net/tramp-adb.el:
8888 * lisp/net/tramp-cache.el:
8889 * lisp/net/tramp-compat.el:
8890 * lisp/net/tramp-gvfs.el:
8891 * lisp/net/tramp-gw.el:
8892 * lisp/net/tramp-sh.el:
8893 * lisp/net/tramp-smb.el:
8894 * lisp/net/tramp.el:
8895 Stick with grave quoting in diagnostics strings. This is more
8896 portable to older Emacs, desirable for Tramp.
8897 * lisp/net/tramp-cache.el: Use ‘format-message’, not ‘format’,
8898 for diagnostic that needs requoting.
8899 * lisp/net/tramp-compat.el (format-message):
8900 Fall back on simple ‘format’, since that’s good enough now.
8902 Go back to grave quoting in Gnus
8903 * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
8904 * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
8905 (gnus-agent-fetch-headers):
8906 * lisp/gnus/gnus-int.el (gnus-start-news-server):
8907 * lisp/gnus/gnus-registry.el:
8908 (gnus-registry--split-fancy-with-parent-internal)
8909 (gnus-registry-post-process-groups):
8910 * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
8911 * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
8912 * lisp/gnus/gnus-topic.el (gnus-topic-rename):
8913 * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
8914 * lisp/gnus/spam.el (spam-check-blackholes):
8915 Stick with grave quoting in diagnostics strings. This is more
8916 portable to older Emacs, desirable for Gnus.
8918 Fix customization of text-quoting-style
8919 * lisp/cus-edit.el (custom-guess-type, custom-variable-documentation):
8920 * lisp/wid-edit.el (widget-docstring):
8921 Get raw docstring here since it’s cooked later and should not be
8923 * lisp/cus-edit.el (custom-group-value-create):
8924 Cook the docstring before inserting it.
8925 * lisp/cus-start.el (text-quoting-style): Quote the customization
8926 docstrings according to the new rules. Give curved examples.
8928 format-message now curves ` and '
8929 That way, the caller doesn’t have to use curved quotes to
8930 get diagnostics that match the text-quoting-style preferences.
8931 Suggested by Dmitry Gutov in:
8932 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00893.html
8933 This means we no longer need %qs, so remove that format.
8934 While we’re at it, fix an unlikely bug and lessen the pressure
8935 on the garbage collector by processing the string once rather
8936 than twice in the usual case.
8937 * doc/lispref/strings.texi (Formatting Strings):
8938 * etc/NEWS: Document this.
8939 * lisp/subr.el (format-message): Remove; now done in C.
8940 * src/callint.c (Fcall_interactively):
8941 * src/editfns.c (Fmessage, Fmessage_box):
8942 Use Fformat_message instead of Finternal__text_restyle
8943 followed by Fformat.
8944 * src/doc.c (LSQM, RSQM): Remove; all uses changed to use
8946 (Fsubstitute_command_keys): Prefer AUTO_STRING to build_string
8947 when pure ASCII now suffices. Fix unlikely bug when parsing
8948 unibyte string containing non-ASCII bytes. Use inline code
8949 rather than memcpy, as it’s a tiny number of bytes.
8950 (Finternal__text_restyle): Remove; no longer used.
8951 (syms_of_doc): Don’t declare it.
8952 * src/editfns.c (Fformat): Rewrite in terms of new function
8954 (Fformat_message): New function, moved here from subr.el.
8955 (styled_format): New function, with the old guts of Fformat,
8956 except it now optionally transliterates quotes, and it transliterates
8957 traditional grave accent and apostrophe quoting as well.
8958 Remove recently-added q flag; no longer needed or used.
8959 (syms_of_editfns): Define format-message.
8960 * src/lisp.h (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
8961 Remove; no longer need to be global symbols.
8962 * src/xdisp.c (vadd_to_log): Use Fformat_message, not Fformat,
8963 so that callers can use `%s'.
8964 * src/image.c (image_size_error, xbm_load_image, xbm_load)
8965 (xpm_load, pbm_load, png_load_body, jpeg_load_body, tiff_load)
8966 (gif_load, imagemagick_load_image, imagemagick_load, svg_load)
8967 (svg_load_image, gs_load, x_kill_gs_process):
8968 * src/lread.c (load_warn_old_style_backquotes):
8969 * src/xfaces.c (load_pixmap):
8970 * src/xselect.c (x_clipboard_manager_error_1):
8971 Use `%s' instead of %qs in formats.
8973 2015-08-25 Eli Zaretskii <eliz@gnu.org>
8975 Minor fixes in doc/emacs/search.texi
8976 * doc/emacs/search.texi (Basic Isearch): Fix a typo.
8977 (Special Isearch): Use @w{} to generate several consecutive spaces
8978 with Texinfo 6. (Bug#21345)
8980 2015-08-25 Michael Albinus <michael.albinus@gmx.de>
8982 * lisp/net/tramp-sh.el (tramp-awk-encode, tramp-awk-decode)
8983 (tramp-awk-coding-test): New defconsts.
8984 (tramp-remote-coding-commands): Use them.
8985 (tramp-find-inline-encoding): Check for Perl only if necessary.
8987 2015-08-25 Xue Fuqiao <xfq.free@gmail.com>
8989 * doc/lispintro/emacs-lisp-intro.texi (Run a Program): Add some
8990 index entries for the special form `quote'.
8992 2015-08-25 Paul Eggert <eggert@cs.ucla.edu>
8996 Gnus format-message typo fix
8997 * lisp/gnus/gnus-util.el (gnus-format-message):
8998 Fix typo when running in older Emacs.
9000 Prefer directed to neutral quotes in docstings and diagnostics.
9001 In docstrings, escape apostrophes that would otherwise be translated
9002 to curved quotes using the newer, simpler rules.
9003 * admin/unidata/unidata-gen.el (unidata-gen-table):
9004 * lisp/align.el (align-region):
9005 * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet):
9006 * lisp/bookmark.el (bookmark-default-annotation-text):
9007 * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
9008 * lisp/calc/calc-lang.el (math-read-giac-subscr)
9009 (math-read-math-subscr):
9010 * lisp/calc/calc-misc.el (report-calc-bug):
9011 * lisp/calc/calc-prog.el (calc-fix-token-name)
9012 (calc-read-parse-table-part):
9013 * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
9014 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
9015 * lisp/dabbrev.el (dabbrev-expand):
9016 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
9017 * lisp/emacs-lisp/elint.el (elint-get-top-forms):
9018 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
9019 * lisp/emulation/viper-cmd.el (viper-toggle-search-style):
9020 * lisp/erc/erc-button.el (erc-nick-popup):
9021 * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login):
9022 * lisp/eshell/em-dirs.el (eshell/cd):
9023 * lisp/eshell/em-glob.el (eshell-glob-regexp):
9024 * lisp/eshell/em-pred.el (eshell-parse-modifiers):
9025 * lisp/eshell/esh-arg.el (eshell-parse-arguments):
9026 * lisp/eshell/esh-opt.el (eshell-show-usage):
9027 * lisp/files-x.el (modify-file-local-variable):
9028 * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer)
9029 (filesets-update-pre010505):
9030 * lisp/find-cmd.el (find-generic, find-to-string):
9031 * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
9032 * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
9033 (gnus-agent-fetch-headers):
9034 * lisp/gnus/gnus-int.el (gnus-start-news-server):
9035 * lisp/gnus/gnus-registry.el:
9036 (gnus-registry--split-fancy-with-parent-internal):
9037 * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
9038 * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
9039 * lisp/gnus/gnus-topic.el (gnus-topic-rename):
9040 * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
9041 * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
9042 * lisp/gnus/spam.el (spam-check-blackholes):
9043 * lisp/mail/feedmail.el (feedmail-run-the-queue):
9044 * lisp/mpc.el (mpc-playlist-rename):
9045 * lisp/net/ange-ftp.el (ange-ftp-shell-command):
9046 * lisp/net/mairix.el (mairix-widget-create-query):
9047 * lisp/net/tramp-cache.el:
9048 * lisp/obsolete/otodo-mode.el (todo-more-important-p):
9049 * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
9050 * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
9051 * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
9052 * lisp/org/ob-core.el (org-babel-goto-named-src-block)
9053 (org-babel-goto-named-result):
9054 * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
9055 * lisp/org/ob-ref.el (org-babel-ref-resolve):
9056 * lisp/org/org-agenda.el (org-agenda-prepare):
9057 * lisp/org/org-bibtex.el (org-bibtex-fields):
9058 * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
9059 (org-clock-resolve):
9060 * lisp/org/org-feed.el (org-feed-parse-atom-entry):
9061 * lisp/org/org-habit.el (org-habit-parse-todo):
9062 * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
9063 (org-mouse-context-menu):
9064 * lisp/org/org-table.el (org-table-edit-formulas):
9065 * lisp/org/ox.el (org-export-async-start):
9066 * lisp/play/dunnet.el (dun-score, dun-help, dun-endgame-question)
9067 (dun-rooms, dun-endgame-questions):
9068 * lisp/progmodes/ada-mode.el (ada-goto-matching-start):
9069 * lisp/progmodes/ada-xref.el (ada-find-executable):
9070 * lisp/progmodes/antlr-mode.el (antlr-options-alists):
9071 * lisp/progmodes/flymake.el (flymake-parse-err-lines)
9072 (flymake-start-syntax-check-process):
9073 * lisp/progmodes/python.el (python-define-auxiliary-skeleton):
9074 * lisp/progmodes/sql.el (sql-comint):
9075 * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
9076 * lisp/server.el (server-get-auth-key):
9077 * lisp/subr.el (version-to-list):
9078 * lisp/textmodes/reftex-ref.el (reftex-label):
9079 * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
9080 * lisp/vc/ediff-diff.el (ediff-same-contents):
9081 * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
9082 * test/automated/tramp-tests.el (tramp-test33-asynchronous-requests):
9083 Use directed rather than neutral quotes in diagnostics.
9085 Treat ' like ’ even when not matching `
9086 This is simpler and easier to explain, and should encourage better
9087 typography. Do this in Electric Quote mode and when translating
9088 quotes in docstrings. Inspired by a suggestion by Dmitry Gutov in:
9089 https://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00806.html
9090 * doc/emacs/text.texi (Quotation Marks):
9091 * doc/lispref/help.texi (Keys in Documentation):
9094 * lisp/electric.el (electric-quote-post-self-insert-function):
9095 * src/doc.c (Fsubstitute_command_keys):
9096 Always treat ' like ’ even when not matched by an open quote.
9098 2015-08-25 Glenn Morris <rgm@gnu.org>
9100 * doc/emacs/cal-xtra.texi (Holiday Customizing): Fix typo in example.
9101 * lisp/calendar/holidays.el (calendar-holidays): Fix doc typo.
9103 2015-08-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9105 * src/macfont.m (macfont_create_family_with_symbol):
9106 Accept localized names.
9108 2015-08-24 Paul Eggert <eggert@cs.ucla.edu>
9110 Tramp diagnostics as per ‘text-quoting-style’
9111 * lisp/net/tramp-adb.el (tramp-adb-handle-file-truename)
9112 (tramp-adb-get-ls-command, tramp-adb-handle-make-directory)
9113 (tramp-adb-handle-delete-directory)
9114 (tramp-adb-handle-delete-file)
9115 (tramp-adb-handle-file-local-copy)
9116 (tramp-adb-handle-write-region, tramp-adb-handle-copy-file)
9117 (tramp-adb-send-command-and-check, tramp-adb-wait-for-output)
9118 (tramp-adb-maybe-open-connection):
9119 * lisp/net/tramp-cache.el:
9120 * lisp/net/tramp-compat.el (tramp-compat-temporary-file-directory)
9121 (tramp-compat-octal-to-decimal)
9122 (tramp-compat-coding-system-change-eol-conversion):
9123 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler)
9124 (tramp-gvfs-do-copy-or-rename-file)
9125 (tramp-gvfs-handle-delete-directory)
9126 (tramp-gvfs-handle-delete-file)
9127 (tramp-gvfs-handle-expand-file-name)
9128 (tramp-gvfs-handle-file-local-copy)
9129 (tramp-gvfs-handle-file-notify-add-watch)
9130 (tramp-gvfs-handle-make-directory)
9131 (tramp-gvfs-handle-write-region, tramp-gvfs-url-file-name):
9132 * lisp/net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9133 (tramp-gw-aux-proc-sentinel, tramp-gw-open-connection):
9134 * lisp/net/tramp-sh.el (tramp-sh-handle-file-truename)
9135 (tramp-sh-handle-set-visited-file-modtime)
9136 (tramp-sh-handle-set-file-modes)
9137 (tramp-sh-handle-file-name-all-completions)
9138 (tramp-sh-handle-add-name-to-file, tramp-do-copy-or-rename-file)
9139 (tramp-do-copy-or-rename-file-directly)
9140 (tramp-do-copy-or-rename-file-out-of-band)
9141 (tramp-sh-handle-make-directory)
9142 (tramp-sh-handle-delete-directory, tramp-sh-handle-delete-file)
9143 (tramp-sh-handle-insert-directory, tramp-process-sentinel)
9144 (tramp-sh-handle-start-file-process)
9145 (tramp-sh-handle-file-local-copy)
9146 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
9147 (tramp-sh-handle-file-notify-add-watch, tramp-maybe-send-script)
9148 (tramp-find-file-exists-command, tramp-open-shell)
9150 (tramp-open-connection-setup-interactive-shell)
9151 (tramp-find-inline-encoding, tramp-find-inline-compress)
9152 (tramp-compute-multi-hops, tramp-maybe-open-connection)
9153 (tramp-wait-for-output, tramp-send-command-and-check)
9154 (tramp-send-command-and-read, tramp-get-remote-path)
9155 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
9156 (tramp-get-ls-command-with-quoting-style)
9157 (tramp-get-test-command, tramp-get-remote-ln)
9158 (tramp-get-remote-perl, tramp-get-remote-stat)
9159 (tramp-get-remote-readlink, tramp-get-remote-trash)
9160 (tramp-get-remote-touch, tramp-get-remote-gvfs-monitor-dir)
9161 (tramp-get-remote-inotifywait, tramp-get-remote-id)
9162 (tramp-get-remote-python):
9163 * lisp/net/tramp-smb.el (tramp-smb-errors)
9164 (tramp-smb-handle-add-name-to-file, tramp-smb-handle-copy-file)
9165 (tramp-smb-handle-delete-directory)
9166 (tramp-smb-handle-delete-file)
9167 (tramp-smb-handle-file-local-copy)
9168 (tramp-smb-handle-make-directory)
9169 (tramp-smb-handle-make-directory-internal)
9170 (tramp-smb-handle-make-symbolic-link)
9171 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-acl)
9172 (tramp-smb-handle-set-file-modes)
9173 (tramp-smb-handle-write-region, tramp-smb-get-file-entries):
9174 * lisp/net/tramp.el (tramp-debug-message, tramp-error)
9175 (tramp-process-actions):
9176 Generate diagnostics according to ‘text-quoting-style’, by
9177 using curved quotes in format strings and ‘format-message’
9179 * lisp/net/tramp-compat.el (format-message):
9180 Define a replacement, if it’s an older version of Emacs
9181 that doesn’t have it already.
9183 * etc/NEWS: Clarify text-quoting-style and electric-quote-mode.
9185 2015-08-24 Xue Fuqiao <xfq.free@gmail.com>
9187 Fix documentation for `save-excursion'
9188 * doc/lispref/positions.texi (Excursions):
9189 * doc/lispintro/emacs-lisp-intro.texi (save-excursion)
9190 (Template for save-excursion, Point and mark): `save-excursion'
9191 does not save&restore the mark any more.
9193 2015-08-24 Michael Albinus <michael.albinus@gmx.de>
9195 * lisp/net/tramp-sh.el (tramp-stat-marker, tramp-stat-quoted-marker):
9197 (tramp-do-file-attributes-with-stat)
9198 (tramp-do-directory-files-and-attributes-with-stat): Use them.
9199 (tramp-convert-file-attributes): Remove double slashes in symlinks.
9200 * test/automated/tramp-tests.el (tramp-test18-file-attributes):
9201 Handle symlinks with "//" in the file name.
9203 Revert fbb5531fa11d13854b274d28ccd329c9b6652cfc for tramp.el.
9205 2015-08-24 Nicolas Petton <nicolas@petton.fr>
9207 Fix cl-subseq and cl-concatenate
9208 * lisp/emacs-lisp/cl-extra.el (cl-subseq, cl-concatenate): Do not use
9210 * lisp/emacs-lisp/seq.el (seq-concatenate): Call cl-concatenate in
9213 2015-08-24 Pip Cet <pipcet@gmail.com> (tiny change)
9215 Fix full-screen code when there is no window manager (Bug#21317)
9216 * src/xterm.h (x_wm_supports): Declare external.
9217 * src/xterm.c (wm_suppports): Rename to `x_wm_supports', export.
9218 (do_ewmh_fullscreen, x_ewmh_activate_frame): Adjust for rename.
9219 (x_check_fullscreen): Call `x_wm_set_size_hint', restore
9220 `fullscreen' frame parameter.
9221 * src/gtkutil.c (x_wm_set_size_hint): Set size hints when running
9222 without a window manager.
9224 2015-08-24 Glenn Morris <rgm@gnu.org>
9226 * lisp/version.el (emacs-version): No longer include build host.
9227 * doc/lispref/intro.texi (Version Info): Update example.
9229 2015-08-24 Paul Eggert <eggert@cs.ucla.edu>
9231 * doc/lispref/elisp.texi: Fix typo in previous change.
9233 More-conservative ‘format’ quote restyling
9234 Instead of restyling curved quotes for every call to ‘format’,
9235 create a new function ‘format-message’ that does the restyling,
9236 and using the new function instead of ‘format’ only in contexts
9237 where this seems appropriate.
9238 Problem reported by Dmitry Gutov and Andreas Schwab in:
9239 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00826.html
9240 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00827.html
9241 * doc/lispref/commands.texi (Using Interactive):
9242 * doc/lispref/control.texi (Signaling Errors, Signaling Errors):
9243 * doc/lispref/display.texi (Displaying Messages, Progress):
9244 * doc/lispref/elisp.texi:
9245 * doc/lispref/help.texi (Keys in Documentation):
9246 * doc/lispref/minibuf.texi (Minibuffer Misc):
9247 * doc/lispref/strings.texi (Formatting Strings):
9249 Document the changes.
9250 * lisp/abbrev.el (expand-region-abbrevs):
9251 * lisp/apropos.el (apropos-library):
9252 * lisp/calc/calc-ext.el (calc-record-message)
9253 (calc-user-function-list):
9254 * lisp/calc/calc-help.el (calc-describe-key, calc-full-help):
9255 * lisp/calc/calc-lang.el (math-read-big-balance):
9256 * lisp/calc/calc-store.el (calc-edit-variable):
9257 * lisp/calc/calc-units.el (math-build-units-table-buffer):
9258 * lisp/calc/calc-yank.el (calc-edit-mode):
9259 * lisp/calendar/icalendar.el (icalendar-export-region)
9260 (icalendar--add-diary-entry):
9261 * lisp/cedet/mode-local.el (mode-local-print-binding)
9262 (mode-local-describe-bindings-2):
9263 * lisp/cedet/semantic/complete.el (semantic-completion-message):
9264 * lisp/cedet/semantic/edit.el (semantic-parse-changes-failed):
9265 * lisp/cedet/semantic/wisent/comp.el (wisent-log):
9266 * lisp/cedet/srecode/insert.el (srecode-insert-show-error-report):
9267 * lisp/descr-text.el (describe-text-properties-1, describe-char):
9268 * lisp/dframe.el (dframe-message):
9269 * lisp/dired-aux.el (dired-query):
9270 * lisp/emacs-lisp/byte-opt.el (byte-compile-log-lap-1):
9271 * lisp/emacs-lisp/bytecomp.el (byte-compile-log)
9272 (byte-compile-log-file, byte-compile-warn, byte-compile-form):
9273 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
9274 (cconv-analyze-form):
9275 * lisp/emacs-lisp/check-declare.el (check-declare-warn):
9276 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
9277 * lisp/emacs-lisp/cl-macs.el (cl-symbol-macrolet):
9278 * lisp/emacs-lisp/edebug.el (edebug-format):
9279 * lisp/emacs-lisp/eieio-core.el (eieio-oref):
9280 * lisp/emacs-lisp/eldoc.el (eldoc-minibuffer-message)
9282 * lisp/emacs-lisp/elint.el (elint-file, elint-log):
9283 * lisp/emacs-lisp/find-func.el (find-function-library):
9284 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
9285 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
9286 * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
9287 * lisp/emacs-lisp/package.el (package-compute-transaction)
9288 (package-install-button-action, package-delete-button-action)
9289 (package-menu--list-to-prompt):
9290 * lisp/emacs-lisp/timer.el (timer-event-handler):
9291 * lisp/emacs-lisp/warnings.el (lwarn, warn):
9292 * lisp/emulation/viper-cmd.el:
9293 (viper-toggle-parse-sexp-ignore-comments)
9294 (viper-kill-buffer, viper-brac-function):
9295 * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
9296 * lisp/facemenu.el (facemenu-add-new-face):
9297 * lisp/faces.el (face-documentation, read-face-name)
9298 (face-read-string, read-face-font, describe-face):
9299 * lisp/files.el (find-alternate-file, hack-local-variables)
9300 (hack-one-local-variable--obsolete, write-file)
9301 (basic-save-buffer, delete-directory):
9302 * lisp/format.el (format-write-file, format-find-file)
9303 (format-insert-file):
9304 * lisp/help-fns.el (help-fns--key-bindings)
9305 (help-fns--compiler-macro, help-fns--obsolete)
9306 (help-fns--interactive-only, describe-function-1)
9307 (describe-variable):
9308 * lisp/help.el (describe-mode):
9309 * lisp/info-xref.el (info-xref-output):
9310 * lisp/info.el (Info-virtual-index-find-node)
9311 (Info-virtual-index, info-apropos):
9312 * lisp/international/kkc.el (kkc-error):
9313 * lisp/international/mule-cmds.el:
9314 (select-safe-coding-system-interactively)
9315 (select-safe-coding-system, describe-input-method):
9316 * lisp/international/mule-conf.el (code-offset):
9317 * lisp/international/mule-diag.el (describe-character-set)
9318 (list-input-methods-1):
9319 * lisp/international/quail.el (quail-error):
9320 * lisp/minibuffer.el (minibuffer-message):
9321 * lisp/mpc.el (mpc--debug):
9322 * lisp/msb.el (msb--choose-menu):
9323 * lisp/net/ange-ftp.el (ange-ftp-message):
9324 * lisp/net/gnutls.el (gnutls-message-maybe):
9325 * lisp/net/newst-backend.el (newsticker--sentinel-work):
9326 * lisp/net/newst-treeview.el (newsticker--treeview-load):
9327 * lisp/net/nsm.el (nsm-query-user):
9328 * lisp/net/rlogin.el (rlogin):
9329 * lisp/net/soap-client.el (soap-warning):
9330 * lisp/net/tramp.el (tramp-debug-message):
9331 * lisp/nxml/nxml-outln.el (nxml-report-outline-error):
9332 * lisp/nxml/nxml-parse.el (nxml-parse-error):
9333 * lisp/nxml/rng-cmpct.el (rng-c-error):
9334 * lisp/nxml/rng-match.el (rng-compile-error):
9335 * lisp/nxml/rng-uri.el (rng-uri-error):
9336 * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
9337 * lisp/org/org-ctags.el:
9338 (org-ctags-ask-rebuild-tags-file-then-find-tag):
9339 * lisp/proced.el (proced-log):
9340 * lisp/progmodes/ebnf2ps.el (ebnf-log):
9341 * lisp/progmodes/flymake.el (flymake-log):
9342 * lisp/progmodes/vhdl-mode.el (vhdl-warning-when-idle):
9343 * lisp/replace.el (occur-1):
9344 * lisp/simple.el (execute-extended-command)
9345 (undo-outer-limit-truncate, define-alternatives):
9346 * lisp/startup.el (command-line):
9347 * lisp/subr.el (error, user-error, add-to-list):
9348 * lisp/tutorial.el (tutorial--describe-nonstandard-key)
9349 (tutorial--find-changed-keys):
9350 * src/callint.c (Fcall_interactively):
9351 * src/editfns.c (Fmessage, Fmessage_box):
9352 Restyle the quotes of format strings intended for use as a
9353 diagnostic, when restyling seems appropriate.
9354 * lisp/subr.el (format-message): New function.
9355 * src/doc.c (Finternal__text_restyle): New function.
9356 (syms_of_doc): Define it.
9358 2015-08-23 Paul Eggert <eggert@cs.ucla.edu>
9360 * etc/NEWS: The new ‘q’ flag is not an incompatible change.
9362 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
9364 python.el: Fix python-shell-buffer-substring on indented code
9366 * lisp/progmodes/python.el (python-shell-buffer-substring):
9367 Respect current line indentation when calculating string.
9368 * test/automated/python-tests.el
9369 (python-shell-buffer-substring-10)
9370 (python-shell-buffer-substring-11)
9371 (python-shell-buffer-substring-12): New tests.
9373 2015-08-23 Paul Eggert <eggert@cs.ucla.edu>
9375 Fix minor glitches from ‘format’ reversion
9376 * doc/lispref/strings.texi (Formatting Strings):
9377 After reversion, ‘text-quoting-style’ is documented in ‘Keys in
9378 Documentation’, not below.
9379 * src/syntax.c (Finternal_describe_syntax_value):
9380 Prefer AUTO_STRING to build_string where either will do, as
9381 AUTO_STRING is a bit faster.
9383 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
9385 python.el: Defer shell setup code until first interactive prompt
9386 * lisp/progmodes/python.el
9387 (python-shell-comint-watch-for-first-prompt-output-filter):
9389 (inferior-python-mode): Use it.
9390 (python-shell-first-prompt-hook): New hook.
9391 (python-shell-send-setup-code)
9392 (python-shell-completion-native-turn-on-maybe-with-msg): Attach to
9393 this hook instead of inferior-python-hook.
9395 2015-08-23 Nicolas Petton <nicolas@petton.fr>
9397 Remove the calls to `seq-into` from `seq-concatenate`
9398 Since most new types of seq would have to be defined as sequences (cons
9399 cells or CL structs, mostly), there is no need to convert the seqs to
9400 sequences (which can be a fairly expensive operation).
9401 * lisp/emacs-lisp/seq.el (seq-concatenate): Do not ensure that seqs are
9404 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
9406 python.el: Fix completion for pdb interactions
9407 * lisp/progmodes/python.el (python-shell-completion-setup-code):
9408 Simplify. Toggle print_mode for native wrapped completer.
9409 (python-shell-completion-native-setup): Ensure process buffer.
9410 Add print_mode attribute to completer wrapper to toggle returning
9411 or printing candidates.
9412 (python-shell-completion-native-get-completions): Cleanup.
9413 (python-shell-completion-get-completions): Cleanup.
9414 (python-shell-completion-at-point): Perform prompt checks.
9415 Force fallback completion in pdb interactions.
9417 2015-08-23 Nicolas Petton <nicolas@petton.fr>
9419 Make seq.el more extensible by using cl-defmethod
9420 * lisp/emacs-lisp/seq.el: Define seq.el functions using cl-defmethod to
9421 make it easier to extend seq.el with new "seq types".
9422 * test/automated/seq-tests.el (test-setf-seq-elt): New test.
9423 * lisp/emacs-lisp/cl-extra.el (cl-subseq): Move back the definition of
9424 subseq in cl-extra.el, and use it in seq.el.
9426 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
9428 python.el: Fix prompt detection with user overridden interpreter
9429 * lisp/progmodes/python.el (python-shell-prompt-detect):
9430 Honor buffer local python-shell-interpreter and
9431 python-shell-interpreter-interactive-arg.
9433 2015-08-23 Eli Zaretskii <eliz@gnu.org>
9435 Support exec-directory with non-ASCII characters on Windows
9436 * src/w32proc.c (sys_spawnve): Make sure exec-directory is encoded
9437 in the system's ANSI codepage, when it is used for invoking
9440 2015-08-23 Andreas Schwab <schwab@linux-m68k.org>
9442 Revert "Extend ‘format’ to translate curved quotes"
9443 This reverts commit 244c801689d2f7a80480d83cd7d092d4762ebe08.
9445 Revert "Prefer ‘format’ to ‘substitute-command-keys’"
9446 This reverts commit 6af5aad26411ffe21c3fe4bc5438347110910111.
9448 2015-08-23 Xue Fuqiao <xfq.free@gmail.com>
9450 * doc/lispintro/emacs-lisp-intro.texi (Switching Buffers):
9451 Clarify "invisible window".
9453 2015-08-23 Xue Fuqiao <xfq.free@gmail.com>
9455 * doc/emacs/modes.texi (Choosing Modes): Minor doc fix for
9456 magic-fallback-mode-alist.
9458 2015-08-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
9460 python.el: fallback completion, ffap and eldoc setup enhancements
9461 Setup codes are now sent continuously so that the current frame is
9462 always taken into account. This allows working within debuggers
9463 and always keeping a fresh version of setup codes that will return
9465 * lisp/progmodes/python.el (python-shell-setup-codes): Cleanup.
9466 (python-shell-send-setup-code): Send code only when
9467 python-shell-setup-codes is non-nil.
9468 (python-shell-completion-string-code): Cleanup trailing newline.
9469 (python-shell-completion-get-completions): Always use
9470 python-shell-completion-setup-code.
9471 (python-ffap-setup-code): Work with any object, not only modules.
9472 (python-ffap-string-code): Cleanup trailing newline.
9473 (python-ffap-module-path): Always use python-ffap-setup-code.
9474 (python-eldoc-string-code): Cleanup trailing newline.
9475 (python-eldoc--get-doc-at-point): Always use
9476 python-eldoc-setup-code. Return non-nil only if docstring is
9479 python.el: Increase native completion robustness
9480 * lisp/progmodes/python.el (python-shell-completion-native-setup):
9481 Make completer print real candidates and just return dummy ones to
9482 avoid input modification.
9483 (python-shell-completion-native-get-completions): Set
9484 comint-redirect-insert-matching-regexp to non-nil and make
9485 comint-redirect-finished-regexp match the last dummy candidate.
9486 Use python-shell-accept-process-output to wait for the full list
9489 2015-08-22 Eli Zaretskii <eliz@gnu.org>
9491 Fix invocation of programs via cmdproxy.exe
9492 * src/w32proc.c (sys_spawnve): Use exec-directory, not
9493 invocation-directory, for finding cmdproxy.exe. When Emacs is
9494 run from the source tree, look for cmdproxy.exe in the same source
9497 2015-08-22 Simen Heggestøyl <simenheg@gmail.com>
9499 Handle comments inside unquoted URIs in css-mode
9500 * lisp/textmodes/css-mode.el (css--uri-re): New defconst.
9501 (css-syntax-propertize-function): New defconst.
9502 (css--font-lock-keywords): Handle parens around unquoted URIs.
9503 (css-mode): Set `syntax-propertize-function'.
9505 2015-08-22 Eli Zaretskii <eliz@gnu.org>
9507 Support invocation of Hunspell with multiple dictionaries
9508 * lisp/textmodes/ispell.el (ispell-parse-hunspell-affix-file):
9509 Support lists of dictionaries of the form "DICT1,DICT2,...".
9510 (ispell-hunspell-add-multi-dic): New command. (Bug#20495)
9512 Minor formatting changes in ispell.el
9513 * lisp/textmodes/ispell.el (ispell-create-debug-buffer)
9514 (ispell-print-if-debug, ispell-aspell-find-dictionary)
9515 (ispell-aspell-add-aliases, ispell-hunspell-dict-paths-alist)
9516 (ispell-hunspell-dictionary-alist)
9517 (ispell-hunspell-fill-dictionary-entry)
9518 (ispell-find-hunspell-dictionaries, ispell-send-replacement)
9519 (ispell-buffer-with-debug, ispell-complete-word)
9520 (ispell-current-dictionary, ispell-current-personal-dictionary)
9521 (ispell-accept-output, ispell-minor-mode)
9522 (ispell-personal-dictionary, ispell-dictionary-alist)
9523 (ispell-really-aspell, ispell-really-hunspell)
9524 (ispell-encoding8-command, ispell-aspell-supports-utf8)
9525 (ispell-aspell-dictionary-alist, ispell-set-spellchecker-params):
9526 Fix whitespace, inconsistent capitalization, and arguments in doc
9529 2015-08-22 Martin Rudalics <rudalics@gmx.at>
9531 * lisp/window.el (adjust-window-trailing-edge): Fix bug where this
9532 function refused to resize a size-preserved window.
9534 2015-08-22 Eli Zaretskii <eliz@gnu.org>
9536 * doc/lispref/windows.texi (Selecting Windows): Improve
9537 documentation and indexing of 'window-use-time'.
9539 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9541 * lisp/progmodes/cc-vars.el, lisp/progmodes/cc-styles.el:
9542 * lisp/progmodes/cc-mode.el, lisp/progmodes/cc-menus.el:
9543 * lisp/progmodes/cc-langs.el, lisp/progmodes/cc-guess.el:
9544 * lisp/progmodes/cc-fonts.el, lisp/progmodes/cc-engine.el:
9545 * lisp/progmodes/cc-defs.el, lisp/progmodes/cc-cmds.el:
9546 * lisp/progmodes/cc-bytecomp.el, lisp/progmodes/cc-awk.el:
9547 * lisp/progmodes/cc-align.el, lisp/net/soap-client.el:
9548 Fix up commenting style.
9550 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
9552 text-quoting-style in emacs-lisp diagnostics
9553 * lisp/emacs-lisp/advice.el (ad-read-advised-function)
9554 (ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
9555 (ad-disable-advice, ad-remove-advice, ad-set-argument)
9557 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
9558 (byte-compile-unfold-lambda, byte-optimize-form-code-walker)
9559 (byte-optimize-while, byte-optimize-apply):
9560 * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
9561 (byte-compile-log-file, byte-compile-format-warn)
9562 (byte-compile-nogroup-warn, byte-compile-arglist-warn)
9563 (byte-compile-cl-warn)
9564 (byte-compile-warn-about-unresolved-functions)
9565 (byte-compile-file, byte-compile-fix-header)
9566 (byte-compile--declare-var, byte-compile-file-form-defmumble)
9567 (byte-compile-form, byte-compile-normal-call)
9568 (byte-compile-variable-ref, byte-compile-variable-set)
9569 (byte-compile-subr-wrong-args, byte-compile-setq-default)
9570 (byte-compile-negation-optimizer)
9571 (byte-compile-condition-case--old)
9572 (byte-compile-condition-case--new, byte-compile-save-excursion)
9573 (byte-compile-defvar, byte-compile-autoload)
9574 (byte-compile-lambda-form)
9575 (byte-compile-make-variable-buffer-local, display-call-tree)
9576 (batch-byte-compile):
9577 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
9578 (cconv-analyze-form):
9579 * lisp/emacs-lisp/chart.el (chart-space-usage):
9580 * lisp/emacs-lisp/check-declare.el (check-declare-scan)
9581 (check-declare-warn, check-declare-file)
9582 (check-declare-directory):
9583 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
9584 (checkdoc-message-text-engine):
9585 * lisp/emacs-lisp/cl-extra.el (cl-parse-integer):
9586 * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
9587 (cl-symbol-macrolet):
9588 * lisp/emacs-lisp/cl.el (cl-unload-function, flet):
9589 * lisp/emacs-lisp/copyright.el (copyright)
9590 (copyright-update-directory):
9591 * lisp/emacs-lisp/edebug.el (edebug-read-list):
9592 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
9593 * lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
9594 (eieio-oref, eieio-oset-default):
9595 * lisp/emacs-lisp/eieio-speedbar.el:
9596 (eieio-speedbar-child-make-tag-lines)
9597 (eieio-speedbar-child-description):
9598 * lisp/emacs-lisp/eieio.el (defclass, change-class):
9599 * lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
9600 (elint-init-form, elint-check-defalias-form)
9601 (elint-check-let-form):
9602 * lisp/emacs-lisp/ert.el (ert-get-test):
9603 * lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
9604 (find-function-library):
9605 * lisp/emacs-lisp/generator.el (iter-yield):
9606 * lisp/emacs-lisp/gv.el (gv-define-simple-setter):
9607 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
9608 * lisp/emacs-lisp/package-x.el (package-upload-file):
9609 * lisp/emacs-lisp/package.el (package-version-join)
9610 (package-disabled-p, package-activate-1, package-activate)
9611 (package--download-one-archive)
9612 (package--download-and-read-archives)
9613 (package-compute-transaction, package-install-from-archive)
9614 (package-install, package-install-selected-packages)
9615 (package-delete, package-autoremove)
9616 (package-install-button-action, package-delete-button-action)
9617 (package-menu-hide-package, package-menu--list-to-prompt)
9618 (package-menu--perform-transaction)
9619 (package-menu--find-and-notify-upgrades):
9620 * lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
9621 * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
9622 * lisp/emacs-lisp/ring.el (ring-next, ring-previous):
9623 * lisp/emacs-lisp/rx.el (rx-check, rx-anything):
9624 * lisp/emacs-lisp/smie.el (smie-config-save):
9625 * lisp/emacs-lisp/subr-x.el (internal--check-binding):
9626 * lisp/emacs-lisp/testcover.el (testcover-1value):
9627 Use curved quotes in diagnostic format strings.
9629 2015-08-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
9631 python.el: Ensure remote process-environment on non-interactive processes
9632 * lisp/progmodes/python.el
9633 (python-shell-tramp-refresh-process-environment): New function.
9634 (python-shell-with-environment): Use it.
9635 * test/automated/python-tests.el (python-shell-with-environment-2):
9638 python.el: Enhancements to process environment setup.
9639 * lisp/progmodes/python.el (python-shell-process-environment)
9640 (python-shell-extra-pythonpaths, python-shell-exec-path)
9641 (python-shell-virtualenv-root): Update docstring. Remove :safe.
9642 (python-shell-setup-codes): Remove :safe.
9643 (python-shell-remote-exec-path): New defcustom.
9644 (python-shell--add-to-path-with-priority): New macro.
9645 (python-shell-calculate-pythonpath): Give priority to
9646 python-shell-extra-pythonpaths. Update docstring.
9647 (python-shell-calculate-process-environment): Give priority to
9648 python-shell-process-environment. Update docstring.
9649 (python-shell-calculate-exec-path): Give priority to
9650 python-shell-exec-path and calculated virtualenv bin directory.
9652 (python-shell-tramp-refresh-remote-path): New function.
9653 (python-shell-with-environment): Use it when working remotely and
9654 do not modify tramp-remote-path. Allow nesting.
9655 (python-shell-calculate-command): Remove useless
9656 python-shell-with-environment call.
9657 * test/automated/python-tests.el (python-shell-calculate-pythonpath-1)
9658 (python-shell-calculate-pythonpath-2)
9659 (python-shell-calculate-process-environment-6)
9660 (python-shell-calculate-process-environment-7)
9661 (python-shell-calculate-process-environment-8)
9662 (python-shell-calculate-exec-path-3)
9663 (python-shell-calculate-exec-path-4)
9664 (python-shell-calculate-exec-path-5)
9665 (python-shell-calculate-exec-path-6)
9666 (python-shell-with-environment-3): New tests.
9667 (python-shell-calculate-process-environment-2)
9668 (python-shell-calculate-process-environment-3)
9669 (python-shell-calculate-process-environment-4)
9670 (python-shell-calculate-process-environment-5)
9671 (python-shell-calculate-exec-path-1)
9672 (python-shell-calculate-exec-path-2)
9673 (python-shell-with-environment-1)
9674 (python-shell-with-environment-2): Update and simplify.
9676 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
9678 Avoid hard-coding "M-x command" in docstrings
9679 * lisp/calendar/todo-mode.el (todo-mode):
9680 * lisp/desktop.el (desktop-save-mode):
9681 * lisp/edmacro.el (edit-kbd-macro):
9682 * lisp/emacs-lisp/package.el (package-menu-execute):
9683 * lisp/emulation/viper-cmd.el (viper-ask-level):
9684 * lisp/emulation/viper-init.el (viper-expert-level):
9685 * lisp/filesets.el (filesets-add-buffer):
9686 * lisp/follow.el (follow-mode):
9687 * lisp/gnus/auth-source.el (auth-sources):
9688 * lisp/international/ogonek.el (ogonek-informacja)
9689 (ogonek-information):
9690 * lisp/net/tramp.el (tramp-process-actions):
9691 * lisp/org/org-gnus.el (org-gnus-no-new-news):
9692 * lisp/org/org.el (org-ellipsis):
9693 * lisp/progmodes/python.el (python-shell-get-process-or-error):
9694 * lisp/progmodes/vhdl-mode.el (vhdl-mode):
9695 * lisp/server.el (server-start):
9696 * lisp/type-break.el (type-break-noninteractive-query):
9697 * lisp/userlock.el (ask-user-about-supersession-help):
9698 * lisp/whitespace.el (whitespace-report-region):
9699 Prefer (substitute-command-keys "`\\[foo-command]'")
9700 to "`M-x foo-command'" in docstrings and the like.
9702 2015-08-21 Tassilo Horn <tsdh@gnu.org>
9704 Use add-function for prettify-symbols-compose-predicate
9705 * lisp/textmodes/tex-mode.el (tex-common-initialization): Set
9706 prettify-symbols-compose-predicate in terms of add-function.
9707 * etc/NEWS: Mention prettify-symbols-compose-predicate and
9708 prettify-symbols-mode support in tex-mode.
9710 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9712 * lisp/emacs-lisp/smie.el (smie-indent-current-column): New fun.
9713 (smie-indent-exps, smie-indent-keyword): Use it.
9714 * test/indent/css-mode.css: Test alignment with leading comment.
9716 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
9718 Respect text-quoting-style in (*Finder*) menus
9719 * lisp/info.el (info--prettify-description):
9720 Treat description as a docstring, so that it's requoted as
9721 per text-quoting-style.
9723 2015-08-21 Martin Rudalics <rudalics@gmx.at>
9725 Document `window-use-time' in Elisp manual
9726 * doc/lispref/windows.texi (Selecting Windows): Document
9729 2015-08-21 Eli Zaretskii <eliz@gnu.org>
9731 * src/w32uniscribe.c (_WIN32_WINNT): Define to 0x0600.
9732 This is a cleaner fix for Bug#21260 than the previous change.
9734 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
9736 Respect text-quoting-style in calc
9737 In calc, tespect text-quoting-style preference in diagnostic
9738 formats and fix a few similar problems in docstrings.
9739 * lisp/calc/calc-aent.el (math-read-factor):
9740 * lisp/calc/calc-embed.el (calc-do-embedded):
9741 * lisp/calc/calc-ext.el (calc-user-function-list)
9742 * lisp/calc/calc-graph.el (calc-graph-show-dumb):
9743 * lisp/calc/calc-help.el (calc-describe-key)
9744 (calc-describe-thing):
9745 * lisp/calc/calc-lang.el (calc-c-language)
9746 (math-parse-fortran-vector-end, math-parse-tex-sum)
9747 (math-parse-eqn-matrix, math-parse-eqn-prime)
9748 (calc-yacas-language, calc-maxima-language, calc-giac-language)
9749 (math-read-big-rec, math-read-big-balance):
9750 * lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
9751 (calc-auto-recompute):
9752 * lisp/calc/calc-prog.el (calc-user-define-invocation)
9753 (math-do-arg-check):
9754 * lisp/calc/calc-store.el (calc-edit-variable):
9755 * lisp/calc/calc-units.el (math-build-units-table-buffer):
9756 * lisp/calc/calc-vec.el (math-read-brackets):
9757 * lisp/calc/calc-yank.el (calc-edit-mode):
9758 * lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
9759 Use curved quotes in diagnostic format strings.
9760 * lisp/calc/calc-help.el (calc-describe-thing):
9761 Format docstrings with substitute-command-keys.
9762 * lisp/calc/calc-help.el (calc-j-prefix-help):
9763 * lisp/calc/calc-misc.el (calc-help):
9764 * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
9765 Escape a docstring "`".
9767 2015-08-21 Eli Zaretskii <eliz@gnu.org>
9769 Fix documentation of 'menu-set-font' and 'set-frame-font'
9770 * lisp/menu-bar.el (menu-set-font): Doc fix. (Bug#21303)
9771 * doc/lispref/frames.texi (Frame Font): Document that
9772 set-frame-font with the last argument 't' will also make the font
9773 the default for the future GUI frames.
9775 Document '--create-frame' option to emacsclient
9776 * doc/emacs/misc.texi (emacsclient Options): Document the
9777 '--create-frame' option. (Bug#21308)
9779 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9781 * lisp/progmodes/js.el (js-mode): Don't eagerly syntax propertize.
9783 2015-08-21 Eli Zaretskii <eliz@gnu.org>
9785 Document 'get-mru-window' in the ELisp manual
9786 * doc/lispref/windows.texi (Cyclic Window Ordering): Document
9787 'get-mru-window'. (Bug#21306)
9789 Clarify documentation of 'get-buffer-window-list'
9790 * doc/lispref/windows.texi (Buffers and Windows): Mention that the
9791 current window, if relevant, will be the first in the list
9792 returned by 'get-buffer-window-list'.
9793 * lisp/window.el (get-buffer-window-list): Doc fix. (Bug#21305)
9795 2015-08-21 Vasilij Schneidermann <v.schneidermann@gmail.com>
9797 In `ielm' use `pop-to-buffer-same-window' (Bug#20848)
9798 * lisp/ielm.el (ielm): Use `pop-to-buffer-same-window' instead of
9801 2015-08-21 Kaushal Modi <kaushal.modi@gmail.com> (tiny change)
9803 In woman.el use `display-buffer' instead of `switch-to-buffer' (Bug#21047)
9804 * lisp/woman.el (woman-really-find-file, WoMan-find-buffer): Use
9805 `display-buffer' instead of `switch-to-buffer'.
9807 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
9809 Follow user preference in calendar diagnostics
9810 Respect text-quoting-style preference in diagnostic formats by
9811 using curved quotes (which are translated as per text-quoting-style)
9812 instead of grave accent and apostrophe (which are not).
9813 * lisp/calendar/appt.el (appt-display-message):
9814 * lisp/calendar/diary-lib.el (diary-check-diary-file)
9815 (diary-mail-entries, diary-from-outlook):
9816 * lisp/calendar/icalendar.el (icalendar-export-region)
9817 (icalendar--convert-float-to-ical)
9818 (icalendar--convert-date-to-ical)
9819 (icalendar--convert-ical-to-diary)
9820 (icalendar--convert-recurring-to-diary)
9821 (icalendar--add-diary-entry):
9822 * lisp/calendar/time-date.el (format-seconds):
9823 * lisp/calendar/timeclock.el (timeclock-mode-line-display)
9824 (timeclock-make-hours-explicit):
9825 * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
9826 (todo-item-mark, todo-check-format)
9827 (todo-insert-item--next-param, todo-edit-item--next-key)
9829 Use curved quotes in diagnostic format strings.
9830 * lisp/calendar/icalendar.el (icalendar-import-format-sample):
9831 * test/automated/icalendar-tests.el (icalendar--import-format-sample):
9832 Just use straight quoting for simple test case.
9834 2015-08-21 Michael Albinus <michael.albinus@gmx.de>
9836 * src/gfilenotify.c (Fgfile_add_watch):
9837 Handle errors from g_file_monitor.
9839 2015-08-21 Martin Rudalics <rudalics@gmx.at>
9841 In frames.texi use "minibuffer-less frame" instead of "non-minibuffer frame"
9842 * doc/lispref/frames.texi (Frame Layout): Use "minibuffer-less
9843 frame" instead of "non-minibuffer frame".
9845 Fix frame geometry related text
9846 * doc/lispref/frames.texi (Frame Layout):
9847 Rename `x-frame-geometry' to `frame-geometry'.
9848 * doc/lispref/frames.texi (Mouse Position):
9849 * doc/lispref/windows.texi (Coordinates and Windows):
9850 Use `set-mouse-absolute-pixel-position' instead of
9851 `x-set-mouse-absolute-pixel-position'.
9853 Sanitize frame geometry related functions
9854 * src/nsfns.m (Fx_frame_geometry): Rename to Fns_frame_geometry.
9855 (Fx_frame_edges): Rename to Fns_frame_edges.
9856 * src/w32fns.c (Fx_frame_geometry): Rename to Fw32_frame_geometry.
9857 (Fx_frame_edges): Rename to Fw32_frame_edges.
9858 (Fx_mouse_absolute_pixel_position): Rename to
9859 Fw32_mouse_absolute_pixel_position.
9860 (Fx_set_mouse_absolute_pixel_position): Rename to
9861 Fw32_set_mouse_absolute_pixel_position.
9862 * lisp/frame.el (x-frame-geometry, w32-frame-geometry)
9863 (ns-frame-geometry, x-frame-edges, w32-frame-edges)
9864 (ns-frame-edges, w32-mouse-absolute-pixel-position)
9865 (x-mouse-absolute-pixel-position)
9866 (w32-set-mouse-absolute-pixel-position)
9867 (x-set-mouse-absolute-pixel-position): Declare.
9868 (frame-geometry, mouse-absolute-pixel-position)
9869 (set-mouse-absolute-pixel-position): New functions.
9870 (frame-edges): Rewrite in terms of x-/w32-/ns-frame-edges.
9872 2015-08-21 Eli Zaretskii <eliz@gnu.org>
9874 Fix MinGW64 build broken by latest w32uniscribe.c changes
9875 * src/w32uniscribe.c (UNISCRIBE_OPENTYPE): Define to 0x0100, for
9876 MinGW64. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9879 2015-08-21 Tassilo Horn <tsdh@gnu.org>
9881 Add TeX defaults for prettify-symbol-mode
9882 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
9883 Rename from tex-prettify-symbols-alist.
9884 (tex--prettify-symbols-compose-p): New function.
9885 (tex-common-initialization): Use them as prettify-symbols-alist
9886 and prettify-symbols-compose-predicate.
9888 Generalize prettify-symbols to arbitrary modes
9889 * lisp/progmodes/prog-mode.el
9890 (prettify-symbols-default-compose-p): New function.
9891 (prettify-symbols-compose-predicate): New variable.
9892 (prettify-symbols--compose-symbol): Use it.
9894 2015-08-20 Paul Eggert <eggert@cs.ucla.edu>
9896 Don't quote symbols 'like-this' in docstrings etc.
9897 * admin/unidata/uvs.el (uvs-insert-fields-as-bytes):
9898 * lisp/allout-widgets.el (allout-widgets-count-buttons-in-region):
9899 * lisp/allout.el (allout-add-resumptions, allout-mode):
9900 * lisp/calculator.el (calculator-operators):
9901 * lisp/cedet/data-debug.el (dd-propertize):
9902 * lisp/cedet/ede/proj-prog.el (ede-proj-target-makefile-program):
9903 * lisp/cedet/semantic/analyze/debug.el:
9904 (semantic-analyzer-debug-global-miss-text):
9905 * lisp/cedet/semantic/lex-spp.el:
9906 (semantic-lex-spp-replace-or-symbol-or-keyword):
9907 * lisp/cedet/semantic/symref.el:
9908 (semantic-symref-cleanup-recent-buffers-fcn):
9909 * lisp/cedet/semantic/tag.el (semantic-tag-class):
9910 * lisp/cedet/srecode/el.el (srecode-semantic-handle-:el-custom):
9911 * lisp/gnus/nnmairix.el (nnmairix-propagate-marks-upon-close):
9912 * lisp/gnus/pop3.el (pop3-authentication-scheme):
9913 * lisp/help-fns.el (describe-function-orig-buffer):
9914 * lisp/imenu.el (imenu--history-list):
9915 * lisp/mail/feedmail.el (feedmail-confirm-outgoing)
9916 (feedmail-display-full-frame, feedmail-deduce-bcc-where)
9917 (feedmail-queue-default-file-slug)
9918 (feedmail-queue-buffer-file-name):
9919 * lisp/net/mairix.el (mairix-searches-mode-map):
9920 * lisp/net/newst-backend.el (newsticker-retrieval-method)
9921 (newsticker-auto-mark-filter-list):
9922 * lisp/obsolete/vi.el (vi-mode):
9923 * lisp/progmodes/cc-engine.el (c-literal-type):
9924 * lisp/progmodes/cpp.el (cpp-face):
9925 * lisp/progmodes/ebrowse.el (ebrowse-electric-list-looper):
9926 * lisp/progmodes/elisp-mode.el (elisp--xref-make-xref):
9927 * lisp/progmodes/pascal.el (pascal-auto-lineup):
9928 * lisp/progmodes/prog-mode.el (prog-widen):
9929 * lisp/progmodes/verilog-mode.el (verilog-regexp-words)
9930 (verilog-auto-lineup, verilog-auto-reset-widths)
9931 (verilog-auto-arg-format, verilog-auto-inst-template-numbers):
9932 * lisp/textmodes/flyspell.el (flyspell-maybe-correct-transposition)
9933 (flyspell-maybe-correct-doubling):
9934 * lisp/textmodes/table.el (table-justify, table-justify-cell)
9935 (table-justify-row, table-justify-column, table-insert-sequence)
9936 (table--justify-cell-contents):
9937 * lisp/url/url-auth.el (url-get-authentication):
9938 * lisp/window.el (display-buffer-record-window):
9939 * lisp/xml.el (xml-parse-file, xml-parse-region):
9940 * src/gfilenotify.c (Fgfile_add_watch):
9941 Don't quote symbols with apostrophes in doc strings.
9942 Use asymmetric quotes instead.
9943 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
9944 Likewise for symbol in diagnostic.
9945 * lisp/image.el (image-extension-data):
9946 * lisp/register.el (frame-configuration-to-register):
9947 * src/buffer.c (syms_of_buffer):
9948 Remove bogus apostrophes after symbols.
9949 * lisp/thumbs.el (thumbs-conversion-program):
9950 Quote Lisp string values using double-quotes, not apostrophes.
9952 2015-08-20 Martin Rudalics <rudalics@gmx.at>
9954 Describe frame geometry and related functions in Elisp manual
9955 * doc/lispref/display.texi (Size of Displayed Text, Line Height)
9956 (Showing Images): Update references.
9957 * doc/lispref/elisp.texi (Top): Update node listing.
9958 * doc/lispref/frames.texi (Frame Geometry): New node.
9959 Move `Size and Position' section here.
9960 (Size Parameters): Update references.
9961 (Mouse Position): Update references and nomenclature.
9962 Describe new functions `x-mouse-absolute-pixel-position' and
9963 `x-set-mouse-absolute-pixel-position'.
9964 * doc/lispref/windows.texi (Window Sizes): Update references.
9965 (Resizing Windows): Update references. Move description of
9966 `fit-frame-to-buffer' here.
9967 (Coordinates and Windows): Update nomenclature and references.
9968 Describe new arguments of `window-edges'. Comment out
9969 descriptions of `window-left-column', `window-top-line',
9970 `window-pixel-left' and `window-pixel-top'. Describe
9971 `window-absolute-pixel-position'.
9973 2015-08-20 Alan Mackenzie <acm@muc.de>
9975 Handling of `c-parse-state'. Fix low level bug.
9976 * lisp/progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
9977 Add "CASE 3.5" to handle `cache-pos' being only slightly before `here'.
9979 2015-08-20 Andreas Politz <politza@hochschule-trier.de>
9981 * lisp/wid-edit.el (widget-color--choose-action): Quit *Color*
9982 window instead of deleting it.
9984 2015-08-20 Martin Rudalics <rudalics@gmx.at>
9986 In w32fns.c's Fx_frame_geometry rewrite check whether frame has a titlebar
9987 * src/w32fns.c (Fx_frame_geometry): Use title_bar.rgstate[0] to
9988 determine whether frame has a titlebar.
9989 Suggested by Eli Zaretskii <eliz@gnu.org>
9991 2015-08-20 Tassilo Horn <tsdh@gnu.org>
9993 Add a prettify-symbols-alist for (La)TeX
9994 * lisp/textmodes/tex-mode.el (tex-prettify-symbols-alist):
9995 New variable holding an alist suitable as prettify-symbols-alist in
9998 2015-08-19 Alan Mackenzie <acm@muc.de>
10000 Make electric-pair-mode, delete-selection-mode and CC Mode cooperate.
10001 Fixes debbugs#21275.
10002 In Emacs >= 25, let electric-pair-mode take precedence over
10003 delete-selection-mode.
10004 * lisp/delsel.el (delete-selection-uses-region-p): New function,
10005 previously a lambda expression in a property value for
10006 `self-insert-command'.
10007 (top-level): Set the `delete-selection' property of
10008 `self-insert-command' to `delete-selection-uses-region-p'.
10009 * lisp/progmodes/cc-cmds.el (top-level): Give the `delete-selection'
10010 property for c-electric-\(brace\|paren\) the value
10011 `delete-selection-uses-region-p' when the latter function exists.
10013 2015-08-19 Paul Eggert <eggert@cs.ucla.edu>
10015 Fix key binding quoting in tutorial *Help*
10016 * lisp/tutorial.el (tutorial--describe-nonstandard-key):
10017 When generating help for custom key bindings, use the user-preferred
10018 quoting style rather than hardcoding the grave style.
10020 2015-08-19 Eli Zaretskii <eliz@gnu.org>
10022 Improve and future-proof OTF fonts support in w32uniscribe.c
10023 * src/w32uniscribe.c (uniscribe_otf_capability): Add commentary
10024 about the expected results and why the new Uniscribe APIs are not
10025 used in this function.
10026 (ScriptGetFontScriptTags_Proc, ScriptGetFontLanguageTags_Proc)
10027 (ScriptGetFontFeatureTags_Proc): New function typedefs.
10028 (uniscribe_new_apis): New static variable.
10029 (uniscribe_check_features): New function, implements OTF features
10030 verification while correctly accounting for features in the list
10031 after the nil member, if any.
10032 (uniscribe_check_otf_1): New function, retrieves the features
10033 supported by the font for the requested script and language using
10034 the Uniscribe APIs available from Windows Vista onwards.
10035 (uniscribe_check_otf): If the new Uniscribe APIs are available,
10036 use them in preference to reading the font data directly. Call
10037 uniscribe_check_features to verify that the requested features are
10038 supported, replacing the original incomplete code.
10039 (syms_of_w32uniscribe): Initialize function pointers for the new
10040 Uniscribe APIs. (Bug#21260)
10041 (otf_features): Scan the script, langsys, and feature arrays back
10042 to front, so that the result we return has them in alphabetical
10043 order, like ftfont.c does.
10044 * src/w32fns.c (syms_of_w32fns) <w32-disable-new-uniscribe-apis>:
10045 New variable for debugging w32uniscribe.c code.
10047 2015-08-19 Artur Malabarba <bruce.connor.am@gmail.com>
10049 * lisp/isearch.el (isearch-search-fun-default): Revert a5bdb87
10050 Remove usage of `isearch-lax-whitespace' inside the `iearch-word'
10051 clause of `isearch-search-fun-default'. That lax variable does not
10052 refer to lax-whitespacing. Related to (bug#21777).
10053 This reverts commit a5bdb872edb9f031fe041faf9a8c0be432e5f64c.
10054 * lisp/character-fold.el (character-fold-search): Set to nil.
10055 Default to nil for now, until someone implements proper
10056 lax-whitespacing with char-fold searching.
10058 2015-08-19 Martin Rudalics <rudalics@gmx.at>
10060 Fix doc-string of `help-mode-finish'.
10061 * lisp/help-mode.el (help-mode-finish): Fix doc-string.
10063 In nsimage.m include coding.h (Bug#21292)
10064 * src/nsimage.m (top-level): Include coding.h (Bug#21292).
10066 Move window edge functions to Elisp.
10067 * src/window.c (Fwindow_edges, Fwindow_pixel_edges)
10068 (Fwindow_absolute_pixel_edges, Fwindow_inside_edges)
10069 (Fwindow_inside_pixel_edges, Fwindow_inside_absolute_pixel_edges):
10071 (calc_absolute_offset): Remove.
10072 * lisp/frame.el (frame-edges): New function.
10073 * lisp/window.el (window-edges, window-pixel-edges)
10074 (window-absolute-pixel-edges): Move here from window.c.
10075 (window-body-edges, window-body-pixel-edges)
10076 (window-absolute-body-pixel-edges): Move here from window.c and
10077 rename "inside" to "body". Keep old names as aliases.
10078 (window-absolute-pixel-position): New function.
10080 2015-08-19 Katsumi Yamaoka <yamaoka@jpl.org>
10082 [Gnus]: Use overlay functions directly
10083 * lisp/gnus/gnus-art.el (gnus-mime-inline-part, gnus-mm-display-part)
10084 (gnus-insert-mime-button, gnus-mime-buttonize-attachments-in-header)
10085 (gnus-article-highlight-signature, gnus-article-extend-url-button)
10086 (gnus-article-add-button, gnus-insert-prev-page-button)
10087 (gnus-insert-next-page-button, gnus-insert-mime-security-button):
10088 * lisp/gnus/gnus-cite.el (gnus-cite-delete-overlays)
10089 (gnus-cite-add-face):
10090 * lisp/gnus/gnus-html.el (gnus-html-wash-tags):
10091 * lisp/gnus/gnus-salt.el (gnus-tree-read-summary-keys)
10092 (gnus-tree-recenter, gnus-highlight-selected-tree):
10093 * lisp/gnus/gnus-sum.el (gnus-summary-show-all-threads)
10094 (gnus-summary-show-thread, gnus-summary-hide-thread)
10095 (gnus-highlight-selected-summary):
10096 * lisp/gnus/gnus-util.el (gnus-put-overlay-excluding-newlines):
10097 * lisp/gnus/message.el (message-fix-before-sending)
10098 (message-toggle-image-thumbnails):
10099 * lisp/gnus/mm-decode.el (mm-convert-shr-links):
10100 * lisp/gnus/sieve.el (sieve-highlight, sieve-insert-scripts):
10101 Use overlay functions directly instead of using gnus-overlay-*,
10102 message-overlay-*, and sieve-overlay-*.
10103 * lisp/gnus/gnus-sum.el (gnus-remove-overlays):
10104 * lisp/gnus/gnus.el (gnus-make-overlay, gnus-copy-overlay)
10105 (gnus-delete-overlay, gnus-overlay-get, gnus-overlay-put)
10106 (gnus-move-overlay, gnus-overlay-buffer, gnus-overlay-start)
10107 (gnus-overlay-end, gnus-overlays-at, gnus-overlays-in):
10108 * lisp/gnus/message.el (message-delete-overlay, message-make-overlay)
10109 (message-overlay-get, message-overlay-put, message-overlays-in):
10110 * lisp/gnus/sieve.el (sieve-make-overlay, sieve-overlay-put)
10111 (sieve-overlays-at): Remove.
10113 2015-08-19 Martin Rudalics <rudalics@gmx.at>
10115 In w32fns.c condition TITLEBAR_INFO declaration on WINDOWS version
10116 * src/w32fns.c (TITLEBAR_INFO): Make it a typedef so MinGW64
10117 builds can use the declaration from the system headers.
10118 (GetTitleBarInfo_Proc, Fx_frame_geometry): Adapt to new
10119 definition of TITLEBAR_INFO.
10120 Suggested by Eli Zaretskii <eliz@gnu.org>
10122 2015-08-19 Glenn Morris <rgm@gnu.org>
10124 * lisp/gnus/nnmaildir.el (nnmaildir-flag-mark-mapping): Add "P".
10126 2015-08-19 Paul Eggert <eggert@cs.ucla.edu>
10128 Use new q ‘format’ flag when fixing quotes in C
10129 * src/image.c (image_size_error): New function. All uses of
10130 image_error with "Invalid image size ..." changed to use it.
10131 * src/image.c (image_size_error, xbm_load_image, xbm_load)
10132 (xpm_load, xpm_load_image, xpm_load, pbm_load, png_load_body)
10133 (jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
10134 (imagemagick_load, svg_load, svg_load_image, gs_load)
10135 (x_kill_gs_process):
10136 * src/lread.c (load_warn_old_style_backquotes):
10137 * src/xfaces.c (load_pixmap):
10138 * src/xselect.c (x_clipboard_manager_error_1):
10139 Use %qs, not uLSQM and uRSQM.
10140 * src/syntax.c (Finternal_describe_syntax_value):
10141 Prefer Fsubstitute_command_keys to Fformat, as this lets
10142 us use AUTO_STRING.
10143 * src/xdisp.c (vadd_to_log): Use AUTO_STRING on the format argument,
10144 as it's now guaranteed to be ASCII.
10145 * src/xselect.c (x_clipboard_manager_error_2):
10146 Avoid grave accent in low-level stderr diagnostic.
10148 2015-08-19 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
10150 New q flag for ‘format’
10151 * doc/lispref/processes.texi (Sentinels):
10152 Don't hardwire grave quoting style in example.
10153 * doc/lispref/strings.texi (Formatting Strings):
10155 Document new q flag.
10156 * src/editfns.c (Fformat): Implement it.
10158 2015-08-18 Daiki Ueno <ueno@gnu.org>
10160 pinentry.el: Add debugging support
10161 * lisp/net/pinentry.el (pinentry-debug): New variable.
10162 (pinentry-debug-buffer): New variable.
10163 (pinentry--process-filter): Send input to the debug buffer, if
10164 `pinentry-debug' is set.
10166 pinentry.el: Improve multiline prompt
10167 * lisp/net/pinentry.el (pinentry--prompt): Simplify the interface.
10168 (pinentry--process-filter): Use `pinentry--prompt' for CONFIRM
10171 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
10173 Fix multibyte confusion in diagnostics
10174 * src/print.c (print_error_message):
10175 Don't assume that the caller's name is unibyte.
10176 * src/xdisp.c (vadd_to_log):
10177 Don't assume that the formatted diagnostic is unibyte.
10179 Fix file name encodings in diagnostics
10180 Also, close some minor races when opening image files, by opening
10181 them once instead of multiple times.
10182 * src/gtkutil.c (xg_get_image_for_pixmap):
10183 * src/image.c (xpm_load, tiff_load, gif_load, imagemagick_load)
10185 * src/nsimage.m (allocInitFromFile:):
10186 * src/xfns.c (xg_set_icon):
10187 Encode file name, since x_find_image_file no longer does that.
10188 * src/image.c (x_find_image_fd): New function.
10189 (x_find_image_file): Use it. Do not encode resulting file name,
10190 since callers sometimes need it decoded.
10191 (slurp_file): File arg is now a fd, not a file name.
10192 All callers changed. This saves us having to open the file twice.
10193 (xbm_load, xpm_load, pbm_load, png_load_body, jpeg_load_body)
10195 Use x_find_image_fd and fdopen to save a file-open.
10196 Report file name that failed.
10197 * src/lread.c (openp): If PREDICATE is t, open the file in binary mode.
10199 2015-08-18 Dmitry Gutov <dgutov@yandex.ru>
10201 Allow blink-matching-paren to jump off screen
10202 * doc/emacs/programs.texi (Matching): Mention the
10203 `blink-matching-paren' value `jump-offscreen'.
10204 * lisp/simple.el (blink-matching-paren): New possible value.
10205 (blink-matching-paren-on-screen): Clarify the docstring.
10206 (blink-matching-open): Handle `jump-offscreen' (bug#21286).
10208 Refine the previous change
10209 * lisp/simple.el (blink-matching-open): Use minibuffer-message
10210 outside of save-excursion (bug#21286).
10212 2015-08-18 Martin Rudalics <rudalics@gmx.at>
10214 Rewrite and add frame geometry related functions.
10215 * src/frame.c (Fframe_position): New function.
10216 (Fset_frame_position): Rename parameters and rewrite doc-string.
10217 (syms_of_frame): Remove Qframe_position, Qframe_outer_size,
10218 Qtitle_height and Qframe_inner_size. Add Qouter_edges,
10219 Qouter_position, Qouter_size, Qnative_edges, Qinner_edges,
10221 * src/nsfns.m (frame_geometry): New function.
10222 (Fx_frame_geometry): Call frame_geometry.
10223 (Fx_frame_edges): New function.
10224 * src/w32fns.c (C_CHILDREN_TITLEBAR, TITLEBAR_INFO)
10225 (GetTitleBarInfo_Proc): Define these so we can use the
10226 GetTitleBarInfo API.
10227 (Fw32_frame_menu_bar_size, Fw32_frame_rect): Remove.
10228 (Fx_frame_geometry): Rewrite.
10229 (Fx_frame_edges, Fx_mouse_absolute_pixel_position)
10230 (Fx_set_mouse_absolute_pixel_position): New functions.
10231 * src/xfns.c (frame_geometry): New function.
10232 (Fx_frame_geometry): Call frame_geometry.
10233 (Fx_frame_edges, Fx_mouse_absolute_pixel_position)
10234 (Fx_set_mouse_absolute_pixel_position): New functions.
10236 2015-08-18 Michael Albinus <michael.albinus@gmx.de>
10238 Improve Tramp's compatibility
10239 * lisp/net/tramp.el (tramp-get-method-parameter):
10240 * lisp/net/tramp-adb.el (tramp-adb-parse-device-names)
10241 (tramp-adb-get-device):
10242 * lisp/net/trampver.el (tramp-repository-get-version):
10243 Use `tramp-compat-replace-regexp-in-string'.
10245 2015-08-18 Pierre Téchoueyres <pierre.techoueyres@free.fr> (tiny change)
10247 * lisp/net/tramp-cmds.el (tramp-reporter-dump-variable):
10248 Encode/decode string.
10250 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
10252 Clarify what happens to match data on failure
10253 Problem reported by Ernesto Alfonso (Bug#21279).
10254 * doc/lispref/searching.texi (Regexp Search, Simple Match Data):
10255 Document more carefully what happens to match data after a failed
10257 * src/search.c (Fmatch_beginning, Fmatch_end): Document that
10258 the return value is undefined if the last search failed.
10259 (Fmatch_data): Simplify doc string line 1.
10261 2015-08-18 Daiki Ueno <ueno@gnu.org>
10263 Revert "pinentry.el: Support external passphrase cache"
10264 This reverts commit e086e55a664ec27fbca7b3231c4b32cb78a89337.
10265 pinentry.el shouldn't directly interact with the secrets service,
10266 but ask the caller to cache the passphrase.
10268 2015-08-17 Xue Fuqiao <xfq.free@gmail.com>
10270 * doc/emacs/sending.texi (Mail Misc): Fix two index entries for
10271 Message mode hooks.
10273 2015-08-17 Daiki Ueno <ueno@gnu.org>
10275 epg.el: Make gpgconf output parsing future proof
10276 * lisp/epg.el (epg--start): Count the number of fields in "gpgconf
10277 --list-options" output.
10279 pinentry.el: Support external passphrase cache
10280 * lisp/net/pinentry.el (pinentry-use-secrets): New user option.
10281 (pinentry--allow-external-password-cache): New local variable.
10282 (pinentry--key-info): New local variable.
10283 (secrets-enabled, secrets-search-items, secrets-get-secret):
10285 (pinentry--send-passphrase): New function, split from
10286 `pinentry--process-filter'.
10287 (pinentry--process-filter): Use secrets.el to retrieve passphrase
10288 from login keyring.
10290 pinentry.el: Popup window for multiline prompt
10291 * lisp/net/pinentry.el (pinentry): New custom group.
10292 (pinentry-popup-prompt-window): New user option.
10293 (pinentry-prompt-window-height): New user option.
10294 (pinentry--prompt-buffer): New variable.
10295 (pinentry-prompt-mode-map): New variable.
10296 (pinentry-prompt-mode): New function.
10297 (pinentry--prompt): New function.
10298 (pinentry--process-filter): Use `pinentry--prompt' instead of
10299 `read-passwd' and `y-or-n-p'.
10301 2015-08-17 Katsumi Yamaoka <yamaoka@jpl.org>
10303 message.el: Silent the byte compiler
10304 * lisp/gnus/message.el (message-overlay-put, message-make-overlay)
10305 (message-kill-all-overlays, message-overlays-in, message-overlay-get)
10306 (message-delete-overlay, message-window-inside-pixel-edges):
10307 Declare before using.
10309 * lisp/gnus/message.el (message-overlay-get, message-overlays-in)
10310 (message-window-inside-pixel-edges): XEmacs compatible functions.
10312 2015-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10314 * lisp/gnus/message.el (message-toggle-image-thumbnails): New command.
10316 2015-08-17 Noah Friedman <friedman@splode.com>
10318 * lisp/simple.el (blink-matching-open): Restore point before
10319 calling minibuffer-message.
10321 2015-08-17 Ronnie Schnell <ronnie@driver-aces.com>
10323 * lisp/play/dunnet.el: Update version number in header (now
10326 2015-08-17 Paul Eggert <eggert@cs.ucla.edu>
10328 Curved quotes in --batch diagnostics in non-UTF-8
10329 When run with --batch, check that curved quotes are compatible with
10330 the system locale before outputting them in diagnostics.
10331 Problem reported by Eli Zaretskii in:
10332 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00594.html
10333 * lisp/startup.el (command-line): Set internal--text-quoting-flag
10334 after the standard display table is initialized.
10335 * src/doc.c (default_to_grave_quoting_style): New function.
10336 (text_quoting_style): Use it.
10337 (text_quoting_flag): New static var, visible to Lisp as
10338 internal--text-quoting-flag.
10339 * src/emacs.c: Include <wchar.h> if available.
10340 (using_utf8): New function.
10341 (main): Use it to initialize text_quoting_flag.
10342 * src/regex.h (btowc) [WIDE_CHAR_SUPPORT && emacs]:
10343 Don't define, as it's not needed and it clashes with wchar.h.
10345 2015-08-17 Glenn Morris <rgm@gnu.org>
10347 * doc/misc/tramp.texi (Configuration): Reword to avoid warning
10348 from makeinfo about spurious "Note:" cross-reference, and for grammar.
10350 2015-08-17 Ilya Zakharevich <ilya@math.berkeley.edu>
10352 Minor change in variable initialization on MS-Windows
10353 * src/w32fns.c <after_dead_key>: Initialize to -1.
10354 (deliver_wm_chars): If after_deadkey is zero, don't set after_dead
10357 Fix a bug with LWindow key remapping on MS-Windows
10358 * src/w32fns.c (deliver_wm_chars): Fix a typo. (Bug#21276)
10360 2015-08-17 Eli Zaretskii <eliz@gnu.org>
10362 Improve fontset support for latest OTF script tags
10363 * lisp/international/fontset.el (otf-script-alist): Add some
10364 missing script tags.
10365 (setup-default-fontset): Include settings for v2 versions of the
10366 script tags used by some modern OTF/TTF fonts.
10368 2015-08-17 Paul Eggert <eggert@cs.ucla.edu>
10372 2015-08-16 Paul Eggert <eggert@cs.ucla.edu>
10374 Use curved quotes in core elisp diagnostics
10375 In the core elisp files, use curved quotes in diagnostic formats,
10376 so that they follow user preference as per ‘text-quoting-style’
10377 rather than being hard-coded to quote `like this'.
10378 * lisp/abbrev.el (expand-region-abbrevs):
10379 * lisp/button.el (button-category-symbol, button-put)
10380 (make-text-button):
10381 * lisp/cus-start.el:
10382 * lisp/custom.el (custom-add-dependencies, custom-check-theme)
10383 (custom--sort-vars-1, load-theme):
10384 * lisp/emacs-lisp/byte-run.el (defun, defsubst):
10385 * lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
10386 (cl-generic-generalizers):
10387 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
10388 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
10389 * lisp/emacs-lisp/nadvice.el (advice--make-docstring)
10390 (advice--make, define-advice):
10391 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
10392 * lisp/emacs-lisp/timer.el (timer-event-handler):
10393 * lisp/env.el (setenv):
10394 * lisp/facemenu.el (facemenu-add-new-face)
10395 (facemenu-add-new-color):
10396 * lisp/faces.el (face-documentation, read-face-name)
10397 (face-read-string, read-face-font, face-spec-set-match-display)
10398 (read-color, x-resolve-font-name):
10399 * lisp/files.el (locate-user-emacs-file, find-alternate-file)
10400 (set-auto-mode, hack-local-variables)
10401 (hack-one-local-variable--obsolete)
10402 (dir-locals-set-directory-class, write-file)
10403 (basic-save-buffer, delete-directory, copy-directory)
10404 (recover-session, recover-session-finish, insert-directory)
10405 (file-modes-char-to-who, file-modes-symbolic-to-number)
10406 (move-file-to-trash):
10407 * lisp/font-lock.el (font-lock-fontify-buffer):
10408 * lisp/format.el (format-write-file, format-find-file)
10409 (format-insert-file):
10410 * lisp/frame.el (get-device-terminal, select-frame-by-name):
10411 * lisp/fringe.el (fringe--check-style):
10412 * lisp/help.el (describe-minor-mode-from-indicator):
10413 * lisp/image.el (image-type):
10414 * lisp/international/fontset.el (x-must-resolve-font-name):
10415 * lisp/international/mule-cmds.el (prefer-coding-system)
10416 (select-safe-coding-system-interactively)
10417 (select-safe-coding-system, activate-input-method)
10418 (toggle-input-method, describe-current-input-method):
10419 * lisp/international/mule-conf.el (code-offset):
10420 * lisp/mouse.el (minor-mode-menu-from-indicator):
10421 * lisp/replace.el (query-replace-read-from)
10422 (occur-after-change-function, occur-1):
10423 * lisp/scroll-bar.el (scroll-bar-columns):
10424 * lisp/simple.el (execute-extended-command)
10425 (undo-outer-limit-truncate, compose-mail, set-variable)
10426 (choose-completion-string, define-alternatives):
10427 * lisp/startup.el (site-run-file, tty-handle-args)
10428 (command-line, command-line-1):
10429 * lisp/subr.el (noreturn, define-error, add-to-list)
10430 (read-char-choice):
10431 * lisp/term/common-win.el (x-handle-xrm-switch)
10432 (x-handle-name-switch, x-handle-args):
10433 * lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
10434 Use curved quotes in diagnostics.
10435 * lisp/international/mule.el (find-auto-coding):
10436 Use " to quote in a diagnostic, to be consistent with the rest of
10439 Convert lisp/term/x-win.el to UTF-8
10440 * lisp/term/x-win.el: Convert to UTF-8. This doesn't affect
10441 runtime behavior, and the file is multilingual so compile-time
10442 appearance shouldn't be an issue.
10443 * admin/notes/unicode: Document this.
10445 2015-08-16 Wilson Snyder <wsnyder@wsnyder.org>
10447 Update verilog-mode.el to 2015-05-14-6232468-vpo-GNU.
10448 * lisp/progmodes/verilog-mode.el: Fix some non-automated indent
10449 issues and comments, bug#943.
10450 (verilog-type-font-keywords): Cycle delay operators like ##1 and
10451 ##[0:$] are now highlighted in their entirety similarly to the #
10452 delay-control operator. Likewise, the followed-by operators #-#
10453 and #=# are no longer partially highlighed.
10454 (verilog-backward-syntactic-ws-quick)
10455 (verilog-skip-backward-comments): Minor performance improvements
10456 to buffer traversal functions for reduced latency.
10457 (verilog-calc-1, verilog-in-deferred-immediate-final-p): When the
10458 keyword 'final' follows 'assert/assume/cover', then it is part of
10459 a deferred immediate assertion item and should not be treated as a
10460 final construct for indentation. Reported by Yuri Sugihara.
10461 (verilog-do-indent): Virtual task/function/class definition lines
10462 should not be considered as declarations. Reported by Enzo Chi.
10463 (verilog-do-indent): Do not falsely indent to '=' of
10464 property/sequence operators on subsequent lines of a multi-line
10466 (verilog-assignment-operator-re): Fix '!==' operator and add
10467 support for '<->', ':/', '#-#', and '#=#' operators.
10468 (verilog-calculate-indent, verilog-label-be): Enable
10469 case-sensitive regular expression parsing when looking for
10471 (verilog-calc-1): Detect 'pure virtual method' declarations which
10472 exist in abstract classes. Reported by Enzo Chi and Kaushal Modi.
10473 (verilog-backward-ws&directives): When moving back to the start of
10474 a line and the preceeding line ended with an escaped-newline, then
10475 jump up one line. This properly consumes a multi-line
10476 pre-processor directive. Reported by Kaushal Modi.
10477 (verilog-dpi-import-export-re, verilog-extended-complete-re)
10478 (verilog-calc-1): Teach verilog-mode to properly indent after a
10479 DPI import/export statement that resides outside of a module.
10480 Reported by Kaushal Modi.
10481 (verilog-extended-complete-re): Update regexp to match both
10482 "DPI-C" and "DPI". Reported by Kaushal Modi.
10484 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
10486 substitute-command-keys a few more doc strings
10487 * lisp/allout.el (outlineify-sticky):
10488 * lisp/files.el (hack-one-local-variable--obsolete):
10489 * lisp/help-fns.el (help-fns--obsolete, describe-variable):
10490 Use substitute-command-keys on some doc strings so that
10491 they don't use hard-coded key bindings or quoting styles.
10493 Fix quoting in Fformat calls
10494 * src/image.c (xbm_read_bitmap_data, xbm_load_image, xbm_load)
10495 (xpm_load, xpm_load_image, pbm_load, png_load_body)
10496 (jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
10497 (imagemagick_load, svg_load, svg_load_image, gs_load)
10498 (x_kill_gs_process):
10499 * src/lread.c (load_warn_old_style_backquotes):
10500 * src/xfaces.c (load_pixmap):
10501 * src/xselect.c (x_clipboard_manager_error_1):
10502 Quote diagnostics according to user preference when calling
10503 Fformat or its derivatives.
10505 2015-08-15 Glenn Morris <rgm@gnu.org>
10507 * admin/admin.el (set-version, set-copyright): Remove deleted files.
10509 2015-08-15 Stephen Leake <stephen_leake@stephe-leake.org>
10511 Allow describe-function helpers to access buffer-local values
10512 This will be used by cedet/mode-local.el `describe-mode-local-override'
10513 on `help-fns-describe-function-functions' in upstream CEDET.
10514 * lisp/help-fns.el (describe-function-orig-buffer): New, let-bound in
10515 `describe-function'.
10516 (describe-function): Bind it, save it on the help xref stack.
10518 Handle pulse-background being nil
10519 * lisp/cedet/pulse.el (pulse-lighten-highlight): Inherit
10520 pulse-background, handle it being nil.
10522 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
10524 Fix "\`" confusion in Lisp strings
10525 * admin/authors.el (authors-canonical-author-name):
10526 Fix typo by using "\\`" not "\`" in string RE.
10527 * lisp/obsolete/complete.el (PC-complete-as-file-name):
10528 * lisp/obsolete/vi.el (vi-backward-blank-delimited-word):
10529 * lisp/progmodes/verilog-mode.el (verilog-mode-map):
10530 Use plain "`", not the equivalent-but-confusing "\`", in strings.
10531 * lisp/textmodes/texinfmt.el: Fix comment likewise.
10533 2015-08-15 Dani Moncayo <dmoncayo@gmail.com>
10535 * nt/zipdist.bat: Remove -- no longer used.
10537 2015-08-15 Jürgen Hötzel <juergen@archlinux.org>
10539 * lisp/net/tramp-sh.el (tramp-remote-selinux-p): Use "selinuxenabled"
10540 rather than "getenforce".
10541 (tramp-sh-handle-set-file-selinux-context): Do not
10542 cache SELinux context if not all context components are given.
10544 2015-08-15 Eli Zaretskii <eliz@gnu.org>
10546 Add doc strings to 2 help-mode.el functions
10547 * lisp/help-mode.el (help-mode-setup, help-mode-finish): Add doc
10548 strings. (Bug#21263)
10550 Remove files used by the old MS-Windows specific build procedure
10551 * admin/unidata/makefile.w32-in:
10552 * doc/emacs/makefile.w32-in:
10553 * doc/lispintro/makefile.w32-in:
10554 * doc/lispref/makefile.w32-in:
10555 * doc/misc/makefile.w32-in:
10556 * leim/makefile.w32-in:
10557 * lib-src/makefile.w32-in:
10558 * lib/makefile.w32-in:
10559 * lisp/makefile.w32-in:
10562 * nt/emacs-src.tags:
10565 * nt/makefile.w32-in:
10566 * nt/multi-install-info.bat:
10569 * src/makefile.w32-in: Files deleted.
10570 * nt/configure.bat: Remove everything except the blurb about the
10571 new build procedure.
10572 * make-dist: Remove references to makefile.w32-in in various
10573 directories, and to files in nt/ that were deleted.
10574 * etc/NEWS: Mention the fact that the files were dropped.
10576 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
10578 * doc/emacs/mule.texi (Charsets): Give fuller title for ISO-IR.
10581 2015-08-14 Paul Eggert <eggert@cs.ucla.edu>
10583 Default to inotify instead of gfile
10584 * configure.ac (with_file_notification): Fix typo that
10585 prevented suppression of file notification if HAVE_NS.
10586 (NOTIFY_OBJ): Prefer inotify to gfile if both exist and
10587 with_file_notification is 'yes' (Bug#21241).
10588 * etc/NEWS: Mention this.
10590 Fix broken URLs for ISO-IR
10591 * doc/emacs/mule.texi (Charsets):
10592 * lisp/international/mule-conf.el:
10593 Fix broken URL (Bug#21248).
10595 Low-level diagnostics now use ‘text-quoting-style’
10596 * src/doprnt.c (doprnt):
10597 Format ` and ' as per ‘text-quoting-style’.
10598 * src/xdisp.c (vmessage, message): Mention that the format should
10599 not contain ` or '.
10601 Prefer ‘format’ to ‘substitute-command-keys’
10602 * src/character.h (uLSQM, uRSQM): Move here ...
10603 * src/doc.c (uLSQM, uRSQM): ... from here.
10604 * src/doc.c (Fsubstitute_command_keys):
10605 * src/syntax.c (Finternal_describe_syntax_value):
10606 * lisp/cedet/mode-local.el (mode-local-print-binding)
10607 (mode-local-describe-bindings-2):
10608 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
10609 * lisp/cus-theme.el (describe-theme-1):
10610 * lisp/descr-text.el (describe-text-properties-1, describe-char):
10611 * lisp/emacs-lisp/cl-extra.el (cl--describe-class):
10612 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
10613 * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
10614 * lisp/emacs-lisp/package.el (describe-package-1):
10615 * lisp/faces.el (describe-face):
10616 * lisp/help-fns.el (help-fns--key-bindings)
10617 (help-fns--compiler-macro, help-fns--parent-mode)
10618 (help-fns--obsolete, help-fns--interactive-only)
10619 (describe-function-1, describe-variable):
10620 * lisp/help.el (describe-mode):
10621 Prefer ‘format’ to ‘substitute-command-keys’ when either will do
10622 to implement quoting style. This generally makes the code simpler.
10624 Extend ‘format’ to translate curved quotes
10625 This is a followup to the recent doc string change, and deals with
10626 diagnostics and the like. This patch is more conservative than
10627 the doc string change, in that the behavior of ‘format’ changes
10628 only if its first arg contains curved quotes and the user prefers
10629 straight or grave quotes. (Come to think of it, perhaps we should
10630 be similarly conservative with doc strings too, but that can wait.)
10631 The upside of this conservatism is that existing usage is almost
10632 surely unaffected. The downside is that we'll eventually have to
10633 change Emacs's format strings to use curved quotes in places where
10634 the user might want curved quotes, but that's a simple and
10635 mechanical translation that I'm willing to do later. (Bug#21222)
10636 * doc/lispref/help.texi (Keys in Documentation):
10637 Move description of text-quoting-style from here ...
10638 * doc/lispref/strings.texi (Formatting Strings):
10639 ... to here, and describe new behavior of ‘format’.
10640 * etc/NEWS: Describe new behavior.
10641 * lisp/calc/calc-help.el (calc-describe-thing):
10642 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
10643 * lisp/info.el (Info-find-index-name):
10644 Use ‘concat’ rather than ‘format’ to avoid misinterpretation
10645 of recently-added curved quotes.
10646 * src/doc.c (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
10648 * src/lisp.h: ... to here.
10649 * src/doc.c (text_quoting_style): New function.
10650 (Fsubstitute_command_keys): Use it.
10651 * src/editfns.c (Fformat): Implement new behavior.
10652 * src/lisp.h (enum text_quoting_style): New enum.
10654 2015-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
10656 * src/keyboard.c: Use false/true instead of 0/1 for booleans.
10657 * src/keyboard.h (struct kboard): Mark kbd_queue_has_data as boolean.
10659 2015-08-14 Michael Albinus <michael.albinus@gmx.de>
10661 * lisp/net/tramp-sh.el (tramp-sh-handle-file-acl): Do not redirect
10662 stderr to /dev/null, this is done in `tramp-send-command-and-check'.
10664 2015-08-14 Jürgen Hötzel <juergen@archlinux.org>
10666 Flush file properties in Tramp
10667 * lisp/net/tramp-sh.el (tramp-sh-handle-set-file-modes)
10668 (tramp-sh-handle-set-file-times):
10669 * lisp/net/tramp-adb.el (tramp-adb-handle-set-file-modes)
10670 (tramp-adb-handle-set-file-times): Flush the file properties of
10673 2015-08-14 Ronnie Schnell <ronnie@driver-aces.com>
10675 * doc/emacs/misc.text (Amusements): Fixed typo.
10677 2015-08-14 Eli Zaretskii <eliz@gnu.org>
10679 Don't miss warnings about removing string text properties while dumping
10680 * src/alloc.c (purecopy): Warn about removing a string's text
10681 properties even when the same string was already pure-copied
10683 * lisp/progmodes/elisp-mode.el (elisp--xref-format)
10684 (elisp--xref-format-extra): Fix the commentary.
10686 2015-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10688 * lisp/progmodes/sh-script.el (sh-mode): Handle .cshrc (bug#21049).
10690 2015-08-13 Magnus Henoch <magnus.henoch@gmail.com>
10692 * lisp/progmodes/compile.el: Use lexical-binding.
10693 (compilation-move-to-column): Assume 8-wide TABs (bug#21038).
10695 2015-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10697 (uniquify-ask-about-buffer-names-p): Remove, unused (bug#21037)
10698 * lisp/uniquify.el: Remove redundant `:group's.
10700 2015-08-13 Jürgen Hötzel <juergen@archlinux.org>
10702 * lisp/net/tramp-adb.el
10703 (tramp-adb-handle-directory-files-and-attributes): Make a copy of
10704 result to prevent modification of the tramp-cache by side effects.
10705 Use the correct cache key.
10707 2015-08-13 Paul Eggert <eggert@cs.ucla.edu>
10709 Make add_to_log varargs
10710 * src/alloc.c (run_finalizer_handler):
10711 * src/charset.c (load_charset_map_from_vector):
10712 * src/nsimage.m (ns_load_image):
10713 * src/xfaces.c (load_pixmap, load_color2):
10714 Simplify, now that add_to_log has a variable number of args.
10715 * src/image.c (image_error): Take a variable number of args.
10716 Callers simplified.
10717 * src/lisp.h (add_to_log, vadd_to_log): Adjust to new APIs.
10718 * src/xdisp.c (format_nargs, vadd_to_log): New functions.
10719 (add_to_log): Make varargs, and reimplement in terms of vadd_to_log.
10720 * src/xfaces.c (merge_face_ref): Fix typo that omitted color name.
10722 Optional args for holiday-greek-orthodox-easter
10723 * etc/NEWS: Document this.
10724 * lisp/calendar/holidays.el (holiday-greek-orthodox-easter):
10725 Add optional args N and STRING, mimicking the API and code of
10726 ‘holiday-easter-etc’. From suggestion by Foivos S. Zakkak (Bug#21256).
10728 2015-08-13 Stephen Leake <stephen_leake@stephe-leake.org>
10730 xref-find-definitions: Exclude more generic function items.
10731 * lisp/emacs-lisp/cl-generic.el (cl--generic-search-method):
10733 (cl--generic-find-defgeneric-regexp): New.
10734 (find-function-regexp-alist): Add it.
10735 * lisp/emacs-lisp/find-func.el (find-feature-regexp): Move here from
10736 elisp-mode.el, change to search for ";;; Code:"
10737 (find-alias-regexp): Move here from elisp-mode.el, cleaned up.
10738 (find-function-regexp-alist): Add them.
10739 * lisp/progmodes/elisp-mode.el:
10740 (elisp--xref-format, elisp--xref-format-extra): Change back to
10741 defvar due to bug#21237.
10742 (elisp--xref-find-definitions): Exclude co-located default methods for
10743 generic functions. Also exclude implicitly declared defgeneric.
10744 (elisp--xref-find-definitions): Handle C source properly. Exclude minor
10745 mode variables defined by 'define-minor-mode'.
10746 * test/automated/elisp-mode-tests.el: Declare generic functions, add
10748 (xref-elisp-test-run): Fix bug.
10749 (emacs-test-dir): Improve initial value.
10750 (find-defs-defun-defvar-el): Don't expect defvar.
10751 (find-defs-feature-el): Match change to find-feature-regexp.
10753 2015-08-13 Eli Zaretskii <eliz@gnu.org>
10755 Improve warning about purecopy of strings with properties
10756 * src/alloc.c (purecopy): Show the offending string with the
10757 warning about removing its text properties.
10759 2015-08-12 Alan Mackenzie <acm@muc.de>
10761 Introduce new macros to cover Emacs's new names in cl-lib.el
10762 This also eliminates `mapcan' warnings in XEmacs.
10763 * lisp/progmodes/cc-defs.el (c--mapcan-status): New variable to
10764 characterise [X]Emacs versions.
10765 (top-level): Require either 'cl or 'cl-lib, depending on
10767 Change this back to cc-external-require from an eval-when-compile
10769 (c--mapcan, c--set-difference, c--intersection, c--macroexpand-all)
10770 (c--delete-duplicates): New macros which expand into either old or new
10772 (c-make-keywords-re, c-lang-defconst, c-lang-const): Use the new macros
10773 rather than the old names.
10774 * lisp/progmodes/cc-engine.el (c-declare-lang-variables): Use c--mapcan
10775 rather than mapcan.
10776 * lisp/progmodes/cc-fonts.el (c-compose-keywords-list): Use c--mapcan.
10777 * lisp/progmodes/cc-langs.el (top-level): Require either 'cl or 'cl-lib,
10778 depending on c--mapcan-status.
10779 (c-filter-ops, c-all-op-syntax-tokens, c-assignment-op-regexp)
10780 (c-type-start-kwds, c-prefix-spec-kwds, c-specifier-key)
10781 (c-not-decl-init-keywords, c-not-primitive-type-keywords)
10782 (c-paren-any-kwds, c-<>-sexp-kwds, c-block-stmt-kwds, c-expr-kwds)
10783 (c-decl-block-key, c-keywords, c-keywords-obarray)
10784 (c-regular-keywords-regexp, c-primary-expr-regexp)
10785 (c-primary-expr-regexp, c-block-prefix-disallowed-chars)
10786 (c-known-type-key, c-nonlabel-token-key)
10787 (c-make-init-lang-vars-fun): Use the new macros rather than the old
10790 2015-08-12 Oleh Krehel <ohwoeowho@gmail.com>
10792 loadhist.el (read-feature): Conform to completing-read
10793 * lisp/loadhist.el (read-feature): According to `completing-read'
10794 documentation, if collection is a list, then it must be a list of
10795 strings, not a list of symbols like before.
10797 2015-08-12 David Kastrup <dak@gnu.org>
10799 Deal gracefully with up-events (Bug#19746)
10800 * src/keyboard.c (apply_modifiers_uncached, parse_solitary_modifier)
10801 (parse_modifiers_uncached): React gracefully to "up-" modifiers:
10802 those may easily be injected by user-level Lisp code.
10803 (read_key_sequence): Discard unbound up-events like unbound
10804 down-events: they are even more likely only relevant for special
10806 While Emacs will not produce up-events on its own currently (those are
10807 converted to drag or click events before being converted to
10808 Lisp-readable structures), the input queue can be made to contain them
10809 by synthesizing events to `unread-command-events'. Emacs should deal
10810 consistently with such events.
10812 2015-08-12 Eli Zaretskii <eliz@gnu.org>
10814 Fix display of thin lines whose newline has line-height property of t
10815 * src/xdisp.c (append_space_for_newline): Don't try to fix ascent
10816 and descent values of non-empty glyph rows, since they could have
10817 forced low values deliberately. (Bug#21243)
10819 2015-08-12 Richard Stallman <rms@gnu.org>
10821 Offer to combine multiple To or CC fields.
10822 * lisp/mail/sendmail.el (mail-combine-fields): New function.
10823 (mail-send): Call 'mail-combine-fields'.
10825 Don't decrypt encrypted files.
10826 * lisp/mail/mail-utils.el (mail-file-babyl-p): Bind epa-inhibit to t.
10828 Handle encrypted mbox files.
10829 * lisp/mail/rmailout.el (rmail-output-as-mbox): Decrypt and reencrypt
10830 the mbox file if necessary.
10832 Re-enable mime processing after decryption. Add 'decrypt' keyword.
10833 * lisp/mail/rmail.el (rmail-epa-decrypt-1): New subroutine.
10834 (rmail-epa-decrypt): rmail-epa-decrypt-1 broken out.
10835 In a mime message, reenable Mime and show the parts that
10837 Add keyword "decrypt" if anything decrypted.
10839 epa-inhibit inhibits auto-recognition of .gpg files
10840 * lisp/epa-file.el (epa-inhibit): New variable.
10841 (epa-file-handler): Check epa-inhibit.
10843 2015-08-12 Artur Malabarba <bruce.connor.am@gmail.com>
10845 * lisp/emacs-lisp/lisp-mnt.el (lm-header): Add save-excursion.
10847 2015-08-11 Fabián Ezequiel Gallina <fgallina@gnu.org>
10849 Respect python.el imenu when semantic-mode is off
10851 * lisp/cedet/semantic/wisent/python.el: Do not force
10852 wisent-python-default-setup on python-mode-hook.
10854 2015-08-11 Paul Eggert <eggert@cs.ucla.edu>
10856 Give names to Unicode code points in C code
10857 * src/character.h (NO_BREAK_SPACE, SOFT_HYPHEN)
10858 (ZERO_WIDTH_NON_JOINER, ZERO_WIDTH_JOINER, HYPHEN)
10859 (NON_BREAKING_HYPHEN, LEFT_SINGLE_QUOTATION_MARK)
10860 (RIGHT_SINGLE_QUOTATION_MARK, PARAGRAPH_SEPARATOR)
10861 (LEFT_POINTING_ANGLE_BRACKET, RIGHT_POINTING_ANGLE_BRACKET)
10862 (LEFT_ANGLE_BRACKET, RIGHT_ANGLE_BRACKET)
10863 (OBJECT_REPLACEMENT_CHARACTER):
10864 New named constants for Unicode code points.
10865 * src/bidi.c (bidi_fetch_char, CANONICAL_EQU):
10866 * src/composite.c (char_composable_p):
10867 * src/lread.c (readevalloop, read1):
10868 * src/xdisp.c (get_next_display_element):
10870 * src/doc.c (LEFT_SINGLE_QUOTATION_POINT):
10871 Remove; now in character.h.
10873 2015-08-11 Stephen Leake <stephen_leake@stephe-leake.org>
10875 elisp--xref-find-definitions handle cl-defstuct default constructor
10876 * lisp/progmodes/elisp-mode.el (elisp-xref-find): Add FIXME.
10877 (elisp--xref-format-extra): Rename from elisp--xref-format-cl-defmethod.
10878 (elisp--xref-find-definitions): Handle cl-defstuct default constructor.
10879 * test/automated/elisp-mode-tests.el (xref-elisp-test-run): Split out
10880 from xref-elisp-test for ease of debugging.
10881 (xref-elisp-deftest): Rename from xref-elisp-test.
10882 (find-defs-constructor): New test.
10883 (find-defs-defgeneric-el): Match batch test config.
10884 (compile): Required for find-defs compilation-minor-mode test.
10885 (find-defs-defvar-el): Match code change.
10886 (find-defs-face-el): Match code change.
10887 * lisp/progmodes/xref.el (xref-find-function, xref-find-definitions):
10888 Improve doc string.
10890 2015-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
10892 * lisp/replace.el (perform-replace): Document `replacements'.
10893 (perform-replace): Move the description of the format of `replacements'
10894 from the body's comment to the doc string.
10896 2015-08-11 Jürgen Hötzel <juergen@archlinux.org>
10898 * lisp/net/tramp-adb.el (tramp-adb-prompt): Match leading escape
10899 sequence. Recent adb version send initial escape sequences, even
10900 when terminal type is set to TERM=dumb.
10902 2015-08-10 Stephen Leake <stephen_leake@stephe-leake.org>
10904 Rewrite elisp--xref-find-definitions to handle many more cases; add tests
10905 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
10907 (elisp--xref-format-cl-defmethod): New defconst.
10908 (find-feature-regexp, find-alias-regexp): New defcustoms.
10909 (elisp--xref-make-xref): New function.
10910 (elisp--xref-find-definitions): Rewrite using the above, handle many
10911 more cases. Always output all available definitions.
10912 (xref-location-marker): No need for special cases.
10913 * test/automated/elisp-mode-tests.el: Add more tests of
10914 elisp--xref-find-definitions, improve current tests.
10916 2015-08-10 Eli Zaretskii <eliz@gnu.org>
10918 Fix recording of events pushed onto unread-command-events
10919 * src/keyboard.c (read_char): Make sure events read from
10920 unread-command-events and unread-post-input-method-events are
10921 always recorded by record_char. Reported by David Kastrup
10923 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00193.html.
10925 2015-08-10 Samer Masterson <samer@samertm.com>
10927 Set file buffer as current for "--file"
10928 * lisp/startup.el (command-line-1): Set file buffer as current before
10929 it is displayed so it can be used with options like "--eval".
10932 2015-08-10 Eli Zaretskii <eliz@gnu.org>
10934 Avoid setting LC_NUMERIC on MS-Windows to anything but "C"
10935 * src/emacs.c (synchronize_locale) [WINDOWSNT]: Call fixup_locale
10936 after setting LC_ALL to the desired locale, to avoid affecting how
10937 numbers are read and printed. (Bug#21223)
10939 2015-08-10 Alan Mackenzie <acm@muc.de>
10941 Fix "Invalid search bound (wrong side of point)" in fontification
10942 * lisp/progmodes/cc-fonts.el (c-font-lock-declarators): After skipping
10943 an initialization expression, check point is not beyond the
10944 fontification limit.
10946 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
10948 Fix DPI calculation when Xft/DPI is default
10949 * src/xsettings.c (parse_settings): Don't use Xft/DPI default
10950 value of -1, which evaluates to 2**32 - 1 (Bug#21152).
10951 Remove unnecessary cast while we're in the neighborhood.
10953 2015-08-09 Dmitry Gutov <dgutov@yandex.ru>
10955 Add project-vc-search-path and project-vc-ignores
10956 * lisp/progmodes/project.el (project-vc): New group.
10957 (project-vc-search-path, project-vc-ignores): New variables.
10958 (project--value-in-dir): Utility function.
10959 (project-search-path, project-ignores): Use them.
10960 * lisp/progmodes/xref.el (xref--rgrep-command): Only replace `./'
10961 at bos. Don't add extra `/'. Don't prepend with `*' if replaced.
10963 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
10965 Fix some minor quoting issues with grave accent
10966 * src/dispnew.c (add_window_display_history) [GLYPH_DEBUG]:
10967 Remove redundant quotes.
10968 * src/doc.c (uLSQM, uRSQM): New macros.
10969 * src/doc.c (Fsubstitute_command_keys):
10970 * src/syntax.c (Finternal_describe_syntax_value): Follow the user
10971 preference for quotes rather than hardcoding the ‘grave’ style.
10972 * src/regex.c (PUSH_FAILURE_POINT, POP_FAILURE_POINT)
10973 (re_match_2_internal) [DEBUG]: In debugging output, quote C
10974 strings with "...", not `...'.
10976 ChangeLog.2 ignores remote-tracking merges
10977 * build-aux/gitlog-to-emacslog: Ignore commit logs matching
10978 "Merge remote-tracking branch '.*'" too. See Eli Zaretskii in:
10979 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00384.html
10981 2015-08-09 Nicolas Richard <youngfrog@members.fsf.org>
10983 Use kpsewhich in ffap-latex-mode, if available
10984 * lisp/ffap.el (ffap-latex-guess-rules): New variable.
10985 (ffap-latex-mode): Use kpsewhich if available.
10987 ffap: disallow braces in filenames for tex modes
10988 * lisp/ffap.el (ffap-string-at-point-mode-alist): Don't allow
10989 braces in tex-related modes.
10991 Remove useless backslashes from ffap-string-at-point-mode-alist
10992 * lisp/ffap.el (ffap-string-at-point-mode-alist): Remove useless and
10993 misleading backslashes from default value.
10995 Augment docstring of ffap-string-at-point-mode-alist
10996 * lisp/ffap.el (ffap-string-at-point-mode-alist): Describe how BEG
10997 and END are handled.
10999 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
11001 * lisp/org/org-src.el (org-edit-src-code)
11002 (org-edit-fixed-width-region):
11003 * lisp/simple.el (completion-setup-function):
11004 Remove calls to substitute-command-keys that always just return
11007 2015-08-09 Daiki Ueno <ueno@gnu.org>
11009 * lisp/epa.el (epa-exit-buffer-function): Set to `quit-window'.
11012 2015-08-09 Ivan Kanis <ivan@kanis.fr>
11014 Fix link to source code in help window
11015 * lisp/help-fns.el (find-lisp-object-file-name): Remove code that
11016 will never work due to Glenn Morris change a6d63d9 on Apr 20 2013
11017 'No longer include timestamp in header of .elc files'. Add code
11018 that will return .el source file in load-path.
11020 2015-08-09 Artur Malabarba <bruce.connor.am@gmail.com>
11022 * lisp/isearch.el (isearch-search-fun-default): (Bug#21164)
11023 Respect `isearch-lax-whitespace' when searching through
11026 2015-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
11028 * test/automated/ert-tests.el (ert-test-deftest): Add FIXME.
11030 * org.el: Fix up some lexical scoping warnings, and use dolist
11031 * lisp/org/org.el (org-set-regexps-and-options-for-tags, org-goto-map)
11032 (org-set-regexps-and-options, org-assign-fast-keys)
11033 (org-contextualize-keys, org-contextualize-validate-key)
11034 (org-notes-order-reversed-p, org-local-logging, org-map-entries)
11035 (org-find-olp, org-find-exact-heading-in-directory)
11036 (org-cycle-agenda-files, org-release-buffers, org-fill-template)
11037 (org-agenda-prepare-buffers, org-occur-in-agenda-files)
11038 (org-replace-escapes): Use dolist.
11039 (org-mode): Optimize away XEmacs-only code.
11040 (org-refile-get-targets): Remove unused var `f'.
11041 (org-fast-todo-selection): Remove unused var `e'.
11042 (org-make-tags-matcher): Use dolist. Remove unused var `term'.
11043 (org-fast-tag-selection): Use dolist. Remove unused var `e'.
11044 (org-format-latex): Use dolist. Remove unused var `e'.
11045 (org-toggle-heading): Access vars lexically rather than dynamically.
11046 (org-backward-sentence, org-forward-sentence, org-meta-return)
11047 (org-kill-line): Mark arg as unused.
11048 (org-submit-bug-report): Silence compiler warning.
11049 (org-occur-in-agenda-files): Don't use add-to-list on local vars.
11050 (org-get-cursor-date): Remove unused var `tm'.
11051 (org-comment-or-uncomment-region): Use standard name `_'.
11052 (reftex-docstruct-symbol, reftex-cite-format): Declare to
11053 silence byte-compiler.
11054 (org-reftex-citation): Add `org--' prefix to dynamically scoped
11057 2015-08-08 Paul Eggert <eggert@cs.ucla.edu>
11059 Electric quote if coding is undecided or no conv
11060 * lisp/electric.el (electric--insertable-p): Also say that a
11061 string is insertable if the buffer file coding system is undecided
11062 or uses no conversion, as curved quotes will work in either case.
11064 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Simplify configuration.
11066 2015-08-08 Eli Zaretskii <eliz@gnu.org>
11068 Fix overlay string display regressions introduced in Emacs 24.5
11069 * src/xdisp.c (pop_it): Reset the flag to ignore overlays at this
11070 buffer position, if we move the iterator to a new position as
11071 result of jumping over text covered by a "replacing" display
11073 * test/redisplay-testsuite.el (test-redisplay-4): Add 2 new tests.
11075 Support recovery from C stack overflow on MS-Windows
11076 * src/w32fns.c (w32_reset_stack_overflow_guard)
11077 (stack_overflow_handler): New functions for handling C stack
11078 overflow exceptions.
11079 (my_exception_handler): Handle EXCEPTION_STACK_OVERFLOW exceptions
11080 specially, and zero out except_addr if we do.
11081 (globals_of_w32fns): Initialize dwMainThreadId in non-interactive
11083 * src/sysdep.c [HAVE_STACK_OVERFLOW_HANDLING]: Add !WINDOWSNT to
11084 the condition, as HAVE_STACK_OVERFLOW_HANDLING is now defined for
11085 the MinGW build, but the code guarded by that is for Posix hosts.
11086 * src/keyboard.c (command_loop) [WINDOWSNT]:
11087 Call w32_reset_stack_overflow_guard.
11088 * nt/inc/ms-w32.h (sigjmp_buf): New typedef.
11089 (sigsetjmp): New macro.
11090 (w32_reset_stack_overflow_guard): Declare the prototype.
11091 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Set to 1 for MinGW.
11093 2015-08-07 Phillip Lord <phillip.lord@newcastle.ac.uk>
11095 Improve error signalling for seq-subseq
11096 * lisp/seq.el (seq-subseq): The existing behavior is to error
11097 when indexes are too large, but to silently ignore numbers which
11098 are too negative for lists. String and vector handling errors in
11099 both cases. This has been regularized. Error signaling behavior
11100 has been explicitly added to the doc string.
11102 * lisp/cl-extra.el (cl-subseq): Defers to (seq-subseq) and is
11103 therefore also impacted by this change. Update the doc string
11106 * test/automated/seq-tests.el (test-seq-subseq): Tests have been
11107 added for these exceptional cases, as well as one non exceptional
11110 2015-08-07 Jürgen Hötzel <juergen@archlinux.org>
11112 Improve error checking in tramp-adb.el
11113 * lisp/net/tramp-adb.el (tramp-adb-ls-output-name-less-p):
11114 Improve error checking. "ls -l" on Android in Enforcing mode can
11115 print "lstat './FILENAME failed: Permission denied".
11117 2015-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
11119 * lisp/emacs-lisp/cl-generic.el (cl--generic-struct-tag): Don't burp on
11120 non-struct vectors.
11122 2015-08-07 Stephen Leake <stephen_leake@stephe-leake.org>
11124 Fix typo in lisp/window.el, more `display-buffer-use-some-frame'
11125 * lisp/window.el: Fix typo that broke build.
11126 (display-buffer--action-function-custom-type):
11127 Add `display-buffer-use-some-frame'.
11128 (display-buffer): Add `display-buffer-use-some-frame' to doc string.
11130 Add support for 'inhibit-same-window in 'display-buffer-use-some-frame'
11131 * lisp/window.el (display-buffer-use-some-frame): Add support for
11132 'inhibit-same-window in alist.
11133 * doc/windows.texi (display-buffer-use-some-frame): Doc support for
11134 'inhibit-same-window in alist.
11136 2015-08-07 Eli Zaretskii <eliz@gnu.org>
11138 Avoid infinite loop in display of invisible text in strings
11139 * src/xdisp.c (handle_invisible_prop): If the next change of
11140 invisibility spec does not mean the beginning of a visible text,
11141 update the string position from which to start the search for the
11142 next invisibility change. This avoids an infinite loop when we
11143 have more than one invisibility spec that are made inactive by
11144 buffer-invisibility-spec. Simplify code. (Bug#21200)
11145 * test/redisplay-testsuite.el (test-redisplay-4): Add a test case
11146 for the situation that caused bug #21200.
11148 2015-08-06 Artur Malabarba <bruce.connor.am@gmail.com>
11150 * lisp/emacs-lisp/package.el: Simplify describe-package-1
11151 (package-help-section-name-face): New face.
11152 (package--print-help-section): New function.
11153 (describe-package-1): Refactor section printing.
11154 (package-make-button): Use face instead of font-lock-face, which
11155 doesn't work on buttons.
11157 * lisp/emacs-lisp/package.el: Define custom faces
11158 (package-name-face, package-description-face)
11159 (package-status-built-in-face, package-status-external-face)
11160 (package-status-available-face, package-status-new-face)
11161 (package-status-held-face, package-status-disabled-face)
11162 (package-status-installed-face, package-status-dependency-face)
11163 (package-status-unsigned-face, package-status-incompat-face)
11164 (package-status-avail-obso-face): New faces.
11165 (package-menu--print-info-simple): Use them.
11167 2015-08-05 Paul Eggert <eggert@cs.ucla.edu>
11169 Fix some confusion with ‘format’
11170 * lisp/allout-widgets.el (allout-widgets-before-change-handler)
11171 (allout-graphics-modification-handler):
11172 Protect arbitrary string in a format context with "%s" format.
11174 * lisp/cedet/semantic/bovine/scm.el: Fix comment.
11175 * lisp/calendar/icalendar.el (icalendar--convert-sexp-to-ical):
11176 * lisp/erc/erc-button.el (erc-button-beats-to-time):
11177 * lisp/gnus/message.el (message-send-form-letter):
11178 * lisp/org/ob-core.el (org-babel-check-evaluate)
11179 (org-babel-confirm-evaluate):
11180 * lisp/org/ob-fortran.el (org-babel-fortran-var-to-fortran):
11181 * lisp/org/ox-latex.el (org-latex-compile):
11182 * lisp/org/ox-man.el (org-man-compile):
11183 * lisp/org/ox-odt.el (org-odt-template):
11184 * lisp/org/ox-texinfo.el (org-texinfo-compile):
11185 * lisp/progmodes/prolog.el (prolog-help-info)
11186 (prolog-view-predspec):
11187 * lisp/progmodes/ruby-mode.el (ruby-parse-partial):
11188 * lisp/progmodes/verilog-mode.el (verilog-showscopes):
11189 * lisp/textmodes/rst.el (rst-replace-lines):
11190 Change (message (format ...)) to (message ...), and likewise
11191 for ‘error’. This lessens the probability of confusion when the
11192 output of ‘format’ contains ‘%’.
11194 2015-08-05 Artur Malabarba <bruce.connor.am@gmail.com>
11196 * lisp/replace.el (replace-character-fold): Default to nil.
11198 * lisp/character-fold.el: Fix lax whitespace.
11199 (character-fold-table): Don't make space match other whitespace chars.
11200 (character-fold-to-regexp): Simplify lax behavior.
11202 2015-08-05 Dmitry Gutov <dgutov@yandex.ru>
11204 Preserve window point in xref-find-definitions-other-window
11205 Fix the problem reported by Ingo Logmar in
11206 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00152.html
11207 * lisp/progmodes/xref.el (xref--goto-char): Extract from
11208 xref--goto-location.
11209 (xref--pop-to-location): Use it. Replace xref--goto-location with
11210 a direct xref-location-marker call.
11211 (xref--show-location): Likewise.
11212 (xref--display-position): Use xref--goto-char.
11214 * lisp/progmodes/project.el: Add a paragraph to the front matter.
11216 2015-08-04 David Kastrup <dak@gnu.org>
11218 * lisp/vc/emerge.el (emerge-show-file-name):
11219 * lisp/progmodes/vhdl-mode.el (vhdl-electric-dash)
11220 (vhdl-comment-insert, vhdl-hooked-abbrev):
11221 * lisp/progmodes/octave.el (inferior-octave-dynamic-list-input-ring):
11222 * lisp/progmodes/fortran.el (fortran-window-create-momentarily):
11223 * lisp/progmodes/ebrowse.el (ebrowse-hack-electric-buffer-menu):
11224 * lisp/progmodes/cperl-mode.el (cperl-putback-char):
11225 * lisp/obsolete/vip.el (vip-escape-to-emacs)
11226 (vip-prefix-arg-value, vip-prefix-arg-com):
11227 * lisp/obsolete/terminal.el (te-escape-extended-command-unread):
11228 * lisp/leim/quail/tibetan.el (quail-tibetan-update-translation)
11229 (quail-tibkey-update-translation):
11230 * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
11231 * lisp/leim/quail/lao.el (quail-lao-update-translation):
11232 * lisp/leim/quail/japanese.el (quail-japanese-update-translation)
11233 (quail-japanese-self-insert-and-switch-to-alpha):
11234 * lisp/leim/quail/hangul.el (hangul2-input-method)
11235 (hangul3-input-method, hangul390-input-method):
11236 * lisp/language/hanja-util.el (hangul-to-hanja-char):
11237 * lisp/international/robin.el (robin-input-method):
11238 * lisp/international/quail.el (quail-start-translation)
11239 (quail-start-conversion):
11240 * lisp/gnus/gnus-art.el (gnus-article-describe-key)
11241 (gnus-article-describe-key-briefly):
11242 * lisp/eshell/em-hist.el (eshell-list-history):
11243 * lisp/term.el (term-dynamic-list-input-ring)
11244 (term-dynamic-list-completions):
11245 * lisp/subr.el (momentary-string-display):
11246 * lisp/simple.el (read-quoted-char):
11247 * lisp/pcomplete.el (pcomplete-show-completions):
11248 * lisp/kmacro.el (kmacro-repeat-on-last-key):
11249 * lisp/info.el (Info-summary):
11250 * lisp/ehelp.el (electric-help-command-loop):
11251 * lisp/ebuff-menu.el (electric-buffer-list)
11252 (Electric-buffer-menu-exit):
11253 * lisp/double.el (double-translate-key):
11254 * lisp/comint.el (comint-dynamic-list-input-ring)
11255 (comint-dynamic-list-completions): Do not overwrite preexisting
11256 contents of `unread-command-events' when putting new events into it.
11258 2015-08-04 Daniel Colascione <dancol@dancol.org>
11260 Improve ansi-color filtering of unrecognized escape sequences
11261 * lisp/ansi-color.el (ansi-color-drop-regexp): Recognize mode-setting
11263 (ansi-color-filter-apply, ansi-color-apply): Filter out
11264 unrecognized escape sequences.
11266 2015-08-04 Artur Malabarba <bruce.connor.am@gmail.com>
11268 * lisp/emacs-lisp/package.el (package-menu-mode-map): Convert menu
11269 definitions to `easy-menu-define', improve a couple to account for
11270 async, and add a couple of new commands.
11272 2015-08-03 Jürgen Hötzel <juergen@archlinux.org>
11274 * lisp/net/tramp-cache.el (tramp-set-file-property): Fix code typo.
11276 2015-08-03 Ingo Lohmar <i.lohmar@gmail.com>
11278 Add new 'calendar-weekend-days' option
11279 Make the days receiving the 'calendar-weekend-header' face freely
11280 customizable, as they differ by region/culture.
11281 * doc/emacs/calendar.texi (Move to Beginning or End): Document the
11283 * lisp/calendar/calendar.el (calendar-generate-month): New variable
11284 calendar-weekend-days to customize day header fontification.
11286 2015-08-03 Paul Eggert <eggert@cs.ucla.edu>
11288 Redo text-quoting-style variable
11289 Rename help-quote-translation to text-quoting-style,
11290 and use symbols rather than characters as values.
11291 This follows suggestions along these lines by Alan Mackenzie in:
11292 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00343.html
11293 and by Drew Adams in:
11294 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00048.html
11295 * doc/lispref/help.texi (Keys in Documentation)
11297 * lisp/cus-start.el (standard):
11298 * src/doc.c (Fsubstitute_command_keys, syms_of_doc):
11299 Document and/or implement the new behavior instead of the old.
11300 (syms_of_doc): New symbols 'grave' and 'straight'.
11302 2015-08-03 Nikolaus Rath <Nikolaus@rath.org>
11304 nnimap.el: Use IMAP MOVE extension if available
11305 * lisp/gnus/nnimap.el (nnimap-request-move-article)
11306 (nnimap-process-expiry-targets, nnimap-split-incoming-mail):
11307 Use MOVE extension if available.
11309 nnimap.el: Explicitly ask for server capabilities
11310 * lisp/gnus/nnimap.el (nnimap-open-connection-1): Don't assume full
11311 capabilities will be returned in the login-result.
11313 2015-08-02 Paul Eggert <eggert@cs.ucla.edu>
11315 Treat help strings like other doc strings
11316 * doc/lispref/text.texi (Special Properties), etc/NEWS: Document this.
11317 * lisp/epa.el (epa--select-keys): Remove no-longer-needed calls to
11318 substitute-command-keys.
11319 * src/keyboard.c (show_help_echo, parse_menu_item): Call
11320 substitute-command-keys on the help string before displaying it.
11322 Also mention "curly quotes"
11323 See Drew Adams's email in:
11324 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00040.html
11325 * doc/lispref/help.texi (Keys in Documentation):
11326 Add index entry "curly quotes".
11327 * etc/NEWS: Use the phrase "curly quotes" too.
11329 ede-proj-target-makefile docstring tweaks
11330 * lisp/cedet/ede/proj.el (ede-proj-target-makefile):
11331 Consistently use "all:" to describe the all: target,
11332 replacing three different and confusingly-quoted usages.
11334 2015-08-02 Evgeny Fraimovitch <johnlen7@gmail.com> (tiny change)
11336 Don't abort emacsclientw when -a was specified
11337 * lib-src/emacsclient.c (set_tcp_socket) [WINDOWSNT]: Don't error
11338 out if we are in emacsclientw and -a was specified.
11340 2015-08-02 Eli Zaretskii <eliz@gnu.org>
11342 Fix handling of 1st keystroke on MS-Windows
11343 * src/w32fns.c (globals_of_w32fns): Initialize after_deadkey to -1.
11344 This is needed to correctly handle the session's first keystroke,
11345 if it has any modifiers. (Bug#19994)
11347 2015-08-02 Paul Eggert <eggert@cs.ucla.edu>
11349 Substitute some customization etc. doc strings
11350 These changes apply substitute-command-keys to some
11351 doc strings that were going through untranslated
11352 when creating customization or other widgets.
11353 * lisp/cus-edit.el (custom-group-value-create):
11354 * lisp/wid-edit.el (widget-default-create):
11355 (widget-push-button-value-create):
11356 Treat the widget tag as a doc string.
11357 * lisp/emacs-lisp/cl-extra.el (cl--describe-class-slot):
11358 Treat the :documentation value as a doc string.
11359 * lisp/wid-edit.el (widget-choose):
11360 Treat the choice names as doc strings.
11361 (widget-default-create): Treat the :doc value as a doc string.
11362 (widget-toggle-value-create): Treat the :on and :off values
11364 (widget-documentation-string-value-create):
11365 Substitute the doc string.
11367 2015-08-01 Dmitry Gutov <dgutov@yandex.ru>
11369 Add a second argument to project-ignores
11370 * lisp/progmodes/project.el (project-ignores): Add a second
11372 * lisp/progmodes/project.el (project-ignores): Only include the VC
11373 ignores if DIR is the VC root.
11374 * lisp/progmodes/xref.el (xref-find-regexp): Update accordingly.
11376 2015-08-01 Eli Zaretskii <eliz@gnu.org>
11378 Prevent incorrect display when 'line-spacing' variable is set
11379 * src/xdisp.c (try_window_id): Give up this optimization if the
11380 buffer has its 'line-spacing' variable set non-nil.
11382 2015-08-01 Dmitry Gutov <dgutov@yandex.ru>
11384 Don't pass NOVISIT to find-file
11385 * lisp/progmodes/etags.el (next-file):
11386 Don't pass NOVISIT to find-file (bug#21175).
11388 Ignore buffer restriction for tags-loop-eval
11389 * lisp/progmodes/etags.el (tags-loop-continue): Ignore buffer
11390 restriction (bug#21167).
11392 2015-08-01 Eli Zaretskii <eliz@gnu.org>
11394 Fix a thinko in 'ffap-gopher-at-point'
11395 * lisp/ffap.el (ffap-gopher-at-point): Fix last change. (Bug#21168)
11397 Honor 'line-spacing' for empty lines
11398 * src/xdisp.c (append_space_for_newline): Honor 'line-height'
11399 property and 'line-spacing' frame parameter or variable or
11400 property for empty lines, by doing the same processing as in
11401 x_produce_glyph for newline characters. (Bug#21165)
11403 2015-08-01 Paul Eggert <eggert@cs.ucla.edu>
11405 Simplify by assuming C99 integer division
11406 * src/floatfns.c (ceiling2, floor2, truncate2):
11407 Assume C99 (i.e., Fortran) semantics for integer division.
11408 This simplifies the code.
11410 2015-07-31 Paul Eggert <eggert@cs.ucla.edu>
11412 Don't overflow if computing approximate percentage
11413 * lisp/align.el (align-region):
11414 * lisp/cedet/semantic.el (semantic-repeat-parse-whole-stream):
11415 * lisp/cedet/semantic/wisent.el (wisent-parse-region):
11416 * lisp/cus-edit.el (custom-buffer-create-internal):
11417 * lisp/emacs-lisp/checkdoc.el (checkdoc-interactive-ispell-loop)
11418 (checkdoc-message-interactive-ispell-loop, checkdoc-next-error)
11419 (checkdoc-next-message-error):
11420 * lisp/emacs-lisp/eieio-opt.el (eieio-display-method-list):
11421 * lisp/epa.el (epa-progress-callback-function):
11422 * lisp/erc/erc-dcc.el (erc-dcc-do-LIST-command):
11423 * lisp/ffap.el (ffap-menu-rescan):
11424 * lisp/gnus/nnbabyl.el (nnbabyl-retrieve-headers):
11425 * lisp/gnus/nndiary.el (nndiary-retrieve-headers):
11426 * lisp/gnus/nneething.el (nneething-retrieve-headers):
11427 * lisp/gnus/nnmbox.el (nnmbox-retrieve-headers):
11428 * lisp/gnus/nnmh.el (nnmh-retrieve-headers):
11429 * lisp/gnus/nnml.el (nnml-retrieve-headers):
11430 * lisp/gnus/nnspool.el (nnspool-retrieve-headers):
11431 * lisp/gnus/nntp.el (nntp-retrieve-headers)
11432 (nntp-retrieve-articles):
11433 * lisp/imenu.el (imenu--relative-position):
11434 * lisp/international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11435 (skkdic-convert-okuri-nasi):
11436 * lisp/net/ange-ftp.el (ange-ftp-process-handle-hash):
11437 * lisp/nxml/rng-valid.el (rng-compute-mode-line-string):
11438 * lisp/org/org-list.el (org-update-checkbox-count):
11439 * lisp/org/org.el (org-table-map-tables)
11440 (org-update-parent-todo-statistics):
11441 * lisp/play/decipher.el (decipher-insert-frequency-counts)
11442 (decipher-analyze-buffer):
11443 * lisp/profiler.el (profiler-format-percent):
11444 * lisp/progmodes/cc-cmds.el (c-progress-update):
11445 * lisp/progmodes/cpp.el (cpp-highlight-buffer):
11446 * lisp/progmodes/idlwave.el (idlwave-convert-xml-system-routine-info)
11447 (idlwave-list-load-path-shadows):
11448 * lisp/progmodes/opascal.el (opascal-step-progress):
11449 * lisp/progmodes/vhdl-mode.el (vhdl-update-progress-info)
11450 (vhdl-scan-directory-contents):
11451 * lisp/textmodes/bibtex.el (bibtex-progress-message):
11452 * lisp/textmodes/flyspell.el (flyspell-small-region)
11453 (flyspell-external-point-words):
11454 * lisp/textmodes/table.el (table-recognize):
11455 Prefer (floor (* 100.0 NUMERATOR) DENOMINATOR) when calculating
11456 progress-report percentages and the like. This avoids problems
11457 if (* 100 NUMERATOR) would overflow.
11458 * lisp/gnus/gnus-registry.el (gnus-registry-import-eld):
11459 * lisp/gnus/registry.el (registry-reindex):
11460 Use (* 100.0 ...) rather than (* 100 ...) to avoid int overflow issues.
11461 * lisp/descr-text.el (describe-char):
11462 * lisp/org/org-colview.el (org-nofm-to-completion):
11463 * lisp/ps-print.el (ps-plot):
11464 * lisp/simple.el (what-cursor-position):
11465 Prefer (round (* 100.0 NUMERATOR) DENOMINATOR) to a
11466 more-complicated and less-accurate approximation.
11468 Fix some int overflows in profiler.c
11469 * src/profiler.c (make_log): Make args EMACS_INT, not int,
11470 to avoid unwanted behavior on 'int' overflow.
11471 (make_log, evict_lower_half, record_backtrace):
11472 Use ptrdiff_t, not int, for object indexes.
11474 Port to pedantic memcpy
11475 * src/keyboard.c (menu_bar_items, tool_bar_items):
11476 * src/xrdb.c (magic_db):
11477 Port to pedantic memcpy implementations that reject memcpy (0, 0, 0).
11481 2015-07-29 time_rz: port to pedantic memcpy
11482 * lib/time_rz.c: Copy from gnulib.
11484 2015-07-31 Artur Malabarba <bruce.connor.am@gmail.com>
11486 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
11487 When updating the very last entry, tabulated-list-print would
11488 erase it and then try to look at the next one (which obviously
11491 2015-07-31 Eli Zaretskii <eliz@gnu.org>
11493 Allow to use the old key processing code on MS-Windows
11494 * src/w32fns.c (syms_of_w32fns) <w32-use-fallback-wm-chars-method>:
11496 (w32_wnd_proc): Use it to invoke the old code that processed
11497 character keys, as fallback, when this variable is non-nil.
11498 Fix typos in comments. (Bug#19994)
11500 2015-07-31 Ilya Zakharevich <ilya@math.berkeley.edu>
11502 Improve handling of Unicode keyboard input on MS-Windows
11503 * src/w32fns.c (get_wm_chars, deliver_wm_chars): New functions.
11504 (FPRINTF_WM_CHARS) [DEBUG_WM_CHARS]: New macro for debugging.
11505 (w32_wnd_proc): Call deliver_wm_chars to process non-special keys
11506 upon receiving WM_KEYDOWN or WM_SYSKEYDOWN messages. If that is
11507 successful, don't call TranslateMessage. (Bug#19994)
11509 2015-07-30 Dmitry Gutov <dgutov@yandex.ru>
11511 Fix default-directory in changeset diffs after vc-print-log
11512 * lisp/vc/log-view.el (log-view-diff-common): Move the
11513 revision-granularity check back into log-view-diff-changeset.
11514 (log-view-diff-changeset): Bind default-directory to the current
11517 Rename project-directories to project-roots
11518 * lisp/progmodes/project.el (project-search-path-function)
11519 (project-search-path): Update the docstring.
11520 (project-directories): Rename to `project-roots', update all
11521 callers and implementations accordingly.
11522 (project-root): Remove.
11523 * lisp/progmodes/xref.el (xref-find-regexp): Use * instead of *.*
11524 as the default file mask.
11526 2015-07-30 Eli Zaretskii <eliz@gnu.org>
11528 Support long URLs in w32-shell-execute
11529 * src/w32fns.c (Fw32_shell_execute): Don't use filename_to_utf16
11530 and filename_to_ansi to convert the DOCUMENT argument, as it could
11531 be a URL that is not limited to MAX_PATH characters. Instead, use
11532 MultiByteToWideChar directly, and allocate heap storage as
11533 required to accommodate the converted string. Likewise with
11534 non-Unicode operation. Ensure OPERATION is null-terminated, even
11535 if it is longer than 32K bytes. (Bug#21158)
11537 2015-07-30 Stephen Leake <stephen_leake@stephe-leake.org>
11539 * lisp/vc/vc-mtn.el (vc-mtn-find-revision): Handle null rev.
11541 2015-07-29 Stephen Leake <stephen_leake@stephe-leake.org>
11543 Add docs for display-buffer action display-buffer-use-some-frame
11544 * lisp/window.el (display-buffer-use-some-frame): Improve doc string.
11545 * doc/lispref/windows.texi (Display Action Functions):
11546 Add display-buffer-use-some-frame.
11547 * etc/NEWS: Mention display-buffer-use-some-frame.
11549 Add display-buffer action display-buffer-use-some-frame
11550 * lisp/window.el (display-buffer-use-some-frame): New.
11552 Handle vc-mtn error more gently
11553 * lisp/vc/vc-mtn.el (vc-mtn-mode-line-string): Return "" when
11556 2015-07-29 Michael Albinus <michael.albinus@gmx.de>
11558 Fix Tramp problems with multihops, and nc
11559 * lisp/net/tramp-cache.el (tramp-get-file-property)
11560 (tramp-set-file-property, tramp-flush-file-property)
11561 (tramp-get-connection-property, tramp-set-connection-property)
11562 (tramp-flush-connection-property): Remove hop from vector.
11563 * lisp/net/tramp-gw.el (tramp-gw-process-filter): Ignore errors.
11564 * lisp/net/tramp-sh.el (tramp-methods) <nc>: Separate STDERR.
11565 (tramp-do-copy-or-rename-file-out-of-band): Increase timeout of
11567 (tramp-sh-handle-start-file-process): Do not show hops in prompt.
11568 * lisp/net/tramp.el (tramp-handle-file-name-as-directory)
11569 (tramp-handle-file-name-directory, tramp-handle-file-remote-p):
11570 Keep hop in result.
11571 * test/automated/tramp-tests.el (tramp-test02-file-name-dissect):
11574 2015-07-29 Eli Zaretskii <eliz@gnu.org>
11576 Resurrect highlighting of repeated words by Flyspell Mode
11577 * lisp/textmodes/flyspell.el (flyspell-word): Leave some non-word
11578 characters between point and the doublon candidate, so that
11579 flyspell-word-search-backward finds it. (Bug#21157)
11581 Fix redisplay of large images on expose events
11582 * src/xdisp.c (expose_window, expose_area): Avoid comparisons
11583 between signed negative values and unsigned values. This
11584 prevented redisplay on expose events when the window showed a very
11587 2015-07-29 Paul Eggert <eggert@cs.ucla.edu>
11589 Remove unnecessary stack overflow dependency
11590 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING):
11591 Don't worry about $ac_cv_header_sys_resource_h and
11592 $ac_cv_func_getrlimit, as they're no longer needed for this.
11593 Problem reported by Eli Zaretskii in:
11594 http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00443.html
11596 2015-07-28 Andy Moreton <andrewjmoreton@gmail.com> (tiny change)
11598 Pacify compilation -Wincompatible-pointer-types warnings
11599 * src/w32proc.c (Fw32_get_codepage_charset): Avoid compilation
11601 (CompareStringW_Proc): New typedef.
11602 (w32_compare_strings): Use it, to pacify compiler warnings under
11603 "-Wincompatible-pointer-types".
11604 * src/w32fns.c (GetDiskFreeSpaceExW_Proc)
11605 (GetDiskFreeSpaceExA_Proc): New typedefs.
11606 (Ffile_system_info): Use them, to pacify compiler warnings under
11607 "-Wincompatible-pointer-types".
11609 2015-07-28 Paul Eggert <eggert@cs.ucla.edu>
11611 Fix subscript error in calculate_direct_scrolling
11612 Use slightly-longer cost vectors. Without this change,
11613 calculate_direct_scrolling can have a subscript violation when
11614 FRAME_LINES (frame) <= delta.
11615 * src/scroll.c (calculate_scrolling, calculate_direct_scrolling)
11616 (line_ins_del, do_line_insertion_deletion_costs):
11617 Allocate and use slightly-larger cost vectors, ones based on
11618 FRAME_TOTAL_LINES instead of FRAME_LINES.
11620 Fix uninitalized value in encode_coding_object
11621 * src/coding.c (encode_coding_object): Also initialize
11622 coding->src_pos and coding->src_pos_byte when NILP (src_object).
11623 This avoids later use of uninitialized storage.
11625 2015-07-27 Xue Fuqiao <xfq.free@gmail.com>
11627 * doc/lispref/variables.texi (Variable Aliases): Typo fix.
11630 2015-07-27 Paul Eggert <eggert@cs.ucla.edu>
11634 2015-07-27 time_rz: port better to MinGW
11635 2015-07-27 time: port __need_time_t to MinGW
11636 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
11637 * lib/strftime.c, lib/time.in.h, lib/time_rz.c: Copy from gnulib.
11638 * lib/time-internal.h: New file, from gnulib.
11640 2015-07-27 Eli Zaretskii <eliz@gnu.org>
11642 Handle NULL pointers in w32heap.c allocation routines
11643 * src/w32heap.c (FREEABLE_P): Consider a NULL pointer "not
11645 (realloc_after_dump, realloc_before_dump, free_before_dump):
11646 Handle NULL pointers gracefully, as Emacs now seems to expect that.
11648 Fix Cairo build without PNG
11649 * src/image.c: Define PNG function when USE_CAIRO is defined, even
11650 if HAVE_PNG is not. (Bug#21133)
11652 MS-Windows follow-up for recent TZ-related changes
11653 * nt/mingw-cfg.site (ac_cv_header_pthread_h)
11654 (gl_cv_sys_struct_timespec_in_pthread_h): Force to "no", to avoid
11655 picking up 'struct timespec' from pthread.h, if it is installed on
11656 the user's system. We want either the definitions from MinGW
11657 system headers, if available, or the Gnulib replacements if not.
11658 * nt/inc/ms-w32.h <struct timespec>: Don't define, as we now use
11660 * lib/time.in.h: Don't let __need_* symbols affect what happens on
11661 MinGW. These symbols are defined by MinGW system headers, but we
11662 don't want that to affect whether Gnulib portions of the header
11663 are or aren't used.
11665 2015-07-26 Paul Eggert <eggert@cs.ucla.edu>
11667 * src/ftfont.c (ftfont_close): Add comment re Bug#20890.
11669 New optional ZONE arg for format-time-string etc.
11670 This simplifies time conversions in other time zones.
11671 It also prevents display-time-world tampering with TZ (Bug#21020).
11672 * admin/admin.el (add-release-logs):
11673 Use improved add-log-time-format API.
11674 * admin/merge-gnulib (GNULIB_MODULES): Add time_rz, timegm.
11675 (GNULIB_TOOL_FLAGS): Avoid flexmember, setenv, unsetenv.
11676 * configure.ac (tzalloc): Remove test for this, since
11677 Emacs no longer uses HAVE_TZALLOC directly.
11678 * doc/lispref/os.texi (Time of Day, Time Conversion)
11680 * etc/NEWS: Document the new behavior.
11681 Merge from gnulib, incorporating:
11682 2015-07-25 strftime: fix newly-introduced bug on Solaris
11683 2015-07-23 fprintftime, strftime: use timezone_t args
11684 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
11685 * lib/strftime.c, lib/strftime.h, lib/time.in.h, m4/sys_time_h.m4:
11687 Update from gnulib.
11688 * lib/time_rz.c, lib/timegm.c, m4/time_rz.m4, m4/timegm.m4:
11689 New files from gnulib.
11690 * lisp/time-stamp.el (time-stamp-string):
11691 * lisp/time.el (display-time-world-list)
11692 (display-time-world-display):
11693 Use new API, with time zone arg.
11694 * lisp/time.el (display-time-world-display):
11695 Fix race when current-time advances while we're running.
11696 * lisp/vc/add-log.el (add-log-iso8601-time-zone)
11697 (add-log-iso8601-time-string): Accept optional time zone arg.
11698 * lisp/vc/add-log.el (add-change-log-entry):
11699 * lisp/vc/log-edit.el (log-edit-changelog-ours-p): Use new arg.
11700 * nt/gnulib.mk: Propagate lib/gnulib.mk changes here.
11701 Add rules for the time module, since they're now needed
11703 * src/conf_post.h (getenv_TZ, setenv_TZ): New macros.
11704 (emacs_getenv_TZ, emacs_setenv_TZ): New decls.
11705 * src/editfns.c: Include errno.h.
11706 (set_time_zone_rule): Omit unnecessary forward decl.
11707 (initial_tz): Remove, replacing with ...
11708 (local_tz, wall_clock_tz, utc_tz): New static vars and constants.
11709 (tzeqlen): New constant; prefer it to (sizeof "TZ=" - 1).
11710 (emacs_localtime_rz, emacs_mktime_z, xtzalloc, xtzfree)
11711 (tzlookup): New static functions.
11712 (init_editfns): New arg DUMPING. All uses changed.
11713 (init_editfns): Omit most initialization if dumping, not if
11714 !initialized. Initialize wall_clock_tz and local_tz.
11715 (emacs_nmemftime, format_time_string): Time zone argument can now
11716 be any time zone, not just a boolean for UTC or local time. All
11718 (Fformat_time_string, Fencode_time, Fcurrent_time_string)
11719 (Fcurrent_time_zone): New optional arg ZONE.
11720 (Fdecode_time, Fset_time_zone_rule): ZONE arg can now also take
11721 the same form as with the other new additions.
11722 (decode_time_zone): Remove; no longer needed.
11723 (tzvalbuf): Now file-scope.
11724 (emacs_getenv_TZ, emacs_setenv_TZ): New functions.
11725 (syms_of_editfns): Define Qwall.
11726 * src/editfns.c (mktime_z) [!HAVE_TZALLOC]:
11727 * src/systime.h (mktime_z, timezone_t, tzalloc, tzfree)
11729 Remove; now supplied by gnulib.
11730 * src/emacs.c (main):
11731 * src/lisp.h (init_editfns): Adjust to init_editfns API change.
11733 2015-07-26 Shigeru Fukaya <shigeru.fukaya@gmail.com>
11735 Fix infinite loop in delete-consecutive-dups
11736 * lisp/subr.el (delete-consecutive-dups): Work even if the last
11737 element is nil (Bug#20588). Avoid rescan of a circular list in
11738 deletion of last element.
11740 2015-07-26 Martin Rudalics <rudalics@gmx.at>
11742 Have `x-frame-geometry' return nil for terminal and initial
11744 * src/nsfns.m (Fx_frame_geometry):
11745 * src/xfns.c (Fx_frame_geometry): Return nil for initial and
11747 * src/w32fns.c (Fw32_frame_menu_bar_size, Fw32_frame_rect)
11748 (Fx_frame_geometry): Return nil for terminal frames
11750 2015-07-26 HOSOYA Kei <hosoyakei.free@gmail.com> (tiny change)
11752 * etc/tutorials/TUTORIAL.ja: Improve translation.
11754 2015-07-25 Eli Zaretskii <eliz@gnu.org>
11756 Avoid crashes when w32 GUI functions are called in -batch
11757 * src/w32fns.c (Fx_frame_geometry, Fw32_frame_rect)
11758 (Fw32_frame_menu_bar_size, Fw32_send_sys_command): Don't call
11759 FRAME_W32_WINDOW for initial frame. (Bug#21132)
11761 Fix flyspell-check-previous-highlighted-word
11762 * lisp/textmodes/flyspell.el
11763 (flyspell-check-previous-highlighted-word): Really accept a
11764 numeric argument, as the doc string describes. Fix an off-by-one
11765 error in looking up overlays, so invocation with point immediately
11766 after a word would check that word. Clarify the doc string as
11767 Suggested by N. Jackson <nljlistbox2@gmail.com>. (Bug#21129)
11769 2015-07-24 Michael Albinus <michael.albinus@gmx.de>
11771 Minor cleanup in tramp-tests.el
11772 * test/automated/tramp-tests.el (tramp-test31-*, tramp-test32-*):
11773 Implement using the documented interface
11774 `tramp-connection-properties', rather than with internal functions.
11776 2015-07-24 Harald Hanche-Olsen <hanche@math.ntnu.no> (tiny change)
11778 Pass lambdas to `skeleton-read'
11779 * lisp/skeleton.el (skeleton-read): Allow PROMPT to be a function.
11780 * lisp/textmodes/sgml-mode.el (sgml-attributes, sgml-value): Pass
11781 lambdas to `skeleton-read' (bug#20386).
11783 2015-07-24 Eli Zaretskii <eliz@gnu.org>
11785 * INSTALL (DETAILED BUILDING AND INSTALLATION):
11786 Mention --without-imagemagick.
11788 Don't require GUI frames and mouse for Flyspell menus
11789 * lisp/textmodes/flyspell.el (flyspell-correct-word-before-point)
11790 (flyspell-emacs-popup): Require neither a GUI frame nor mouse
11791 support, since pop-up menus work with text terminals and can be
11792 controlled via the keyboard.
11794 Improve documentation of Flyspell commands
11795 * doc/emacs/fixit.texi (Spelling): Mention Flyspell commands that
11796 can be invoked via the keyboard. Mention those commands by name
11797 and add them to the fn index. (Bug#21125)
11799 2015-07-23 Michael Albinus <michael.albinus@gmx.de>
11801 Fix some Tramp problems with HP-UX
11802 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
11803 Add "tab0" to stty call.
11804 * test/automated/tramp-tests.el (tramp-persistency-file-name):
11806 (tramp--test-hpux-p): New defun.
11807 (tramp--test-utf8): Use it.
11809 2015-07-22 Glenn Morris <rgm@gnu.org>
11811 * build-aux/update-subdirs: Put "no-update-autoloads: t" in output.
11813 2015-07-22 Eli Zaretskii <eliz@gnu.org>
11815 Fix point positioning in ffap-next-guess
11816 * lisp/ffap.el (ffap-url-at-point): Set ffap-string-at-point-region,
11817 as our callers expect. This was clobbered as part of fixing
11818 bug#5673. (Bug#21107)
11819 (ffap-gopher-at-point): Set ffap-string-at-point-region.
11821 2015-07-22 Martin Rudalics <rudalics@gmx.at>
11823 * lisp/window.el (even-window-sizes): Fix customization type.
11825 Optionally even widths of `display-buffer' windows. (Bug#21100)
11826 * lisp/window.el (quit-restore-window): Restore width if
11828 (display-buffer-record-window): Record width when window is
11829 reused and horizontally combined.
11830 (even-window-sizes): New option to allow evening window widths.
11831 (even-window-heights): Defalias to `even-window-sizes'.
11832 (window--even-window-heights): Rename to
11833 `window--even-window-sizes'. Handle side-by-side windows.
11834 (display-buffer-use-some-window): Call `window--even-window-sizes'
11835 instead of `window--even-window-heights'.
11836 * lisp/help.el (resize-temp-buffer-window): Fix indentation.
11837 * doc/lispref/windows.texi (Choosing Window Options): Describe
11838 `even-window-sizes'.
11839 (Coordinates and Windows): Fix typo.
11841 2015-07-22 Stephen Leake <stephen_leake@stephe-leake.org>
11843 Add file name to autoload error messages
11844 * lisp/emacs-lisp/autoload.el (autoload-save-buffers):
11845 Add condition-case to add file name to error message.
11847 2015-07-22 Michael Albinus <michael.albinus@gmx.de>
11849 * lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options):
11850 Use 0.0.0.1 as test host.
11852 2015-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
11854 (advice--called-interactively-skip): Fix inf-loop (bug#21083)
11855 * lisp/emacs-lisp/nadvice.el (advice--called-interactively-skip):
11856 Fix inf-loop (bug#21083).
11858 2015-07-21 Glenn Morris <rgm@gnu.org>
11860 * test/automated/package-test.el (package-test-signed):
11861 Update for recent changes.
11863 * test/automated/elisp-mode-tests.el
11864 (elisp-xref-finds-both-function-and-variable)
11865 (elisp-xref-finds-only-function-for-minor-mode):
11866 Update for recent xref name changes.
11868 2015-07-21 Dmitry Gutov <dgutov@yandex.ru>
11870 Make eldoc timer non-repeatable
11871 * lisp/emacs-lisp/eldoc.el (eldoc-schedule-timer): Make the timer
11872 non-repeatable. Since it's on post-command hook, that just wasted
11875 2015-07-21 Michael Albinus <michael.albinus@gmx.de>
11877 Mention `tramp-connection-properties' in NEWS
11879 Sync with Tramp repository
11880 * doc/misc/tramp.texi (Configuration): Note, that Tramp must be
11881 required prior changing its configuration.
11882 (Connection caching, Predefined connection information)
11883 (Remote shell setup): Fix typos.
11884 (Predefined connection information): Describe, how to overwrite
11885 parameters of `tramp-methods'.
11886 (Remote programs, Remote processes, Traces and Profiles):
11888 (Remote programs): Remove superfluous comment.
11889 * doc/misc/trampver.texi: Update release number.
11890 * lisp/net/tramp-cache.el (tramp-connection-properties):
11892 * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file): New defun.
11893 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file): Use it.
11894 (tramp-gvfs-handle-make-directory): Reimplement PARENTS handling,
11895 "gvfs-mkdir -p ..." does not work robust.
11896 (tramp-gvfs-maybe-open-connection):
11897 Adapt `tramp-get-method-parameter' call.
11898 * lisp/net/tramp-sh.el (tramp-methods):
11899 Add `tramp-remote-shell-login' parameter where it fits.
11900 (tramp-get-remote-path): Use it.
11901 (tramp-make-copy-program-file-name): Fix quoting for "psftp" method.
11902 (all): Adapt `tramp-get-method-parameter' calls.
11903 * lisp/net/tramp.el (tramp-methods): Adapt docstring.
11904 (tramp-get-method-parameter): Replace argument METHOD by VEC.
11905 Check also for hits in `tramp-connection-properties'. Adapt docstring.
11906 (tramp-get-remote-tmpdir): Cache only the local name of tmpdir.
11907 (all): Adapt `tramp-get-method-parameter' calls.
11908 * lisp/net/trampver.el Update release number.
11909 * test/automated/tramp-tests.el (tramp--instrument-test-case):
11910 Add "^make-symbolic-link not supported$" to `debug-ignored-errors'.
11911 (tramp-test13-make-directory, tramp--test-adb-p)
11912 (tramp--test-smb-or-windows-nt-p): Simplify.
11913 (tramp--test-ftp-p, tramp--test-gvfs-p): New defuns.
11914 (tramp--test-special-characters): Fix docstring. Add gvfs and
11916 (tramp--test-utf8): Fix docstring.
11918 2015-07-20 Dmitry Gutov <dgutov@yandex.ru>
11920 Add new xref-query-replace command
11921 * lisp/progmodes/xref.el (xref--match-buffer-bounds):
11922 New function, extracted from xref-pulse-momentarily.
11923 (xref-query-replace): New command.
11924 (xref--query-replace-1): New helper function.
11925 (xref--xref-buffer-mode-map): Add `r' binding.
11927 2015-07-20 Paul Eggert <eggert@cs.ucla.edu>
11929 Simplify icalendar decoding of Z dates
11930 * lisp/calendar/icalendar.el (icalendar--decode-isodatetime):
11931 Simplify calculation of time strings with trailing "Z".
11933 2015-07-19 Dmitry Gutov <dgutov@yandex.ru>
11935 Do not corrupt grep-find-ignored-files
11936 * lisp/progmodes/project.el (project-ignores): Change the order of
11937 the arguments to nconc, in order not to corrupt grep-find-ignored-files.
11939 Add xref-match-item, and use it
11940 * lisp/progmodes/xref.el (xref-match-bounds): New generic function.
11941 (xref-file-location): Add reader for the column slot.
11942 (xref-match-item): New class.
11943 (xref-match-bounds): A method implementation for it.
11944 (xref-make-match): New constructor function.
11945 (xref--current-item): New private variable.
11946 (xref-pulse-momentarily): Use it.
11947 (xref--pop-to-location): Change the first argument to an xref
11948 item, instead of location, bind xref--current-item.
11949 Update all callers.
11950 (xref-next-line, xref-prev-line, xref--next-error-function)
11951 (xref--mouse-2): Look for the property `xref-item',
11952 instead of `xref-location'.
11953 (xref--item-at-point): Likewise. This function replaces
11954 `xref-location-at-point'. Update all callers.
11955 (xref--insert-xrefs): Add the `xref-item' text property, instead
11956 of `xref-location'.
11957 (xref--collect-match): Use xref-make-match.
11959 * lisp/progmodes/xref.el (xref-item): Rename from `xref--xref'.
11960 Update all references.
11962 * lisp/progmodes/xref.el (xref--xref): Rename the `description'
11965 vc-hg: Perform the print-log call asynchronously
11966 * lisp/vc/vc-hg.el (vc-hg-print-log): Perform the call
11967 asynchronously (bug#21067).
11969 Add xref-after-jump-hook and xref-after-return-hook
11970 * lisp/progmodes/xref.el (xref-after-jump-hook)
11971 (xref-after-return-hook): New hooks.
11972 (xref-pulse-on-jump): Remove, in favor of the above.
11973 (xref-pulse-momentarily): Rename from xref--maybe-pulse.
11974 (xref--pop-to-location, xref--display-position)
11975 (xref-pop-marker-stack): Use the new hooks, as requested in
11976 http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00213.html
11978 2015-07-19 Bozhidar Batsov <bozhidar@batsov.com>
11980 * lisp/progmodes/js.el (js-mode): Correct the lighter.
11982 2015-07-19 Leo Liu <sdl.web@gmail.com>
11984 Fix a bug in cfengine3-mode
11985 * lisp/progmodes/cfengine.el (cfengine3-mode): Handle nil
11986 eldoc-documentation-function.
11988 2015-07-18 Julien Danjou <julien@danjou.info>
11990 sieve-mode: support "body" test command
11991 * lisp/gnus/sieve-mode.el (sieve-font-lock-keywords):
11992 Add missing "body" test command.
11994 2015-07-18 Eli Zaretskii <eliz@gnu.org>
11996 Fix info-apropos when the default encoding is Latin-N
11997 * lisp/info.el (Info-find-node-2): Reset the buffer's encoding to
11998 'undecided', so that it is set to the encoding of the Info file we
11999 are about to insert. Otherwise, 'info-apropos' will fail to find
12000 some index nodes in some UTF-8 encoded files, if the buffer's
12001 previous encoding is Latin-N or some such.
12003 2015-07-18 Ivan Andrus <darthandrus@gmail.com>
12005 * lisp/epg.el (epg--start): Check that gpgconf can be found
12008 Expose more file types to OS X that Emacs understands
12009 * nextstep/Cocoa/Emacs.base/Contents/Info.plist: Add editor role for
12010 sty, dtx, json, and org files. Export UTIs for el, elc, and org files.
12012 2015-07-18 Eli Zaretskii <eliz@gnu.org>
12014 Fix visual-order cursor movement when lines are truncated
12015 * src/xdisp.c (Fmove_point_visually): When lines are truncated,
12016 simulate display in a window of infinite width, to allow move_it_*
12017 functions reach positions outside of normal window dimensions.
12018 Remove code that tried to handle a subset of these situations by
12019 manual iteration of buffer text. (Bug#17777)
12021 Fix following Info cross-references to anchors
12022 * lisp/info.el (Info-read-subfile): Add to the returned value the
12023 length of subfile preamble, after converting it to file's byte
12024 offset, as expected by the caller. Use bufferpos-to-filepos.
12025 (Info-find-node-2): If searching for a node with a
12026 1000-character slop fails, try again with a 10000-character slop,
12027 to account for known bugs in Texinfo 5.0 and 5.1. (Bug#21055)
12028 * lisp/international/mule-util.el (bufferpos-to-filepos): New
12030 * etc/NEWS: Mention bufferpos-to-filepos.
12032 Fix scrolling backwards on TTY frames under scroll-conservatively
12033 * src/xdisp.c (move_it_vertically_backward): Fix off-by-one error
12034 in moving backwards on TTY frames. (Bug#21080)
12036 2015-07-17 Dmitry Gutov <dgutov@yandex.ru>
12038 Consider a jsdoc tag to be a beginning of a paragraph as well
12039 * lisp/progmodes/js.el (js-mode): Change c-paragraph-start to
12040 consider a jsdoc tag to be a beginning of a paragraph as well.
12042 2015-07-17 Artur Malabarba <bruce.connor.am@gmail.com>
12044 * lisp/emacs-lisp/package.el: Fix warnings.
12046 * lisp/emacs-lisp/package.el (package-buffer-info):
12047 Add author and maintainers to `package-buffer-info'.
12049 * lisp/emacs-lisp/package.el: Many small changes.
12050 Replace all instances of 'face with 'font-lock-face.
12051 (describe-package-1): Improve some strings and move the summary
12053 (package-install-file): Update docstring.
12054 (package-menu-hide-package): Bind to `H'.
12056 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
12057 Fix error handling.
12059 2015-07-17 Paul Eggert <eggert@cs.ucla.edu>
12061 Fix hang with large yanks This should fix the bug fixed by Mike
12063 https://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00106.html
12064 A problem in this area has been reported by several users; see
12065 Bug#16737, Bug#17101, Bug#17026, Bug#17172, Bug#19320, Bug#20283.
12066 This fix differs from Mike Crowe's patch in that it should avoid a
12067 race condition that could lose SIGIO signals. ignore_sigio dates
12068 back to the 1980s when some platforms couldn't block signals, and
12069 could only ignore them, which led to races when signals arrived
12070 while being ignored. We shouldn't have to worry about those old
12072 * src/dispextern.h, src/sysdep.c (ignore_sigio): Remove.
12073 * src/emacs.c (shut_down_emacs):
12074 Don't call ignore_sigio; unrequest_sigio should suffice.
12075 * src/keyboard.c (kbd_buffer_store_buffered_event):
12076 Use unrequest_sigio, not ignore_sigio.
12077 (kbd_buffer_get_event):
12078 Call request_sigio when getting the ball rolling again.
12080 2015-07-17 Artur Malabarba <bruce.connor.am@gmail.com>
12082 * lisp/obsolete/longlines.el (longlines-search-function):
12083 Fallback on `isearch-search-fun-default'.
12085 2015-07-17 Tassilo Horn <tsdh@gnu.org>
12088 * lisp/net/rcirc.el (rcirc-completion-at-point): Support completion
12089 of mentions/messages with @nick instead of just nick.
12091 2015-07-16 Michael Albinus <michael.albinus@gmx.de>
12094 * lisp/autorevert.el (auto-revert-handler): Do not check for
12095 `buffer-modified-p'.
12096 * lisp/files.el (buffer-stale--default-function): Check for
12097 `buffer-modified-p'.
12098 * test/automated/auto-revert-tests.el
12099 (auto-revert-test02-auto-revert-mode-dired): Adapt test.
12101 2015-07-16 Ari Roponen <ari.roponen@gmail.com>
12103 Fix delete-dups bug on long lists
12104 * lisp/subr.el (delete-dups):
12105 Don't mistakenly keep some dups when applied to long lists.
12107 2015-07-16 Paul Eggert <eggert@cs.ucla.edu>
12109 Better heuristic for C stack overflow
12110 Improve the heuristic for distinguishing stack overflows from
12111 other SIGSEGV causes (Bug#21004). Corinna Vinschen explained that
12112 the getrlimit method wasn't portable to Cygwin; see:
12113 https://www.cygwin.com/ml/cygwin/2015-07/msg00092.html
12114 Corinna suggested pthread_getattr_np but this also has problems.
12115 Instead, replace the low-level system stuff with a simple
12116 heuristic based on known good stack addresses.
12117 * src/eval.c, src/lisp.h (near_C_stack_top): New function.
12118 * src/sysdep.c: Don't include <sys/resource.h>.
12119 (stack_direction): Remove. All uses removed.
12120 (stack_overflow): New function.
12121 (handle_sigsegv): Use it instead of incorrect getrlimit heuristic.
12122 Make SEGV fatal in non-main threads.
12124 2015-07-16 Daiki Ueno <ueno@gnu.org>
12126 epg: Automatically start pinentry server
12127 * lisp/epg-config.el (epg-gpgconf-program): New variable.
12128 * lisp/epg.el (epg--start): Call `pinentry-start' if
12129 allow-emacs-pinentry is set in ~/.gnupg/gpg-agent.conf.
12131 2015-07-15 Katsumi Yamaoka <yamaoka@jpl.org>
12133 * lisp/gnus/nnimap.el: Fix my last bogus change.
12134 Reinstall Stefan Monnier's change that was made in
12135 <83d824bc4041332f338ad7e5e830f443535aa300>.
12137 2015-07-15 Paul Eggert <eggert@cs.ucla.edu>
12141 2015-07-05 acl-permissions: Document FreeBSD ACL_TYPE_NFS4 acls
12142 2015-07-05 acl-permissions: Fix on FreeBSD
12143 2015-07-05 file-has-acl, acl-permissions: fix some more HP-UX typos
12144 * lib/acl-internal.c, lib/acl-internal.h, lib/get-permissions.c:
12145 * lib/set-permissions.c: Copy from gnulib.
12147 Port to stricter C99
12148 * src/keyboard.h (kbd_buffer_store_event_hold):
12149 Don't return a void expression.
12151 2015-07-15 Xue Fuqiao <xfq.free@gmail.com>
12153 * doc/emacs/frames.texi (Creating Frames):
12154 Fix the command `C-x 5 m' runs.
12156 2015-07-14 Michael Albinus <michael.albinus@gmx.de>
12158 New autorevert tests
12159 * test/automated/auto-revert-tests.el: New file.
12161 2015-07-14 Paul Eggert <eggert@cs.ucla.edu>
12163 Clear gcprolist etc. after stack overflow
12164 After stack overflow, command_loop calls init_eval, and this needs to
12165 clear gcprolist and byte_stack_list (Bug#20996).
12166 * src/alloc.c (init_alloc):
12167 Move gcprolist and byte_stack_list initialization from here ...
12168 * src/eval.c (init_eval): ... to here.
12170 2015-07-13 Xue Fuqiao <xfq.free@gmail.com>
12172 * doc/emacs/windows.texi (Pop Up Window): Fix the description
12175 2015-07-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12177 Avoid deprecated enums in mac-ct font backend driver
12178 * src/macfont.m (mac_font_copy_default_descriptors_for_language)
12179 (mac_ctfont_get_advance_width_for_glyph)
12180 (mac_ctfont_get_bounding_rect_for_glyph): Avoid deprecated enums.
12182 Cache font family in mac-ct font backend driver
12183 * src/macfont.m (macfont_family_cache): New variable.
12184 (syms_of_macfont): Initialize it.
12185 (macfont_available_families_cache): New variable.
12186 (macfont_invalidate_family_cache, macfont_get_family_cache_if_present)
12187 (macfont_set_family_cache, macfont_invalidate_available_families_cache)
12188 (macfont_handle_font_change_notification)
12189 (macfont_init_font_change_handler)
12190 (macfont_copy_available_families_cache): New functions.
12191 (macfont_create_family_with_symbol): Use font family caches.
12192 (macfont_list, macfont_list_family):
12193 Use macfont_copy_available_families_cache instead of
12194 mac_font_create_available_families.
12196 2015-07-12 Dmitry Gutov <dgutov@yandex.ru>
12198 Show the default value in the prompt
12199 * lisp/progmodes/xref.el: Add `M-?' binding for
12200 xref-find-references. Declare functions `grep-read-files' and
12201 `grep-expand-template'.
12202 (xref--read-identifier): Show the default value in the prompt.
12204 * lisp/progmodes/xref.el (xref-find-regexp): When called with
12205 prefix argument, ask for file patterns to search as well. When
12206 prompting for the directory, require an existing one.
12207 (xref-collect-matches): Add a new argument, FILES. Use it in the
12210 Add `project-ignores'
12211 * lisp/progmodes/project.el (project-ignores): New generic
12212 function, and an implementation for the VC project type.
12213 * lisp/progmodes/xref.el (xref--rgrep-command): Split, as a
12214 variant of rgrep-default-command that handles a generic list of
12216 (xref-collect-matches): Use it, and pass through to it the value
12217 of the newly added argument.
12218 (xref-find-regexp): Handle ignored paths within the project.
12219 Remove outdated comment.
12220 * lisp/vc/vc.el (vc-default-ignore-completion-table):
12221 Skip the comments and the empty lines.
12223 2015-07-12 Xue Fuqiao <xfq.free@gmail.com>
12225 * doc/emacs/buffers.texi (Misc Buffer): Add a cross reference.
12227 2015-07-11 Eric Abrahamsen <eric@ericabrahamsen.net>
12229 gnus-registry.el: Correct function argument order
12230 * lisp/gnus/gnus-registry.el (gnus-registry--set/remove-mark):
12231 Reverse the order of function arguments.
12233 2015-07-11 Dmitry Gutov <dgutov@yandex.ru>
12235 Bind grep-highlight-matches to nil
12236 * lisp/progmodes/xref.el (xref-collect-matches):
12237 Bind grep-highlight-matches to nil (bug#20728).
12239 2015-07-11 Nikolaus Rath <Nikolaus@rath.org>
12241 nnimap.el: Fix IMAP message size parsing
12242 * lisp/gnus/nnimap.el (nnimap-transform-headers):
12243 Don't assume that UID comes before RFC822.SIZE.
12245 2015-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
12247 * lisp/gnus/nnimap.el: Clean up "unused var" warnings
12248 (auth-source-creation-prompts): Declare.
12249 (nnimap-retrieve-headers, nnimap-status-message)
12250 (nnimap-request-create-group, nnimap-request-delete-group)
12251 (nnimap-close-group, nnimap-request-move-article)
12252 (nnimap-request-accept-article, nnimap-request-newgroups)
12253 (nnimap-request-post, nnimap-dummy-active-number)
12254 (nnimap-save-mail-spec, nnimap-get-groups): Add _ to unused vars.
12255 (nnimap-parse-flags): Remove unused var `p'.
12256 (nnimap-retrieve-group-data-early): Remove unused var `groups'.
12257 (nnimap-flags-to-marks): Remove unused var `totalp'.
12259 2015-07-10 Andy Moreton <andrewjmoreton@gmail.com> (tiny change)
12261 * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 20MB.
12263 2015-07-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12265 * src/macfont.m (macfont_list): Ignore font families lacking
12268 2015-07-09 Dmitry Gutov <dgutov@yandex.ru>
12270 Don't check the exit status, it can be misleading
12271 * lisp/progmodes/xref.el (xref-collect-matches): Don't check the
12272 exit status, it can be misleading.
12274 Introduce a Project API
12275 * lisp/progmodes/project.el: New file.
12276 * lisp/cedet/ede.el (project-try-ede): New function.
12277 (project-root): New implementation.
12278 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
12279 Set project-search-path-function.
12280 (elisp--xref-find-references): Delegate some logic to
12281 project-search-path.
12282 (elisp-search-path): New function.
12283 (elisp-xref-find): Don't implement `matches' anymore.
12284 * lisp/progmodes/etags.el: Don't implement `matches'.
12285 Delegate some logic to project-search-path.
12286 (etags-search-path): New function.
12287 * lisp/progmodes/xref.el (xref-find-function):
12288 Remove `matches' from the API.
12289 (xref-find-regexp): Move whatever common logic was in elisp and
12290 etags implementations, and search the directories returned by
12291 project-directories and project-search-path.
12293 2015-07-09 Nicolas Petton <nicolas@petton.fr>
12295 * test/automated/map-tests.el (test-map-delete-return-value):
12298 Add support for gv.el in map.el
12299 * lisp/emacs-lisp/map.el (map-elt, map-delete): Declare a gv-expander.
12300 * lisp/emacs-lisp/map.el (map-put): Refactor using `setf' and `map-elt'.
12301 * test/automated/map-tests.el: Update tests to work with the new
12302 implementations of map-elt and map-put.
12304 2015-07-09 Glenn Morris <rgm@gnu.org>
12306 * lisp/emacs-lisp/debug.el (debug-help-follow): Use describe-symbol.
12308 2015-07-09 Dmitry Gutov <dgutov@yandex.ru>
12310 Syntax-propertize until the end of the line first
12311 * lisp/progmodes/xref.el (xref--collect-match): Syntax-propertize
12312 until the end of the line first.
12314 2015-07-09 Xue Fuqiao <xfq.free@gmail.com>
12316 * doc/emacs/files.texi (File Archives): Add a cross reference.
12318 2015-07-08 Nikolaus Rath <Nikolaus@rath.org>
12320 nnimap.el: Handle plain value for nnimap-stream
12321 * lisp/gnus/nnimap.el (nnimap-open-connection-1): Always query
12322 capabilities, so that a 'plain value for the `nnimap-stream' server
12323 variable is handled correctly.
12324 * doc/misc/gnus.texi (Customizing the IMAP Connection):
12325 Document the 'plain option.
12327 2015-07-08 Leo Liu <sdl.web@gmail.com>
12329 Fix bug in thing-at-point--bounds-of-well-formed-url
12330 * lisp/thingatpt.el (thing-at-point--bounds-of-well-formed-url): Make
12331 sure boundary contains current point.
12333 2015-07-08 Dmitry Gutov <dgutov@yandex.ru>
12335 * lisp/progmodes/xref.el (xref-collect-matches): Use `nreverse'
12338 Declare whitespace-line-column a safe file-local
12339 * lisp/whitespace.el (whitespace-line-column): Declare to be a
12340 safe file-local when the value is an integer.
12342 2015-07-08 Eric Abrahamsen <eric@ericabrahamsen.net>
12344 gnus-group.el: Check if group names are already strings
12345 * lisp/gnus/gnus-group.el (gnus-group-group-name):
12346 The group name may already be a string.
12347 Specifically, in the group list reached from the *Server* buffer,
12348 the 'gnus-group text property returns a string. Everywhere else
12349 it returns a symbol.
12351 nnimap.el: Remove unused let variables
12352 * lisp/gnus/nnimap.el (nnimap-request-group): Variables are not used.
12354 2015-07-08 Eli Zaretskii <eliz@gnu.org>
12356 Support "maximized" property of runemacs's shortcut
12357 * nt/runemacs.c (WinMain): If runemacs is invoked "maximized", pass
12358 the '--maximized' switch to Emacs.
12360 Support "minimized" property of runemacs's shortcut
12361 * nt/runemacs.c (WinMain): If runemacs is invoked "minimized",
12362 pass the '--iconic' switch to Emacs. (Bug#20991)
12364 2015-07-08 Xue Fuqiao <xfq.free@gmail.com>
12367 * doc/emacs/files.texi (Diff Mode): Fix the description of `C-c
12369 * doc/emacs/arevert-xtra.texi (Auto Reverting the Buffer Menu):
12370 Add a cross reference.
12372 2015-07-08 Nicolas Richard <youngfrog@members.fsf.org>
12374 * lisp/obsolete/landmark.el: Add Obsolete-since header.
12376 2015-07-07 Glenn Morris <rgm@gnu.org>
12378 * test/automated/ert-tests.el (ert-test-deftest):
12379 Update for recent changes.
12381 2015-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12383 (gv-setter, gv-synthetic-place, gv-delay-error): New funs/macros
12384 * lisp/emacs-lisp/gv.el (gv-setter): New function.
12385 (gv-invalid-place): New error.
12386 (gv-get): Use them.
12387 (gv-synthetic-place, gv-delay-error): New places.
12388 * lisp/emacs-lisp/cl-generic.el (cl--generic-setf-rewrite): Remove.
12389 (cl-defgeneric, cl-defmethod): Use gv-setter.
12391 2015-07-07 Fabrice Popineau <fabrice.popineau@gmail.com>
12393 Make vc-tests work with MSYS svn program
12394 * lisp/vc/vc-svn.el (vc-svn-create-repo): Fix the file:// URL when
12395 svn is an MSYS program.
12397 2015-07-07 Ken Brown <kbrown@cornell.edu>
12399 Improve recent change to emacsclient on Cygwin
12400 * lisp/server.el (server-process-filter): Remove redundant check
12401 that 'cygwin-convert-file-name-from-windows' is defined as a
12402 function on Cygwin. Don't call that function unless its argument
12403 starts with a drive letter.
12405 2015-07-07 Artur Malabarba <bruce.connor.am@gmail.com>
12407 * lisp/emacs-lisp/package.el (package-compute-transaction):
12408 Fix void variable due to `found-something' being in the wrong `let'.
12410 2015-07-07 Nicolas Richard <theonewiththeevillook@yahoo.fr>
12412 * lisp/play/landmark.el: Move to lisp/obsolete/.
12414 2015-07-07 Martin Rudalics <rudalics@gmx.at>
12416 Have `x-show-tip' handle `right' and `bottom' frame parameters
12417 * src/nsfns.m (compute_tip_xy, Fx_show_tip)
12418 * src/w32fns.c (compute_tip_xy, Fx_show_tip)
12419 * src/xfns.c (compute_tip_xy, Fx_show_tip): Allow aligning
12420 tooltips also via `right' and `bottom' frame parameters.
12422 2015-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12424 Add online-help support to describe types
12425 * lisp/help-fns.el (describe-symbol-backends): Move to help-mode.el.
12426 (describe-symbol): Improve the selection of default.
12427 * lisp/help-mode.el: Require cl-lib.
12428 (describe-symbol-backends): Move from help-fns.el.
12429 (help-make-xrefs): Use it.
12430 * lisp/emacs-lisp/cl-extra.el (describe-symbol-backends): Add entry
12432 (cl--typedef-regexp): New const.
12433 (find-function-regexp-alist): Add entry for types.
12434 (cl-help-type, cl-type-definition): New buttons.
12435 (cl-find-class): New function.
12436 (cl-describe-type): New command.
12437 (cl--describe-class, cl--describe-class-slot)
12438 (cl--describe-class-slots): New functions, moved from eieio-opt.el.
12439 * lisp/emacs-lisp/cl-generic.el (cl--generic-method-documentation)
12440 (cl--generic-all-functions, cl--generic-specializers-apply-to-type-p):
12441 New functions. Moved from eieio-opt.el.
12442 (cl--generic-class-parents): New function, extracted from
12443 cl--generic-struct-specializers.
12444 (cl--generic-struct-specializers): Use it.
12445 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Use pcase-dolist.
12446 Improve constructor's docstrings.
12447 (cl-struct-unknown-slot): New error.
12448 (cl-struct-slot-offset): Use it.
12449 * lisp/emacs-lisp/cl-preloaded.el (cl-struct-define): Record the type
12450 definition in current-load-list.
12451 * lisp/emacs-lisp/eieio-core.el (eieio--known-slot-names): New var.
12452 (eieio--add-new-slot): Set it.
12453 (eieio-defclass-internal): Use new name for current-load-list.
12454 (eieio-oref): Add compiler-macro to warn about unknown slots.
12455 * lisp/emacs-lisp/eieio.el (defclass): Update eieio--known-slot-names
12456 as compile-time as well. Improve constructor docstrings.
12457 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
12458 (eieio--help-print-slot, eieio-help-class-slots): Move to cl-extra.el.
12459 (eieio-class-def): Remove button.
12460 (eieio-help-constructor): Use new name for load-history element.
12461 (eieio--specializers-apply-to-class-p, eieio-all-generic-functions)
12462 (eieio-method-documentation): Move to cl-generic.el.
12463 (eieio-display-method-list): Use new names.
12464 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
12465 Add "define-linline".
12466 (lisp-fdefs): Remove "defsubst".
12467 (el-fdefs): Add "defsubst", "cl-defsubst", and "define-linline".
12468 * lisp/emacs-lisp/macroexp.el (macroexp--warned): New var.
12469 (macroexp--warn-and-return): Use it to avoid inf-loops.
12470 Add `compile-only' argument.
12472 2015-07-06 Fabián Ezequiel Gallina <fgallina@gnu.org>
12474 python.el: Fix local/remote shell environment setup
12475 * lisp/progmodes/python.el (python-shell-with-environment):
12476 Fix remote/local environment setup.
12477 * test/automated/python-tests.el (python-shell-with-environment-1)
12478 (python-shell-with-environment-2): New tests.
12480 2015-07-06 Glenn Morris <rgm@gnu.org>
12482 * lisp/simple.el (set-variable): Tweak recent doc fix.
12484 2015-07-06 Ken Brown <kbrown@cornell.edu>
12486 * src/sysdep.c (handle_sigsegv) [CYGWIN]: Increase STACK_DANGER_ZONE.
12488 2015-07-06 Glenn Morris <rgm@gnu.org>
12490 * lisp/simple.el (set-variable): Use user-error for type mismatch.
12492 2015-07-06 Ken Brown <kbrown@cornell.edu>
12494 * src/emacs.c (main): Don't increase the stack size on Cygwin.
12496 2015-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
12498 (describe-symbol): Rewrite describe-function-or-variable
12499 * lisp/help-fns.el (describe-symbol-backends): New var.
12500 (help-xref-stack-item): Declare.
12501 (describe-symbol): Rename from describe-function-or-variable.
12502 Rewrite using describe-symbol-backends instead of help-xref-interned.
12503 * lisp/help.el (help-map): Use it.
12504 * lisp/help-mode.el (help-symbol, help-follow-symbol): Use it.
12505 (help-xref-interned): Make it into an obsolete alias.
12507 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-save): Don't ignore
12508 `file' arg (bug#20972). Always use utf-8-emacs. Use with-temp-buffer
12511 2015-07-06 Wolfgang Jenkner <wjenkner@inode.at>
12513 Fix parsing glitches in dired-mark-sexp (bug#13575)
12514 * lisp/dired-x.el (dired-x--string-to-number): New function.
12515 (dired-mark-sexp): Use it. Tweak dired-re-inode-size. Fix usage
12516 of directory-listing-before-filename-regexp. Consider
12517 forward-word harmful and replace it. Add more verbiage in
12518 comments and doc string.
12520 2015-07-06 Fabián Ezequiel Gallina <fgallina@gnu.org>
12522 python.el: Respect process environment for remote shells
12523 * lisp/progmodes/python.el
12524 (python-shell-calculate-process-environment): Calculate
12525 process-environment or tramp-remote-process-environment depending
12526 whether current file is remote.
12527 (python-shell-calculate-exec-path): Calculate exec-path or
12528 tramp-remote-path depending whether current file is remote.
12529 (python-shell-with-environment): New macro.
12530 (python-shell-prompt-detect, python-shell-calculate-command)
12531 (python-shell-make-comint, python-check): Use it.
12533 python.el: Avoid making let-bound defvars buffer local (Bug#18244)
12534 * lisp/progmodes/python.el (python-shell--interpreter)
12535 (python-shell--interpreter-args): New vars.
12536 (inferior-python-mode, python-shell-make-comint): Use them.
12538 python.el: Fixes for IPython 3.x (Bug#20580)
12539 * lisp/progmodes/python.el:
12540 (python-shell-completion-native-setup): Fix IPython 3.x setup.
12541 (python-shell-completion-native-get-completions): Fix timeout
12544 python.el: Fix mark-defun behavior (Bug#19665)
12545 * lisp/progmodes/python.el (python-mark-defun): New function.
12546 * test/automated/python-tests.el (python-mark-defun-1)
12547 (python-mark-defun-2, python-mark-defun-3): New tests.
12549 2015-07-05 Glenn Morris <rgm@gnu.org>
12551 * lisp/progmodes/f90.el (f90-type-def-re): Handle attribute lists
12552 such as "extends(parent), private". (Bug#20969)
12553 * test/automated/f90.el (f90-test-bug20969, f90-test-bug20969b):
12556 2015-07-05 Paul Eggert <eggert@cs.ucla.edu>
12558 Avoid duplicate calls to current_timespec
12559 * src/process.c (wait_reading_process_output):
12560 Cache current_timespec results as long as we're not waiting.
12562 2015-07-05 Ian Kelling <ian@iankelling.org>
12564 Avoid returning early reading process output due to SIGIO
12565 * src/process.c (wait_reading_process_output): Extend the behavior of
12566 not breaking due to not finding output when a timer has lowered the
12567 timeout to include when SIGIO lowers the timeout.
12569 Don't return as fast reading any process output
12570 * src/process.c (wait_reading_process_output):
12571 The patch for Bug#17647 returns too fast sometimes when reading
12572 from any processes. Revert part of it, and limit the timeout more
12573 sensibly (Bug#20978).
12575 Refactor timeouts in wait_reading_process_output
12576 * src/process.c (wait_reading_process_output):
12577 Simplify timeouts with an enum. Remove a redundant condition.
12580 Remove ADAPTIVE_READ_BUFFERING ifdef
12581 * src/process.c (make-process, make-pipe-process, deactivate_process)
12582 (wait_reading_process_output, read_process_output, send_process)
12583 (init_process_emacs): ifdef ADAPTIVE_READ_BUFFERING was originally
12584 added in case there was an operating system in which it was not
12585 useful. That was 11 years ago and it hasn't happened. Make
12586 development easier by not considering the effect of changes on a
12587 theoretical OS where this is disabled (Bug#20978).
12589 2015-07-05 Glenn Morris <rgm@gnu.org>
12591 * lisp/simple.el (set-variable): Doc fix.
12593 * lisp/progmodes/fortran.el (fortran-line-length): Doc fix.
12595 2015-07-05 Ian Kelling <ian@iankelling.org>
12597 accept-process-output fix
12598 This is a followon to the fix for bug#17647 (Bug#20976).
12599 * src/process.c (status_notify): Fix too high return in some cases.
12601 2015-07-05 Artur Malabarba <bruce.connor.am@gmail.com>
12603 * lisp/character-fold.el (character-fold-table):
12604 Only fold decompositions if at least one character is non-spacing.
12607 2015-07-05 Paul Eggert <eggert@cs.ucla.edu>
12611 2015-07-04 file-has-acl, acl-permissions: fix HP-UX typos
12612 2015-07-03 set-permissions.c: adjust acl_from_mode's cpp guard
12613 2015-07-02 update-copyright: fix test failure with perl >= 5.22
12614 2015-07-01 gnulib-common.m4: change the ARFLAGS default to 'cr'
12615 2015-07-01 acl: fix definition of acl_from_mode on FreeBSD
12616 * build-aux/update-copyright, doc/misc/texinfo.tex, lib/acl-internal.h:
12617 * lib/set-permissions.c, m4/gnulib-common.m4: Copy from gnulib.
12619 2015-07-05 Christoph Wedler <christoph.wedler@sap.com>
12621 Respect `prog-indentation-context' in python.el
12622 * lisp/progmodes/python.el (python-indent-guess-indent-offset)
12623 (python-indent-context, python-indent--calculate-indentation)
12624 (python-info-current-defun)
12625 (python-info-dedenter-opening-block-message)
12626 (python-info-line-ends-backslash-p)
12627 (python-info-beginning-of-backslash)
12628 (python-info-continuation-line-p): Use `prog-widen'.
12629 (python-indent--calculate-indentation)
12630 (python-indent--calculate-levels)
12631 (python-indent-calculate-indentation): Use `prog-first-column'.
12632 (python-indent--calculate-levels): Simplify.
12633 Ignore also initial empty lines for syntax calculation.
12634 * lisp/progmodes/python.el (python-indent-context): Return
12635 :no-indent for first non-empty line, not just in line 1.
12636 * test/automated/python-tests.el (python-indent-base-case)
12637 (python-indent-inside-paren-1, python-indent-inside-paren-2)
12638 (python-indent-inside-paren-3, python-indent-inside-paren-4)
12639 (python-indent-inside-paren-5, python-indent-inside-paren-6)
12640 (python-indent-after-backslash-1)
12641 (python-indent-after-backslash-2)
12642 (python-indent-after-backslash-3)
12643 (python-indent-after-backslash-4, python-indent-inside-string-1):
12644 Expect :no-indent for first non-empty line.
12646 2015-07-04 Daniel Colascione <dancol@dancol.org>
12648 Factor isearch word description into new function
12649 * lisp/isearch.el (isearch--describe-word-mode): New function.
12650 (isearch-message-prefix, isearch-query-replace): Use it.
12652 2015-07-04 Eli Zaretskii <eliz@gnu.org>
12654 Fix mouse pointer on w32 when a menu is active
12655 * src/w32fns.c (w32_wnd_proc): Don't change the mouse pointer
12656 shape while a menu is in use. This started happening since we now
12657 send WM_EMACS_SHOWCURSOR messages when the mouse moves.
12659 2015-07-04 Martin Rudalics <rudalics@gmx.at>
12661 Fix processing of alpha parameter for Windows tip frames (Bug#17344)
12662 * src/w32fns.c (x_create_tip_frame): Fix processing alpha
12663 parameter. (Bug#17344)
12665 Have `compilation-set-window' use right window for getting fringes
12667 * lisp/progmodes/compile.el (compilation-set-window):
12668 Take `window-fringes' from argument window.
12670 2015-07-03 Glenn Morris <rgm@gnu.org>
12672 Update eieio tests for recent eieio-core change.
12673 * test/automated/eieio-test-persist.el (persist-test-save-and-compare):
12674 * test/automated/eieio-tests.el
12675 (eieio-test-32-slot-attribute-override-2):
12676 Replace the deleted eieio--class-v with cl--find-class.
12678 2015-07-03 Martin Rudalics <rudalics@gmx.at>
12680 Fix some issues with `window-divider-mode'
12681 * lisp/frame.el (window-divider-default-places): New option.
12682 (window-divider-mode): Remove option.
12683 (window-divider-mode): Make it a "regular" minor mode.
12684 (window-divider-width-valid-p): Drop frame- prefix.
12685 (window-divider-mode-apply): New argument ENABLE. Drop frame-
12686 prefix. Handle `window-divider-default-places'.
12687 (frame--window-divider-mode-set-and-apply): Remove.
12688 (window-divider-default-bottom-width)
12689 (window-divider-default-right-width): Drop :group entries.
12690 * lisp/menu-bar.el (menu-bar-bottom-and-right-window-divider)
12691 (menu-bar-right-window-divider, menu-bar-bottom-window-divider)
12692 (menu-bar-no-window-divider): Set `window-divider-default-places'
12693 and call `window-divider-mode'.
12694 * doc/emacs/frames.texi (Window Dividers): Document
12695 `window-divider-default-places'.
12697 2015-07-02 Xue Fuqiao <xfq.free@gmail.com>
12699 * doc/emacs/display.texi (Displaying Boundaries):
12700 * doc/emacs/search.texi (Word Search): Add cross references.
12702 2015-07-02 Paul Eggert <eggert@cs.ucla.edu>
12704 -batch should not affect ‘’ -> `' display
12705 * lisp/startup.el (command-line): Do the ‘’ -> `' check even if
12706 -batch (Bug#20926).
12708 2015-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12710 * lisp/emacs-lisp/eieio-core.el (eieio--class-v): Remove
12711 * lisp/emacs-lisp/eieio-core.el, lisp/emacs-lisp/eieio.el:
12712 * lisp/emacs-lisp/eieio-opt.el, lisp/emacs-lisp/eieio-compat.el:
12713 Use cl--find-class instead.
12715 * lisp/term/xterm.el (xterm--query): Fix paren typo (bug#20951).
12717 2015-07-02 Martin Rudalics <rudalics@gmx.at>
12719 Some further fixes in Change Window node (Bug#20183)
12720 * doc/emacs/windows.texi (Change Window): Replace "rearranging"
12721 by "resizing" in section title. Add some concept indices.
12722 Suggested by N. Jackson (Bug#20183).
12724 * doc/emacs/windows.texi (Change Window): Reference window
12727 Document new `window-divider-mode'.
12728 * lisp/frame.el (window-divider-mode): Fix doc-string.
12729 * doc/emacs/frames.texi (Window Dividers): New section.
12731 Improve accessibility of window dividers (Bug#20183)
12732 * lisp/faces.el (window-divider)
12733 (window-divider-first-pixel, window-divider-last-pixel): Change
12734 membership from `frames' to `window-divider' customization group.
12735 * lisp/frame.el (window-divider): New customization group.
12736 (window-divider-mode): New minor mode.
12737 (window-divider-default-bottom-width)
12738 (window-divider-default-right-width): New options.
12739 (frame--window-divider-previous-mode): New variable.
12740 (frame-window-divider-width-valid-p)
12741 (frame--window-divider-mode-apply)
12742 (frame--window-divider-mode-set-and-apply): New functions.
12743 * lisp/menu-bar.el (menu-bar-options-save): Save
12744 window-divider-mode settings.
12745 (menu-bar-window-divider-customize)
12746 (menu-bar-bottom-and-right-window-divider)
12747 (menu-bar-right-window-divider, menu-bar-bottom-window-divider)
12748 (menu-bar-no-window-divider): New functions.
12749 (menu-bar-showhide-window-divider-menu): New variable.
12750 (menu-bar-showhide-menu): Show/hide window divider menu.
12751 * lisp/mouse.el (mouse-split-window-vertically)
12752 (mouse-split-window-horizontally): Replace `error' by
12753 `user-error'. Bind `window-combination-resize' to nil.
12754 (top-level): Add/reorder mouse key bindings on mode- and
12757 2015-07-02 Paul Eggert <eggert@cs.ucla.edu>
12759 Don't display ‘’ as `' under X in en_GB
12760 The curved quote setup code invokes (char-displayable-p ?‘),
12761 but this isn’t reliable until after the X frame replaces the
12762 terminal frame (Bug#20926).
12763 * lisp/international/mule-cmds.el (set-locale-environment):
12764 Move curved quote setup code from here ...
12765 * lisp/startup.el (command-line): ... to here, after creating
12768 2015-07-01 Nicolas Richard <youngfrog@members.fsf.org>
12770 * lisp/emacs-lisp/seq.el (seq-difference): Fix typo in docstring.
12772 * lisp/ido.el (ido-restrict-to-matches): Add an optional argument
12773 to reverse the meaning (Bug#15631).
12775 2015-07-01 Eli Zaretskii <eliz@gnu.org>
12777 Be more tolerant to fonts named "Foobar-12"
12778 * src/frame.c (x_set_font): If font_spec_from_name returns nil,
12779 don't barf; instead, request a new fontset to be generated. This
12780 avoids unnecessarily rejecting fonts named against XLFD rules. See
12781 http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html,
12782 for the description of the original problem.
12783 * lisp/faces.el (set-face-attribute): Don't be fooled too easily
12784 by a hyphen in a font's name.
12786 Fix value of posn-at-pont in R2L lines
12787 * src/keyboard.c (Fposn_at_x_y, Fposn_at_point): Allow X pixel
12788 coordinate of -1, for a newline in a right-to-left line that
12789 overflowed into the left fringe.
12791 2015-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12793 (cl--copy-slot-descriptor): Copy the `props' alist as well
12794 * lisp/emacs-lisp/cl-preloaded.el (cl--copy-slot-descriptor-1):
12795 Rename from cl--copy-slot-descriptor.
12796 (cl--copy-slot-descriptor): New function. Copy the alist (bug#20914).
12798 2015-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
12800 * lisp/term/xterm.el (xterm--query): Avoid generating garbage
12801 (xterm-query-timeout): New var.
12802 (xterm--query): Use it. Fallback on async method if we timeout before
12803 getting the first byte of the reply (bug#12354).
12805 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
12808 * lisp/character-fold.el (character-fold-search):
12809 * lisp/emacs-lisp/package.el (package-hidden-regexps):
12812 2015-06-30 Xue Fuqiao <xfq.free@gmail.com>
12814 * doc/emacs/frames.texi (Frame Commands): Typo fix. (Bug#20946)
12816 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
12818 In strings, prefer plain ` and ' to \` and \'
12819 * lisp/allout.el (allout-insert-listified):
12820 * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12821 * lisp/ls-lisp.el (ls-lisp-UCA-like-collation)
12822 (ls-lisp-string-lessp):
12823 * lisp/menu-bar.el (menu-bar-open):
12824 * lisp/obsolete/otodo-mode.el (todo-top-priorities):
12825 * lisp/progmodes/compile.el (compile):
12826 * lisp/progmodes/etags.el (tags-loop-scan):
12827 * lisp/progmodes/make-mode.el (makefile-browser-insert-continuation):
12828 * lisp/subr.el (posn-actual-col-row):
12829 * lisp/term/pc-win.el (x-list-fonts):
12830 * lisp/textmodes/texinfmt.el (texinfmt-version):
12831 * lisp/textmodes/texnfo-upd.el (texinfo-master-menu):
12832 * lisp/time.el (display-time-world-list):
12833 * lisp/tmm.el (tmm-menubar):
12834 * src/buffer.c (syms_of_buffer):
12835 * src/fileio.c (syms_of_fileio):
12836 Omit unnecessary and confusing backslash before quote.
12837 * lisp/erc/erc.el (erc-cmd-LASTLOG):
12838 * lisp/progmodes/flymake.el (flymake-fix-file-name):
12839 * lisp/progmodes/vhdl-mode.el (vhdl-in-extended-identifier-p):
12840 Fix string that was intended to escape a backslash and not a quote.
12842 2015-06-30 Glenn Morris <rgm@gnu.org>
12844 * leim/Makefile.in, lisp/Makefile.in: Add missing EXEEXT definition.
12846 * lisp/Makefile.in (MH_E_SRC, TRAMP_SRC, CAL_SRC):
12847 Replace hard-coded lists with wildcard + filter-out.
12849 * configure.ac (system-configuration-features): Add X11, NS.
12851 Improve reproducibility of generated loaddefs file
12852 * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12853 Make the return value the modtime of the input file (if no autoloads).
12854 (update-directory-autoloads): In the "no autoloads" section,
12855 use "most recent modtime" rather than "current time".
12857 2015-06-30 Artur Malabarba <bruce.connor.am@gmail.com>
12859 * lisp/emacs-lisp/package.el (package--remove-hidden): Fix logic.
12862 2015-06-30 Nicolas Petton <nicolas@petton.fr>
12864 * doc/lispref/sequences.texi: Add documentation for seq-min and seq-max.
12866 Add seq-min and seq-max
12867 Bump version number.
12868 * lisp/emacs-lisp/seq.el (seq-min, seq-max): New functions.
12869 * test/automated/seq-tests.el: Add tests for seq-min and seq-max.
12871 2015-06-30 Eli Zaretskii <eliz@gnu.org>
12873 Make sure sleep-for always delays for as long as it's told
12874 * src/dispnew.c (Fsleep_for): Call wait_reading_process_output in
12875 a loop, to ensure we always wait exactly the required amount of
12878 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
12880 Fix pointer signedness glitch
12881 * src/font.c (font_load_for_lface): Use SSDATA, not SDATA.
12883 2015-06-30 Eli Zaretskii <eliz@gnu.org>
12885 Don't block changes in mouse pointer inside 'track-mouse'
12887 * doc/lispref/frames.texi (Mouse Tracking): Document the special
12888 effect of setting 'track-mouse' to 'dragging'.
12889 * lisp/textmodes/artist.el (artist-mouse-draw-continously):
12890 * lisp/ruler-mode.el (ruler-mode-mouse-drag-any-column-iteration):
12891 * lisp/mouse-drag.el (mouse-drag-throw):
12892 * lisp/mouse.el (mouse-drag-line): Set 'track-mouse' to 'dragging'
12893 to avoid changes in the shape of the mouse pointer.
12894 * src/xdisp.c (define_frame_cursor1): Don't change the mouse
12895 pointer shape when do_mouse_tracking has the value of 'dragging',
12896 not just any non-nil value. (Bug#20934)
12897 (syms_of_xdisp): DEFSYM 'dragging'.
12899 2015-06-30 Artur Malabarba <bruce.connor.am@gmail.com>
12901 * lisp/isearch.el (isearch-toggle-word): Fix toggle.
12903 * lisp/emacs-lisp/package.el (package-compute-transaction):
12904 Don't assume version sorting.
12906 * lisp/emacs-lisp/package.el (package--save-selected-packages):
12907 Don't save before init time, to avoid overwriting configurations.
12910 2015-06-30 Xue Fuqiao <xfq.free@gmail.com>
12912 * doc/emacs/display.texi (Standard Faces, Fringes): Add cross
12915 2015-06-29 Ted Zlatanov <tzz@lifelogs.com>
12917 Update for the upcoming CFEngine 3.7 release: support macros and
12918 quoted context strings; reformat JSON; indent promise attributes 2
12919 units by default; give function parameter descriptions in the eldoc
12921 * lisp/progmodes/cfengine.el: Update version and docs and fix name.
12922 Autoload `json-pretty-print'. Support new features in 3.7.
12923 (cfengine-parameters-indent): Set default promise attribute indent to
12924 2 more than the promise itself.
12925 (cfengine3-macro-regex): New variable to match the new macro syntax.
12926 (cfengine3-font-lock-keywords): Use it to highlight macros.
12927 (cfengine3-indent-line): Use it to indent macros to column 0.
12928 (cfengine3-class-selector-regex): Update for the new quoted strings
12930 (cfengine3-reformat-json-string): New function to reformat a JSON
12931 string using `json-pretty-print'.
12932 (cfengine3-format-function-docstring): Use function parameter
12933 description if it's provided by the cf-promises syntax dump.
12935 2015-06-29 Michael R. Mauger <michael@mauger.com>
12937 Cygwin emacsclient handles w32 file names
12938 * lisp/server.el (server-process-filter): Allow Cygwin's
12939 emacsclient to be used as a file handler on MS-Windows.
12941 2015-06-29 Katsumi Yamaoka <yamaoka@jpl.org>
12943 * lisp/isearch.el (isearch-exit): Don't call isearch-done twice
12946 2015-06-29 Eli Zaretskii <eliz@gnu.org>
12948 * doc/lispref/text.texi (Sticky Properties): Improve wording.
12951 Allow font names that end in "-NN", where NN is a number
12952 * src/font.c (font_load_for_lface): If the font-spec didn't match
12953 any available fonts, try again without interpreting trailing "-NN"
12954 as the font size. For the description of the original problem, see
12955 http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html
12957 .gdbinit followup to changes in !USE_LSB_TAG
12958 * src/.gdbinit (xgetsym): Don't left-shift $ptr even under
12959 !USE_LSB_TAG, as Emacs no longer does.
12961 2015-06-29 Wolfgang Jenkner <wjenkner@inode.at>
12963 * lisp/calc-store.el (calc-insert-permanent-variable): Heed case.
12964 Otherwise `s p' of f and F will stomp on each other's value.
12967 2015-06-29 Artur Malabarba <bruce.connor.am@gmail.com>
12969 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
12970 Don't block remember-pos if buffer isn't displayed. (Bug#20921)
12972 2015-06-29 Nicolas Richard <theonewiththeevillook@yahoo.fr>
12974 * lisp/emacs-lisp/package.el (describe-package): Use symbol-at-point
12975 as additional guess.
12977 * lisp/emacs-lisp/package.el (describe-package): Convert the guess
12980 2015-06-28 Paul Eggert <eggert@cs.ucla.edu>
12982 apropos-library quoting fix
12983 * lisp/apropos.el (apropos-library): Quote library consistently
12984 with the rest of the quoting used by apropos.
12986 Clarify interpreter-mode-alist doc
12987 * lisp/files.el (interpreter-mode-alist):
12988 Reword to avoid confusing quoting that wasn't working anyway.
12990 2015-06-28 Michael Albinus <michael.albinus@gmx.de>
12992 Sync with Tramp 2.2.12
12993 * doc/misc/trampver.texi:
12994 * lisp/net/trampver.el: Update release number.
12995 * test/automated/tramp-tests.el (tramp-test13-make-directory):
12998 2015-06-28 Artur Malabarba <bruce.connor.am@gmail.com>
13000 * lisp/isearch.el (isearch-mode): Don't char-fold regexps (bug#20913).
13002 2015-06-27 Dmitry Gutov <dgutov@yandex.ru>
13004 Bind grep-highlight-matches around the rgrep call
13005 * lisp/progmodes/grep.el (zrgrep): Bind grep-highlight-matches
13006 around the rgrep call (bug#20728).
13008 Put "--color" before the other options in grep-command
13009 * lisp/progmodes/grep.el (grep-compute-defaults): Put "--color"
13010 before the other options in grep-command (bug#20912).
13012 Add --color Grep option to the command dynamically
13013 * lisp/progmodes/grep.el (grep-template, grep-find-template):
13014 Update the description for <C>. (Bug#20728)
13015 (grep-compute-defaults): Don't add the --color option to
13016 grep-options. Only add it to grep-command.
13017 (grep-expand-keywords): Expand the env value opts into <C>.
13018 (grep-expand-template): Replace cf in the env with the opts list,
13019 that can include -i and --color.
13020 * lisp/progmodes/xref.el (xref-collect-matches): Do not remove
13021 "--color=always" from the template, because we don't have to.
13023 2015-06-27 Paul Eggert <eggert@cs.ucla.edu>
13025 cl-extra fixes for most-negative-fixnum
13026 * lisp/emacs-lisp/cl-extra.el (cl-gcd, cl-lcm, cl-random):
13027 Don't mishandle an argument equal to most-negative-fixnum,
13028 whose absolute value equals itself.
13029 (cl-gcd, cl-lcm): Use dolist rather than doing it by hand.
13031 Initialize cl--gensym-counter to 0
13032 Previously it was initialized to a random value, which made it
13033 harder to reproduce earlier Emacs runs. The need for a random
13034 value went away when Emacs introduced and used the #: syntax for
13035 uninterned symbols (Bug#20862).
13036 * doc/misc/cl.texi (Creating Symbols, Common Lisp Compatibility):
13037 Document that cl--gensym-counter now starts with 0.
13038 * lisp/emacs-lisp/cl-lib.el (cl--gensym-counter): Remove.
13039 (cl--random-time): Move to near only remaining use.
13040 * lisp/emacs-lisp/cl-macs.el (cl--gensym-counter): Initialize to 0.
13042 Improve docstring for macroexp-let2
13043 * lisp/emacs-lisp/macroexp.el (macroexp-let2):
13044 Improve as per suggestion by RMS in:
13045 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00621.html
13046 Also, rename args to match new doc string.
13048 2015-06-27 Eli Zaretskii <eliz@gnu.org>
13050 Fix VC test suite on MS-Windows
13051 * lisp/vc/vc-svn.el (vc-svn-create-repo): Make sure the file: URL
13052 always starts with 3 slashes after the colon.
13053 * test/automated/vc-tests.el (vc-test--create-repo-function): Use
13054 'w32-application-type' to invoke CVS on MS-Windows with properly
13055 formatted CVSROOT directory name.
13057 Add a new function w32-application-type
13058 * src/w32proc.c (Fw32_application_type): New function.
13060 Avoid error in TLS connections due to incorrect format
13061 * src/gnutls.c (Fgnutls_boot): Use the %x conversion specifier in
13062 the call to 'error', instead of the unsupported %u. Reported by
13063 lo2net <fangtao0901@gmail.com>. (Bug#20908)
13065 2015-06-26 Artur Malabarba <bruce.connor.am@gmail.com>
13067 * lisp/replace.el (replace-search): Fix regexp case (bug#20901).
13069 2015-06-26 Leo Liu <sdl.web@gmail.com>
13071 * lisp/emacs-lisp/cl-indent.el: Fix indentation for
13072 `with-output-to-string' in elisp.
13074 Revert "lisp/emacs-lisp/cl-indent.el: Fix indent of
13075 with-output-to-string".
13076 This reverts commit 659199f2ca5f283fb246faa78a244e5ca25f53dd.
13078 2015-06-26 Eli Zaretskii <eliz@gnu.org>
13080 Minor corrections in ELisp manual
13081 * doc/lispref/nonascii.texi (Character Properties): Correct
13082 inaccuracies in description of values of the Unicode properties.
13084 Fix invisible mouse pointers on Windows.
13085 * src/w32fns.c: Include windowsx.h.
13086 (w32_wnd_proc): If the mouse moved and the mouse pointer is
13087 invisible, make it visible again even when the main (Lisp)
13089 * src/w32term.c (w32_toggle_invisible_pointer): Rather then
13090 garbaging the frame have the input thread call SetCursor.
13092 2015-06-26 Martin Rudalics <rudalics@gmx.at>
13094 Provide invisible mouse pointers on Windows (Bug#6105) (Bug#12922)
13095 * src/w32fns.c (w32_wnd_proc): Handle f->pointer_invisible
13096 for WM_SETCURSOR and WM_EMACS_SETCURSOR cases.
13097 * src/w32term.c (w32_hide_hourglass): Handle f->pointer_invisible.
13098 (w32_toggle_invisible_pointer): New function.
13099 (w32_create_terminal): Add w32_toggle_invisible_pointer as
13100 toggle_invisible_pointer_hook for this terminal.
13102 2015-06-25 Xue Fuqiao <xfq.free@gmail.com>
13104 Doc fix for deletion commands
13105 'delete-char' does not respect the value of 'delete-active-region'.
13106 * doc/emacs/killing.texi (Deletion):
13107 Fix documentation for some single-char deletion commands.
13109 * doc/emacs/help.texi (Apropos):
13110 Improve documentation of 'apropos-do-all'.
13112 * doc/emacs/help.texi (Help Summary):
13113 Improve documentation of 'describe-mode'.
13115 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
13117 Fix submake dependency bug with .h files
13118 * src/Makefile.in ($(libsrc)/make-docfile$(EXEEXT)):
13119 Depend on $(lib)/libgnu.a, so that we build $(lib)/*/*.h
13120 before the submake in $(libsrc) would spin off a subsubmake
13121 for $(lib) in parallel with our submake for $(lib) (Bug#20894).
13123 2015-06-25 Artur Malabarba <bruce.connor.am@gmail.com>
13125 * lisp/character-fold.el (character-fold-table): Reuse `table'.
13127 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
13129 Translate undisplayable ‘ to `
13130 * doc/lispref/help.texi (Keys in Documentation):
13131 * lisp/international/mule-cmds.el (set-locale-environment):
13132 * lisp/term/w32console.el (terminal-init-w32console):
13133 * src/doc.c (Fsubstitute_command_keys, Vhelp_quote_translation):
13134 If ‘ is not displayable, transliterate it to `, not to '. See:
13135 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00542.html
13137 Fix C99 incompatibilities in Cairo code
13138 * src/image.c (xpm_load) [USE_CAIRO]:
13139 * src/xterm.c (x_cr_accumulate_data) [USE_CAIRO]:
13140 Fix pointer signedness problem.
13142 2015-06-25 Oleh Krehel <ohwoeowho@gmail.com>
13144 lisp/emacs-lisp/cl-indent.el: Fix indent of with-output-to-string
13145 * lisp/emacs-lisp/cl-indent.el (common-lisp-indent-function):
13146 `with-output-to-string' should have the same indent as `progn'.
13147 This is in line with the declaration of `with-output-to-string'.
13149 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
13151 Get ‘./configure; make -C src emacs’ to work
13152 Without this fix, lib/fcntl.h isn't built in time (Bug#20894).
13153 * lib-src/Makefile.in (../lib/libgnu.a):
13154 * src/Makefile.in ($(lib)/libgnu.a): Build all, not libgnu.a.
13156 2015-06-24 Paul Eggert <eggert@cs.ucla.edu>
13158 Fix GC bugs --with-wide-int and Qnil == 0
13159 Use the same alignment for the !USE_LSB_TAG case as for the
13160 more-typical USE_LSB_TAG case. The attempt to support arbitrary
13161 alignments with !USE_LSB_TAG had subtle bugs in garbage collection
13162 once we changed the representation of symbols so that Qnil == 0.
13163 Problem reported by Eli Zaretskii (Bug#20862).
13164 * src/alloc.c (XMALLOC_HEADER_ALIGNMENT) [XMALLOC_OVERRUN_CHECK]:
13165 * src/alloc.c (vector_alignment, union aligned_Lisp_Symbol)
13166 (union aligned_Lisp_Misc, maybe_lisp_pointer, pure_alloc):
13167 Use same alignment for !USE_LSB_TAG as for USE_LSB_TAG.
13168 * src/alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS): Remove.
13169 This optimization in the !USE_LSB_TAG case is no longer valid when
13170 symbols are represented via offsets. Change the only use to
13171 assume that pointers might hide in objects.
13172 * src/lisp.h (alignas) [!USE_LSB_TAG]:
13173 Require support in this case, too.
13174 (TAG_SYMOFFSET, XSYMBOL) [!USE_LSB_TAG]: Do not shift the offset.
13175 This is OK, because the !USE_LSB_TAG case now applies only when
13176 Lisp_Object is wider than void *, so there's no longer any need
13177 to shift the offset. Not shifting the offset means that
13178 symbol representations have the same alignment as pointers,
13179 which the GC assumes.
13181 2015-06-24 Xue Fuqiao <xfq.free@gmail.com>
13183 * doc/lispintro/emacs-lisp-intro.texi (Data types):
13184 Improve documentation of 'substring'.
13186 2015-06-24 Artur Malabarba <bruce.connor.am@gmail.com>
13188 * lisp/character-fold.el (character-fold-table): Fix table generation.
13190 2015-06-24 Glenn Morris <rgm@gnu.org>
13192 * nextstep/Makefile.in (all): Make it the first target.
13193 (../src/emacs${EXEEXT}): Add rule for making it.
13195 2015-06-24 Artur Malabarba <bruce.connor.am@gmail.com>
13197 * etc/NEWS: Fix mention to old function name.
13199 * lisp/character-fold.el: New file (Bug#20887)
13200 (character-fold-to-regexp): New function.
13201 * lisp/replace.el (replace-search): Check value of
13202 `character-fold-search'.
13203 * lisp/isearch.el: Move character-folding code to
13205 (isearch-toggle-character-fold): New command.
13206 (isearch-mode-map): Bind it to "\M-sf".
13207 (isearch-mode): Check value of `character-fold-search'.
13209 2015-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
13211 lisp/subr.el (remove-from-invisibility-spec): Handle the t case
13212 * lisp/subr.el (remove-from-invisibility-spec): Make sure `element'
13213 is visible even if it's not yet in buffer-invisibility-spec (bug#20468).
13215 * lisp/progmodes/xref.el (xref-location-group, xref-location-marker)
13216 (xref--insert-xrefs, xref-collect-references): Avoid init-args in oref.
13218 2015-06-24 Glenn Morris <rgm@gnu.org>
13220 * Makefile.in (install-arch-dep): Don't set sticky bit on the binary.
13222 2015-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
13224 lisp/gnus/nnmaildir.el: Silence lexical warnings
13225 * lisp/gnus/nnmaildir.el (nnmaildir--prepare): Use a more
13227 (nnmaildir--update-nov): Remove unused var `numdir'.
13228 (nnmaildir-request-type, nnmaildir--scan, nnmaildir-request-newgroups)
13229 (nnmaildir-request-group, nnmaildir-request-create-group)
13230 (nnmaildir-request-post, nnmaildir-request-move-article)
13231 (nnmaildir-request-accept-article, nnmaildir-active-number):
13233 (nnmaildir-get-new-mail, nnmaildir-group-alist)
13234 (nnmaildir-active-file): Declare.
13235 (nnmaildir-request-scan): Remove unused vars `group' and `grp-dir'.
13236 (nnmaildir-request-update-info): Remove unused vars `dotfile', `num',
13237 `mark', `end', `new-mark', and `mark-sym'.
13238 (nnmaildir-retrieve-headers): Remove unused args `srv-dir', `dir',
13240 (nnmaildir-request-expire-articles):
13241 Remove unused vars `article', `stop' and `nlist2'.
13242 (nnmaildir-request-set-mark): Remove unused vars `begin', `article' and
13243 `end'. Use nnmaildir--article when dyn-binding is needed.
13244 Give the value directly in the `let' for `del-mark', `del-action',
13245 `add-action', and `set-action'. Don't use `add-to-list' on a local var.
13246 (nnmaildir-close-server): Declare those local vars that need to be
13249 2015-06-24 Paul Eggert <eggert@cs.ucla.edu>
13251 * src/keyboard.h (kbd_buffer_store_event_hold): Remove unused local.
13253 Port selection info fix to clang
13254 * src/keyboard.h (kbd_buffer_store_event_hold):
13255 Don't assume C11 semantics for alignof (Bug#20756).
13257 Fix bug that munged selection info
13258 On some optimizing C compilers, copying a structure did not
13259 copy the padding bytes between elements, and the type punning
13260 between struct input_data and struct selection_input_data did
13261 not work. Change the C code to use a proper union type instead.
13262 Problem reported by YAMAMOTO Mitsuharu (Bug#20756).
13263 * src/keyboard.c (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr)
13264 (readable_events, discard_mouse_events, kbd_buffer_events_waiting)
13265 (kbd_buffer_get_event, process_special_events, stuff_buffered_input)
13267 Use union buffered_input_event, not struct input_event.
13268 (clear_event, deliver_input_available_signal, process_special_events):
13269 Remove unnecessary forward decls.
13270 (kbd_buffer_store_buffered_event): New function, mostly just the
13271 old kbd_buffer_store_event_hold, except its argument is of type
13272 union buffered_input_event, not struct input_event.
13273 (kbd_buffer_unget_event): Define only if HAVE_X11, since it's
13274 not needed otherwise. Argument is now of type
13275 struct selection_input_event *, not struct input_event *.
13276 All callers changed.
13277 (clear_event): Arg is now of type union buffered_input_event *,
13278 not struct input_event *. All callers changed.
13279 * src/keyboard.h [HAVE_X11]: Include "xterm.h".
13280 (union buffered_input_event): New type.
13281 (kbd_buffer_store_event_hold): Now an inline function,
13283 * src/termhooks.h (EVENT_KIND_WIDTH): New constant.
13284 (struct input_event): Use it.
13285 * src/xselect.c (struct selection_event_queue):
13286 Make elements be of type struct selection_input_event,
13287 not struct input_event.
13288 (selection_input_event_equal): New static function.
13289 (x_queue_event): Use it.
13290 (x_queue_event, x_decline_selection_request)
13291 (x_selection_current_request, x_reply_selection_request)
13292 (x_handle_selection_request, x_handle_selection_clear)
13293 (x_handle_selection_event): Use struct selection_input_event,
13294 not struct input_event. All callers changed.
13295 (x_convert_selection): Omit unused first arg. All callers changed.
13296 (Fx_disown_selection_internal): Omit unnecessary union.
13297 * src/xterm.c (handle_one_xevent): Use new union buffered_input_event
13298 rather than rolling our own equivalent. Prefer sie.kind when
13299 setting up that kind of structure.
13300 Call kbd_buffer_store_buffered_event, not kbd_buffer_store_event_hold.
13301 * src/xterm.h (struct selection_input_event: Use EVENT_KIND_WIDTH.
13302 (SELECTION_EVENT_DISPLAY, SELECTION_EVENT_DPYINFO)
13303 (SELECTION_EVENT_REQUESTOR, SELECTION_EVENT_SELECTION)
13304 (SELECTION_EVENT_TARGET, SELECTION_EVENT_PROPERTY)
13305 (SELECTION_EVENT_TIME, x_handle_selection_event):
13306 Arg is now of type struct selection_input_event *)
13307 not struct input_event *. All callers changed.
13309 2015-06-23 Glenn Morris <rgm@gnu.org>
13311 * Makefile.in (install-arch-dep): Simplify with Make conditionals.
13313 2015-06-23 Artur Malabarba <bruce.connor.am@gmail.com>
13315 * lisp/isearch.el: Fold many unicode characters to ASCII.
13316 (isearch-character-fold-search, isearch--character-fold-extras)
13317 (isearch--character-fold-table): New variable.
13318 (isearch--character-folded-regexp): New function.
13319 (isearch-search-fun-default): Use them.
13320 * lisp/replace.el (replace-character-fold): New variable.
13321 (replace-search): Use it.
13322 * etc/NEWS: Document it.
13324 2015-06-23 Glenn Morris <rgm@gnu.org>
13326 Check for an input event before showing a dialog box. (Bug#20813)
13327 * lisp/subr.el (y-or-n-p):
13328 * src/fns.c (Fyes_or_no_p): Check last-input-event as well
13329 as last-nonmenu-event.
13331 2015-06-23 Jürgen Hartmann <juergen_hartman_@hotmail.com> (tiny change)
13333 Respect ‘switch-to-visible-buffer’ more rigidly. (Bug#20861)
13334 * lisp/window.el (switch-to-visible-buffer): Doc adjustment.
13335 (switch-to-prev-buffer, switch-to-next-buffer): Respect
13336 switch-to-visible-buffer independent of the windows history.
13338 2015-06-23 Paul Eggert <eggert@cs.ucla.edu>
13340 * src/keyboard.c (last_timer_event): Remove unused var.
13342 2015-06-23 Artur Malabarba <bruce.connor.am@gmail.com>
13344 * test/automated/package-test.el (package-test-update-listing):
13347 2015-06-23 Glenn Morris <rgm@gnu.org>
13349 Revert 2014-06-25 nextstep/Makefile change.
13350 * nextstep/Makefile.in (${ns_appbindir}): Remove rule.
13351 (${ns_appbindir}/Emacs, links): Create ns_appbindir in the rule,
13352 not as an order-only prerequisite.
13354 * configure.ac (--with-ns): Enable by default on OS X.
13356 2015-06-23 Leo Liu <sdl.web@gmail.com>
13358 Fix shell-for/backward-command to exclude spaces
13359 * lisp/shell.el (shell-forward-command, shell-backward-command):
13360 Handle the 'move case from re-search-forward/backward.
13361 fixes debbugs:20873
13363 2015-06-22 Juri Linkov <juri@linkov.net>
13365 * lisp/replace.el (query-replace-read-from): Add separator to
13366 the local binding of text-property-default-nonsticky. (Bug#20690)
13368 * lisp/simple.el (shell-command-on-region): Replace 'error' with 'user-error'.
13371 2015-06-22 Ken Brown <kbrown@cornell.edu>
13373 Enable CPU profiling on Cygwin
13374 * src/syssignal.h [CYGWIN] (PROFILER_CPU_SUPPORT): Revert previous
13375 change that undefined this.
13376 (SIGEV_SIGNAL): Ensure that this is defined as a macro.
13377 * src/profiler.c [CYGWIN] (timer_getoverrun): Define as a macro on
13380 Improve diagnostics of profiler-cpu-start
13381 * src/profiler.c (setup_cpu_timer): Change return type to 'int';
13382 return -1 if the sampling interval is invalid.
13383 (Fprofiler_cpu_start): Improve error message if 'setup_cpu_timer'
13386 2015-06-22 Artur Malabarba <bruce.connor.am@gmail.com>
13388 * lisp/emacs-lisp/package.el: Exclude packages by name.
13389 (package-hidden-regexps): New variable.
13390 (package-menu--refresh): Use it.
13391 (package-menu-hide-package): New command.
13393 * lisp/emacs-lisp/package.el: Rename hide-obsolete to toggle-hiding.
13395 2015-06-22 Eli Zaretskii <eliz@gnu.org>
13397 Fix debug-timer-check on systems without HAVE_TIMERFD
13398 * src/atimer.c (Fdebug_timer_check) [!HAVE_TIMERFD]: Actively run
13399 the expired timers, since wait_reading_process_output doesn't.
13400 (debug_timer_callback): Enlarge the tolerance to 20 msec.
13402 Fix RCS crashes in vc-test
13403 * lisp/vc/vc-rcs.el (vc-rcs-register): Avoid crashes with some old
13404 ports of 'ci' on MS-Windows by always passing the -t- switch.
13406 2015-06-22 Glenn Morris <rgm@gnu.org>
13408 * doc/emacs/package.texi (Packages):
13409 * doc/emacs/trouble.texi (Known Problems): Remove faq cross-references.
13411 * doc/misc/efaq-w32.texi (Downloading): Copyedits. (Bug#20851)
13413 2015-06-22 Paul Eggert <eggert@cs.ucla.edu>
13415 Port tests to help-quote-translation
13416 * test/automated/ert-x-tests.el (ert-test-describe-test):
13417 * test/automated/package-test.el (package-test-describe-package)
13418 (package-test-signed): Allow straight quotes, too.
13420 2015-06-22 Dmitry Gutov <dgutov@yandex.ru>
13422 Make find-function-on-key use the current window
13423 * lisp/emacs-lisp/find-func.el (find-function-on-key-do-it):
13424 Extract from `find-function-on-key', add a second argument.
13425 (find-function-on-key): Use it (bug#19679).
13426 (find-function-on-key-other-window)
13427 (find-function-on-key-other-frame): New commands.
13429 2015-06-21 Nicolas Petton <nicolas@petton.fr>
13431 Revert "Define `map-elt' as a generalized variable"
13432 This reverts commit 8b6d82d3ca86f76ed964063b3941a7c6ab0bf1c6.
13434 2015-06-21 Ken Brown <kbrown@cornell.edu>
13436 Drop support for CPU profiling on Cygwin
13437 * src/syssignal.h (PROFILER_CPU_SUPPORT): Don't define on Cygwin.
13440 2015-06-21 Paul Eggert <eggert@cs.ucla.edu>
13442 Fix some “nested” quoting confusion in doc strings
13443 * lisp/emacs-lisp/advice.el (ad-map-arglists):
13444 * lisp/kermit.el (kermit-clean-on):
13445 * lisp/mh-e/mh-comp.el (mh-repl-group-formfile):
13446 * src/keyboard.c (Frecursive_edit):
13447 Use curved quotes when quoting text containing apostrophe,
13448 so that the apostrophe isn't curved in the output.
13450 2015-06-21 Nicolas Petton <nicolas@petton.fr>
13452 Define `map-elt' as a generalized variable
13453 * lisp/emacs-lisp/map.el (map-elt): Define a gv-expander.
13454 * lisp/emacs-lisp/map.el (map--dispatch): Tighten the code.
13455 * lisp/emacs-lisp/map.el (map-put): Redefine it as a function using a
13456 `setf' with `map-elt'.
13457 * test/automated/map-tests.el: Comment out `test-map-put-literal'.
13459 2015-06-21 Michael Albinus <michael.albinus@gmx.de>
13461 Improve error handling in tramp-adb.el
13462 * lisp/net/tramp-adb.el (tramp-adb-handle-file-local-copy):
13463 Improve error handling.
13465 2015-06-21 Nicolas Petton <nicolas@petton.fr>
13467 Reuse `alist-get' in map.el
13468 * lisp/emacs-lisp/map.el (map-elt): Use `alist-get' to retrieve alist
13471 2015-06-21 Eli Zaretskii <eliz@gnu.org>
13473 Fix bytecomp-tests--warnings when $TMPDIR has a long name
13474 * test/automated/bytecomp-tests.el (bytecomp-tests--warnings):
13475 Allow the warning to begin on the 3rd, not only 2nd line, which
13476 happens if temporary-file-directory has a very long name.
13478 Expect 2 icalendar tests to fail on MS-Windows
13479 * test/automated/icalendar-tests.el (icalendar-import-with-timezone)
13480 (icalendar-real-world): Make them expected failures on MS-Windows.
13482 2015-06-20 Paul Eggert <eggert@cs.ucla.edu>
13484 Improve port of settings UI to older displays
13485 * lisp/cus-start.el (standard): Don't assume curved quotes are
13486 easily distinguishable when users are tinkering with a setting
13487 that affects how curved quotes are generated.
13489 Fix quoting in electric-quote-mode doc string
13490 * lisp/electric.el (electric-quote-mode): Fix quoting.
13491 This is a fallout from the recent change introducing
13492 ‘help-quote-translation’.
13496 * doc/misc/texinfo.tex, lib/set-permissions.c: Merge from gnulib.
13498 * src/doc.c (syms_of_doc): Remove unused symbols.
13500 2015-06-20 Martin Rudalics <rudalics@gmx.at>
13502 * lisp/window.el (window-state-put): Undedicate target window
13503 before putting STATE into it. (Bug#20848)
13505 2015-06-19 Paul Eggert <eggert@cs.ucla.edu>
13507 Merge from origin/emacs-24
13508 a5e6f33 Fixes: debbugs:20832
13509 b9f02cf Fixes: debbugs:20832
13511 2015-06-19 Eli Zaretskii <eliz@gnu.org>
13513 Fix file-in-directory-p when the directory is UNC
13514 * lisp/files.el (file-in-directory-p): Support files and
13515 directories that begin with "//". (Bug#20844)
13517 2015-06-19 Stephen Berman <stephen.berman@gmx.net>
13519 * lisp/calendar/todo-mode.el (todo-show): Don't visit todo file
13520 in the minibuffer. (Bug#20832)
13522 2015-06-19 Nicolas Richard <youngfrog@members.fsf.org>
13524 * lisp/calendar/todo-mode.el (todo-show): Signal an error if buffer
13525 for adding new todo file is empty but modified. (Bug#20832)
13527 2015-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
13529 (filepos-to-bufferpos): Further tweaks to the utf-16 code
13530 * lisp/international/mule-util.el (filepos-to-bufferpos):
13531 Fix typo. Move non-exact check to the utf-16 branch (the only one
13532 affected). Don't use byte-to-position for the utf-16 case.
13534 2015-06-19 Eli Zaretskii <eliz@gnu.org>
13536 Minor fixes in filepos-to-bufferpos
13537 * lisp/international/mule-util.el (filepos-to-bufferpos): Remove
13538 test for utf-8-emacs. Exempt single-byte encodings from the
13539 'use-exact' path when QUALITY is 'exact'. Test UTF-16 encodings
13540 for BOM before subtracting 2 bytes. Use 'identity' when adjusting
13541 UTF-16 encoded files for CR-LF EOLs.
13543 2015-06-19 Paul Eggert <eggert@cs.ucla.edu>
13545 Improve the optional translation of quotes
13546 Fix several problems with the recently-added custom variable
13547 help-quote-translation where the code would quote inconsistently
13548 in help buffers. Add support for quoting 'like this', which
13549 is common in other GNU programs in ASCII environments. Change
13550 help-quote-translation to use more mnemonic values: values are now the
13551 initial quoting char, e.g., (setq help-quote-translation ?`) gets the
13552 traditional Emacs help-buffer quoting style `like this'. Change the
13553 default behavior of substitute-command-keys to match what's done in
13554 set-locale-environment, i.e., quote ‘like this’ if displayable,
13555 'like this' otherwise.
13556 * doc/lispref/help.texi (Keys in Documentation): Document
13557 new behavior of substitute-command-keys, and document
13558 help-quote-translation.
13559 * doc/lispref/tips.texi (Documentation Tips):
13560 Mention the effect of help-quote-translation.
13561 * etc/NEWS: Mention new behavior of substitute-command-keys,
13562 and merge help-quote-translation news into it.
13563 When talking about doc strings, mention new ways to type quotes.
13564 * lisp/cedet/mode-local.el (overload-docstring-extension):
13565 Revert my recent change to this function, which shouldn't be
13566 needed as the result is a doc string.
13567 * lisp/cedet/mode-local.el (mode-local-print-binding)
13568 (mode-local-describe-bindings-2):
13569 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
13570 * lisp/cus-theme.el (describe-theme-1):
13571 * lisp/descr-text.el (describe-text-properties-1, describe-char):
13572 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
13573 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
13574 (eieio-help-constructor):
13575 * lisp/emacs-lisp/package.el (describe-package-1):
13576 * lisp/faces.el (describe-face):
13577 * lisp/help-fns.el (help-fns--key-bindings)
13578 (help-fns--compiler-macro, help-fns--parent-mode)
13579 (help-fns--obsolete, help-fns--interactive-only)
13580 (describe-function-1, describe-variable):
13581 * lisp/help.el (describe-mode):
13582 Use substitute-command-keys to ensure a more-consistent quoting
13583 style in help buffers.
13584 * lisp/cus-start.el (standard):
13585 Document new help-quote-translation behavior.
13586 * lisp/emacs-lisp/lisp-mode.el (lisp-fdefs):
13587 * lisp/help-mode.el (help-xref-symbol-regexp, help-xref-info-regexp)
13588 (help-xref-url-regexp):
13589 * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
13590 * lisp/wid-edit.el (widget-documentation-link-regexp):
13591 Also match 'foo', in case we're in a help buffer generated when
13592 help-quote-translation is ?'.
13593 * src/doc.c: Include disptab.h, for DISP_CHAR_VECTOR.
13594 (LEFT_SINGLE_QUOTATION_MARK, uLSQM0, uLSQM1, uLSQM2, uRSQM0)
13595 (uRSQM1, uRSQM2, LSQM, RSQM): New constants.
13596 (Fsubstitute_command_keys): Document and implement new behavior.
13597 (Vhelp_quote_translation): Document new behavior.
13599 2015-06-18 Glenn Morris <rgm@gnu.org>
13601 * lisp/cus-start.el (help-quote-translation): Add :version.
13603 * src/doc.c (Fsubstitute_command_keys): Make previous change compile.
13605 2015-06-18 Alan Mackenzie <acm@muc.de>
13607 Make translation of quotes to curly in doc strings optional.
13608 * src/doc.c (traditional, prefer-unicode): New symbols.
13609 (help-quote-translation): New variable.
13610 (Fsubstitute_command_keys): Make translation of quotes dependent on
13611 `help-quote-translation'; also translate curly quotes back to ASCII
13613 * lisp/cus-start.el (top-level): Add a customization entry for
13614 `help-quote-translation'.
13616 2015-06-18 Artur Malabarba <bruce.connor.am@gmail.com>
13618 * lisp/emacs-lisp/package.el: Don't always propagate async errors
13619 (package--with-work-buffer-async): Only propagate the error if the
13620 callback returns non-nil.
13621 (package--download-one-archive): Return nil on the signature
13622 checking callback if we accept unsigned.
13623 (package--download-and-read-archives): Return non-nil on the
13624 archive download callback.
13626 2015-06-18 Martin Rudalics <rudalics@gmx.at>
13628 Set image_cache_refcount before x_default_parameter calls. (Bug#20802)
13629 * src/nsfns.m (Fx_create_frame):
13630 * src/xfns.c (Fx_create_frame, x_create_tip_frame): Move setting
13631 image_cache_refcount before first x_default_parameter call.
13633 2015-06-18 Eli Zaretskii <eliz@gnu.org>
13635 Improve and extend filepos-to-bufferpos
13636 * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
13637 Don't barf if F returns nil for some argument.
13638 (filepos-to-bufferpos): Expand to support UTF-16 and not assume
13639 that every encoding of type 'charset' is single-byte.
13641 2015-06-18 Artur Malabarba <bruce.connor.am@gmail.com>
13643 * lisp/emacs-lisp/package.el (package-menu--perform-transaction):
13644 Properly delete packages. (Bug#20836)
13646 2015-06-18 Eli Zaretskii <eliz@gnu.org>
13648 Update data files from just-released Unicode 8.0
13649 * etc/NEWS: Update wording since Unicode 8.0 is no longer in draft
13651 * test/BidiCharacterTest.txt: Update from Unicode 8.0.
13652 * admin/unidata/BidiMirroring.txt:
13653 * admin/unidata/BidiBrackets.txt:
13654 * admin/unidata/UnicodeData.txt: Update from Unicode 8.0.
13656 2015-06-18 Paul Eggert <eggert@cs.ucla.edu>
13658 Document curved quotes a bit better
13659 * doc/emacs/basic.texi (Inserting Text):
13660 Mention C-x 8. Change example to use curved quote rather
13661 than infinity, as this lets us give more ways to do it.
13662 * doc/emacs/mule.texi (International Chars): Mention C-x 8 shortcuts
13663 and quotation marks.
13664 * doc/emacs/text.texi (Quotation Marks):
13665 * doc/lispref/tips.texi (Documentation Tips):
13666 Add "curly quotes" and "curved quotes" to the index.
13667 * doc/emacs/text.texi (Quotation Marks):
13668 Give the C-x 8 shorthands for curved quotes.
13669 Cross-reference to "Quotation Marks".
13671 2015-06-17 Daiki Ueno <ueno@gnu.org>
13673 Add pinentry.el for better GnuPG integration
13674 * lisp/pinentry.el: New file.
13675 * etc/NEWS: Add entry about pinentry.el.
13676 * lisp/epg.el (epg--start): Set INSIDE_EMACS envvar.
13679 2015-06-17 Artur Malabarba <bruce.connor.am@gmail.com>
13681 * lisp/emacs-lisp/package.el: Slightly better error reporting.
13683 2015-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13685 (define-minor-mode): Use setq-default for :global minor modes
13686 * lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
13687 Use setq-default for :global minor modes (bug#20712).
13689 2015-06-17 Eli Zaretskii <eliz@gnu.org>
13691 Avoid infloop in redisplay with tall images
13692 * src/xdisp.c (try_scrolling): Prevent an infloop when scrolling
13693 down near ZV. (Bug#20808)
13694 Call bidi_unshelve_cache to avoid memory leaks. Use IT_CHARPOS
13695 instead of CHARPOS.
13697 2015-06-17 Artur Malabarba <bruce.connor.am@gmail.com>
13699 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
13700 Fix error reporting.
13702 * lisp/let-alist.el: Move to lisp/emacs-lisp/let-alist.el
13704 * lisp/emacs-lisp/package.el: Revert buffer after any operation
13705 Call `package-menu--post-refresh' after any operation that changes
13706 the package database (`package-install' and `package-delete'). To
13707 avoid performance issues in large transactions, these functions
13708 add `post-refresh' to `post-command-hook' instead of calling it
13710 (package-menu--mark-or-notify-upgrades): New function.
13711 (list-packages): Add it to `package--post-download-archives-hook'.
13712 (package-menu--post-refresh): Lose the upgrade-checking code, add
13713 code to remove itself from `post-command-hook'.
13714 (package-install, package-delete): Add it to `post-command-hook'.
13715 (package-menu-execute): Don't call `package-menu--post-refresh'.
13717 2015-06-17 Stephen Leake <stephen_leake@stephe-leake.org>
13719 Add missing function xref-location-group for elisp-mode.
13720 * lisp/progmodes/elisp-mode.el: Add missing function xref-location-group.
13722 2015-06-17 Wolfgang Jenkner <wjenkner@inode.at>
13724 * src/editfns.c (Fbyte_to_position): Fix bytepos not at char boundary.
13725 The behavior now matches the description in the manual. (Bug#20783)
13727 2015-06-17 Xue Fuqiao <xfq.free@gmail.com>
13729 * etc/tutorials/TUTORIAL.cn: Update; synchronize with TUTORIAL.
13731 2015-06-17 Glenn Morris <rgm@gnu.org>
13733 Generate char-script-table from Unicode source. (Bug#20789)
13734 * admin/unidata/Makefile.in (AWK): New, set by configure.
13735 (all): Add charscript.el.
13736 (blocks): New variable.
13737 (charscript.el, ${unidir}/charscript.el): New targets.
13738 (extraclean): Also remove generated charscript.el.
13739 * admin/unidata/blocks.awk: New script.
13740 * admin/unidata/Blocks.txt: New data file, from unicode.org.
13741 * lisp/international/characters.el: Load charscript.
13742 * src/Makefile.in (charscript): New variable.
13743 (${charscript}): New target.
13744 (${lispintdir}/characters.elc): Depend on charscript.elc.
13745 (temacs$(EXEEXT)): Depend on charscript.
13747 * lisp/international/characters.el (char-script-table): Tweak
13748 some ranges to better match the source. (Bug#20789#17)
13750 Remove "no-byte-compile: t" from a few files.
13751 * lisp/obsolete/bruce.el, lisp/obsolete/keyswap.el:
13752 * lisp/obsolete/patcomp.el: No reason not to compile these.
13754 2015-06-16 Glenn Morris <rgm@gnu.org>
13756 Fix some typos in copied Unicode data. (Bug#20789)
13757 * lisp/international/characters.el (char-script-table):
13758 * lisp/international/fontset.el (script-representative-chars)
13759 (setup-default-fontset): Fix typos.
13761 * lisp/emacs-lisp/check-declare.el (check-declare-warn):
13762 Don't print filename twice (it's in the prefix now).
13764 * lisp/emacs-lisp/pcase.el (pcase--u1): Revert earlier workaround.
13767 Address a compilation warning.
13768 * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defalias):
13769 Replace 't' with '_' in pcase.
13771 Address some check-declare warnings.
13772 * lisp/simple.el (tabulated-list-print):
13773 * lisp/progmodes/elisp-mode.el (xref-collect-matches):
13774 * lisp/term/ns-win.el (ns-selection-owner-p, ns-selection-exists-p)
13775 (ns-get-selection): Update declarations.
13777 Address some compilation warnings.
13778 * lisp/elec-pair.el (electric-pair-post-self-insert-function):
13779 * lisp/vc/vc-git.el (vc-git-file-type-as-string):
13780 Replace 't' with '_' in pcase.
13782 Address some compilation warnings.
13783 * lisp/face-remap.el (text-scale-adjust):
13784 * lisp/menu-bar.el (popup-menu-normalize-position):
13785 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand):
13786 * lisp/emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13787 * lisp/emacs-lisp/generator.el (cps--transform-1):
13788 * lisp/emacs-lisp/macroexp.el (macroexp--expand-all):
13789 * lisp/obsolete/vc-arch.el (vc-arch-mode-line-string):
13790 * lisp/progmodes/octave.el (octave-goto-function-definition)
13791 (octave-find-definition-default-filename):
13792 Replace 't' with '_' in pcase.
13794 * lisp/emacs-lisp/pcase.el (pcase--u1):
13795 Paper-over today's bootstrap failure.
13797 2015-06-16 Nicolas Petton <nicolas@petton.fr>
13799 * lisp/emacs-lisp/seq.el: Fix a byte-compiler warnings related to pcase.
13801 * lisp/emacs-lisp/map.el (map-into): Fix a byte-compiler warning.
13803 Better confirmation message in `find-alternate-file' (Bug#20830)
13804 * lisp/files.el (find-alternate-file'): Improve the confirmation
13805 message to show the buffer name.
13807 Better docstring for null. (Bug#20815)
13808 * src/data.c (null): Improves the docstring, saying what null returns
13809 when OBJECT is non-nil.
13811 2015-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
13813 * lisp/net/newst-treeview.el: Use lexical-binding.
13815 (filepos-to-bufferpos): Add missing cases. Make sure it terminates.
13816 * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
13817 New auxiliary function, extracted from filepos-to-bufferpos.
13818 Make sure it terminates.
13819 (filepos-to-bufferpos): Use it to fix the latin-1-dos case.
13820 Add support for the `exact' quality.
13822 2015-06-16 Cédric Chépied <cedric.chepied@gmail.com>
13824 Identify feeds in newsticker treeview with :nt-feed property
13825 * lisp/net/newst-treeview.el:
13826 (newsticker--treeview-nodes-eq): Use property :nt-feed instead of :tag.
13828 2015-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
13830 * lisp/emacs-lisp/pcase.el: Improve docs and error handling.
13831 (pcase--self-quoting-p): Floats aren't self-quoting.
13832 (pcase): Tweak docstring.
13833 (pcase--u1): Deprecate the t pattern. Improve error detection for
13835 (\`): Tweak docstring. Signal an error for unrecognized cases.
13838 2015-06-16 Eli Zaretskii <eliz@gnu.org>
13840 Fix infloop in filepos-to-bufferpos
13841 * lisp/international/mule-util.el (filepos-to-bufferpos): Fix EOL
13842 offset calculation, and make it conditional on the eol-type of the
13843 file's encoding. (Bug#20825)
13845 2015-06-16 Martin Rudalics <rudalics@gmx.at>
13847 Fix handling of image cache refcounts. (Bug#20802)
13848 This backports Eli Zaretskii's solution of this problem for W32
13850 * src/nsfns.m (image_cache_refcount): Define unconditionally.
13851 (unwind_create_frame): If the image cache's reference count
13852 hasn't been updated yet, do that now.
13853 (Fx_create_frame): Set image_cache_refcount unconditionally.
13854 * src/xfns.c (image_cache_refcount): Define unconditionally.
13855 (unwind_create_frame): If the image cache's reference count
13856 hasn't been updated yet, do that now.
13857 (Fx_create_frame, x_create_tip_frame): Set image_cache_refcount
13859 * src/w32fns.c (image_cache_refcount): Make it a ptrdiff_t as on
13862 2015-06-16 Nils Ackermann <nils@ackermath.info>
13864 Improve reftex-label-regexps default value
13865 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Make
13866 keyvals label regexp more strict to better cope with unbalanced
13867 brackets common in math documents.
13869 2015-06-16 Glenn Morris <rgm@gnu.org>
13871 * doc/emacs/calendar.texi (Format of Diary File):
13872 Move "nonmarking" from here...
13873 (Displaying the Diary): ... to here.
13875 * doc/emacs/calendar.texi (Format of Diary File, Displaying the Diary):
13876 Swap the order of these nodes.
13877 * doc/emacs/emacs.texi: Update detailed menu for the above change.
13879 * doc/emacs/calendar.texi (Specified Dates, Special Diary Entries):
13880 Update date of examples.
13881 (Diary, Format of Diary File): Move example from former to latter.
13882 Reduce duplication.
13884 No need for cp51932.el, eucjp-ms.el to not be compiled any more.
13885 * admin/charsets/cp51932.awk, admin/charsets/eucjp-ms.awk:
13886 Don't set no-byte-compile in the outputs.
13887 * lisp/loadup.el: Don't specify uncompiled cp51932, eucjp-ms.
13889 2015-06-15 Glenn Morris <rgm@gnu.org>
13891 * lisp/calendar/calendar.el (diary-file): Use locate-user-emacs-file.
13892 * doc/emacs/calendar.texi (Diary, Format of Diary File):
13893 Update for above diary-file change.
13895 * lisp/macros.el (name-last-kbd-macro, kbd-macro-query)
13896 (apply-macro-to-region-lines): Use user-error.
13898 * lisp/textmodes/page-ext.el (add-new-page, pages-directory)
13899 (pages-directory-for-addresses): Doc fixes.
13901 2015-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13903 * lisp/info.el: Cleanup bytepos/charpos issues
13904 * lisp/international/mule-util.el: Use lexical-binding.
13905 (filepos-to-bufferpos): New function.
13906 * lisp/info.el (Info-find-in-tag-table-1): Use 0-based file positions.
13907 (Info-find-node-2): Use filepos-to-bufferpos (bug#20704).
13908 (Info-read-subfile, Info-search): Use 0-based file positions.
13910 * lisp/progmodes/perl-mode.el: Refine handling of /re/ and y/abc/def/
13911 (perl--syntax-exp-intro-keywords): New var.
13912 (perl--syntax-exp-intro-regexp, perl-syntax-propertize-function): Use it.
13915 2015-06-15 Paul Eggert <eggert@cs.ucla.edu>
13917 Fix quoting when making derived mode docstring
13918 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
13919 Nest regexp-quote inside format, not the reverse.
13920 Problem reported by Artur Malabarba in:
13921 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00206.html
13923 2015-06-15 Eli Zaretskii <eliz@gnu.org>
13925 Fix current-iso639-language on MS-Windows
13926 * lisp/international/mule-cmds.el (set-locale-environment):
13927 Downcase the locale name before interning it. This is so the
13928 'current-iso639-language' on MS-Windows matches the ':lang'
13929 property of font-spec objects.
13931 Limit Symbola usage some more
13932 * lisp/international/fontset.el (setup-default-fontset): Limit
13933 Symbol coverage of Currency Symbols to u+20B6..u+20CF.
13936 2015-06-15 Nicolas Petton <nicolas@petton.fr>
13938 * lisp/emacs-lisp/map.el (map-let): Better docstring.
13940 2015-06-15 Paul Eggert <eggert@cs.ucla.edu>
13942 * test/automated/help-fns.el (abc\\\[universal-argument\]b\`c\'d\\e\"f):
13943 (help-fns-test-funny-names): Spelling fixes.
13945 2015-06-14 Glenn Morris <rgm@gnu.org>
13947 * lisp/version.el (emacs-repository-version-git): Demote errors.
13948 Check result is a hash.
13950 2015-06-14 Artur Malabarba <bruce.connor.am@gmail.com>
13952 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
13953 Catch errors that happen before going async. (Bug#20809)
13955 2015-06-14 Eli Zaretskii <eliz@gnu.org>
13957 Another improvement of documentation of set-fontset-font
13958 * doc/lispref/display.texi (Fontsets): Say explicitly that
13959 CHARACTER can be a single codepoint.
13960 * src/fontset.c (Fset_fontset_font): Doc fix.
13962 Another improvement for symbol and punctuation characters
13963 * lisp/international/fontset.el (setup-default-fontset): Exclude
13964 from Symbola character ranges for symbols and punctuation covered
13965 well by popular Unicode fonts. Prefer fixed-misc Unicode font, if
13966 installed and where its coverage of symbols and punctuation is
13967 known to be good. (Bug#20727)
13969 2015-06-14 Christoph Wedler <christoph.wedler@sap.com>
13971 Some generic support for multi-mode indentation.
13972 * lisp/progmodes/prog-mode.el (prog-indentation-context):
13974 (prog-first-column, prog-widen): New convenience functions.
13976 2015-06-14 Artur Malabarba <bruce.connor.am@gmail.com>
13978 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
13979 Don't assume that `tabulated-list-printer' will leave point at the
13980 end of the buffer. (Bug#20810)
13982 2015-06-13 Glenn Morris <rgm@gnu.org>
13984 Tweaks for getting repository version; a bit more like it was for bzr
13985 * lisp/version.el (emacs-repository-version-git)
13986 (emacs-repository--version-git-1): New functions,
13987 split from emacs-repository-get-version.
13988 (emacs-repository-get-version): Make the second argument meaningful.
13990 * lisp/startup.el (command-line-1): Inform if skipping relative
13991 file names due to deleted PWD.
13993 * src/xsmfns.c (x_session_initialize): Avoid libSM crash
13994 when starup directory is missing. (Bug#18851)
13995 (errno.h): Include it.
13997 2015-06-13 Paul Eggert <eggert@cs.ucla.edu>
13999 Better fix for documenting `X as "`X"
14000 Fix suggested by Stefan Monnier.
14001 * lisp/help-fns.el (help-fns--signature):
14002 Insert "`X", not "(\` X)", when documenting `X (Bug#20759).
14003 * lisp/help.el (help-split-fundoc, help--make-usage-docstring):
14004 Don't treat `X specially, as help-fns--signature now handles this.
14006 2015-06-13 Eli Zaretskii <eliz@gnu.org>
14008 Improve the default fontset when Symbola is not installed
14009 * lisp/international/fontset.el (setup-default-fontset): Only
14010 prepend Symbola and FreeMono font specs for symbols and
14011 punctuation; do not replace the default spec for them. This
14012 should have better results when Symbola/FreeMono are not
14013 installed. (Bug#20727)
14015 Improve documentation of ':lang' in font specs
14016 * src/font.c (Ffont_spec): Doc fix: elaborate on the values and
14017 use of the ':lang' property of the font spec.
14018 * doc/emacs/frames.texi (Fonts): Document the language names that
14019 can be in the STYLE part of XLFD.
14020 * doc/lispref/display.texi (Low-Level Font): Document the ':lang'
14023 * nt/README: Don't advertise the (obsolescent) w32 FAQ.
14025 * nt/README.W32: Don't advertise the (obsolescent) w32 FAQ.
14027 Revert last change in fontset.el
14028 * lisp/international/fontset.el (setup-default-fontset): Revert
14029 the change "Configure Symbola font only if installed", since font
14030 search is evidently not yet set up when this function is called.
14033 2015-06-12 Glenn Morris <rgm@gnu.org>
14035 Ensure early startup warnings are visible at the end. (Bug#20792)
14036 * lisp/emacs-lisp/warnings.el (display-warning):
14037 If startup isn't complete, delay the warning.
14038 * lisp/startup.el (normal-top-level, command-line):
14039 Let display-warning automatically handle the needed delays.
14040 Run delayed-warnings-hook.
14042 * lisp/version.el (emacs-repository-get-version):
14043 Avoid calling external executable if possible. (Bug#20799)
14045 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
14047 Document `X as "`X", not as "(` X)"
14048 * lisp/help.el (help-split-fundoc, help--make-usage-docstring):
14049 Document (backquote FOO) as "`FOO", not as "(` FOO)" (Bug#20759).
14051 * src/print.c (print_object): Minor simplification.
14053 2015-06-12 Glenn Morris <rgm@gnu.org>
14055 * src/buffer.c (init_buffer): Add final newline to message.
14057 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
14059 Configure Symbola font only if installed
14060 * lisp/international/fontset.el (setup-default-fontset):
14061 Don't specify the Symbola font if it's not installed.
14062 Likewise for FreeMono. (Bug#20727)
14064 2015-06-12 Eli Zaretskii <eliz@gnu.org>
14066 Configure Symbola font only for symbols and punctuation
14067 * lisp/international/fontset.el (setup-default-fontset): Leave
14068 only symbols and punctuation in the fontset setup for Symbola
14069 font; remove "Greek and Coptic" and "Cyrillic Supplement".
14072 2015-06-12 Andreas Schwab <schwab@linux-m68k.org>
14074 Fix crash in fontset-info
14075 * src/fontset.c (Ffontset_info): Check that the RFONT-DEF elt is
14078 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
14080 Port to Solaris 10 sparc + Sun C 5.13
14081 * configure.ac (SETUP_SLAVE_PTY) [sol2* | unixware]:
14082 Adjust to process.c change.
14083 * src/process.c (create_process): Declare volatile variables at
14084 top level of this function, so that they're less likely to be
14085 reused later in the function in the code executed by the vforked
14086 child. Do not declare locals used only in the vforked child, as
14087 they might share memory with locals still live in the parent.
14088 Instead, use the same variables in the child as in the parent.
14089 This works around a subtle bug that causes a garbage collector
14090 crash when Emacs is built with Sun C 5.13 sparc on Solaris 10.
14092 2015-06-12 Glenn Morris <rgm@gnu.org>
14094 * lisp/startup.el (normal-top-level): Don't let *Messages* get
14095 a nil default-directory.
14097 2015-06-11 Glenn Morris <rgm@gnu.org>
14099 * lisp/startup.el (normal-top-level): Use delay-warning. (Bug#20792)
14101 Some progress towards starting with PWD deleted. (Bug#18851)
14102 * src/buffer.c (init_buffer): Handle get_current_dir_name failures.
14103 * lisp/startup.el (normal-top-level, command-line-1):
14104 * lisp/minibuffer.el (read-file-name-default):
14105 Handle default-directory being nil.
14107 2015-06-11 Paul Eggert <eggert@cs.ucla.edu>
14109 Fix "not a tty" bug on Solaris 10
14110 * configure.ac (PTY_OPEN): Define to plain 'open'
14111 on SVR4-derived hosts, so that the O_CLOEXEC flag isn't set.
14112 * src/process.c (allocate_pty): Set the O_CLOEXEC flag after
14113 calling PTY_TTY_NAME_SPRINTF, for the benefit of SVR4-derived
14114 hosts that call grantpt which does its work via a setuid subcommand
14115 (Bug#19191, Bug#19927, Bug#20555, Bug#20686).
14116 Also, set O_CLOEXEC even if PTY_OPEN is not defined, since it
14117 seems relevant in that case too.
14119 2015-06-11 Juri Linkov <juri@linkov.net>
14121 * lisp/bindings.el (debug-ignored-errors): Add mark-inactive.
14122 * lisp/simple.el (kill-region): Replace 'error' with 'user-error'.
14125 2015-06-11 Glenn Morris <rgm@gnu.org>
14127 * lisp/international/characters.el (char-script-table): Fix typo.
14129 2015-06-11 Paul Eggert <eggert@cs.ucla.edu>
14131 Fix quoting of help for functions with odd names
14132 While investigating Bug#20759, I discovered other quoting problems:
14133 C-h f mishandled characters like backslash and quote in function names.
14134 This fix changes the behavior so that 'C-h f pcase RET' now
14135 generates "... (\` QPAT) ..." instead of "... (` QPAT) ...",
14136 because '(format "%S" '(` FOO))' returns "(\\` FOO)". A comment
14137 in src/lread.c's read1 function says that the backslash will be
14138 needed starting in Emacs 25, which implies that 'format' is
14139 correct and the old pcase documention was wrong to omit the backslash.
14140 * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
14141 * lisp/help-fns.el (help-fns--signature):
14142 * lisp/help.el (help-add-fundoc-usage):
14143 * lisp/progmodes/elisp-mode.el (elisp-function-argstring):
14144 Use help--make-usage-docstring rather than formatting
14146 * lisp/emacs-lisp/pcase.el (pcase--make-docstring):
14147 Return raw docstring.
14148 * lisp/help-fns.el (help-fns--signature): New arg RAW, to return
14149 raw docstring. Take more care to distinguish raw from cooked dstrings.
14150 (describe-function-1): Let help-fns--signature substitute
14152 * lisp/help.el (help--docstring-quote): New function.
14153 (help-split-fundoc): Use it, to quote funny characters more
14155 (help--make-usage): Rename from help-make-usage, since this
14156 should be private. Leave an obsolete alias for the old name.
14157 (help--make-usage-docstring): New function.
14158 * test/automated/help-fns.el (help-fns-test-funny-names): New test.
14160 2015-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
14162 * lisp/thingatpt.el (in-string-p): Revert last change,
14163 since in-string-p is not used in thingatpt.el but only from outside.
14164 Also, use lexical binding.
14166 2015-06-11 Artur Malabarba <bruce.connor.am@gmail.com>
14168 * lisp/let-alist.el (let-alist--deep-dot-search): Fix cons.
14169 * test/automated/let-alist.el (let-alist-cons): Test it.
14171 2015-06-11 Nicolas Richard <theonewiththeevillook@yahoo.fr>
14173 * src/syntax.c (Fbackward_prefix_chars): Reword docstring.
14175 2015-06-10 Glenn Morris <rgm@gnu.org>
14177 * build-aux/gitlog-to-emacslog: Also ignore pointless merge commits.
14179 Improve generated ChangeLog for gitmerge.el commits. (Bug#20717)
14180 * build-aux/gitlog-to-changelog: Handle gitmerge.el skipped commits.
14181 * admin/gitmerge.el (gitmerge-commit-message):
14182 Exclude "skipped" messages from ChangeLog once again.
14184 Slight namespace cleanup for thingatpt.el.
14185 * lisp/thingatpt.el (thing-at-point--in-string-p)
14186 (thing-at-point--end-of-sexp, thing-at-point--beginning-of-sexp)
14187 (thing-at-point--read-from-whole-string): Rename from
14188 old versions without "thing-at-point--" prefix.
14189 Keep old versions as obsolete aliases. Update all uses.
14191 * lisp/emacs-lisp/checkdoc.el (checkdoc-get-keywords):
14192 Move requiring of finder from here...
14193 (checkdoc-package-keywords): ... to here.
14195 Use 'user-error' in a few calendar files.
14196 * lisp/calendar/appt.el (appt-add):
14197 * lisp/calendar/calendar.el (calendar-absolute-from-gregorian)
14198 (calendar-generate):
14199 * lisp/calendar/diary-lib.el (diary-mail-entries, diary-cyclic):
14200 Replace 'error' with 'user-error'.
14202 * lisp/progmodes/f90.el (f90-backslash-not-special): Use user-error.
14204 * lisp/files-x.el (add-file-local-variable):
14205 Special-case 'lexical-binding'. (Bug#20641)
14207 * lisp/progmodes/executable.el (executable-self-display): Obsolete.
14208 No longer autoload.
14209 * doc/misc/autotype.texi (Executables):
14210 Undocument executable-self-display.
14212 * lisp/progmodes/executable.el (executable-self-display):
14213 Use non-obsolete tail syntax. (Bug#20779)
14214 (executable-self-display): Doc update.
14216 2015-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
14218 * lisp/emacs-lisp/checkdoc.el: Use lexical-binding
14219 (finder-known-keywords): Silence byte-compiler.
14221 2015-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
14223 * lisp/simple.el (eval-expression): Macroexpand before evaluating
14226 * lisp/progmodes/sh-script.el: Better handle nested quotes.
14227 (sh-here-doc-open-re): Don't mis-match the <<< operator (bug#20683).
14228 (sh-font-lock-quoted-subshell): Make sure double quotes within single
14229 quotes don't mistakenly end prematurely the surrounding string.
14231 * lisp/progmodes/elisp-mode.el: Require cl-lib for cl-defstruct.
14233 2015-06-09 Glenn Morris <rgm@gnu.org>
14235 * test/automated/Makefile.in (ELFILES): Sort.
14237 * Makefile.in (SUBDIR_MAKEFILES):
14238 * lwlib/Makefile.in (WARN_CFLAGS):
14239 Use built-in Make functions rather than echo+sed.
14241 2015-06-09 Eli Zaretskii <eliz@gnu.org>
14243 Update char-script-table
14244 * lisp/international/characters.el (char-script-table): Update
14245 from Unicode 8.0 Draft.
14247 Improve font selection for punctuation and other symbols
14248 * src/fontset.c (face_for_char): If the character's script is
14249 'symbol', and the font used for ASCII face has a glyph for it, use
14250 the font for the ASCII face instead of searching the fontsets.
14251 This comes instead of NS-specific code that used the current
14252 face's font instead, which is now disabled due to undesirable
14253 consequences. (Bug#20727)
14255 2015-06-08 Dmitry Gutov <dgutov@yandex.ru>
14257 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
14258 Skip past `#' to find BEG (bug#20771).
14259 * test/automated/elisp-mode-tests.el
14260 (elisp-completes-functions-after-hash-quote): New test.
14262 2015-06-08 Eli Zaretskii <eliz@gnu.org>
14264 Fix compilation warning/error in --without-x builds
14265 * src/xdisp.c (append_space_for_newline): Condition GUI-specific
14266 code on HAVE_WINDOW_SYSTEM.
14268 Improve the default fontset wrt symbols
14269 * lisp/international/fontset.el (setup-default-fontset): Better
14270 setup of fontset-default for symbols: use Symbola and FreeMono.
14273 2015-06-08 Oleh Krehel <ohwoeowho@gmail.com>
14275 Add new command checkdoc-package-keywords
14276 * lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag):
14278 (checkdoc-list-of-strings-p): Add doc.
14279 (checkdoc-current-buffer): When `checkdoc-package-keywords-flag' is
14280 non-nil, call `checkdoc-package-keywords'.
14281 (checkdoc-get-keywords): New defun.
14282 (checkdoc-package-keywords): New command. Warns if the current file
14283 has package.el-style keywords that aren't in `finder-known-keywords'.
14284 * etc/NEWS: Add entry.
14286 2015-06-08 Eli Zaretskii <eliz@gnu.org>
14288 Avoid crashes when key-binding is called from a timer
14289 * src/keymap.c (Fkey_binding): Don't segfault if called with an
14290 empty vector as KEY. (Bug#20705)
14292 Fix a thinko in arc-mode.el
14293 * lisp/arc-mode.el (archive-zip-summarize): Fix last change in the
14294 non-Zip64 case. (Bug#20769)
14296 2015-06-08 Artur Malabarba <bruce.connor.am@gmail.com>
14298 * lisp/emacs-lisp/package.el (package-delete): Make interactive.
14300 2015-06-08 Oleh Krehel <ohwoeowho@gmail.com>
14302 * lisp/emacs-lisp/checkdoc.el (checkdoc-file): New function.
14303 (checkdoc-error): When `checkdoc-diagnostic-buffer' is set to
14304 "*warn*", print the warning to the standard output. (bug#20754)
14306 2015-06-07 Glenn Morris <rgm@gnu.org>
14308 * admin/update_autogen (changelog_files): Remove gitlog-to-emacslog.
14310 * src/font.c (syms_of_font) <font-log>: Doc fix.
14312 Remove the obsolete leading "*" from some C doc strings.
14313 * src/coding.c (syms_of_coding):
14314 * src/font.c (syms_of_font): Remove leading "*" from docs.
14315 * lisp/cus-start.el (enable-character-translation): Add it.
14317 2015-06-07 Paul Eggert <eggert@cs.ucla.edu>
14319 Move gen_origin from program to data
14320 That way, 'make change-history' needs to change only ChangeLog.2,
14321 instead of having to change two files.
14322 * ChangeLog.2: Add commit info for range that this file covers.
14323 * Makefile.in (new_commit_regexp): New macro.
14324 (change-history-nocommit): Simplify, by putting what used to be
14325 the gen_origin value into the data (ChangeLog.2) rather than
14326 into the program (gitlog-to-emacslog).
14327 * build-aux/gitlog-to-emacslog (gen_origin): Calculate from
14328 the input file (e.g., ChangeLog.2) rather than by having a
14329 constant in the program. Substitute it into the output.
14331 2015-06-07 Dmitry Gutov <dgutov@yandex.ru>
14333 * lisp/help-fns.el (help-fns--signature): Quote any quotes in the
14334 function name (bug#20759).
14336 2015-06-07 Eli Zaretskii <eliz@gnu.org>
14338 Adapt 'struct timespec' to next release of MinGW runtime
14339 * nt/inc/ms-w32.h (struct timespec): Don't declare if
14340 __struct_timespec_defined is defined.
14342 2015-06-06 Paul Eggert <eggert@cs.ucla.edu>
14346 2015-06-06 acl-permissions: pacify -Wsuggest-attribute=const
14347 2015-06-05 stdio: Don't redefine gets when using C++
14348 2015-06-05 acl-permissions: port to AIX, C89 HP-UX
14349 2015-06-02 file-has-acl: fix build on Mac OS X 10
14350 2015-06-01 gnulib-tool: concatenate lib_SOURCES to a single line
14351 2015-06-01 pthread_sigmask: discount system version if a simple macro
14352 2015-05-31 readlinkat: avoid OS X 10.10 trailing slash bug
14353 * doc/misc/texinfo.tex, lib/acl-internal.h, lib/get-permissions.c:
14354 * lib/readlinkat.c, lib/set-permissions.c, lib/stdio.in.h:
14355 * m4/acl.m4, m4/pthread_sigmask.m4, m4/readlinkat.m4: Copy from gnulib.
14356 * lib/gnulib.mk: Regenerate.
14358 2015-06-06 Juri Linkov <juri@linkov.net>
14360 * lisp/progmodes/grep.el (zrgrep): Let-bind grep-highlight-matches
14361 before calling grep-compute-defaults because now it affects the
14362 command lines computed in grep-compute-defaults. (Bug#20728)
14364 2015-06-06 Glenn Morris <rgm@gnu.org>
14366 Address some compilation warnings.
14367 * lisp/international/mule-cmds.el (w32-get-console-codepage)
14368 (w32-get-console-output-codepage):
14369 * lisp/progmodes/elisp-mode.el (xref-collect-references):
14370 * lisp/version.el (cairo-version-string): Declare.
14371 * lisp/erc/erc.el (erc-nickname-in-use): Fix typo.
14373 2015-06-06 Eli Zaretskii <eliz@gnu.org>
14375 Fix display when a font claims large values of ascent and descent
14376 This fixes bug#20628.
14377 * src/xdisp.c (get_phys_cursor_geometry): Correct the Y
14378 coordinate of a hollow cursor glyph when the original glyph's
14379 ascent is too small.
14380 (get_font_ascent_descent, normal_char_ascent_descent)
14381 (normal_char_height): New functions.
14382 (handle_single_display_spec, append_space_for_newline)
14383 (calc_pixel_width_or_height, produce_stretch_glyph)
14384 (calc_line_height_property): Use normal_char_ascent_descent and
14385 normal_char_height.
14386 (x_produce_glyphs): When font-global values of ascent and descent
14387 are too large, use per-character glyph metrics instead, if
14388 possible. But don't allow the glyph row's ascent and descent
14389 values become smaller than the values from the metrics of the
14390 font's "normal" character.
14391 * src/xftfont.c (xftfont_draw):
14392 * src/w32font.c (w32font_draw): Correct the values of ascent and
14393 descent used to draw glyphless characters' hex code in a box.
14394 * src/xterm.c (x_draw_glyph_string_background):
14395 * src/xdisp.c (x_produce_glyphs):
14396 * src/w32term.c (x_draw_glyph_string_background):
14397 * src/nsterm.m (ns_maybe_dumpglyphs_background): Use FONT_TOO_HIGH
14398 to detect fonts whose global ascent and descent values are too
14399 large to be used in layout decision, and redraw the background
14401 * src/dispextern.h (FONT_TOO_HIGH): New macro.
14402 (get_font_ascent_descent): Add prototype.
14403 * src/xterm.c (x_new_font):
14404 * src/w32term.c (x_new_font):
14405 * src/nsterm.m (x_new_font):
14406 * src/font.c (font_open_entity):
14407 * src/composite.c (composition_gstring_width):
14408 Use get_font_ascent_descent to obtain reasonable values for ascent
14409 and descent of a font.
14411 2015-06-06 Nicolas Richard <youngfrog@members.fsf.org>
14413 Add assertion in adjust_point_for_property
14414 * src/keyboard.c (adjust_point_for_property): Add eassert for
14415 current buffer being shown in selected window.
14417 2015-06-06 Dmitry Gutov <dgutov@yandex.ru>
14419 Replace uses of in-string-p; make it obsolete
14420 * lisp/thingatpt.el (in-string-p): Declare obsolete (bug#20732).
14421 (end-of-sexp, beginning-of-sexp): Use syntax-ppss instead.
14423 2015-06-06 Eli Zaretskii <eliz@gnu.org>
14425 Fix Dired display of an explicit list of files by ls-lisp.el
14426 * lisp/ls-lisp.el (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt)
14427 (ls-lisp-gid-d-fmt, ls-lisp-gid-s-fmt): Make the initial values be
14428 correct for when displaying individual files separately, not as
14429 part of listing a directory, in which case these values are not
14430 recomputed by 'ls-lisp-insert-directory', but used verbatim.
14432 * lisp/dired.el (dired): Doc fix. (Bug#20739)
14434 2015-06-06 Nicolas Richard <youngfrog@members.fsf.org>
14436 Do not adjust point in a non-selected window
14437 * src/keyboard.c (command_loop_1): Do not adjust point when
14438 current buffer is not shown in selected window (Bug#20590).
14440 * etc/DEBUG: Mention 'maybe_call_debugger'
14442 2015-06-05 Nicolas Petton <nicolas@petton.fr>
14444 Fix a unit test for map.el
14445 * test/automated/map-tests.el (test-map-let): Fix the test to work
14446 with the new syntax of `map-let'.
14448 * lisp/emacs-lisp/map.el (map-let): Better docstring.
14450 Better syntax for the map pcase pattern
14451 * lisp/emacs-lisp/map.el: Improves the map pcase pattern to take
14452 bindings of the form (KEY PAT) or SYMBOL. KEY is not quoted.
14454 * lisp/emacs-lisp/map.el (map--dispatch): Better docstring.
14456 Fix a byte-compiler error in map-put and map-delete
14457 * lisp/emacs-lisp/map.el (map-put, map-delete): Ensure that `setq' is
14458 called with a symbol.
14460 2015-06-05 Glenn Morris <rgm@gnu.org>
14462 * admin/gitmerge.el (gitmerge-commit-message):
14463 Revert to including "skipped" messages in ChangeLog once again.
14465 2015-06-05 Tassilo Horn <tsdh@gnu.org>
14467 Use string> instead of equiv lambda with string<
14468 * lisp/help.el (view-emacs-news): Use string> instead of equivalent
14469 lambda with string<.
14471 2015-06-05 Glenn Morris <rgm@gnu.org>
14473 * lisp/emacs-lisp/map.el (map--dispatch): Move before use.
14474 (map--delete-array): Fix typo.
14476 * test/automated/map-tests.el: Replace "assert" with "should".
14478 * lisp/Makefile.in (SUBDIRS): Rename from SUBDIRS_ABS.
14479 (SUBDIRS_REL): Derive from SUBDIRS.
14481 Tweak some build messages.
14482 * lisp/Makefile.in ($(lisp)/loaddefs.el):
14483 * lisp/cus-dep.el (custom-make-dependencies):
14484 * lisp/finder.el (finder-compile-keywords): Say what we are doing.
14485 * lisp/international/titdic-cnv.el (batch-titdic-convert):
14486 Don't say how to compile.
14488 2015-06-05 Paul Eggert <eggert@cs.ucla.edu>
14490 Omit U+0332 COMBINING LOW LINE in previous change
14491 It turns out that it does not work on Ubuntu 15.04.
14493 Fix transliteration of Bahá'í months
14494 * lisp/calendar/cal-bahai.el (calendar-bahai-month-name-array):
14495 Improve quality of Latin transliteration of Bahá'í month names.
14497 Fix curved quotes in a few places
14498 * lisp/calc/calc-misc.el (calc-help): Fix quoting.
14499 The strings in question are not doc strings, so this partially
14500 undoes the recent change that assumed they were doc strings.
14501 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
14502 * lisp/info.el (Info-finder-find-node):
14504 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
14505 Also allow curved quotes in doc strings.
14507 2015-06-04 Glenn Morris <rgm@gnu.org>
14509 * lisp/Makefile.in (AM_V_at): Add missing definition.
14511 * lisp/Makefile.in: Quieten output a bit.
14512 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el):
14513 Don't echo directories, since the commands we invoke print them.
14515 * lisp/Makefile.in: Replace shell fragments in variables with $(shell).
14516 (SUBDIRS_REL, SUBDIRS_ABS, SUBDIRS_ALMOST, SUBDIRS_FINDER)
14517 (SUBDIRS_SUBDIRS): New variables.
14518 (setwins, setwins_almost, setwins_finder, setwins_for_subdirs):
14520 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el, $(lisp)/loaddefs.el)
14521 (update-subdirs, compile-main, compile-clean):
14522 Replace "setwins" usage with new "SUBDIRS" variables.
14524 * lisp/vc/compare-w.el (compare-windows-get-window-function):
14527 2015-06-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14529 * src/ftfont.c (ftfont_open2): Round divisions by upEM.
14531 Undo removal of x_clear_area call on expose for GTK3 or cairo
14532 * src/xterm.c (handle_one_xevent) [HAVE_GTK3 || USE_CAIRO]:
14533 Clear exposed area. (Bug#20677)
14535 2015-06-04 Glenn Morris <rgm@gnu.org>
14537 * doc/lispref/hash.texi (Creating Hash): Remove obsolete makehash.
14539 * lisp/Makefile.in (check-defun-dups): Also skip ldefs-boot.
14541 * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
14542 Rename from quail-lao-update-translation, since lao.el defines that.
14544 2015-06-04 Dmitry Gutov <dgutov@yandex.ru>
14546 Handle new-style advice in find-funct
14547 * lisp/emacs-lisp/find-func.el (find-function-advised-original):
14548 Handle new-style advice. Return the symbol's function definition.
14550 (find-function-library): Update accordingly.
14552 2015-06-04 Nicolas Petton <nicolas@petton.fr>
14556 * lisp/emacs-lisp/map.el: Better docstring for the map pcase macro.
14558 Add new function string-greaterp
14559 * lisp/subr.el (string-greaterp): New function. Also aliased to
14561 * test/automated/subr-tests.el (string-comparison-test): Add unit
14562 tests for `string>'and `string<'.
14563 * src/fns.c (string-lessp): Better docstring.
14565 2015-06-04 Eli Zaretskii <eliz@gnu.org>
14567 Fix timezone-related functions on MS-Windows
14568 * src/editfns.c (set_time_zone_rule) [WINDOWSNT]: Always call
14569 'xputenv', even if no reallocation of tzvalbuf was necessary.
14570 This fixes a bug in timezone-related functions on MS-Windows.
14571 Reported by Fabrice Popineau <fabrice.popineau@gmail.com>.
14573 2015-06-03 Paul Eggert <eggert@cs.ucla.edu>
14575 Don't pass raw directory name to 'error'
14576 * lisp/files.el (basic-save-buffer-2): Avoid format error if
14577 a directory name contains a string like "%s".
14579 2015-06-03 Dmitry Gutov <dgutov@yandex.ru>
14581 Override 'grep --color=always'
14582 * lisp/progmodes/xref.el (xref-collect-matches):
14583 Override --color=always in grep-find-template.
14585 2015-06-03 Michael Albinus <michael.albinus@gmx.de>
14587 Fix error introduced recently in file-notify-tests.el
14588 * test/automated/file-notify-tests.el
14589 (file-notify--test-remote-enabled): Do not use `file-notify--test-desc'.
14590 (file-notify--deftest-remote): Revert previous patch, not
14593 2015-06-03 Wolfgang Jenkner <wjenkner@inode.at>
14595 * src/indent.c (Fvertical_motion): Amend motion by 0 lines.
14596 Starting from a display string after a newline, point went to the
14597 previous line. Also, fix an inadvertent use of a buffer position
14598 with FETCH_BYTE. (Bug#20701)
14600 2015-06-03 Michael Albinus <michael.albinus@gmx.de>
14602 Instrument file-notify-test.el in order to catch hydra error
14603 * test/automated/file-notify-tests.el (file-notify--deftest-remote):
14604 Wrap body by `ignore-case', in order to trap non-local errors.
14606 2015-06-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14608 Undo previous changes in non-toolkit scroll bar drawing
14609 * src/xterm.c (x_scroll_bar_set_handle, x_scroll_bar_expose)
14610 [!USE_TOOLKIT_SCROLL_BARS]: Draw into scroll bar window. (Bug#20668)
14612 2015-06-03 Paul Eggert <eggert@cs.ucla.edu>
14614 * .gitignore: Also ignore doc/*/*/*.html and .ps.
14616 Support quotes 'like this' in info files
14617 This is possible when 'makeinfo --disable-encoding' is used
14619 * lisp/calc/calc-help.el (calc-describe-thing):
14620 * lisp/gnus/gnus-art.el (gnus-button-alist):
14621 * lisp/info.el (Info-find-index-name):
14622 * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
14623 Also support quotes 'like this'.
14624 * lisp/calc/calc-help.el (calc-describe-thing): Simplify.
14625 * lisp/finder.el (finder-font-lock-keywords): Remove var that
14626 hasn't been used in years, instead of bothering to fix its quoting.
14628 2015-06-02 Paul Eggert <eggert@cs.ucla.edu>
14630 * .gitignore: Remove !test/etags/html-src/*.html.
14631 It's no longer needed, since *.html was removed. Sort.
14633 2015-06-02 Dmitry Gutov <dgutov@yandex.ru>
14635 Restore <D> instead of '.' in grep-find-template
14636 * lisp/cedet/semantic/symref/grep.el
14637 (semantic-symref-grep-use-template): Update a comment.
14638 * lisp/progmodes/grep.el (grep-compute-defaults): Restore <D>
14639 instead of '.' in grep-find-template (bug#20719).
14640 (rgrep): Pass nil as the directory to rgrep-default-command.
14641 * lisp/progmodes/grep.el (grep-expand-keywords): Use '.' as the
14642 default value for DIR.
14643 * lisp/progmodes/xref.el (xref-collect-matches): Drop the
14646 2015-06-02 Glenn Morris <rgm@gnu.org>
14648 * configure.ac (emacs_config_features): Add X toolkit and scroll-bars.
14650 * configure.ac (emacs_config_features): Add Cairo.
14652 * configure.ac [HAVE_GTK3]: Remove USE_CAIRO that gets reset later.
14654 2015-06-02 Michael Albinus <michael.albinus@gmx.de>
14656 Ensure that autorevert works for remote files in file-notify-tests.el
14657 * test/automated/file-notify-tests.el (file-notify--test-desc):
14659 (file-notify--test-remote-enabled)
14660 (file-notify-test00-availability, file-notify-test01-add-watch)
14661 (file-notify-test02-events): Use it.
14662 (file-notify--test-event-test): Check proper descriptor.
14663 (file-notify-test03-autorevert): Ensure that
14664 `visited-file-modtime' has changed. (Bug#20392)
14666 2015-06-02 Nicolas Petton <nicolas@petton.fr>
14668 Add a pcase pattern for maps and `map-let' based on it
14669 * lisp/emacs-lisp/map.el (map-let): New macro.
14670 (map--make-pcase-bindings, map--make-pcase-patterns): New functions.
14671 * test/automated/map-tests.el: New test for `map-let'.
14673 2015-06-02 Dmitry Gutov <dgutov@yandex.ru>
14675 Reuse rgrep mechanics in xref-find-regexp
14676 * lisp/progmodes/grep.el (rgrep-default-command):
14677 Extract from `rgrep'.
14678 * lisp/progmodes/xref.el (xref-collect-references): Split from
14679 `xref-collect-matches'. Only handle the case of symbol search.
14680 (xref-collect-matches): Instead of Semantic Symref, use
14681 `rgrep-default-command', to take advantage of its directory and
14682 file ignore settings.
14683 (xref--collect-match): Remove the last argument, leaving the
14684 regexp construction up to the caller.
14685 * lisp/progmodes/elisp-mode.el (elisp--xref-find-matches):
14686 Change to take the xref-collect- function to use as an argument.
14687 (elisp-xref-find): Update accordingly.
14688 * lisp/progmodes/etags.el (etags--xref-find-matches)
14689 (etags-xref-find): Same.
14691 Move xref-elisp-location to elisp-mode.el
14692 * lisp/progmodes/xref.el (xref-elisp-location)
14693 (xref-make-elisp-location, xref-location-marker): Remove here.
14694 (xref--xref): Don't limit the type of the location slot.
14695 * lisp/progmodes/elisp-mode.el (xref-elisp-location):
14696 Define as a cl-struct here.
14697 (xref-location-marker): Move here.
14699 2015-06-02 Eli Zaretskii <eliz@gnu.org>
14701 Minor tweaks for .gitignore
14702 * .gitignore: Don't ignore versioned *.html and *.ps files.
14703 Don't ignore admin/notes/tags that might be ignored as TAGS
14704 on case-insensitive filesystems. (Bug#20710)
14706 2015-06-02 Paul Eggert <eggert@cs.ucla.edu>
14708 Generate curved quotes in ert doc
14709 * lisp/emacs-lisp/ert.el (ert--print-test-for-ewoc)
14710 (ert-results-mode-menu)
14711 (ert-results-pop-to-backtrace-for-test-at-point)
14712 (ert-results-pop-to-messages-for-test-at-point)
14713 (ert-results-pop-to-should-forms-for-test-at-point)
14714 (ert-describe-test):
14715 Quote ‘like this’, not `like this', when generating doc strings
14717 * test/automated/ert-x-tests.el (ert-test-describe-test):
14718 Allow quoting ‘like this’.
14720 2015-06-02 Nicolas Richard <youngfrog@members.fsf.org>
14722 Add test for previous commit
14723 * test/automated/replace-tests.el: New file.
14724 (query-replace--split-string-tests): Add test for previous commit.
14726 Avoid confusion in query-replace history when replacing NUL chars
14727 * lisp/replace.el (query-replace--split-string): New function.
14728 (query-replace-read-from): Rely on the 'separator' property
14729 instead of searching for the NUL character (Bug#20690).
14731 2015-06-02 Glenn Morris <rgm@gnu.org>
14733 Merge from origin/emacs-24
14734 8b5f2f4 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
14736 * admin/gitmerge.el (gitmerge-commit-message):
14737 Exclude "skipped" messages from ChangeLog.
14739 2015-06-01 Michael Albinus <michael.albinus@gmx.de>
14741 Sync with Tramp repository
14742 * lisp/net/tramp.el (tramp-message): Dump connection buffer error
14744 (tramp-handle-make-auto-save-file-name): When calling
14745 `make-auto-save-file-name' internally, make sure it uses Unix-like
14746 behavior, not Windows-like behavior.
14747 * lisp/net/tramp-sh.el (tramp-set-file-uid-gid): Add a timeout for
14748 the local case, because "chown" might fail on w32.
14749 * lisp/net/trampver.el (tramp-repository-get-version): Don't run
14752 2015-06-01 Eli Zaretskii <eliz@gnu.org>
14754 MS-Windows followup for batch stdout/stderr output changes
14755 * lisp/international/mule-cmds.el (set-locale-environment):
14756 In batch mode, use console codepages for keyboard and terminal
14757 encoding. (Bug#20545)
14759 Update .gitattributes for DOS EOL files
14760 * .gitattributes: Use "whitespace=cr-at-eol" for files with DOS
14761 CRLF end-of-line format.
14763 NS equivalents of xterm.c and w32term.c changes
14764 * src/nsterm.m (ns_maybe_dumpglyphs_background): Force redraw of
14765 glyph string background also when the font in use claims
14766 preposterously large global height value. Helps to remove
14767 artifacts left from previous displays when glyphless characters
14768 are displayed as hex code in a box.
14769 (x_new_font): Call get_font_ascent_descent to obtain a reasonable
14770 value for FRAME_LINE_HEIGHT, even when a font claims very large
14771 value for its height.
14773 2015-06-01 Paul Eggert <eggert@cs.ucla.edu>
14775 Avoid grave accent quoting in stderr diagnostics
14776 A few Emacs diagnostics go directly to stderr, and so can't easily
14777 contain curved quotes (as non-UTF-8 locales might mishandle them).
14778 Instead of bothering to add support for this rarity, reword the
14779 diagnostics so that they don't use grave accent to quote.
14780 * src/alloc.c (mark_memory): Fix comment.
14781 * src/buffer.c (init_buffer):
14782 * src/dispnew.c (init_display):
14783 * src/emacs.c (main, sort_args):
14784 * src/lread.c (dir_warning):
14785 * src/term.c (init_tty):
14786 * src/unexmacosx.c (unexec):
14787 * src/xfns.c (select_visual):
14788 * src/xterm.c (cvt_string_to_pixel, x_io_error_quitter):
14789 Reword stderr diagnostics to avoid quoting `like this'.
14790 * src/unexmacosx.c: Include errno.h.
14791 * src/xfns.c (select_visual): Encode value for locale.
14793 2015-05-31 Paul Eggert <eggert@cs.ucla.edu>
14795 Treat batch stdout/stderr like standard display
14796 Calls like (print FOO) could generate improperly encoded or
14797 hard-to-read output if FOO contains characters outside the system
14798 locale. Fix this by treating batch stdout and stderr like
14799 interactive standard display, when it comes to transliterating and
14800 encoding characters (Bug#20545).
14801 * doc/emacs/mule.texi (Communication Coding):
14802 * doc/lispref/display.texi (Active Display Table):
14803 * doc/lispref/nonascii.texi (Locales):
14805 * src/coding.c (syms_of_coding):
14806 * src/dispnew.c (syms_of_display):
14808 * src/print.c: Include disptab.h.
14809 (printchar_to_stream): New function, with much of the guts of the
14810 old Fexternal_debugging_output, except this one also uses the
14811 standard display table.
14812 (printchar, strout, Fexternal_debugging_output): Use it.
14814 2015-05-31 Glenn Morris <rgm@gnu.org>
14816 * src/emacs.c (syms_of_emacs) <system-configuration-features>: Doc fix.
14818 2015-05-31 Paul Eggert <eggert@cs.ucla.edu>
14820 Remove DEFSYMs that aren't used at the C level. Also:
14821 * src/decompress.c (Qzlib_dll):
14822 * src/font.c (Qunicode_sip):
14823 * src/frame.c (Qtip_frame):
14824 * src/ftfont.c (Qserif):
14825 * src/gnutls.c (Qgnutls_dll):
14826 * src/xml.c (Qlibxml2_dll):
14828 * src/w32fns.c (syms_of_w32fns): ... to here,
14829 as these are used only on MS-Windows.
14831 2015-05-31 Michael Albinus <michael.albinus@gmx.de>
14833 Use another default value for tramp-histfile-override
14834 * lisp/net/tramp-sh.el (tramp-histfile-override):
14835 Use ".tramp_history" as default.
14838 2015-05-29 Nicolas Petton <nicolas@petton.fr>
14840 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
14842 2015-05-16 Nicolas Petton <nicolas@petton.fr>
14844 * etc/NEWS: Add an entry about map.el.
14846 Improve the docstring of functions in map.el
14847 Since a map is not a data structure but a concept, adding information
14848 about the possible types of maps can be useful information.
14849 * lisp/emacs-lisp/map.el: Add documentation about the type of MAP to
14850 each public function.
14852 2015-04-29 Nicolas Petton <nicolas@petton.fr>
14854 * lisp/emacs-lisp/map.el (map-empty-p): Faster implementation using
14855 specific tests depending on the type of the map.
14857 * lisp/emacs-lisp/map.el: Better docstrings.
14859 2015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
14861 * lisp/emacs-lisp/map.el (map-pairs): Dump redundant lambda.
14863 2015-04-25 Nicolas Petton <nicolas@petton.fr>
14865 * lisp/emacs-lisp/map.el (map--elt-list): Better docstring.
14867 * lisp/emacs-lisp/map.el (map--elt-list): Minor refactoring.
14869 Fix a false negative in `map-elt' with alists and values being nil
14870 * lisp/emacs-lisp/map.el (map-elt): If map is an alist and key is
14871 found but its associated value is nil, do not return the default
14873 * test/automated/map-tests.el: Add a regression test.
14875 2015-04-24 Nicolas Petton <nicolas@petton.fr>
14877 * lisp/emacs-lisp/map.el (map--dispatch): Improve the docstring.
14879 Do not signal an error when trying to delete a key from an array
14880 * lisp/emacs-lisp/map.el (map-delete): When map is an array, check if
14881 the key is present to avoid signaling an error.
14882 * test/automated/map-tests.el: Add a test for deleting non-existing
14885 * lisp/emacs-lisp/map.el: Better docstring.
14887 Minor improvement in map-elt
14888 * lisp/emacs-lisp/map.el (map-elt): Do not use `ignore-errors' when
14889 doing a lookup in arrays, but check the boundaries of the array
14891 * test/automated/map-tests.el: Adds a test for `map-elt' with arrays
14892 and a negative integer as key.
14894 2015-04-21 Nicolas Petton <nicolas@petton.fr>
14896 * test/automated/map-tests.el: Refactoring of test methods.
14898 * test/automated/map-tests.el: Renamed from map-test.el.
14900 2015-04-18 Nicolas Petton <nicolas@petton.fr>
14902 * lisp/emacs-lisp/map.el (map-into): Better error message.
14904 * lisp/emacs-lisp/map.el: Remove byte-compilation warnings.
14906 Throw an error when converting a map into an unknown map type
14907 * lisp/emacs-lisp/map.el (map-into): Throw an error if type is
14909 * test/automated/map-test.el: Add a regression test.
14911 New library map.el similar to seq.el but for mapping data structures.
14912 * test/automated/map-test.el: New file.
14913 * lisp/emacs-lisp/map.el: New file.
14915 2015-05-30 Dmitry Gutov <dgutov@yandex.ru>
14917 * lisp/progmodes/etags.el (tag-implicit-name-match-p): Make sure
14918 there's no explicit tag name (bug#20629).
14920 2015-05-30 Paul Eggert <eggert@cs.ucla.edu>
14923 * src/editfns.c, src/lisp.h (format2): Remove.
14924 It is more trouble than it's worth, now that we have CALLN.
14925 This is just a minor refactoring.
14926 * src/buffer.c (Fkill_buffer):
14927 * src/dbusbind.c (XD_OBJECT_TO_STRING):
14928 * src/fileio.c (barf_or_query_if_file_exists):
14929 Adjust to format2 going away.
14931 Don't misencode C-generated messages
14932 Also, be more consistent about calls to 'Fmessage' vs 'message'.
14933 * src/alloc.c (Fgc_status):
14934 Prefer AUTO_STRING to build_string for Fmessage call.
14935 * src/data.c (Fmake_variable_buffer_local)
14936 (Fmake_local_variable, Fmake_variable_frame_local):
14937 * src/doc.c (store_function_docstring):
14938 Use Fmessage, not message, since the argument can contain
14939 non-ASCII characters, and this can cause the resulting message
14940 to be incorrectly encoded for the current environment.
14941 * src/fns.c (maybe_resize_hash_table):
14942 * src/xselect.c (x_clipboard_manager_save_all):
14943 Use message, not Fmessage, since Fmessage's power isn't needed here.
14944 * src/process.c (Fmake_network_process): Reword message to avoid %s.
14945 * src/xdisp.c (vmessage): Document restrictions on message contents.
14946 (message_nolog) [false]: Remove unused code.
14948 Use \r rather than ^M in string literals
14949 This is less likely to cause problems on platforms that
14950 use CRLF (or CR!) termination for lines.
14952 Update .gitattributes to match current sources
14953 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00879.html
14954 * .gitattributes: Accommodate tests that insist on DOS format.
14955 Remove test/automated/data/decompress/foo-gzipped.
14956 Add etc/e/eterm-color.
14958 2015-05-30 Eli Zaretskii <eliz@gnu.org>
14960 * doc/emacs/mule.texi (Modifying Fontsets):
14961 Document face-ignored-fonts. (Bug#20628)
14963 Add etags test for the new -Q option
14964 * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
14965 * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
14966 * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
14967 test-case changes below.
14968 * test/etags/ETAGS.good_6: New file.
14969 * test/etags/cp-src/x.cc: New file.
14970 * test/etags/Makefile (CPSRC): Add x.cc.
14971 (check): Add one more test, for -Q.
14973 2015-05-30 Dmitry Gutov <dgutov@yandex.ru>
14975 Use list for the tags completion table, not obarray
14976 * lisp/progmodes/etags.el (etags-tags-completion-table): Return a
14977 list instead of an obarray
14978 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00876.html).
14979 (tags-completion-table): Combine those lists.
14980 (tags-completion-table): Update the docstring.
14982 2015-05-30 Eli Zaretskii <eliz@gnu.org>
14984 Restore EOL format testing in etags
14985 * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
14986 * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
14987 * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
14988 test-case changes below.
14989 * test/etags/html-src/algrthms.html: Convert back to DOS EOL format.
14990 * test/etags/cp-src/c.C (B): Add back stray CR character.
14991 * test/etags/c-src/dostorture.c: Add back.
14992 * test/etags/Makefile (CSRC): Add back c-src/dostorture.c.
14994 2015-05-30 Vitaly Takmazov <vitalyster@gmail.com> (tiny change)
14996 Declare Emacs on MS-Windows to be DPI-aware
14997 * nt/emacs-x86.manifest (asmv3:windowsSettings): Add dpiAware.
14998 * nt/emacs-x64.manifest (asmv3:windowsSettings): Add dpiAware.
14999 This avoids Windows entering compatibility mode for Emacs,
15000 which causes fonts to look less nice.
15002 2015-05-30 Michael Albinus <michael.albinus@gmx.de>
15004 Improve Tramp traces
15005 * lisp/net/trampver.el (tramp-repository-get-version): New defun.
15006 * lisp/net/tramp.el (tramp-debug-message): Use it.
15008 2015-05-30 Paul Eggert <eggert@cs.ucla.edu>
15010 backup-buffer minor reworking of internals
15011 * lisp/files.el (backup-buffer): Rework to avoid a couple of
15012 unused locals inadvertently introduced in the previous change.
15014 backup-buffer now reports .emacs.d/%backup% ills
15015 * lisp/files.el (backup-buffer): If the write to .emacs.d/%backup%
15016 fails due to disk space exhaustion or whatever, do not pretend
15017 that it succeeded. More generally, do a better job of checking
15018 for I/O failures, and limit the scope of the condition-case to
15019 just the operations where file errors should be caught and ignored
15020 (Bug#20595). Also, don't bother trying to delete later backups if
15021 an earlier deletion fails, as this is a sign of trouble and it's
15022 better to stop when there's trouble.
15024 copy-file now truncates output after writing
15025 * src/fileio.c (Fcopy_file): Truncate output after writing rather
15026 than before. This is more likely to work than truncation before
15027 writing, if the file system is out of space or the user is over
15028 disk quota (Bug#20595). Also, check for read errors.
15030 2015-05-29 Artur Malabarba <bruce.connor.am@gmail.com>
15032 * lisp/emacs-lisp/package.el (package-load-all-descriptors):
15033 Don't load descriptors from directories above the package directories.
15035 2015-05-29 Paul Eggert <eggert@cs.ucla.edu>
15038 This incorporates the following (Bug#20681):
15039 2015-05-29 acl-permissions: Fix build on Mac OS X and older AIX
15040 2015-05-29 acl-permissions: Fix build on Solaris and Cygwin
15041 * lib/set-permissions.c: Copy from gnulib.
15043 2015-05-29 Michael Albinus <michael.albinus@gmx.de>
15045 Improve Tramp traces
15046 * lisp/net/tramp.el (tramp-call-process-region): New defun.
15047 * lisp/net/tramp-sh.el (tramp-get-inline-coding): Use it.
15049 2015-05-29 Glenn Morris <rgm@gnu.org>
15051 * test/automated/vc-tests.el: Try enabling tests on hydra.nixos.org.
15053 2015-05-29 Wolfgang Jenkner <wjenkner@inode.at>
15055 * src/xfns.c (x_set_menu_bar_lines): Fix calls to x_clear_area.
15056 The signature was changed in the cairo branch, merged on 2015-05-23.
15057 This oversight broke compiling only the non-toolkit X version.
15059 2015-05-29 Samer Masterson <samer@samertm.com>
15061 * doc/lispref/os.texi: Update initial-buffer-choice docs.
15063 2015-05-29 Glenn Morris <rgm@gnu.org>
15065 * test/automated/vc-tests.el (vc-test-rcs04-checkout-model):
15066 Mark as an expected failure.
15068 2015-05-29 Paul Eggert <eggert@cs.ucla.edu>
15070 Change package test to look for curved quotes
15071 * test/automated/package-test.el (package-test-describe-package)
15072 (package-test-signed): Search for curved single quotes as well as
15073 for grave accent and apostrophe.
15075 2015-05-28 Katsumi Yamaoka <yamaoka@jpl.org>
15077 * lisp/gnus/gnus-art.el (gnus-button-alist): Re-revert last change.
15078 cf. <http://news.gmane.org/group/gmane.emacs.devel/thread=186896>
15080 2015-05-28 Samer Masterson <samer@samertm.com>
15082 Show files when `initial-buffer-choice' is non-nil
15083 * lisp/startup.el (command-line-1): When Emacs is given a file as an
15084 argument and `initial-buffer-choice' is non-nil, display both the file
15085 and `initial-buffer-choice'. For more than one file, show
15086 `initial-buffer-choice' and *Buffer List*. Refactor display-changing
15087 commands out of the command line arg parser.
15088 (initial-buffer-choice): Clarify docstring.
15090 2015-05-28 Eli Zaretskii <eliz@gnu.org>
15093 * nt/gnulib.mk (libgnu_a_SOURCES): Add get-permissions.c back.
15094 (gnulib module qcopy-acl): Add back, as it is harmless. This
15095 minimizes differences wrt lib/gnulib.mk.
15097 Fix the MS-Windows build as followup to gnulib update
15098 * nt/gnulib.mk (libgnu_a_SOURCES): Remove get-permissions.c and
15099 set-permissions.c, as they don't compile on MinGW.
15100 (gnulib module qcopy-acl): Remove, as it needs set-permissions.c.
15102 2015-05-28 Paul Eggert <eggert@cs.ucla.edu>
15104 Revert my change to gnus-art.el
15105 * lisp/gnus/gnus-art.el (gnus-button-alist): Revert last change.
15106 It wasn't that important, and it caused a Gnus build to fail. See:
15107 http://www.randomsample.de:4456/builders/emacs-devel/builds/734
15109 New minor mode Electric Quote
15110 This lets you easily insert quotes ‘like this’ by typing
15111 quotes `like this', and similarly you can easily insert
15112 quotes “like this” by typing quotes ``like this'' (Bug#20545).
15113 * doc/emacs/basic.texi (Inserting Text):
15114 * doc/emacs/modes.texi (Minor Modes):
15115 * etc/NEWS: Document it.
15116 * doc/emacs/text.texi (Quotation Marks): New section.
15117 * lisp/electric.el (electric-quote-comment)
15118 (electric-quote-string, electric-quote-paragraph):
15120 (electric--insertable-p)
15121 (electric-quote-post-self-insert-function): New functions.
15122 (electric-quote-mode, electric-quote-local-mode): New minor modes.
15123 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
15124 Add curved single quotes to electric-pair-text-pairs.
15125 Set electric-quote-string in this buffer.
15127 A few more doc string fixes (Bug#20385)
15129 Accept curved quotes in doc strings
15130 * lisp/info-look.el (info-lookup-guess-custom-symbol):
15131 (info-lookup-alist): Treat ‘’ like `' when parsing help buffers etc.
15133 Generate curved quotes in pseudo-info nodes
15134 * lisp/info.el (Info-virtual-index-find-node)
15135 (Info-virtual-index, Info-apropos-find-node, info-apropos):
15136 Quote ‘like this’, not `like this', when generating pseudo-info nodes.
15138 Fix minor quoting problems in doc strings
15139 Most of these fixes involve escaping grave accents that are
15140 actually intended to be grave accents, not left quotes.
15143 Support curved quotes in doc strings
15144 Emacs's traditional doc string style has been to quote symbols
15145 `like this'. This worked well on now-obsolete terminals where
15146 ` and ' were symmetric quotes, but nowadays curved quotes
15147 ‘like this’ look better. Support quoting the new way too.
15149 * doc/lispref/tips.texi (Documentation Tips): Symbols can be quoted
15150 ‘like-this’ as well as `like-this'.
15151 * etc/NEWS: Mention this.
15152 * lisp/cedet/mode-local.el (overload-docstring-extension)
15153 (mode-local-print-binding, mode-local-describe-bindings-2):
15154 * lisp/cus-theme.el (describe-theme-1):
15155 * lisp/descr-text.el (describe-text-properties-1, describe-char):
15156 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
15157 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
15158 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
15159 (eieio-help-constructor):
15160 * lisp/emacs-lisp/package.el (describe-package-1):
15161 * lisp/faces.el (describe-face):
15162 * lisp/help-fns.el (help-fns--key-bindings)
15163 (help-fns--compiler-macro, help-fns--parent-mode, help-fns--obsolete):
15164 (help-fns--interactive-only, describe-function-1):
15165 (describe-variable):
15166 * lisp/help.el (describe-mode):
15167 * lisp/international/mule-cmds.el (describe-input-method)
15168 (describe-language-environment):
15169 * lisp/international/mule-diag.el (describe-character-set)
15170 (print-coding-system-briefly, list-input-methods)
15171 (list-input-methods-1):
15172 Insert curved quotes rather than grave accent and apostrophe.
15173 * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
15174 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
15175 (checkdoc-proper-noun-region-engine):
15176 * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2)
15177 (lisp-cl-font-lock-keywords-2):
15178 * lisp/finder.el (finder-font-lock-keywords):
15179 * lisp/gnus/gnus-art.el (gnus-button-alist):
15180 * lisp/help-fns.el (help-do-arg-highlight)
15181 (describe-function-1, describe-variable):
15182 * lisp/help-mode.el (help-xref-symbol-regexp)
15183 (help-xref-info-regexp, help-xref-url-regexp):
15184 * lisp/help.el (describe-mode):
15185 * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
15186 * lisp/wid-edit.el (widget-documentation-link-regexp):
15187 Parse symbols quoted ‘like-this’ as well as `like-this'.
15188 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
15189 Add "‘" and "’" to electric-pair-text-pairs.
15190 (elisp--form-quoted-p): Also allow "‘" as a quoting char.
15191 (elisp-completion-at-point, elisp--preceding-sexp):
15192 Also treat "‘" and "’" as quoting chars.
15194 substitute-command-keys now curves quotes
15195 So, for example, it turns "`abc'" into "‘abc’" (Bug#20385).
15196 * doc/lispref/help.texi (Keys in Documentation):
15197 * etc/NEWS: Document this.
15198 * src/doc.c (Fsubstitute_command_keys): Implement it.
15200 2015-05-28 Glenn Morris <rgm@gnu.org>
15202 * lisp/mail/rmailsum.el (rmail-summary-by-recipients)
15203 (rmail-summary-by-topic, rmail-summary-by-senders):
15204 No longer strip leading/trailing whitespace.
15206 * lisp/progmodes/f90.el (f90-type-def-re): Add "type, extends".
15207 (f90-no-block-limit): Add "enum". (Bug#20680)
15208 * test/automated/f90.el (f90-test-bug20680, f90-test-bug20680b):
15211 2015-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
15213 * lisp/isearch.el (isearch--current-buffer): Give a default value.
15214 Un-revert changes mistakenly dropped by f9fabb2b.
15216 2015-05-27 Paul Eggert <eggert@cs.ucla.edu>
15220 2015-05-27 qacl: Reimplement qset_acl and qcopy_acl (Bug#20666)
15221 2015-05-27 file-has-acl: Split feature tests again (Bug#20667)
15222 2015-05-27 string: fix build failure on BSD/OSX with FORTIFY_SOURCE
15223 2015-05-26 stdio: limit __gnu_printf__ witness to gcc 4.4+
15224 2015-05-26 inttypes: force correct mingw PRIdMAX even without <stdio.h>
15225 2015-05-26 stdio: fix probe on mingw under gcc 5.1
15226 * admin/merge-gnulib (GNULIB_MODULES):
15227 Replace qacl with qcopy-acl, since we don't need the rest of qacl.
15228 * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
15229 * lib/inttypes.in.h, lib/qcopy-acl.c, lib/qset-acl.c:
15230 * lib/string.in.h, m4/acl.m4, m4/stdio_h.m4:
15231 Get latest versions from gnulib.
15232 * lib/get-permissions.c, lib/set-permissions.c: New files.
15233 * lib/gnulib.mk, m4/gnulib-comp.m4:
15235 * nt/gnulib.mk: Merge lib/gnulib.mk changes by hand.
15237 2015-05-27 Dmitry Gutov <dgutov@yandex.ru>
15239 * lisp/vc/vc-dispatcher.el (vc-setup-buffer): Delete the old
15241 (vc-do-command): Rather than here (bug#20608).
15243 2015-05-27 Ivan Shmakov <ivan@siamics.net>
15245 Avoid gratuitous delete-dups in face-at-point
15246 * lisp/faces.el (face-at-point): Do not compute the properly
15247 ordered, duplicate-free list if only a single value is
15248 requested anyway. (Bug#20519)
15250 Show the exact C-x 8 RET invocation in describe-char
15251 * lisp/descr-text.el (describe-char): Show the exact C-x 8 RET
15252 invocation instead of a template. (Bug#20522)
15254 2015-05-27 Artur Malabarba <bruce.connor.am@gmail.com>
15256 * lisp/emacs-lisp/package.el: Don't erase tags on refresh.
15257 (package-menu--post-refresh): Call `tabulated-list-print' with the
15258 UPDATE argument. This only affects the refresh action, the revert
15259 action still erases tags.
15260 (package-menu-get-status): Change `assq' to `assoc'.
15261 (package-menu--mark-upgrades-1): New function.
15262 (package-menu--mark-upgrades-pending): New variable.
15263 (package-menu-mark-upgrades): Use them to delay marking until
15264 after refresh is done.
15265 (package-menu--post-refresh): Call mark-upgrades-1 if
15266 mark-upgrades-pending is non-nil.
15268 2015-05-27 Michael Albinus <michael.albinus@gmx.de>
15270 * lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
15271 Fix typo in "Improve tramp-handle-make-auto-save-file-name"
15272 (commit 3953c4be2816537be95520605d45b866dc731f4b).
15274 2015-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
15276 * lisp/isearch.el (isearch--current-buffer): New var.
15277 (isearch-update): Set cursor-sensor-inhibit here.
15278 (isearch-done): Unset cursor-sensor-inhibit in the right buffer
15281 Change inhibit-point-motion-hooks to t
15282 * src/textprop.c (syms_of_textprop): Default Vinhibit_point_motion_hooks
15283 to t and document it as obsolete.
15285 2015-05-27 Eli Zaretskii <eliz@gnu.org>
15287 Support ZIP files that use Zip64 extensions
15288 * lisp/arc-mode.el (archive-zip-summarize): Handle the new ZIP
15289 format of central directory offsets used by Zip64 extensions.
15292 2015-05-27 Michael Albinus <michael.albinus@gmx.de>
15294 New test tramp-test30-make-auto-save-file-name
15295 * test/automated/tramp-tests.el
15296 (tramp-test30-make-auto-save-file-name): New test.
15297 (tramp-test31-special-characters)
15298 (tramp-test31-special-characters-with-stat)
15299 (tramp-test31-special-characters-with-perl)
15300 (tramp-test31-special-characters-with-ls, tramp-test32-utf8)
15301 (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
15302 (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
15303 (tramp-test34-recursive-load, tramp-test35-unload): Rename.
15305 Improve tramp-handle-make-auto-save-file-name
15306 * lisp/net/tramp.el (tramp-auto-save-directory): Add :tags.
15307 (tramp-handle-make-auto-save-file-name): Let native
15308 `make-auto-save-file-name' use `auto-save-file-name-transforms',
15309 if `tramp-auto-save-directory' is not set.
15311 2015-05-27 Glenn Morris <rgm@gnu.org>
15313 No longer set dired-directory in eshell. (Bug#16477)
15314 * lisp/eshell/esh-mode.el (eshell-mode):
15315 * lisp/eshell/em-dirs.el (eshell/cd): No longer set dired-directory.
15317 * lisp/mail/sendmail.el (mail-position-on-field): Doc fix.
15319 Make c-submit-bug-report file reports at debbugs.gnu.org. (Bug#15784)
15320 * lisp/progmodes/cc-mode.el (c-mode-help-address):
15321 Change to submit@debbugs.
15322 (c-mode-bug-package): New constant.
15323 (mail-position-on-field): Declare.
15324 (c-submit-bug-report): Insert X-Debbugs-Package header.
15325 * doc/misc/cc-mode.texi (Mailing Lists and Bug Reports):
15326 Mention debbugs.gnu.org.
15328 2015-05-26 Glenn Morris <rgm@gnu.org>
15330 * lisp/mail/rmailsum.el: Commas no longer separate regexps. (Bug#19026)
15331 (rmail-summary-by-recipients, rmail-summary-by-topic)
15332 (rmail-summary-by-senders): No longer use mail-comma-list-regexp.
15333 * doc/emacs/rmail.texi (Rmail Make Summary): Update for this change.
15335 2015-05-26 Paul Eggert <eggert@cs.ucla.edu>
15337 Handle curved quotes in info files
15338 * lisp/calc/calc-help.el (calc-describe-thing):
15339 * lisp/info.el (Info-find-index-name)
15340 (Info-try-follow-nearest-node, Info-fontify-node):
15341 * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
15342 In info files, process quotes ‘like this’ the same way we process
15343 quotes `like this'. This catches a few places we missed earlier.
15345 2015-05-26 Dmitry Gutov <dgutov@yandex.ru>
15347 xref-prompt-for-identifier: Use a list value
15348 * lisp/progmodes/xref.el (xref-prompt-for-identifier): Allow list
15349 value, to be interpreted as a list of commands.
15350 (xref--prompt-p): New function.
15351 (xref--read-identifier): Use it.
15353 2015-05-26 Eli Zaretskii <eliz@gnu.org>
15355 Teach MS-Windows font back-end return per-glyph ascent/descent
15356 * src/w32font.h (struct w32_metric_cache): Add ascent and descent
15358 * src/w32font.c (w32font_text_extents): Compute, cache, and
15359 accumulate per-glyph ascent and descent values, instead of copying
15360 global values from the font. If the values are not available from
15361 the font data, i.e., non-TTF fonts, fall back on font-global values.
15362 (compute_metrics): Compute and return per-glyph ascent and descent
15363 values, if returned by GetGlyphOutlineW, falling back on
15364 font-global values. (Bug#20628)
15365 * src/w32term.c (w32_draw_rectangle): Add 1 pixel to width and
15366 height of rectangle to be drawn, to be compatible with
15367 XDrawRectangle. Fixes glyphless-char display as hex codes in a
15368 box, when per-glyph ascent/descent values are used.
15370 2015-05-26 Artur Malabarba <bruce.connor.am@gmail.com>
15372 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
15373 Don't sort if sorter is nil.
15375 2015-05-26 Michael Albinus <michael.albinus@gmx.de>
15378 * lisp/net/tramp-sh.el (tramp-set-auto-save): Remove it. There
15379 are major modes which set `auto-save-mode' on their own rules;
15380 Tramp shall not overwrite such settings.
15382 2015-05-26 Glenn Morris <rgm@gnu.org>
15384 * lisp/desktop.el: If modes aren't autoloaded, try simple guesswork.
15385 (desktop-load-file): Guess that "foobar" defines "foobar-mode".
15386 (desktop-buffer-mode-handlers, desktop-minor-mode-handlers):
15388 (vc-dir-mode): Remove unnecessary autoload.
15390 2015-05-25 Philipp Stephani <phst@google.com>
15392 * lisp/term/xterm.el: Add gui-get-selection support via OSC-52.
15393 (xterm--extra-capabilities-type): Add `getSelection'.
15394 (xterm--query): Add `no-async' argument.
15395 (xterm--init-activate-get-selection): New function.
15396 (terminal-init-xterm): Use it.
15397 (xterm--init-modify-other-keys): Rename from
15398 terminal-init-xterm-modify-other-keys.
15399 (xterm--init-bracketed-paste-mode): Rename from
15400 terminal-init-xterm-bracketed-paste-mode.
15401 (xterm--init-activate-set-selection): Rename from
15402 terminal-init-xterm-activate-set-selection.
15403 (xterm--selection-char): New function.
15404 (gui-backend-set-selection): Use it. Use the &context to only apply
15405 this method in terminals where we enabled the feature.
15406 (gui-backend-get-selection): New method.
15408 2015-05-25 Daniel Colascione <dancol@dancol.org>
15410 * lisp/progmodes/cc-langs.el (c-constant-kwds): Add C-language
15411 keyword constants to C++.
15413 2015-05-25 Paul Eggert <eggert@cs.ucla.edu>
15415 Make TAGS files more portable to MS-Windows
15416 * etc/NEWS: Document this.
15417 * lib-src/etags.c (readline_internal) [DOS_NT]:
15418 Don't treat CRs differently from GNUish hosts.
15419 * lisp/progmodes/etags.el (etags-goto-tag-location):
15420 Adjust STARTPOS to account for the skipped CRs in dos-style files.
15422 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
15424 Improve fix of bug#20634 in tramp-sh.el
15426 2015-05-25 Eli Zaretskii <eliz@gnu.org>
15428 Fix a typo in last commit
15429 * lib-src/etags.c (C_entries): Fix a typo.
15430 * test/etags/ETAGS.good_1:
15431 * test/etags/ETAGS.good_2:
15432 * test/etags/ETAGS.good_3:
15433 * test/etags/ETAGS.good_4:
15434 * test/etags/ETAGS.good_5:
15435 * test/etags/CTAGS.good: Update due to the change in etags.c.
15437 Fix tagging of class members in C-like OO languages
15438 * lib-src/etags.c (longopts): Add new option --class-qualify and
15440 (print_help): Add help text for --class-qualify.
15441 (main): Add handling of -Q.
15442 (consider_token, C_entries) <omethodparm>: Append argument types
15443 to Objective C methods only if --class-qualify was specified.
15444 Qualify C++, Objective C, and Java class members with their class
15445 names only if --class-qualify was specified.
15446 (C_entries): If --class-qualify was not specified, remove the
15447 namespace and class qualifiers from tag names of C++ methods.
15448 This allows to use etags.el as xref back-end without the
15449 tag-symbol-match-p method, which greatly increases the number of
15450 potentially false positives. (Bug#20629)
15451 * doc/man/etags.1: Update to document the new --class-qualify
15453 * test/etags/ETAGS.good_1:
15454 * test/etags/ETAGS.good_2:
15455 * test/etags/ETAGS.good_3:
15456 * test/etags/ETAGS.good_4:
15457 * test/etags/ETAGS.good_5:
15458 * test/etags/CTAGS.good: Update due to changes in etags.c.
15460 2015-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
15462 (cl-generic-define-method): Side effects are evil (bug#20644)
15463 * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method): Don't reuse
15464 cons-cells that might be used as keys in an `equal' hash-table.
15466 2015-05-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
15468 Make erc timestamps visible again
15469 * lisp/erc/erc-stamp.el (erc-munge-invisibility-spec):
15470 Make timestamps visible again (if requested).
15472 2015-05-25 Eli Zaretskii <eliz@gnu.org>
15474 Fix last change in etags.c that broke tagging compresed files
15475 * lib-src/etags.c (process_file_name) [MSDOS || DOS_NT]: Fix
15476 quoting of decompression shell command for MS-Windows/MS-DOS.
15478 2015-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
15480 * lisp/emacs-lisp/cl-macs.el (cl-tagbody): Scope cl--tagbody-alist.
15483 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
15485 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer):
15486 Fix typo in "Inhibit `epa-file-handler' in Tramp"
15487 (commit 89035e247591c8d688fce922b7079881aa110f33).
15489 2015-05-25 Orivej Desh <orivej@gmx.fr> (tiny change)
15491 Fix IPv6 addresses in Tramp
15492 * lisp/net/tramp-sh.el (tramp-make-copy-program-file-name):
15493 Add square brackets around host name.
15495 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
15497 Inhibit `epa-file-handler' in Tramp (Bug#20634)
15498 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
15499 (tramp-sh-handle-insert-file-contents-literally): Inhibit also
15500 `epa-file-handler'.
15502 2015-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
15504 * lisp/emacs-lisp/pcase.el: Use PAT rather than UPAT in docstring.
15505 (pcase-let): Document the behavior in case the pattern doesn't match.
15507 2015-05-24 Artur Malabarba <bruce.connor.am@gmail.com>
15509 * lisp/emacs-lisp/tabulated-list.el: New optional print method.
15510 (tabulated-list-print): New optional argument, UPDATE. If
15511 non-nil, the list is printed by only adding and deleting the
15512 changed entries, instead of erasing the whole buffer. This method
15513 is much faster when few or no entries have changed.
15514 * doc/lispref/modes.texi (Tabulated List Mode): Document it.
15515 * etc/NEWS: Document it.
15517 * lisp/emacs-lisp/tabulated-list.el: Improve printing.
15518 (tabulated-list--get-sorter): New function.
15519 (tabulated-list-print): Restore window-line when remember-pos is
15520 passed and optimize away the `nreverse'.
15522 2015-05-24 Paul Eggert <eggert@cs.ucla.edu>
15524 Simpilify etags TEX mode scanning
15525 * lib-src/etags.c (TEX_mode, TEX_esc, TEX_opgrp, TEX_clgrp):
15526 Remove static vars.
15527 (TeX_commands): Deduce escapes here instead.
15528 (TEX_LESC, TEX_SESC, TEX_mode): Remove; all uses removed.
15529 This removes the need for a reset_input call.
15531 Improve etags I/O error reporting
15533 Don't include sys/types.h and sys/stat.h; no longer needed.
15534 (infilename): New static var.
15535 (process_file_name): Don't call 'stat'. Instead, just open the
15536 file for reading and report any errors. Don't bother making
15537 a copy of the file argument; it's not needed. Be more careful to
15538 use the failing errno when reporting an error.
15539 Quote the real name better (though no perfectly)
15540 when passing it to the shell.
15541 (reset_input): New function, which reports I/O errors.
15542 All uses of 'rewind' changed to use this function.
15543 (perhaps_more_input): New function, which also checks for
15544 I/O errors. All uses of 'feof' changed to use this function.
15545 (analyze_regex): Report an error if fclose fails.
15546 (readline_internal): Report an error if getc fails.
15547 (etags_mktmp): Return an error if close fails.
15549 etags.c: avoid side effects in 'if'
15550 * lib-src/etags.c (process_file_name, Perl_functions)
15551 (TEX_decode_env): Hoist side effects into previous statement.
15554 * .gitignore: Ignore all *.stamp files. Sort.
15555 Ignore [0-9]*.txt (commonly used name for git patches)
15556 and /vc-dwim-log-* (vc-dwim temporary).
15558 2015-05-24 Eli Zaretskii <eliz@gnu.org>
15560 Fix last change in etags.c, which failed the test suite
15561 * lib-src/etags.c (intoken): Add '$' to the set, as it was there
15562 before the last change.
15564 2015-05-23 Glenn Morris <rgm@gnu.org>
15566 Remove charset map files from repository, generate in first bootstrap
15567 * admin/charsets/Makefile.in (${srcdir}/charsets.stamp): New.
15568 (all): Create the stamp file.
15569 (extraclean): Delete the stamp file.
15570 * src/Makefile.in (lispintdir, charsets): New variables.
15571 (${lispintdir}/cp51932.el, ${lispintdir}/eucjp-ms.el, ${charsets}):
15573 (emacs$(EXEEXT), temacs$(EXEEXT)): Depend on $charsets.
15574 * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
15575 * etc/charsets/*.map: Remove from repository.
15577 2015-05-23 Paul Eggert <eggert@cs.ucla.edu>
15579 Cleanup etags.c to use locale-independent code
15580 Although this doesn't alter behavior (as etags doesn't use
15581 setlocale), the new version is more clearly locale-independent and
15582 the executable is a bit smaller on my platform.
15583 * lib-src/etags.c: Include <limits.h>, for UCHAR_MAX.
15584 Include <c-ctype.h> instead of <ctype.h>.
15585 (CHARS, CHAR, init, _wht, _nin, _itk, _btk, _etk, white, nonam, endtk)
15587 Remove; no longer needed.
15588 (iswhite, ISALNUM, ISALPHA, ISDIGIT, ISLOWER, lowcase): Remove.
15589 All callers changed to use c_isspace, c_isalnum, c_isalpha, c_isdigit,
15590 c_islower, c_tolower, respectively.
15591 (notinname, begtoken, intoken, endtoken): Rewrite as functions
15592 instead of macros, and initialize the tables at compile-time
15593 rather than at run-time.
15595 Put default action first in src/Makefile
15596 * src/Makefile.in (all): Put this rule before lisp.mk.
15597 That way, plain 'make' works in the src directory again.
15599 2015-05-23 Glenn Morris <rgm@gnu.org>
15601 * Makefile.in: Fix extraclean rule.
15602 (extraclean_dirs): New.
15603 (extraclean): Use it.
15605 2015-05-23 Eli Zaretskii <eliz@gnu.org>
15607 Avoid compiler warning in image.c on MS-Windows
15608 * src/w32term.h (x_query_color): Add prototype, to avoid compiler
15609 warning in image.c.
15611 2015-05-23 Glenn Morris <rgm@gnu.org>
15613 Fix --without-toolkit-scroll-bars builds.
15614 * src/xterm.c (x_scroll_bar_set_handle) [!USE_TOOLKIT_SCROLL_BARS]:
15615 Add new argument to x_clear_area1.
15616 (XTset_horizontal_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
15617 Update x_clear_area arguments.
15619 * admin/charsets/glibc/: New directory, imported from glibc 2.21.
15620 * admin/charsets/Makefile.in (GLIBC_CHARMAPS):
15621 Change to included version.
15622 (LOCAL, local, totalclean): Remove.
15623 (extraclean): Delete all generated files.
15625 2015-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15627 * lisp/pcmpl-cvs.el (pcmpl-cvs-entries): Don't assume
15628 CVS/Entries exists.
15630 * lisp/progmodes/xref.el (xref-find-apropos): Use read-string.
15632 * lisp/progmodes/etags.el (tags-completion-at-point-function):
15633 Don't trust the find-tag function.
15635 2015-05-23 Paul Eggert <eggert@cs.ucla.edu>
15637 Pacify --enable-gcc-warnings
15638 * src/frame.h (x_query_color): Remove redundant extern decl.
15639 * src/ftcrfont.c (ftcrfont_glyph_extents, ftcrfont_list)
15640 (ftcrfont_match, ftcrfont_open, ftcrfont_close)
15641 (ftcrfont_text_extents, ftcrfont_draw):
15642 * src/xterm.c (x_set_window_size_1, *x_color_cells, x_update_end)
15643 (XTframe_up_to_date, x_clear_area1, x_clear_frame)
15644 (x_ins_del_lines, frame_highlight, frame_unhighlight)
15645 (x_new_focus_frame, x_focus_changed, XTframe_rehighlight)
15646 (x_draw_hollow_cursor, x_draw_bar_cursor, x_flush, x_update_begin)
15647 (x_update_window_begin, x_connection_closed)
15648 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
15649 (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
15650 (*x_gc_get_ext_data, x_extension_initialize)
15651 (x_cr_accumulate_data):
15652 Remove redundant static decl. Many of these GCC doesn't complain
15653 about, but we might as well clean out the duplication while we're
15654 in the neighborhood.
15655 * src/xterm.c (x_fill_trapezoid_for_relief):
15656 Remove decl of nonexistent function.
15658 2015-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15660 Replace gui-method macros with cl-generic with &context
15661 * lisp/frame.el (gui-method--name, gui-method, gui-method-define)
15662 (gui-method-declare, gui-call): Remove.
15663 (frame-creation-function): Use cl-defgeneric.
15664 (make-frame): Adjust callers.
15665 * lisp/menu-bar.el (menu-bar-edit-menu):
15666 Use gui-backend-selection-exists-p.
15667 * lisp/select.el (x-get-clipboard): Use gui-backend-get-selection.
15668 (gui-backend-get-selection): New cl-generic to replace
15669 gui-get-selection method.
15670 (gui-backend-set-selection): New cl-generic to replace
15671 gui-set-selection method.
15672 (gui-selection-owner-p): New cl-generic to replace
15673 gui-selection-owner-p method.
15674 (gui-backend-selection-exists-p): New cl-generic to replace
15675 gui-selection-exists-p method. Adjust all callers.
15676 * lisp/server.el (server-create-window-system-frame): Don't ignore
15677 window-system spec even when unsupported.
15678 * lisp/simple.el (deactivate-mark): Use new gui-backend-* functions.
15679 * lisp/startup.el (handle-args-function, window-system-initialization):
15681 (command-line): Adjust calls accordingly.
15682 * lisp/term/ns-win.el (ns-window-system-initialization): Turn into
15683 a window-system-initialization method.
15684 (handle-args-function, frame-creation-function): Use cl-defmethod.
15685 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
15686 (gui-get-selection): Use cl-defmethod on the new functions instead.
15687 * lisp/term/pc-win.el (w16-get-selection-value): Turn into
15688 a gui-backend-get-selection method.
15689 (gui-selection-exists-p, gui-selection-owner-p, gui-set-selection):
15690 Use cl-defmethod on the new functions instead.
15691 (msdos-window-system-initialization): Turn into
15692 a window-system-initialization method.
15693 (frame-creation-function, handle-args-function): Use cl-defmethod.
15694 * lisp/term/w32-win.el (w32-window-system-initialization): Turn into
15695 a window-system-initialization method.
15696 (handle-args-function, frame-creation-function): Use cl-defmethod.
15697 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
15698 (gui-get-selection): Use cl-defmethod on the new functions instead.
15699 * lisp/term/x-win.el (x-window-system-initialization): Turn into
15700 a window-system-initialization method.
15701 (handle-args-function, frame-creation-function): Use cl-defmethod.
15702 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
15703 (gui-get-selection): Use cl-defmethod on the new functions instead.
15704 * lisp/term/xterm.el (xterm--set-selection): Turn into
15705 a gui-backend-set-selection method.
15706 * src/nsselect.m (Fns_selection_exists_p): Remove unused arg `terminal'.
15707 (Fns_selection_owner_p): Remove unused arg `terminal'.
15708 (Fns_get_selection): Remove unused args `time_stamp' and `terminal'.
15710 2015-05-23 Eli Zaretskii <eliz@gnu.org>
15712 Revert "Fix etags Bug#20629 that broke C++ support"
15713 This reverts commit 13dd9d4f7e75d2c78aa5537cef09de03663e9748.
15715 2015-05-23 Jan D <jan.h.d@swipnet.se>
15717 Fix etags Bug#20629 that broke C++ support
15718 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
15719 Revert commit from Sun May 10 (Bug#20629).
15721 Merge branch 'cairo'.
15722 Main work done by YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>.
15723 Small fixes and image work by Jan D. <jan.h.d@swipnet.se>.
15725 Merge branch 'master' into cairo
15727 Fixes to compile cairo branch without cairo
15728 * src/gtkutil.c (xg_update_scrollbar_pos): x_clear_area takes frame as
15730 * src/xterm.c (handle_one_xevent): Surround x_cr_destroy_surface with
15733 2015-05-23 Artur Malabarba <bruce.connor.am@gmail.com>
15735 * lisp/emacs-lisp/package.el: Always update selected-packages.
15736 (package--update-selected-packages): New function.
15737 (package-menu-execute): Use it before starting the transaction,
15738 this way the list of selected packages is updated even when the
15740 (package-menu--perform-transaction): Don't edit selected-packages.
15742 2015-05-23 Eli Zaretskii <eliz@gnu.org>
15744 Fix etags reading of compressed files
15745 * lib-src/etags.c (O_CLOEXEC) [WINDOWSNT]: Define.
15746 Include fcntl.h, for O_CLOEXEC.
15747 (process_file_name): Don't use 'popen', whose streams cannot be
15748 rewound. Instead, uncompress the file to a temporary file,
15749 created by 'etags_mktmp', and read from that as usual.
15750 (etags_mktmp): New function.
15751 * test/etags/ETAGS.good_1:
15752 * test/etags/ETAGS.good_2:
15753 * test/etags/ETAGS.good_3:
15754 * test/etags/ETAGS.good_4:
15755 * test/etags/ETAGS.good_5: Update to be consistent with latest
15756 changes in etags.c regarding reading compressed files.
15758 Improve documentation of 'set-fontset-font'
15759 * doc/lispref/display.texi (Fontsets): Document the value of nil
15760 for the 3rd argument of 'set-fontset-font'.
15762 Fix documentation of forward-line
15763 * src/cmds.c (Fforward_line): Clarify the return value if the line
15764 at end of accessible portion of the buffer has no newline.
15765 * doc/lispref/positions.texi (Text Lines): Document what happens
15766 if the line at end of accessible portion of buffer has no newline.
15769 2015-05-22 Glenn Morris <rgm@gnu.org>
15771 * admin/charsets/Makefile.in (TRANS_TABLE): Add short aliases.
15773 * admin/charsets/mapconv (LC_ALL): Set to C.
15775 * Makefile.in: Add admin/charsets into top-level clean rules.
15776 (clean): Add admin/charsets.
15777 (maybeclean_dirs): New variable.
15778 (distclean, bootstrap-clean, maintainer-clean): Use $maybeclean_dirs.
15780 * admin/charsets/Makefile.in (LOCAL, local): Fix members.
15782 2015-05-22 Artur Malabarba <bruce.connor.am@gmail.com>
15784 * lisp/emacs-lisp/package.el (package-selected-packages): Fix doc.
15786 2015-05-22 Glenn Morris <rgm@gnu.org>
15788 Generate admin/charsets Makefile via configure, and make more portable
15789 * configure.ac (SUBDIR_MAKEFILES): Add admin/charsets/Makefile.
15790 (admin/charsets/Makefile): Generate it.
15791 * admin/charsets/Makefile.in: Rename from Makefile.
15792 (AWK, srcdir, top_srcdir, AM_DEFAULT_VERBOSITY):
15793 New variables, set by configure.
15794 (charsetdir, lispintdir, mapfiledir, AM_V_GEN, am__v_GEN_)
15795 (am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_, am__v_at_0)
15796 (am__v_at_1, LOCAL, mapconv, run_mapconv, big5, compact, cp51932)
15797 (cp932, eucjp_ms, gb180302, gb180304, kuten): New variables.
15798 (TRANS_TABLE, CHARSETS): Add directory prefix to value.
15799 (all): Declare PHONY.
15800 (local): New PHONY target.
15801 (map_template): New template. Use to define short PHONY aliases.
15802 (*.map): Add directory prefixes to targets and prerequisites.
15803 Respect make verbosity.
15804 (JISC6226.map): Replace non-portable sed append without newline.
15805 (install): Remove rule.
15806 (clean): Only delete temporary sedscript.
15807 (bootstrap-clean, distclean, maintainer-clean, extraclean)
15808 (totalclean): New PHONY rules.
15809 * admin/charsets/mapconv (BASE): Replace basename with expr.
15810 (FILE): Add "mapfiles" subdirectory.
15811 (AWK): New variable. Use throughout in place of "awk".
15812 (main): Use "gunzip -c" in place of "zcat".
15813 Don't leave whitespace before "p", for older sed.
15814 * admin/charsets/mapfiles/PTCP154: Add final newline,
15815 to make older sed versions happy.
15817 2015-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
15819 * lisp/autorevert.el: Use lexical-binding. Fix hook usage.
15820 (global-auto-revert-ignore-buffer, auto-revert-notify-modified-p)
15821 (auto-revert-notify-watch-descriptor): Use defvar-local.
15822 (find-file-hook, auto-revert-tail-mode)
15823 (auto-revert-notify-add-watch): Use setq-local.
15824 (auto-revert-notify-add-watch): Don't call make-local-variable on
15825 kill-buffer-hook (bug#20601).
15827 2015-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
15829 Change defgeneric so it doesn't completely redefine the function
15830 * lisp/emacs-lisp/cl-generic.el (cl-generic-define): Don't throw away
15831 previously defined methods.
15832 (cl-generic-define-method): Let-bind purify-flag instead of
15834 (cl--generic-prefill-dispatchers): Only define during compilation.
15835 (cl-method-qualifiers): Remove redundant alias.
15836 (help-fns-short-filename): Silence byte-compiler.
15837 * test/automated/cl-generic-tests.el:
15838 Adjust to new defgeneric semantics.
15840 2015-05-21 Artur Malabarba <bruce.connor.am@gmail.com>
15842 * lisp/emacs-lisp/package.el (package-menu-execute):
15843 Remove reference to remove-dups.
15845 2015-05-21 kwhite <kwhite@gnu.org>
15847 * lisp/erc/erc.el: Hide network/channel messages.
15848 (erc-network-hide-list, etc-channel-hide-list): New lists to define
15849 message types per network/channel.
15850 (erc-add-targets): New function to parse list of targets.
15851 (erc-hide-current-message-p): Modified to check for new targets.
15853 2015-05-21 Paul Eggert <eggert@cs.ucla.edu>
15855 Don't quote nil and t in doc strings
15856 This is as per "Tips for Documentation Strings" in the elisp manual.
15857 For consistency, do the same in diagnostics and comments.
15859 2015-05-21 Eli Zaretskii <eliz@gnu.org>
15861 Fix a minor problem with mouse-face on mode line
15862 * src/xdisp.c (note_mode_line_or_margin_highlight): Reset the
15863 mouse face also if the mouse pointer hovers above mode-line glyphs
15864 that don't come from any Lisp string. (Bug#20620)
15866 2015-05-21 Artur Malabarba <bruce.connor.am@gmail.com>
15868 * lisp/emacs-lisp/package.el: Fix selected-package logic.
15869 (package-menu-execute): Mark as selected all non-upgrade packages
15871 (package-menu--perform-transaction): Don't mark anything.
15873 * lisp/emacs-lisp/package.el: Mode-line progress report.
15874 (package-menu--transaction-status): New variable.
15875 (package-menu-mode, package-menu--perform-transaction): Use it.
15877 * lisp/emacs-lisp/package.el: Better transaction messages.
15878 (package-menu--partition-transaction): New function.
15879 (package-menu--prompt-transaction-p, package-menu-execute):
15881 (package-menu--perform-transaction): Don't do any messaging.
15883 * lisp/emacs-lisp/package.el: Revert async package transactions.
15884 (package-menu-async): Update doc.
15885 (package-install-from-archive, package-download-transaction)
15886 (package-install, package-menu--perform-transaction)
15887 (package-menu-execute): Remove asynchronous functionality.
15889 2015-05-21 Paul Eggert <eggert@cs.ucla.edu>
15891 Revert doc string changes to f90.el
15892 Problem reported by Glenn Morris in:
15893 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00596.html
15894 * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
15895 Revert recent changes to doc strings, as it's intended that they
15896 use grave accent, not quote.
15898 2015-05-20 Bozhidar Batsov <bozhidar@batsov.com>
15900 * lisp/emacs-lisp/subr-x.el (hash-table-empty-p):
15901 Improve parameter name.
15903 * lisp/emacs-lisp/subr-x.el (hash-table-empty-p): New inline function.
15905 2015-05-20 Paul Eggert <eggert@cs.ucla.edu>
15907 Don't require help-fns when not needed
15908 * lisp/emacs-lisp/autoload.el, lisp/emacs-lisp/advice.el:
15909 * lisp/emacs-lisp/elint.el:
15910 Don't require help-fns at the top level
15911 * lisp/emacs-lisp/advice.el (ad-arglist):
15912 * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
15913 Don't require help-fns. (Bug#17001)
15915 2015-05-20 Eli Zaretskii <eliz@gnu.org>
15917 Fix slash collapsing in etags on MS-Windows
15918 * lib-src/etags.c (canonicalize_filename) [DOS_NT]: Separate the
15919 MS-Windows code from the Posix code, and support collapsing both
15920 forward- and back-slashes on MS-Windows. Fixes a regression found
15923 Improve documentation of glyphless-char-display
15924 * doc/lispref/display.texi (Glyphless Chars): Improve
15925 documentation of glyphless character display.
15927 Fix "acronym" display of glyphless characters on w32
15928 * src/w32term.c (x_draw_glyphless_glyph_string_foreground): Don't
15929 ignore "acronym" substitutes of 1 character for glyphless characters.
15931 2015-05-20 Oleh Krehel <ohwoeowho@gmail.com>
15933 Add an automated test for let-when-compile
15934 * test/automated/subr-tests.el (let-when-compile): New test.
15936 Add let-when-compile macro instead of using pcase-let
15937 * lisp/subr.el (let-when-compile): New let-like macro that makes its
15938 bindings known to macros like `eval-when-compile' in the body.
15939 * lisp/emacs-lisp/lisp-mode.el: Change the top-level `pcase-let' to
15940 a `let-when-compile'. Also comment out the unused lexical var
15942 The change greatly improves readability, while providing almost the
15943 same (even shorter) byte code: instead of pre-evaluating 10 variables,
15944 tossing them into a list, and destructuring that list a full screen
15945 page later, the variables are simply bound as they are evaluated,
15946 wrapped individually in `eval-when-compile'.
15948 2015-05-20 Artur Malabarba <bruce.connor.am@gmail.com>
15950 * lisp/emacs-lisp/package.el: "Delete" button in Help buffer.
15951 (package-delete-button-action): New function.
15952 (describe-package-1): Add Delete button.
15954 * lisp/emacs-lisp/package.el: Better dependency description.
15955 (package--used-elsewhere-p): New optional arg, ALL, and return
15956 package-desc objects instead of names.
15957 (package-delete): Update accordingly.
15958 (describe-package-1): Describe which packages require the package.
15960 2015-05-20 Martin Rudalics <rudalics@gmx.at>
15962 Fix handling and doc-string of FRAME arg of `other-buffer' (Bug#20533)
15963 * src/buffer.c (Fother_buffer): Argument FRAME must denote a live frame.
15966 Improve `switch-to-buffer' in strongly dedicated windows (Bug#20472)
15967 * lisp/window.el (switch-to-buffer-in-dedicated-window): New option.
15968 (switch-to-buffer): If the selected window is strongly dedicated
15969 to its buffer, signal error before prompting for buffer name.
15970 Handle `switch-to-buffer-in-dedicated-window'.
15971 * doc/lispref/windows.texi (Switching Buffers):
15972 Document `switch-to-buffer-in-dedicated-window'.
15974 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
15976 Prefer "this" to “this” in doc strings
15977 This mostly just straightens quotes introduced in my previous patch.
15978 Suggested by Dmitry Gutov in:
15979 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00565.html
15980 * lisp/faces.el, lisp/gnus/gnus-group.el, lisp/ldefs-boot.el:
15981 * lisp/mail/supercite.el, lisp/net/tramp.el, lisp/recentf.el:
15982 * lisp/textmodes/artist.el, lisp/textmodes/rst.el:
15983 * lisp/textmodes/tildify.el, lisp/vc/ediff-util.el:
15984 * lisp/vc/log-edit.el, lisp/xt-mouse.el:
15985 Prefer straight double quotes to curved double quotes in doc strings.
15987 Fix minor quoting problems in doc strings
15988 These were glitches regardless of how or whether we tackle the
15989 problem of grave accent in doc strings.
15990 * lisp/calc/calc-aent.el (math-restore-placeholders):
15991 * lisp/ido.el (ido-ignore-buffers, ido-ignore-files):
15992 * lisp/leim/quail/cyrillic.el ("bulgarian-alt-phonetic"):
15993 * lisp/leim/quail/hebrew.el ("hebrew-new")
15994 ("hebrew-biblical-sil"):
15995 * lisp/leim/quail/thai.el ("thai-kesmanee"):
15996 * lisp/progmodes/idlw-shell.el (idlwave-shell-file-name-chars):
15997 Used curved quotes to avoid ambiguities like ‘`''’ in doc strings.
15998 * lisp/calendar/calendar.el (calendar-month-abbrev-array):
15999 * lisp/cedet/semantic/mru-bookmark.el (semantic-mrub-cache-flush-fcn):
16000 * lisp/cedet/semantic/symref.el (semantic-symref-tool-baseclass):
16001 * lisp/cedet/semantic/tag.el (semantic-tag-copy)
16002 (semantic-tag-components):
16003 * lisp/cedet/srecode/cpp.el (srecode-semantic-handle-:cpp):
16004 * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
16005 * lisp/emacs-lisp/byte-opt.el (byte-optimize-all-constp):
16006 * lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-engine):
16007 * lisp/emacs-lisp/generator.el (iter-next):
16008 * lisp/gnus/gnus-art.el (gnus-treat-strip-list-identifiers)
16009 (gnus-article-mode-syntax-table):
16010 * lisp/net/rlogin.el (rlogin-directory-tracking-mode):
16011 * lisp/net/soap-client.el (soap-wsdl-get):
16012 * lisp/net/telnet.el (telnet-mode):
16013 * lisp/org/org-compat.el (org-number-sequence):
16014 * lisp/org/org.el (org-remove-highlights-with-change)
16015 (org-structure-template-alist):
16016 * lisp/org/ox-html.el (org-html-link-org-files-as-html):
16017 * lisp/play/handwrite.el (handwrite-10pt, handwrite-11pt)
16018 (handwrite-12pt, handwrite-13pt):
16019 * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
16020 * lisp/progmodes/idlwave.el (idlwave-mode, idlwave-check-abbrev):
16021 * lisp/progmodes/verilog-mode.el (verilog-tool)
16022 (verilog-string-replace-matches, verilog-preprocess)
16023 (verilog-auto-insert-lisp, verilog-auto-insert-last):
16024 * lisp/textmodes/makeinfo.el (makeinfo-options):
16025 * src/font.c (Ffont_spec):
16026 Fix minor quoting problems in doc strings, e.g., missing quote,
16027 ``x'' where `x' was meant, etc.
16028 * lisp/erc/erc-backend.el (erc-process-sentinel-2):
16029 Fix minor quoting problem in other string.
16030 * lisp/leim/quail/ethiopic.el ("ethiopic"):
16031 * lisp/term/tvi970.el (tvi970-set-keypad-mode):
16032 Omit unnecessary quotes.
16033 * lisp/faces.el (set-face-attribute, set-face-underline)
16034 (set-face-inverse-video, x-create-frame-with-faces):
16035 * lisp/gnus/gnus-group.el (gnus-group-nnimap-edit-acl):
16036 * lisp/mail/supercite.el (sc-attribs-%@-addresses)
16037 (sc-attribs-!-addresses, sc-attribs-<>-addresses):
16038 * lisp/net/tramp.el (tramp-methods):
16039 * lisp/recentf.el (recentf-show-file-shortcuts-flag):
16040 * lisp/textmodes/artist.el (artist-ellipse-right-char)
16041 (artist-ellipse-left-char, artist-vaporize-fuzziness)
16042 (artist-spray-chars, artist-mode, artist-replace-string)
16043 (artist-put-pixel, artist-text-see-thru):
16044 * lisp/vc/ediff-util.el (ediff-submit-report):
16045 * lisp/vc/log-edit.el (log-edit-changelog-full-paragraphs):
16046 Use double-quotes rather than TeX markup in doc strings.
16047 * lisp/skeleton.el (skeleton-pair-insert-maybe):
16048 Reword to avoid the need for grave accent and apostrophe.
16049 * lisp/xt-mouse.el (xterm-mouse-tracking-enable-sequence):
16050 Don't use grave and acute accents to quote.
16052 2015-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
16054 * lisp/emacs-lisp/generator.el (cps--gensym, cps--transform-1):
16057 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
16059 Try to port new etags tests to MS-Windows
16060 * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
16061 * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
16062 * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
16063 Adjust to test-case changes below.
16064 * test/etags/Makefile (CSRC): Remove dostorture.c.
16065 Whatever it was trying to test, wasn't working portably.
16066 (LC_ALL): Remove. Apparently there wasn't an encoding problem,
16067 just a line-ending problem.
16068 * test/etags/c-src/dostorture.c: Remove.
16069 * test/etags/cp-src/c.C: Remove stray CR.
16070 * test/etags/html-src/algrthms.html: Remove trailing CRs.
16071 State UTF-8 as the encoding. The file is ASCII so it doesn't matter,
16072 but if someone edits it later it should stay UTF-8-compatible.
16074 2015-05-19 Eli Zaretskii <eliz@gnu.org>
16076 Fix display of overlapping window-specific overlays
16077 * src/keyboard.c (adjust_point_for_property): When adjusting point
16078 due to display strings, ignore overlays that are specific to
16079 windows other than the currently selected one.
16080 * src/xdisp.c (handle_single_display_spec): If the display
16081 property comes from an overlay, arrange for buffer iteration to
16082 resume only after the end of that overlay. (Bug#20607)
16084 2015-05-19 Dmitry Gutov <dgutov@yandex.ru>
16086 New command icomplete-force-complete-and-exit
16087 * lisp/icomplete.el (icomplete-force-complete-and-exit):
16089 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00461.html)
16090 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00516.html).
16091 (icomplete-minibuffer-map): Bind C-j to it.
16092 (icomplete-forward-completions, icomplete-backward-completions):
16093 Mention the new command in the docstring.
16094 * lisp/minibuffer.el (minibuffer-force-complete-and-exit):
16095 Revert the previous fix for bug#17545.
16097 2015-05-19 Martin Rudalics <rudalics@gmx.at>
16101 In Elisp manual explain how to override window manager positioning
16103 * doc/lispref/frames.texi (Position Parameters): Give example of
16104 how to override a window manager positioning decision.
16106 Clarify concept of "surrogate minibuffer frames" (Bug#20538)
16107 * src/frame.c (Fdelete_frame): In doc-string mention that frame
16108 can't be deleted if it has a surrogate minibuffer.
16109 * doc/lispref/frames.texi (Minibuffers and Frames)
16110 (Deleting Frames): Explain "surrogate minibuffer frames".
16112 * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 19/12 MB.
16114 2015-05-18 Glenn Morris <rgm@gnu.org>
16116 Add option to ignore commit lines matching a pattern in ChangeLog
16117 * build-aux/gitlog-to-changelog: Add --ignore-line option.
16118 * build-aux/gitlog-to-emacslog: Ignore lines matching '^; '.
16120 2015-05-18 Paul Eggert <eggert@cs.ucla.edu>
16122 Don't skip new etags tests on non-UTF-8 hosts
16123 Problem reported by Eli Zaretskii for MS-Windows.
16124 * test/etags/Makefile (UTF8_LOCALE, UTF8_ENCODING): Remove.
16125 (LC_ALL): Set to C if the current locale isn't UTF-8.
16126 (.PHONY): Remove ediff_1 thru ediff_5.
16127 (check): Always run.
16129 2015-05-18 Glenn Morris <rgm@gnu.org>
16131 * lisp/calculator.el (calculator-funcall):
16132 * lisp/textmodes/artist.el (artist-spray-random-points):
16133 Use standard degree/radian conversion utilities.
16135 Further lisp-complete-symbol related cleanup.
16136 * lisp/emacs-lisp/lisp.el (lisp-complete-symbol):
16137 Unadvertise non-functional argument. Replace obsolete alias.
16139 2015-05-18 Dmitry Gutov <dgutov@yandex.ru>
16141 Add a test case for Maven warning ouput
16142 * test/automated/compile-tests.el
16143 (compile-tests--test-regexps-data): Add a case for Maven warning
16145 (compile--test-error-line): Check the compilation message type, if
16146 it's specified in the test data.
16148 2015-05-18 Paul Pogonyshev <pogonyshev@gmail.com>
16150 Update Maven compilation-mode entry to distinguish warnings
16151 * lisp/progmodes/compile.el
16152 (compilation-error-regexp-alist-alist): Update Maven entry to
16153 distinguish warnings (bug#20556).
16155 2015-05-18 Przemysław Wojnowski <esperanto@cumego.com>
16157 * test/automated/sgml-mode-tests.el: New file.
16159 2015-05-18 Dmitry Gutov <dgutov@yandex.ru>
16161 Improve handling of the first Git revision
16162 * lisp/vc/log-view.el (log-view-toggle-entry-display): When
16163 there's no next entry, delete until the end of the buffer.
16164 (log-view-end-of-defun-1): Stop at eob.
16165 * lisp/vc/vc-annotate.el
16166 (vc-annotate-show-diff-revision-at-line-internal): Don't give up
16167 when previous-revision is nil.
16168 * lisp/vc/vc-git.el (vc-git-expanded-log-entry): End the arguments
16169 with `--' to avoid ambiguity.
16170 (vc-git-annotate-extract-revision-at-line): Exclude `^' from the
16171 returned revision string.
16172 (vc-git-annotate-time): Expect `^' before the first revision.
16173 * lisp/vc/vc-git.el (vc-git-diff): Diff against an empty tree if
16174 REV1 is nil, and REV2 is not.
16175 * lisp/vc/vc.el: Update the description of the `diff' function.
16177 2015-05-18 Oleh Krehel <ohwoeowho@gmail.com>
16179 Allow checkdoc to be called in batch
16180 * lisp/emacs-lisp/checkdoc.el (checkdoc-error): When `noninteractive'
16181 is non-nil, echo the error with `warn'.
16182 How it can be used in -batch:
16183 (with-current-buffer (find-file "checkdoc.el")
16184 (checkdoc-current-buffer t))
16186 2015-05-18 Glenn Morris <rgm@gnu.org>
16188 * lisp/calendar/solar.el (solar-ecliptic-coordinates): Use float-pi.
16190 2015-05-17 Paul Eggert <eggert@cs.ucla.edu>
16192 * admin/notes/unicode: New section "binary files".
16194 Change new etags test to use UTF-8 encoding
16195 * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
16196 * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
16197 * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
16198 * test/etags/html-src/index.shtml, test/etags/html-src/software.html:
16199 * test/etags/html-src/softwarelibero.html:
16200 Switch to UTF-8 encoding.
16201 * test/etags/Makefile (SRCS): Adjust to switch to UTF-8.
16202 Remove Makefile, as it's too incestuous to have the test input
16203 include the build procedure.
16204 (UTF8_LOCALE, UTF_ENCODING): New macros.
16205 (LC_ALL): If possible, set to a UTF-8 encoding if not already UTF-8.
16206 (check): Skip if not UTF-8.
16207 (.PHONY): New rule.
16208 (FRC): Remove, as superseded by .PHONY. All uses removed.
16209 (regexfile): Prefer printf to echo when outputting oddball chars.
16210 (.PRECIOUS): Remove, as these files are not built.
16212 Rename 'foo-gzipped' to 'foo.gz'
16213 * test/automated/data/decompress/foo.gz:
16214 Rename from test/automated/data/decompress/foo-gzipped,
16215 to make it easier for other tools to tell that it's compressed.
16216 * test/automated/zlib-tests.el (zlib--decompress):
16217 Adjust to renamed file.
16219 2015-05-17 Dmitry Gutov <dgutov@yandex.ru>
16221 Set up default-directory
16222 * lisp/vc/vc-annotate.el (vc-annotate-mode-map): Remove duplicate
16224 (vc-annotate-show-changeset-diff-revision-at-line): Set up an
16225 appropriate value for default-directory.
16227 2015-05-17 Samer Masterson <samer@samertm.com>
16229 * lisp/eshell/em-term.el (eshell-term-sentinel):
16230 No-op by default, only kills term buffer if
16231 `eshell-destroy-buffer-when-process-dies' is non-nil. (Bug#18108)
16232 (eshell-destroy-buffer-when-process-dies): New custom to preserve
16235 eshell: Introduce new buffer syntax
16236 The new buffer syntax '#<buffer-name>' is equivalent to '#<buffer
16237 buffer-name>'. Remove `eshell-buffer-shorthand', as it is no longer
16238 needed (Bug#19319).
16239 * lisp/eshell/esh-io.el (eshell-buffer-shorthand): Remove.
16240 (eshell-get-target): Remove shorthand-specific code.
16241 * lisp/eshell/esh-arg.el (eshell-parse-special-reference): Parse
16244 2015-05-17 Jan D <jan.h.d@swipnet.se>
16246 Merge branch 'master' into cairo
16248 2015-04-26 Jan D <jan.h.d@swipnet.se>
16250 Merge branch 'master' into cairo
16252 Add PBM support for cairo
16253 * src/image.c (xcolor_to_argb32): New function.
16254 (get_spec_bg_or_alpha_as_argb): Call xcolor_to_argb32.
16255 (pbm_load, png_load_body, jpeg_load_body, gif_load): Only use
16256 XImagePtr if ! USE_CAIRO.
16257 (pbm_load): Add cairo support.
16259 2015-04-12 Jan D <jan.h.d@swipnet.se>
16261 * src/xterm.c (x_free_cr_resources): Rename from x_prepare_for_xlibdraw.
16262 (x_cr_draw_frame, x_cr_export_frames, x_shift_glyphs_for_insert)
16263 (x_free_frame_resources): Rename x_prepare_for_xlibdraw to
16264 x_free_cr_resources.
16266 Handle specified bg in images. Use generic libpng code for PNGs.
16267 * src/image.c (get_spec_bg_or_alpha_as_argb)
16268 (create_cairo_image_surface): New functions when USE_CAIRO.
16269 (xpm_load): Call the above functions. Handle XPM without mask
16271 (png_load_body): Handle USE_CAIRO case.
16272 (png_load): Remove USE_CAIRO specific fuction, modify png_load_body
16274 (jpeg_load_body): Call create_cairo_image_surface.
16275 (gif_load, svg_load_image): Handle specified background, call
16276 create_cairo_image_surface.
16277 * src/xterm.c (x_draw_image_glyph_string): Add missing USE_CAIRO.
16279 2015-04-11 Jan D <jan.h.d@swipnet.se>
16281 Support GIF and TIFF with cairo
16282 * configure.ac: Allow jpeg with cairo.
16283 Allow tiff and gif with cairo.
16284 * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
16285 (tiff_load): Create cairo image surface if USE_CAIRO.
16288 Support JPEG with USE_CAIRO
16289 * configure.ac: Allow jpeg with cairo.
16290 * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
16292 2015-04-05 Jan D <jan.h.d@swipnet.se>
16294 Support RSVG and cairo
16295 * configure.ac: Allow rsvg with cairo. Move back HAVE_RSVG.
16296 * src/dispextern.h (struct image): Add cr_data2 if cairo.
16297 * src/image.c: #undef COLOR_TABLE_SUPPORT when USE_CAIRO.
16298 (x_clear_image): Free cr_data and cr_data2 if set.
16299 (xpm_load): Assign data to cr_data2.
16300 (svg_load_image): Convert from GdkPixbuf to CAIRO_FORMAT_ARGB32.
16302 2015-04-03 Jan D <jan.h.d@swipnet.se>
16304 Introduce limited Xpm support (32 bit ZPixmap) for Cairo
16305 * configure.ac (HAVE_RSVG): Move after cairo.
16306 (USE_CAIRO): Disable rsvg, don't disable Xpm.
16307 * src/image.c (prepare_image_for_display): Don't load if USE_CAIRO.
16308 (x_clear_image): If USE_CAIRO, also free possible img->ximg->obdata and
16309 don't return early.
16310 (ALLOC_XPM_COLORS): Don't define when USE_CAIRO.
16311 (xpm_load): Convert simple Xpms (32 bit ZPixmap) to CAIRO_FORMAT_ARGB32
16312 and create a surface.
16314 Tool tips for menus did not show any text.
16315 * src/xterm.c (x_update_begin): Don't create any surface for non-visible
16316 tip frames, the geometry may be wrong.
16318 Merge branch 'master' into cairo, fixes tooltips not shown.
16320 Merge branch 'master' into cairo
16322 Add CAIRO_CFLAGS to lwlib/Makefile.in
16323 * Makefile.in (CAIRO_CFLAGS): Add.
16325 2015-02-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16327 * src/ftcrfont.c (ftcrfont_draw): Don't flush when drawing to screen.
16329 2015-02-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16331 Draw outermost line using black relief and erase corners also for cairo.
16332 * src/xterm.c [USE_CAIRO]: Include math.h.
16333 (enum corners) [USE_CAIRO]: New enum.
16334 (x_erase_corners_for_relief) [USE_CAIRO]: New function.
16335 (x_draw_relief_rect) [USE_CAIRO]: Use it. If box width is larger
16336 than 1, draw the outermost line using the black relief.
16338 * src/xterm.c (x_fill_trapezoid_for_relief):
16339 Remove unnecessary cairo_close_path.
16341 2015-02-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16343 * src/xterm.c (x_draw_relief_rect) [USE_CAIRO]: Reset clipping.
16345 * src/xterm.c (x_draw_stretch_glyph_string):
16346 Call x_reset_clip_rectangles instead of XSetClipMask.
16348 Use int instead of unsigned int for width and height args.
16349 * src/xterm.c (x_cr_draw_image, x_fill_rectangle, x_draw_rectangle)
16350 (x_fill_trapezoid_for_relief): Use int instead of unsigned int for
16351 width and height args.
16353 Modernize k&r cairo-related function declarations.
16354 * src/gtkutil.c (xg_page_setup_dialog, xg_get_page_setup, draw_page)
16355 (xg_print_frames_dialog): Modernize k&r declarations.
16356 * src/xfns.c (Fx_export_frames, Fx_page_setup_dialog, Fx_get_page_setup)
16357 (Fx_print_frames_dialog): Modernize k&r declarations.
16358 * src/xterm.c (x_gc_get_ext_data, x_extension_initialize)
16359 (x_begin_cr_clip, x_end_cr_clip, x_set_cr_source_with_gc_foreground)
16360 (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
16361 (x_cr_destroy_fringe_bitmap, x_cr_draw_frame, x_cr_accumulate_data)
16362 (x_cr_destroy, x_cr_export_frames, x_prepare_for_xlibdraw)
16363 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
16364 (x_draw_rectangle, x_clear_window, x_fill_trapezoid_for_relief)
16365 (x_clear_area): Modernize k&r declarations.
16367 Implement wave-style variant of underlining for cairo.
16368 * src/xterm.c (x_draw_horizontal_wave) [USE_CAIRO]: New function.
16369 (x_draw_underwave) [USE_CAIRO]: Use it.
16371 * src/xterm.c (x_draw_window_divider): Use x_fill_rectangle
16372 instead of XFillRectangle.
16374 2015-02-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16376 Fix fringe bitmap initialization for cairo
16377 * src/fringe.c (init_fringe_bitmap) [USE_CAIRO]: Adjust bitmap
16378 data for cairo image surface.
16379 * src/xterm.c (x_cr_define_fringe_bitmap):
16380 Call cairo_surface_mark_dirty.
16382 2015-02-11 Jan D <jan.h.d@swipnet.se>
16385 * configure.ac (with-cairo): New option.
16386 (USE_CAIRO): Default to yes for Gtk+ 3. Add code to test for cairo,
16387 set CAIRO_CFLAGS, CAIRO_LIBS. Add ftcrfonto to FONT_OBJ if cairo.
16388 Output "Does Emacs use cairo?".
16389 * lisp/version.el (emacs-version): Add cairo version.
16390 * src/Makefile.in (CAIRO_CFLAGS, CAIRO_LIBS): New variables.
16391 (FONT_OBJ): Add comment about ftcrfont.
16392 (ALL_CFLAGS): Add CAIRO_CFLAGS.
16393 (LIBES): Add CAIRO_LIBS.
16394 * src/dispextern.h (struct image): Add cr_data for cairo.
16395 (x_cr_init_fringe): Declare.
16396 * src/font.c (syms_of_font): Call syms_of_ftcrfont for cairo.
16397 * src/font.h (ftcrfont_driver, syms_of_ftcrfont): Declare
16398 * src/fringe.c (x_cr_init_fringe): New function name that shares code
16399 with w32_init_fringe.
16400 * src/ftcrfont.c: New font driver for cairo, based on the ftfont driver.
16401 * src/ftfont.c (ftfont_info_size); New global variable.
16402 (ftfont_open2): New extern function almost the same as old ftfont_open,
16403 but takes the font_object as argument.
16404 (ftfont_open): Build font object and call ftfont_open2.
16405 * src/ftfont.h (ftfont_open2, ftfont_info_size): Declare.
16406 * src/gtkutil.c (xg_clear_under_internal_border)
16407 (xg_update_scrollbar_pos, xg_update_horizontal_scrollbar_pos):
16408 Only queue_draw if not cairo. Change args to x_clear_area.
16409 (xg_get_font): Use Qftcr when using cairo, Qxft otherwise.
16410 (xg_page_setup_dialog, xg_get_page_setup, draw_page)
16411 (xg_print_frames_dialog): New functions for printing.
16412 * src/gtkutil.h (xg_page_setup_dialog, xg_get_page_setup)
16413 (xg_print_frames_dialog): Declare.
16414 * src/image.c: Add defined (USE_CAIRO) for PNG.
16415 Add !defined USE_CAIRO for W32 PNG code.
16416 (x_clear_image): If cairo, destroy the surface in cr_data.
16417 (png_load): Add new cairo compatible implementation.
16418 (lookup_image_type): Add defined (USE_CAIRO) for define png_type.
16419 * src/xfns.c: New section Printing.
16420 (x-export-frames, x-page-setup-dialog, x-get-page-setup)
16421 (x-print-frames-dialog): New printing functions.
16422 (Fx_create_frame, x_create_tip_frame): Register ftcrfont if cairo.
16423 (syms_of_xfns): Defsym Qorientation, Qtop_margin, Qbottom_margin,
16424 Qportrait, Qlandscape, Qreverse_portrait, Qreverse_landscape).
16425 (syms_of_xfns): Provide cairo and defvar cairo-version-string.
16426 defsubr Sx_page_setup_dialog, Sx_get_page_setup, Sx_print_frames_dialog.
16427 * src/xterm.c (x_clear_area1, x_prepare_for_xlibdraw)
16428 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
16429 (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
16430 (x_gc_get_ext_data, x_extension_initialize, x_cr_accumulate_data):
16432 (FRAME_CR_CONTEXT, FRAME_CR_SURFACE): New macros.
16433 (max_fringe_bmp, fringe_bmp): New variables.
16434 (x_gc_get_ext_data, x_extension_initialize)
16435 (x_cr_destroy_surface, x_begin_cr_clip, x_end_cr_clip)
16436 (x_set_cr_source_with_gc_foreground)
16437 (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
16438 (x_cr_destroy_fringe_bitmap, x_cr_draw_image, x_cr_draw_frame)
16439 (x_cr_accumulate_data, x_cr_destroy, x_cr_export_frames)
16440 (x_prepare_for_xlibdraw, x_set_clip_rectangles)
16441 (x_reset_clip_rectangles, x_fill_rectangle, x_draw_rectangle)
16442 (x_clear_window, x_fill_trapezoid_for_relief): New functions.
16443 (x_update_begin): Create cairo surface if needed.
16444 (x_draw_vertical_window_border): Call x_fill_rectangle for cairo.
16445 (x_update_end): Paint cairo drawing surface to xlib surface.
16446 (x_clear_under_internal_border, x_after_update_window_line): Adjust
16447 arguments to x_clear_area.
16448 (x_draw_fringe_bitmap): Call x_fill_rectangle. Get GC values and
16449 call x_cr_draw_image for cairo. Call x_reset_clip_rectangles instead
16451 (x_set_glyph_string_clipping)
16452 (x_set_glyph_string_clipping_exactly): Use x_set_clip_rectangles
16453 instead of XSetClipRectangles.
16454 (x_clear_glyph_string_rect, x_draw_glyph_string_background):
16455 Use x_fill_rectangle instead of XFillRectangle.
16456 (x_draw_glyph_string_foreground)
16457 (x_draw_composite_glyph_string_foreground)
16458 (x_draw_glyphless_glyph_string_foreground): Use x_draw_rectangle
16459 instead of XDrawRectangle.
16460 (x_draw_relief_rect): Add code for USE_CAIRO.
16461 Call x_reset_clip_rectangles instead of XSetClipMask.
16462 (x_draw_box_rect): x_set_clip_rectangles instead of XSetClipRectangles,
16463 x_fill_rectangle instead of XFillRectangle, x_reset_clip_rectangles
16464 instead of XSetClipMask.
16465 (x_draw_image_foreground, x_draw_image_foreground_1):
16466 x_draw_rectangle instead of XDrawRectangle.
16467 (x_draw_glyph_string_bg_rect): x_fill_rectangle instead of
16469 (x_draw_image_glyph_string): If img has cr_data, use it as
16471 (x_draw_stretch_glyph_string): x_set_clip_rectangles instead of
16472 XSetClipRectangles, x_fill_rectangle instead of XFillRectangle.
16473 (x_draw_glyph_string): x_fill_rectangle instead of XFillRectangle.,
16474 x_reset_clip_rectangles instead of XSetClipMask.
16475 (x_shift_glyphs_for_insert): Call x_prepare_for_xlibdraw.
16476 (x_clear_area1): New function that calls XClearArea.
16477 (x_clear_area): Takes frame as parameter, calls x_clear_area1 for
16479 (x_clear_frame): x_clear_window instead of XClearWindow.
16480 (x_scroll_run): Set frame garbaged if cairo.
16481 (XTmouse_position): Initialize *part to 0.
16482 (x_scroll_bar_create): Adjust arguments to x_clear_area.
16483 (x_scroll_bar_set_handle): x_clear_area1 instead of x_clear_area,
16484 x_fill_rectangle instead of XFillRectangle.
16485 (XTset_vertical_scroll_bar, XTset_horizontal_scroll_bar): Adjust
16486 arguments to x_clear_area.
16487 (x_scroll_bar_expose): x_draw_rectangle instead of XDrawRectangle.
16488 (handle_one_xevent): Adjust arguments to x_clear_area.
16489 Destroy cairo surface for frame if ConfigureNotify.
16490 (x_clip_to_row): x_set_clip_rectangles instead of XSetClipRectangles.
16491 (x_draw_hollow_cursor): x_draw_rectangle instead of XDrawRectangle,
16492 x_reset_clip_rectangles instead of XSetClipMask.
16493 (x_draw_bar_cursor): x_fill_rectangle instead of XFillRectangle,
16494 x_reset_clip_rectangles instead of XSetClipMask.
16495 (x_clear_frame_area): Adjust arguments to x_clear_area.
16496 (x_free_frame_resources): Call x_prepare_for_xlibdraw.
16497 (x_term_init): Call x_extension_initialize if cairo.
16498 (x_redisplay_interface): Add x_cr_define_fringe_bitmap,
16499 x_cr_destroy_fringe_bitmap for cairo.
16500 (x_initialize): Call x_cr_init_fringe for cairo.
16501 * src/xterm.h: Add include of cairo header files.
16502 (x_bitmap_record): Add img if cairo.
16503 (x_gc_ext_data): New struct for cairo.
16504 (x_display_info): Add ext_codes for cairo.
16505 (x_output): Add cr_context and cr_surface for cairo.
16506 (x_clear_area): Change arguments from Display*/Window to frame pointer.
16507 (x_query_color, x_begin_cr_clip, x_end_cr_clip)
16508 (x_set_cr_source_with_gc_foreground, x_set_cr_source_with_gc_background)
16509 (x_cr_draw_frame, x_cr_export_frames): Declare.
16511 2015-05-17 Johan Bockgård <bojohan@gnu.org>
16513 Fix integer-valued `mouse-highlight' (Bug#20590)
16514 * src/xterm.c (handle_one_xevent) [USE_GTK]: Fix ifdef scope.
16516 2015-05-17 Eli Zaretskii <eliz@gnu.org>
16518 MS-Windows followup for ASCIIfication of curved quotes
16519 * lisp/term/w32console.el (terminal-init-w32console): Repeat the
16520 test for curved quotes being displayable, after switching the
16521 terminal encoding. (Bug#20545)
16523 2015-05-17 Jan D <jan.h.d@swipnet.se>
16525 Add comment that x_shift_glyphs_for_insert is never called
16526 * src/xterm.c (x_shift_glyphs_for_insert, x_redisplay_interface):
16527 Add comment that this function is never called.
16529 2015-05-16 Glenn Morris <rgm@gnu.org>
16531 * src/lisp.mk: Remove from repository and generate at build-time.
16532 * src/Makefile.in (lisp.mk): New rule to generate from loadup.el.
16533 (shortlisp_filter): New variable.
16534 (emacs$(EXEEXT), $(etc)/DOC): Depend on lisp.mk.
16535 (distclean): Remove lisp.mk.
16536 * Makefile.in ($(MAKEFILE_NAME)): No longer depend on src/lisp.mk.
16537 * lisp/loadup.el: Tweak layout to make it easier to parse.
16538 * make-dist: Do not distribute src/lisp.mk.
16540 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
16542 Display shorter dates in Git annotate output
16543 * lisp/vc/vc-git.el (vc-git-annotate-command): Use the short date
16544 format (when not overridden with vc-git-annotate-switches).
16545 (vc-git-annotate-time): Support the short format, as well as ISO
16546 8601 that has been used until now (bug#5428).
16548 2015-05-16 Paul Eggert <eggert@cs.ucla.edu>
16550 ASCIIfy curved quotes on displays lacking them
16551 * lisp/international/mule-cmds.el (set-locale-environment):
16552 If curved quotes don't work, display straight ASCII approximations
16555 2015-05-16 Glenn Morris <rgm@gnu.org>
16557 Small src/Makefile simplification
16558 * src/lisp.mk (shortlisp): Rename from lisp, remove $lispsource prefix.
16559 * src/Makefile.in (lisp): Derive from shortlisp.
16560 ($(etc)/DOC): Use $shortlisp rather than parsing lisp.mk.
16562 2015-05-16 Eli Zaretskii <eliz@gnu.org>
16564 * lisp/help-mode.el (help-go-forward): Doc fix.
16567 * doc/lispref/debugging.texi (Profiling): Improve indexing.
16570 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
16572 * lisp/vc/vc-git.el (vc-git-resolve-when-done): Use `unless' to
16573 have one fewer `not'.
16575 * lisp/vc/vc-git.el (vc-git-diff-switches)
16576 (vc-git-annotate-switches, vc-git-resolve-conflicts)
16577 (vc-git-program, vc-git-root-log-format): Remove the redundant
16578 :group declarations.
16580 2015-05-16 Nicolas Petton <nicolas@petton.fr>
16582 Removes the predicate from lisp-complete-symbol (Bug#20456)
16583 * lisp/emacs-lisp/lisp.el (lisp-complete-symbol): Do not use predicate
16584 and remove it from the docstring.
16586 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
16588 Add new option vc-git-resolve-conflicts
16589 * lisp/vc/vc-git.el (vc-git-resolve-conflicts): New variable.
16590 (vc-git-find-file-hook): Add to after-save-hook only when the
16592 (vc-git-resolve-when-done): Update to honor the new variable.
16595 2015-05-16 Artur Malabarba <bruce.connor.am@gmail.com>
16597 * lisp/emacs-lisp/tabulated-list.el: Don't error on null header-string.
16598 (tabulated-list-init-header): Document new behavior.
16599 (tabulated-list-print-fake-header): Do nothing if
16600 `tabulated-list--header-string' is nil.
16601 (tabulated-list--header-string): Add a docstring.
16602 * doc/lispref/modes.texi (Tabulated List Mode): Document it.
16603 * etc/NEWS: Document it.
16605 2015-05-15 Leo Liu <sdl.web@gmail.com>
16607 Revert "Fix cps--gensym"
16608 * lisp/emacs-lisp/generator.el (cps--gensym): Revert commit
16609 fbda511ab8069d0115eafca411a43353b85431b1 on 2015-05-14.
16611 2015-05-15 Glenn Morris <rgm@gnu.org>
16613 Replace AC_SUBST_FILE in configure with include in Makefiles
16614 * configure.ac (DEPDIR, MKDEPDIR, deps_frag, lwlib_deps_frag)
16615 (oldxmenu_deps_frag, lisp_frag): Remove output variables/files.
16616 (AUTO_DEPEND): New output variable.
16617 * lwlib/Makefile.in (AUTO_DEPEND): New, set by configure.
16618 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
16619 (lwlib_deps_frag): Replace by conditional include.
16620 * lwlib/autodeps.mk: Remove file.
16621 * oldXMenu/Makefile.in (AUTO_DEPEND): New, set by configure.
16622 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
16623 (oldxmenu_deps_frag): Replace by conditional include.
16624 * oldXMenu/autodeps.mk: Remove file.
16625 * src/Makefile.in (AUTO_DEPEND): New, set by configure.
16626 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
16627 (lisp_frag): Replace by an include.
16628 (deps_frag): Replace by conditional include.
16629 * src/autodeps.mk: Remove file.
16631 Tweak japanese.el's loading of dependencies
16632 * lisp/loadup.el: Explicitly load cp51932 and eucjp-ms.
16633 * lisp/language/japanese.el: Use require rather than load.
16634 * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
16636 * admin/charsets/eucjp-ms.awk, admin/charsets/cp51932.awk:
16637 Provide a feature in the generated file.
16639 2015-05-15 Jan D <jan.h.d@swipnet.se>
16642 * src/nsmenu.m (ns_popup_dialog)
16643 * src/nsimage.m (initFromXBM:width:height:fg:bg:)
16644 * src/nsfns.m (Fx_create_frame): Remove unused variables.
16645 (Fns_read_file_name): Initialize fname, remove ret.
16646 * src/nsterm.m (ns_draw_window_cursor): Handle DEFAULT_CURSOR in switch.
16647 (ns_get_color, ns_set_horizontal_scroll_bar, keyDown):
16648 Remove unused variable.
16649 (init): Add parantesis in if.
16650 (ns_create_terminal): Assign set_horizontal_scroll_bar_hook.
16652 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
16654 Fix a enum conversion warning in macfont.m
16655 * src/macfont.h (CharacterCollection): Typedef to NSCharacterCollection.
16656 (MAC_CHARACTER_COLLECTION_*): Use the NS variants.
16658 2015-05-15 Eli Zaretskii <eliz@gnu.org>
16660 * lisp/textmodes/ispell.el (ispell-aspell-find-dictionary):
16661 Support Aspell dictionaries with names like "de-alt". (Bug#20581)
16663 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
16665 * lisp/cus-start.el: Add ns-confirm-quit.
16667 Fix warnings on OSX 10.10
16668 * src/nsfns.m (MODAL_OK_RESPONSE): New define for different
16670 (Fns_read_file_name): Check against MODAL_OK_RESPONSE.
16671 (compute_tip_xy): Use convertRectToScreen for OSX >= 10.7
16672 * src/nsmenu.m (initWithContentRect:styleMask:backing:defer:)
16673 * src/nsimage.m (allocInitFromFile, setPixmapData): Only call
16674 setScalesWhenResized for OSX < 10.6.
16675 * src/nsterm.h (EmacsScroller): Declare scrollerWidth.
16676 * src/nsterm.m (ns_copy_bits): New function that does not use
16677 deprecated NSCopyBits.
16678 (ns_scroll_run, ns_shift_glyphs_for_insert): Call ns_copy_bits.
16679 (runAlertPanel): New function.
16680 (applicationShouldTerminate:): Call runAlertPanel.
16681 (initFrameFromEmacs, toggleFullScreen:): Only call
16682 useOptimizedDrawing for OSX < 10.10.
16683 (initFrameFromEmacs:): Only call allocateGState for OSX < 10.10.
16684 (windowWillUseStandardFrame:defaultFrame:): Cast arg to abs to int.
16685 (draggingEntered:): Returns NSDragOperation.
16686 (scrollerWidth): Use scrollerWidthForControlSize for OSX >= 10.7.
16688 2015-05-15 Artur Malabarba <bruce.connor.am@gmail.com>
16690 * lisp/emacs-lisp/package.el: Don't ensure-init during startup.
16691 (package--init-file-ensured): New variable.
16692 (package-initialize, package--ensure-init-file): Use it.
16694 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
16696 Honor :fore/background for XBM on NS (Bug#14969)
16697 * src/nsterm.h (EmacsImage): Add xbm_fg, remove initFromSkipXBM,
16698 initFromXBM takes bg, fg args, remove flip arg.
16699 (ns_image_from_XBM): Add bg, fg args.
16700 * src/image.c (x_create_bitmap_from_data)
16701 (Create_Pixmap_From_Bitmap_Data): ns_image_from_XBM takes bg, fg args.
16702 * src/nsimage.m (ns_image_from_XBM): Add fg, bg args, pass to
16703 initFromXBM. Remove flip arg.
16704 (initFromSkipXBM): Move code to initFromXBM.
16705 (initFromXBM): Actually set fg and bg, instead of playing alpha games.
16706 Use fg, bg from args (Bug#14969). Remove if (length) section, was
16708 Remove bit flipping (bitPat, swt), generated incorrect images when
16709 width/height wasn't a multiple of 8.
16710 (setXBMColor:): Modify planes by comparing to saved xbm_fg.
16711 * src/nsterm.m (ns_draw_fringe_bitmap): initFromXBM takes fg, bg args,
16714 2015-05-15 Artur Malabarba <bruce.connor.am@gmail.com>
16716 * lisp/emacs-lisp/package.el: Be more careful with the init file.
16717 (package--ensure-init-file): Check that user-init-file is set,
16718 exists, is readable, and is writable. (Bug#20584)
16719 Also expand the docstring.
16721 2015-05-14 Wilson Snyder <wsnyder@wsnyder.org>
16723 Sync with upstream verilog-mode revision 6232468
16724 * lisp/progmodes/verilog-mode.el
16725 (verilog-font-lock-grouping-keywords-face)
16726 (verilog-highlight-grouping-keywords): Fix use of face when
16727 `verilog-highlight-grouping-keywords' set. Reported by Jeff Pompa.
16728 (verilog-auto-reset): Fix AUTORESET to ignore member resets if
16729 parent is reset, bug906. Reported by Ken Schmidt.
16730 (verilog-auto-inout-module): Add fourth regexp argument to
16731 AUTOINOUTMODULE and AUTOINOUTCOMP for signals to not match, bug856.
16732 Reported by John Tillema.
16733 (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
16734 modport if signal attachment is itself a modport. Reported by
16736 (verilog-auto-reset, verilog-auto-sense-sigs): Fix AUTORESET with
16737 always_comb and always_latch, bug844. Reported by Greg Hilton.
16738 (verilog-at-constraint-p, verilog-beg-of-statement-1): Fix hanging
16739 with many curly-bracket pairs, bug663.
16740 (verilog-set-auto-endcomments): Fix end comments for functions of
16741 type void, etc. Reported by Alex Reed.
16742 (verilog-do-indent): Fix electric tab deleting form-feeds. Note
16743 caused by indent-line-to deleting tabls pre 24.5.
16744 (verilog-nameable-item-re): Fix nameable items that can have an
16745 end-identifier to include endchecker, endgroup, endprogram,
16746 endproperty, and endsequence. Reported by Alex Reed.
16747 (verilog-label-be): When auto-commenting a buffer, consider
16748 auto-comments on all known keywords (not just a subset thereof).
16749 Reported by Alex Reed.
16750 (verilog-auto-end-comment-lines-re)
16751 (verilog-end-block-ordered-re, verilog-set-auto-endcomments):
16752 Automatically comment property/endproperty blocks to match other
16753 similar blocks like sequence/endsequence, function/endfunction, etc.
16754 Reported by Alex Reed.
16755 (verilog-set-auto-endcomments): Detect the function- or task-name
16756 when auto-commenting blocks that lack an explicit portlist.
16757 Reported by Alex Reed.
16758 (verilog-auto, verilog-auto-insert-last): Add AUTOINSERTLAST to
16759 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
16760 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
16761 is nil, fix indenting initial/final to match always statements,
16762 bug825. Reported by Tim Clapp.
16763 (verilog-extended-complete-re): Fix indentation of DPI-C imports
16764 with c_identifiers, and DPI-C imports, bug557. Reported by ZeDong
16765 Mao and Jason Forkey.
16766 (verilog-read-decls): Fix parsing typed interfaces. Fix
16767 AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
16768 Fix localparam not being ignored in AUTOINSTPARAM,
16769 bug889. Reported by Shannon Hill.
16770 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY,
16771 bug793. Reported by Pierre-David Pfister.
16772 (verilog-auto-arg-format, verilog-auto-arg-ports):
16773 Add verilog-auto-arg-format to support newlines in AUTOARG.
16774 Reported by Jie Xiao.
16775 (verilog-batch-execute-func): Do not batch re-auto files loaded by
16776 Local Variables. Fix printing "no changes to be saved" with
16777 verilog-batch. Reported by Dan Dever.
16778 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
16779 interface-only modules, bug721. Reported by Dean Hoyt.
16780 Author: Alex Reed <acreed4@gmail.com>
16781 * lisp/progmodes/verilog-mode.el (verilog-beg-of-statement):
16782 Don't treat '<keyword>:<identifier>' as the start of a labeled
16783 statement, bug905. Reported by Enzo Chi.
16784 (verilog-directive-re, verilog-compiler-directives)
16785 (verilog-keywords): Match full set of IEEE 2012-1800 compiler
16786 directives (plus some extras) when determining indentation, bug
16787 901. Reported by Bernd Beuster.
16788 (verilog-at-constraint-p): Fix indentation of coverpoint bins if
16789 iff expression doesn't start with word-character, bug900.
16790 (verilog-optional-signed-range-re, verilog-optional-signed-re):
16791 Fix incorrect indentation/alignment of unsigned declarations,
16793 (verilog-looking-back, verilog-in-attribute-p): Fix labeling of
16794 always constructs, bug895.
16795 (verilog-calc-1): Fix verilog-mode constraint indentation, bug324.
16796 Reported by Eric Mastromarchi.
16797 (verilog-beg-of-statement): Fix indenting for some forms of
16798 constraintsm bug433. Reported by Brad Parker. Fix indentation of
16799 continued assignment incorrect if first line ends with ']', bug437.
16800 Reported by Dan Dever. Fix indention of cover inside an
16801 ifdef, bug 862. Reported by Bernd Beuster. Fix labeling do-while
16803 (verilog-preprocessor-re): Fix fork/end UNMATCHED warning, bug859.
16804 Reported by Kaushal Modi.
16805 (verilog-set-auto-endcomments): Fix endlabel end comments, bug888.
16806 (verilog-backward-token): Fix indenting sensitivity lists with
16807 named events, bug840. Reed.
16808 (verilog-no-indent-begin-re): Fix `verilog-indent-begin-after-if'
16809 nil not honoring 'forever', 'foreach', and 'do' keywords.
16811 2015-05-14 Paul Eggert <eggert@cs.ucla.edu>
16813 Check for invalid GTK+ monitor scales
16814 * src/gtkutil.c (xg_get_gdk_scale): Return 1 for invalid scales,
16815 INT_MAX for too-large scales. All callers changed to assume the
16816 result is valid (Bug#20432).
16817 (xg_frame_set_char_size, xg_update_scrollbar_pos):
16818 Calculate scale only if needed.
16819 Show ASCII approximations instead.
16821 2015-05-14 Eli Zaretskii <eliz@gnu.org>
16823 Fix daemon crashes when linum-mode is turned on early on
16824 * src/window.c (Fwindow_end): Don't try calling display engine
16825 functions on initial-frame frame. (Bug#20565)
16827 Fix selective diff browsing in Ediff
16828 * lisp/vc/ediff-util.el (ediff-focus-on-regexp-matches):
16829 Go to the beginning of the region before searching for the
16830 ediff-regexp-focus-* regexps. (Bug#20568)
16832 2015-05-14 Jan D <jan.h.d@swipnet.se>
16835 * src/gtkutil.c (delete_cb): Don't send delete event here, it does
16836 arrive in the main loop, even for Gtk 3 (Bug#20142).
16838 Don't access display after i/o error (Bug#19147).
16839 * src/xterm.c (x_connection_closed): Add third arg ioerror.
16840 If ioerror, set display to 0 (Bug#19147).
16841 (x_error_quitter): Call x_connection_closed with third arg false.
16842 (x_io_error_quitter): Call x_connection_closed with third arg true.
16844 Handle GTK_SCALE, fixes Bug#20432.
16845 * src/gtkutil.c (xg_get_gdk_scale): New function.
16846 (xg_frame_set_char_size)
16847 (x_wm_set_size_hint, xg_get_default_scrollbar_width)
16848 (xg_get_default_scrollbar_height)
16849 (xg_update_horizontal_scrollbar_pos): Take GTK_SCALE in to account
16850 when setting sizes (Bug#20432).
16852 2015-05-13 Leo Liu <sdl.web@gmail.com>
16854 * lisp/emacs-lisp/generator.el (cps--gensym): Fix.
16856 2015-05-13 Glenn Morris <rgm@gnu.org>
16858 Fix bootstrap (void function cl-member).
16859 * lisp/emacs-lisp/cl-lib.el: Load cl-seq if no cl-loaddefs file.
16860 * lisp/emacs-lisp/cl-seq.el: Provide a feature.
16862 2015-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
16864 * lisp/loadup.el ("emacs-lisp/cl-generic"): Preload
16865 * src/lisp.mk (lisp): Add emacs-lisp/cl-generic.elc.
16866 * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method):
16867 Avoid defalias for closures which are not immutable.
16868 (cl--generic-prefill-dispatchers): New macro. Use it to prefill
16869 the dispatchers table with various entries.
16870 * lisp/emacs-lisp/ert.el (emacs-lisp-mode-hook):
16871 * lisp/emacs-lisp/seq.el (emacs-lisp-mode-hook): Use add-hook.
16873 2015-05-13 Eli Zaretskii <eliz@gnu.org>
16875 Improve tagging of C bindings in DEFVAR_*
16876 * src/Makefile.in (TAGS): Add --regex options to tag the C binding
16879 2015-05-13 Paul Eggert <eggert@cs.ucla.edu>
16881 * src/editfns.c (Fformat): Fix use-after-free bug (Bug#20548).
16883 2015-05-12 Glenn Morris <rgm@gnu.org>
16885 * lisp/progmodes/tcl.el (tcl-filter):
16886 Handle comint-prompt-read-only like gud.el does. (Bug#20549)
16888 Add basic VC push support
16889 * lisp/vc/vc.el (vc-push): New autoloaded command.
16890 * lisp/vc/vc-hooks.el (vc-prefix-map, vc-menu-map): Add vc-push.
16891 * lisp/vc/vc-bzr.el (vc-bzr--pushpull): New, factored from vc-bzr-pull.
16892 (vc-bzr-pull): Reimplement using vc-bzr--pushpull.
16893 (vc-bzr-push): New.
16894 * lisp/vc/vc-git.el (vc-git--pushpull): New, factored from vc-git-pull.
16895 (vc-git-pull): Reimplement using vc-git--pushpull.
16896 (vc-git-push): New.
16897 * lisp/vc/vc-hg.el (vc-hg--pushpull): New, factored from vc-hg-pull.
16898 (vc-hg-pull, vc-hg-push): Reimplement using vc-hg--pushpull.
16899 * doc/emacs/maintaining.texi (Pulling / Pushing):
16900 Rename from "VC Pull". Mention pushing.
16901 (VC With A Merging VCS, VC Change Log): Update xrefs.
16902 (Branches): Update menu.
16903 * doc/emacs/emacs.texi: Update menu.
16904 * etc/NEWS: Mention this.
16906 2015-05-12 Nicolas Petton <nicolas@petton.fr>
16908 Improve the seq pcase pattern and the `seq-let' macro
16909 * lisp/emacs-lisp/seq.el: The pcase pattern now matches only if the
16910 object is a sequence, and binds each element of ARGS to the
16911 corresponding element of the sequence.
16913 2015-05-12 Eli Zaretskii <eliz@gnu.org>
16915 Fix tags created from DEFVAR_* declarations in C
16916 * src/Makefile.in (TAGS): Improve the --regex argument to etags,
16917 to make tags extracted from DEFVAR_* declarations more accurate.
16919 Add a test suite for etags
16920 * test/etags/: New test suite, adapted from
16921 http://fly.isti.cnr.it/pub/software/unix/etags-regression-test.tar.bz2,
16922 whose original author is Francesco Potortì <pot@gnu.org>.
16924 Fix tagging of symbols in C enumerations
16925 * lib-src/etags.c (consider_token): Don't tag symbols in
16926 expressions that assign values to enum constants. See
16927 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00291.html
16929 (C_entries): Reset fvdef to fvnone after processing a preprocessor
16930 conditional and after a comma outside of parentheses.
16932 2015-05-12 Glenn Morris <rgm@gnu.org>
16934 * lisp/url/url-handlers.el (url-file-name-completion)
16935 (url-file-name-all-completions): Silence compiler.
16937 * lisp/emacs-lisp/chart.el (chart-axis-draw): Replace obsolete alias.
16939 * lisp/play/dunnet.el (dun-dos-boot-msg): Fix time. (Bug#20554)
16941 2015-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16943 * lisp/emacs-lisp/cl-generic.el: Add dispatch on &context arguments
16944 (cl--generic-mandatory-args): Remove.
16945 (cl--generic-split-args): New function.
16946 (cl-generic-define, cl--generic-lambda): Use it.
16947 (cl-generic-define-method): Use it as well, and add support for
16949 (cl--generic-get-dispatcher): Handle &context dispatch.
16950 (cl--generic-cache-miss): `dispatch-arg' can now be a
16951 context expression.
16952 (cl--generic-dispatchers): Pre-fill.
16953 * test/automated/cl-generic-tests.el (sm-generic-test-12-context):
16956 2015-05-11 Glenn Morris <rgm@gnu.org>
16958 * make-dist: Abort if "make ChangeLog" fails. Add "--no-changelog".
16960 2015-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
16962 * lisp/term/xterm.el: Fix xterm-paste handling for rxvt
16963 * lisp/term/rxvt.el: Require term/xterm.
16964 (rxvt-function-map): Use xterm-rxvt-function-map.
16965 (rxvt-standard-colors): Move before first use.
16966 (terminal-init-rxvt): Use xterm--push-map and
16967 xterm-register-default-colors.
16968 (rxvt-rgb-convert-to-16bit, rxvt-register-default-colors): Remove.
16969 * lisp/term/xterm.el (xterm-rxvt-function-map): New var.
16970 Move shared bindings between rxvt and xterm to it.
16971 (xterm-function-map): Use it. Move the xterm-paste binding to
16972 xterm-rxvt-function-map (bug#20444).
16973 (xterm-standard-colors): Move before first use.
16974 (xterm--push-map): New function.
16975 (xterm-register-default-colors): Take standard colors as argument.
16976 (terminal-init-xterm): Use it. Adjust call to
16977 xterm-register-default-colors.
16979 2015-05-11 Glenn Morris <rgm@gnu.org>
16981 * lisp/term/x-win.el: Quieten --without-x compilation.
16982 (x-own-selection-internal, x-disown-selection-internal)
16983 (x-selection-owner-p, x-selection-exists-p, x-get-selection-internal):
16986 * Makefile.in (emacslog): Remove srcdir.
16987 (ChangeLog): Update for the above.
16989 2015-05-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
16991 python.el: better limit for looking-back calls
16992 * lisp/progmodes/python.el (python-shell-accept-process-output):
16993 Use last comint prompt start as limit for looking-back.
16995 2015-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
16997 CEDET (srecode-insert-fcn): Fix use of oref on a class
16998 * lisp/cedet/srecode/insert.el (srecode-insert-fcn): Fix use of oref
16999 on a class. Reported by Pierre Lorenzon.
17000 (srecode-template-inserter-point): Remove declaration.
17002 CEDET (srecode-create-dictionary): Avoid obsolete object name
17003 * lisp/cedet/srecode/dictionary.el (srecode-create-dictionary):
17004 Don't use a symbol as an object name. Reported by Pierre Lorenzon.
17006 2015-05-10 Paul Eggert <eggert@cs.ucla.edu>
17008 C-x 8 shorthands for curved quotes, Euro, etc.
17009 Although C-x 8 lets you insert arbitrary Unicode characters,
17010 it's awkward to use this to insert commonly used symbols such as curved
17011 quotes, the Euro symbol, etc. This patch adds simpler sequences for
17012 characters commonly found in English text and in basic math.
17013 For example, assuming the Alt key works on your keyboard and iso-transl
17014 is loaded, one can now type "A-[" instead of "A-RET LEFT SIN TAB RET"
17015 to get the character "‘" (U+2018 LEFT SINGLE QUOTATION MARK).
17017 * doc/emacs/mule.texi (Unibyte Mode):
17018 A few other printing characters now work too.
17019 * etc/NEWS: Document this.
17020 * lisp/international/iso-transl.el (iso-transl-char-map):
17021 Also support the following characters:
17022 ‐ ‑ ‒ – — ― ‘ ’ “ ” † ‡ • ′ ″ € № ← → ↔ − ≈ ≠ ≤ ≥
17024 2015-05-10 Dmitry Gutov <dgutov@yandex.ru>
17026 Add xref-find-regexp
17027 * lisp/progmodes/xref.el (xref-find-function): Describe the
17029 (xref-find-regexp): New command, using it.
17030 (xref-collect-references): Rename to xref-collect-matches.
17031 (xref--collect-reference): Rename to xref--collect-match.
17032 (xref-collect-matches, xref--collect-match): Accept new argument,
17033 KIND. Update accordingly.
17034 (xref--regexp-to-extended): New function.
17035 * lisp/progmodes/elisp-mode.el (elisp-xref-find): Support the
17037 (elisp--xref-find-matches): Accept new argument. Resolve a FIXME.
17038 * lisp/progmodes/etags.el (etags-xref-find):
17039 Support the `matches' action.
17040 (etags--xref-find-matches): New function.
17042 2015-05-10 Glenn Morris <rgm@gnu.org>
17044 * Makefile.in: Fixes for recent change-history changes.
17045 (change-history-nocommit): Update footer regexp.
17046 Ensure output script stays executable.
17048 2015-05-10 Nicolas Petton <nicolas@petton.fr>
17050 New version of `seq-let' based on a pcase pattern
17051 * lisp/emacs-lisp/seq.el (seq-let): Define the macro in terms of a
17052 pcase pattern if `pcase-defmacro' is defined (Emacs>=25.1).
17054 2015-05-10 Przemysław Wojnowski <esperanto@cumego.com>
17056 Add basic HTML5 tags and a template
17057 * lisp/textmodes/sgml-mode.el: Basic HTML5 support.
17058 (html-tag-alist): Add HTML5 tags.
17059 (html-tag-help): Add new tags descriptions.
17060 (html-navigational-links): Template for nav links.
17061 (html-html5-template): Template for a HTML5 page.
17063 2015-05-10 Dmitry Gutov <dgutov@yandex.ru>
17065 semantic/symref/grep: Don't use word boundaries
17066 * lisp/cedet/semantic/symref/grep.el
17067 (semantic-symref-perform-search): Instead of wrapping input in
17068 word boundaries, check that the characters before and after are
17069 not word constituents.
17071 semantic/symref/grep: Support regexp search
17072 * lisp/cedet/semantic/symref.el
17073 (semantic-symref-hit-to-tag-via-buffer): Don't regexp-quote when
17074 the search type is regexp.
17075 * lisp/cedet/semantic/symref/grep.el
17076 (semantic-symref-perform-search): Support the regexp search type.
17077 Pass -E to Grep when it's used.
17079 semantic-symref-regexp: Allow to input an arbitrary string
17080 * lisp/cedet/semantic/symref/list.el (semantic-symref-regexp):
17081 Allow to input an arbitrary string interactively.
17083 Remove tag-symbol-match-p from etags-xref-find-definitions-tag-order
17084 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
17085 Remove tag-symbol-match-p from the default value
17086 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00292.html).
17088 Declare find-tag obsolete
17089 * lisp/progmodes/etags.el (find-tag): Declare obsolete in favor of
17090 xref-find-definitions.
17092 2015-05-10 Jan D <jan.h.d@swipnet.se>
17094 Draw composite string correctly (Bug#20537)
17095 * src/nsterm.m (ns_draw_composite_glyph_string_foreground):
17097 (ns_draw_glyph_string): Call it.
17099 2015-05-09 Eli Zaretskii <eliz@gnu.org>
17101 Avoid infloop in ERC
17102 * lisp/simple.el (line-move-to-column): Ignore field boundaries
17103 while computing line beginning position. (Bug#20498)
17105 2015-05-08 Glenn Morris <rgm@gnu.org>
17107 * Makefile.in (ChangeLog): No longer pass "srcprefix"; cd instead.
17108 * build-aux/gitlog-to-emacslog: Check called from right directory.
17109 (srcprefix): Remove.
17111 * build-aux/gitlog-to-emacslog: Get rid of "distprefix".
17112 * Makefile.in (ChangeLog): No longer pass "distprefix".
17113 * make-dist: Update "make ChangeLog" syntax for the above change.
17115 * build-aux/gitlog-to-emacslog: Don't hard-code "ChangeLog.2".
17116 * Makefile.in (ChangeLog): Pass -n to gitlog-to-emacslog.
17118 * build-aux/gitlog-to-emacslog: Add "for earlier changes" to footer.
17120 Add command-line option-parsing to gitlog-to-emacslog
17121 * build-aux/gitlog-to-emacslog: Add command-line options.
17122 By default, refuse to remove an existing output file.
17123 * Makefile.in (CHANGELOG): Update default.
17124 (ChangeLog): Do not test for existing file.
17125 (change-history-nocommit): Ensure temp file does not exist.
17127 Quieten --without-x compilation
17128 * lisp/term/common-win.el: Provide a feature.
17129 * lisp/term/x-win.el (term/common-win): Require it.
17131 * lisp/dired-aux.el (dired-do-print): Require lpr.
17133 Quieten compilation, eg in --without-x builds
17134 * lisp/dired-aux.el (lpr-printer-switch):
17135 * lisp/frame.el (tool-bar-height):
17136 * lisp/linum.el (font-info):
17137 * lisp/window.el (font-info, overflow-newline-into-fringe)
17139 * lisp/emacs-lisp/package-x.el (tar-data-buffer):
17140 * lisp/gnus/gnus-util.el (iswitchb-mode):
17141 * lisp/mail/rmailmm.el (libxml-parse-html-region):
17142 * lisp/net/nsm.el (gnutls-peer-status)
17143 (gnutls-peer-status-warning-describe):
17144 * lisp/net/shr.el (libxml-parse-xml-region):
17145 * lisp/url/url-http.el (gnutls-peer-status): Declare.
17147 2015-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17149 CEDET (srecode-pop, srecode-peek): Don't use `subclass'
17150 * lisp/cedet/srecode/insert.el (srecode-pop, srecode-peek): Don't use
17151 `subclass' since they're never called with a class.
17152 (srecode-insert-method, srecode-insert-subtemplate): Avoid obsolete
17153 srecode-dictionary-child-p.
17155 2015-05-08 Nicolas Richard <theonewiththeevillook@yahoo.fr>
17157 * lisp/help.el (help--binding-locus): Document argument POSITION.
17160 2015-05-08 Paul Eggert <eggert@cs.ucla.edu>
17163 * doc/misc/texinfo.tex: Get latest version.
17165 2015-05-08 Oleh Krehel <ohwoeowho@gmail.com>
17167 ffap.el (ffap-read-file-or-url): Fix completing-read call
17168 * lisp/ffap.el (ffap-read-file-or-url): The HIST argument of
17169 `completing-read' should be a symbol.
17171 2015-05-08 Eli Zaretskii <eliz@gnu.org>
17173 Verify file modifications by other programs
17174 * src/filelock.c (lock_file): Check whether the file was modified
17175 since it was visited even if 'create-lockfiles' is nil. (Bug#18828)
17177 Fix keyboard macros that include function keys
17178 * src/keyboard.c (read_char_minibuf_menu_prompt): Record function
17179 keys in the macro before returning. (Bug#20454)
17181 2015-05-08 Glenn Morris <rgm@gnu.org>
17183 * build-aux/gitlog-to-changelog: Treat "Tiny-change" like
17184 "Copyright-paperwork-exempt". (Bug#20324)
17186 * lisp/vc/log-edit.el: Handle "(tiny change)". (Bug#20324)
17187 (log-edit-rewrite-tiny-change): New variable.
17188 (log-edit-insert-changelog): Maybe add "Copyright-paperwork-exempt".
17189 (log-edit-changelog-ours-p): Set log-edit-author to a cons.
17190 * etc/NEWS: Mention this.
17192 * lisp/calc/calc.el (math-zerop): Declare.
17194 * lisp/emacs-lisp/eieio-opt.el (help-fns-short-filename): Declare.
17196 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
17198 * lisp/emacs-lisp/subr-x.el (if-let): Fix debug spec.
17199 Support the case when BINDINGS is a single tuple. (Bug#20525)
17201 * etc/NEWS: Fix typo in previous commit
17202 (14bb519f1034ddb38ce375cbad7095d9b07f8b26).
17204 2015-05-07 Jan D <jan.h.d@swipnet.se>
17206 * configure.ac: Warn for multiple display crash for all Gtk+ versions.
17207 Output URL to Gtk+ bug (Bug#20452).
17209 * lisp/term/ns-win.el (ns-paste-secondary): Use gui-get-selection.
17211 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
17213 * lisp/emacs-lisp/package.el: New "external" package status.
17214 An external package is any installed package that's not built-in
17215 and not from `package-user-dir', which usually means it's from an
17216 entry in `package-directory-list'. They are treated much like
17217 built-in packages, in that they cannot be through the Package Menu
17218 deleted and are not considered for upgrades.
17219 (package-desc-status): Identify if a package is installed outside
17220 `package-user-dir'.
17221 (package-menu--print-info-simple)
17222 (package-menu--status-predicate): Add support for it.
17223 * etc/NEWS: Document it.
17225 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17227 * lisp/mail/rmail.el: Use lexical-binding.
17228 (rmail-bury): Remove unused var `buffer-to-bury'.
17229 (rmail-get-new-mail): Remove unused vars `opoint' and `success'.
17230 (rmail-parse-url): Remove unused var `proto', `user', and `host'.
17231 (rmail-unrmail-new-mail-maybe): Remove unused var `new-file'.
17232 (rmail-insert-inbox-text): Remove unused var `movemail'.
17233 (rmail-add-mbox-headers): Remove unused var `limit'.
17234 (rmail-undelete-previous-message): Remove unused var `value'.
17235 (rmail-reply): Remove unused vars `resent-to', `resent-cc',
17237 (rmail-mime-mbox-buffer, rmail-mime-view-buffer): Declare.
17238 (rmail-restore-desktop-buffer): Rename arguments.
17240 2015-05-06 Glenn Morris <rgm@gnu.org>
17242 * Makefile.in (change-history-commit): Add missing piece of previous.
17244 Avoid unnecessary bumping of Makefile.in's timestamp
17245 * Makefile.in (gen_origin): Move to gitlog-to-emacslog.
17246 (emacslog): New variable.
17247 (ChangeLog): Use $emacslog. Don't pass $gen_origin.
17248 (unchanged-history-files): Use $emacslog rather than Makefile.in.
17249 (change-history-nocommit): Store hash in $emacslog.
17250 * build-aux/gitlog-to-emacslog (gen_origin): Move default here.
17251 * admin/update_autogen (changelog_files): Update for the above.
17253 * Makefile.in: Don't always insist on removing existing "ChangeLog".
17254 (CHANGELOG): New variable.
17255 (no-ChangeLog): Remove.
17256 (ChangeLog): Replace "no-ChangeLog"; pass output file to script.
17257 (change-history-nocommit): Use a temp file rather than insisting
17258 on deletion of any existing "ChangeLog".
17260 * build-aux/gitlog-to-emacslog: Allow specification of output.
17262 * admin/update_autogen: Add option to update ChangeLog.
17263 (usage): Mention -H.
17264 (changelog_flag, changelog_n, changelog_files): New variables.
17265 (main): Check for -H, and maybe run change-history-nocommit.
17267 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17269 * lisp/subr.el (delete-dups): Pre-size the hashtable.
17271 * lisp/emacs-lisp/cl.el (define-modify-macro): Make sure
17272 cl--arglist-args is defined (bug#20517).
17274 2015-05-06 Glenn Morris <rgm@gnu.org>
17276 * Makefile.in (change-history-nocommit): New.
17278 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
17280 * lisp/cedet/pulse.el (pulse-momentary-unhighlight): Only cancel
17281 timer when it is non-nil
17282 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00223.html).
17284 2015-05-06 Glenn Morris <rgm@gnu.org>
17286 Quieten CEDET compilation
17287 * lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym->tag):
17288 Invert fboundp test to quieten on current Emacs.
17289 * lisp/cedet/ede/config.el (ede-shell-run-something)
17290 (semanticdb-file-table-object, semanticdb-needs-refresh-p)
17291 (semanticdb-refresh-table): Declare.
17292 (ede-preprocessor-map): Require semantic/db.
17294 Quieten cc-mode compilation
17295 * lisp/progmodes/cc-awk.el (c-forward-sws):
17296 * lisp/progmodes/cc-cmds.el (c-forward-subword, c-backward-subword):
17299 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
17301 * lisp/subr.el (delete-dups): Avoid nreverse.
17303 2015-05-06 Artur Malabarba <bruce.connor.am@gmail.com>
17305 * lisp/subr.el (delete-dups): Make it destructive again.
17307 2015-05-06 Paul Eggert <eggert@cs.ucla.edu>
17309 * doc/lispref/sequences.texi (Sequence Functions): Fix quoting.
17311 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17313 * lisp/emacs-lisp/testcover.el: Don't use edebug--read (bug#20487).
17314 * lisp/emacs-lisp/testcover.el: Use lexical-binding.
17315 (testcover--read): Rename from testcover-read. Change calling
17316 convention. Use edebug-read-and-maybe-wrap-form now that edebug-read
17318 (testcover-start): Use add-function. Move edebug-all-defs binding to
17320 (testcover-this-defun): Tighten scope of edebug-all-defs binding.
17321 (testcover-mark): Remove unused var `item'.
17322 * src/lread.c (syms_of_lread): Default load-read-function to `read'.
17324 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
17326 * lisp/subr.el (delete-dups): When there are more than 100 candidates,
17327 use a hash table. This can result in ~500 times speed-up for typical
17328 collections of size 5000, like that of `load-library'.
17330 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17332 CEDET: Avoid `oref' on classes in a few more cases
17333 * lisp/cedet/ede/generic.el (ede-find-target):
17334 * lisp/cedet/ede.el (ede-project-forms-menu): Avoid `oref' on classes.
17335 * lisp/cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Remove unused
17338 * lisp/cedet/semantic/symref/grep.el: Fix unused var warnings.
17339 (grepflags, greppattern): Declare.
17340 (semantic-symref-perform-search): Remove unused var `pat'.
17342 CEDET (srecode-compile-inserter): Avoid `oref' on classes
17343 * lisp/cedet/srecode/compile.el (srecode-compile-inserter):
17344 Avoid `oref' on classes (bug#20491).
17345 (srecode-compile-split-code): Remove unused var `key'.
17347 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
17349 Clean up pulse.el a little
17350 * lisp/cedet/pulse.el (pulse): Remove.
17351 (pulse-momentary-timer): Save instead of the stop time.
17352 (pulse-momentary-highlight-overlay):
17353 Call pulse-momentary-unhighlight first thing.
17354 Treat pulse-momentary-overlay as a single value, not a list.
17355 Save the created timer. Only pass the stop time to the timer.
17356 (pulse-tick): Update accordingly.
17357 (pulse-momentary-unhighlight): Treat pulse-momentary-overlay as a
17358 single value. Cancel the timer.
17360 2015-05-06 Tassilo Horn <tsdh@gnu.org>
17362 * lisp/textmodes/reftex-cite.el (reftex-format-bib-entry):
17363 Support the biblatex journaltitle field.
17365 2015-05-05 Glenn Morris <rgm@gnu.org>
17367 Minor declare-function improvement
17368 * lisp/emacs-lisp/bytecomp.el
17369 (byte-compile-macroexpand-declare-function):
17370 Handle declarations after calls. (Bug#20509)
17372 * lisp/progmodes/js.el (js--optimize-arglist): Remove declaration.
17374 * lisp/w32-fns.el (w32-shell-name): Silence compiler.
17376 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
17378 Pulse using a timer
17379 * lisp/cedet/pulse.el (pulse-momentary-stop-time): New variable.
17380 (pulse-momentary-highlight-overlay): Set up the timer instead of
17382 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/).
17383 (pulse-tick): New function.
17384 (pulse-momentary-unhighlight): Cut off the stop time.
17385 (pulse-delay): Update the docstring WRT to not using sit-for.
17387 Add semantic/symref/grep file patterns for ruby-mode
17388 * lisp/cedet/semantic/symref/grep.el
17389 (semantic-symref-filepattern-alist): Add patterns for ruby-mode.
17390 Clarify the docstring.
17392 Don't require match
17393 * lisp/progmodes/xref.el (xref--read-identifier): Don't require
17394 match. That doesn't work for every command, and some identifier
17395 completion tables are bound to be imperfect anyway.
17397 2015-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17399 * lisp/cedet/semantic/grammar.el: Fix compiler warnings (bug#20505).
17400 (semantic-grammar--template-expand): New function.
17401 (semantic-grammar-header, semantic-grammar-footer): Use it.
17402 (semantic-grammar--lex-block-specs): Remove unused var `block-spec'.
17403 (semantic-grammar-file-regexp): Refine regexp.
17404 (semantic-grammar-eldoc-get-macro-docstring):
17405 Use elisp-get-fnsym-args-string when available.
17406 (semantic-idle-summary-current-symbol-info): Use new elisp-* names
17407 instead of the old eldoc-* names.
17408 * lisp/emacs-lisp/eldoc.el (eldoc-docstring-format-sym-doc): Move back
17409 from elisp-mode.el. Tweak calling convention.
17410 * lisp/progmodes/elisp-mode.el (package-user-dir): Declare.
17411 (elisp-get-fnsym-args-string): Add `prefix' argument. Rename from
17412 elisp--get-fnsym-args-string.
17413 (elisp--highlight-function-argument): Add `prefix' arg.
17414 (elisp-get-var-docstring): Rename from elisp--get-var-docstring.
17415 (elisp--docstring-format-sym-doc): Move back to eldoc.el.
17417 2015-05-05 Glenn Morris <rgm@gnu.org>
17419 * lisp/help-fns.el (describe-function-1):
17420 Handle builtins with advertised calling conventions. (Bug#20479)
17422 2015-05-05 Nicolas Petton <nicolas@petton.fr>
17424 Merge branch 'seq-let'
17426 Update `seq-let' documentation
17427 * doc/lispref/sequences.texi: Update the documentation of `seq-let'
17428 with the support of `&rest'.
17430 Add support for &rest in `seq-let'
17431 * lisp/emacs-lisp/seq.el (seq--make-bindings): Add support for `&rest'
17432 in the argument list.
17433 * test/automated/seq-tests.el: Add a test for parsing and binding
17434 `&rest' in `seq-let'.
17436 2015-05-05 Pierre Lorenzon <devel@pollock-nageoire.net> (tiny change)
17438 * lisp/emacs-lisp/eieio-custom.el (eieio-object-value-get):
17439 Add missing increment (Bug#20467).
17440 (eieio-object-value-create): Adjust to new slots representation
17442 (eieio-object-value-create): Fix missed adjustment to new
17443 representation of slots metadata.
17445 2015-05-05 Nicolas Petton <nicolas@petton.fr>
17447 * lisp/emacs-lisp/seq.el (seq--make-bindings): Improve the docstring.
17449 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
17451 Work around "Attempt to modify read-only object"
17452 * lisp/progmodes/elisp-mode.el (elisp--xref-format): Extract from
17453 elisp--xref-find-definitions, to work around "Attempt to modify
17454 read-only object" error.
17456 Only skip some variables that have function counterparts
17457 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
17458 Only skip minor-mode-named variable if it's defined in a Lisp
17459 file, and it's in minor-mode-list (bug#20506).
17460 * test/automated/elisp-mode-tests.el
17461 (elisp-xref-finds-both-function-and-variable)
17462 (elisp-xref-finds-only-function-for-minor-mode): New tests.
17464 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
17466 * lisp/progmodes/xref.el (xref--location-at-point): Revert the
17468 (xref--insert-xrefs): Buttonize the whole line, including the
17469 number at the beginning.
17471 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
17472 Make sure we're inside the let bindings.
17473 * test/automated/elisp-mode-tests.el
17474 (elisp-completes-functions-after-let-bindings): New test.
17476 2015-05-04 Glenn Morris <rgm@gnu.org>
17478 * lisp/cedet/semantic/grammar.el (eldoc-function-argstring)
17479 (eldoc-docstring-format-sym-doc, eldoc-last-data-store)
17480 (eldoc-get-fnsym-args-string, eldoc-get-var-docstring):
17481 Remove outdated declarations.
17483 Replace instances of "(eval-when-compile (autoload ...))"
17484 * lisp/gnus/gnus-art.el (nneething-get-file-name):
17485 Declare rather than autoload.
17486 * lisp/gnus/gnus-async.el (gnus-html-prefetch-images):
17487 Remove pointless autoload.
17488 * lisp/gnus/gnus-sync.el (gnus-group-topic): Autoload at run-time.
17489 (gnus-topic-create-topic, gnus-topic-enter-dribble):
17490 Declare rather than autoload.
17491 * lisp/gnus/mm-archive.el (gnus-recursive-directory-files)
17492 (mailcap-extension-to-mime): Autoload at run-time.
17493 * lisp/gnus/mm-util.el (latin-unity-massage-name)
17494 (latin-unity-maybe-remap, latin-unity-representations-feasible-region)
17495 (latin-unity-representations-present-region):
17496 Declare rather than autoload.
17497 * lisp/gnus/mml-smime.el (epg-make-context)
17498 (epg-passphrase-callback-function): Autoload at run-time.
17499 (epg-context-set-signers, epg-context-result-for)
17500 (epg-new-signature-digest-algorithm)
17501 (epg-verify-result-to-string, epg-list-keys, epg-verify-string)
17502 (epg-sign-string, epg-encrypt-string)
17503 (epg-context-set-passphrase-callback, epg-sub-key-fingerprint)
17504 (epg-configuration, epg-expand-group, epa-select-keys):
17505 Declare rather than autoload.
17506 * lisp/gnus/nnir.el (nnimap-change-group, nnimap-make-thread-query):
17507 Autoload at run-time.
17508 (gnus-group-topic-name, nnimap-buffer, nnimap-command)
17509 (gnus-registry-get-id-key, gnus-registry-action):
17510 Declare rather than autoload.
17511 * lisp/gnus/nnmail.el (mail-send-and-exit): Autoload at run-time.
17512 * lisp/gnus/spam.el (spam-stat-buffer-change-to-non-spam)
17513 (spam-stat-buffer-change-to-spam, spam-stat-buffer-is-non-spam)
17514 (spam-stat-buffer-is-spam, spam-stat-load, spam-stat-save)
17515 (spam-stat-split-fancy): Remove pointless autoloads.
17516 * lisp/net/mairix.el: Load gnus-util when compiling.
17517 (gnus-group-read-ephemeral-group, gnus-summary-toggle-header)
17518 (message-field-value): Declare rather than autoload.
17519 (mairix-gnus-ephemeral-nndoc, mairix-gnus-fetch-field):
17520 Check gnus-alive-p is fbound.
17521 (vm-quit, vm-visit-folder, vm-select-folder-buffer)
17522 (vm-check-for-killed-summary, vm-error-if-folder-empty)
17523 (vm-get-header-contents, vm-select-marked-or-prefixed-messages):
17524 Declare rather than autoload.
17526 * lisp/gnus/mm-view.el (epg-decrypt-string): Autoload.
17528 * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
17529 (epg-sub-key-capability, epg-sub-key-validity): Fix declarations.
17531 * lisp/progmodes/elisp-mode.el (xref-collect-references): Declare.
17533 * lisp/emacs-lisp/debug.el (help-xref-interned): Update declaration.
17535 * lisp/allout.el (epg-user-id-string, epg-key-user-id-list):
17536 * lisp/emacs-lisp/package.el (epg-signature-status):
17539 * lisp/play/gametree.el (gametree-show-children-and-entry)
17540 (gametree-apply-layout, gametree-mouse-show-subtree)
17541 (gametree-mouse-hide-subtree): Replace obsolete outline aliases.
17543 * lisp/emacs-lisp/check-declare.el (check-declare-verify):
17544 Handle cl-defgeneric, cl-defmethod.
17546 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
17548 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions):
17549 Highlight both type and symbol name.
17551 Insert, highlight and align line numbers in xref output
17552 * lisp/progmodes/etags.el (xref-location-line): Specialize for
17553 xref-etags-location.
17554 * lisp/progmodes/xref.el (xref-location-line): New generic method.
17555 (xref-file-location): Add reader for the line slot.
17556 (xref--location-at-point): Skip to the `xref-location' property.
17557 (xref--collect-reference): Drop the line number from description.
17558 (xref--insert-xrefs): Insert, highlight and align line numbers.
17560 2015-05-04 Daniel Colascione <dancol@dancol.org>
17562 * lisp/simple.el (save-mark-and-excursion--save)
17563 (save-mark-and-excursion--restore): Fix previous commit
17564 (255a011f0ecf004b31c59945b10154b10fac3af1).
17566 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
17568 Don't pulse the indentation, or the newline
17569 * lisp/cedet/pulse.el (pulse-lighten-highlight)
17570 (pulse-reset-face): Fall back to the inherited background
17572 (pulse-momentary-highlight-region): Add autoload cookie.
17573 * lisp/progmodes/xref.el (xref--maybe-pulse): Don't highlight the
17574 indentation, or the newline, if the line's non-empty
17575 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00118.html).
17577 2015-05-04 Daniel Colascione <dancol@dancol.org>
17579 Add `save-mark-and-excursion', which has the old
17580 `save-excursion' behavior
17581 * doc/lispref/positions.texi (Excursions):
17582 Document `save-mark-and-excursion'.
17583 * lisp/font-lock.el (font-lock-fontify-block):
17584 Use `save-mark-and-excursion' instead of `save-excursion',
17585 restoring Emacs 24 behavior.
17586 * lisp/simple.el (save-mark-and-excursion--save)
17587 (save-mark-and-excursion--restore): New functions.
17588 (save-mark-and-excursion): New user macro.
17589 * src/editfns.c (Fsave_excursion): Mention `save-mark-and-excursion'
17590 in `save-excursion' documentation.
17592 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
17594 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
17595 Classify lone symbol inside let varlist as variable.
17596 * test/automated/elisp-mode-tests.el
17597 (completest-variables-in-let-bindings): New test.
17599 Add xref-pulse-on-jump
17600 * lisp/cedet/pulse.el (pulse-momentary-highlight-one-line):
17601 Add autoload cookie.
17602 * lisp/progmodes/xref.el (xref-pulse-on-jump): New option.
17603 (xref--maybe-pulse): New function.
17604 (xref-pop-marker-stack, xref--pop-to-location)
17605 (xref--display-position): Use it.
17606 (xref--location-at-point): Use back-to-indentation.
17608 2015-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17610 lisp/org/org-{macs,list}.el: Fix lexical warnings
17611 * lisp/org/org-list.el (org-list-struct): Remove unused var `ind'.
17612 (org-list-get-next-item, org-list-get-prev-item)
17613 (org-list-get-children): Mark unused arg `struct'.
17614 (org-list-use-alpha-bul-p): Remove unused var `bul'.
17615 (org-toggle-checkbox): Mark unused var.
17616 (org-update-checkbox-count): Remove unused var `box-num'.
17617 (org-adapt-indentation): Declare.
17618 (org-list-parse-list): Declare var instead of adding a dummy duplicate.
17619 (org-list-send-list): Remove unused var `txt'.
17620 (org-list-to-latex, org-list-to-texinfo): Mark unused arg `params'.
17621 (org-list-to-subtree): Add prefix to dyn-bind var, and declare them.
17622 * lisp/org/org-macs.el: Use `declare'.
17623 (org-with-limited-levels): Declare dyn-bound vars.
17625 2015-05-04 Eli Zaretskii <eliz@gnu.org>
17627 Fix minor issues with CEDET on MS-Windows
17628 * lisp/cedet/semantic/symref/idutils.el
17629 (semantic-symref-parse-tool-output-one-line): Fix the search
17630 regexp to match MS-Windows file names with drive letters.
17632 * lisp/cedet/semantic/symref/grep.el
17633 (semantic-symref-grep-use-template): Remove "--color=always" from
17634 Grep switches on MS-Windows.
17635 (semantic-symref-grep-shell): Use shell-file-name as the default
17636 value, so this works not only on Posix platforms.
17637 (semantic-symref-perform-search): Use shell-quote-argument instead
17638 of literal '..' for portable quoting of Grep command-line
17639 argument. Use shell-command-switch instead of a literal "-c".
17640 * lisp/cedet/semantic/bovine/gcc.el
17641 (semantic-gcc-get-include-paths): Use file-name-absolute-p to test
17642 for an absolute file name in a portable way.
17644 2015-05-04 Artur Malabarba <bruce.connor.am@gmail.com>
17646 * lisp/emacs-lisp/package.el: Remove `package--silence' variable.
17647 (package-import-keyring, package-refresh-contents)
17648 (package-compute-transaction, package--save-selected-packages)
17649 (package-install-from-archive, package-delete)
17650 (package-menu--perform-transaction): Use `inhibit-message' instead.
17651 (package--compile): Set `warning-minimum-level' to :error.
17653 2015-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17655 * lisp/term/screen.el (xterm-screen-extra-capabilities): New custom.
17656 (terminal-init-screen): Use it (bug#20356).
17657 * lisp/term/xterm.el: Provide `term/xterm' instead of `xterm'.
17658 (xterm--extra-capabilities-type): New const.
17659 (xterm-extra-capabilities): Use it.
17660 (xterm--version-handler): Lower the pseudo-version for `screen'.
17662 2015-05-03 Dmitry Gutov <dgutov@yandex.ru>
17664 * lisp/progmodes/xref.el (xref--insert-xrefs): Tweak the faces.
17665 Always insert a newline at the end (to avoid mouse-face background
17666 tail at the last line).
17668 elisp-completion-at-point: Prioritize being quoted over funpos
17669 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
17670 Only consider function position when not inside quoted form
17672 * test/automated/elisp-mode-tests.el: New file.
17674 Stop vc-print-log from jumping to the top
17675 * lisp/vc/vc.el (vc-print-log-internal): Pass nil
17676 GOTO-LOCATION-FUNC to vc-log-internal-common when WORKING-REVISION
17678 (vc-incoming-outgoing-internal): Always pass nil.
17679 (vc-log-internal-common): When GOTO-LOCATION-FUNC is nil, don't
17680 call it, and don't set vc-sentinel-movepoint (bug#15322).
17681 (vc-print-root-log): Don't fetch the root working revision, nor
17682 pass it to vc-print-log-internal.
17684 2015-05-02 Michael Vehrs <Michael.Burschik@gmx.de>
17686 Fix display of keyboard layouts for right-to-left scripts
17687 * lisp/international/quail.el (quail-insert-kbd-layout):
17688 Force left-to-right paragraph direction.
17690 2015-05-02 K. Handa <handa@gnu.org>
17692 * src/cmds.c (internal_self_insert): When we insert spaces for
17693 padding, set point before the padding spaces, not after them.
17695 2015-05-02 Nicolas Petton <nicolas@petton.fr>
17697 * lisp/emacs-lisp/seq.el (seq-p): New alias to `sequencep'.
17699 2015-05-02 Dmitry Gutov <dgutov@yandex.ru>
17701 Fix etags-xref-find for references
17702 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references):
17704 * lisp/progmodes/etags.el (etags-xref-find): Ditto. Prompt for
17705 directory if no tags tables are loaded (bug#19468).
17707 2015-05-02 Philipp Stephani <phst@google.com>
17709 Update the options in whitespace-style defcustom
17710 * lisp/whitespace.el (whitespace-style): Use `set' instead of a
17711 `repeat' because the option is really set-like. Add missing
17712 options. Reorder options to match the order in the
17713 documentation. (Bug#20346)
17715 2015-05-02 Eli Zaretskii <eliz@gnu.org>
17717 Fix error diagnostics of c-macro-expand
17718 * lisp/progmodes/cmacexp.el (c-macro-expansion): Don't bail out
17719 too early if no start-marker string was found -- that generally
17720 means cpp exited abnormally, and we still want to show its error
17721 messages to the user.
17723 Don't require Texinfo 5.0 for Emacs documentation
17724 * doc/emacs/docstyle.texi: Use "@set txicodequoteundirected" and
17725 "@set txicodequotebacktick" instead of "@codequotebacktick on" and
17726 "@codequoteundirected on", respectively, to avoid requiring
17727 Texinfo 5.x for Emacs documentation.
17729 2015-05-01 Simen Heggestøyl <simenheg@gmail.com>
17731 * lisp/files.el (pwd):
17732 When called with a prefix argument, insert the current default
17733 directory at point.
17735 2015-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
17737 * lisp/isearch.el (isearch-mode-map): Allow backspace remapping
17738 * lisp/isearch.el (isearch-mode-map): Don't inhibit
17739 function-key-map remapping for backspace (bug#20466).
17741 2015-05-01 Dmitry Gutov <dgutov@yandex.ru>
17743 Implement xref-find-references in etags and elisp-mode
17744 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): New function.
17745 (elisp-xref-find): Use it.
17746 * lisp/progmodes/etags.el (etags-xref-find): Use `xref-collect-references'.
17747 * lisp/progmodes/xref.el (xref-collect-references):
17748 (xref--collect-reference): New functions.
17750 2015-05-01 Paul Eggert <eggert@cs.ucla.edu>
17752 Prefer plain characters to Texinfo circumlocutions
17753 For example, prefer 'François' to 'Fran\c{c}ois', 'Fran\c cois',
17754 'Fran@,{c}ois' or 'Francois' (all of which were used!) in Texinfo sources.
17756 Fix single-quoting style in PDF manuals
17757 The PDF versions of the GNU manuals used curved single quotes to
17758 represent grave accent and apostrophe, which made it a pain to cut
17759 and paste code examples from them. Fix the PDF versions to use
17760 grave accent and apostrophe for Lisp source code, keystrokes, etc.
17761 This change does not affect the info files, nor does it affect
17762 ordinary uses of curved single quotes in PDF.
17763 * doc/emacs/docstyle.texi: New file, which specifies treatment for
17764 grave accent and apostrophe, as well as the document encoding.
17765 * doc/emacs/emacs-xtra.texi, doc/emacs/emacs.texi:
17766 * doc/lispintro/emacs-lisp-intro.texi:
17767 * doc/lispref/back.texi, doc/lispref/book-spine.texi:
17768 * doc/lispref/elisp.texi, doc/lispref/lay-flat.texi:
17769 * doc/misc/ada-mode.texi, doc/misc/auth.texi:
17770 * doc/misc/autotype.texi, doc/misc/bovine.texi, doc/misc/calc.texi:
17771 * doc/misc/cc-mode.texi, doc/misc/cl.texi, doc/misc/dbus.texi:
17772 * doc/misc/dired-x.texi, doc/misc/ebrowse.texi, doc/misc/ede.texi:
17773 * doc/misc/ediff.texi, doc/misc/edt.texi, doc/misc/efaq-w32.texi:
17774 * doc/misc/efaq.texi, doc/misc/eieio.texi, doc/misc/emacs-gnutls.texi:
17775 * doc/misc/emacs-mime.texi, doc/misc/epa.texi, doc/misc/erc.texi:
17776 * doc/misc/ert.texi, doc/misc/eshell.texi, doc/misc/eudc.texi:
17777 * doc/misc/eww.texi, doc/misc/flymake.texi, doc/misc/forms.texi:
17778 * doc/misc/gnus-coding.texi, doc/misc/gnus-faq.texi:
17779 * doc/misc/gnus.texi, doc/misc/htmlfontify.texi:
17780 * doc/misc/idlwave.texi, doc/misc/ido.texi, doc/misc/info.texi:
17781 * doc/misc/mairix-el.texi, doc/misc/message.texi, doc/misc/mh-e.texi:
17782 * doc/misc/newsticker.texi, doc/misc/nxml-mode.texi:
17783 * doc/misc/octave-mode.texi, doc/misc/org.texi, doc/misc/pcl-cvs.texi:
17784 * doc/misc/pgg.texi, doc/misc/rcirc.texi, doc/misc/reftex.texi:
17785 * doc/misc/remember.texi, doc/misc/sasl.texi, doc/misc/sc.texi:
17786 * doc/misc/semantic.texi, doc/misc/ses.texi, doc/misc/sieve.texi:
17787 * doc/misc/smtpmail.texi, doc/misc/speedbar.texi:
17788 * doc/misc/srecode.texi, doc/misc/todo-mode.texi, doc/misc/tramp.texi:
17789 * doc/misc/url.texi, doc/misc/vhdl-mode.texi, doc/misc/vip.texi:
17790 * doc/misc/viper.texi, doc/misc/widget.texi, doc/misc/wisent.texi:
17791 * doc/misc/woman.texi:
17792 Use it instead of '@documentencoding UTF-8', to lessen the need for
17793 global changes like this in the future.
17794 * doc/emacs/Makefile.in (EMACS_XTRA):
17795 * doc/lispintro/Makefile.in (srcs):
17796 * doc/lispref/Makefile.in (srcs):
17797 Add dependency on docstyle.texi.
17798 * doc/misc/Makefile.in (style): New macro.
17799 (${buildinfodir}/%.info, %.dvi, %.pdf, %.html)
17800 (${buildinfodir}/ccmode.info, ${buildinfodir}/efaq%.info, gnus_deps):
17803 2015-05-01 Glenn Morris <rgm@gnu.org>
17805 * test/automated/cl-lib-tests.el (cl-lib-adjoin-test): Fix it.
17807 * lisp/emacs-lisp/pcase.el (get-edebug-spec, edebug-match)
17808 (help-fns--signature): Declare.
17810 * lisp/emacs-lisp/pcase.el (pcase--make-docstring): Require help-fns.
17812 2015-05-01 Nicolas Petton <nicolas@petton.fr>
17814 New macro seq-let, providing destructuring support to seq.el
17815 * lisp/emacs-lisp/seq.el (seq-let): New macro. `seq-let' is similar
17816 to `cl-destructuring-bind' but works on all sequence types supported
17817 by `seq.el'. Bump version number to 1.6.
17818 * test/automated/seq-tests.el: Add tests for seq-let.
17819 * doc/lispref/sequences.texi: Add documentation for seq-let.
17821 2015-05-01 Pontus Michael <m.pontus@gmail.com>
17823 * lisp/simple.el (blink-matching-open): Better behavior in minibuffer.
17825 2015-05-01 Glenn Morris <rgm@gnu.org>
17827 * lisp/emacs-lisp/ert.el (ert--special-operator-p): Fix previous.
17829 2015-05-01 Artur Malabarba <bruce.connor.am@gmail.com>
17831 * lisp/emacs-lisp/bytecomp.el: Revert "Silence noninteractive compilations"
17832 This reverts commit 9a7ddde977378cb5276a81476ae458889c403267.
17833 This reverts commit 3c0ea587daf8b17960b90603a70e3ac4057d883d.
17834 With message: "* lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'".
17837 2015-05-01 K. Handa <handa@gnu.org>
17839 * lisp/international/mule-cmds.el (input-method-use-echo-area):
17840 Change :type to 'boolean.
17842 2015-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17844 Start using proportional fonts in eww by default
17845 * lisp/net/shr.el (shr-use-fonts): Switch the default to t, since
17846 it seems to work well.
17848 Fix links in tables in shr
17849 * lisp/net/shr.el: Remove `shr-inhibit-decoration', because that
17850 makes (some) links in tables not work.
17852 2015-05-01 Jan D <jan.h.d@swipnet.se>
17854 * lisp/term/ns-win.el (ns-get-cut-buffer-internal): Remove this alias.
17856 2015-04-30 Glenn Morris <rgm@gnu.org>
17858 * lisp/emacs-lisp/ert.el (ert--special-operator-p):
17859 Update for 2015-02-08 change to indirect-function.
17861 * lisp/term/ns-win.el (ns-get-selection-internal):
17862 Remove declaration for function deleted 2014-10-21.
17864 * lisp/dom.el: Load subr-x when compiling, for when-let.
17866 Silence some compilation warnings
17867 * lisp/emacs-lisp/check-declare.el (compilation-forget-errors):
17868 * lisp/emulation/cua-base.el (delete-active-region):
17869 * lisp/net/net-utils.el (w32-get-console-output-codepage):
17870 * lisp/term/ns-win.el (ns-own-selection-internal)
17871 (ns-disown-selection-internal, ns-selection-owner-p)
17872 (ns-selection-exists-p, ns-get-selection):
17873 Declare for compiler.
17875 Function declaration updates prompted by 'make check-declare'
17876 * lisp/emacs-lisp/package.el (lm-homepage):
17877 * lisp/gnus/gnus-util.el (iswitchb-read-buffer):
17878 * lisp/gnus/mm-decode.el (libxml-parse-html-region):
17879 * lisp/gnus/mml.el (libxml-parse-html-region):
17880 * lisp/gnus/nnrss.el (libxml-parse-html-region):
17881 * lisp/net/eww.el (libxml-parse-html-region):
17882 * lisp/net/shr.el (libxml-parse-html-region):
17883 * lisp/vc/vc-bzr.el (vc-annotate-convert-time):
17884 * lisp/vc/vc-cvs.el (vc-annotate-convert-time):
17885 * lisp/vc/vc-git.el (vc-annotate-convert-time):
17886 * lisp/vc/vc-hg.el (vc-annotate-convert-time):
17887 * lisp/vc/vc-mtn.el (vc-annotate-convert-time):
17888 * lisp/vc/vc-rcs.el (vc-annotate-convert-time):
17889 Update declaration.
17891 Remove compatibility code for 20-year old function renaming
17892 * lisp/progmodes/idlw-shell.el (idlwave-shell-comint-filter):
17893 Make it an obsolete alias.
17894 (idlwave-shell-filter): Change all uses to comint-output-filter.
17896 2015-04-30 Tassilo Horn <tsdh@gnu.org>
17898 Add ace-window face config
17899 * etc/themes/tsdh-light-theme.el (tsdh-light): Add ace-window face
17902 2015-04-30 Paul Eggert <eggert@cs.ucla.edu>
17904 Unclutter 'make doc' output a bit
17905 * Makefile.in ($(DOCS), $(INSTALL_DOC), $(UNINSTALL_DOC)):
17906 Use make subst rather than sh IFS to split target string apart.
17907 This makes 'make' output easier to follow.
17910 * doc/misc/texinfo.tex: Update from gnulib.
17912 2015-04-30 Artur Malabarba <bruce.connor.am@gmail.com>
17914 * lisp/emacs-lisp/package.el: Some speed optimizations on menu refresh.
17915 (package-menu--print-info): Obsolete.
17916 (package-menu--print-info-simple): New function.
17917 (package-menu--refresh): Use it, simplify code, and improve
17919 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17920 Tiny performance improvement.
17922 * lisp/emacs-lisp/package.el (package--message): inhibit-message.
17924 2015-04-29 Paul Eggert <eggert@cs.ucla.edu>
17926 Omit -Wstrict-overflow workaround in GCC 5
17927 * src/process.c: Remove workaround for GCC -Wstrict-overflow bug
17928 if it's GCC 5 or later, as the bug appears to be fixed in GCC 5.1.
17932 2015-04-29 extern-inline: no need for workaround in GCC 5.1
17933 2015-04-26 file-has-acl: port to CentOS 6
17934 * m4/acl.m4, m4/extern-inline.m4: Update from gnulib.
17936 2015-04-29 Helmut Eller <eller.helmut@gmail.com>
17938 Set next-error-* in xref--xref-buffer-mode
17939 * lisp/progmodes/xref.el (xref--xref-buffer-mode):
17940 Set `next-error-function' and `next-error-last-buffer'.
17941 (xref--next-error-function): New function.
17942 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01311.html)
17944 2015-04-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
17946 python.el: Fix warnings on looking-back calls missing LIMIT
17947 * lisp/progmodes/python.el (python-shell-accept-process-output):
17948 Pass LIMIT arg to looking-back.
17950 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
17952 * lisp/emacs-lisp/package.el: Use pushnew for downloads in progress.
17953 (package--download-and-read-archives): Use pushnew instead of
17954 append. If something terrible happened during a previous
17955 download, simply refreshing should now make things work again.
17957 2015-04-29 Dmitry Gutov <dgutov@yandex.ru>
17959 Introduce etags-xref-find-definitions-tag-order
17960 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
17962 (etags--xref-find-definitions): Use it (bug#19468).
17964 2015-04-29 Eli Zaretskii <eliz@gnu.org>
17966 PATH- and completion-related fixes in Eshell on MS-Windows
17967 * lisp/eshell/esh-ext.el (eshell-search-path): When running on
17968 MS-Windows, prepend "." to list of directories produced from PATH,
17969 as Windows always implicitly searches the current directory first.
17970 (eshell-force-execution): Make it have a non-nil default value on
17971 MS-Windows and MS-DOS.
17972 * lisp/eshell/em-cmpl.el (eshell-complete-commands-list): If
17973 eshell-force-execution is non-nil, complete on readable files and
17974 directories, not only executables. When running on MS-Windows,
17975 prepend "." to list of directories produced from PATH, as Windows
17976 always implicitly searches the current directory first.
17978 2015-04-29 Sam Steingold <sds@gnu.org>
17980 Bury RCIRC buffers when there is no activity
17981 * lisp/net/rcirc.el (rcirc-non-irc-buffer): Remove.
17982 (rcirc-bury-buffers): New function.
17983 (rcirc-next-active-buffer): When there is no new activity, use
17984 `rcirc-bury-buffers' to hide all RCIRC buffers.
17986 2015-04-29 Krzysztof Jurewicz <krzysztof.jurewicz@gmail.com> (tiny change)
17988 Fix DBUS query result parsing for secrets-search-items
17989 * lisp/net/secrets.el (secrets-search-items): Fix DBUS query result
17990 parsing. The function assumed that return value of the
17991 SearchItems method called on a collection is a list of two lists,
17992 however this is true only when no collection is specified. GNOME
17993 had used to incorrectly return a list of two lists in both cases,
17994 but this was already fixed:
17995 https://bugzilla.gnome.org/show_bug.cgi?id=695115 . Also fix an
17996 incorrect information in the secrets-search-items’ docstring.
17999 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
18001 * lisp/emacs-lisp/bytecomp.el (byte-compile--message):
18002 Use `inhibit-message' instead of hiding the previous message
18003 with (message nil).
18005 2015-04-29 Oleh Krehel <ohwoeowho@gmail.com>
18007 Remove the deprecated INTERNAL_FIELD macro by expanding it
18008 * src/lisp.h (INTERNAL_FIELD): Remove.
18009 (DEFVAR_KBOARD): Modify accordingly.
18010 * src/alloc.c, src/buffer.c, src/buffer.h, src/category.c:
18011 * src/keyboard.c, src/keyboard.h, src/syntax.c: Adjust users.
18012 * src/buffer.c (compact_buffer): Use BVAR.
18014 2015-04-29 Glenn Morris <rgm@gnu.org>
18016 Replace an obsolete function alias
18017 * lisp/isearch.el (isearch-yank-x-selection):
18018 * lisp/mouse-copy.el (mouse-drag-secondary-pasting)
18019 (mouse-drag-secondary-moving):
18020 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
18021 Replace obsolete alias x-get-selection with gui-get-selection.
18023 2015-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18025 * lisp/mail/rmailsum.el: Use lexical-binding.
18027 2015-04-29 Glenn Morris <rgm@gnu.org>
18029 * test/automated/package-test.el (package-test-update-archives-async):
18030 Skip test on hydra.nixos.org.
18032 2015-04-28 Glenn Morris <rgm@gnu.org>
18034 * lisp/foldout.el: Update for 2015-01-30 outline.el changes.
18035 (foldout-zoom-subtree, foldout-exit-fold, foldout-mouse-show)
18036 (foldout-mouse-hide-or-exit): Use new names for outline functions.
18038 * lisp/cedet/semantic/bovine/c.el (semantic-c-do-lex-if):
18039 Update for 2014-06-26 hideif.el change.
18041 * lisp/mail/rmailsum.el: Fix search for encoded subjects. (Bug#19088)
18042 (rmail--decode-and-apply): New function.
18043 (rmail-message-regexp-p-1, rmail-message-subject-p): Use it.
18045 * lisp/mail/rmail.el (rmail-highlighted-headers): Fix :type.
18047 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
18049 * lisp/emacs-lisp/package.el: Fix priority-hiding corner case
18050 (package-menu--refresh): Delegate obsolete-hiding to
18051 `package--remove-hidden'.
18052 (package--remove-hidden): Disregard high-priority package if it is
18053 older than the installed one.
18055 2015-04-28 Paul Eggert <eggert@cs.ucla.edu>
18057 Update source file encoding list
18058 Update admin/notes/unicode, along with coding system cookies in
18059 other files, so that the two match each other better.
18060 * admin/notes/unicode: lisp/language/ethio-util.el and
18061 lisp/language/ethiopic.el also use utf-8-emacs.
18062 * admin/notes/hydra, doc/misc/dbus.texi, doc/misc/org.texi:
18063 * doc/misc/remember.texi, etc/refcards/cs-dired-ref.tex:
18064 * etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
18065 * etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
18066 * etc/refcards/sk-survival.tex:
18067 Add "coding: utf-8" so that this file is not mishandled in a
18068 Latin-1 or Big-5 locale.
18069 * lisp/international/robin.el, lisp/org/ox-ascii.el:
18070 Specify utf-8, not utf-8-emacs, as these are plain UTF-8 files.
18071 * lisp/language/ethio-util.el: Fix trailer.
18073 2015-04-28 Eli Zaretskii <eliz@gnu.org>
18075 Fix synchronous invocation of Ispell
18076 * lisp/textmodes/ispell.el (ispell-init-process): Assign a non-nil
18077 value to ispell-process-directory before calling ispell-init-process.
18078 Don't call set-process-coding-system if ispell-async-processp is nil.
18081 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
18083 * lisp/emacs-lisp/package.el: Skip space and comments in init file
18084 (package--ensure-init-file): Insert snippet at first
18085 non-whitespace non-comments line. Respects local-vars at the top
18088 2015-04-28 Glenn Morris <rgm@gnu.org>
18090 * lisp/mail/rmail.el (rmail-copy-headers):
18091 Handle rmail-nonignored-headers being nil. (Bug#18878)
18093 * lisp/subr.el (delay-mode-hooks): Fix doc typo.
18095 * lisp/vc/vc-bzr.el (vc-bzr-after-dir-status):
18096 Don't get confused by a bzrlib version mismatch warning.
18098 2015-04-27 Thomas Fitzsimmons <fitzsim@fitzsim.org>
18100 Change default location of EUDC options file
18101 * etc/NEWS: Document change to EUDC options file's default location.
18102 * lisp/net/eudc-vars.el (eudc-options-file): Use
18103 `locate-user-emacs-file' to change default options file location.
18105 2015-04-27 Glenn Morris <rgm@gnu.org>
18107 * test/automated/package-test.el (package-test-update-archives-async):
18108 Try to handle the test server script dying.
18110 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
18112 * lisp/saveplace.el (save-place-mode): New minor mode.
18113 (save-place): Redefine as an obsolete alias.
18115 * lisp/midnight.el: Make it a minor mode. Allow predicates.
18116 * lisp/midnight.el: Use lexical-binding.
18117 (midnight-mode): Make it a proper minor mode.
18118 (midnight-buffer-display-time): Make arg non-optional.
18119 (midnight-find): Remove.
18120 (clean-buffer-list-kill-never-regexps)
18121 (clean-buffer-list-kill-regexps): Tweak type for new function choice.
18122 (clean-buffer-list-delay): Allow clean-buffer-list-kill-regexps to
18124 (clean-buffer-list): Use cl-find.
18125 Allow clean-buffer-list-kill-never-regexps to contain functions.
18127 2015-04-27 Nicolas Petton <nicolas@petton.fr>
18129 Bump version of seq.el to 1.5
18130 * lisp/emacs-lisp/seq.el (seq-doseq): Remove undocumented return value
18131 from seq-doseq. Bump version number of seq.el.
18133 2015-04-27 Glenn Morris <rgm@gnu.org>
18135 * lisp/mail/rmail.el (rmail-reply):
18136 Decode subject before matching "Re:" prefix. (Bug#20396)
18138 2015-04-27 Artur Malabarba <bruce.connor.am@gmail.com>
18140 * lisp/emacs-lisp/package.el: Small improvements
18141 (package--with-work-buffer-async): More informative error.
18142 (package-install-user-selected-packages): Rename to
18143 `package-install-selected-packages'.
18145 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
18147 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last
18148 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last change.
18149 (eieio--class-make): Remove leftover `tag'.
18151 2015-04-27 Glenn Morris <rgm@gnu.org>
18153 * lisp/gnus/message.el (gnus-extract-address-components):
18154 Remove bogus declaration that was masking previous problem.
18156 2015-04-27 Nicolas Graner <nicolas.graner@u-psud.fr> (tiny change)
18158 * lisp/gnus/message.el (message-insert-formatted-citation-line):
18159 Fix typo. (Bug#20318)
18161 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
18163 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Reuse oldc.
18165 * lisp/textmodes/reftex-toc.el: Improve multi-frame behavior
18166 * lisp/textmodes/reftex-toc.el (reftex-toc-revert): Avoid displaying
18167 the buffer in yet another frame.
18168 (reftex-toc-visit-location): Make sure toc-window has focus at the end
18169 when `final' is nil.
18170 (reftex--rebuilding-toc): Defvar to avoid `boundp' and
18171 silence warnings. Use `--' to clarify that it's internal.
18172 (reftex-toc-next, reftex-toc-previous, reftex-toc-demote)
18173 (reftex-toc-promote): Clarify unused argument.
18174 (reftex--pro-or-de, reftex--start-line, reftex--mark-line):
18175 Add `reftex--' prefix. Fix all users.
18176 (reftex-toc-promote-prepare): Use _ for dummy variable.
18177 (reftex-toc-restore-region): Rename `m.
18179 2015-04-27 Eli Zaretskii <eliz@gnu.org>
18181 Fix a typo in bibtex.el
18182 * lisp/textmodes/bibtex.el (bibtex-insert-kill): Fix a typo from
18183 last change. (Bug#20429)
18185 Fix redisplay of frame after loading new fonts
18186 * src/xdisp.c (redisplay_internal): When retrying redisplay of
18187 a frame because new fonts were loaded, disable all redisplay
18188 optimizations on that frame by calling SET_FRAME_GARBAGED.
18191 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
18193 * lisp/info.el (Info-menu): Properly provide the `default'
18196 * lisp/progmodes/elisp-mode.el (elisp--get-fnsym-args-string):
18197 Catch errors from documentation (bug#20418).
18198 (emacs-lisp-mode-abbrev-table): Remove redundant defvar.
18200 2015-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
18202 * lisp/emacs-lisp/package.el: Move variables to silence byte-compiler.
18203 Remove redundant ":group 'package".
18205 2015-04-26 Eli Zaretskii <eliz@gnu.org>
18207 Fix a typo in rmail.el
18208 * lisp/mail/rmail.el (rmail-ensure-blank-line): Fix a typo in the
18209 last commit. (Bug#20429)
18211 2015-04-26 Dmitry Gutov <dgutov@yandex.ru>
18213 Introduce xref-prompt-for-identifier
18214 * lisp/progmodes/xref.el (xref-prompt-for-identifier): New option.
18215 (xref--read-identifier): Use it
18216 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01205.html).
18218 2015-04-26 João Távora <joaotavora@gmail.com>
18220 `tex-insert-quote' after single `'' opens quotes instead of closing
18221 Without this, it's very hard to precede double quotes with the
18222 apostrophe character, i.e. insert the sequence '``
18223 (quote-backquote-backquote), commonly useful in portuguese, for
18225 * lisp/textmodes/tex-mode.el (tex-insert-quote): Add ?' to the list of
18226 preceding chars making `tex-insert-quote' be in the "opening" context.
18228 2015-04-25 Dmitry Gutov <dgutov@yandex.ru>
18230 Pass `id' to `completing-read' as def instead of initial input
18231 * lisp/progmodes/xref.el (xref--read-identifier): Pass `id' to
18232 `completing-read' as the default value instead of initial input
18233 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01182.html).
18235 2015-04-25 Paul Eggert <eggert@cs.ucla.edu>
18237 Don't freeze with unreadable processes
18238 Don't freeze if an exiting process can't be read from. (Bug#19860).
18239 This fixes a bug I introduced in
18240 2014-07-08T07:24:07Z@eggert@cs.ucla.edu
18241 "* process.c: Add sanity checks for file descriptors."
18242 Dmitry Gutov did most of the legwork in finding the problem.
18243 * src/process.c (wait_reading_process_output):
18244 Treat non-running processes that can't be read from
18245 the same as other non-running processes.
18247 2015-04-25 Alan Mackenzie <acm@muc.de>
18249 Fix change from 2015-04-22 "On C-y, stop some text property entries ..."
18250 * lisp/subr.el (remove-yank-excluded-properties): Put
18251 `with-silent-modifications' around only the last three lines of code.
18253 2015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
18255 * lisp/emacs-lisp/package.el (package-all-keywords): Don't cache
18256 (package--all-keywords): Deleted variable.
18258 * etc/NEWS: Document package-hiding functionality.
18260 2015-04-25 Eli Zaretskii <eliz@gnu.org>
18262 * lisp/window.el (recenter-last-op): Doc fix. (Bug#20419)
18264 Clarify the doc string of 'replace-regexp-in-string'
18265 * lisp/subr.el (replace-regexp-in-string): Doc fix. (Bug#20395)
18267 Improve doc string of 'insert-buffer-substring'
18268 * src/editfns.c (Finsert_buffer_substring): Doc fix. (Bug#20421)
18270 MS-Windows followup for the recent gnulib update
18271 * nt/gnulib.mk (libgnu_a_SOURCES): Replace file-has-acl.c with
18274 2015-04-24 Paul Eggert <eggert@cs.ucla.edu>
18280 2015-04-24 file-has-acl: new module, split from acl
18281 2015-04-24 manywarnings: add GCC 5.1 warnings
18282 2015-04-21 lstat: fix cross-compilation 'ln -s' problem
18283 2015-04-15 qacl: Simplify HP-UX acl_nontrivial check
18284 2015-04-15 acl: On Linux, check for acls without libacl
18285 2015-04-14 tempname: avoid unused parameter warnings (trivial)
18286 * lib/acl-internal.c: New file, from gnulib.
18287 * lib/file-has-acl.c: Remove; no longer imported from gnulib.
18288 * lib/acl-internal.h, lib/gnulib.mk, lib/qcopy-acl.c, lib/tempname.c:
18289 * m4/acl.m4, m4/gnulib-comp.m4, m4/lstat.m4, m4/manywarnings.m4:
18290 Update from gnulib.
18292 Port --enable-gcc-warnings to GCC 5.1 x86-64
18293 * lib-src/ebrowse.c (dump_sym):
18294 * lib-src/hexl.c (main):
18295 * src/ccl.c (ccl_driver):
18296 * src/character.c (string_escape_byte8):
18297 * src/dbusbind.c (xd_retrieve_arg, xd_add_watch):
18298 * src/gnutls.c (Fgnutls_boot):
18299 * src/gtkutil.c (xg_check_special_colors):
18300 * src/image.c (x_build_heuristic_mask):
18301 * src/print.c (safe_debug_print, print_object):
18302 * src/term.c (produce_glyphless_glyph):
18303 * src/xdisp.c (get_next_display_element)
18304 (produce_glyphless_glyph):
18305 * src/xterm.c (x_draw_glyphless_glyph_string_foreground):
18306 Don't use a signed format to print an unsigned integer, or vice
18307 versa. GCC 5.1's new -Wformat-signedness option warns about this.
18308 * src/image.c (png_load_body, jpeg_load_body):
18309 Silence a bogus setjump diagnostic from GCC 5.1 (GCC bug 54561).
18311 2015-04-24 Tassilo Horn <tsdh@gnu.org>
18313 Add new faces to tsdh-light-theme
18314 * etc/themes/tsdh-light-theme.el (tsdh-light): New face
18315 definitions for Info-quoted, ace-jump-face-foreground,
18316 hl-paren-face, show-paren-match, and show-paren-mismatch.
18318 2015-04-24 Nicolas Petton <nicolas@petton.fr>
18320 * lisp/emacs-lisp/seq.el (seq-doseq): Fix the macro.
18322 2015-04-24 Glenn Morris <rgm@gnu.org>
18324 * build-aux/gitlog-to-emacslog:
18325 Use raw log format rather than wrapped one.
18327 2015-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
18329 * lisp/emacs-lisp/seq.el (seq-doseq): Tighten the code.
18330 (seq-doseq): Fix out-of-scope binding.
18331 Don't call `seq-length at every iteration.
18332 Reduce `if's from 3 to 2 per iteration.
18333 (emacs-lisp-mode-hook): Don't tweak in Emacs≥25.
18335 2015-04-24 Glenn Morris <rgm@gnu.org>
18337 * lisp/textmodes/text-mode.el (text-mode-hook):
18338 Move text-mode-hook-identify to default.
18340 * lisp/mouse.el (minor-mode-menu-from-indicator):
18341 Handle non-function members of minor-mode-map-alist. (Bug#20201)
18343 * lisp/help-fns.el (describe-function): More type checking.
18344 (describe-function-1): Handle changed symbol-function. (Bug#20201)
18346 * build-aux/gitlog-to-emacslog: Convert "Fixes:" to "(Bug#)".
18349 2015-04-24 Andreas Schwab <schwab@linux-m68k.org>
18351 shr: strip leading whitespace when expanding URLs
18352 * lisp/net/shr.el (shr-expand-url): Strip leading whitespace from URL.
18354 2015-04-24 Eli Zaretskii <eliz@gnu.org>
18356 Clarify "co-authored" some more
18358 * CONTRIBUTE: Clarify "co-authored-by". (Bug#20400)
18360 Clarify doc strings of functions that search for properties
18361 * src/textprop.c (Fnext_char_property_change)
18362 (Fprevious_char_property_change)
18363 (Fnext_single_char_property_change)
18364 (Fprevious_single_char_property_change, Fnext_property_change)
18365 (Fnext_single_property_change, Fprevious_property_change)
18366 (Fprevious_single_property_change): Clarify doc strings wrt return
18367 value and the optional LIMIT argument. (Bug#20411)
18369 2015-04-24 Glenn Morris <rgm@gnu.org>
18371 * test/automated/message-mode-tests.el (message-mode-propertize):
18372 Handle non-writable HOME; eg on hydra.nixos.org.
18374 2015-04-23 Eli Zaretskii <eliz@gnu.org>
18376 Avoid starting threads by w32-shell-execute
18377 * src/w32fns.c (Fw32_shell_execute): Convert "file:///" URLs into
18378 local file names, before invoking ShellExecute. (Bug#20220)
18380 2015-04-23 Martin Rudalics <rudalics@gmx.at>
18382 Fix following doc-links in `widget-documentation-link-action'
18383 * lisp/wid-edit.el (widget-documentation-link-action): Make
18384 following doc-links less simplistic (Bug#20398).
18386 2015-04-22 Thomas Fitzsimmons <fitzsim@fitzsim.org>
18388 Improve EUDC manual
18389 * doc/misc/eudc.texi (Troubleshooting):
18390 New LDAP troubleshooting subsection.
18392 2015-04-22 Paul Eggert <eggert@cs.ucla.edu>
18394 Omit needless "\ " after multibyte then newline
18395 * src/print.c: Include <c-ctype.h>, for c_isxdigit.
18396 (print_object): When print-escape-multibyte is non-nil and a
18397 multibyte character is followed by a newline or formfeed, followed
18398 by a hex digit, don't output a needless "\ " before the hex digit.
18399 * test/automated/print-tests.el (print-hex-backslash): New test.
18401 2015-04-22 Oleh Krehel <ohwoeowho@gmail.com>
18403 Add a new `inhibit-message' variable
18404 * src/xdisp.c (syms_of_xdisp): Define a boolean `inhibit_message'.
18405 (message3): Don't call `message3_nolog' (i.e. use the Echo Area) when
18406 `inhibit_message' is non-zero.
18407 * etc/NEWS: Add an entry.
18408 * doc/lispref/display.texi: Add an entry for `inhibit-message',
18409 mention it in `message'.
18411 2015-04-22 Martin Rudalics <rudalics@gmx.at>
18413 Fix last fix in `display-buffer-record-window'.
18414 * lisp/window.el (display-buffer-record-window): Fix last fix.
18416 2015-04-22 Eli Zaretskii <eliz@gnu.org>
18418 Minor edits in CONTRIBUTE
18419 * CONTRIBUTE: Rearrange instructions about log messages.
18420 Use "Git" capitalized all over.
18421 Use 2 spaces between sentences.
18423 2015-04-22 Artur Malabarba <bruce.connor.am@gmail.com>
18425 * lisp/files.el (basic-save-buffer): Fix argument.
18427 * lisp/cus-edit.el (custom-file): Consider init-file-had-error.
18428 In case `(and (null custom-file) init-file-had-error)' do the same
18429 thing we'd do if `(null user-init-file)', which is to either error out
18430 or return nil. This is in line with `custom-save-all' which would
18431 throw an error in that situation. (Bug#20355)
18433 * lisp/emacs-lisp/package.el: Hide lower-priority packages in menu.
18434 (package-menu-hide-low-priority): New variable, see its doc.
18435 (package-archive-priorities): Update doc.
18436 (package-desc-priority): New function.
18437 (package-desc-priority-version): Use it.
18438 (package--remove-hidden): New function.
18439 (package-menu--refresh): Use it.
18441 * lisp/emacs-lisp/package.el: Implement displaying obsolete packages.
18442 (package-menu--hide-obsolete): New variable.
18443 (package--remove-hidden): Use it.
18444 (package-menu-hide-obsolete): New interactive function to toggle
18446 (package--quick-help-keys): Document it.
18447 (package-menu-async): Add :version tag.
18448 (package-menu-mode-map): Bind package-menu-hide-obsolete.
18449 (package-desc-status): Indicate non-installed obsolete packages as
18451 (package-menu-mark-install): Allow installation of avail-obso.
18452 (package-menu--status-predicate): Sort avail-obso with available.
18454 2015-04-22 Alan Mackenzie <acm@muc.de>
18456 On C-y, stop some text property entries being written into buffer-undo-list
18457 * lisp/subr.el (remove-yank-excluded-properties): Enclose the code in
18458 `with-silent-modifications'.
18460 2015-04-22 Martin Rudalics <rudalics@gmx.at>
18462 In display-buffer-record-window record selected window if necessary
18463 * lisp/window.el (display-buffer-record-window): Store selected window
18464 if it differs from 3rd element of 'quit-restore' parameter (Bug#20353).
18466 2015-04-22 Tassilo Horn <tsdh@gnu.org>
18468 Fix reftex-citation bug
18469 * lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries):
18470 Fix `wrong-type-argument stringp nil' error that occurs when AUCTeX
18471 integration is enabled and there are no citations in the document
18474 2015-04-21 Dmitry Gutov <dgutov@yandex.ru>
18476 Add or reset based on the presence of MERGE_HEAD
18477 * lisp/vc/vc-git.el (vc-git-find-file-hook): Add
18478 `vc-git-resolve-when-done' to `after-save-hook' in either case.
18479 (vc-git-conflicted-files): Add a TODO.
18480 (vc-git-resolve-when-done): Depending on the presence of
18481 MERGE_HEAD, either update the resolved file in the index, or
18482 remove it from there. (Bug#20292)
18484 2015-04-21 Glenn Morris <rgm@gnu.org>
18486 * lisp/custom.el (custom-declare-group): No need to purecopy
18487 custom-current-group-alist members following recent change to set
18488 it to nil before dumping.
18490 * build-aux/gitlog-to-emacslog: Get footer from ChangeLog.2.
18493 2015-04-21 Daniel Colascione <dancol@dancol.org>
18495 Unbreak no-op buffer save message
18496 * lisp/files.el (basic-save-buffer): Accept called-interactively as
18497 an argument instead of directly invoking called-interactively-p,
18498 which will always yield nil in that context.
18500 2015-04-21 Alan Mackenzie <acm@muc.de>
18502 CC Mode: Do nothing in before/after-change-functions for text
18505 * lisp/progmodes/cc-mode.el (c-basic-common-init): Make
18506 yank-handled-properties buffer local, and remove 'category from it.
18507 (c-called-from-text-property-change-p): New function.
18508 (c-before-change): Don't do anything if a call of the new function
18510 (c-after-change): Don't do much if a call of the new function returns
18512 (c-extend-after-change-region): Put changes to text property 'fontified
18513 inside c-save-buffer-state.
18515 2015-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18517 Fix byte-compiler warnings about looking-back
18518 * lisp/vc/log-view.el (log-view-end-of-defun-1):
18519 * lisp/textmodes/tex-mode.el (latex-forward-sexp-1):
18520 * lisp/textmodes/reftex-ref.el (reftex-goto-label):
18521 * lisp/textmodes/bibtex.el (bibtex-insert-kill):
18522 * lisp/progmodes/sh-script.el (sh--maybe-here-document):
18523 * lisp/progmodes/ruby-mode.el (ruby-end-of-defun):
18524 * lisp/progmodes/ada-mode.el (ada-in-numeric-literal-p):
18525 * lisp/org/org.el (org-insert-heading, org-sort-entries):
18526 * lisp/org/org-mouse.el (org-mouse-end-headline)
18527 (org-mouse-context-menu):
18528 * lisp/org/org-clock.el (org-clock-cancel):
18529 * lisp/man.el (Man-default-man-entry):
18530 * lisp/mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text)
18531 (rmail-ensure-blank-line):
18532 * lisp/mail/footnote.el (Footnote-delete-footnote):
18533 * lisp/mail/emacsbug.el (report-emacs-bug):
18534 * lisp/info.el (Info-follow-reference, Info-fontify-node):
18535 * lisp/info-look.el (info-lookup-guess-custom-symbol):
18536 * lisp/help-fns.el (help-fns--key-bindings):
18537 * lisp/files.el (hack-local-variables):
18538 * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-cmd-complete)
18539 (viper-get-ex-pat, ex-expand-filsyms, viper-get-ex-file)
18540 (viper-complete-filename-or-exit):
18541 * lisp/emulation/viper-cmd.el (viper-backward-indent):
18542 * lisp/emacs-lisp/lisp-mode.el (calculate-lisp-indent):
18543 * lisp/emacs-lisp/elint.el (elint-get-top-forms):
18544 * lisp/cus-edit.el (custom-face-edit-value-create):
18545 * lisp/calendar/todo-mode.el (todo-set-item-priority)
18546 (todo-filter-items-1, todo-convert-legacy-files)
18547 (todo-prefix-overlays): Add explicit second arg to looking-back.
18549 2015-04-20 Glenn Morris <rgm@gnu.org>
18551 Avoid non-nil current-load-list at startup
18552 * src/process.c (init_process_emacs): Move Fprovide statement...
18553 (syms_of_process): ... to here.
18555 * lisp/loadup.el (custom-current-group-alist): Reset before dumping.
18557 * lisp/startup.el (command-line) <site-run-file>: Avoid rogue value
18560 2015-04-20 Ludovic Courtès <ludo@gnu.org>
18562 * lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary.
18565 2015-04-20 Glenn Morris <rgm@gnu.org>
18567 * lisp/cus-start.el (exec-path): Set standard value, to avoid rogue.
18569 Tweak exec-path in uninstalled case
18570 * src/callproc.c (init_callproc): If running uninstalled, do not
18571 include eventual installation libexec directory in exec-path.
18573 2015-04-20 Artur Malabarba <bruce.connor.am@gmail.com>
18575 * lisp/emacs-lisp/package.el: Filter by multiple keywords and
18577 (package-menu-filter): Accept a list of keywords.
18578 (package--all-keywords): New variable to cache known keywords.
18579 (package-all-keywords): Populate it if necessary.
18580 (package-refresh-contents): Reset it.
18582 * lisp/emacs-lisp/package.el: Make archive and status pseudo-keywords
18583 (package--has-keyword-p): Understand "arc:xxxx" and "status:xxxx"
18584 as special keywords which match agains package archive and status
18586 * etc/NEWS: Document it.
18588 2015-04-20 Eli Zaretskii <eliz@gnu.org>
18590 Describe and index "empty overlays".
18591 * doc/lispref/display.texi (Overlays): Improve indexing.
18592 (Managing Overlays): Describe "empty" overlays.
18593 (Overlay Properties, Finding Overlays): Add cross-reference to
18594 where empty overlays are described.
18596 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
18600 Quote 'like this' in top-level files
18601 * CONTRIBUTE, INSTALL, Makefile.in, README, configure.ac, make-dist:
18602 Prefer to single-quote 'like this' (instead of the older style
18604 * configure.ac: Fix some space-before-tab problems that 'git commit'
18607 Use bool for boolean in textprop.c, undo.c
18608 * src/textprop.c (soft, hard): Now constants instead of macros.
18609 (validate_plist): Rewrite to avoid need for boolean local.
18610 (interval_has_all_properties, interval_has_some_properties)
18611 (interval_has_some_properties_list, add_properties)
18612 (remove_properties, get_char_property_and_overlay)
18613 (Fnext_single_char_property_change)
18614 (Fprevious_single_char_property_change, add_text_properties_1)
18615 (Fremove_text_properties, Fremove_list_of_text_properties)
18616 (copy_text_properties):
18617 * src/tparam.c (tparam1):
18618 * src/undo.c (record_change, record_property_change)
18620 Use 'true' and 'false' for booleans.
18622 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
18624 * lisp/vc/vc-git.el (vc-git-find-file-hook):
18625 Call `smerge-start-session' even when dealing with a stash
18626 conflict (bug#20292).
18628 2015-04-19 Vibhav Pant <vibhavp@gmail.com>
18630 Add option to eshell/clear to clear scrollback.
18631 * lisp/eshell/esh-mode.el (eshell/clear-scrollback): New function.
18632 (eshell/clear): Add an optional SCROLLBACK argument. If non-nil,
18633 scrollback contents are cleared.
18634 * etc/NEWS: Describe change.
18635 * doc/misc/eshell.texi: Add entry for `clear'.
18637 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
18639 * src/widget.c (set_frame_size): Prefer 'int' to 'unsigned'
18640 where either will do.
18642 2015-04-19 Steve Purcell <steve@sanityinc.com>
18644 Assume package archive-contents are UTF8-encoded
18645 * lisp/emacs-lisp/package.el (package--read-archive-file):
18646 Set `coding-system-for-read' explicitly to 'utf-8 when reading the
18647 downloaded and cached archive-contents files, so that non-ASCII
18648 characters in package descriptions are displayed correctly in the
18649 `list-packages' menu. (Bug#20231)
18651 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
18653 Abort when looking at stashed changes
18654 * lisp/vc/vc-git.el (vc-git-find-file-hook): Abort when looking at
18655 stashed changes (bug#20292).
18657 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
18659 Refactor low-level printing for simplicity
18660 * src/print.c (PRINTDECLARE): Remove. Move its contents into
18661 PRINTPREPARE; doable now that we assume C99. All callers changed.
18662 (PRINTCHAR): Remove, as it adds more mystery than clarity.
18663 All callers changed.
18664 (strout): Assume that caller computes length. All callers changed.
18665 (print_c_string): New function.
18666 (write_string, write_string_1): Compute length instead of asking
18667 the caller to compute it. All callers changed.
18668 (write_string): Simplify by using write_string_1.
18669 (write_string_1): Simplify by using print_c_string.
18670 (Fterpri): Compute default val more clearly.
18671 (Fprin1_to_string, print_object):
18672 Assume C99 to avoid unnecessary nesting.
18673 (print_object): Prefer print_c_string to multiple printchar, or
18674 to calling strout with -1 length. Coalesce into sprintf when
18677 2015-04-18 Paul Eggert <eggert@cs.ucla.edu>
18679 Prefer "Bug#1234" in commit messages (Bug#20325)
18680 * .dir-locals.el (log-edit-mode): Don't rewrite Bug#,
18681 as this isn't useful for Git.
18682 * CONTRIBUTE: Suggest "Bug#1234" instead of "Fixes: debbugs:1234".
18684 2015-04-18 Glenn Morris <rgm@gnu.org>
18686 * lisp/files.el (auto-mode-alist): Use conf mode for gitconfig, hgrc.
18689 2015-04-18 Tom Willemse <tom@ryuslash.org> (tiny change)
18691 * lisp/elec-pair.el (electric-pair-post-self-insert-function):
18692 Do not use `chomp' as a function. (Bug#19505)
18694 2015-04-18 Glenn Morris <rgm@gnu.org>
18696 * lisp/net/browse-url.el (browse-url, browse-url-at-point): Doc fixes.
18698 * doc/emacs/misc.texi (Sorting): Small edit.
18701 * admin/admin.el (make-manuals): Add emacs-xtra in pdf and ps.
18703 2015-04-18 Simen Heggestøyl <simenheg@gmail.com>
18705 css-mode.el: Support multi-line comment filling
18707 * lisp/textmodes/css-mode.el (css-fill-paragraph): Support multi-line
18709 (css-adaptive-fill): New function.
18710 (css-mode): Set `adaptive-fill-function'.
18711 (scss-mode): Set `comment-continue'.
18713 2015-04-18 Nicolas Petton <nicolas@petton.fr>
18715 * lisp/emacs-lisp/seq.el (seq-concatenate, seq-into):
18716 Better error messages.
18718 2015-04-18 Ivan Radanov Ivanov <ivanradanov@yahoo.co.uk> (tiny change)
18720 Minor improvements in Bulgarian input methods
18721 * lisp/leim/quail/cyrillic.el (bulgarian-phonetic, bulgarian-bds):
18722 Replace U+042C with U+045D, as the former character is not used in
18723 the modern Bulgarian language.
18726 2015-04-17 Thomas Fitzsimmons <fitzsim@fitzsim.org>
18728 Improve EUDC manual
18729 * doc/misc/eudc.texi (LDAP Configuration): Mention simple and SASL
18730 authentication schemes. Add index items. Shorten example server
18733 2015-04-17 Dmitry Gutov <dgutov@yandex.ru>
18735 Don't show both feature and function with the same name
18736 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
18737 Don't show both feature and function with the same name.
18739 (elisp--xref-identifier-location): Skip variable, if it's also
18741 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
18742 Avoid returning both the variable and the function for the same
18745 2015-04-17 Wolfgang Jenkner <wjenkner@inode.at>
18747 Fix fontification of keywords clobbered by the prompt
18748 * lisp/comint.el (comint-output-filter): Remove the uses of
18749 with-silent-modifications I introduced as part of the last change.
18750 This fixes, e.g., erratically missing highlighting when running
18751 ./configure --help; ./configure in a shell-mode buffer with
18752 compilation-shell-minor-mode turned on.
18754 2015-04-17 Glenn Morris <rgm@gnu.org>
18756 * admin/authors.el (authors-valid-file-names)
18757 (authors-renamed-files-alist): Additions.
18759 2015-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
18761 * lisp/indent.el (indent-region): Don't deactivate the mark.
18764 2015-04-17 Sam Steingold <sds@gnu.org>
18766 * lisp/net/rcirc.el (defun-rcirc-command): Mark `target' as ignorable.
18768 2015-04-16 Leo Liu <sdl.web@gmail.com>
18770 * lisp/progmodes/xref.el (xref-push-marker-stack): Add optional arg.
18772 2015-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
18774 * lisp/erc/erc-pcomplete.el (erc-pcomplete):
18775 Don't use `pcomplete' any more.
18777 2015-04-16 Glenn Morris <rgm@gnu.org>
18779 * admin/authors.el (authors-lax-changelogs): Update for erc changes.
18781 2015-04-16 Eli Zaretskii <eliz@gnu.org>
18783 Don't link with -ljpeg on MS-Windows, to avoid dependency on DLL
18784 * configure.ac (LIBJPEG): Leave it empty for MinGW.
18786 2015-04-16 Glenn Morris <rgm@gnu.org>
18788 * lisp/replace.el (query-replace-from-to-separator):
18789 Delay initialization to avoid rogue setting after startup.
18791 2015-04-16 Paul Eggert <eggert@cs.ucla.edu>
18793 Pre-4.6 GCC succeeds with unknown option
18794 * configure.ac (emacs_cv_prog_cc_nopie): Port to pre-4.6 GCC.
18797 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
18799 '[:graph:]' now excludes whitespace, not just ' '
18800 * doc/lispref/searching.texi (Char Classes):
18801 * lisp/emacs-lisp/rx.el (rx): Document [:graph:] to be [:print:]
18802 sans whitespace (not sans space).
18803 * src/character.c (graphicp): Exclude all Unicode whitespace chars,
18805 * src/regex.c (ISGRAPH): Exclude U+00A0 (NO-BREAK SPACE).
18807 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18809 * lisp/subr.el (substitute-key-definition-key, special-form-p)
18810 (macrop): Drop deprecated second arg to indirect-function.
18811 (looking-back): Make the second arg non-optional.
18813 * lisp/org/org-clock.el (org-x11idle-exists-p): Be honest about which
18814 command is actually sent to the shell.
18816 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
18818 Port jpeg configuration to Solaris 10 with Sun C
18819 * configure.ac: Check for jpeglib 6b by trying to link it, instead
18820 of relying on cpp magic that has problems in practice. Check for
18821 both jpeglib.h and jerror.h features. Remove special case for
18822 mingw32, which should no longer be needed (and if it were needed,
18823 should now be addressable by hotwiring emacs_cv_jpeglib).
18826 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18828 Move some Elisp-specific code from lisp-mode.el to elisp-mode.el
18829 * lisp/emacs-lisp/lisp-mode.el (lisp--el-font-lock-flush-elisp-buffers):
18830 Move to elisp-mode.el.
18831 (lisp-mode-variables): (Re)move elisp-specific settings.
18832 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add settings removed
18833 from lisp-mode-variables.
18834 (elisp--font-lock-flush-elisp-buffers): New function, moved from
18837 * lisp/emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p):
18838 Avoid pathological slowdown at top-level in large file.
18840 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
18842 Standardize names of ChangeLog history files
18843 Suggested by Glenn Morris in:
18844 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
18845 * Makefile.in (install-man): Don't treat ChangeLog.1 as a man page.
18846 * doc/man/ChangeLog.1: Rename back from doc/man/ChangeLog.01.
18847 * lisp/erc/ChangeLog.1: New file, containing the old contents of ...
18848 * lisp/erc/ChangeLog.01, lisp/erc/ChangeLog.02, lisp/erc/ChangeLog.03:
18849 * lisp/erc/ChangeLog.04, lisp/erc/ChangeLog.05, lisp/erc/ChangeLog.06:
18850 * lisp/erc/ChangeLog.07, lisp/erc/ChangeLog.08, lisp/erc/ChangeLog.09:
18853 Split top-level entries into pre- and post-April 7
18854 This more clearly distingiushes pre-April-7 ChangeLog entries (which
18855 are for top-level files only) from post-April-7 entries (which are
18856 about files at all levels. Problem reported by Glenn Morris in:
18857 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
18858 * ChangeLog.1: Move post-April-7 entries from here ...
18859 * ChangeLog.2: ... to this new file.
18860 * Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump to 2.
18862 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18864 Fix recent cus-start changes that added customize-rogues
18865 * lisp/cus-start.el (custom-delayed-init-variables): Initialize the
18867 * lisp/loadup.el ("cus-start"): Move to the end to reduce
18870 2015-04-15 Nicolas Petton <nicolas@petton.fr>
18872 Define cl-concatenate as an alias to seq-concatenate
18873 * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Removes duplicated
18874 code by making cl-concatenate an alias to seq-concatenate.
18876 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18878 * src/lread.c (intern_1): Make sure we'd find the symbol we add
18880 * src/xfaces.c (resolve_face_name): Don't use `intern' with
18883 2015-04-15 Glenn Morris <rgm@gnu.org>
18885 * doc/lispref/sequences.texi (Sequence Functions): Fix typo in previous.
18887 2015-04-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18889 Clean up gnus-uu saving code slightly
18890 * lisp/gnus/gnus-uu.el (gnus-uu-save-article): Make the
18891 save-restriction/widen calls make more sense.
18893 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
18895 Make [:graph:] act like [:print:] sans space
18896 In POSIX [[:print:]] is equivalent to [ [:graph:]], so change
18897 [:graph:] so that it matches everything that [:print:] does,
18899 * doc/lispref/searching.texi (Char Classes):
18901 * lisp/emacs-lisp/rx.el (rx):
18902 Document [:graph:] to be [:print:] sans ' '.
18903 * src/character.c, src/character.h (graphicp): New function.
18904 * src/regex.c (ISGRAPH) [emacs]: Use it.
18905 (BIT_GRAPH): New macro.
18906 (BIT_PRINT): Increase to 0x200, to make room for BIT_GRAPH.
18907 (re_wctype_to_bit) [! WIDE_CHAR_SUPPORT]:
18908 Return BIT_GRAPH for RECC_GRAPH.
18909 (re_match_2_internal) [emacs]: Use ISGRAPH if BIT_GRAPH,
18910 and ISPRINT if BIT_PRINT.
18912 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18914 automated/eieio-test-methodinvoke.el (make-instance) <(subclass C)>:
18915 Don't use call-next-method in a cl-defmethod.
18917 * lisp/emacs-lisp/eieio-core.el (eieio--class): Derive from cl--class
18918 (eieio--class-p): Remove, provided by cl-defstruct.
18920 2015-04-14 Nicolas Petton <nicolas@petton.fr>
18922 Add seq-intersection and seq-difference to the seq library
18923 * lisp/emacs-lisp/seq.el (seq-intersection, seq-difference):
18925 * test/automated/seq-tests.el: Add tests for seq-intersection and
18927 * doc/lispref/sequences.texi: Add documentation for seq-intersection
18928 and seq-difference.
18930 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18932 * lisp/emacs-lisp/eieio-core.el (class-abstract-p): Don't inline,
18933 to avoid leaking internals.
18935 2015-04-14 Sam Steingold <sds@gnu.org>
18937 package--ensure-init-file: widen requires save-restriction
18939 2015-04-14 Eli Zaretskii <eliz@gnu.org>
18941 Improve the commit-msg Git hook for unibyte environments
18942 * build-aux/git-hooks/commit-msg: Set LC_ALL=C, before running Awk
18943 in unibyte environments. (Suggested by Paul Eggert
18944 <eggert@cs.ucla.edu>.) Use a more accurate approximation to
18945 [:print:], based on UTF-8 sequences of the unprintable characters.
18947 Describe problems with cursor caused by Windows Magnifier
18948 * etc/PROBLEMS: Describe the problem with cursor shape on
18949 MS-Windows due to Windows Magnifier.
18952 Make [:print:] support non-ASCII characters correctly
18953 * src/regex.c (ISPRINT): Call 'printablep' for multibyte characters.
18954 (BIT_PRINT): New bit mask.
18955 (re_wctype_to_bit): Return BIT_PRINT for RECC_PRINT.
18956 * src/character.c (printablep): New function.
18957 * src/character.h (printablep): Add prototype.
18958 * lisp/emacs-lisp/rx.el (rx): Doc fix: document the new behavior
18959 of 'print', 'alnum', and 'alphabetic'.
18960 * doc/lispref/searching.texi (Char Classes): Document the new
18961 behavior of [:print:].
18962 * etc/NEWS: Mention the new behavior of [:print:].
18964 Assign correct general-category and names to surrogates
18965 * admin/unidata/unidata-gen.el (unidata-setup-list): Don't ignore
18966 surrogates. This avoids assigning them the default
18967 general-category of 'Cn', i.e. unassigned codepoints.
18968 (unidata-get-name): Give surrogates synthetic names.
18970 2015-04-14 Paul Eggert <eggert@cs.ucla.edu>
18972 Assume C89 offsetof in xterm.c, xlwmenu.c
18973 * lwlib/xlwmenu.c (offset):
18974 * src/xterm.c (cvt_string_to_pixel_args):
18975 Use offsetof, not XtOffset.
18977 2015-04-14 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
18979 Assume C89 offsetof in widget.c
18980 * src/widget.c (XtOffset): Remove; no longer needed.
18981 (offset): Implement via offsetof instead of via pre-C89 XtOffset hack.
18983 Fix think-o in previous patch
18984 * src/window.c (count_windows, get_leaf_windows):
18985 Don't optimize count_windows incorrectly.
18987 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
18989 Avoid some int overflows in window.c
18990 * src/print.c (print_object):
18991 * src/window.c (sequence_number):
18992 * src/window.h (struct window.sequence_number):
18993 Don't assume window sequence number fits in int.
18994 * src/window.c (window_select_count):
18995 * src/window.h (struct window.use_time, window_select_count):
18996 Don't assume window use time fits in int.
18997 * src/window.c (Fsplit_window_internal):
18998 Don't assume user-supplied integer, or sum, fits in int.
18999 (Fset_window_configuration, count_windows, get_leaf_windows)
19000 (save_window_save, Fcurrent_window_configuration):
19001 Use ptrdiff_t for object counts.
19002 (Fset_window_configuration): Omit unused local 'n'.
19003 (count_windows): Simplify by writing in terms of get_leaf_windows.
19004 (get_leaf_windows): Don't store through FLAT if it's null.
19005 (extract_dimension): New static function.
19006 (set_window_margins, set_window_fringes, set_window_scroll_bars):
19007 Use it to avoid undefined behavior when converting user-supplied
19010 2015-04-13 Glenn Morris <rgm@gnu.org>
19012 Minor doc copyedits
19013 * doc/emacs/custom.texi (Init Examples): Tweak example, replace typo.
19014 * doc/lispintro/emacs-lisp-intro.texi (condition-case): Typo fix.
19016 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
19018 [Gnus] Catch the invalid-operation that idna.el will issue
19019 * lisp/gnus/gnus-art.el (gnus-use-idna):
19020 * lisp/gnus/gnus-sum.el (gnus-summary-idna-message):
19021 * lisp/gnus/message.el (message-use-idna):
19022 Catch the invalid-operation that idna.el will issue.
19024 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
19026 * doc/lispref/processes.texi (Shell Arguments): Prefer diff -u.
19028 2015-04-13 Sam Steingold <sds@gnu.org>
19030 package--ensure-init-file: widen before looking for
19031 "(package-initialize)"
19033 2015-04-13 Dmitry Gutov <dgutov@yandex.ru>
19035 Change diff-switches default to `-u' (Bug#20290)
19036 * doc/emacs/files.texi (Comparing Files): Document the new default
19037 value of `diff-switches'.
19038 * doc/emacs/trouble.texi (Sending Patches): Document the preference
19039 for unified diff format. Escape the plus in the suggested `-F' regexp
19041 * lisp/vc/diff.el (diff-switches): Change the default to `-u'.
19043 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
19045 (gnus-group--setup-tool-bar-update): Fix last change
19046 * lisp/gnus/gnus-group.el (gnus-group--setup-tool-bar-update):
19047 cursor-sensor-functions should be a list of functions.
19049 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
19051 * lisp/gnus/gnus-topic.el (gnus-topic-mode):
19052 Use gmm-called-interactively-p.
19054 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
19056 * lisp/loadup.el ("cus-start"): Load it after loaddefs.el
19058 * lisp/cus-start.el (read-buffer-function): Don't advertise
19059 iswitchb-read-buffer any more.
19060 (iswitchb): Don't tweak this obsolete group any more.
19062 2015-04-13 Artur Malabarba <bruce.connor.am@gmail.com>
19064 * lisp/emacs-lisp/package.el: Fix package--ensure-init-file.
19066 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Implement docstrings.
19067 Adding a string after a constructor's argument list will use
19068 that string as the constructor function docstring. If this string
19069 is absent but the struct itself was given a docstring, use that as
19070 the constructor's docstring.
19073 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
19075 Deprecate `intangible' and `point-entered' properties
19076 * lisp/emacs-lisp/cursor-sensor.el: New file.
19077 * lisp/simple.el (pre-redisplay-functions): New hook.
19078 (redisplay--pre-redisplay-functions): New function.
19079 (pre-redisplay-function): Use it.
19080 (minibuffer-avoid-prompt): Mark obsolete.
19081 (redisplay--update-region-highlight): Adapt it to work as a function on
19082 pre-redisplay-functions.
19083 * lisp/cus-start.el (minibuffer-prompt-properties--setter): New fun.
19084 (minibuffer-prompt-properties): Use it. Use cursor-intangible rather
19085 than point-entered to make the prompt intangible.
19086 * lisp/forms.el: Move `provide' calls to the end.
19087 (forms-mode): Don't use `run-hooks' on a local var.
19088 (forms--make-format, forms--make-format-elt-using-text-properties):
19089 Use cursor-intangible rather than `intangible'.
19090 (forms-mode): Enable cursor-intangible-mode.
19091 * lisp/isearch.el (isearch-mode): Use defvar-local.
19092 (cursor-sensor-inhibit): Declare.
19093 (isearch-mode): Set cursor-sensor-inhibit.
19094 (isearch-done): Set it back.
19095 (isearch-open-overlay-temporary, isearch-open-necessary-overlays)
19096 (isearch-close-unnecessary-overlays): Don't bother with `intangible'
19098 * lisp/ses.el (ses-localvars): Remove `mode-line-process'.
19099 (ses-sym-rowcol, ses-cell-value, ses-col-width, ses-col-printer):
19101 (ses-goto-print, ses-print-cell, ses-adjust-print-width)
19102 (ses-goto-data, ses-setup, ses-copy-region): Don't let-bind
19103 inhibit-point-motion-hooks any more.
19104 (ses--cell-at-pos, ses--curcell): New functions, extracted from
19106 (ses-set-curcell): Use them.
19107 (ses-print-cell, ses-setup): Use cursor-intangible instead of
19108 `intangible'. Make sure cursor-intangible isn't sticky at BOB.
19109 (ses-print-cell-new-width, ses-reprint-all, ses-recalculate-all):
19110 Use ses--cell-at-pos.
19111 (ses--mode-line-process, ses--cursor-sensor-highlight): New functions,
19112 extracted from ses-command-hook. Make them work with multiple windows
19113 displaying the same buffer.
19114 (ses-mode): Use them via mode-line-process and pre-redisplay-functions.
19115 Enable cursor-intangible-mode.
19116 (ses-command-hook): Remove cell highlight and mode-line update code.
19117 (ses-forward-or-insert, ses-copy-region-helper, ses-sort-column):
19118 Update for new name of text-property holding the cell name.
19119 (ses-rename-cell): Don't mess with mode-line-process.
19120 * lisp/erc/erc-stamp.el (erc-add-timestamp): Use the new
19121 cursor-sensor-functions property instead of point-entered.
19122 (erc-insert-timestamp-right, erc-format-timestamp):
19123 Use cursor-intangible rather than `intangible'.
19124 (erc-munge-invisibility-spec): Use add-to-invisibility-spec and
19125 remove-from-invisibility-spec. Enable cursor-intangible-mode and
19126 cursor-sensor-mode if needed.
19127 (erc-echo-timestamp): Adapt to calling convention of
19128 cursor-sensor-functions.
19129 (erc-insert-timestamp-right): Remove unused vars `current-window' and
19131 * lisp/gnus/gnus-group.el (gnus-tmp-*): Declare.
19132 (gnus-update-group-mark-positions): Remove unused `topic' var.
19133 (gnus-group-insert-group-line): Remove unused var `header'.
19134 (gnus-group--setup-tool-bar-update): New function.
19135 (gnus-group-insert-group-line): Use it.
19136 (gnus-group-update-eval-form): Declare local
19137 dynamically-bound variables.
19138 (gnus-group-unsubscribe-group): Use \` and \' to match string bounds.
19139 * lisp/gnus/gnus-topic.el (gnus-topic-jump-to-topic)
19140 (gnus-group-prepare-topics, gnus-topic-update-topic)
19141 (gnus-topic-change-level, gnus-topic-catchup-articles)
19142 (gnus-topic-remove-group, gnus-topic-delete, gnus-topic-indent):
19143 Use inhibit-read-only.
19144 (gnus-topic-prepare-topic): Use gnus-group--setup-tool-bar-update.
19145 (gnus-topic-mode): Use define-minor-mode and derived-mode-p.
19146 * lisp/textmodes/reftex-index.el (reftex-display-index):
19147 Use cursor-intangible-mode if available.
19148 (reftex-index-post-command-hook): Check cursor-intangible.
19149 * lisp/textmodes/reftex-toc.el (reftex-toc):
19150 Use cursor-intangible-mode if available.
19151 (reftex-toc-recenter, reftex-toc-post-command-hook):
19152 Check cursor-intangible.
19153 * lisp/textmodes/sgml-mode.el: Use lexical-binding.
19154 (sgml-tag): Use cursor-sensor-functions instead of point-entered.
19155 (sgml-tags-invisible): Use with-silent-modifications and
19156 inhibit-read-only. Enable cursor-sensor-mode.
19157 (sgml-cursor-sensor): Rename from sgml-point-entered and adjust to
19158 calling convention of cursor-sensor-functions.
19159 * lisp/textmodes/table.el (table-cell-map-hook, table-load-hook)
19160 (table-point-entered-cell-hook, table-point-left-cell-hook):
19162 (table-cell-entered-state): Remove var.
19163 (table--put-cell-point-entered/left-property)
19164 (table--remove-cell-properties):
19165 Use cursor-sensor-functions rather than point-entered/left.
19166 (table--point-entered/left-cell-function): Merge
19167 table--point-entered-cell-function and table--point-left-cell-function
19168 and adjust to calling convention of cursor-sensor-functions.
19170 Update ldef-boots.el
19172 * lisp/emacs-lisp/pcase.el (pcase-dolist): Autoload as well.
19174 * doc/misc/eieio.texi: Don't advertise now obsolete constructs
19176 Collapse successive char deletions in the undo log
19177 * src/cmds.c (remove_excessive_undo_boundaries): New function,
19178 extracted from Fself_insert_command.
19179 (Fdelete_char, Fself_insert_command): Use it.
19180 * src/fileio.c (Fmake_symbolic_link): Rename arg to `target'.
19181 * src/keyboard.c (syms_of_keyboard): `top-level' shouldn't be special.
19183 xterm and OSC 52: Add NEWS entry, and tweak the code
19184 * lisp/term/xterm.el (gui-set-selection) <nil>: Move method definition
19186 (terminal-init-xterm-activate-set-selection): Set a terminal property.
19187 (xterm--set-selection): Use it instead of checking the value of
19188 `terminal-initted'. Don't use string-bytes.
19190 2015-04-13 Philipp Stephani <p.stephani2@gmail.com>
19192 xterm.el: Implement OSC-52 functionality for setting the X selection
19193 * lisp/term/xterm.el (xterm-max-cut-length): New var.
19194 (xterm--set-selection, terminal-init-xterm-activate-set-selection):
19196 (terminal-init-xterm, xterm--version-handler): Use them.
19198 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
19200 Remove left over code from when we used an obsolete/loaddefs.el file
19201 * lisp/subr.el (do-after-load-evaluation): Remove left over code from
19202 when we used an obsolete/loaddefs.el file.
19204 * lisp/cedet/semantic/fw.el (semantic-exit-on-input)
19205 (semanticdb-without-unloaded-file-searches): Use declare.
19206 (semantic-fw-add-edebug-spec): Remove.
19208 * lisp/completion.el (completion-lisp-mode-hook):
19209 Use completion-separator-chars rather than local key binding.
19211 * src/*.c: Set deactivate_mark buffer-locally
19213 * src/insdel.c (prepare_to_modify_buffer_1):
19214 * src/fileio.c (Finsert_file_contents): Set deactivate_mark
19217 2015-04-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
19219 python.el: Keep symmetry on sexp navigation with parens
19221 * lisp/progmodes/python.el
19222 (python-nav--forward-sexp): Add argument skip-parens-p.
19223 (python-nav-forward-sexp, python-nav-backward-sexp)
19224 (python-nav-forward-sexp-safe)
19225 (python-nav-backward-sexp-safe): Use it.
19226 * test/automated/python-tests.el
19227 (python-nav-forward-sexp-1): Fix test.
19229 2015-04-12 João Távora <joaotavora@gmail.com>
19231 Don't use `setq-local' in Gnus code
19232 This might break upstream builds with older Emacsen
19233 * lisp/gnus/message.el (message-mode): Use `set' and
19234 `make-local-variable' instead of `setq-local'.
19236 2015-04-12 Paul Eggert <eggert@cs.ucla.edu>
19238 Update Makefile.in's .PHONY dependencies
19239 * Makefile.in (change-history-commit, master-branch-is-current)
19240 (no-ChangeLog): Now phony.
19242 Remove configure's --with-mmdf option
19243 * configure.ac (MAIL_USE_MMDF): Remove.
19244 * etc/NEWS: Document this.
19245 * lib-src/movemail.c: Assume MAIL_USE_MMDF is not defined.
19248 * doc/man/ChangeLog.01: Rename from doc/man/ChangeLog.1.
19249 That way, 'make install' won't think it's a man page.
19250 Reported by Ashish SHUKLA in:
19251 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00656.html
19253 Improve 'make change-history' prereq tests
19254 * Makefile.in (gen_origin): Fix to match what's in the master branch.
19255 (no-ChangeLog, master-branch-is-current): New rules.
19256 (change-history): Depend on them, to avoid similar future problems.
19257 Escape the local-variables string to pacify Emacs when editing
19260 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
19262 * test/automated/package-test.el (with-package-test):
19263 Kill Packages buffer.
19265 * lisp/emacs-lisp/package.el: Improve transaction y-or-n prompt.
19266 (package-menu--prompt-transaction-p): Prompt for "Delete" first,
19267 "Upgrade" last, and use capitalized instead of all-caps.
19269 * lisp/emacs-lisp/package.el: Completely silence async operations.
19270 (package--make-autoloads-and-stuff): Silence autoloads.
19271 (package--save-selected-packages): New function, silences
19272 `customize-save-variable'.
19273 (package--user-selected-p, package-install-from-buffer)
19274 (package-delete, package-install): Use it.
19275 (package-install-from-archive)
19276 (package-menu--perform-transaction): Silence.
19277 (package-menu-execute): Feedback when operation starts.
19279 Use delay-mode-hooks when visiting the init-file
19280 * lisp/emacs-lisp/package.el (package--ensure-init-file):
19282 * lisp/cus-edit.el (custom-save-all): delay-mode-hooks.
19284 * lisp/files.el: Only message when saving if save-silently is nil.
19285 (save-silently): New variable.
19286 (files--message): New function.
19287 (find-file-noselect, save-buffer, basic-save-buffer)
19288 (basic-save-buffer-2, save-some-buffers, not-modified)
19289 (append-to-file): Use them.
19291 2015-04-12 Johan Bockgård <bojohan@gnu.org>
19293 Support debug declarations in pcase macros
19294 * lisp/emacs-lisp/pcase.el (pcase-MACRO): New edebug spec.
19295 (pcase-UPAT): Use it. Remove "`".
19296 (pcase--edebug-match-macro): New function.
19297 (pcase-defmacro): Support debug declarations.
19298 * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
19299 * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>:
19300 * lisp/emacs-lisp/pcase.el (\`): <pcase-defmacro>:
19301 Add debug declaration.
19303 pcase.el: Edebug support for `app' and vector patterns
19304 * lisp/emacs-lisp/pcase.el (pcase-FUN): New edebug spec.
19305 (pcase-UPAT): Use it. Support `app' patterns.
19306 (pcase-QPAT): Support vector patterns.
19308 edebug.el: Disambiguate vector specifications
19309 * lisp/emacs-lisp/edebug.el (edebug-match-list): Always treat
19310 `(vector ...)' as a vector specification, not as a sublist.
19312 (gnus-summary-refer-thread): Don't clobber unread articles
19313 This fixes a bug where `A T' causes "random" articles to become marked
19315 * lisp/gnus/gnus-sum.el (gnus-summary-refer-thread): Make sure
19316 gnus-newsgroup-unreads remains sorted.
19318 mouse-sel.el: Fix mouse-sel-get-selection-function
19319 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
19320 Use gui--last-selected-text-primary instead of no longer existing
19321 gui-last-selected-text.
19323 * lisp/rect.el (delete-whitespace-rectangle-line): Don't cross EOL.
19325 * lisp/net/nsm.el (nsm-query-user): Use cursor-in-echo-area.
19327 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
19329 * lisp/emacs-lisp/package.el (list-packages): Avoid redundant generate.
19331 * lisp/emacs-lisp/package.el (list-packages): Call refresh in
19334 * lisp/emacs-lisp/bytecomp.el: Silence noninteractive compilations.
19335 (byte-compile--interactive): New var.
19336 (byte-compile--message): New function.
19337 (byte-compile-log-1, byte-force-recompile)
19338 (byte-recompile-directory, byte-recompile-file)
19339 (byte-compile-file, compile-defun)
19340 (byte-compile-file-form-defmumble, byte-compile)
19341 (byte-compile-file-form-defalias, display-call-tree): Use it.
19343 * lisp/files.el: Don't message when nothing happened.
19344 (save-some-buffers, basic-save-buffer): Before messaging to say
19345 "nothing was saved" check if (called-interactively-p 'any).
19347 2015-04-12 João Távora <joaotavora@gmail.com>
19349 Summary: Improve sexp-based movement in message-mode
19350 Works by giving citations and smileys a different syntax. This helps
19351 modes like `show-paren-mode', `electric-pair-mode', and C-M-*
19352 sexp-based movement.
19353 * lisp/gnus/message.el (message--syntax-propertize): New function.
19354 (message-mode): Set syntax-related vars.
19355 (message-smileys): New variable.
19356 * test/automated/message-mode-tests.el: New file
19358 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
19360 Use bool for boolean in window.c
19361 * src/window.c: Omit unnecessary static function decls.
19362 (adjust_window_count, select_window, Fselect_window)
19363 (window_body_width, Fwindow_body_height, Fwindow_body_width)
19364 (set_window_hscroll, check_window_containing, Fwindow_at)
19365 (Fwindow_end, Fset_window_start, Fpos_visible_in_window_p)
19366 (unshow_buffer, replace_window, recombine_windows)
19367 (add_window_to_list, candidate_window_p, next_window)
19368 (Fnext_window, Fprevious_window, window_loop, check_all_windows)
19369 (Fget_buffer_window, Fdelete_other_windows_internal)
19370 (replace_buffer_in_windows_safely, set_window_buffer)
19371 (Fset_window_buffer, Fforce_window_update)
19372 (temp_output_buffer_show, make_parent_window)
19373 (window_resize_check, window_resize_apply, Fwindow_resize_apply)
19374 (resize_frame_windows, Fsplit_window_internal)
19375 (Fdelete_window_internal, grow_mini_window, shrink_mini_window)
19376 (Fresize_mini_window_internal, mark_window_cursors_off)
19377 (window_scroll, window_scroll_pixel_based)
19378 (window_scroll_line_based, scroll_command, Fscroll_other_window)
19379 (Fscroll_left, Fscroll_right, displayed_window_lines, Frecenter)
19380 (Fmove_to_window_line, Fset_window_configuration)
19381 (delete_all_child_windows, apply_window_adjustment)
19382 (set_window_fringes, set_window_scroll_bars)
19383 (Fset_window_vscroll, foreach_window, foreach_window_1)
19384 (compare_window_configurations, Fcompare_window_configurations):
19385 Prefer 'bool', 'true', and 'false' for booleans.
19386 * src/window.h (WINDOW_MODE_LINE_LINES)
19387 (WINDOW_HEADER_LINE_LINES): Omit unnecessary "!!" on bool value.
19389 2015-04-11 Artur Malabarba <bruce.connor.am@gmail.com>
19391 Speed up byte-compilation and autoload generation by avoiding mode-hooks
19392 This prevents emacs-lisp-mode-hook from being run everytime an
19393 autoload file is generated, which can account for a fraction of
19394 package installation time depending on the hooks the user has
19396 * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use delay-mode-hooks.
19397 * lisp/emacs-lisp/autoload.el (autoload-find-file)
19398 (autoload-find-generated-file): Use delay-mode-hooks.
19400 * lisp/emacs-lisp/package.el: Improve `package-menu-refresh'.
19401 (package-menu-refresh): Respect async and do new package checking.
19402 (list-packages): Use `package-menu-refresh' instead of repeating code.
19404 * lisp/emacs-lisp/package.el: Improve package-menu-quick-help.
19405 (package--quick-help-keys): New variable.
19406 (package--prettify-quick-help-key): New function.
19407 (package-menu-quick-help): Use it.
19409 * lisp/emacs-lisp/package.el: Fix initially wrong compat table.
19410 (package--build-compatibility-table): Require finder.
19412 * test/automated/package-test.el: Fix new test.
19414 * lisp/emacs-lisp/package.el: Silence async operations.
19415 (package--silence): New variable.
19416 (package--message): New function.
19417 (package-import-keyring, package-refresh-contents)
19418 (package-compute-transaction, package-install, package-delete)
19419 (package-menu--perform-transaction, package-menu-execute): Use it.
19421 * test/automated/package-test.el: Test async functionality.
19422 (package-test-update-archives-async): New test.
19424 2015-04-11 Daiki Ueno <ueno@gnu.org>
19426 Utilize `make-process' in epg.el
19427 * lisp/epg.el (epg-error-output): Abolish.
19428 (epg-context): New slot `error-buffer'.
19429 (epg--start): Use `make-process' and `make-pipe-process'.
19430 (epg--process-filter): Remove code separating stderr from stdout.
19431 (epg-wait-for-completion): Simplify `error-output' handling.
19432 (epg-reset): Dispose error buffer.
19434 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
19436 * .gitignore: Ignore doc temps and outputs.
19438 Port commit-msg to MSYS Bash+Gawk
19439 See Eli Zaretskii in:
19440 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00610.html
19441 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format)
19442 (cent_sign, print_at_sign, at_sign): Revert previous change.
19443 (print_at_sign): Prepend "BEGIN".
19444 (at_sign): Redirect from /dev/null to be safer with pre-POSIX awk.
19446 Port commit-msg to broken MS-Windows shell
19447 * build-aux/git-hooks/commit-msg (cent_sign):
19448 Just use UTF-8 here rather than ASCII + printf, as the latter fails
19449 on a broken MS-Windows shell. Reported by Eli Zaretskii in:
19450 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00592.html
19452 2015-04-11 Chris Zheng <chriszheng99@gmail.com> (tiny change)
19454 Support GnuTLS v3.4 and later on MS-Windows
19455 * src/gnutls.c (syms_of_gnutls) <libgnutls-version>: New DEFSYM.
19456 * lisp/term/w32-win.el (dynamic-library-alist): Determine which
19457 GnuTLS DLL to load according to value of libgnutls-version.
19460 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
19462 Minor quoting etc. fixes to misc manuals
19463 Fix some minor quoting and spacing issues. Distinguish more
19464 clearly among grave accent and apostrophe (which are ASCII) and
19465 single quote (which is not). Prefer the standard terms
19466 "apostrophe" and "grave accent" to alternative names that can be
19467 confusing. Use apostrophes to single-quote ASCII text.
19468 * doc/misc/remember.texi: Spell the mystic's pseudonym in UTF-8
19469 rather than approximating it in ASCII with grave accent.
19471 2015-04-11 Daiki Ueno <ueno@gnu.org>
19473 Respect more keyword args in `make-process'
19474 * src/process.c (Fmake_process): Respect `:sentinel' and `:filter'
19475 keywords as documented.
19477 2015-04-10 Dmitry Gutov <dgutov@yandex.ru>
19479 Extract ChangeLog entries when committing a directory
19480 * lisp/vc/vc-dispatcher.el (vc-log-edit): Update FIXME comment.
19481 * lisp/vc/log-edit.el (log-edit-changelog-insert-entries):
19482 Add a FIXME comment.
19483 (log-edit-changelog-entries): Extract from
19484 `log-edit-changelog-entries', handle FILE being a directory
19485 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00555.html).
19487 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
19489 Fix problems found by --enable-gcc-warnings
19490 * src/process.c (create_process, Fmake_pipe_process)
19491 (Fmake_network_process): Omit unused locals.
19493 Fix commit-msg to handle scissors lines
19494 * build-aux/git-hooks/commit-msg:
19495 Ignore every line after a scissors line, such as a line generated
19496 by 'git commit -v'. Problem reported by Johan Bockgård in:
19497 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00580.html
19499 port commit-msg to Gawk 3.0.4 (1999)
19500 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format, cent_sign)
19501 (print_at_sign, at_sign): New vars. Use them to avoid problems
19502 Eli Zaretskii encountered with Gawk 3.0.4 (1999) on MSYS. See:
19503 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
19505 Have commit-msg report commit failure
19506 * build-aux/git-hooks/commit-msg: If the commit is aborted,
19507 say so. Simplify by doing this at the end. Problem reported
19508 by Eli Zaretskii in:
19509 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
19511 2015-04-10 Thomas Fitzsimmons <fitzsim@fitzsim.org>
19513 Clean up LDAP Configuration section of EUDC manual
19514 * doc/misc/eudc.texi: Combine indices.
19515 (LDAP Configuration): Use command markup. Add index entries.
19516 Change formatting. Wrap long lines. Add noindent markup.
19518 2015-04-10 Daiki Ueno <ueno@gnu.org>
19520 Add facility to collect stderr of async subprocess
19521 * src/w32.h (register_aux_fd): New function declaration.
19522 * src/w32.c (register_aux_fd): New function.
19523 * src/process.h (struct Lisp_Process): New member stderrproc.
19524 * src/process.c (PIPECONN_P): New macro.
19525 (PIPECONN1_P): New macro.
19526 (Fdelete_process, Fprocess_status, Fset_process_buffer)
19527 (Fset_process_filter, Fset_process_sentinel, Fstop_process)
19528 (Fcontinue_process): Handle pipe process specially.
19529 (create_process): Respect p->stderrproc.
19530 (Fmake_pipe_process): New function.
19531 (Fmake_process): Add new keyword argument :stderr.
19532 (wait_reading_process_output): Specially handle a pipe process when
19534 (syms_of_process): Register Qpipe and Smake_pipe_process.
19535 * doc/lispref/processes.texi (Asynchronous Processes): Document
19536 `make-pipe-process' and `:stderr' keyword of `make-process'.
19537 * lisp/subr.el (start-process): Suggest to use `make-process' handle
19538 standard error separately.
19539 * test/automated/process-tests.el (process-test-stderr-buffer)
19540 (process-test-stderr-filter): New tests.
19541 * etc/NEWS: Mention new process type `pipe' and its usage with the
19542 `:stderr' keyword of `make-process'.
19544 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
19546 Minor quoting etc. fixes to lispref manual
19547 * doc/lispref/tips.texi (Documentation Tips):
19548 Distinguish more clearly among grave accent, apostrophe,
19550 * doc/lispref/README, doc/lispref/buffers.texi:
19551 * doc/lispref/commands.texi, doc/lispref/control.texi:
19552 * doc/lispref/customize.texi, doc/lispref/display.texi:
19553 * doc/lispref/elisp.texi, doc/lispref/files.texi:
19554 * doc/lispref/frames.texi, doc/lispref/hash.texi:
19555 * doc/lispref/help.texi, doc/lispref/internals.texi:
19556 * doc/lispref/loading.texi, doc/lispref/makefile.w32-in:
19557 * doc/lispref/markers.texi, doc/lispref/modes.texi:
19558 * doc/lispref/nonascii.texi, doc/lispref/objects.texi:
19559 * doc/lispref/os.texi, doc/lispref/positions.texi:
19560 * doc/lispref/strings.texi, doc/lispref/syntax.texi:
19561 * doc/lispref/text.texi, doc/lispref/tips.texi:
19562 * doc/lispref/two-volume-cross-refs.txt, doc/lispref/windows.texi:
19563 Use American-style double quoting in ordinary text,
19564 and quote 'like this' when single-quoting in ASCII text.
19565 Also, fix some minor spacing issues.
19567 2015-04-10 Michael Albinus <michael.albinus@gmx.de>
19569 Handle symlinked test directory in tramp-tests.el
19570 * test/automated/tramp-tests.el (tramp-test18-file-attributes)
19571 (tramp--test-check-files): Use `file-truename' for directories.
19573 2015-04-10 Eli Zaretskii <eliz@gnu.org>
19575 Fix 'recenter' when visual-line-mode is turned on
19576 * src/window.c (Frecenter): Use the same code for GUI and TTY
19577 frames alike; use vmotion only for "initial" frames. This is
19578 because vmotion doesn't support visual-line-mode. Rewrite the
19579 'iarg >= 0' case to use move_it_* functions instead of using
19580 vmotion, for the same reason. Fix the clipping of the argument
19581 value to support scroll-margin in all cases and avoid unwarranted
19582 recentering. Reported by Milan Stanojević <milanst@gmail.com> in
19583 http://lists.gnu.org/archive/html/help-gnu-emacs/2015-04/msg00092.html,
19586 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
19588 * lisp/abbrev.el (define-abbrev-table): Refine last change.
19590 * lisp/emacs-lisp/cl-lib.el: Partial revert of "2015-04-05 Rationalize
19591 use of c[ad]+r", so as to keep the "cl-" prefix on all
19592 cl-lib definitions.
19594 * lisp/progmodes/vhdl-mode.el (vhdl-prepare-search-2):
19595 Use inhibit-point-motion-hooks.
19597 * lisp/cedet/semantic: Remove some dead code.
19598 * lisp/cedet/semantic/util-modes.el
19599 (semantic-stickyfunc-header-line-format): Emacs<22 is not supported
19601 * lisp/cedet/semantic/fw.el (semantic-buffer-local-value): Emacs<21 is
19602 not supported any more.
19603 (semantic-safe): Use `declare'.
19604 * lisp/cedet/semantic/decorate.el (semantic-set-tag-intangible)
19605 (semantic-tag-intangible-p): Remove unused functions.
19606 * lisp/cedet/semantic/complete.el (semantic-displayor-window-edges):
19607 Remove unused function.
19609 * lisp/gnus/gnus-art.el (gnus-hidden-properties): Simplify.
19610 (gnus-article-hide-text, gnus-article-unhide-text)
19611 (gnus-article-unhide-text-type): Remove special handling of
19612 `intangible' since that property is not used any more.
19613 (gnus-article-treat-body-boundary): Use gnus-hidden-properties.
19615 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
19617 Use the VC root in `log-edit-listfun'
19618 * lisp/vc/vc-dispatcher.el (vc-log-edit): Use the VC root in
19619 `log-edit-listfun'.
19621 2015-04-09 Jay Belanger <jay.p.belanger@gmail.com>
19623 Fix description of Unix time, mention new function.
19624 * lisp/calc/calc-forms.el (calcFunc-unixtime): Fix adjustment for
19626 * doc/misc/calc.texi (Date Forms): Fix description of Unix time.
19627 (Basic Operations on Units): Mention `calc-convert-exact-units'.
19629 2015-04-09 Artur Malabarba <bruce.connor.am@gmail.com>
19631 * lisp/emacs-lisp/package.el: Use mode-line-process for notification.
19633 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
19635 * lisp/vc/log-edit.el (log-edit-insert-changelog-entries):
19636 Don't add newline after the last entry.
19638 2015-04-09 Simen Heggestøyl <simenheg@gmail.com>
19640 css-mode.el: Add "not" pseudo-class
19642 * lisp/textmodes/css-mode.el (css-pseudo-class-ids): Add "not" to
19643 list of CSS pseudo-classes.
19645 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
19647 * etc/NEWS: Add missing entry for "Stop messing with the EMACS env var".
19649 2015-04-09 Michael Albinus <michael.albinus@gmx.de>
19651 Stop messing with the EMACS env var
19652 * doc/emacs/misc.texi (Interactive Shell): Remove description of
19655 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
19657 Adapt 'make change-history' to coding cookie
19658 * Makefile.in (change-history): Adjust to change of format of
19659 ChangeLog file, which now has a coding cookie before an indented
19662 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
19664 Adapt 'make change-history' to coding cookie
19665 * Makefile.in (change-history): Adjust to change of format of
19666 ChangeLog file, which now has a coding cookie before an indented
19669 gitlog-to-changelog coding cookie and mv -i
19670 * build-aux/gitlog-to-emacslog: Use ChangeLog.1, not Makefile.in,
19671 for copyright notice prototype, so that we get a proper "coding:"
19672 cookie. Use 'mv -i' to avoid unconditionally overwriting an
19673 existing ChangeLog. Problems reported by Eli Zaretskii in:
19674 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00504.html
19677 * build-aux/gitlog-to-changelog: Update from gnulib, incorporating:
19678 2015-04-09 gitlog-to-changelog: port to MS-Windows
19680 2015-04-09 Boruch Baum <boruch_baum@gmx.com> (tiny change)
19682 * lisp/bookmark.el (bookmark-bmenu-goto-bookmark): Don't inf-loop.
19685 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
19687 Stop messing with the EMACS env var
19689 * lisp/net/tramp-sh.el (tramp-remote-process-environment):
19690 * lisp/comint.el (comint-exec-1):
19691 * lisp/term.el (term-exec-1): Don't set EMACS envvar.
19692 * lisp/progmodes/compile.el (compilation-start): Same and bring
19693 INSIDE_EMACS's format in line with other users.
19695 css-mode.el (css-smie-rules): Fix indentation after complex selectors
19697 * lisp/textmodes/css-mode.el (css-smie-rules): Don't get confused by
19698 inner structure of selectors.
19700 2015-04-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
19702 python.el: Indent docstring lines to base-indent
19704 Thanks to immerrr <immerrr@gmail.com> for reporting and providing
19706 * lisp/progmodes/python.el
19707 (python-indent-context): Add :inside-docstring context.
19708 (python-indent--calculate-indentation): Handle :inside-docstring.
19709 (python-indent-region): Re-indent docstrings.
19710 * test/automated/python-tests.el (python-indent-region-5)
19711 (python-indent-inside-string-2): Fix tests.
19713 python.el: Increase native completion robustness
19715 Thanks to Carlos Pita <carlosjosepita@gmail.com> for reporting
19716 this and providing useful ideas.
19717 * lisp/progmodes/python.el
19718 (python-shell-completion-native-output-timeout): Increase value.
19719 (python-shell-completion-native-try-output-timeout): New var.
19720 (python-shell-completion-native-try): Use it.
19721 (python-shell-completion-native-setup): New readline setup avoids
19722 polluting current context, ensures output when no-completions are
19723 available and includes output end marker.
19724 (python-shell-completion-native-get-completions): Trigger with one
19725 tab only. Call accept-process-output until output end is found or
19726 python-shell-completion-native-output-timeout is exceeded.
19728 2015-04-08 Samer Masterson <samer@samertm.com>
19730 * lisp/eshell: Make backslash a no-op in front of normal chars
19732 * lisp/eshell/esh-arg.el (eshell-parse-argument-hook): Update comment.
19733 (eshell-parse-backslash): Return escaped character after backslash
19734 if it is special. Otherwise, if the backslash is not in a quoted
19735 string, ignore the backslash and return the character after; if
19736 the backslash is in a quoted string, return the backslash and the
19738 * test/automated/eshell.el (eshell-test/escape-nonspecial)
19739 (eshell-test/escape-nonspecial-unicode)
19740 (eshell-test/escape-nonspecial-quoted)
19741 (eshell-test/escape-special-quoted): Add tests for new
19742 `eshell-parse-backslash' behavior.
19744 2015-04-08 Gustav Hållberg <gustav@gmail.com> (tiny change)
19746 * lisp/vc/diff-mode.el (diff-hunk-file-names): Don't require a TAB
19747 after the file name.
19750 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
19752 Minor quoting etc. fixes to Emacs manual
19753 * doc/emacs/Makefile.in, doc/emacs/ack.texi, doc/emacs/building.texi:
19754 * doc/emacs/calendar.texi, doc/emacs/cmdargs.texi:
19755 * doc/emacs/custom.texi, doc/emacs/dired.texi, doc/emacs/emacs.texi:
19756 * doc/emacs/files.texi, doc/emacs/glossary.texi, doc/emacs/gnu.texi:
19757 * doc/emacs/indent.texi, doc/emacs/macos.texi:
19758 * doc/emacs/maintaining.texi, doc/emacs/makefile.w32-in:
19759 * doc/emacs/programs.texi, doc/emacs/rmail.texi:
19760 * doc/emacs/search.texi, doc/emacs/trouble.texi:
19761 * doc/emacs/vc1-xtra.texi:
19762 Use American-style double quoting in ordinary text,
19763 and quote 'like this' when single-quoting in ASCII text.
19764 Also, fix some minor spacing issues.
19766 Minor quoting etc. fixes to elisp intro
19767 * doc/lispintro/emacs-lisp-intro.texi: Consistently use
19768 American-style double quoting in ordinary text. In ASCII text,
19769 consistently quote 'like this' instead of `like this', unless
19770 Emacs requires the latter.
19772 2015-04-08 Dmitry Gutov <dgutov@yandex.ru>
19774 * CONTRIBUTE: Mention log-edit-insert-changelog.
19776 * CONTRIBUTE: Emphasize creating the top-level ChangeLog file manually.
19778 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
19780 * doc/misc/calc.texi (Summary): Avoid '@:' when usurped.
19782 2015-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
19784 * lisp/emacs-lisp/eieio-core.el (eieio-copy-parents-into-subclass):
19785 Fix inheritance of initargs. (Bug#20270)
19787 2015-04-08 Artur Malabarba <bruce.connor.am@gmail.com>
19789 * lisp/emacs-lisp/package.el (package-menu-mode): Mode-line notification
19790 while dowloading information.
19792 * lisp/emacs-lisp/package.el: More conservative `ensure-init-file'
19793 (package--ensure-init-file): Check file contents before visiting.
19794 (package-initialize): Call it.
19795 (package-install-from-buffer, package-install): Don't call it.
19797 2015-04-08 Eli Zaretskii <eliz@gnu.org>
19799 * src/eval.c (init_eval_once): Bump max_lisp_eval_depth to 800.
19802 2015-04-08 Michael Albinus <michael.albinus@gmx.de>
19804 * lisp/net/tramp-cache.el (tramp-flush-file-property):
19805 Fix nasty scoping bug.
19807 2015-04-08 Tassilo Horn <tsdh@gnu.org>
19809 Add notice to visual commands section
19810 * doc/misc/eshell.texi (Input/Output): Add notice that some tools
19811 such as git call less with its -F option which omits pagination if
19812 the contents is less than one page long. This interferes with
19813 eshell's visual (sub-)commands.
19815 2015-04-07 Dmitry Gutov <dgutov@yandex.ru>
19817 * lisp/ffap.el (ffap-string-at-point-mode-alist): Support
19818 environment variable expansion in file names. (Bug#19839)
19820 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
19822 Prefer double-quote to accent-grave in man pages
19824 2015-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
19827 * lisp/files.el (set-visited-file-name): Clear auto-save if nil.
19829 2015-04-07 Ivan Shmakov <ivan@siamics.net>
19831 Update etc/PROBLEMS.
19832 * etc/PROBLEMS: Mention visible-cursor; a few more mentions of
19833 ~/.Xresources and xrdb(1); refer to 'GNU Coreutils' and
19834 'X Window System' or 'X' (were: 'GNU Fileutils' and 'X Windows',
19835 respectively); other minor updates and tweaks. (Bug#20011)
19837 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
19839 Add doc strings for some Isearch state vars
19840 * lisp/misearch.el (multi-isearch-buffer-list)
19841 (multi-isearch-file-list): Add doc strings.
19844 2015-04-07 Alan Mackenzie <acm@muc.de>
19846 Always mark "<" and ">" in #include directives with text properties.
19847 * lisp/progmodes/c-fonts.el (c-cpp-matchers): Replace a font-lock
19848 "anchored matcher" with an invocation of
19849 c-make-font-lock-search-function to allow fontification when there's
19850 no trailing space on an "#include <..>" line.
19852 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
19854 Generate a ChangeLog file from commit logs
19855 * .gitignore: Add 'ChangeLog'.
19856 * build-aux/gitlog-to-changelog: New file, from Gnulib.
19857 * build-aux/gitlog-to-emacslog: New file.
19858 * CONTRIBUTE: Document the revised workflow.
19859 * Makefile.in (clean): Remove *.tmp and etc/*.tmp*
19860 instead of just special cases.
19861 (CHANGELOG_HISTORY_INDEX_MAX, CHANGELOG_N, gen_origin): New vars.
19862 (ChangeLog, unchanged-history-files, change-history)
19863 (change-history-commit): New rules.
19864 * admin/admin.el (make-manuals-dist--1):
19865 Don't worry about doc/ChangeLog.
19866 * admin/authors.el: Add a FIXME.
19867 * admin/make-tarball.txt:
19868 * lisp/calendar/icalendar.el:
19869 * lisp/gnus/deuglify.el:
19870 * lisp/obsolete/gulp.el:
19872 Adjust to renamed ChangeLog history files.
19873 * admin/merge-gnulib (GNULIB_MODULES): Add gitlog-to-changelog.
19874 * admin/notes/repo: Call it 'master' a la Git, not 'trunk' a la Bzr.
19875 Remove obsolete discussion of merging ChangeLog files.
19876 New section "Maintaining ChangeLog history".
19877 * build-aux/git-hooks/pre-commit:
19878 Reject attempts to commit files named 'ChangeLog'.
19879 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
19880 * make-dist: Make and distribute top-level ChangeLog if there's a
19881 .git directory. Distribute the new ChangeLog history files
19882 instead of scattered ChangeLog files. Distribute the new files
19883 gitlog-to-changelog and gitlog-to-emacslog.
19886 Rename ChangeLogs for gitlog-to-changelog
19887 This patch was implemented via the following shell commands:
19888 find * -name ChangeLog |
19889 sed 's,.*,git mv & &.1,
19890 s, lisp/ChangeLog\.1$, lisp/ChangeLog.17,
19891 s, lisp/erc/ChangeLog\.1$, lisp/erc/ChangeLog.09,
19892 s, lisp/gnus/ChangeLog\.1$, lisp/gnus/ChangeLog.3,
19893 s, lisp/mh-e/ChangeLog\.1$, lisp/mh-e/ChangeLog.2,
19894 s, src/ChangeLog\.1$, src/ChangeLog.13,' |
19896 git commit -am"[this commit message]"
19898 This file records repository revisions from
19899 commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to
19900 commit 9a2363ec04c24a6959902da9b8eff2f1559ab3e0 (inclusive).
19901 See ChangeLog.1 for earlier changes.
19903 ;; Local Variables:
19907 Copyright (C) 2015 Free Software Foundation, Inc.
19909 This file is part of GNU Emacs.
19911 GNU Emacs is free software: you can redistribute it and/or modify
19912 it under the terms of the GNU General Public License as published by
19913 the Free Software Foundation, either version 3 of the License, or
19914 (at your option) any later version.
19916 GNU Emacs is distributed in the hope that it will be useful,
19917 but WITHOUT ANY WARRANTY; without even the implied warranty of
19918 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19919 GNU General Public License for more details.
19921 You should have received a copy of the GNU General Public License
19922 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.