commit 07178f43e16dc343c67bf9525fbccf049b1aedba (HEAD, refs/remotes/origin/master) Author: Martin Rudalics Date: Sat Nov 7 09:19:03 2015 +0100 * doc/lispref/windows.texi (Coordinates and Windows): Fix typo. diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi index 1da2d1c..357247e 100644 --- a/doc/lispref/windows.texi +++ b/doc/lispref/windows.texi @@ -3899,7 +3899,7 @@ visible in some window: @group (let ((edges (window-absolute-body-pixel-edges)) (position (pos-visible-in-window-p nil nil t))) - (x-set-mouse-absolute-pixel-position + (set-mouse-absolute-pixel-position (+ (nth 0 edges) (nth 0 position)) (+ (nth 1 edges) (nth 1 position)))) @end group commit e5a98644f8afd29bc105270bacb09fe9044957c4 Author: Martin Rudalics Date: Sat Nov 7 08:51:28 2015 +0100 In x_consider_frame_title don't set title of tooltip frames * src/xdisp.c (x_consider_frame_title): Return immediately for tooltip frames to avoid displaying empty tooltips. diff --git a/src/xdisp.c b/src/xdisp.c index f6d63ea..dbc2d84 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -11551,9 +11551,10 @@ x_consider_frame_title (Lisp_Object frame) { struct frame *f = XFRAME (frame); - if (FRAME_WINDOW_P (f) - || FRAME_MINIBUF_ONLY_P (f) - || f->explicit_name) + if ((FRAME_WINDOW_P (f) + || FRAME_MINIBUF_ONLY_P (f) + || f->explicit_name) + && NILP (Fframe_parameter (frame, Qtooltip))) { /* Do we have more than one visible frame on this X display? */ Lisp_Object tail, other_frame, fmt; commit 60959975b1b44ad9c4a4019a0a203c8a3bf08fd3 Author: Anders Lindgren Date: Fri Nov 6 22:39:02 2015 +0100 Fixed NextStep fullscreen problem (bug#21770). * nsterm.m (ns_constrain_all_frames): Don't constrain fullscreen frames. diff --git a/src/nsterm.m b/src/nsterm.m index 4f97276..b4ec553 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -839,6 +839,9 @@ static NSRect constrain_frame_rect(NSRect frameRect) static void ns_constrain_all_frames (void) +/* -------------------------------------------------------------------------- + Ensure that the menu bar doesn't cover any frames. + -------------------------------------------------------------------------- */ { Lisp_Object tail, frame; @@ -851,10 +854,14 @@ ns_constrain_all_frames (void) struct frame *f = XFRAME (frame); if (FRAME_NS_P (f)) { - NSView *view = FRAME_NS_VIEW (f); + EmacsView *view = FRAME_NS_VIEW (f); - [[view window] setFrame:constrain_frame_rect([[view window] frame]) - display:NO]; + if (![view isFullscreen]) + { + [[view window] + setFrame:constrain_frame_rect([[view window] frame]) + display:NO]; + } } } @@ -862,10 +869,11 @@ ns_constrain_all_frames (void) } -/* Show or hide the menu bar, based on user setting. */ - static void ns_update_auto_hide_menu_bar (void) +/* -------------------------------------------------------------------------- + Show or hide the menu bar, based on user setting. + -------------------------------------------------------------------------- */ { #ifdef NS_IMPL_COCOA NSTRACE ("ns_update_auto_hide_menu_bar"); commit 19e09cfab61436cb4590303871a31ee07624f5ab Author: Eli Zaretskii Date: Fri Nov 6 21:21:52 2015 +0200 Ensure redisplay after evaluation * lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp): Revert last change. * lisp/frame.el (redisplay--variables): Populate the redisplay--variables list. * src/xdisp.c (maybe_set_redisplay): New function. (syms_of_xdisp) : New variable. * src/window.h (maybe_set_redisplay): Declare prototype. * src/data.c (set_internal): Call maybe_set_redisplay. (Bug#21835) diff --git a/lisp/frame.el b/lisp/frame.el index f550851..4b23cb2 100644 --- a/lisp/frame.el +++ b/lisp/frame.el @@ -2231,6 +2231,13 @@ See also `toggle-frame-maximized'." (make-obsolete-variable 'window-system-version "it does not give useful information." "24.3") +;; These variables should trigger redisplay of the current buffer. +(setq redisplay--variables + '(line-spacing + overline-margin + line-prefix + wrap-prefix)) + (provide 'frame) ;;; frame.el ends here diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index daf5e41..8ea17b7 100644 --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el @@ -1116,17 +1116,9 @@ include additional formats for integers \(octal, hexadecimal, and character)." (let ((standard-output (if eval-last-sexp-arg-internal (current-buffer) t))) ;; Setup the lexical environment if lexical-binding is enabled. - (prog1 - (elisp--eval-last-sexp-print-value - (eval (eval-sexp-add-defvars (elisp--preceding-sexp)) lexical-binding) - eval-last-sexp-arg-internal) - ;; If we are going to display the result in the echo area, force - ;; a more thorough redisplay, in case the sexp we evaluated - ;; changes something that should affect the display of the - ;; current window. Otherwise, Emacs might decide that only the - ;; echo area needs to be redisplayed. - (if (eq standard-output t) - (force-mode-line-update 'all))))) + (elisp--eval-last-sexp-print-value + (eval (eval-sexp-add-defvars (elisp--preceding-sexp)) lexical-binding) + eval-last-sexp-arg-internal))) (defun elisp--eval-last-sexp-print-value (value &optional eval-last-sexp-arg-internal) (let ((unabbreviated (let ((print-length nil) (print-level nil)) diff --git a/src/data.c b/src/data.c index 5382b01..4db93f5 100644 --- a/src/data.c +++ b/src/data.c @@ -1240,6 +1240,7 @@ set_internal (Lisp_Object symbol, Lisp_Object newval, Lisp_Object where, return; } + maybe_set_redisplay (symbol); sym = XSYMBOL (symbol); start: diff --git a/src/window.h b/src/window.h index eaff57e..135f5de 100644 --- a/src/window.h +++ b/src/window.h @@ -1056,6 +1056,7 @@ extern void wset_redisplay (struct window *w); extern void fset_redisplay (struct frame *f); extern void bset_redisplay (struct buffer *b); extern void bset_update_mode_line (struct buffer *b); +extern void maybe_set_redisplay (Lisp_Object); /* Call this to tell redisplay to look for other windows than selected-window that need to be redisplayed. Calling one of the *set_redisplay functions above already does it, so it's only needed in unusual cases. */ diff --git a/src/xdisp.c b/src/xdisp.c index bdf2d09..f6d63ea 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -620,6 +620,16 @@ bset_update_mode_line (struct buffer *b) b->text->redisplay = true; } +void +maybe_set_redisplay (Lisp_Object symbol) +{ + if (!NILP (Fassoc_string (symbol, Vredisplay__variables, Qnil))) + { + bset_update_mode_line (current_buffer); + current_buffer->prevent_redisplay_optimizations_p = true; + } +} + #ifdef GLYPH_DEBUG /* True means print traces of redisplay if compiled with @@ -31465,6 +31475,10 @@ display table takes effect; in this case, Emacs does not consult DEFVAR_LISP ("redisplay--mode-lines-cause", Vredisplay__mode_lines_cause, doc: /* */); Vredisplay__mode_lines_cause = Fmake_hash_table (0, NULL); + + DEFVAR_LISP ("redisplay--variables", Vredisplay__variables, + doc: /* A list of variables changes to which trigger a thorough redisplay. */); + Vredisplay__variables = Qnil; } commit 8025fdbbea6eaaa3e1290864fe2dc48e2201df48 Author: Artur Malabarba Date: Fri Nov 6 15:53:23 2015 +0000 * test/automated/subr-tests.el (subr-test-when): Fix again diff --git a/test/automated/subr-tests.el b/test/automated/subr-tests.el index e782f7b..ee8db59 100644 --- a/test/automated/subr-tests.el +++ b/test/automated/subr-tests.el @@ -96,7 +96,7 @@ (setq x (1+ x)) x)) (should (= x 1)) - (should (= 2 (when true + (should (= 2 (when t (setq x (1+ x)) x))) (should (= x 2))) commit 564d811725596f15ecf543777e11504b47d2af86 Author: Eli Zaretskii Date: Fri Nov 6 17:19:39 2015 +0200 Don't invoke overlay modification hooks in wrong buffer * src/buffer.c (report_overlay_modification): When called with AFTER non-zero, don't invoke overlay modification hooks if the buffer recorded in last_overlay_modification_hooks is different from the current buffer. (Bug#21824) diff --git a/src/buffer.c b/src/buffer.c index 91e42dc..c0179c7 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -4481,6 +4481,23 @@ report_overlay_modification (Lisp_Object start, Lisp_Object end, bool after, Lisp_Object *copy; ptrdiff_t i; + if (size) + { + Lisp_Object ovl + = XVECTOR (last_overlay_modification_hooks)->contents[1]; + + /* If the buffer of the first overlay in the array doesn't + match the current buffer, then these modification hooks + should not be run in this buffer. This could happen when + some code calls some insdel functions, such as del_range_1, + with the PREPARE argument false -- in that case this + function is never called to record the overlay modification + hook functions in the last_overlay_modification_hooks + array, so anything we find there is not ours. */ + if (XMARKER (OVERLAY_START (ovl))->buffer != current_buffer) + return; + } + USE_SAFE_ALLOCA; SAFE_ALLOCA_LISP (copy, size); memcpy (copy, XVECTOR (last_overlay_modification_hooks)->contents, commit 3172a6ac39d98383451e8b36cd33d291347fc93b Author: Juanma Barranquero Date: Fri Nov 6 14:06:29 2015 +0100 * admin/notes/repo: Fix a few obsolete references to Bazaar diff --git a/admin/notes/repo b/admin/notes/repo index b27a3f4..3ab3da7 100644 --- a/admin/notes/repo +++ b/admin/notes/repo @@ -41,8 +41,8 @@ preferable not to merge from master until you are done with the feature. Unless you really need some change that was done on the master while you were developing on the branch, you don't really need those merges; just merge once, when you are done with the feature, and -Bazaar will take care of the rest. Bazaar is much better in this than -CVS, so interim merges are unnecessary. +Git will take care of the rest. Git is much better in this than CVS, +so interim merges are unnecessary. Or use shelves; or rebase; or do something else. See the thread for yet another fun excursion into the exciting world of version control. commit 9b912623ad9032267106b134dd04e620c2b6c0a1 Author: Artur Malabarba Date: Fri Nov 6 11:18:23 2015 +0000 * test/automated/subr-tests.el (subr-test-when): Fix test diff --git a/test/automated/subr-tests.el b/test/automated/subr-tests.el index 85d5d11..e782f7b 100644 --- a/test/automated/subr-tests.el +++ b/test/automated/subr-tests.el @@ -91,8 +91,15 @@ (should (equal (when t 'x 2) 2)) (should (equal (when nil 'x 1) nil)) (should (equal (when nil 'x 2) nil)) - (should (equal (macroexpand-all '(when a b)) - '(if a b))) + (let ((x 1)) + (should-not (when nil + (setq x (1+ x)) + x)) + (should (= x 1)) + (should (= 2 (when true + (setq x (1+ x)) + x))) + (should (= x 2))) (should (equal (macroexpand-all '(when a b c d)) '(if a (progn b c d))))) commit 40014fe9fd59b3332b3bec20c6973ef324192b7a Author: Martin Rudalics Date: Fri Nov 6 12:15:18 2015 +0100 Avoid division by zero crash observed by Yuan MEI. See http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00194.html. * src/dispnew.c (required_matrix_height, required_matrix_width): Avoid division by zero. * src/xterm.c (x_term_init): Init dpyinfo->smallest_font_height and dpyinfo->smallest_char_width to 1. diff --git a/src/dispnew.c b/src/dispnew.c index 9164076..1a822f0 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -1694,7 +1694,8 @@ required_matrix_height (struct window *w) if (FRAME_WINDOW_P (f)) { - int ch_height = FRAME_SMALLEST_FONT_HEIGHT (f); + /* http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00194.html */ + int ch_height = max (FRAME_SMALLEST_FONT_HEIGHT (f), 1); int window_pixel_height = window_box_height (w) + eabs (w->vscroll); return (((window_pixel_height + ch_height - 1) @@ -1720,7 +1721,8 @@ required_matrix_width (struct window *w) struct frame *f = XFRAME (w->frame); if (FRAME_WINDOW_P (f)) { - int ch_width = FRAME_SMALLEST_CHAR_WIDTH (f); + /* http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00194.html */ + int ch_width = max (FRAME_SMALLEST_CHAR_WIDTH (f), 1); /* Compute number of glyphs needed in a glyph row. */ return (((WINDOW_PIXEL_WIDTH (w) + ch_width - 1) diff --git a/src/xterm.c b/src/xterm.c index 691ad05..5e9c16b 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -11963,6 +11963,10 @@ x_term_init (Lisp_Object display_name, char *xrm_option, char *resource_name) dpyinfo->display = dpy; dpyinfo->connection = ConnectionNumber (dpyinfo->display); + /* http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00194.html */ + dpyinfo->smallest_font_height = 1; + dpyinfo->smallest_char_width = 1; + /* Set the name of the terminal. */ terminal->name = xlispstrdup (display_name); commit 29c360ee1cb0ba68470d831739d4df33016fada1 Author: Eli Zaretskii Date: Fri Nov 6 11:28:46 2015 +0200 Ensure redisplay after "C-x C-e" * lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp): Make sure redisplay happens to account for any side effects of the evaluated sexp. (Bug#21835) diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index bdc304e..daf5e41 100644 --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el @@ -1116,10 +1116,17 @@ include additional formats for integers \(octal, hexadecimal, and character)." (let ((standard-output (if eval-last-sexp-arg-internal (current-buffer) t))) ;; Setup the lexical environment if lexical-binding is enabled. - (elisp--eval-last-sexp-print-value - (eval (eval-sexp-add-defvars (elisp--preceding-sexp)) lexical-binding) - eval-last-sexp-arg-internal))) - + (prog1 + (elisp--eval-last-sexp-print-value + (eval (eval-sexp-add-defvars (elisp--preceding-sexp)) lexical-binding) + eval-last-sexp-arg-internal) + ;; If we are going to display the result in the echo area, force + ;; a more thorough redisplay, in case the sexp we evaluated + ;; changes something that should affect the display of the + ;; current window. Otherwise, Emacs might decide that only the + ;; echo area needs to be redisplayed. + (if (eq standard-output t) + (force-mode-line-update 'all))))) (defun elisp--eval-last-sexp-print-value (value &optional eval-last-sexp-arg-internal) (let ((unabbreviated (let ((print-length nil) (print-level nil)) commit 2b316c0581181be173459cd791585ad7ecadfe8e Author: Eli Zaretskii Date: Fri Nov 6 10:56:59 2015 +0200 ; * CONTRIBUTE: Add section about the bug tracker * CONTRIBUTE: Move less important sections after the more important ones. Add section about the bug tracker. diff --git a/CONTRIBUTE b/CONTRIBUTE index 4d5d08a..0ca5d0d 100644 --- a/CONTRIBUTE +++ b/CONTRIBUTE @@ -201,48 +201,6 @@ then exclude that commit from the merge to trunk. ** Other process information -*** Non-ASCII characters in Emacs files - -If you introduce non-ASCII characters into Emacs source files, it is a -good idea to add a 'coding' cookie to the file to state its encoding. -Please use the UTF-8 encoding unless it cannot do the job for some -good reason. As of Emacs 24.4, it is no longer necessary to have -explicit 'coding' cookies in *.el files if they are encoded in UTF-8, -but other files need them even if encoded in UTF-8. However, if -an *.el file is intended for use with older Emacs versions (e.g. if -it's also distributed via ELPA), having an explicit encoding -specification is still a good idea. - -*** Useful files in the admin/ directory - -See all the files in admin/notes/* . In particular, see -admin/notes/newfile, see admin/notes/repo. - -The file admin/MAINTAINERS records the areas of interest of frequent -Emacs contributors. If you are making changes in one of the files -mentioned there, it is a good idea to consult the person who expressed -an interest in that file, and/or get his/her feedback for the changes. -If you are a frequent contributor and have interest in maintaining -specific files, please record those interests in that file, so that -others could be aware of that. - -*** git vs rename - -Git does not explicitly represent a file renaming; it uses a percent -changed heuristic to deduce that a file was renamed. So if you are -planning to make extensive changes to a file after renaming it (or -moving it to another directory), you should: - -- create a feature branch - -- commit the rename without any changes - -- make other changes - -- merge the feature branch to trunk, _not_ squashing the commits into - one. The commit message on this merge should summarize the renames - and all the changes. - ** Emacs Mailing lists. Discussion about Emacs development takes place on emacs-devel@gnu.org. @@ -260,6 +218,17 @@ packages the patch's commit message and changes. To send just one such patch without additional remarks, you can use a command like 'git send-email --to=bug-gnu-emacs@gnu.org 0001-DESCRIPTION.patch'. +** Issue tracker (a.k.a. "bug tracker") + +The Emacs issue tracker is at http://debbugs.gnu.org/. The form +presented by that page allows to view bug reports and search the +database for bugs matching several criteria. Messages posted to the +bug-gnu-emacs@gnu.org mailing list, mentioned above, are recorded by +the tracker with the corresponding bugs/issues. + +GNU ELPA has a 'debbugs' package that allows accessing the tracker +database from Emacs. + ** Document your changes. Any change that matters to end-users should have an entry in etc/NEWS. @@ -301,6 +270,48 @@ implementation in more detail. The file etc/DEBUG describes how to debug Emacs bugs. +*** Non-ASCII characters in Emacs files + +If you introduce non-ASCII characters into Emacs source files, it is a +good idea to add a 'coding' cookie to the file to state its encoding. +Please use the UTF-8 encoding unless it cannot do the job for some +good reason. As of Emacs 24.4, it is no longer necessary to have +explicit 'coding' cookies in *.el files if they are encoded in UTF-8, +but other files need them even if encoded in UTF-8. However, if +an *.el file is intended for use with older Emacs versions (e.g. if +it's also distributed via ELPA), having an explicit encoding +specification is still a good idea. + +*** Useful files in the admin/ directory + +See all the files in admin/notes/* . In particular, see +admin/notes/newfile, see admin/notes/repo. + +The file admin/MAINTAINERS records the areas of interest of frequent +Emacs contributors. If you are making changes in one of the files +mentioned there, it is a good idea to consult the person who expressed +an interest in that file, and/or get his/her feedback for the changes. +If you are a frequent contributor and have interest in maintaining +specific files, please record those interests in that file, so that +others could be aware of that. + +*** git vs rename + +Git does not explicitly represent a file renaming; it uses a percent +changed heuristic to deduce that a file was renamed. So if you are +planning to make extensive changes to a file after renaming it (or +moving it to another directory), you should: + +- create a feature branch + +- commit the rename without any changes + +- make other changes + +- merge the feature branch to trunk, _not_ squashing the commits into + one. The commit message on this merge should summarize the renames + and all the changes. + This file is part of GNU Emacs. commit f353f53b648784a6c6a4a23fbb575b9ac53d3ba6 Author: Michael Albinus Date: Fri Nov 6 07:33:50 2015 +0100 Skip some file notification tests for cygwin * test/automated/file-notify-tests.el (file-notify--test-with-events): Remove argument TIMEOUT. Adapt all callees. (file-notify-test02-events, file-notify-test04-file-validity): Skip for cygwin. (Bug#21804) diff --git a/test/automated/file-notify-tests.el b/test/automated/file-notify-tests.el index 964dc4a..67e929a 100644 --- a/test/automated/file-notify-tests.el +++ b/test/automated/file-notify-tests.el @@ -275,10 +275,10 @@ TIMEOUT is the maximum time to wait for, in seconds." (while (null ,until) (read-event nil nil 0.1)))) -(defmacro file-notify--test-with-events (timeout events &rest body) +(defmacro file-notify--test-with-events (events &rest body) "Run BODY collecting events and then compare with EVENTS. -Don't wait longer than TIMEOUT seconds for the events to be delivered." - (declare (indent 2)) +Don't wait longer than timeout seconds for the events to be delivered." + (declare (indent 1)) (let ((outer (make-symbol "outer"))) `(let ((,outer file-notify--test-events)) (setq file-notify--test-expected-events @@ -286,7 +286,8 @@ Don't wait longer than TIMEOUT seconds for the events to be delivered." (let (file-notify--test-events) ,@body (file-notify--wait-for-events - ,timeout (= (length ,events) (length file-notify--test-events))) + (file-notify--test-timeout) + (= (length ,events) (length file-notify--test-events))) (should (equal ,events (mapcar #'cadr file-notify--test-events))) (setq ,outer (append ,outer file-notify--test-events))) (setq file-notify--test-events ,outer)))) @@ -294,6 +295,8 @@ Don't wait longer than TIMEOUT seconds for the events to be delivered." (ert-deftest file-notify-test02-events () "Check file creation/change/removal notifications." (skip-unless (file-notify--test-local-enabled)) + ;; Under cygwin there are so bad timings that it doesn't make sense to test. + (skip-unless (not (eq system-type 'cygwin))) (setq file-notify--test-tmpfile (file-notify--test-make-temp-name) file-notify--test-tmpfile1 (file-notify--test-make-temp-name)) @@ -305,8 +308,7 @@ Don't wait longer than TIMEOUT seconds for the events to be delivered." (file-notify-add-watch file-notify--test-tmpfile '(change) 'file-notify--test-event-handler)) - (file-notify--test-with-events - (file-notify--test-timeout) '(created changed deleted) + (file-notify--test-with-events '(created changed deleted) (write-region "any text" nil file-notify--test-tmpfile nil 'no-message) (delete-file file-notify--test-tmpfile)) @@ -324,7 +326,6 @@ Don't wait longer than TIMEOUT seconds for the events to be delivered." file-notify--test-tmpfile '(change) 'file-notify--test-event-handler)) (file-notify--test-with-events - (file-notify--test-timeout) ;; There are two `deleted' events, for the file and for ;; the directory. '(created changed deleted deleted stopped) @@ -343,7 +344,6 @@ Don't wait longer than TIMEOUT seconds for the events to be delivered." '(change) 'file-notify--test-event-handler)) (should file-notify--test-desc) (file-notify--test-with-events - (file-notify--test-timeout) ;; w32notify does not distinguish between `changed' and ;; `attribute-changed'. (if (eq file-notify--library 'w32notify) @@ -368,8 +368,7 @@ Don't wait longer than TIMEOUT seconds for the events to be delivered." file-notify--test-tmpfile '(change) 'file-notify--test-event-handler)) (should file-notify--test-desc) - (file-notify--test-with-events - (file-notify--test-timeout) '(created changed renamed) + (file-notify--test-with-events '(created changed renamed) (write-region "any text" nil file-notify--test-tmpfile nil 'no-message) (rename-file file-notify--test-tmpfile file-notify--test-tmpfile1) @@ -386,7 +385,6 @@ Don't wait longer than TIMEOUT seconds for the events to be delivered." file-notify--test-tmpfile '(attribute-change) 'file-notify--test-event-handler)) (file-notify--test-with-events - (file-notify--test-timeout) (if (file-remote-p temporary-file-directory) ;; In the remote case, `write-region' raises also an ;; `attribute-changed' event. @@ -511,6 +509,8 @@ Don't wait longer than TIMEOUT seconds for the events to be delivered." (ert-deftest file-notify-test04-file-validity () "Check `file-notify-valid-p' for files." (skip-unless (file-notify--test-local-enabled)) + ;; Under cygwin there are so bad timings that it doesn't make sense to test. + (skip-unless (not (eq system-type 'cygwin))) (unwind-protect (progn @@ -519,8 +519,7 @@ Don't wait longer than TIMEOUT seconds for the events to be delivered." (file-notify-add-watch file-notify--test-tmpfile '(change) #'file-notify--test-event-handler)) - (file-notify--test-with-events - (file-notify--test-timeout) '(created changed deleted) + (file-notify--test-with-events '(created changed deleted) (should (file-notify-valid-p file-notify--test-desc)) (write-region "any text" nil file-notify--test-tmpfile nil 'no-message) @@ -547,8 +546,7 @@ Don't wait longer than TIMEOUT seconds for the events to be delivered." (file-notify-add-watch file-notify--test-tmpfile '(change) #'file-notify--test-event-handler)) - (file-notify--test-with-events - (file-notify--test-timeout) '(created changed deleted stopped) + (file-notify--test-with-events '(created changed deleted stopped) (should (file-notify-valid-p file-notify--test-desc)) (write-region "any text" nil file-notify--test-tmpfile nil 'no-message) @@ -624,6 +622,7 @@ Don't wait longer than TIMEOUT seconds for the events to be delivered." ;; TODO: ;; * For w32notify, no stopped events arrive when a directory is removed. +;; * Try to handle arriving events under cygwin reliably. (provide 'file-notify-tests) ;;; file-notify-tests.el ends here commit 267e0e80e1ad8c33c10ccaff77169a7aa759c163 Author: Stephen Leake Date: Fri Nov 6 05:14:45 2015 +0200 * lisp/progmodes/xref.el: require semantic/symref during compilation. diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index 329bd9d..a222533 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el @@ -56,6 +56,9 @@ (require 'pcase) (require 'project) +(eval-when-compile + (require 'semantic/symref)) ;; for hit-lines slot + (defgroup xref nil "Cross-referencing commands" :group 'tools) commit ddd0eada666c48906341ef57e3385e5faf92989c Author: Daiki Ueno Date: Fri Nov 6 10:28:36 2015 +0900 Suppress redundant Pinentry startup messages * lisp/net/pinentry.el (pinentry-start): Add optional QUIET argument. * lisp/epg.el: Declare `pinentry-start'. (epg--start): Call `pinentry-start' with QUIET argument set. diff --git a/lisp/epg.el b/lisp/epg.el index aa79c7d..71a83c3 100644 --- a/lisp/epg.el +++ b/lisp/epg.el @@ -551,6 +551,8 @@ callback data (if any)." (defun epg-errors-to-string (errors) (mapconcat #'epg-error-to-string errors "; ")) +(declare-function pinentry-start "pinentry" (&optional quiet)) + (defun epg--start (context args) "Start `epg-gpg-program' in a subprocess with given ARGS." (if (and (epg-context-process context) @@ -614,7 +616,7 @@ callback data (if any)." (re-search-forward "^allow-emacs-pinentry:\\(?:.*:\\)\\{8\\}1" nil t)))) - (pinentry-start)) + (pinentry-start 'quiet)) (setq process-environment (cons (format "INSIDE_EMACS=%s,epg" emacs-version) process-environment)) diff --git a/lisp/net/pinentry.el b/lisp/net/pinentry.el index eaa9fa4..0037006 100644 --- a/lisp/net/pinentry.el +++ b/lisp/net/pinentry.el @@ -151,16 +151,20 @@ If local sockets are not supported, this is nil.") (apply query-function (concat desc "\n" prompt) query-args)))) ;;;###autoload -(defun pinentry-start () +(defun pinentry-start (&optional quiet) "Start a Pinentry service. Once the environment is properly set, subsequent invocations of -the gpg command will interact with Emacs for passphrase input." +the gpg command will interact with Emacs for passphrase input. + +If the optional QUIET argument is non-nil, messages at startup +will not be shown." (interactive) (unless (featurep 'make-network-process '(:family local)) (error "local sockets are not supported")) (if (process-live-p pinentry--server-process) - (message "Pinentry service is already running") + (unless quiet + (message "Pinentry service is already running")) (let* ((server-file (expand-file-name "pinentry" pinentry--socket-dir))) (server-ensure-safe-dir pinentry--socket-dir) ;; Delete the socket files made by previous server invocations. commit 8311d3929a4ebd1684f11e3e97c25b4152d40679 Author: Xue Fuqiao Date: Fri Nov 6 07:30:32 2015 +0800 * doc/emacs/ack.texi (Acknowledgments): Updates. diff --git a/doc/emacs/ack.texi b/doc/emacs/ack.texi index eebab8a..1c88e97 100644 --- a/doc/emacs/ack.texi +++ b/doc/emacs/ack.texi @@ -949,6 +949,14 @@ Jens Petersen wrote @file{find-func.el}, which makes it easy to find the source code for an Emacs Lisp function or variable. @item +Nicolas Petton wrote @file{map.el}, a library providing +map-manipulation functions that work on alists, hash-table and arrays; +@file{seq.el}, a library providing advanced sequence manipulation +functions and macros; and @file{thunk.el}, a library providing +functions and macros to delay the evaluation of forms. He also +created the new icon in Emacs 25. + +@item Daniel Pfeiffer wrote @file{conf-mode.el}, a mode for editing configuration files; @file{copyright.el}, a package for updating copyright notices in files; @file{executable.el}, a package for @@ -1341,15 +1349,16 @@ Rodney Whitby and Reto Zimmermann wrote @file{vhdl-mode.el}, a major mode for editing VHDL source code. @item -John Wiegley wrote @file{align.el}, a set of commands for aligning text -according to regular-expression based rules; @file{isearchb.el} for fast -buffer switching; @file{timeclock.el}, a package for keeping track of -time spent on projects; the Bahá'í calendar support; -@file{pcomplete.el}, a programmable completion facility; -@file{remember.el}, a mode for jotting down things to remember; -@file{eudcb-mab.el}, an address book backend for the Emacs Unified -Directory Client; and @code{eshell}, a command shell implemented -entirely in Emacs Lisp. He also contributed to Org mode (q.v.). +John Wiegley was the Emacs maintainer from Emacs 25 onwards. He wrote +@file{align.el}, a set of commands for aligning text according to +regular-expression based rules; @file{isearchb.el} for fast buffer +switching; @file{timeclock.el}, a package for keeping track of time +spent on projects; the Bahá'í calendar support; @file{pcomplete.el}, a +programmable completion facility; @file{remember.el}, a mode for +jotting down things to remember; @file{eudcb-mab.el}, an address book +backend for the Emacs Unified Directory Client; and @code{eshell}, a +command shell implemented entirely in Emacs Lisp. He also contributed +to Org mode (q.v.). @item Mike Williams wrote @file{thingatpt.el}, a library of functions for commit 7afaf0c0def0966722f7048cbb012c36fbfe48ac Author: Juanma Barranquero Date: Thu Nov 5 22:47:52 2015 +0100 * test/automated/elisp-mode-test.el: Silence some run-time warnings (xref-elisp-deftest): Bind `find-file-suppress-same-file-warnings' to t. diff --git a/test/automated/elisp-mode-tests.el b/test/automated/elisp-mode-tests.el index 1085b54..38c0b3b 100644 --- a/test/automated/elisp-mode-tests.el +++ b/test/automated/elisp-mode-tests.el @@ -208,8 +208,9 @@ to (xref-elisp-test-descr-to-target xref)." (declare (indent defun) (debug (symbolp "name"))) `(ert-deftest ,(intern (concat "xref-elisp-test-" (symbol-name name))) () - (xref-elisp-test-run ,computed-xrefs ,expected-xrefs) - )) + (let ((find-file-suppress-same-file-warnings t)) + (xref-elisp-test-run ,computed-xrefs ,expected-xrefs) + ))) ;; When tests are run from the Makefile, 'default-directory' is $HOME, ;; so we must provide this dir to expand-file-name in the expected commit ddb8069d9bf3d7a584d690e73c91b00454fe5ec1 Author: Tassilo Horn Date: Thu Nov 5 21:12:37 2015 +0100 Add prettify symbol for \times * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Add prettification support for \times. diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index 0b13759..c9d347d 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -3291,6 +3291,7 @@ There might be text before point." ("\\rightthreetimes" . ?⋌) ("\\risingdotseq" . ?≓) ("\\rtimes" . ?⋊) + ("\\times" . ?×) ("\\sbs" . ?﹨) ("\\searrow" . ?↘) ("\\setminus" . ?∖) commit 0880d5f6e1ad5006a022416cd21b974c7f5923b9 Author: Juanma Barranquero Date: Thu Nov 5 19:40:42 2015 +0100 * test/automated/process-tests.el: Skip tests when bash is not available (process-test-sentinel-accept-process-output) (process-test-sentinel-sit-for): skip-unless bash executable found. diff --git a/test/automated/process-tests.el b/test/automated/process-tests.el index 4a43a01..ee9e4f3 100644 --- a/test/automated/process-tests.el +++ b/test/automated/process-tests.el @@ -43,10 +43,12 @@ sentinel-called)) (ert-deftest process-test-sentinel-accept-process-output () + (skip-unless (executable-find "bash")) (should (process-test-sentinel-wait-function-working-p #'accept-process-output))) (ert-deftest process-test-sentinel-sit-for () + (skip-unless (executable-find "bash")) (should (process-test-sentinel-wait-function-working-p (lambda () (sit-for 0.01 t))))) commit 3be53aaed126e72be11a6743de6ddd51aaf96b63 Author: Eli Zaretskii Date: Thu Nov 5 20:12:19 2015 +0200 Add test for bug #21831 * test/automated/process-tests.el (start-process-should-not-modify-arguments): New test. (Bug#21831) Suggested by Nicolas Richard diff --git a/test/automated/process-tests.el b/test/automated/process-tests.el index 58a2de7..4a43a01 100644 --- a/test/automated/process-tests.el +++ b/test/automated/process-tests.el @@ -142,4 +142,22 @@ (should (equal "hello stderr!\n" (mapconcat #'identity (nreverse stderr-output) ""))))) +(ert-deftest start-process-should-not-modify-arguments () + "`start-process' must not modify its arguments in-place." + ;; See bug#21831. + (let* ((path (pcase system-type + ((or 'windows-nt 'ms-dos) + ;; Make sure the file name uses forward slashes. + ;; The original bug was that 'start-process' would + ;; convert forward slashes to backslashes. + (expand-file-name (executable-find "attrib.exe"))) + (_ "/bin//sh"))) + (samepath (copy-sequence path))) + ;; Make sure 'start-process' actually goes all the way and invokes + ;; the program. + (should (process-live-p (condition-case nil + (start-process "" nil path) + (error nil)))) + (should (equal path samepath)))) + (provide 'process-tests) commit 6540f6c58685c99a14ff73ac2e945733edc92608 Author: Glenn Morris Date: Thu Nov 5 06:17:56 2015 -0500 ; Auto-commit of loaddefs files. diff --git a/lisp/emacs-lisp/eieio-core.el b/lisp/emacs-lisp/eieio-core.el index 7011a30..dcaaab6 100644 --- a/lisp/emacs-lisp/eieio-core.el +++ b/lisp/emacs-lisp/eieio-core.el @@ -1101,7 +1101,7 @@ method invocation orders of the involved classes." (list eieio--generic-subclass-generalizer)) -;;;### (autoloads nil "eieio-compat" "eieio-compat.el" "bd51800d7de6429a2c9a6a600ba2dc52") +;;;### (autoloads nil "eieio-compat" "eieio-compat.el" "11dd361fd4c1c625de90a39977936236") ;;; Generated autoloads from eieio-compat.el (autoload 'eieio--defalias "eieio-compat" "\ commit c9def83b492391785270bc92baa621f244b99cff Author: Juanma Barranquero Date: Thu Nov 5 12:01:25 2015 +0100 ; * test/automated/elisp-mode-tests.el: Fix typo. diff --git a/test/automated/elisp-mode-tests.el b/test/automated/elisp-mode-tests.el index bd83f1a..1085b54 100644 --- a/test/automated/elisp-mode-tests.el +++ b/test/automated/elisp-mode-tests.el @@ -1,4 +1,4 @@ -d;;; elisp-mode-tests.el --- Tests for emacs-lisp-mode -*- lexical-binding: t; -*- +;;; elisp-mode-tests.el --- Tests for emacs-lisp-mode -*- lexical-binding: t; -*- ;; Copyright (C) 2015 Free Software Foundation, Inc. commit 54e2ed97bf904eda2ee5ae9b7822288e10b3abc5 Author: Stefan Monnier Date: Wed Nov 4 09:42:20 2015 -0500 * lisp/emacs-lisp/eieio-compat.el: Typo caught by tests (eieio--generic-static-object-generalizer): Fix typo. * test/automated/eieio-tests.el: Byte-compile it again. It looks like the underlying cause of bug#17852 was fixed in the mean time. diff --git a/lisp/emacs-lisp/eieio-compat.el b/lisp/emacs-lisp/eieio-compat.el index 638c475..06e65b9 100644 --- a/lisp/emacs-lisp/eieio-compat.el +++ b/lisp/emacs-lisp/eieio-compat.el @@ -143,7 +143,7 @@ Summary: ;; Give it a slightly higher priority than `class' so that the ;; interleaved list comes before the class's non-interleaved list. 51 #'cl--generic-struct-tag - (lambda (tag _targets) + (lambda (tag &rest _) (and (symbolp tag) (boundp tag) (setq tag (symbol-value tag)) (eieio--class-p tag) (let ((superclasses (eieio--class-precedence-list tag)) diff --git a/test/automated/eieio-tests.el b/test/automated/eieio-tests.el index 5709a1b..915532b 100644 --- a/test/automated/eieio-tests.el +++ b/test/automated/eieio-tests.el @@ -898,7 +898,3 @@ Subclasses to override slot attributes.") (provide 'eieio-tests) ;;; eieio-tests.el ends here - -;; Local Variables: -;; no-byte-compile: t -;; End: commit 39355bc045874874eb83cecdf2e2e04c3b81d3f7 Author: Artur Malabarba Date: Wed Nov 4 14:22:27 2015 +0000 Revert "* lisp/subr.el (when): Use `macroexp-progn'" This reverts commit 8e843831eaf271801836b7a3e4dd3b4fb0bb72b8. It breaks bootstrapping (duh). diff --git a/lisp/subr.el b/lisp/subr.el index 91647a6..ea926ae 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -179,7 +179,7 @@ value of last one, or nil if there are none. \(fn COND BODY...)" (declare (indent 1) (debug t)) - (list 'if cond (macroexp-progn body))) + (list 'if cond (cons 'progn body))) (defmacro unless (cond &rest body) "If COND yields nil, do BODY, else return nil. commit 2fef1fc823bc14957fa624e501dd3b739809d525 Author: Artur Malabarba Date: Wed Nov 4 13:00:04 2015 +0000 * lisp/files.el (report-errors): Obsolete (normal-mode, hack-local-variables, dir-locals-find-file): Use `with-demoted-errors' instead. diff --git a/lisp/files.el b/lisp/files.el index b25994c..9de9ac0 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -2283,18 +2283,7 @@ unless NOMODES is non-nil." (view-mode-enter)) (run-hooks 'find-file-hook))) -(defmacro report-errors (format &rest body) - "Eval BODY and turn any error into a FORMAT message. -FORMAT can have a %s escape which will be replaced with the actual error. -If `debug-on-error' is set, errors are not caught, so that you can -debug them. -Avoid using a large BODY since it is duplicated." - (declare (debug t) (indent 1)) - `(if debug-on-error - (progn . ,body) - (condition-case err - (progn . ,body) - (error (message ,format (prin1-to-string err)))))) +(define-obsolete-function-alias 'report-errors 'with-demoted-errors "25.1") (defun normal-mode (&optional find-file) "Choose the major mode for this buffer automatically. @@ -2315,9 +2304,9 @@ in that case, this function acts as if `enable-local-variables' were t." (let ((enable-local-variables (or (not find-file) enable-local-variables))) ;; FIXME this is less efficient than it could be, since both ;; s-a-m and h-l-v may parse the same regions, looking for "mode:". - (report-errors "File mode specification error: %s" + (with-demoted-errors "File mode specification error: %s" (set-auto-mode)) - (report-errors "File local-variables error: %s" + (with-demoted-errors "File local-variables error: %s" (hack-local-variables))) ;; Turn font lock off and on, to make sure it takes account of ;; whatever file local variables are relevant to it. @@ -3316,7 +3305,7 @@ local variables, but directory-local variables may still be applied." result) (unless mode-only (setq file-local-variables-alist nil) - (report-errors "Directory-local variables error: %s" + (with-demoted-errors "Directory-local variables error: %s" ;; Note this is a no-op if enable-local-variables is nil. (hack-dir-local-variables))) ;; This entire function is basically a no-op if enable-local-variables commit 8e843831eaf271801836b7a3e4dd3b4fb0bb72b8 Author: Artur Malabarba Date: Wed Nov 4 12:54:53 2015 +0000 * lisp/subr.el (when): Use `macroexp-progn' * test/automated/subr-tests.el (subr-test-when): New test diff --git a/lisp/subr.el b/lisp/subr.el index ea926ae..91647a6 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -179,7 +179,7 @@ value of last one, or nil if there are none. \(fn COND BODY...)" (declare (indent 1) (debug t)) - (list 'if cond (cons 'progn body))) + (list 'if cond (macroexp-progn body))) (defmacro unless (cond &rest body) "If COND yields nil, do BODY, else return nil. diff --git a/test/automated/subr-tests.el b/test/automated/subr-tests.el index 28a423f..85d5d11 100644 --- a/test/automated/subr-tests.el +++ b/test/automated/subr-tests.el @@ -82,5 +82,19 @@ (should (string-greaterp 'acb 'abc)) (should (string-greaterp "acb" 'abc))) +(ert-deftest subr-test-when () + (should (equal (when t 1) 1)) + (should (equal (when t 2) 2)) + (should (equal (when nil 1) nil)) + (should (equal (when nil 2) nil)) + (should (equal (when t 'x 1) 1)) + (should (equal (when t 'x 2) 2)) + (should (equal (when nil 'x 1) nil)) + (should (equal (when nil 'x 2) nil)) + (should (equal (macroexpand-all '(when a b)) + '(if a b))) + (should (equal (macroexpand-all '(when a b c d)) + '(if a (progn b c d))))) + (provide 'subr-tests) ;;; subr-tests.el ends here commit 587b2328377c32950a7ccf89f7c0b7d95db873af Author: Juanma Barranquero Date: Wed Nov 4 10:07:25 2015 +0100 * lisp/progmodes/xref.el: Doc fixes (xref-make-file-location, xref-make-buffer-location, xref-make) (xref-make-bogus-location, xref-make-match): Add cross-references. (xref--insert-xrefs): Fix typo in docstring. diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index 7eff1f1..329bd9d 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el @@ -92,7 +92,7 @@ This is typically the filename.") Line numbers start from 1 and columns from 0.") (defun xref-make-file-location (file line column) - "Create and return a new xref-file-location." + "Create and return a new `xref-file-location'." (make-instance 'xref-file-location :file file :line line :column column)) (cl-defmethod xref-location-marker ((l xref-file-location)) @@ -117,7 +117,7 @@ Line numbers start from 1 and columns from 0.") (position :type fixnum :initarg :position))) (defun xref-make-buffer-location (buffer position) - "Create and return a new xref-buffer-location." + "Create and return a new `xref-buffer-location'." (make-instance 'xref-buffer-location :buffer buffer :position position)) (cl-defmethod xref-location-marker ((l xref-buffer-location)) @@ -138,7 +138,7 @@ indicate errors, e.g. when we know that a function exists but the actual location is not known.") (defun xref-make-bogus-location (message) - "Create and return a new xref-bogus-location." + "Create and return a new `xref-bogus-location'." (make-instance 'xref-bogus-location :message message)) (cl-defmethod xref-location-marker ((l xref-bogus-location)) @@ -162,7 +162,7 @@ to the reference's target.")) somewhere.") (defun xref-make (summary location) - "Create and return a new xref item. + "Create and return a new `xref-item'. SUMMARY is a short string to describe the xref. LOCATION is an `xref-location'." (make-instance 'xref-item :summary summary :location location)) @@ -183,7 +183,7 @@ somewhere.") end-column))) (defun xref-make-match (summary end-column location) - "Create and return a new xref match item. + "Create and return a new `xref-match-item'. SUMMARY is a short string to describe the xref. END-COLUMN is the match end column number inside SUMMARY. LOCATION is an `xref-location'." @@ -633,7 +633,7 @@ meantime are preserved." (defun xref--insert-xrefs (xref-alist) "Insert XREF-ALIST in the current-buffer. -XREF-ALIST is of the form ((GROUP . (XREF ...)) ...). Where +XREF-ALIST is of the form ((GROUP . (XREF ...)) ...), where GROUP is a string for decoration purposes and XREF is an `xref-item' object." (require 'compile) ; For the compilation faces. commit 411b516d65b4e3b88e7b268dac7a32668e8d39c7 Author: Anders Lindgren Date: Wed Nov 4 06:50:19 2015 +0100 Render fringe bitmaps correctly on NextStep (bug#21301). The fringe bitmaps were inverted, the background was not transparent, the image data was horizontally mirrored, and periodic fringe bitmaps were not supported. * nsimage.m ([EmacsImage initFromXBM:width:height:fg:bg:]): When both background and foreground colors are 0, set the background alpha channel to 0 (making the background transparent). When copying the image data, do this from the most significant bit (leftmost) to the least (rightmost), to avoid mirroring. * nsterm.m (ns_draw_fringe_bitmap): Don't invert the image bits. Add support for periodic images (e.g. the empty line indicator). diff --git a/src/nsimage.m b/src/nsimage.m index e76a7db..bdaf6a4 100644 --- a/src/nsimage.m +++ b/src/nsimage.m @@ -202,10 +202,13 @@ ns_set_alpha (void *img, int x, int y, unsigned char a) } +/* Create image from monochrome bitmap. If both FG and BG are 0 + (black), set the background to white and make it transparent. */ - initFromXBM: (unsigned char *)bits width: (int)w height: (int)h fg: (unsigned long)fg bg: (unsigned long)bg { unsigned char *planes[5]; + unsigned char bg_alpha = 0xff; [self initWithSize: NSMakeSize (w, h)]; @@ -219,7 +222,10 @@ ns_set_alpha (void *img, int x, int y, unsigned char a) [bmRep getBitmapDataPlanes: planes]; if (fg == 0 && bg == 0) - bg = 0xffffff; + { + bg = 0xffffff; + bg_alpha = 0; + } { /* pull bits out to set the (bytewise) alpha mask */ @@ -244,21 +250,22 @@ ns_set_alpha (void *img, int x, int y, unsigned char a) c = *s++; for (k = 0; i < w && k < 8; ++k, ++i) { - *alpha++ = 0xff; - if (c & 1) + if (c & 0x80) { *rr++ = fgr; *gg++ = fgg; *bb++ = fgb; + *alpha++ = 0xff; } else { *rr++ = bgr; *gg++ = bgg; *bb++ = bgb; + *alpha++ = bg_alpha; } idx++; - c >>= 1; + c <<= 1; } } } diff --git a/src/nsterm.m b/src/nsterm.m index 925e9af..4f97276 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -2456,11 +2456,31 @@ ns_draw_fringe_bitmap (struct window *w, struct glyph_row *row, External (RIF); fringe-related -------------------------------------------------------------------------- */ { + /* Fringe bitmaps comes in two variants, normal and periodic. A + periodic bitmap is used to create a continuous pattern. Since a + bitmap is rendered one text line at a time, the start offset (dh) + of the bitmap varies. Concretely, this is used for the empty + line indicator. + + For a bitmap, "h + dh" is the full height and is always + invariant. For a normal bitmap "dh" is zero. + + For example, when the period is three and the full height is 72 + the following combinations exists: + + h=72 dh=0 + h=71 dh=1 + h=70 dh=2 */ + struct frame *f = XFRAME (WINDOW_FRAME (w)); struct face *face = p->face; static EmacsImage **bimgs = NULL; static int nBimgs = 0; + NSTRACE ("ns_draw_fringe_bitmap"); + NSTRACE_MSG ("which:%d cursor:%d overlay:%d width:%d height:%d period:%d", + p->which, p->cursor_p, p->overlay_p, p->wd, p->h, p->dh); + /* grow bimgs if needed */ if (nBimgs < max_used_fringe_bitmap) { @@ -2493,19 +2513,24 @@ ns_draw_fringe_bitmap (struct window *w, struct glyph_row *row, if (!img) { - unsigned short *bits = p->bits + p->dh; - int len = p->h; + // Note: For "periodic" images, allocate one EmacsImage for + // the base image, and use it for all dh:s. + unsigned short *bits = p->bits; + int full_height = p->h + p->dh; int i; - unsigned char *cbits = xmalloc (len); + unsigned char *cbits = xmalloc (full_height); - for (i = 0; i < len; i++) - cbits[i] = ~(bits[i] & 0xff); - img = [[EmacsImage alloc] initFromXBM: cbits width: 8 height: p->h + for (i = 0; i < full_height; i++) + cbits[i] = bits[i]; + img = [[EmacsImage alloc] initFromXBM: cbits width: 8 + height: full_height fg: 0 bg: 0]; bimgs[p->which - 1] = img; xfree (cbits); } + NSTRACE_RECT ("r", r); + NSRectClip (r); /* Since we composite the bitmap instead of just blitting it, we need to erase the whole background. */ @@ -2523,9 +2548,15 @@ ns_draw_fringe_bitmap (struct window *w, struct glyph_row *row, [img setXBMColor: bm_color]; } + // Note: For periodic images, the full image height is "h + hd". + // By using the height h, a suitable part of the image is used. + NSRect fromRect = NSMakeRect(0, 0, p->wd, p->h); + + NSTRACE_RECT ("fromRect", fromRect); + #ifdef NS_IMPL_COCOA [img drawInRect: r - fromRect: NSZeroRect + fromRect: fromRect operation: NSCompositeSourceOver fraction: 1.0 respectFlipped: YES commit 335cb1ee158db47003bda61a6cb077b62d04ca4f Author: Michael Heerdegen Date: Tue Nov 3 23:42:24 2015 +0100 * lisp/emacs-lisp/pcase.el (pcase): Tweak docstring. diff --git a/lisp/emacs-lisp/pcase.el b/lisp/emacs-lisp/pcase.el index 8bcb447..bf6550d 100644 --- a/lisp/emacs-lisp/pcase.el +++ b/lisp/emacs-lisp/pcase.el @@ -107,7 +107,7 @@ ;;;###autoload (defmacro pcase (exp &rest cases) - "Perform ML-style pattern matching on EXP. + "Eval EXP and perform ML-style pattern matching on that value. CASES is a list of elements of the form (PATTERN CODE...). Patterns can take the following forms: @@ -115,7 +115,7 @@ Patterns can take the following forms: SYMBOL matches anything and binds it to SYMBOL. (or PAT...) matches if any of the patterns matches. (and PAT...) matches if all the patterns match. - \\='VAL matches if the object is `equal' to VAL + \\='VAL matches if the object is `equal' to VAL. ATOM is a shorthand for \\='ATOM. ATOM can be a keyword, an integer, or a string. (pred FUN) matches if FUN applied to the object returns non-nil. @@ -131,11 +131,11 @@ FUN can take the form which is the value being matched. So a FUN of the form SYMBOL is equivalent to one of the form (FUN). FUN can refer to variables bound earlier in the pattern. -FUN is assumed to be pure, i.e. it can be dropped if its result is not used, -and two identical calls can be merged into one. E.g. you can match pairs where the cdr is larger than the car with a pattern like \\=`(,a . ,(pred (< a))) or, with more checks: \\=`(,(and a (pred numberp)) . ,(and (pred numberp) (pred (< a)))) +FUN is assumed to be pure, i.e. it can be dropped if its result is not used, +and two identical calls can be merged into one. Additional patterns can be defined via `pcase-defmacro'. Currently, the following patterns are provided this way:" commit 5d1e2fec21dee5d7f81c774e3e30ce8c0c8e5176 Author: Nicolas Petton Date: Tue Nov 3 23:22:39 2015 +0100 * admin/MAINTAINERS: Add seq-tests.el, map-tests.el, and thunk-tests.el. diff --git a/admin/MAINTAINERS b/admin/MAINTAINERS index f32e27e..dc6c0d2 100644 --- a/admin/MAINTAINERS +++ b/admin/MAINTAINERS @@ -81,8 +81,11 @@ Simen Heggestøyl Nicolas Petton lisp/emacs-lisp/map.el + test/automated/map-tests.el lisp/emacs-lisp/seq.el + test/automated/seq-tests.el lisp/emacs-lisp/thunk.el + test/automated/thunk-tests.el The GNU AUCTeX maintainers (auctex-devel@gnu.org) RefTeX commit eb7e21bf388e485f38f119dab0b34262f5528e3b Author: Nicolas Petton Date: Tue Nov 3 23:20:56 2015 +0100 * admin/MAINTAINERS: Add thunk.el. diff --git a/admin/MAINTAINERS b/admin/MAINTAINERS index 3b863c7..f32e27e 100644 --- a/admin/MAINTAINERS +++ b/admin/MAINTAINERS @@ -82,6 +82,7 @@ Simen Heggestøyl Nicolas Petton lisp/emacs-lisp/map.el lisp/emacs-lisp/seq.el + lisp/emacs-lisp/thunk.el The GNU AUCTeX maintainers (auctex-devel@gnu.org) RefTeX commit fb711d7275a6c18bcc15cc17af6e20b23191ab40 Author: Jay Belanger Date: Tue Nov 3 16:16:54 2015 -0600 Change maintainer address. * lisp/calc/calc (calc-bug-address): Change address. diff --git a/admin/MAINTAINERS b/admin/MAINTAINERS index 322803b..3b863c7 100644 --- a/admin/MAINTAINERS +++ b/admin/MAINTAINERS @@ -46,12 +46,6 @@ Stefan Monnier minibuffer completion lisp/outline.el -Jay Belanger - Calc - lisp/calc/* - etc/calccard.tex - doc/misc/calc.texi - Bastien Guerry Org lisp/org/* diff --git a/lisp/calc/calc-aent.el b/lisp/calc/calc-aent.el index f4754c7..3cc9d69 100644 --- a/lisp/calc/calc-aent.el +++ b/lisp/calc/calc-aent.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: Dave Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-alg.el b/lisp/calc/calc-alg.el index ebc5ba6..b163992 100644 --- a/lisp/calc/calc-alg.el +++ b/lisp/calc/calc-alg.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-arith.el b/lisp/calc/calc-arith.el index de27c56..12cc5d3 100644 --- a/lisp/calc/calc-arith.el +++ b/lisp/calc/calc-arith.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-bin.el b/lisp/calc/calc-bin.el index 9a1e524..b22aea1 100644 --- a/lisp/calc/calc-bin.el +++ b/lisp/calc/calc-bin.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-comb.el b/lisp/calc/calc-comb.el index 4e52a3b..5faa1a3 100644 --- a/lisp/calc/calc-comb.el +++ b/lisp/calc/calc-comb.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-cplx.el b/lisp/calc/calc-cplx.el index edcd3c2..1b99d56 100644 --- a/lisp/calc/calc-cplx.el +++ b/lisp/calc/calc-cplx.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-embed.el b/lisp/calc/calc-embed.el index d0efe53..fe23408 100644 --- a/lisp/calc/calc-embed.el +++ b/lisp/calc/calc-embed.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-ext.el b/lisp/calc/calc-ext.el index 9adf66f..6edc266 100644 --- a/lisp/calc/calc-ext.el +++ b/lisp/calc/calc-ext.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-fin.el b/lisp/calc/calc-fin.el index 76c34e6..a31859d 100644 --- a/lisp/calc/calc-fin.el +++ b/lisp/calc/calc-fin.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-forms.el b/lisp/calc/calc-forms.el index 08fa5ce..63674a1 100644 --- a/lisp/calc/calc-forms.el +++ b/lisp/calc/calc-forms.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-frac.el b/lisp/calc/calc-frac.el index 830bafe..ddf6762 100644 --- a/lisp/calc/calc-frac.el +++ b/lisp/calc/calc-frac.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-funcs.el b/lisp/calc/calc-funcs.el index 51922c8..b96cbd5 100644 --- a/lisp/calc/calc-funcs.el +++ b/lisp/calc/calc-funcs.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-graph.el b/lisp/calc/calc-graph.el index 20b0249..4ae6ec5 100644 --- a/lisp/calc/calc-graph.el +++ b/lisp/calc/calc-graph.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-help.el b/lisp/calc/calc-help.el index 33cb1c1..36e09b9 100644 --- a/lisp/calc/calc-help.el +++ b/lisp/calc/calc-help.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-incom.el b/lisp/calc/calc-incom.el index b2856b9..14de2ca 100644 --- a/lisp/calc/calc-incom.el +++ b/lisp/calc/calc-incom.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-keypd.el b/lisp/calc/calc-keypd.el index 18e900d..6980cd6 100644 --- a/lisp/calc/calc-keypd.el +++ b/lisp/calc/calc-keypd.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-lang.el b/lisp/calc/calc-lang.el index 9436606..4b1c4f5 100644 --- a/lisp/calc/calc-lang.el +++ b/lisp/calc/calc-lang.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-macs.el b/lisp/calc/calc-macs.el index 9730d30..e6bc2de 100644 --- a/lisp/calc/calc-macs.el +++ b/lisp/calc/calc-macs.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-map.el b/lisp/calc/calc-map.el index d2c9da8..9bf391a 100644 --- a/lisp/calc/calc-map.el +++ b/lisp/calc/calc-map.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-math.el b/lisp/calc/calc-math.el index e7d073a..5e6c14a 100644 --- a/lisp/calc/calc-math.el +++ b/lisp/calc/calc-math.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-menu.el b/lisp/calc/calc-menu.el index 8610090..4a3ad87 100644 --- a/lisp/calc/calc-menu.el +++ b/lisp/calc/calc-menu.el @@ -2,8 +2,6 @@ ;; Copyright (C) 2007-2015 Free Software Foundation, Inc. -;; Maintainer: Jay Belanger - ;; This file is part of GNU Emacs. ;; GNU Emacs is free software: you can redistribute it and/or modify diff --git a/lisp/calc/calc-misc.el b/lisp/calc/calc-misc.el index aa0ccb7..6acda2b 100644 --- a/lisp/calc/calc-misc.el +++ b/lisp/calc/calc-misc.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-mode.el b/lisp/calc/calc-mode.el index 3ed9612..6c986b2 100644 --- a/lisp/calc/calc-mode.el +++ b/lisp/calc/calc-mode.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-mtx.el b/lisp/calc/calc-mtx.el index b8c5ff9..75e33ca 100644 --- a/lisp/calc/calc-mtx.el +++ b/lisp/calc/calc-mtx.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-nlfit.el b/lisp/calc/calc-nlfit.el index 8e0eb73..41dc8f4 100644 --- a/lisp/calc/calc-nlfit.el +++ b/lisp/calc/calc-nlfit.el @@ -2,8 +2,6 @@ ;; Copyright (C) 2007-2015 Free Software Foundation, Inc. -;; Maintainer: Jay Belanger - ;; This file is part of GNU Emacs. ;; GNU Emacs is free software: you can redistribute it and/or modify diff --git a/lisp/calc/calc-poly.el b/lisp/calc/calc-poly.el index 1dab3c4..bd9a9f9 100644 --- a/lisp/calc/calc-poly.el +++ b/lisp/calc/calc-poly.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-prog.el b/lisp/calc/calc-prog.el index 8d97bc6..0d55823 100644 --- a/lisp/calc/calc-prog.el +++ b/lisp/calc/calc-prog.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-rewr.el b/lisp/calc/calc-rewr.el index e57a6b4..4ab0f44 100644 --- a/lisp/calc/calc-rewr.el +++ b/lisp/calc/calc-rewr.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-rules.el b/lisp/calc/calc-rules.el index 4489f66..c4e2f2b 100644 --- a/lisp/calc/calc-rules.el +++ b/lisp/calc/calc-rules.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-sel.el b/lisp/calc/calc-sel.el index ec104ee..8130bae 100644 --- a/lisp/calc/calc-sel.el +++ b/lisp/calc/calc-sel.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-stat.el b/lisp/calc/calc-stat.el index a797db2..b9b8028 100644 --- a/lisp/calc/calc-stat.el +++ b/lisp/calc/calc-stat.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-store.el b/lisp/calc/calc-store.el index 2684e62..fa2bf07 100644 --- a/lisp/calc/calc-store.el +++ b/lisp/calc/calc-store.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-stuff.el b/lisp/calc/calc-stuff.el index 91ef259a..81be0b8 100644 --- a/lisp/calc/calc-stuff.el +++ b/lisp/calc/calc-stuff.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-trail.el b/lisp/calc/calc-trail.el index 9417f7f..441c122 100644 --- a/lisp/calc/calc-trail.el +++ b/lisp/calc/calc-trail.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-undo.el b/lisp/calc/calc-undo.el index 28c1679..6d4473c 100644 --- a/lisp/calc/calc-undo.el +++ b/lisp/calc/calc-undo.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-units.el b/lisp/calc/calc-units.el index a450d8f..403f008 100644 --- a/lisp/calc/calc-units.el +++ b/lisp/calc/calc-units.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-vec.el b/lisp/calc/calc-vec.el index cd15770..61bcb41 100644 --- a/lisp/calc/calc-vec.el +++ b/lisp/calc/calc-vec.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc-yank.el b/lisp/calc/calc-yank.el index 5105ba9..37efadd 100644 --- a/lisp/calc/calc-yank.el +++ b/lisp/calc/calc-yank.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el index e44226d..07ea4fc 100644 --- a/lisp/calc/calc.el +++ b/lisp/calc/calc.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; Keywords: convenience, extensions ;; This file is part of GNU Emacs. @@ -487,7 +486,7 @@ to be identified as that note." "Face used to show the selected portion of a formula." :group 'calc) -(defvar calc-bug-address "jay.p.belanger@gmail.com" +(defvar calc-bug-address "emacs-devel@gnu.org" "Address of the maintainer of Calc, for use by `report-calc-bug'.") (defvar calc-scan-for-dels t diff --git a/lisp/calc/calcalg2.el b/lisp/calc/calcalg2.el index 55064a3..23c972c 100644 --- a/lisp/calc/calcalg2.el +++ b/lisp/calc/calcalg2.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calcalg3.el b/lisp/calc/calcalg3.el index 957f120..a9c8eef 100644 --- a/lisp/calc/calcalg3.el +++ b/lisp/calc/calcalg3.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calccomp.el b/lisp/calc/calccomp.el index 119f419..81a035d 100644 --- a/lisp/calc/calccomp.el +++ b/lisp/calc/calccomp.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. diff --git a/lisp/calc/calcsel2.el b/lisp/calc/calcsel2.el index ace2684..df86e2d 100644 --- a/lisp/calc/calcsel2.el +++ b/lisp/calc/calcsel2.el @@ -3,7 +3,6 @@ ;; Copyright (C) 1990-1993, 2001-2015 Free Software Foundation, Inc. ;; Author: David Gillespie -;; Maintainer: Jay Belanger ;; This file is part of GNU Emacs. commit 7e9da9f70980b4b07777c27959035b3be10731ff Author: Michael Albinus Date: Tue Nov 3 18:33:25 2015 +0100 ; Shorten TODO list in file-notify-tests.el diff --git a/test/automated/file-notify-tests.el b/test/automated/file-notify-tests.el index d848f4b..964dc4a 100644 --- a/test/automated/file-notify-tests.el +++ b/test/automated/file-notify-tests.el @@ -623,7 +623,6 @@ Don't wait longer than TIMEOUT seconds for the events to be delivered." ;; TODO: -;; * It does not work yet for local gfilenotify. ;; * For w32notify, no stopped events arrive when a directory is removed. (provide 'file-notify-tests) commit 436ed2399ade5c41b8ed3cffe177fb5210eff574 Author: Michael Albinus Date: Tue Nov 3 18:17:53 2015 +0100 Fix a stupid error in gfilenotify.c. * src/gfilenotify.c (dir_monitor_callback): Cancel monitor only, if we've got a `deleted' signal AND the file name is the watched one. diff --git a/src/gfilenotify.c b/src/gfilenotify.c index 2057f88..8660f41 100644 --- a/src/gfilenotify.c +++ b/src/gfilenotify.c @@ -110,6 +110,7 @@ dir_monitor_callback (GFileMonitor *monitor, /* Cancel monitor if file or directory is deleted. */ if (!NILP (Fmember (symbol, list2 (Qdeleted, Qmoved))) && + (strcmp (name, SSDATA (XCAR (XCDR (watch_object)))) == 0) && !g_file_monitor_is_cancelled (monitor)) g_file_monitor_cancel (monitor); } commit fcfa23911dfb530c2fb5cdc81518127853c88f9a Author: Stephen Leake Date: Tue Nov 3 08:37:53 2015 -0600 Fix Bug#21816; case insensitive file system in elisp-mode-tests.el * test/automated/elisp-mode-tests.el (xref-elisp-test-run): Use case-insensitive string compare for file names. (emacs-test-dir): Add 'downcase' to cause case differences (at least on my system). diff --git a/test/automated/elisp-mode-tests.el b/test/automated/elisp-mode-tests.el index 2f6675a..bd83f1a 100644 --- a/test/automated/elisp-mode-tests.el +++ b/test/automated/elisp-mode-tests.el @@ -1,4 +1,4 @@ -;;; elisp-mode-tests.el --- Tests for emacs-lisp-mode -*- lexical-binding: t; -*- +d;;; elisp-mode-tests.el --- Tests for emacs-lisp-mode -*- lexical-binding: t; -*- ;; Copyright (C) 2015 Free Software Foundation, Inc. @@ -179,15 +179,23 @@ (defun xref-elisp-test-run (xrefs expected-xrefs) (should (= (length xrefs) (length expected-xrefs))) (while xrefs - (let ((xref (pop xrefs)) - (expected (pop expected-xrefs))) + (let* ((xref (pop xrefs)) + (expected (pop expected-xrefs)) + (expected-xref (or (when (consp expected) (car expected)) expected)) + (expected-source (when (consp expected) (cdr expected)))) - (should (equal xref - (or (when (consp expected) (car expected)) expected))) + ;; Downcase the filenames for case-insensitive file systems. + (setf (xref-elisp-location-file (oref xref location)) + (downcase (xref-elisp-location-file (oref xref location)))) + + (setf (xref-elisp-location-file (oref expected-xref location)) + (downcase (xref-elisp-location-file (oref expected-xref location)))) + + (should (equal xref expected-xref)) (xref--goto-location (xref-item-location xref)) (back-to-indentation) - (should (looking-at (or (when (consp expected) (cdr expected)) + (should (looking-at (or expected-source (xref-elisp-test-descr-to-target expected))))) )) @@ -207,7 +215,16 @@ to (xref-elisp-test-descr-to-target xref)." ;; so we must provide this dir to expand-file-name in the expected ;; results. This also allows running these tests from other ;; directories. -(defconst emacs-test-dir (file-name-directory (or load-file-name (buffer-file-name)))) +;; +;; We add 'downcase' here to deliberately cause a potential problem on +;; case-insensitive file systems. On such systems, `load-file-name' +;; may not have the same case as the real file system, since the user +;; can set `load-path' to have the wrong case (on my Windows system, +;; `load-path' has the correct case, so this causes the expected test +;; values to have the wrong case). This is handled in +;; `xref-elisp-test-run'. +(defconst emacs-test-dir (downcase (file-name-directory (or load-file-name (buffer-file-name))))) + ;; alphabetical by test name commit 7ad183d8905e7b15690b98d67ae0ae22d873bfa8 Author: Jackson Ray Hamilton Date: Mon Nov 2 21:14:05 2015 -0800 Fix ChangeLog.2 entry for js-jsx-mode diff --git a/ChangeLog.2 b/ChangeLog.2 index ddb2635..599a4c8 100644 --- a/ChangeLog.2 +++ b/ChangeLog.2 @@ -31,8 +31,16 @@ Add JSX indentation via js-jsx-mode (Bug#21799) * progmodes/js.el: Add JSX indentation support. + (js--jsx-end-tag-re) + (js--jsx-after-tag-re): New variables. + (js--jsx-find-before-tag) + (js--jsx-indented-element-p) + (js--as-sgml) + (js--expression-in-sgml-indent-line) (js-jsx-indent-line) (js-jsx-mode): New functions. + * test/indent/js-jsx.el: New file. + * etc/NEWS: Add information about js-jsx-mode. 2015-10-31 Michael Albinus commit 1cd0e89ab93b4e27d2b55332649558f044b6c6b5 Author: Juanma Barranquero Date: Mon Nov 2 18:08:52 2015 +0100 flymake-tests.el (warning-predicate-rx-gcc): Fix check. * test/automated/flymake-tests.el (warning-predicate-rx-gcc): Also check that "make" is available, not just "gcc". diff --git a/test/automated/flymake-tests.el b/test/automated/flymake-tests.el index a77c316..11231bc 100644 --- a/test/automated/flymake-tests.el +++ b/test/automated/flymake-tests.el @@ -50,7 +50,7 @@ (ert-deftest warning-predicate-rx-gcc () "Test GCC warning via regexp predicate." - (skip-unless (executable-find "gcc")) + (skip-unless (and (executable-find "gcc") (executable-find "make"))) (should (eq 'flymake-warnline (flymake-tests--current-face "test.c" "^[Ww]arning")))) commit a9cdc4a23c9ba93095cb6595972cbe2fde450e2c Author: Ken Brown Date: Mon Nov 2 11:22:51 2015 -0500 Document behavior of collation on Cygwin * test/automated/fns-tests.el (fns-tests-collate-sort): Mark as expected failure on Cygwin. * doc/lispref/strings.texi (Text Comparison): Document that punctuation and whitespace are not ignored for sorting on Cygwin. diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi index 143de82..f8685d9 100644 --- a/doc/lispref/strings.texi +++ b/doc/lispref/strings.texi @@ -584,8 +584,8 @@ determined by the lexicographic order of the characters contained in relations between these characters. Usually, it is defined by the @var{locale} environment Emacs is running with. -For example, punctuation and whitespace characters might be considered -less significant for @ref{Sorting,,sorting}. +For example, punctuation and whitespace characters might be ignored +for sorting (@pxref{Sequence Functions}): @example @group @@ -594,6 +594,9 @@ less significant for @ref{Sorting,,sorting}. @end group @end example +This behavior is system-dependent; punctuation and whitespace are +never ignored on Cygwin, regardless of locale. + The optional argument @var{locale}, a string, overrides the setting of your current locale identifier for collation. The value is system dependent; a @var{locale} @code{"en_US.UTF-8"} is applicable on POSIX diff --git a/test/automated/fns-tests.el b/test/automated/fns-tests.el index 7e9c1f1..b5222db 100644 --- a/test/automated/fns-tests.el +++ b/test/automated/fns-tests.el @@ -155,6 +155,8 @@ (9 . "aaa") (9 . "zzz") (9 . "ppp") (9 . "fff")]))) (ert-deftest fns-tests-collate-sort () + ;; See https://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02505.html. + :expected-result (if (eq system-type 'cygwin) :failed :passed) (skip-unless (fns-tests--collate-enabled-p)) ;; Punctuation and whitespace characters are relevant for POSIX. commit 5401bb8645f955b6fde8c0a5e5c8cf5ec1cab626 Author: Dani Moncayo Date: Mon Nov 2 11:48:47 2015 +0100 * build-aux/msys-to-w32: Prevent double slashes in w32 path list. diff --git a/build-aux/msys-to-w32 b/build-aux/msys-to-w32 index f8a0a81..d30047f 100755 --- a/build-aux/msys-to-w32 +++ b/build-aux/msys-to-w32 @@ -96,7 +96,7 @@ do # translate the existing part and append the rest w32p=$(cd "${p1}" && pwd -W) remainder=${p#$p1} - w32p+=/${remainder#/} + w32p=${w32p%/}/${remainder#/} fi w32pathlist="${w32pathlist};${w32p}" commit ff80687aee5da42ff151df4e68f8dbcd2f8b2be3 Author: Glenn Morris Date: Sun Nov 1 18:25:42 2015 -0800 * lisp/progmodes/f90.el (f90-no-block-limit): Add associate. (Bug#21794) * test/automated/f90.el (f90-test-bug21794): New test. diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el index 5c938fd..0e333f1 100644 --- a/lisp/progmodes/f90.el +++ b/lisp/progmodes/f90.el @@ -1452,7 +1452,7 @@ if all else fails." (not (or (looking-at "end") (looking-at "\\(do\\|if\\|else\\(if\\|where\\)?\ \\|select[ \t]*\\(case\\|type\\)\\|case\\|where\\|forall\\|\ -block\\|critical\\|enum\\)\\_>") +block\\|critical\\|enum\\|associate\\)\\_>") (looking-at "\\(program\\|\\(?:sub\\)?module\\|\ \\(?:abstract[ \t]*\\)?interface\\|block[ \t]*data\\)\\_>") (looking-at "\\(contains\\|\\(?:\\sw\\|\\s_\\)+[ \t]*:\\)") diff --git a/test/automated/f90.el b/test/automated/f90.el index c521d28..e429b21 100644 --- a/test/automated/f90.el +++ b/test/automated/f90.el @@ -240,4 +240,19 @@ end module modname") (forward-line -1) (should (= 2 (current-indentation))))) +(ert-deftest f90-test-bug21794 () + "Test for http://debbugs.gnu.org/21794 ." + (with-temp-buffer + (f90-mode) + (insert "program prog +do i=1,10 +associate (x => xa(i), y => ya(i)) +a(x,y,i) = fun(x,y,i) +end associate +end do +end program prog") + (f90-indent-subprogram) + (forward-line -2) + (should (= 5 (current-indentation))))) + ;;; f90.el ends here commit 3a769e173ebaaff768497dae9c430ac03aedeb94 Author: Juanma Barranquero Date: Sun Nov 1 00:22:13 2015 +0100 Fix incompatibility with TCC in test for bug#18745 * test/automated/process-tests.el (process-test-quoted-batfile): Remove spaces unrelated to the bug being tested. diff --git a/test/automated/process-tests.el b/test/automated/process-tests.el index 1dab615..58a2de7 100644 --- a/test/automated/process-tests.el +++ b/test/automated/process-tests.el @@ -61,15 +61,15 @@ ;; to force quoting. (setq batfile (make-temp-file "echo args" nil ".bat")) (with-temp-file batfile - (insert "@echo arg1 = %1, arg2 = %2\n")) + (insert "@echo arg1=%1, arg2=%2\n")) (with-temp-buffer (call-process batfile nil '(t t) t "x &y") - (should (string= (buffer-string) "arg1 = \"x &y\", arg2 = \n"))) + (should (string= (buffer-string) "arg1=\"x &y\", arg2=\n"))) (with-temp-buffer (call-process-shell-command (mapconcat #'shell-quote-argument (list batfile "x &y") " ") nil '(t t) t) - (should (string= (buffer-string) "arg1 = \"x &y\", arg2 = \n")))) + (should (string= (buffer-string) "arg1=\"x &y\", arg2=\n")))) (when batfile (delete-file batfile)))))) (ert-deftest process-test-stderr-buffer () commit bf9e3e7711c6256febd443765afe006bfa6dcf5f Author: Juanma Barranquero Date: Sun Nov 1 19:05:30 2015 +0100 ; ChangeLog.2 fixes diff --git a/ChangeLog.2 b/ChangeLog.2 index c8c231f..ddb2635 100644 --- a/ChangeLog.2 +++ b/ChangeLog.2 @@ -5,42 +5,30 @@ 2015-10-31 Juanma Barranquero Fix bug#21762 - * lisp/progmodes/python.el (python-syntax-closing-paren-p): Check with `eql' instead of `=' to accommodate the case that (syntax-after (point)) returns nil. - * test/automated/python-tests.el (python-indent-inside-paren-7): New test. 2015-10-31 Juanma Barranquero - * test/automated/python-tests.el: Avoid warnings - + * test/automated/python-tests.el: Avoid warnings. (python-tests-with-temp-buffer, python-tests-with-temp-file): Bind `python-indent-guess-indent-offset' to nil. - # Please enter the commit message for your changes. Lines starting - # with '#' will be ignored, and an empty message aborts the commit. - # On branch master - # Your branch is up-to-date with 'origin/master'. - # - # Changes to be committed: - # modified: test/automated/python-tests.el - # 2015-10-31 Juanma Barranquero - * src/alloc.c: Silence compiler warnings - + * src/alloc.c: Silence compiler warnings. (pointers_fit_in_lispobj_p, mmap_lisp_allowed_p): #ifdef DOUG_LEA_MALLOC. 2015-10-31 Jackson Ray Hamilton - * etc/NEWS: Fix js-jsx-mode entry punctuation + * etc/NEWS: Fix js-jsx-mode entry punctuation. 2015-10-31 Jackson Ray Hamilton - Add JSX indentation via js-jsx-mode. (Bug#21799) + Add JSX indentation via js-jsx-mode (Bug#21799) * progmodes/js.el: Add JSX indentation support. (js-jsx-indent-line) @@ -63,7 +51,7 @@ 2015-10-30 Paul Eggert - Merge from gnulib. + Merge from gnulib This incorporates: 2015-10-30 intprops: add WRAPV and const flavors for GCC 5 @@ -73,17 +61,14 @@ 2015-10-30 Eli Zaretskii - Fix a typo in a macro name - * src/w32proc.c (_NLSCMPERROR): Fix a typo in the name of this macro. (w32_compare_strings): Adjust for the correction. 2015-10-30 Michael Albinus - Add result messages in vc-tests.el - * test/automated/vc-tests.el (vc-test--state) - (vc-test--working-revision, vc-test--checkout-model): Add result messages. + (vc-test--working-revision, vc-test--checkout-model): + Add result messages. 2015-10-30 Artur Malabarba @@ -92,17 +77,15 @@ 2015-10-30 Artur Malabarba * lisp/faces.el (faces--attribute-at-point): Fix bug - introduced by previous commit. 2015-10-30 Artur Malabarba - * test/automated/faces-tests.el: New file + * test/automated/faces-tests.el: New file. 2015-10-30 Artur Malabarba - * lisp/faces.el: Refactor common code and fix a bug - + * lisp/faces.el: Refactor common code and fix a bug. (faces--attribute-at-point): New function. Fix a bug when the face at point is a list of faces and the desired attribute is not on the first one. @@ -110,18 +93,16 @@ 2015-10-30 Przemysław Wojnowski - * etc/tutorials/TUTORIAL.translators: Fix PL names + * etc/tutorials/TUTORIAL.translators: Fix PL names. 2015-10-30 Juanma Barranquero - * lisp/character-fold.el: Provide `character-fold' + * lisp/character-fold.el: Provide `character-fold'. 2015-10-30 Tassilo Horn - Add more faces for Gnus and ivy - - * etc/themes/tsdh-dark-theme.el (tsdh-dark): add more faces for Gnus and - ivy. + * etc/themes/tsdh-dark-theme.el (tsdh-dark): Add more faces + for Gnus and ivy. 2015-10-30 Michael Albinus @@ -140,8 +121,7 @@ 2015-10-30 Artur Malabarba - * test/automated/sort-tests.el: New file - + * test/automated/sort-tests.el: New file. Tests in this file are randomly generated and then tested with regular, reverse, and case-fold sorting. @@ -155,13 +135,12 @@ 2015-10-30 Artur Malabarba - * lisp/isearch.el: Avoid an error that blocks isearch - + * lisp/isearch.el: Avoid an error that blocks isearch. (isearch-update): Don't error if `isearch--current-buffer' has been killed. - * test/automated/isearch-tests.el (isearch--test-update): New - file. + * test/automated/isearch-tests.el (isearch--test-update): + New file. 2015-10-30 Phil Sainty @@ -179,8 +158,7 @@ 2015-10-29 Stefan Monnier - * lisp/gnus/auth-source.el: Silence lexical-binding warnings - + * lisp/gnus/auth-source.el: Silence lexical-binding warnings. (auth-source-netrc-use-gpg-tokens): Simplify (symbol-value 'VAR) to just VAR. (auth-source-backend-parse): Use make-instance. @@ -212,14 +190,12 @@ 2015-10-29 Juri Linkov * lisp/dired.el (dired-unmark-all-files-query): Declare. - (dired-unmark-all-files): Let-bind it and use instead of ‘query’. (Bug#21746) 2015-10-29 Juri Linkov * lisp/ielm.el (ielm-indent-line): Use non-nil arg of comint-bol - to go to the beginning of text line instead of command line. http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02360.html @@ -232,8 +208,7 @@ 2015-10-29 Stefan Monnier - * lisp/emacs-lisp/cl-generic.el: Add (major-mode MODE) context - + * lisp/emacs-lisp/cl-generic.el: Add (major-mode MODE) context. (cl--generic-derived-specializers): New function. (cl--generic-derived-generalizer): New generalizer. (cl-generic-generalizers): New specializer (derived-mode MODE). @@ -273,15 +248,13 @@ 2015-10-29 Stefan Monnier - * lisp/emacs-lisp/smie.el: Use `declare' for `pure' - - (smie-precs->prec2, smie-merge-prec2s, smie-bnf->prec2, smie-prec2->grammar): - Use `declare'. + * lisp/emacs-lisp/smie.el: Use `declare' for `pure'. + (smie-precs->prec2, smie-merge-prec2s, smie-bnf->prec2) + (smie-prec2->grammar): Use `declare'. 2015-10-29 Stefan Monnier - * lisp/emacs-lisp/cl-generic.el: Accomodate future changes - + * lisp/emacs-lisp/cl-generic.el: Accomodate future changes. (cl--generic-generalizer): Add `name' field. (cl-generic-make-generalizer): Add corresponding `name' argument. (cl-generic-define-generalizer): New macro. @@ -298,12 +271,15 @@ (cl--generic-struct-tag, cl--generic-struct-specializers): Allow extra arguments. - * lisp/emacs-lisp/eieio-compat.el (eieio--generic-static-symbol-generalizer) - (eieio--generic-static-object-generalizer): Use cl-generic-define-generalizer. + * lisp/emacs-lisp/eieio-compat.el + (eieio--generic-static-symbol-generalizer) + (eieio--generic-static-object-generalizer): + Use cl-generic-define-generalizer. (eieio--generic-static-symbol-specializers): Allow extra arguments. * lisp/emacs-lisp/eieio-core.el (eieio--generic-generalizer) - (eieio--generic-subclass-generalizer): Use cl-generic-define-generalizer. + (eieio--generic-subclass-generalizer): + Use cl-generic-define-generalizer. (eieio--generic-subclass-specializers): Allow extra arguments. 2015-10-29 Stefan Monnier @@ -356,13 +332,13 @@ 2015-10-28 Artur Malabarba - * lisp/isearch.el: Delete some outdated comments + * lisp/isearch.el: Delete some outdated comments. 2015-10-28 Vibhav Pant Fix eshell/clear not working if the output has a small line count - * lisp/eshell/esh-mode.el: (eshell/clear): Use (window-size) as the + * lisp/eshell/esh-mode.el (eshell/clear): Use (window-size) as the number of newlines to be inserted. This fixes the issue where eshell/clear wouldn't work if the prompt was not at the bottom of the window, and the output wasn't too long. @@ -377,8 +353,7 @@ 2015-10-28 Stefan Monnier - * lisp/emacs-lisp/macroexp.el: Tweak macroexp-if optimizations - + * lisp/emacs-lisp/macroexp.el: Tweak macroexp-if optimizations. (macroexp-unprogn): Make sure we never return an empty list. (macroexp-if): Remove unused (and unsafe) optimization. Optimize (if A T (if B T E)) into (if (or A B) T E) instead, which does @@ -387,7 +362,6 @@ 2015-10-28 Juanma Barranquero Fix bug#21766 and add test - * lisp/simple.el (delete-trailing-whitespace): Save match data when calling `skip-syntax-backward'. * test/automated/simple-test.el (simple-delete-trailing-whitespace): @@ -395,7 +369,7 @@ 2015-10-28 Artur Malabarba - * doc/lispref/sequences.texi (Sequence Functions): Fix typo + * doc/lispref/sequences.texi (Sequence Functions): Fix typo. 2015-10-28 Paul Eggert @@ -404,19 +378,17 @@ 2015-10-28 Artur Malabarba * lisp/character-fold.el (character-fold-to-regexp): Fix case - where string ends in space 2015-10-28 Artur Malabarba - * lisp/emacs-lisp/seq.el (seq-mapn): New function + * lisp/emacs-lisp/seq.el (seq-mapn): New function. - * doc/lispref/sequences.texi (Sequence Functions): Document seq-mapn + * doc/lispref/sequences.texi (Sequence Functions): Document seq-mapn. 2015-10-28 Artur Malabarba - * lisp/character-fold.el: Make compatible with lax-whitespace - + * lisp/character-fold.el: Make compatible with lax-whitespace. (character-fold-to-regexp): Rework internals to play nice with lax-whitespacing. @@ -433,18 +405,16 @@ 2015-10-28 Artur Malabarba - * lisp/isearch.el: Refactor momentary messages - + * lisp/isearch.el: Refactor momentary messages. (isearch--momentary-message): New function. (isearch-toggle-lax-whitespace, isearch-toggle-case-fold) (isearch-toggle-invisible): Use it. 2015-10-28 Artur Malabarba - * lisp/isearch.el: Define all toggles with `isearch-define-mode-toggle' - + * lisp/isearch.el: Define all toggles with `isearch-define-mode-toggle'. (isearch-define-mode-toggle): New macro. - (isearch-toggle-invisible): Renamed to + (isearch-toggle-invisible): Rename to `isearch-define-mode-toggle'. (isearch-toggle-case-fold, isearch-toggle-invisible) (isearch-toggle-regexp, isearch-toggle-lax-whitespace): Define @@ -467,18 +437,16 @@ 2015-10-28 Michael Albinus - Revert 692bce5b9eccfae19ae2a5a23a9ccd8d6bf86076 - * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files): Revert 692bce5b9eccfae19ae2a5a23a9ccd8d6bf86076, `delete-dups' does not exist in XEmacs 21.4. 2015-10-28 Anders Lindgren - Fixed OS X startup crash. + Fixed OS X startup crash Input events started to arrive before ns_term_init() was finished. - Solved by blocking input. This also seems to correct the "You + Solved by blocking input. This also seems to correct the "You can't open the application "Emacs" because it may be damaged or incomplete" error issued when double-clicking on the Emacs application. @@ -492,8 +460,7 @@ 2015-10-28 Artur Malabarba - * src/process.c (Fget_buffer_process): Improve docstring - + * src/process.c (Fget_buffer_process): Improve docstring. Document the fact that it doesn't return dead processes. 2015-10-28 Anders Lindgren @@ -526,8 +493,8 @@ Prettify TeX macros not ending in a word char - * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p): Prettify - macros which don't end in a word character. + * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p): + Prettify macros which don't end in a word character. 2015-10-27 Dmitry Gutov @@ -540,15 +507,14 @@ 2015-10-27 Stefan Monnier - * lisp/net/tramp-smb.el: Avoid using `add-to-list' on a let-local var + * lisp/net/tramp-smb.el: Avoid using `add-to-list' on a let-local var. + (tramp-smb-handle-directory-files): Use `delete-dups'. - * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files): Use `delete-dups'. * lisp/net/tramp.el (auto-save-file-name-transforms): Declare. 2015-10-27 Stefan Monnier - * lisp/international/ccl.el: Use lexical-binding - + * lisp/international/ccl.el: Use lexical-binding. (ccl-compile-if): Remove unused var `false-ic'. (ccl-compile-write-repeat): Remove unused var `i'. (ccl-compile-map-single): Remove unused var `id'. @@ -557,18 +523,17 @@ 2015-10-27 Stefan Monnier - * lisp/json.el (json-new-object): Optimize trivial `list' call + * lisp/json.el (json-new-object): Optimize trivial `list' call. 2015-10-27 Stefan Monnier - * lisp/help.el: Fix bug with incorrect arglist string - - (help-add-fundoc-usage): Don't mistake a mis-formatted string for a list. + * lisp/help.el: Fix bug with incorrect arglist string. + (help-add-fundoc-usage): Don't mistake a mis-formatted string + for a list. 2015-10-27 Stefan Monnier - * lisp/gnus/gnus-topic.el: Silence some warnings - + * lisp/gnus/gnus-topic.el: Silence some warnings. (gnus-topic-prepare-topic): Remove unused var `topic'. (gnus-topic-remove-topic): Mark unused arg `hide'. (gnus-tmp-header): Declare. @@ -581,13 +546,13 @@ Minor CEDET fixes - * lisp/cedet/cedet-global.el (cedet-gnu-global-gtags-call): Handle - warnings from gtags about invalid options. + * lisp/cedet/cedet-global.el (cedet-gnu-global-gtags-call): + Handle warnings from gtags about invalid options. (cedet-gnu-global-create/update-database): Do incremental update properly. - * lisp/cedet/ede/generic.el (ede-enable-generic-projects): Get monotone - root right. + * lisp/cedet/ede/generic.el (ede-enable-generic-projects): + Get monotone root right. 2015-10-27 Michael Albinus @@ -610,7 +575,7 @@ 2015-10-27 Nicolas Petton - Use a plain svg file for the icon + Use a plain SVG file for the icon * etc/images/icons/hicolor/scalable/apps/emacs.svg: Use a plain SVG format instead of the Inkscape SVG format. @@ -629,18 +594,18 @@ * lisp/emacs-lisp/seq.el: Better docstrings. - * lisp/emacs-lisp/seq.el: Rename all seq argumentss to sequence. + * lisp/emacs-lisp/seq.el: Rename all seq arguments to sequence. 2015-10-26 Phillip Lord - * lisp/emacs-lisp/ert.el: Print results without newline escaping + * lisp/emacs-lisp/ert.el: Print results without newline escaping. 2015-10-26 Stephen Leake Clarify that load-path contents should be directory file names * doc/lispref/files.texi (Directory Names): Define and use "directory - file name". Recommend `expand-file-name'. + file name". Recommend `expand-file-name'. * src/lread.c (load-path): Fix doc string; elements are directory file names. @@ -649,14 +614,13 @@ Fix simple-test.el test - * test/automated/simple-test.el (simple-test--dummy-buffer): Make - sure indentation doesn't use TABs, otherwise the 6th test might - fail. + * test/automated/simple-test.el (simple-test--dummy-buffer): + Make sure indentation doesn't use TABs, otherwise the 6th test + might fail. 2015-10-26 Mark Oteiza * lisp/net/eww.el (eww-bookmark-prepare): Use truncate-string-to-width. - `substring' does not account for full width characters. 2015-10-26 Michael Albinus @@ -683,7 +647,7 @@ 2015-10-26 Artur Malabarba - * src/keyboard.c (post-command-hook): Shorten docstring + * src/keyboard.c (post-command-hook): Shorten docstring. 2015-10-26 Tassilo Horn @@ -694,42 +658,36 @@ 2015-10-25 Artur Malabarba - * lisp/isearch.el (search-default-regexp-mode): Revert to nil - + * lisp/isearch.el (search-default-regexp-mode): Revert to nil. Character-fold search _still_ doesn't play well with lax-whitespace. So disable it by default (again) for now. 2015-10-25 Artur Malabarba - * lisp/isearch.el: No visual feedback for default search mode - + * lisp/isearch.el: No visual feedback for default search mode. During an isearch where character-folding is the default, we don't want to take up minibuffer space just to tell the user that "Char-fold " is on. The same goes for other modes, if the user changes the default. In contrast, if the user toggles OFF the default mode, they should see "Literal", to distinguish it from the default mode. - (isearch--describe-regexp-mode): Return "" if describing the default mode, and return "literal " if describing a plain search and it is not default. 2015-10-25 Artur Malabarba - * test/automated/simple-test.el: New file - + * test/automated/simple-test.el: New file. Define tests for `newline' and `open-line'. 2015-10-25 Artur Malabarba - * lisp/simple.el (open-line): Integrate with electric-indent-mode - + * lisp/simple.el (open-line): Integrate with electric-indent-mode. Also run `post-self-insert-hook' when called interactively. 2015-10-25 Artur Malabarba - * lisp/simple.el (open-line): Fix docstring - + * lisp/simple.el (open-line): Fix docstring. Also explain apparently redundant line. 2015-10-25 Thomas Fitzsimmons @@ -737,111 +695,113 @@ Sync with soap-client repository, version 3.0.1 - * soap-client.el, soap-inspect.el: Bump version to 3.0.1. + * lisp/net/soap-client.el, lisp/net/soap-inspect.el: + Bump version to 3.0.1. - * soap-client.el, soap-inspect.el: Update home page. + * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Update home page. - * soap-client.el, soap-inspect.el: Bump version to 3.0.0. + * lisp/net/soap-client.el, lisp/net/soap-inspect.el: + Bump version to 3.0.0. - * soap-inspect.el: Merge in changes from Emacs master branch. + * lisp/net/soap-inspect.el: Merge in changes from Emacs master branch. - * soap-client.el: Merge in changes from Emacs master branch. + * lisp/net/soap-client.el: Merge in changes from Emacs master branch. - * soap-inspect.el: Shorten first line description. + * lisp/net/soap-inspect.el: Shorten first line description. - * soap-client.el: Make a small whitespace fix. + * lisp/net/soap-client.el: Make a small whitespace fix. - * soap-inspect.el: Update copyright years. + * lisp/net/soap-inspect.el: Update copyright years. - * soap-client.el (soap-encoded-namespaces): Move above first use - in soap-encode-xs-element. + * lisp/net/soap-client.el (soap-encoded-namespaces): Move above + first use in soap-encode-xs-element. - * soap-client.el (soap-type-is-array?): new defun + * lisp/net/soap-client.el (soap-type-is-array?): new defun (soap-encode-xs-element): handle array elements in this function (soap-encode-xs-complex-type): flag error if asked to encode an array type, this is handled in `soap-encode-xs-element' - * soap-inspect.el (soap-inspect-xs-attribute-group): Do not print - type for attribute group. + * lisp/net/soap-inspect.el (soap-inspect-xs-attribute-group): + Do not print type for attribute group. - * soap-inspect.el (soap-sample-value-for-xs-attribute-group): New - function. + * lisp/net/soap-inspect.el (soap-sample-value-for-xs-attribute-group) + New function. (soap-inspect-xs-attribute-group): Likewise. - * soap-inspect.el + * lisp/net/soap-inspect.el (soap-resolve-references-for-xs-attribute-group): Resolve references of attributes in an attribute group. - * soap-client.el (soap-decode-xs-attributes): Process attribute + * lisp/net/soap-client.el (soap-decode-xs-attributes): Process attribute type directly, not through soap-wsdl-get. - * soap-client.el (soap-xs-parse-attribute): Leave reference nil if - reference attribute is nil. + * lisp/net/soap-client.el (soap-xs-parse-attribute): Leave reference + nil if reference attribute is nil. - * soap-client.el (soap-resolve-references-for-xs-attribute): + * lisp/net/soap-client.el (soap-resolve-references-for-xs-attribute): Convert XML schema attributes to xsd:string. - * soap-inspect.el (soap-sample-value-for-xs-attribute): New - function. - (soap-sample-value-for-xs-simple-type): Prepend attributes to - result. + * lisp/net/soap-inspect.el (soap-sample-value-for-xs-attribute): + New function. + (soap-sample-value-for-xs-simple-type): Prepend attributes to result. (soap-sample-value-for-xs-complex-type): Likewise. (soap-inspect-xs-attribute): New function. (soap-inspect-xs-simple-type): Print attributes. (soap-inspect-xs-complex-type): Likewise. - * soap-inspect.el (soap-resolve-references-for-xs-simple-type): + * lisp/net/soap-inspect.el (soap-resolve-references-for-xs-simple-type): Resolve references for attributes. (soap-resolve-references-for-xs-complex-type): Likewise. - * soap-client.el (soap-xml-node-find-matching-child): Rename from - soap-xml-node-first-child. + * lisp/net/soap-client.el (soap-xml-node-find-matching-child): + Rename from soap-xml-node-first-child. (soap-xs-parse-attribute): Call soap-xml-node-find-matching-child. (soap-xs-parse-simple-type): Likewise. - * soap-client.el (soap-invoke-async): Add error checking. + * lisp/net/soap-client.el (soap-invoke-async): Add error checking. - * soap-client.el (soap-invoke-internal): New function. + * lisp/net/soap-client.el (soap-invoke-internal): New function. (soap-invoke-async): Call soap-invoke-internal. (soap-invoke): Likewise. - * soap-client.el (soap-invoke-async): Ensure buffer passed to + * lisp/net/soap-client.el (soap-invoke-async): Ensure buffer passed to url-retrieve callback is killed. - * soap-client.el (soap-parse-wsdl-phase-validate-node): Rename - function. + * lisp/net/soap-client.el (soap-parse-wsdl-phase-validate-node): + Rename function. (soap-parse-wsdl-phase-fetch-imports): Likewise. (soap-parse-wsdl-phase-parse-schema): Likewise. (soap-parse-wsdl-phase-fetch-schema): Likewise. (soap-parse-wsdl-phase-finish-parsing): Likewise. (soap-parse-wsdl): Update calls. - * soap-client.el (soap-invoke-async): Fix callback invocation. + * lisp/net/soap-client.el (soap-invoke-async): Fix callback invocation. - * soap-client.el (soap-invoke-async): New function. + * lisp/net/soap-client.el (soap-invoke-async): New function. (soap-invoke): Reimplement using soap-invoke-async. - * soap-client.el (soap-parse-server-response): Improve docstring. + * lisp/net/soap-client.el (soap-parse-server-response): + Improve docstring. (soap-invoke): Inline call to soap-parse-server-response. - * soap-client.el (soap-decode-xs-complex-type): Prevent incorrect - warning. + * lisp/net/soap-client.el (soap-decode-xs-complex-type): + Prevent incorrect warning. - * soap-client.el (soap-parse-server-response): Rename - soap-process-url-response. Destroy the mime part. + * lisp/net/soap-client.el (soap-parse-server-response): + Rename soap-process-url-response. Destroy the mime part. (soap-invoke): Call soap-parse-server-response. - * soap-client.el: Update copyright date. + * lisp/net/soap-client.el: Update copyright date. - * soap-client.el: Fix checkdoc issues. + * lisp/net/soap-client.el: Fix checkdoc issues. - * soap-client.el: Fix indentation and long lines. + * lisp/net/soap-client.el: Fix indentation and long lines. - * soap-client.el (soap-time-format): Remove variable. + * lisp/net/soap-client.el (soap-time-format): Remove variable. (soap-encode-xs-basic-type): Simplify date-time format detection. (soap-decode-xs-basic-type): Remove soap-time-format support. - * soap-client.el (soap-process-url-response): New function. + * lisp/net/soap-client.el (soap-process-url-response): New function. (soap-fetch-xml-from-url): Call soap-process-url-response. (soap-parse-wsdl-phase-1): New function. (soap-parse-wsdl-phase-2): Likewise. @@ -850,18 +810,18 @@ (soap-parse-wsdl-phase-5): Likewise. (soap-parse-wsdl): Call phase functions. - * soap-client.el (soap-decode-xs-basic-type): Remove one-argument - and call. + * lisp/net/soap-client.el (soap-decode-xs-basic-type): + Remove one-argument and call. - * soap-client.el (soap-decode-date-time): Improve docstring. + * lisp/net/soap-client.el (soap-decode-date-time): Improve docstring. - * soap-client.el (soap-xmlschema-imports): Remove variable. + * lisp/net/soap-client.el (soap-xmlschema-imports): Remove variable. (soap-parse-schema): Add wsdl argument. Look up XML schema imports from wsdl. (soap-load-wsdl): Do not set soap-xmlschema-imports. (soap-parse-wsdl): Get XML schema imports from wsdl. - * soap-client.el (soap-current-file): Remove variable. + * lisp/net/soap-client.el (soap-current-file): Remove variable. (soap-wsdl): Add current-file slot. (soap-fetch-xml-from-url): Add wsdl argument. Look up current file from wsdl. @@ -870,7 +830,7 @@ (soap-load-wsdl): Always create wsdl object first. (soap-parse-wsdl): Pass wsdl to soap-fetch-xml. - * soap-client.el (soap-xs-element): Add is-group slot. + * lisp/net/soap-client.el (soap-xs-element): Add is-group slot. (soap-xs-parse-element): Set is-group slot. (soap-resolve-references-for-xs-element): Skip is-group elements. (soap-xs-complex-type): Add is-group slot. @@ -880,15 +840,17 @@ from referenced xsd:group nodes. (soap-parse-schema): Parse xsd:group nodes. - * soap-client.el (soap-invoke): Don't set url-http-version to 1.0. + * lisp/net/soap-client.el (soap-invoke): + Don't set url-http-version to 1.0. - * soap-client.el (soap-decode-xs-complex-type): Allow choice nodes - to accept multiple values. + * lisp/net/soap-client.el (soap-decode-xs-complex-type): + Allow choice nodes to accept multiple values. - * soap-client.el (soap-encode-body): Check parameters argument for - extra header values. + * lisp/net/soap-client.el (soap-encode-body): Check parameters argument + for extra header values. - * soap-client.el (soap-well-known-xmlns): Add wsa and wsaw tags. + * lisp/net/soap-client.el (soap-well-known-xmlns): + Add wsa and wsaw tags. (soap-operation): Add input-action and output-action slots. (soap-parse-operation): Parse wsaw:Action nodes. (soap-encode-body): Encode service-url for WS-Addressing. @@ -896,67 +858,67 @@ (soap-invoke): Update soap-create-envelope call to provide service-url argument. - * soap-client.el (soap-decode-xs-complex-type): Support xsi:type - override attribute. + * lisp/net/soap-client.el (soap-decode-xs-complex-type): + Support xsi:type override attribute. (soap-decode-array): Likewise. - * soap-client.el (soap-parse-schema): Handle location attribute. + * lisp/net/soap-client.el (soap-parse-schema): + Handle location attribute. - * soap-client.el (soap-decode-type): Check that multiRef matched - validation regexp. + * lisp/net/soap-client.el (soap-decode-type): Check that multiRef + matched validation regexp. - * soap-client.el (soap-encode-xs-simple-type): Encode xsd:list - nodes. + * lisp/net/soap-client.el (soap-encode-xs-simple-type): + Encode xsd:list nodes. (soap-decode-xs-simple-type): Decode xsd:list nodes. - * soap-client.el (soap-get-candidate-elements): Fix reference - handling. + * lisp/net/soap-client.el (soap-get-candidate-elements): + Fix reference handling. - * soap-client.el (soap-xs-simple-type): Add is-list slot. - (soap-xs-parse-simple-type): Call soap-xs-add-list for xsd:list - nodes. + * lisp/net/soap-client.el (soap-xs-simple-type): Add is-list slot. + (soap-xs-parse-simple-type): Call soap-xs-add-list for xsd:list nodes. (soap-xs-add-list): New function. - * soap-client.el (soap-encode-xs-element): When a boolean is + * lisp/net/soap-client.el (soap-encode-xs-element): When a boolean is expected, interpret nil as "false". - * soap-client.el (soap-make-xs-basic-types): Add gYearMonth, + * lisp/net/soap-client.el (soap-make-xs-basic-types): Add gYearMonth, gYear, gMonthDay, gDay and gMonth. - * soap-client.el (soap-time-format): New variable. + * lisp/net/soap-client.el (soap-time-format): New variable. (soap-encode-xs-basic-type): Handle dateTime, time, date, gYearMonth, gYear, gMonthDay, gDay and gMonth. (soap-decode-date-time): New function. (soap-decode-xs-basic-type): Use soap-decode-date-time. - * soap-client.el (soap-encode-xs-basic-type): Validate value after - encoding. + * lisp/net/soap-client.el (soap-encode-xs-basic-type): Validate value + after encoding. (soap-decode-xs-basic-type): Validate value before decoding. - * soap-client.el (soap-validate-xs-basic-type): New function. + * lisp/net/soap-client.el (soap-validate-xs-basic-type): New function. (soap-validate-xs-simple-type): Call soap-validate-xs-basic-type. - * soap-client.el (soap-xs-add-union): Append result to base + * lisp/net/soap-client.el (soap-xs-add-union): Append result to base instead of overwriting it. (soap-validate-xs-simple-type): Add union support. - * soap-client.el (soap-xs-add-restriction): Translate pattern to - Emacs regexp using xsdre-translate. + * lisp/net/soap-client.el (soap-xs-add-restriction): Translate pattern + to Emacs regexp using xsdre-translate. (soap-validate-xs-simple-type): Validate value against pattern. - * soap-client.el (soap-xs-add-union): Preserve WSDL order of + * lisp/net/soap-client.el (soap-xs-add-union): Preserve WSDL order of inline simpleType nodes. (soap-decode-type): Handle union types. - * soap-client.el (soap-decode-xs-attributes): Decode basic-type + * lisp/net/soap-client.el (soap-decode-xs-attributes): Decode basic-type attributes. - * soap-client.el (soap-get-xs-attributes-from-groups): renamed + * lisp/net/soap-client.el (soap-get-xs-attributes-from-groups): Rename from soap-xs-attribute-group-consolidate, all callers updated - (soap-get-xs-attributes): renamed from + (soap-get-xs-attributes): Rename from soap-xs-attributes-consolidate, all callers updated - * soap-client.el (soap-xs-type): Add attribute-group slot. + * lisp/net/soap-client.el (soap-xs-type): Add attribute-group slot. (soap-xs-attribute-group): New type. (soap-xs-parse-attribute-group): New function. (soap-resolve-references-for-xs-attribute-group): Likewise. @@ -969,36 +931,34 @@ (soap-xs-attributes-consolidate): Handle attribute groups. (soap-parse-schema): Likewise. - * soap-client.el (soap-encode-xs-basic-type): Fix boolean - encoding. + * lisp/net/soap-client.el (soap-encode-xs-basic-type): + Fix boolean encoding. - * soap-client.el (soap-encode-xs-complex-type): Print ref element - names in warnings. + * lisp/net/soap-client.el (soap-encode-xs-complex-type): Print ref + element names in warnings. - * soap-client.el (soap-decode-xs-complex-type): Fix splicing. + * lisp/net/soap-client.el (soap-decode-xs-complex-type): Fix splicing. - * soap-client.el (soap-decode-xs-complex-type): Eliminate invalid - warnings for choice types. + * lisp/net/soap-client.el (soap-decode-xs-complex-type): + Eliminate invalid warnings for choice types. - * soap-client.el (soap-encode-xs-complex-type-attributes): Also - encode base type attributes. + * lisp/net/soap-client.el (soap-encode-xs-complex-type-attributes): + Also encode base type attributes. - * soap-client.el (soap-encode-xs-complex-type): Fix compilation + * lisp/net/soap-client.el (soap-encode-xs-complex-type): Fix compilation warning. Print e-name in warnings, or element if e-name is nil. - * soap-client.el (soap-xs-element): Add alternatives slot. + * lisp/net/soap-client.el (soap-xs-element): Add alternatives slot. (soap-xs-parse-element): Set substitution-group. - (soap-resolve-references-for-xs-element): Populate alternatives - slot. + (soap-resolve-references-for-xs-element): Populate alternatives slot. (soap-get-candidate-elements): New function. - (soap-encode-xs-complex-type): Iterate through all candidate - elements. Handle types with nil type indicator. Fix warning - logic. + (soap-encode-xs-complex-type): Iterate through all candidate elements. + Handle types with nil type indicator. Fix warning logic. - * soap-client.el (soap-current-wsdl): moved declaration earlier in - the file to prevent compiler warning. + * lisp/net/soap-client.el (soap-current-wsdl): Move declaration + earlier in the file to prevent compiler warning. - * soap-client.el (soap-node-optional): New function. + * lisp/net/soap-client.el (soap-node-optional): New function. (soap-node-multiple): Likewise. (soap-xs-parse-element): Call soap-node-optional and soap-node-multiple. @@ -1009,44 +969,41 @@ (soap-xs-complex-type-multiple-p): Likewise. (soap-xs-attributes-consolidate): Likewise. (soap-decode-xs-attributes): Likewise. - (soap-decode-xs-complex-type): Decode types with nil type - indicator. Support children that use local namespaces. Decode - attributes. Add type considerations to optional? and multiple? - warnings. - - * soap-client.el (soap-xs-parse-extension-or-restriction): Store - parsed attributes. - (soap-encode-xs-complex-type-attributes): Encode custom - attributes. + (soap-decode-xs-complex-type): Decode types with nil type indicator. + Support children that use local namespaces. Decode attributes. + Add type considerations to optional? and multiple? warnings. + + * lisp/net/soap-client.el (soap-xs-parse-extension-or-restriction): + Store parsed attributes. + (soap-encode-xs-complex-type-attributes): Encode custom attributes. - * soap-client.el (soap-encode-xs-complex-type-attributes): don't - add the xsi:type attribute (Exchange refuses requests which have - this attribute) + * lisp/net/soap-client.el (soap-encode-xs-complex-type-attributes): + Don't add the xsi:type attribute (Exchange refuses requests which have + this attribute). - * soap-client.el, soap-inspect.el: converted to lexical binding, - corrected compiler warnings about unused function arguments and + * lisp/net/soap-client.el, soap-inspect.el: Convert to lexical binding, + correct compiler warnings about unused function arguments and local variables. - * soap-client.el (soap-decode-xs-complex-type): Handle nil type - indicator. + * lisp/net/soap-client.el (soap-decode-xs-complex-type): Handle nil + type indicator. (soap-parse-envelope): Handle response headers. - (soap-parse-response): Likewise. Only return non-nil decoded - values. + (soap-parse-response): Likewise. Only return non-nil decoded values. - * soap-client.el (soap-validate-xs-simple-type): Return validated - value. + * lisp/net/soap-client.el (soap-validate-xs-simple-type): + Return validated value. - * soap-client.el (soap-xs-parse-element) + * lisp/net/soap-client.el (soap-xs-parse-element) (soap-xs-parse-simple-type) (soap-xs-parse-complex-type) (soap-parse-message) - (soap-parse-operation): add the current namespace to the element - being created + (soap-parse-operation): Add the current namespace to the element + being created. (soap-resolve-references-for-xs-element) (soap-resolve-references-for-xs-simple-type) (soap-resolve-references-for-xs-complex-type) - (soap-resolve-references-for-operation): resolve the namespace to - the namespace tag + (soap-resolve-references-for-operation): Resolve the namespace to + the namespace tag. (soap-make-wsdl): specify a namespace tag when creating the xsd and soapenc namespaces (soap-wsdl-resolve-references): don't update namespace tags in @@ -1055,85 +1012,86 @@ (soap-encode-body): don't add nil namespace tags to soap-encoded-namespaces - * soap-inspect.el: use `soap-make-wsdl` to construct the object - for registering the soap-inspect method.Make debbugs tests pass - * soap-client.el (soap-decode-any-type): use soap-l2fq on the type - name, also skip string only nodes when decoding a structure. - (soap-xs-parse-complex-type): (BUG) dispatch parsing for choice - types too - (soap-encode-body): grab the header value from the param table - - * soap-client.el (soap-should-encode-value-for-xs-element): new - function - (soap-encode-xs-element): don't encode nil value unless needed - - * soap-client.el (soap-bound-operation): new slot `soap-body` - (soap-parse-binding): parse the message parts required in the body - (soap-encode-body): encode only the parts that are declared to be - part of the body - - * soap-client.el (soap-encode-xs-element): use the fq name when - writing out the tag. - (soap-encode-body): remove hack that inserts the xmlns in the + * lisp/net/soap-inspect.el: Use `soap-make-wsdl` to construct the object + for registering the soap-inspect method. Make debbugs tests pass. + * lisp/net/soap-client.el (soap-decode-any-type): Use soap-l2fq on the + type name, also skip string only nodes when decoding a structure. + (soap-xs-parse-complex-type): (BUG) Dispatch parsing for choice + types too. + (soap-encode-body): Grab the header value from the param table. + + * lisp/net/soap-client.el (soap-should-encode-value-for-xs-element): + New function. + (soap-encode-xs-element): Don't encode nil value unless needed. + + * lisp/net/soap-client.el (soap-bound-operation): New slot `soap-body`. + (soap-parse-binding): Parse the message parts required in the body. + (soap-encode-body): Encode only the parts that are declared to be + part of the body. + + * lisp/net/soap-client.el (soap-encode-xs-element): use the fq name + when writing out the tag. + (soap-encode-body): Remove hack that inserts the xmlns in the element attributes list. - * soap-client.el (soap-xs-attribute): add "default" slot - (soap-xs-parse-attribute): default slot is set from the XML + * lisp/net/soap-client.el (soap-xs-attribute): Add "default" slot. + (soap-xs-parse-attribute): Default slot is set from the XML "fixed" attribute. - (soap-encode-xs-complex-type-attributes): encode any attributes + (soap-encode-xs-complex-type-attributes): Encode any attributes that have a default value. Also, don't put the xsi:nil attribute when the complex type has no content anyway. - * soap-client.el (soap-well-known-xmlns): add the xml namespace - (soap-local-xmlns): start with the xml namespace - (soap-xml-node-first-child): skip xsd:annotation nodes too - (soap-make-xs-basic-types): more xsd types added - (soap-encode-xs-basic-type, soap-decode-xs-basic-type): handle - "language", "time", "date", "nonNegativeInteger" - (soap-resolve-references-for-xs-element): don't signal an error if + * lisp/net/soap-client.el (soap-well-known-xmlns): + Add the xml namespace. + (soap-local-xmlns): Start with the xml namespace. + (soap-xml-node-first-child): Skip xsd:annotation nodes too. + (soap-make-xs-basic-types): More xsd types added. + (soap-encode-xs-basic-type, soap-decode-xs-basic-type): + Handle "language", "time", "date", "nonNegativeInteger". + (soap-resolve-references-for-xs-element): Don't signal an error if the element does not have a type. - (soap-xs-parse-simple-type): subtypes are handled with ecase, - added stum for xsd:list - (soap-xs-add-union): call soap-l2fq on all union members - (soap-xs-add-extension): call soap-l2fq on the base member - (soap-resolve-references-for-xs-simple-type): don't signal an + (soap-xs-parse-simple-type): Subtypes are handled with ecase, + added stum for xsd:list. + (soap-xs-add-union): Call soap-l2fq on all union members. + (soap-xs-add-extension): Call soap-l2fq on the base member. + (soap-resolve-references-for-xs-simple-type): Don't signal an error if the simple type has no base. - (soap-resolve-references-for-xs-simple-type): bugfix, call - soap-wsdl-get on each type of the base + (soap-resolve-references-for-xs-simple-type): Bugfix, call + soap-wsdl-get on each type of the base. - * soap-client.el (soap-resolve-references-for-xs-attribute): - referenced type can be eiher a simple type or a basic type + * lisp/net/soap-client.el (soap-resolve-references-for-xs-attribute): + Referenced type can be eiher a simple type or a basic type. (soap-xs-add-restriction) - (soap-xs-parse-extension-or-restriction): use `soap-l2fq' on base + (soap-xs-parse-extension-or-restriction): Use `soap-l2fq' on base. (soap-make-xs-basic-types) - (soap-encode-xs-basic-type, soap-decode-xs-basic-type): add - support for more XMLSchema basic types - (soap-current-file, soap-xmlschema-imports): new defvars - (soap-parse-schema): add locations from xsd:import tags to - `soap-xmlschema-imports' - (soap-wsdl): make destructor private - (soap-make-wsdl): new defun, SOAP-WSDL object constructor - (soap-wsdl-add-alias): check if we try to replace aliases + (soap-encode-xs-basic-type, soap-decode-xs-basic-type): + Add support for more XMLSchema basic types. + (soap-current-file, soap-xmlschema-imports): New defvars. + (soap-parse-schema): Add locations from xsd:import tags to + `soap-xmlschema-imports'. + (soap-wsdl): Make destructor private. + (soap-make-wsdl): New defun, SOAP-WSDL object constructor. + (soap-wsdl-add-alias): Check if we try to replace aliases. (soap-fetch-xml-from-url, soap-fetch-xml-from-file) - (soap-fetch-xml): new defuns - (soap-load-wsdl): updated to load the WSDL from either a file or - an url - (soap-load-wsdl-from-url): now an alias to `soap-load-wsdl' - (soap-parse-wsdl): process wsdl:import tags and imports from - `soap-xmlschema-imports' - * soap-client.el (soap-l2wk): bugfix: call symbolp instead of - symbol-name - (soap-l2fq): make the name part always a string - (soap-name-p): new defun, used for name tests - - * soap-inspect.el (soap-sample-value-for-xs-complex-type): supply - sample values for choice types with a special tag - * soap-client.el (soap-encode-xs-complex-type): handle anonymous - elements correctly - (soap-encode-value): accept nodes that have no namespace tag - - * soap-client.el (soap-invoke): encode the string for - `url-request-data' as UTF-8. Fixes issue 16 + (soap-fetch-xml): New defuns. + (soap-load-wsdl): Update to load the WSDL from either a file or + an url. + (soap-load-wsdl-from-url): Now an alias to `soap-load-wsdl'. + (soap-parse-wsdl): Process wsdl:import tags and imports from + `soap-xmlschema-imports'. + * lisp/net/soap-client.el (soap-l2wk): Bugfix: call symbolp instead of + symbol-name. + (soap-l2fq): Make the name part always a string. + (soap-name-p): New defun, used for name tests. + + * lisp/net/soap-inspect.el (soap-sample-value-for-xs-complex-type): + Supply sample values for choice types with a special tag. + * lisp/net/soap-client.el (soap-encode-xs-complex-type): + Handle anonymous elements correctly. + (soap-encode-value): Accept nodes that have no namespace tag. + + * lisp/net/soap-client.el (soap-invoke): Encode the string for + `url-request-data' as UTF-8. Fixes issue 16. 2015-10-25 Eli Zaretskii @@ -1141,25 +1099,20 @@ 2015-10-25 Artur Malabarba - * src/keyboard.c (post-command-hook): Extend the docstring - + * src/keyboard.c (post-command-hook): Extend the docstring. Mainly, explain how to use it without hanging Emacs, or giving the impression that it is hanging. Also mention `pre-command-hook'. - (pre-command-hook): Mention `post-command-hook'. 2015-10-25 Artur Malabarba - * lisp/custom.el (custom-declare-variable): Shorten code again - - Without using pcase this time. We can't use pcase because it is loaded - after custom in loadup.el. Also add a comment explaining this to future - dummies like me. + * lisp/custom.el (custom-declare-variable): Shorten code again. + Without using pcase this time. We can't use pcase because it is + loaded after custom in loadup.el. Also add a comment explaining + this to future dummies like me. 2015-10-25 Michael Albinus - Document file notification `stopped' event - * doc/lispref/os.texi (File Notifications): Document `stopped event'. 2015-10-25 Michael Albinus @@ -1298,8 +1251,8 @@ Update frame title when scrolling the selected window - * src/window.c (wset_update_mode_line): New function, sets either the - window's update_mode_line flag or the global update_mode_lines + * src/window.c (wset_update_mode_line): New function, sets either + the window's update_mode_line flag or the global update_mode_lines variable. (Fset_window_start, set_window_buffer, window_scroll_pixel_based) (window_scroll_line_based): Call it instead of only setting the @@ -1311,7 +1264,7 @@ * src/window.c (set_window_buffer): If the window is the frame's selected window, set update_mode_lines, not the window's - update_mode_line flag. (Bug#21739) + update_mode_line flag. * src/buffer.c (Fkill_buffer): Undo last change. (set_update_modelines_for_buf): Function deleted. @@ -1400,7 +1353,7 @@ 2015-10-23 Michael Albinus - Fix Bug#21669 + Fix bug#21669 * lisp/filenotify.el (file-notify-rm-watch): Improve check for calling low-level functions. commit df660da45bbde075ac8990cdef73128a37413a41 Author: Michael Albinus Date: Sun Nov 1 13:43:35 2015 +0100 Improve completion in tramp-gvfs.el * lisp/net/tramp-gvfs.el (tramp-zeroconf-parse-device-names): Renamed from `tramp-zeroconf-parse-service-device-names'. (tramp-zeroconf-parse-webdav-device-names): Removed. Code merged with `tramp-zeroconf-parse-device-names'. (tramp-gvfs-parse-device-names): New defun. (top): Use it when `tramp-zeroconf-parse-device-names' is not applicable. * lisp/net/tramp.el (tramp-set-completion-function): The argument could also be a zeroconf service type. diff --git a/lisp/net/tramp-gvfs.el b/lisp/net/tramp-gvfs.el index b93c4cf..8683241 100644 --- a/lisp/net/tramp-gvfs.el +++ b/lisp/net/tramp-gvfs.el @@ -1722,14 +1722,7 @@ be used." ;; D-Bus zeroconf functions. -(defun tramp-zeroconf-parse-service-device-names (service) - "Return a list of (user host) tuples allowed to access." - (mapcar - (lambda (x) - (list nil (zeroconf-service-host x))) - (zeroconf-list-services service))) - -(defun tramp-zeroconf-parse-webdav-device-names (_ignore) +(defun tramp-zeroconf-parse-device-names (service) "Return a list of (user host) tuples allowed to access." (mapcar (lambda (x) @@ -1745,22 +1738,64 @@ be used." (setq user (match-string 1 (car text)))) (setq text (cdr text))) (list user host))) - (zeroconf-list-services "_webdav._tcp"))) + (zeroconf-list-services service))) + +(defun tramp-gvfs-parse-device-names (service) + "Return a list of (user host) tuples allowed to access. +This uses \"avahi-browse\" in case D-Bus is not enabled in Avahi." + (let ((result + (split-string + (shell-command-to-string (format "avahi-browse -trkp %s" service)) + "[\n\r]+" 'omit "^\\+;.*$"))) + (tramp-compat-delete-dups + (mapcar + (lambda (x) + (let* ((list (split-string x ";")) + (host (nth 6 list)) + (port (nth 8 list)) + (text (split-string (nth 9 list) "\" \"" 'omit "\"")) + user) +; (when (and port (not (string-equal port "0"))) +; (setq host (format "%s%s%s" host tramp-prefix-port-regexp port))) + ;; A user is marked in a TXT field like "u=guest". + (while text + (when (string-match "u=\\(.+\\)$" (car text)) + (setq user (match-string 1 (car text)))) + (setq text (cdr text))) + (list user host))) + result)))) ;; Add completion functions for AFP, DAV, DAVS, SFTP and SMB methods. -(when (and tramp-gvfs-enabled - (member zeroconf-service-avahi (dbus-list-known-names :system))) +(when tramp-gvfs-enabled (zeroconf-init tramp-gvfs-zeroconf-domain) - (tramp-set-completion-function - "afp" '((tramp-zeroconf-parse-service-device-names "_afpovertcp._tcp"))) - (tramp-set-completion-function - "dav" '((tramp-zeroconf-parse-webdav-device-names ""))) - (tramp-set-completion-function - "davs" '((tramp-zeroconf-parse-webdav-device-names ""))) - (tramp-set-completion-function - "sftp" '((tramp-zeroconf-parse-service-device-names "_workstation._tcp"))) - (tramp-set-completion-function - "smb" '((tramp-zeroconf-parse-service-device-names "_smb._tcp")))) + (if (zeroconf-list-service-types) + (progn + (tramp-set-completion-function + "afp" '((tramp-zeroconf-parse-device-names "_afpovertcp._tcp"))) + (tramp-set-completion-function + "dav" '((tramp-zeroconf-parse-device-names "_webdav._tcp"))) + (tramp-set-completion-function + "davs" '((tramp-zeroconf-parse-device-names "_webdav._tcp"))) + (tramp-set-completion-function + "sftp" '((tramp-zeroconf-parse-device-names "_ssh._tcp") + (tramp-zeroconf-parse-device-names "_workstation._tcp"))) + (when (member "smb" tramp-gvfs-methods) + (tramp-set-completion-function + "smb" '((tramp-zeroconf-parse-device-names "_smb._tcp"))))) + + (when (executable-find "avahi-browse") + (tramp-set-completion-function + "afp" '((tramp-gvfs-parse-device-names "_afpovertcp._tcp"))) + (tramp-set-completion-function + "dav" '((tramp-gvfs-parse-device-names "_webdav._tcp"))) + (tramp-set-completion-function + "davs" '((tramp-gvfs-parse-device-names "_webdav._tcp"))) + (tramp-set-completion-function + "sftp" '((tramp-gvfs-parse-device-names "_ssh._tcp") + (tramp-gvfs-parse-device-names "_workstation._tcp"))) + (when (member "smb" tramp-gvfs-methods) + (tramp-set-completion-function + "smb" '((tramp-gvfs-parse-device-names "_smb._tcp"))))))) ;; D-Bus SYNCE functions. diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 2f811bb..89aad07 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -1765,14 +1765,18 @@ Example: (setcdr v (delete (car v) (cdr v)))) ;; Check for function and file or registry key. (unless (and (functionp (nth 0 (car v))) - (if (string-match "^HKEY_CURRENT_USER" (nth 1 (car v))) - ;; Windows registry. - (and (memq system-type '(cygwin windows-nt)) - (zerop - (tramp-call-process - v "reg" nil nil nil "query" (nth 1 (car v))))) - ;; Configuration file. - (file-exists-p (nth 1 (car v))))) + (cond + ;; Windows registry. + ((string-match "^HKEY_CURRENT_USER" (nth 1 (car v))) + (and (memq system-type '(cygwin windows-nt)) + (zerop + (tramp-call-process + v "reg" nil nil nil "query" (nth 1 (car v)))))) + ;; Zeroconf service type. + ((string-match + "^_[[:alpha:]]+\\._[[:alpha:]]+$" (nth 1 (car v)))) + ;; Configuration file. + (t (file-exists-p (nth 1 (car v)))))) (setq r (delete (car v) r))) (setq v (cdr v))) commit 150066727c063e2f16ee617947d63ec8ca5793ca Author: Glenn Morris Date: Sun Nov 1 06:34:54 2015 -0500 ; Auto-commit of ChangeLog files. diff --git a/ChangeLog.2 b/ChangeLog.2 index 83798aa..c8c231f 100644 --- a/ChangeLog.2 +++ b/ChangeLog.2 @@ -1,3 +1,1182 @@ +2015-10-31 Thomas Fitzsimmons + + ntlm.el: Change version to 2.0.0 + +2015-10-31 Juanma Barranquero + + Fix bug#21762 + + * lisp/progmodes/python.el (python-syntax-closing-paren-p): Check with + `eql' instead of `=' to accommodate the case that (syntax-after (point)) + returns nil. + + * test/automated/python-tests.el (python-indent-inside-paren-7): + New test. + +2015-10-31 Juanma Barranquero + + * test/automated/python-tests.el: Avoid warnings + + (python-tests-with-temp-buffer, python-tests-with-temp-file): + Bind `python-indent-guess-indent-offset' to nil. + # Please enter the commit message for your changes. Lines starting + # with '#' will be ignored, and an empty message aborts the commit. + # On branch master + # Your branch is up-to-date with 'origin/master'. + # + # Changes to be committed: + # modified: test/automated/python-tests.el + # + +2015-10-31 Juanma Barranquero + + * src/alloc.c: Silence compiler warnings + + (pointers_fit_in_lispobj_p, mmap_lisp_allowed_p): #ifdef DOUG_LEA_MALLOC. + +2015-10-31 Jackson Ray Hamilton + + * etc/NEWS: Fix js-jsx-mode entry punctuation + +2015-10-31 Jackson Ray Hamilton + + Add JSX indentation via js-jsx-mode. (Bug#21799) + + * progmodes/js.el: Add JSX indentation support. + (js-jsx-indent-line) + (js-jsx-mode): New functions. + +2015-10-31 Michael Albinus + + Minor fix in filenotify.el + + * lisp/filenotify.el (file-notify--event-file-name) + (file-notify--event-file1-name): Normalize result with + `directory-file-name'. + +2015-10-31 Eli Zaretskii + + Avoid errors in redisplay--pre-redisplay-functions + + * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Don't + use 'bobp', instead compare window-point with 1. (Bug#21730) + +2015-10-30 Paul Eggert + + Merge from gnulib. + + This incorporates: + 2015-10-30 intprops: add WRAPV and const flavors for GCC 5 + 2015-10-25 stdalign: port to Sun C 5.9 + * doc/misc/texinfo.tex, lib/intprops.h, lib/stdalign.in.h: + Copy from gnulib. + +2015-10-30 Eli Zaretskii + + Fix a typo in a macro name + + * src/w32proc.c (_NLSCMPERROR): Fix a typo in the name of this macro. + (w32_compare_strings): Adjust for the correction. + +2015-10-30 Michael Albinus + + Add result messages in vc-tests.el + + * test/automated/vc-tests.el (vc-test--state) + (vc-test--working-revision, vc-test--checkout-model): Add result messages. + +2015-10-30 Artur Malabarba + + * test/automated/faces-tests.el: Add another test + +2015-10-30 Artur Malabarba + + * lisp/faces.el (faces--attribute-at-point): Fix bug + + introduced by previous commit. + +2015-10-30 Artur Malabarba + + * test/automated/faces-tests.el: New file + +2015-10-30 Artur Malabarba + + * lisp/faces.el: Refactor common code and fix a bug + + (faces--attribute-at-point): New function. Fix a bug when the + face at point is a list of faces and the desired attribute is not + on the first one. + (foreground-color-at-point, background-color-at-point): Use it. + +2015-10-30 Przemysław Wojnowski + + * etc/tutorials/TUTORIAL.translators: Fix PL names + +2015-10-30 Juanma Barranquero + + * lisp/character-fold.el: Provide `character-fold' + +2015-10-30 Tassilo Horn + + Add more faces for Gnus and ivy + + * etc/themes/tsdh-dark-theme.el (tsdh-dark): add more faces for Gnus and + ivy. + +2015-10-30 Michael Albinus + + Some minor fixes for tramp-gvfs.el + + * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes): + An attribute returned by gvfs-info might be empty. In case of + undetermined uid or gid, return "UNKNOWN" or -1, respectively. + (tramp-zeroconf-parse-service-device-names): New defun. + Derived from `tramp-zeroconf-parse-workstation-device-names'. + (top): Add completion functions for "afp" and "smb" methods. + +2015-10-30 Artur Malabarba + + * test/automated/character-fold-tests.el: New file + +2015-10-30 Artur Malabarba + + * test/automated/sort-tests.el: New file + + Tests in this file are randomly generated and then tested with + regular, reverse, and case-fold sorting. + +2015-10-30 Eli Zaretskii + + Describe known problems with pinning Emacs to taskbar + + * etc/PROBLEMS: Describe the problem with pinning Emacs to taskbar + on Windows 10. For the details, see the discussion starting at + http://lists.gnu.org/archive/html/help-emacs-windows/2015-09/msg00000.html. + +2015-10-30 Artur Malabarba + + * lisp/isearch.el: Avoid an error that blocks isearch + + (isearch-update): Don't error if `isearch--current-buffer' has + been killed. + + * test/automated/isearch-tests.el (isearch--test-update): New + file. + +2015-10-30 Phil Sainty + + Fix documentation of 'beginning/end-of-buffer' + + * lisp/simple.el (beginning-of-buffer, end-of-buffer): Clarify + conditions under which the mark will be pushed at the previous + position. (Bug#21748) + +2015-10-30 Tassilo Horn + + Add RefTeX feature idea: editing RefTeX TOC buffers + + More face defs for ivy, swiper, ace-window, eshell + +2015-10-29 Stefan Monnier + + * lisp/gnus/auth-source.el: Silence lexical-binding warnings + + (auth-source-netrc-use-gpg-tokens): Simplify (symbol-value 'VAR) to + just VAR. + (auth-source-backend-parse): Use make-instance. + (auth-source-search): Remove unused key args. + Remove unused vars `accessor-key' and `backend'. Avoid `eval'. + (auth-source-search-backends): Use slot names rather than their initarg. + (auth-source-netrc-create): + (auth-source-delete): + (auth-source-secrets-create, auth-source-plstore-search) + (auth-source-macos-keychain-create, auth-source-macos-keychain-search) + (auth-source-plstore-create, auth-source-netrc-search) + (auth-source-netrc-parse): Remove unused key args. + (auth-source-forget+): Simplify the arglist. + (auth-source-macos-keychain-search-items) + (auth-source-token-passphrase-callback-function): Mark unused args. + (auth-source-epa-extract-gpg-token): Remove unused var `plain'. + (pp-escape-newlines): Declare. + (auto-source--symbol-keyword): New function. + (auth-source-plstore-create, auth-source-netrc-create) + (auth-source-netrc-normalize): Use it. + (auth-source-netrc-search): Don't pass :delete to + auth-source-netrc-parse since it doesn't use it. + (auth-source-plstore-create, auth-source-netrc-create): Use plist-get + symbol-value to index in keyword args. + (auth-source-macos-keychain-result-append): Avoid setq. + (auth-source-netrc-create): Remove unused vars `file' and `add'. + (auth-source-user-or-password): Remove unused var `cname'. + +2015-10-29 Juri Linkov + + * lisp/dired.el (dired-unmark-all-files-query): Declare. + + (dired-unmark-all-files): Let-bind it and use instead of ‘query’. + (Bug#21746) + +2015-10-29 Juri Linkov + + * lisp/ielm.el (ielm-indent-line): Use non-nil arg of comint-bol + + to go to the beginning of text line instead of command line. + http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02360.html + +2015-10-29 Eli Zaretskii + + Fix encoding of saving *Help* buffers + + * lisp/help-fns.el (describe-function-1): If we use curved quotes, + set help buffer's buffer-file-coding-system to UTF-8. (Bug#21780) + +2015-10-29 Stefan Monnier + + * lisp/emacs-lisp/cl-generic.el: Add (major-mode MODE) context + + (cl--generic-derived-specializers): New function. + (cl--generic-derived-generalizer): New generalizer. + (cl-generic-generalizers): New specializer (derived-mode MODE). + (cl--generic-split-args): Apply the rewriter, if any. + (cl-generic-define-context-rewriter): New macro. + (major-mode): Use it to define a new context-rewriter, so we can write + `(major-mode MODE)' instead of `(major-mode (derived-mode MODE))'. + + * lisp/frame.el (window-system): New context-rewriter so we can write + `(window-system VAL)' instead of (window-system (eql VAL)). + (cl--generic-split-args): Apply the rewriter, if any. + (frame-creation-function): Use the new syntax. + + * lisp/term/x-win.el (window-system-initialization) + (handle-args-function, frame-creation-function) + (gui-backend-set-selection, gui-backend-selection-owner-p) + (gui-backend-selection-exists-p, gui-backend-get-selection): + * lisp/term/w32-win.el (window-system-initialization) + (handle-args-function, frame-creation-function) + (gui-backend-set-selection, gui-backend-get-selection) + (gui-backend-selection-owner-p, gui-backend-selection-exists-p): + * lisp/term/pc-win.el (gui-backend-get-selection) + (gui-backend-selection-exists-p, gui-backend-selection-owner-p) + (gui-backend-set-selection, window-system-initialization) + (frame-creation-function, handle-args-function): + * lisp/term/ns-win.el (window-system-initialization) + (handle-args-function, frame-creation-function) + (gui-backend-set-selection, gui-backend-selection-exists-p) + (gui-backend-get-selection): + * lisp/startup.el (handle-args-function): + * lisp/term/xterm.el (gui-backend-get-selection) + (gui-backend-set-selection): Use the new syntax. + +2015-10-29 Stefan Monnier + + * test/indent/css-mode.css: Add tests for url(...) syntax. + +2015-10-29 Stefan Monnier + + * lisp/emacs-lisp/smie.el: Use `declare' for `pure' + + (smie-precs->prec2, smie-merge-prec2s, smie-bnf->prec2, smie-prec2->grammar): + Use `declare'. + +2015-10-29 Stefan Monnier + + * lisp/emacs-lisp/cl-generic.el: Accomodate future changes + + (cl--generic-generalizer): Add `name' field. + (cl-generic-make-generalizer): Add corresponding `name' argument. + (cl-generic-define-generalizer): New macro. + (cl--generic-head-generalizer, cl--generic-eql-generalizer) + (cl--generic-struct-generalizer, cl--generic-typeof-generalizer) + (cl--generic-t-generalizer): Use it. + (cl-generic-ensure-function): Add `noerror' argument. + (cl-generic-define): Use it so we don't follow aliases. + (cl-generic-define-method): Preserve pre-existing ordering of methods. + (cl--generic-arg-specializer): New function. + (cl--generic-cache-miss): Use it. + (cl-generic-generalizers): Only fset a temporary definition + during bootstrap. + (cl--generic-struct-tag, cl--generic-struct-specializers): + Allow extra arguments. + + * lisp/emacs-lisp/eieio-compat.el (eieio--generic-static-symbol-generalizer) + (eieio--generic-static-object-generalizer): Use cl-generic-define-generalizer. + (eieio--generic-static-symbol-specializers): Allow extra arguments. + + * lisp/emacs-lisp/eieio-core.el (eieio--generic-generalizer) + (eieio--generic-subclass-generalizer): Use cl-generic-define-generalizer. + (eieio--generic-subclass-specializers): Allow extra arguments. + +2015-10-29 Stefan Monnier + + * lisp/emacs-lisp/bytecomp.el (compile-defun): Add defvars in scope. + +2015-10-29 Michael Albinus + + Add "afp" method to Tramp + + * doc/misc/tramp.texi (GVFS based methods): Describe `afp' method. + + * lisp/net/tramp-gvfs.el (tramp-gvfs-methods): Add "afp" method. + (tramp-gvfs-handle-expand-file-name) + (tramp-gvfs-handler-mounted-unmounted) + (tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec) + (tramp-gvfs-maybe-open-connection): Support also "afp". + (tramp-gvfs-handle-file-attributes): Handle the case of empty + "owner::user" and "owner::group" entries. + +2015-10-29 Andy Moreton + + Handle negative coordinates in ‘x_calc_absolute_position’ + + * src/w32term.c (x_calc_absolute_position): Find display origin to + allow for negative coordinates. + +2015-10-28 Stefan Monnier + + (internal--syntax-propertize): Save match-data here (bug#21766) + + * lisp/emacs-lisp/syntax.el (internal--syntax-propertize): Save match-data. + * lisp/simple.el (delete-trailing-whitespace): Undo last change. + +2015-10-28 Dmitry Gutov + + Don't require default-directory to end with a slash + + * doc/lispref/files.texi (Magic File Names): Document the change + in unhandled-file-name-directory. + + * lisp/url/url-handlers.el + (url-handler-unhandled-file-name-directory): Update accordingly. + + * src/buffer.c (default-directory): Update the docsting. + + * src/fileio.c (unhandled-file-name-directory): Default to calling + `file-name-as-directory' + (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02294.html). + +2015-10-28 Artur Malabarba + + * lisp/isearch.el: Delete some outdated comments + +2015-10-28 Vibhav Pant + + Fix eshell/clear not working if the output has a small line count + + * lisp/eshell/esh-mode.el: (eshell/clear): Use (window-size) as the + number of newlines to be inserted. This fixes the issue where + eshell/clear wouldn't work if the prompt was not at the bottom of the + window, and the output wasn't too long. + +2015-10-28 Stefan Monnier + + * lisp/files.el (write-file): Use vc-refresh-state. + + * lisp/autorevert.el (auto-revert-handler): Use vc-refresh-state. + + * lisp/vc/pcvs.el (cvs-revert-if-needed): Use vc-refresh-state. + +2015-10-28 Stefan Monnier + + * lisp/emacs-lisp/macroexp.el: Tweak macroexp-if optimizations + + (macroexp-unprogn): Make sure we never return an empty list. + (macroexp-if): Remove unused (and unsafe) optimization. + Optimize (if A T (if B T E)) into (if (or A B) T E) instead, which does + occur occasionally. + +2015-10-28 Juanma Barranquero + + Fix bug#21766 and add test + + * lisp/simple.el (delete-trailing-whitespace): Save match data when + calling `skip-syntax-backward'. + * test/automated/simple-test.el (simple-delete-trailing-whitespace): + New test. + +2015-10-28 Artur Malabarba + + * doc/lispref/sequences.texi (Sequence Functions): Fix typo + +2015-10-28 Paul Eggert + + * src/dispnew.c (init_display): Simplify overflow checking. + +2015-10-28 Artur Malabarba + + * lisp/character-fold.el (character-fold-to-regexp): Fix case + + where string ends in space + +2015-10-28 Artur Malabarba + + * lisp/emacs-lisp/seq.el (seq-mapn): New function + + * doc/lispref/sequences.texi (Sequence Functions): Document seq-mapn + +2015-10-28 Artur Malabarba + + * lisp/character-fold.el: Make compatible with lax-whitespace + + (character-fold-to-regexp): Rework internals to play nice with + lax-whitespacing. + + When the user types a space, we want to match the table entry for + ?\s, which is generally a regexp like "[ ...]". However, the + `search-spaces-regexp' variable doesn't "see" spaces inside these + regexp constructs, so we need to use "\\( \\|[ ...]\\)" instead (to + manually expose a space). + + Furthermore, the lax search engine acts on a bunch of spaces, not + on individual spaces, so if the string contains sequential spaces + like " ", we need to keep them grouped together like this: + "\\( \\|[ ...][ ...]\\)". + +2015-10-28 Artur Malabarba + + * lisp/isearch.el: Refactor momentary messages + + (isearch--momentary-message): New function. + (isearch-toggle-lax-whitespace, isearch-toggle-case-fold) + (isearch-toggle-invisible): Use it. + +2015-10-28 Artur Malabarba + + * lisp/isearch.el: Define all toggles with `isearch-define-mode-toggle' + + (isearch-define-mode-toggle): New macro. + (isearch-toggle-invisible): Renamed to + `isearch-define-mode-toggle'. + (isearch-toggle-case-fold, isearch-toggle-invisible) + (isearch-toggle-regexp, isearch-toggle-lax-whitespace): Define + with `isearch-define-mode-toggle'. + +2015-10-28 Michael Albinus + + Avoid using `add-to-list' on a let-local var in tramp-smb.el + + * lisp/net/tramp-compat.el (tramp-compat-delete-dups): New defun. + * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files): Use it. + +2015-10-28 Anders Lindgren + + Merge branch 'master' of /Volumes/HD2/build/emacs-git-ssh + + Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/emacs + + Merge branch 'master' of /Volumes/HD2/build/emacs-git-ssh + +2015-10-28 Michael Albinus + + Revert 692bce5b9eccfae19ae2a5a23a9ccd8d6bf86076 + + * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files): + Revert 692bce5b9eccfae19ae2a5a23a9ccd8d6bf86076, `delete-dups' + does not exist in XEmacs 21.4. + +2015-10-28 Anders Lindgren + + Fixed OS X startup crash. + + Input events started to arrive before ns_term_init() was finished. + Solved by blocking input. This also seems to correct the "You + can't open the application "Emacs" because it may be damaged or + incomplete" error issued when double-clicking on the Emacs + application. + + * nsterm.m (ns_constrain_all_frames, ns_init_term): Block input. + * nsterm.m (ns_send_appdefined, EmacsApp): Trace output. + +2015-10-28 Anders Lindgren + + Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/emacs + +2015-10-28 Artur Malabarba + + * src/process.c (Fget_buffer_process): Improve docstring + + Document the fact that it doesn't return dead processes. + +2015-10-28 Anders Lindgren + + Fix incorrect NextStep tool-bar-mode -- wrong number of rows in frame. + + * nsterm.h (struct ns_output): New flag, in_animation. + * nsfns.m (Fx_create_frame): Initialize in_animation flag. + * nsmenu.m (free_frame_tool_bar, update_frame_tool_bar): Set + in_animation flag around call to "setVisible". Set new tool bar + height before call to setVisible. + * nsterm.m (x_set_window_size): Don't call [view setRow: + andColumns:] as this fools the subsequent call to updateFrameSize + from performing the real resize. + (windowDidResize): Don't update anything when in_animation is + non-zero. + + Trace output. + + * nsmenu.m (free_frame_tool_bar, update_frame_tool_bar) + (EmacsToolbar): + * nsterm.m (x_set_window_size, updateFrameSize) + ([EmacsView setRows: andColumns:]) + +2015-10-28 Nicolas Petton + + * lisp/emacs-lisp/thunk.el (thunk-delay): Fix the macro. + +2015-10-28 Tassilo Horn + + Prettify TeX macros not ending in a word char + + * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p): Prettify + macros which don't end in a word character. + +2015-10-27 Dmitry Gutov + + Pipe Hg commit descriptions through 'tabindent' + + * lisp/vc/vc-hg.el (vc-hg-log-format): Pipe commit description + through 'tabindent'. + (vc-hg-log-view-mode): Set tab-width to 2 locally. + (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02259.html) + +2015-10-27 Stefan Monnier + + * lisp/net/tramp-smb.el: Avoid using `add-to-list' on a let-local var + + * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files): Use `delete-dups'. + * lisp/net/tramp.el (auto-save-file-name-transforms): Declare. + +2015-10-27 Stefan Monnier + + * lisp/international/ccl.el: Use lexical-binding + + (ccl-compile-if): Remove unused var `false-ic'. + (ccl-compile-write-repeat): Remove unused var `i'. + (ccl-compile-map-single): Remove unused var `id'. + (ccl-dump, ccl-dump-binary): Use explicit let-binding to bind the + dynamic var `ccl-code'. + +2015-10-27 Stefan Monnier + + * lisp/json.el (json-new-object): Optimize trivial `list' call + +2015-10-27 Stefan Monnier + + * lisp/help.el: Fix bug with incorrect arglist string + + (help-add-fundoc-usage): Don't mistake a mis-formatted string for a list. + +2015-10-27 Stefan Monnier + + * lisp/gnus/gnus-topic.el: Silence some warnings + + (gnus-topic-prepare-topic): Remove unused var `topic'. + (gnus-topic-remove-topic): Mark unused arg `hide'. + (gnus-tmp-header): Declare. + (gnus-topic-goto-missing-group): Remove unused var `entry'. + (gnus-topic-unmark-topic): Mark unused arg `dummy'. + (gnus-topic-copy-matching): Mark unused arg `copyp'. + Move initialization of `topic' into its declaration. + +2015-10-27 Stephen Leake + + Minor CEDET fixes + + * lisp/cedet/cedet-global.el (cedet-gnu-global-gtags-call): Handle + warnings from gtags about invalid options. + (cedet-gnu-global-create/update-database): Do incremental update + properly. + + * lisp/cedet/ede/generic.el (ede-enable-generic-projects): Get monotone + root right. + +2015-10-27 Michael Albinus + + Fall back to polling in autorevert when needed + + * lisp/autorevert.el (auto-revert-notify-handler): When a + `stopped' event arrives from file notification, fall back to polling. + + * test/automated/file-notify-tests.el + (file-notify-test03-autorevert): Extend test for polling when file + notification ceases to work. + +2015-10-27 Dmitry Gutov + + Show full commit messages in 'hg log' when appropriate + + * lisp/vc/vc-hg.el (vc-hg-log-format): New variable. + (vc-hg-print-log, vc-hg-expanded-log-entry): Use it. + (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02191.html) + +2015-10-27 Nicolas Petton + + Use a plain svg file for the icon + + * etc/images/icons/hicolor/scalable/apps/emacs.svg: Use a plain SVG + format instead of the Inkscape SVG format. + +2015-10-27 Michael Albinus + + Fix subtle bug in auto-revert-tests.el + + * test/automated/auto-revert-tests.el + (auto-revert-test02-auto-revert-mode-dired): Narrow *Messages* + buffer where it belongs to. (Bug#21668) + +2015-10-26 Nicolas Petton + + * lisp/emacs-lisp/map.el: Better docstrings. + + * lisp/emacs-lisp/seq.el: Better docstrings. + + * lisp/emacs-lisp/seq.el: Rename all seq argumentss to sequence. + +2015-10-26 Phillip Lord + + * lisp/emacs-lisp/ert.el: Print results without newline escaping + +2015-10-26 Stephen Leake + + Clarify that load-path contents should be directory file names + + * doc/lispref/files.texi (Directory Names): Define and use "directory + file name". Recommend `expand-file-name'. + + * src/lread.c (load-path): Fix doc string; elements are directory file + names. + +2015-10-26 Eli Zaretskii + + Fix simple-test.el test + + * test/automated/simple-test.el (simple-test--dummy-buffer): Make + sure indentation doesn't use TABs, otherwise the 6th test might + fail. + +2015-10-26 Mark Oteiza + + * lisp/net/eww.el (eww-bookmark-prepare): Use truncate-string-to-width. + + `substring' does not account for full width characters. + +2015-10-26 Michael Albinus + + Further work on `stopped' events in filenotify.el + + * doc/lispref/os.texi (File Notifications): Rework examples. + + * lisp/filenotify.el (file-notify--rm-descriptor): Optional parameter. + (file-notify--rm-descriptor, file-notify-callback): Improve check + for sending `stopped' event. + (file-notify-add-watch): Check for more events for `inotify'. + + * test/automated/file-notify-tests.el + (file-notify--test-expected-events): New defvar. + (file-notify--test-with-events): Use it. + (file-notify--test-cleanup): Make it more robust when deleting + directories. + (file-notify--test-event-test): Check also for watched directories. + (file-notify--test-event-handler): Suppress temporary .#files. + (file-notify-test02-events, file-notify-test04-file-validity): + Rework `stopped' events. + (file-notify-test05-dir-validity): Wait for events when appropriate. + +2015-10-26 Artur Malabarba + + * src/keyboard.c (post-command-hook): Shorten docstring + +2015-10-26 Tassilo Horn + + Fix infinite loop in sh-script's SMIE code + + * lisp/progmodes/sh-script.el (sh-smie-sh-forward-token): Fix infinite + loop (bug#21747). + +2015-10-25 Artur Malabarba + + * lisp/isearch.el (search-default-regexp-mode): Revert to nil + + Character-fold search _still_ doesn't play well with + lax-whitespace. So disable it by default (again) for now. + +2015-10-25 Artur Malabarba + + * lisp/isearch.el: No visual feedback for default search mode + + During an isearch where character-folding is the default, we don't + want to take up minibuffer space just to tell the user that + "Char-fold " is on. The same goes for other modes, if the user + changes the default. In contrast, if the user toggles OFF the + default mode, they should see "Literal", to distinguish it from + the default mode. + + (isearch--describe-regexp-mode): Return "" if describing the + default mode, and return "literal " if describing a plain search + and it is not default. + +2015-10-25 Artur Malabarba + + * test/automated/simple-test.el: New file + + Define tests for `newline' and `open-line'. + +2015-10-25 Artur Malabarba + + * lisp/simple.el (open-line): Integrate with electric-indent-mode + + Also run `post-self-insert-hook' when called interactively. + +2015-10-25 Artur Malabarba + + * lisp/simple.el (open-line): Fix docstring + + Also explain apparently redundant line. + +2015-10-25 Thomas Fitzsimmons + Alexandru Harsanyi + + Sync with soap-client repository, version 3.0.1 + + * soap-client.el, soap-inspect.el: Bump version to 3.0.1. + + * soap-client.el, soap-inspect.el: Update home page. + + * soap-client.el, soap-inspect.el: Bump version to 3.0.0. + + * soap-inspect.el: Merge in changes from Emacs master branch. + + * soap-client.el: Merge in changes from Emacs master branch. + + * soap-inspect.el: Shorten first line description. + + * soap-client.el: Make a small whitespace fix. + + * soap-inspect.el: Update copyright years. + + * soap-client.el (soap-encoded-namespaces): Move above first use + in soap-encode-xs-element. + + * soap-client.el (soap-type-is-array?): new defun + (soap-encode-xs-element): handle array elements in this function + (soap-encode-xs-complex-type): flag error if asked to encode an + array type, this is handled in `soap-encode-xs-element' + + * soap-inspect.el (soap-inspect-xs-attribute-group): Do not print + type for attribute group. + + * soap-inspect.el (soap-sample-value-for-xs-attribute-group): New + function. + (soap-inspect-xs-attribute-group): Likewise. + + * soap-inspect.el + (soap-resolve-references-for-xs-attribute-group): Resolve + references of attributes in an attribute group. + + * soap-client.el (soap-decode-xs-attributes): Process attribute + type directly, not through soap-wsdl-get. + + * soap-client.el (soap-xs-parse-attribute): Leave reference nil if + reference attribute is nil. + + * soap-client.el (soap-resolve-references-for-xs-attribute): + Convert XML schema attributes to xsd:string. + + * soap-inspect.el (soap-sample-value-for-xs-attribute): New + function. + (soap-sample-value-for-xs-simple-type): Prepend attributes to + result. + (soap-sample-value-for-xs-complex-type): Likewise. + (soap-inspect-xs-attribute): New function. + (soap-inspect-xs-simple-type): Print attributes. + (soap-inspect-xs-complex-type): Likewise. + + * soap-inspect.el (soap-resolve-references-for-xs-simple-type): + Resolve references for attributes. + (soap-resolve-references-for-xs-complex-type): Likewise. + + * soap-client.el (soap-xml-node-find-matching-child): Rename from + soap-xml-node-first-child. + (soap-xs-parse-attribute): Call soap-xml-node-find-matching-child. + (soap-xs-parse-simple-type): Likewise. + + * soap-client.el (soap-invoke-async): Add error checking. + + * soap-client.el (soap-invoke-internal): New function. + (soap-invoke-async): Call soap-invoke-internal. + (soap-invoke): Likewise. + + * soap-client.el (soap-invoke-async): Ensure buffer passed to + url-retrieve callback is killed. + + * soap-client.el (soap-parse-wsdl-phase-validate-node): Rename + function. + (soap-parse-wsdl-phase-fetch-imports): Likewise. + (soap-parse-wsdl-phase-parse-schema): Likewise. + (soap-parse-wsdl-phase-fetch-schema): Likewise. + (soap-parse-wsdl-phase-finish-parsing): Likewise. + (soap-parse-wsdl): Update calls. + + * soap-client.el (soap-invoke-async): Fix callback invocation. + + * soap-client.el (soap-invoke-async): New function. + (soap-invoke): Reimplement using soap-invoke-async. + + * soap-client.el (soap-parse-server-response): Improve docstring. + (soap-invoke): Inline call to soap-parse-server-response. + + * soap-client.el (soap-decode-xs-complex-type): Prevent incorrect + warning. + + * soap-client.el (soap-parse-server-response): Rename + soap-process-url-response. Destroy the mime part. + (soap-invoke): Call soap-parse-server-response. + + * soap-client.el: Update copyright date. + + * soap-client.el: Fix checkdoc issues. + + * soap-client.el: Fix indentation and long lines. + + * soap-client.el (soap-time-format): Remove variable. + (soap-encode-xs-basic-type): Simplify date-time format detection. + (soap-decode-xs-basic-type): Remove soap-time-format support. + + * soap-client.el (soap-process-url-response): New function. + (soap-fetch-xml-from-url): Call soap-process-url-response. + (soap-parse-wsdl-phase-1): New function. + (soap-parse-wsdl-phase-2): Likewise. + (soap-parse-wsdl-phase-3): Likewise. + (soap-parse-wsdl-phase-4): Likewise. + (soap-parse-wsdl-phase-5): Likewise. + (soap-parse-wsdl): Call phase functions. + + * soap-client.el (soap-decode-xs-basic-type): Remove one-argument + and call. + + * soap-client.el (soap-decode-date-time): Improve docstring. + + * soap-client.el (soap-xmlschema-imports): Remove variable. + (soap-parse-schema): Add wsdl argument. Look up XML schema + imports from wsdl. + (soap-load-wsdl): Do not set soap-xmlschema-imports. + (soap-parse-wsdl): Get XML schema imports from wsdl. + + * soap-client.el (soap-current-file): Remove variable. + (soap-wsdl): Add current-file slot. + (soap-fetch-xml-from-url): Add wsdl argument. Look up current + file from wsdl. + (soap-fetch-xml-from-file): Likewise. + (soap-fetch-xml): Likewise. + (soap-load-wsdl): Always create wsdl object first. + (soap-parse-wsdl): Pass wsdl to soap-fetch-xml. + + * soap-client.el (soap-xs-element): Add is-group slot. + (soap-xs-parse-element): Set is-group slot. + (soap-resolve-references-for-xs-element): Skip is-group elements. + (soap-xs-complex-type): Add is-group slot. + (soap-xs-parse-complex-type): Set is-group slot. + (soap-xs-parse-sequence): Parse xsd:group elements. + (soap-resolve-references-for-xs-complex-type): Inline elements + from referenced xsd:group nodes. + (soap-parse-schema): Parse xsd:group nodes. + + * soap-client.el (soap-invoke): Don't set url-http-version to 1.0. + + * soap-client.el (soap-decode-xs-complex-type): Allow choice nodes + to accept multiple values. + + * soap-client.el (soap-encode-body): Check parameters argument for + extra header values. + + * soap-client.el (soap-well-known-xmlns): Add wsa and wsaw tags. + (soap-operation): Add input-action and output-action slots. + (soap-parse-operation): Parse wsaw:Action nodes. + (soap-encode-body): Encode service-url for WS-Addressing. + (soap-create-envelope): Likewise. + (soap-invoke): Update soap-create-envelope call to provide + service-url argument. + + * soap-client.el (soap-decode-xs-complex-type): Support xsi:type + override attribute. + (soap-decode-array): Likewise. + + * soap-client.el (soap-parse-schema): Handle location attribute. + + * soap-client.el (soap-decode-type): Check that multiRef matched + validation regexp. + + * soap-client.el (soap-encode-xs-simple-type): Encode xsd:list + nodes. + (soap-decode-xs-simple-type): Decode xsd:list nodes. + + * soap-client.el (soap-get-candidate-elements): Fix reference + handling. + + * soap-client.el (soap-xs-simple-type): Add is-list slot. + (soap-xs-parse-simple-type): Call soap-xs-add-list for xsd:list + nodes. + (soap-xs-add-list): New function. + + * soap-client.el (soap-encode-xs-element): When a boolean is + expected, interpret nil as "false". + + * soap-client.el (soap-make-xs-basic-types): Add gYearMonth, + gYear, gMonthDay, gDay and gMonth. + + * soap-client.el (soap-time-format): New variable. + (soap-encode-xs-basic-type): Handle dateTime, time, date, + gYearMonth, gYear, gMonthDay, gDay and gMonth. + (soap-decode-date-time): New function. + (soap-decode-xs-basic-type): Use soap-decode-date-time. + + * soap-client.el (soap-encode-xs-basic-type): Validate value after + encoding. + (soap-decode-xs-basic-type): Validate value before decoding. + + * soap-client.el (soap-validate-xs-basic-type): New function. + (soap-validate-xs-simple-type): Call soap-validate-xs-basic-type. + + * soap-client.el (soap-xs-add-union): Append result to base + instead of overwriting it. + (soap-validate-xs-simple-type): Add union support. + + * soap-client.el (soap-xs-add-restriction): Translate pattern to + Emacs regexp using xsdre-translate. + (soap-validate-xs-simple-type): Validate value against pattern. + + * soap-client.el (soap-xs-add-union): Preserve WSDL order of + inline simpleType nodes. + (soap-decode-type): Handle union types. + + * soap-client.el (soap-decode-xs-attributes): Decode basic-type + attributes. + + * soap-client.el (soap-get-xs-attributes-from-groups): renamed + from soap-xs-attribute-group-consolidate, all callers updated + (soap-get-xs-attributes): renamed from + soap-xs-attributes-consolidate, all callers updated + + * soap-client.el (soap-xs-type): Add attribute-group slot. + (soap-xs-attribute-group): New type. + (soap-xs-parse-attribute-group): New function. + (soap-resolve-references-for-xs-attribute-group): Likewise. + (soap-xs-add-extension): Handle attribute groups. + (soap-resolve-references-for-xs-simple-type): Likewise. + (soap-xs-parse-complex-type): Likewise. + (soap-xs-parse-extension-or-restriction): Likewise. + (soap-resolve-references-for-xs-complex-type): Likewise. + (soap-xs-attribute-group-consolidate): New function. + (soap-xs-attributes-consolidate): Handle attribute groups. + (soap-parse-schema): Likewise. + + * soap-client.el (soap-encode-xs-basic-type): Fix boolean + encoding. + + * soap-client.el (soap-encode-xs-complex-type): Print ref element + names in warnings. + + * soap-client.el (soap-decode-xs-complex-type): Fix splicing. + + * soap-client.el (soap-decode-xs-complex-type): Eliminate invalid + warnings for choice types. + + * soap-client.el (soap-encode-xs-complex-type-attributes): Also + encode base type attributes. + + * soap-client.el (soap-encode-xs-complex-type): Fix compilation + warning. Print e-name in warnings, or element if e-name is nil. + + * soap-client.el (soap-xs-element): Add alternatives slot. + (soap-xs-parse-element): Set substitution-group. + (soap-resolve-references-for-xs-element): Populate alternatives + slot. + (soap-get-candidate-elements): New function. + (soap-encode-xs-complex-type): Iterate through all candidate + elements. Handle types with nil type indicator. Fix warning + logic. + + * soap-client.el (soap-current-wsdl): moved declaration earlier in + the file to prevent compiler warning. + + * soap-client.el (soap-node-optional): New function. + (soap-node-multiple): Likewise. + (soap-xs-parse-element): Call soap-node-optional and + soap-node-multiple. + (soap-xs-complex-type): Add optional? and multiple? slots. + (soap-xml-get-children-fq): New function. + (soap-xs-element-get-fq-name): Likewise. + (soap-xs-complex-type-optional-p): Likewise. + (soap-xs-complex-type-multiple-p): Likewise. + (soap-xs-attributes-consolidate): Likewise. + (soap-decode-xs-attributes): Likewise. + (soap-decode-xs-complex-type): Decode types with nil type + indicator. Support children that use local namespaces. Decode + attributes. Add type considerations to optional? and multiple? + warnings. + + * soap-client.el (soap-xs-parse-extension-or-restriction): Store + parsed attributes. + (soap-encode-xs-complex-type-attributes): Encode custom + attributes. + + * soap-client.el (soap-encode-xs-complex-type-attributes): don't + add the xsi:type attribute (Exchange refuses requests which have + this attribute) + + * soap-client.el, soap-inspect.el: converted to lexical binding, + corrected compiler warnings about unused function arguments and + local variables. + + * soap-client.el (soap-decode-xs-complex-type): Handle nil type + indicator. + (soap-parse-envelope): Handle response headers. + (soap-parse-response): Likewise. Only return non-nil decoded + values. + + * soap-client.el (soap-validate-xs-simple-type): Return validated + value. + + * soap-client.el (soap-xs-parse-element) + (soap-xs-parse-simple-type) + (soap-xs-parse-complex-type) + (soap-parse-message) + (soap-parse-operation): add the current namespace to the element + being created + (soap-resolve-references-for-xs-element) + (soap-resolve-references-for-xs-simple-type) + (soap-resolve-references-for-xs-complex-type) + (soap-resolve-references-for-operation): resolve the namespace to + the namespace tag + (soap-make-wsdl): specify a namespace tag when creating the xsd + and soapenc namespaces + (soap-wsdl-resolve-references): don't update namespace tags in + elements here + (soap-parse-port-type): bind the urn: to soap-target-xmlns + (soap-encode-body): don't add nil namespace tags to + soap-encoded-namespaces + + * soap-inspect.el: use `soap-make-wsdl` to construct the object + for registering the soap-inspect method.Make debbugs tests pass + * soap-client.el (soap-decode-any-type): use soap-l2fq on the type + name, also skip string only nodes when decoding a structure. + (soap-xs-parse-complex-type): (BUG) dispatch parsing for choice + types too + (soap-encode-body): grab the header value from the param table + + * soap-client.el (soap-should-encode-value-for-xs-element): new + function + (soap-encode-xs-element): don't encode nil value unless needed + + * soap-client.el (soap-bound-operation): new slot `soap-body` + (soap-parse-binding): parse the message parts required in the body + (soap-encode-body): encode only the parts that are declared to be + part of the body + + * soap-client.el (soap-encode-xs-element): use the fq name when + writing out the tag. + (soap-encode-body): remove hack that inserts the xmlns in the + element attributes list. + + * soap-client.el (soap-xs-attribute): add "default" slot + (soap-xs-parse-attribute): default slot is set from the XML + "fixed" attribute. + (soap-encode-xs-complex-type-attributes): encode any attributes + that have a default value. Also, don't put the xsi:nil attribute + when the complex type has no content anyway. + + * soap-client.el (soap-well-known-xmlns): add the xml namespace + (soap-local-xmlns): start with the xml namespace + (soap-xml-node-first-child): skip xsd:annotation nodes too + (soap-make-xs-basic-types): more xsd types added + (soap-encode-xs-basic-type, soap-decode-xs-basic-type): handle + "language", "time", "date", "nonNegativeInteger" + (soap-resolve-references-for-xs-element): don't signal an error if + the element does not have a type. + (soap-xs-parse-simple-type): subtypes are handled with ecase, + added stum for xsd:list + (soap-xs-add-union): call soap-l2fq on all union members + (soap-xs-add-extension): call soap-l2fq on the base member + (soap-resolve-references-for-xs-simple-type): don't signal an + error if the simple type has no base. + (soap-resolve-references-for-xs-simple-type): bugfix, call + soap-wsdl-get on each type of the base + + * soap-client.el (soap-resolve-references-for-xs-attribute): + referenced type can be eiher a simple type or a basic type + (soap-xs-add-restriction) + (soap-xs-parse-extension-or-restriction): use `soap-l2fq' on base + (soap-make-xs-basic-types) + (soap-encode-xs-basic-type, soap-decode-xs-basic-type): add + support for more XMLSchema basic types + (soap-current-file, soap-xmlschema-imports): new defvars + (soap-parse-schema): add locations from xsd:import tags to + `soap-xmlschema-imports' + (soap-wsdl): make destructor private + (soap-make-wsdl): new defun, SOAP-WSDL object constructor + (soap-wsdl-add-alias): check if we try to replace aliases + (soap-fetch-xml-from-url, soap-fetch-xml-from-file) + (soap-fetch-xml): new defuns + (soap-load-wsdl): updated to load the WSDL from either a file or + an url + (soap-load-wsdl-from-url): now an alias to `soap-load-wsdl' + (soap-parse-wsdl): process wsdl:import tags and imports from + `soap-xmlschema-imports' + * soap-client.el (soap-l2wk): bugfix: call symbolp instead of + symbol-name + (soap-l2fq): make the name part always a string + (soap-name-p): new defun, used for name tests + + * soap-inspect.el (soap-sample-value-for-xs-complex-type): supply + sample values for choice types with a special tag + * soap-client.el (soap-encode-xs-complex-type): handle anonymous + elements correctly + (soap-encode-value): accept nodes that have no namespace tag + + * soap-client.el (soap-invoke): encode the string for + `url-request-data' as UTF-8. Fixes issue 16 + +2015-10-25 Eli Zaretskii + + * lisp/progmodes/grep.el (grep): Doc fix. (Bug#21754) + +2015-10-25 Artur Malabarba + + * src/keyboard.c (post-command-hook): Extend the docstring + + Mainly, explain how to use it without hanging Emacs, or giving the + impression that it is hanging. Also mention `pre-command-hook'. + + (pre-command-hook): Mention `post-command-hook'. + +2015-10-25 Artur Malabarba + + * lisp/custom.el (custom-declare-variable): Shorten code again + + Without using pcase this time. We can't use pcase because it is loaded + after custom in loadup.el. Also add a comment explaining this to future + dummies like me. + +2015-10-25 Michael Albinus + + Document file notification `stopped' event + + * doc/lispref/os.texi (File Notifications): Document `stopped event'. + +2015-10-25 Michael Albinus + + Introduce `stopped' event in file notification + + * lisp/filenotify.el (file-notify--rm-descriptor): New defun. + (file-notify-rm-watch): Use it. + (file-notify-callback): Implement `stopped' event. + (file-notify-add-watch): Mention `stopped' in the docstring. + Check, that upper directory exists. + + * test/automated/file-notify-tests.el (file-notify-test01-add-watch): + Add two test cases. + (file-notify-test02-events): Handle also `stopped' event. + (file-notify-test04-file-validity): Add another test case. + 2015-10-25 Paul Eggert Revert commit that broke 'make bootstrap' @@ -16476,7 +17655,7 @@ This file records repository revisions from commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to -commit 0afbc5b2a2cda9fe12246bf62567162ae2577160 (inclusive). +commit cb56d4cec80a4da41710e2fa68dcd3d95e2a8e4c (inclusive). See ChangeLog.1 for earlier changes. ;; Local Variables: commit cb56d4cec80a4da41710e2fa68dcd3d95e2a8e4c Author: Glenn Morris Date: Sun Nov 1 06:34:43 2015 -0500 ; Auto-commit of loaddefs files. diff --git a/lisp/ldefs-boot.el b/lisp/ldefs-boot.el index e3e620c..d8f627a 100644 --- a/lisp/ldefs-boot.el +++ b/lisp/ldefs-boot.el @@ -1480,8 +1480,8 @@ Special commands: ;;;*** -;;;### (autoloads nil "auth-source" "gnus/auth-source.el" (22027 -;;;;;; 46774 676310 591000)) +;;;### (autoloads nil "auth-source" "gnus/auth-source.el" (22067 +;;;;;; 17342 158157 143000)) ;;; Generated autoloads from gnus/auth-source.el (defvar auth-source-cache-expiry 7200 "\ @@ -1656,8 +1656,8 @@ should be non-nil). ;;;*** -;;;### (autoloads nil "autorevert" "autorevert.el" (21980 16567 365544 -;;;;;; 893000)) +;;;### (autoloads nil "autorevert" "autorevert.el" (22065 61995 826407 +;;;;;; 852000)) ;;; Generated autoloads from autorevert.el (autoload 'auto-revert-mode "autorevert" "\ @@ -2742,8 +2742,8 @@ Like `bug-reference-mode', but only buttonize in comments and strings. ;;;*** -;;;### (autoloads nil "bytecomp" "emacs-lisp/bytecomp.el" (22011 -;;;;;; 58553 361858 469000)) +;;;### (autoloads nil "bytecomp" "emacs-lisp/bytecomp.el" (22067 +;;;;;; 17342 138157 143000)) ;;; Generated autoloads from emacs-lisp/bytecomp.el (put 'byte-compile-dynamic 'safe-local-variable 'booleanp) (put 'byte-compile-disable-print-circle 'safe-local-variable 'booleanp) @@ -2898,7 +2898,7 @@ from the cursor position. ;;;*** -;;;### (autoloads nil "calc" "calc/calc.el" (22026 25907 527502 692000)) +;;;### (autoloads nil "calc" "calc/calc.el" (22039 37934 737599 199000)) ;;; Generated autoloads from calc/calc.el (define-key ctl-x-map "*" 'calc-dispatch) @@ -3007,8 +3007,8 @@ See the documentation for `calculator-mode' for more information. ;;;*** -;;;### (autoloads nil "calendar" "calendar/calendar.el" (22026 25907 -;;;;;; 535502 692000)) +;;;### (autoloads nil "calendar" "calendar/calendar.el" (22042 14122 +;;;;;; 205169 136000)) ;;; Generated autoloads from calendar/calendar.el (autoload 'calendar "calendar" "\ @@ -3179,8 +3179,8 @@ the absolute file name of the file if STYLE-NAME is nil. ;;;*** -;;;### (autoloads nil "cc-mode" "progmodes/cc-mode.el" (22021 7991 -;;;;;; 65719 83000)) +;;;### (autoloads nil "cc-mode" "progmodes/cc-mode.el" (22040 58794 +;;;;;; 688259 771000)) ;;; Generated autoloads from progmodes/cc-mode.el (autoload 'c-initialize-cc-mode "cc-mode" "\ @@ -3399,8 +3399,8 @@ and exists only for compatibility reasons. ;;;*** -;;;### (autoloads nil "ccl" "international/ccl.el" (21998 46517 74024 -;;;;;; 649000)) +;;;### (autoloads nil "ccl" "international/ccl.el" (22064 41137 985468 +;;;;;; 395000)) ;;; Generated autoloads from international/ccl.el (autoload 'ccl-compile "ccl" "\ @@ -3409,9 +3409,9 @@ Return the compiled code of CCL-PROGRAM as a vector of integers. \(fn CCL-PROGRAM)" nil nil) (autoload 'ccl-dump "ccl" "\ -Disassemble compiled CCL-CODE. +Disassemble compiled CCL-code CODE. -\(fn CCL-CODE)" nil nil) +\(fn CODE)" nil nil) (autoload 'declare-ccl-program "ccl" "\ Declare NAME as a name of CCL program. @@ -3750,25 +3750,15 @@ Choose `cfengine2-mode' or `cfengine3-mode' by buffer contents. ;;;*** -;;;### (autoloads nil "character-fold" "character-fold.el" (21973 -;;;;;; 43315 242113 285000)) +;;;### (autoloads nil "character-fold" "character-fold.el" (22068 +;;;;;; 38191 905155 451000)) ;;; Generated autoloads from character-fold.el -(defvar character-fold-search nil "\ -Non-nil if searches should fold similar characters. -This means some characters will match entire groups of characters. -For instance, \" will match all variants of double quotes, and -the letter a will match all of its accented versions (and then -some).") - (autoload 'character-fold-to-regexp "character-fold" "\ Return a regexp matching anything that character-folds into STRING. -If `character-fold-search' is nil, `regexp-quote' string. -Otherwise, any character in STRING that has an entry in +Any character in STRING that has an entry in `character-fold-table' is replaced with that entry (which is a regexp) and other characters are `regexp-quote'd. -If LAX is non-nil, any single whitespace character is allowed to -match any number of times. \(fn STRING &optional LAX)" nil nil) @@ -4233,7 +4223,7 @@ is run). ;;;*** -;;;### (autoloads nil "color" "color.el" (22026 25907 555502 692000)) +;;;### (autoloads nil "color" "color.el" (22055 26158 710447 352000)) ;;; Generated autoloads from color.el (autoload 'color-name-to-rgb "color" "\ @@ -4390,8 +4380,8 @@ on third call it again advances points to the next difference and so on. ;;;*** -;;;### (autoloads nil "compile" "progmodes/compile.el" (22015 55603 -;;;;;; 789705 321000)) +;;;### (autoloads nil "compile" "progmodes/compile.el" (22032 64681 +;;;;;; 370838 183000)) ;;; Generated autoloads from progmodes/compile.el (defvar compilation-mode-hook nil "\ @@ -5064,8 +5054,8 @@ with empty strings removed. ;;;*** -;;;### (autoloads nil "css-mode" "textmodes/css-mode.el" (22014 34736 -;;;;;; 811840 613000)) +;;;### (autoloads nil "css-mode" "textmodes/css-mode.el" (22038 17067 +;;;;;; 867243 731000)) ;;; Generated autoloads from textmodes/css-mode.el (autoload 'css-mode "css-mode" "\ @@ -5140,7 +5130,7 @@ Activates the region if needed. Only lasts until the region is deactivated. ;;;*** ;;;### (autoloads nil "cursor-sensor" "emacs-lisp/cursor-sensor.el" -;;;;;; (21804 59688 154807 989000)) +;;;;;; (22069 62806 562804 836000)) ;;; Generated autoloads from emacs-lisp/cursor-sensor.el (autoload 'cursor-intangible-mode "cursor-sensor" "\ @@ -6421,7 +6411,7 @@ Optional arguments are passed to `dig-invoke'. ;;;*** -;;;### (autoloads nil "dired" "dired.el" (21998 46624 946024 649000)) +;;;### (autoloads nil "dired" "dired.el" (22067 17342 118157 143000)) ;;; Generated autoloads from dired.el (defvar dired-listing-switches (purecopy "-al") "\ @@ -6776,8 +6766,8 @@ Locate SOA record and increment the serial field. ;;;*** -;;;### (autoloads nil "doc-view" "doc-view.el" (21716 41663 456033 -;;;;;; 27000)) +;;;### (autoloads nil "doc-view" "doc-view.el" (22058 2348 742214 +;;;;;; 951000)) ;;; Generated autoloads from doc-view.el (autoload 'doc-view-mode-p "doc-view" "\ @@ -7617,7 +7607,7 @@ With prefix arg NOCONFIRM, execute current line as-is without editing. ;;;*** -;;;### (autoloads nil "ede" "cedet/ede.el" (21996 4784 796983 429000)) +;;;### (autoloads nil "ede" "cedet/ede.el" (22040 58794 676259 771000)) ;;; Generated autoloads from cedet/ede.el (push (purecopy '(ede 1 2)) package--builtin-versions) @@ -8135,8 +8125,8 @@ BUFFER is put back into its original major mode. ;;;*** -;;;### (autoloads nil "eieio-core" "emacs-lisp/eieio-core.el" (22009 -;;;;;; 58952 307546 645000)) +;;;### (autoloads nil "eieio-core" "emacs-lisp/eieio-core.el" (22067 +;;;;;; 17342 150157 143000)) ;;; Generated autoloads from emacs-lisp/eieio-core.el (push (purecopy '(eieio-core 1 4)) package--builtin-versions) @@ -8210,8 +8200,8 @@ This is suitable as an entry on `find-file-hook' or appropriate mode hooks. ;;;*** -;;;### (autoloads nil "elint" "emacs-lisp/elint.el" (21998 46516 -;;;;;; 994024 649000)) +;;;### (autoloads nil "elint" "emacs-lisp/elint.el" (22030 22952 +;;;;;; 921158 467000)) ;;; Generated autoloads from emacs-lisp/elint.el (autoload 'elint-file "elint" "\ @@ -8309,8 +8299,8 @@ Other values are interpreted as usual. ;;;*** -;;;### (autoloads nil "emacsbug" "mail/emacsbug.el" (21989 31537 -;;;;;; 887825 721000)) +;;;### (autoloads nil "emacsbug" "mail/emacsbug.el" (22030 22952 +;;;;;; 933158 467000)) ;;; Generated autoloads from mail/emacsbug.el (autoload 'report-emacs-bug "emacsbug" "\ @@ -9272,8 +9262,8 @@ Add a file to `erc-xdcc-files'. ;;;*** -;;;### (autoloads nil "ert" "emacs-lisp/ert.el" (22011 58553 409858 -;;;;;; 469000)) +;;;### (autoloads nil "ert" "emacs-lisp/ert.el" (22063 20273 739891 +;;;;;; 395000)) ;;; Generated autoloads from emacs-lisp/ert.el (autoload 'ert-deftest "ert" "\ @@ -9355,8 +9345,8 @@ Kill all test buffers that are still live. ;;;*** -;;;### (autoloads nil "esh-mode" "eshell/esh-mode.el" (22003 64432 -;;;;;; 600146 533000)) +;;;### (autoloads nil "esh-mode" "eshell/esh-mode.el" (22065 61995 +;;;;;; 862407 852000)) ;;; Generated autoloads from eshell/esh-mode.el (autoload 'eshell-mode "esh-mode" "\ @@ -10034,7 +10024,7 @@ fourth arg NOSEP non-nil inhibits this. ;;;*** -;;;### (autoloads nil "eww" "net/eww.el" (22011 58553 761858 469000)) +;;;### (autoloads nil "eww" "net/eww.el" (22063 20273 743891 395000)) ;;; Generated autoloads from net/eww.el (defvar eww-suggest-uris '(eww-links-at-point url-get-url-at-point eww-current-url) "\ @@ -10570,8 +10560,8 @@ the name is considered already unique; only the second substitution ;;;*** -;;;### (autoloads nil "filenotify" "filenotify.el" (22019 52657 867929 -;;;;;; 676000)) +;;;### (autoloads nil "filenotify" "filenotify.el" (22069 62806 562804 +;;;;;; 836000)) ;;; Generated autoloads from filenotify.el (autoload 'file-notify-handle-event "filenotify" "\ @@ -11648,8 +11638,8 @@ Interactively, reads the register using `register-read-with-preview'. ;;;*** -;;;### (autoloads nil "gdb-mi" "progmodes/gdb-mi.el" (22029 2088 -;;;;;; 514685 339000)) +;;;### (autoloads nil "gdb-mi" "progmodes/gdb-mi.el" (22030 22952 +;;;;;; 977158 467000)) ;;; Generated autoloads from progmodes/gdb-mi.el (defvar gdb-enable-debug nil "\ @@ -12770,8 +12760,8 @@ Retrieve MAIL-ADDRESS gravatar and returns it. ;;;*** -;;;### (autoloads nil "grep" "progmodes/grep.el" (22027 46774 676310 -;;;;;; 591000)) +;;;### (autoloads nil "grep" "progmodes/grep.el" (22061 64938 520287 +;;;;;; 963000)) ;;; Generated autoloads from progmodes/grep.el (defvar grep-window-height nil "\ @@ -12853,20 +12843,23 @@ Sets `grep-last-buffer' and `compilation-window-height'. \(fn)" nil nil) (autoload 'grep "grep" "\ -Run grep, with user-specified args, and collect output in a buffer. -While grep runs asynchronously, you can use \\[next-error] (M-x next-error), -or \\\\[compile-goto-error] in the *grep* buffer, to go to the lines where grep found -matches. To kill the grep job before it finishes, type \\[kill-compilation]. +Run Grep with user-specified COMMAND-ARGS, collect output in a buffer. +While Grep runs asynchronously, you can use \\[next-error] (M-x next-error), +or \\\\[compile-goto-error] in the *grep* buffer, to go to the lines where Grep found +matches. To kill the Grep job before it finishes, type \\[kill-compilation]. + +Noninteractively, COMMAND-ARGS should specify the Grep command-line +arguments. For doing a recursive `grep', see the `rgrep' command. For running -`grep' in a specific directory, see `lgrep'. +Grep in a specific directory, see `lgrep'. This command uses a special history list for its COMMAND-ARGS, so you can easily repeat a grep command. -A prefix argument says to default the argument based upon the current -tag the cursor is over, substituting it into the last grep command -in the grep command history (or into `grep-command' if that history +A prefix argument says to default the COMMAND-ARGS based on the current +tag the cursor is over, substituting it into the last Grep command +in the Grep command history (or into `grep-command' if that history list is empty). \(fn COMMAND-ARGS)" t nil) @@ -13364,8 +13357,8 @@ different regions. With numeric argument ARG, behaves like ;;;*** -;;;### (autoloads nil "help-fns" "help-fns.el" (22011 58553 601858 -;;;;;; 469000)) +;;;### (autoloads nil "help-fns" "help-fns.el" (22067 17342 162157 +;;;;;; 143000)) ;;; Generated autoloads from help-fns.el (autoload 'describe-function "help-fns" "\ @@ -13582,7 +13575,7 @@ Provide help for current mode. ;;;*** -;;;### (autoloads nil "hexl" "hexl.el" (21985 34484 226705 925000)) +;;;### (autoloads nil "hexl" "hexl.el" (22056 47028 723798 795000)) ;;; Generated autoloads from hexl.el (autoload 'hexl-mode "hexl" "\ @@ -14429,8 +14422,8 @@ bound to the current value of the filter. ;;;*** -;;;### (autoloads nil "ibuffer" "ibuffer.el" (22026 25907 595502 -;;;;;; 692000)) +;;;### (autoloads nil "ibuffer" "ibuffer.el" (22032 64681 350838 +;;;;;; 183000)) ;;; Generated autoloads from ibuffer.el (autoload 'ibuffer-list-buffers "ibuffer" "\ @@ -15022,7 +15015,7 @@ DEF, if non-nil, is the default value. ;;;*** -;;;### (autoloads nil "ielm" "ielm.el" (21980 16567 705544 893000)) +;;;### (autoloads nil "ielm" "ielm.el" (22067 17342 170157 143000)) ;;; Generated autoloads from ielm.el (autoload 'ielm "ielm" "\ @@ -15050,7 +15043,7 @@ the mode if ARG is omitted or nil, and toggle it if ARG is `toggle'. ;;;*** -;;;### (autoloads nil "image" "image.el" (22011 58553 641858 469000)) +;;;### (autoloads nil "image" "image.el" (22048 52907 35535 316000)) ;;; Generated autoloads from image.el (autoload 'image-type-from-data "image" "\ @@ -15680,7 +15673,7 @@ of `inferior-lisp-program'). Runs the hooks from ;;;*** -;;;### (autoloads nil "info" "info.el" (22011 58553 645858 469000)) +;;;### (autoloads nil "info" "info.el" (22056 47028 727798 795000)) ;;; Generated autoloads from info.el (defcustom Info-default-directory-list (let* ((config-dir (file-name-as-directory (or (and (featurep 'ns) (let ((dir (expand-file-name "../info" data-directory))) (if (file-directory-p dir) dir))) configure-info-directory))) (prefixes (prune-directory-list '("/usr/local/" "/usr/" "/opt/" "/"))) (suffixes '("share/" "" "gnu/" "gnu/lib/" "gnu/lib/emacs/" "emacs/" "lib/" "lib/emacs/")) (standard-info-dirs (apply #'nconc (mapcar (lambda (pfx) (let ((dirs (mapcar (lambda (sfx) (concat pfx sfx "info/")) suffixes))) (prune-directory-list dirs))) prefixes))) (dirs (if (member config-dir standard-info-dirs) (nconc standard-info-dirs (list config-dir)) (cons config-dir standard-info-dirs)))) (if (not (eq system-type 'windows-nt)) dirs (let* ((instdir (file-name-directory invocation-directory)) (dir1 (expand-file-name "../info/" instdir)) (dir2 (expand-file-name "../../../info/" instdir))) (cond ((file-exists-p dir1) (append dirs (list dir1))) ((file-exists-p dir2) (append dirs (list dir2))) (t dirs))))) "\ @@ -15940,8 +15933,8 @@ Perform completion on file preceding point. ;;;*** -;;;### (autoloads nil "info-xref" "info-xref.el" (21978 61237 550488 -;;;;;; 269000)) +;;;### (autoloads nil "info-xref" "info-xref.el" (22030 22952 929158 +;;;;;; 467000)) ;;; Generated autoloads from info-xref.el (push (purecopy '(info-xref 3)) package--builtin-versions) @@ -16569,8 +16562,8 @@ by `jka-compr-installed'. ;;;*** -;;;### (autoloads nil "js" "progmodes/js.el" (22026 25907 635502 -;;;;;; 692000)) +;;;### (autoloads nil "js" "progmodes/js.el" (22069 62806 682804 +;;;;;; 836000)) ;;; Generated autoloads from progmodes/js.el (push (purecopy '(js 9)) package--builtin-versions) @@ -16578,13 +16571,26 @@ by `jka-compr-installed'. Major mode for editing JavaScript. \(fn)" t nil) + +(autoload 'js-jsx-mode "js" "\ +Major mode for editing JSX. + +To customize the indentation for this mode, set the SGML offset +variables (`sgml-basic-offset', `sgml-attribute-offset' et al) +locally, like so: + + (defun set-jsx-indentation () + (setq-local sgml-basic-offset js-indent-level)) + (add-hook 'js-jsx-mode-hook #'set-jsx-indentation) + +\(fn)" t nil) (defalias 'javascript-mode 'js-mode) (dolist (name (list "node" "nodejs" "gjs" "rhino")) (add-to-list 'interpreter-mode-alist (cons (purecopy name) 'js-mode))) ;;;*** -;;;### (autoloads nil "json" "json.el" (21998 46517 78024 649000)) +;;;### (autoloads nil "json" "json.el" (22064 41137 993468 395000)) ;;; Generated autoloads from json.el (push (purecopy '(json 1 4)) package--builtin-versions) @@ -17817,8 +17823,8 @@ Default bookmark handler for Man buffers. ;;;*** -;;;### (autoloads nil "map" "emacs-lisp/map.el" (21996 4784 808983 -;;;;;; 429000)) +;;;### (autoloads nil "map" "emacs-lisp/map.el" (22063 20273 739891 +;;;;;; 395000)) ;;; Generated autoloads from emacs-lisp/map.el (push (purecopy '(map 1 0)) package--builtin-versions) @@ -18199,7 +18205,7 @@ delete the draft message. ;;;*** -;;;### (autoloads nil "mh-e" "mh-e/mh-e.el" (22011 58553 749858 469000)) +;;;### (autoloads nil "mh-e" "mh-e/mh-e.el" (22030 22952 945158 467000)) ;;; Generated autoloads from mh-e/mh-e.el (push (purecopy '(mh-e 8 6)) package--builtin-versions) @@ -18660,8 +18666,8 @@ body) or \"attachment\" (separate from the body). ;;;*** -;;;### (autoloads nil "mode-local" "cedet/mode-local.el" (22011 58553 -;;;;;; 245858 469000)) +;;;### (autoloads nil "mode-local" "cedet/mode-local.el" (22030 22952 +;;;;;; 905158 467000)) ;;; Generated autoloads from cedet/mode-local.el (put 'define-overloadable-function 'doc-string-elt 3) @@ -18776,7 +18782,7 @@ To test this function, evaluate: ;;;*** -;;;### (autoloads nil "mpc" "mpc.el" (22002 43570 536887 749000)) +;;;### (autoloads nil "mpc" "mpc.el" (22050 8240 94934 108000)) ;;; Generated autoloads from mpc.el (autoload 'mpc "mpc" "\ @@ -19384,8 +19390,8 @@ running already. ;;;*** -;;;### (autoloads nil "newst-treeview" "net/newst-treeview.el" (21998 -;;;;;; 46517 110024 649000)) +;;;### (autoloads nil "newst-treeview" "net/newst-treeview.el" (22030 +;;;;;; 22952 973158 467000)) ;;; Generated autoloads from net/newst-treeview.el (autoload 'newsticker-treeview "newst-treeview" "\ @@ -19433,7 +19439,7 @@ This command does not work if you use short group names. ;;;*** -;;;### (autoloads nil "nnml" "gnus/nnml.el" (21948 40114 266686 453000)) +;;;### (autoloads nil "nnml" "gnus/nnml.el" (22054 5291 911134 163000)) ;;; Generated autoloads from gnus/nnml.el (autoload 'nnml-generate-nov-databases "nnml" "\ @@ -19490,9 +19496,9 @@ closing requests for requests that are used in matched pairs. ;;;*** -;;;### (autoloads nil "ntlm" "net/ntlm.el" (21997 25649 666447 325000)) +;;;### (autoloads nil "ntlm" "net/ntlm.el" (22069 62806 678804 836000)) ;;; Generated autoloads from net/ntlm.el -(push (purecopy '(ntlm 2 0)) package--builtin-versions) +(push (purecopy '(ntlm 2 0 0)) package--builtin-versions) ;;;*** @@ -20343,8 +20349,8 @@ See the command `outline-mode' for more information on this mode. ;;;*** -;;;### (autoloads nil "package" "emacs-lisp/package.el" (22000 31493 -;;;;;; 736082 901000)) +;;;### (autoloads nil "package" "emacs-lisp/package.el" (22059 23214 +;;;;;; 33660 839000)) ;;; Generated autoloads from emacs-lisp/package.el (push (purecopy '(package 1 0 1)) package--builtin-versions) @@ -20388,7 +20394,7 @@ downloads in the background. (autoload 'package-install "package" "\ Install the package PKG. -PKG can be a package-desc or the package name of one the available packages +PKG can be a package-desc or a symbol naming one of the available packages in an archive in `package-archives'. Interactively, prompt for its name. If called interactively or if DONT-SELECT nil, add PKG to @@ -20883,7 +20889,7 @@ Setup `shell-mode' to use pcomplete. ;;;*** -;;;### (autoloads nil "pcvs" "vc/pcvs.el" (21985 34484 302705 925000)) +;;;### (autoloads nil "pcvs" "vc/pcvs.el" (22065 61995 886407 852000)) ;;; Generated autoloads from vc/pcvs.el (autoload 'cvs-checkout "pcvs" "\ @@ -21878,8 +21884,8 @@ Return the project instance in DIR or `default-directory'. ;;;*** -;;;### (autoloads nil "prolog" "progmodes/prolog.el" (22027 46774 -;;;;;; 684310 591000)) +;;;### (autoloads nil "prolog" "progmodes/prolog.el" (22040 58794 +;;;;;; 692259 771000)) ;;; Generated autoloads from progmodes/prolog.el (autoload 'prolog-mode "prolog" "\ @@ -22187,8 +22193,8 @@ Optional argument FACE specifies the face to do the highlighting. ;;;*** -;;;### (autoloads nil "python" "progmodes/python.el" (22026 25907 -;;;;;; 639502 692000)) +;;;### (autoloads nil "python" "progmodes/python.el" (22069 62806 +;;;;;; 686804 836000)) ;;; Generated autoloads from progmodes/python.el (push (purecopy '(python 0 25 1)) package--builtin-versions) @@ -22821,8 +22827,8 @@ For true \"word wrap\" behavior, use `visual-line-mode' instead. ;;;*** -;;;### (autoloads nil "reftex" "textmodes/reftex.el" (22026 25907 -;;;;;; 655502 692000)) +;;;### (autoloads nil "reftex" "textmodes/reftex.el" (22056 47028 +;;;;;; 787798 795000)) ;;; Generated autoloads from textmodes/reftex.el (autoload 'reftex-citation "reftex-cite" nil t) (autoload 'reftex-all-document-files "reftex-parse") @@ -23572,8 +23578,8 @@ Toggle the use of ROT13 encoding for the current window. ;;;*** -;;;### (autoloads nil "rst" "textmodes/rst.el" (22026 25907 659502 -;;;;;; 692000)) +;;;### (autoloads nil "rst" "textmodes/rst.el" (22034 20008 325500 +;;;;;; 287000)) ;;; Generated autoloads from textmodes/rst.el (add-to-list 'auto-mode-alist (purecopy '("\\.re?st\\'" . rst-mode))) @@ -24481,14 +24487,14 @@ Like `mail' command, but display mail buffer in another frame. ;;;*** -;;;### (autoloads nil "seq" "emacs-lisp/seq.el" (22026 25907 583502 -;;;;;; 692000)) +;;;### (autoloads nil "seq" "emacs-lisp/seq.el" (22065 61995 842407 +;;;;;; 852000)) ;;; Generated autoloads from emacs-lisp/seq.el -(push (purecopy '(seq 2 0)) package--builtin-versions) +(push (purecopy '(seq 2 2)) package--builtin-versions) ;;;*** -;;;### (autoloads nil "server" "server.el" (21998 46517 270024 649000)) +;;;### (autoloads nil "server" "server.el" (22056 47028 775798 795000)) ;;; Generated autoloads from server.el (put 'server-host 'risky-local-variable t) @@ -24665,8 +24671,8 @@ To work around that, do: ;;;*** -;;;### (autoloads nil "sh-script" "progmodes/sh-script.el" (22027 -;;;;;; 46774 688310 591000)) +;;;### (autoloads nil "sh-script" "progmodes/sh-script.el" (22061 +;;;;;; 64938 532287 963000)) ;;; Generated autoloads from progmodes/sh-script.el (push (purecopy '(sh-script 2 0 6)) package--builtin-versions) (put 'sh-shell 'safe-local-variable 'symbolp) @@ -24866,7 +24872,7 @@ Otherwise, one argument `-i' is passed to the shell. ;;;*** -;;;### (autoloads nil "shr" "net/shr.el" (22026 25907 631502 692000)) +;;;### (autoloads nil "shr" "net/shr.el" (22047 32042 328736 723000)) ;;; Generated autoloads from net/shr.el (autoload 'shr-render-region "shr" "\ @@ -25210,6 +25216,20 @@ then `snmpv2-mode-hook'. ;;;*** +;;;### (autoloads nil "soap-client" "net/soap-client.el" (22061 64938 +;;;;;; 516287 963000)) +;;; Generated autoloads from net/soap-client.el +(push (purecopy '(soap-client 3 0 1)) package--builtin-versions) + +;;;*** + +;;;### (autoloads nil "soap-inspect" "net/soap-inspect.el" (22061 +;;;;;; 64938 516287 963000)) +;;; Generated autoloads from net/soap-inspect.el +(push (purecopy '(soap-client 3 0 1)) package--builtin-versions) + +;;;*** + ;;;### (autoloads nil "solar" "calendar/solar.el" (21849 48176 337264 ;;;;;; 443000)) ;;; Generated autoloads from calendar/solar.el @@ -27091,7 +27111,7 @@ Normally input is edited in Emacs and sent a line at a time. ;;;*** -;;;### (autoloads nil "term" "term.el" (22011 58553 997858 469000)) +;;;### (autoloads nil "term" "term.el" (22042 14122 209169 136000)) ;;; Generated autoloads from term.el (autoload 'make-term "term" "\ @@ -27170,8 +27190,8 @@ tetris-mode keybindings: ;;;*** -;;;### (autoloads nil "tex-mode" "textmodes/tex-mode.el" (22026 25907 -;;;;;; 663502 692000)) +;;;### (autoloads nil "tex-mode" "textmodes/tex-mode.el" (22064 41138 +;;;;;; 13468 395000)) ;;; Generated autoloads from textmodes/tex-mode.el (defvar tex-shell-file-name nil "\ @@ -27724,6 +27744,13 @@ In dired, call the setroot program on the image at point. ;;;*** +;;;### (autoloads nil "thunk" "emacs-lisp/thunk.el" (22064 41137 +;;;;;; 961468 395000)) +;;; Generated autoloads from emacs-lisp/thunk.el +(push (purecopy '(thunk 1 0)) package--builtin-versions) + +;;;*** + ;;;### (autoloads nil "tibet-util" "language/tibet-util.el" (21670 ;;;;;; 32331 385639 720000)) ;;; Generated autoloads from language/tibet-util.el @@ -28446,8 +28473,7 @@ the output buffer or changing the window configuration. ;;;*** -;;;### (autoloads nil "tramp" "net/tramp.el" (22015 55603 713705 -;;;;;; 321000)) +;;;### (autoloads nil "tramp" "net/tramp.el" (22064 41138 9468 395000)) ;;; Generated autoloads from net/tramp.el (defvar tramp-mode t "\ @@ -29114,8 +29140,8 @@ overriding the value of `url-gateway-method'. ;;;*** -;;;### (autoloads nil "url-handlers" "url/url-handlers.el" (22011 -;;;;;; 58554 85858 469000)) +;;;### (autoloads nil "url-handlers" "url/url-handlers.el" (22065 +;;;;;; 61995 878407 852000)) ;;; Generated autoloads from url/url-handlers.el (defvar url-handler-mode nil "\ @@ -30015,8 +30041,8 @@ should be applied to the background or to the foreground. ;;;*** -;;;### (autoloads nil "vc-bzr" "vc/vc-bzr.el" (22014 34736 819840 -;;;;;; 613000)) +;;;### (autoloads nil "vc-bzr" "vc/vc-bzr.el" (22064 41138 13468 +;;;;;; 395000)) ;;; Generated autoloads from vc/vc-bzr.el (defconst vc-bzr-admin-dirname ".bzr" "\ @@ -30032,8 +30058,8 @@ Name of the format file in a .bzr directory.") ;;;*** -;;;### (autoloads nil "vc-cvs" "vc/vc-cvs.el" (22014 34736 823840 -;;;;;; 613000)) +;;;### (autoloads nil "vc-cvs" "vc/vc-cvs.el" (22064 41138 17468 +;;;;;; 395000)) ;;; Generated autoloads from vc/vc-cvs.el (defun vc-cvs-registered (f) "Return non-nil if file F is registered with CVS." @@ -30044,8 +30070,8 @@ Name of the format file in a .bzr directory.") ;;;*** -;;;### (autoloads nil "vc-dir" "vc/vc-dir.el" (21842 40083 319216 -;;;;;; 272000)) +;;;### (autoloads nil "vc-dir" "vc/vc-dir.el" (22055 26158 818447 +;;;;;; 352000)) ;;; Generated autoloads from vc/vc-dir.el (autoload 'vc-dir "vc-dir" "\ @@ -30093,8 +30119,8 @@ case, and the process object in the asynchronous case. ;;;*** -;;;### (autoloads nil "vc-git" "vc/vc-git.el" (22014 34736 835840 -;;;;;; 613000)) +;;;### (autoloads nil "vc-git" "vc/vc-git.el" (22064 41138 17468 +;;;;;; 395000)) ;;; Generated autoloads from vc/vc-git.el (defun vc-git-registered (file) "Return non-nil if FILE is registered with git." @@ -30105,7 +30131,7 @@ case, and the process object in the asynchronous case. ;;;*** -;;;### (autoloads nil "vc-hg" "vc/vc-hg.el" (22014 34736 835840 613000)) +;;;### (autoloads nil "vc-hg" "vc/vc-hg.el" (22064 41138 21468 395000)) ;;; Generated autoloads from vc/vc-hg.el (defun vc-hg-registered (file) "Return non-nil if FILE is registered with hg." @@ -30116,8 +30142,8 @@ case, and the process object in the asynchronous case. ;;;*** -;;;### (autoloads nil "vc-mtn" "vc/vc-mtn.el" (22014 34736 839840 -;;;;;; 613000)) +;;;### (autoloads nil "vc-mtn" "vc/vc-mtn.el" (22064 41138 21468 +;;;;;; 395000)) ;;; Generated autoloads from vc/vc-mtn.el (defconst vc-mtn-admin-dir "_MTN" "\ @@ -30180,8 +30206,8 @@ For a description of possible values, see `vc-check-master-templates'.") ;;;*** -;;;### (autoloads nil "vc-svn" "vc/vc-svn.el" (22011 58554 97858 -;;;;;; 469000)) +;;;### (autoloads nil "vc-svn" "vc/vc-svn.el" (22064 41138 21468 +;;;;;; 395000)) ;;; Generated autoloads from vc/vc-svn.el (defun vc-svn-registered (f) (let ((admin-dir (cond ((and (eq system-type 'windows-nt) @@ -31918,7 +31944,7 @@ Default MODIFIER is 'shift. ;;;*** -;;;### (autoloads nil "winner" "winner.el" (22009 58952 311546 645000)) +;;;### (autoloads nil "winner" "winner.el" (22030 22953 17158 467000)) ;;; Generated autoloads from winner.el (defvar winner-mode nil "\ @@ -32191,37 +32217,37 @@ Zone out, completely. ;;;;;; "calc/calc-fin.el" "calc/calc-forms.el" "calc/calc-frac.el" ;;;;;; "calc/calc-funcs.el" "calc/calc-graph.el" "calc/calc-help.el" ;;;;;; "calc/calc-incom.el" "calc/calc-keypd.el" "calc/calc-lang.el" -;;;;;; "calc/calc-loaddefs.el" "calc/calc-macs.el" "calc/calc-map.el" -;;;;;; "calc/calc-math.el" "calc/calc-menu.el" "calc/calc-misc.el" -;;;;;; "calc/calc-mode.el" "calc/calc-mtx.el" "calc/calc-nlfit.el" -;;;;;; "calc/calc-poly.el" "calc/calc-prog.el" "calc/calc-rewr.el" -;;;;;; "calc/calc-rules.el" "calc/calc-sel.el" "calc/calc-stat.el" -;;;;;; "calc/calc-store.el" "calc/calc-stuff.el" "calc/calc-trail.el" -;;;;;; "calc/calc-units.el" "calc/calc-vec.el" "calc/calc-yank.el" -;;;;;; "calc/calcalg2.el" "calc/calcalg3.el" "calc/calccomp.el" -;;;;;; "calc/calcsel2.el" "calendar/cal-bahai.el" "calendar/cal-coptic.el" -;;;;;; "calendar/cal-french.el" "calendar/cal-html.el" "calendar/cal-islam.el" -;;;;;; "calendar/cal-iso.el" "calendar/cal-julian.el" "calendar/cal-loaddefs.el" -;;;;;; "calendar/cal-mayan.el" "calendar/cal-menu.el" "calendar/cal-move.el" -;;;;;; "calendar/cal-persia.el" "calendar/cal-tex.el" "calendar/cal-x.el" -;;;;;; "calendar/diary-loaddefs.el" "calendar/hol-loaddefs.el" "cdl.el" -;;;;;; "cedet/cedet-cscope.el" "cedet/cedet-files.el" "cedet/cedet-global.el" -;;;;;; "cedet/cedet-idutils.el" "cedet/ede/auto.el" "cedet/ede/autoconf-edit.el" -;;;;;; "cedet/ede/base.el" "cedet/ede/config.el" "cedet/ede/cpp-root.el" -;;;;;; "cedet/ede/custom.el" "cedet/ede/detect.el" "cedet/ede/dired.el" -;;;;;; "cedet/ede/emacs.el" "cedet/ede/files.el" "cedet/ede/generic.el" -;;;;;; "cedet/ede/linux.el" "cedet/ede/loaddefs.el" "cedet/ede/locate.el" -;;;;;; "cedet/ede/make.el" "cedet/ede/makefile-edit.el" "cedet/ede/pconf.el" -;;;;;; "cedet/ede/pmake.el" "cedet/ede/proj-archive.el" "cedet/ede/proj-aux.el" -;;;;;; "cedet/ede/proj-comp.el" "cedet/ede/proj-elisp.el" "cedet/ede/proj-info.el" -;;;;;; "cedet/ede/proj-misc.el" "cedet/ede/proj-obj.el" "cedet/ede/proj-prog.el" -;;;;;; "cedet/ede/proj-scheme.el" "cedet/ede/proj-shared.el" "cedet/ede/proj.el" -;;;;;; "cedet/ede/project-am.el" "cedet/ede/shell.el" "cedet/ede/simple.el" -;;;;;; "cedet/ede/source.el" "cedet/ede/speedbar.el" "cedet/ede/srecode.el" -;;;;;; "cedet/ede/system.el" "cedet/ede/util.el" "cedet/semantic/analyze.el" -;;;;;; "cedet/semantic/analyze/complete.el" "cedet/semantic/analyze/debug.el" -;;;;;; "cedet/semantic/analyze/fcn.el" "cedet/semantic/analyze/refs.el" -;;;;;; "cedet/semantic/bovine.el" "cedet/semantic/bovine/c.el" "cedet/semantic/bovine/debug.el" +;;;;;; "calc/calc-macs.el" "calc/calc-map.el" "calc/calc-math.el" +;;;;;; "calc/calc-menu.el" "calc/calc-misc.el" "calc/calc-mode.el" +;;;;;; "calc/calc-mtx.el" "calc/calc-nlfit.el" "calc/calc-poly.el" +;;;;;; "calc/calc-prog.el" "calc/calc-rewr.el" "calc/calc-rules.el" +;;;;;; "calc/calc-sel.el" "calc/calc-stat.el" "calc/calc-store.el" +;;;;;; "calc/calc-stuff.el" "calc/calc-trail.el" "calc/calc-units.el" +;;;;;; "calc/calc-vec.el" "calc/calc-yank.el" "calc/calcalg2.el" +;;;;;; "calc/calcalg3.el" "calc/calccomp.el" "calc/calcsel2.el" +;;;;;; "calendar/cal-bahai.el" "calendar/cal-coptic.el" "calendar/cal-french.el" +;;;;;; "calendar/cal-html.el" "calendar/cal-islam.el" "calendar/cal-iso.el" +;;;;;; "calendar/cal-julian.el" "calendar/cal-loaddefs.el" "calendar/cal-mayan.el" +;;;;;; "calendar/cal-menu.el" "calendar/cal-move.el" "calendar/cal-persia.el" +;;;;;; "calendar/cal-tex.el" "calendar/cal-x.el" "calendar/diary-loaddefs.el" +;;;;;; "calendar/hol-loaddefs.el" "cdl.el" "cedet/cedet-cscope.el" +;;;;;; "cedet/cedet-files.el" "cedet/cedet-global.el" "cedet/cedet-idutils.el" +;;;;;; "cedet/ede/auto.el" "cedet/ede/autoconf-edit.el" "cedet/ede/base.el" +;;;;;; "cedet/ede/config.el" "cedet/ede/cpp-root.el" "cedet/ede/custom.el" +;;;;;; "cedet/ede/detect.el" "cedet/ede/dired.el" "cedet/ede/emacs.el" +;;;;;; "cedet/ede/files.el" "cedet/ede/generic.el" "cedet/ede/linux.el" +;;;;;; "cedet/ede/locate.el" "cedet/ede/make.el" "cedet/ede/makefile-edit.el" +;;;;;; "cedet/ede/pconf.el" "cedet/ede/pmake.el" "cedet/ede/proj-archive.el" +;;;;;; "cedet/ede/proj-aux.el" "cedet/ede/proj-comp.el" "cedet/ede/proj-elisp.el" +;;;;;; "cedet/ede/proj-info.el" "cedet/ede/proj-misc.el" "cedet/ede/proj-obj.el" +;;;;;; "cedet/ede/proj-prog.el" "cedet/ede/proj-scheme.el" "cedet/ede/proj-shared.el" +;;;;;; "cedet/ede/proj.el" "cedet/ede/project-am.el" "cedet/ede/shell.el" +;;;;;; "cedet/ede/simple.el" "cedet/ede/source.el" "cedet/ede/speedbar.el" +;;;;;; "cedet/ede/srecode.el" "cedet/ede/system.el" "cedet/ede/util.el" +;;;;;; "cedet/semantic/analyze.el" "cedet/semantic/analyze/complete.el" +;;;;;; "cedet/semantic/analyze/debug.el" "cedet/semantic/analyze/fcn.el" +;;;;;; "cedet/semantic/analyze/refs.el" "cedet/semantic/bovine.el" +;;;;;; "cedet/semantic/bovine/c.el" "cedet/semantic/bovine/debug.el" ;;;;;; "cedet/semantic/bovine/el.el" "cedet/semantic/bovine/gcc.el" ;;;;;; "cedet/semantic/bovine/make.el" "cedet/semantic/bovine/scm.el" ;;;;;; "cedet/semantic/chart.el" "cedet/semantic/complete.el" "cedet/semantic/ctxt.el" @@ -32236,13 +32262,13 @@ Zone out, completely. ;;;;;; "cedet/semantic/fw.el" "cedet/semantic/grammar-wy.el" "cedet/semantic/grammar.el" ;;;;;; "cedet/semantic/html.el" "cedet/semantic/ia-sb.el" "cedet/semantic/ia.el" ;;;;;; "cedet/semantic/idle.el" "cedet/semantic/imenu.el" "cedet/semantic/java.el" -;;;;;; "cedet/semantic/lex-spp.el" "cedet/semantic/lex.el" "cedet/semantic/loaddefs.el" -;;;;;; "cedet/semantic/mru-bookmark.el" "cedet/semantic/sb.el" "cedet/semantic/scope.el" -;;;;;; "cedet/semantic/senator.el" "cedet/semantic/sort.el" "cedet/semantic/symref.el" -;;;;;; "cedet/semantic/symref/cscope.el" "cedet/semantic/symref/filter.el" -;;;;;; "cedet/semantic/symref/global.el" "cedet/semantic/symref/grep.el" -;;;;;; "cedet/semantic/symref/idutils.el" "cedet/semantic/symref/list.el" -;;;;;; "cedet/semantic/tag-file.el" "cedet/semantic/tag-ls.el" "cedet/semantic/tag-write.el" +;;;;;; "cedet/semantic/lex-spp.el" "cedet/semantic/lex.el" "cedet/semantic/mru-bookmark.el" +;;;;;; "cedet/semantic/sb.el" "cedet/semantic/scope.el" "cedet/semantic/senator.el" +;;;;;; "cedet/semantic/sort.el" "cedet/semantic/symref.el" "cedet/semantic/symref/cscope.el" +;;;;;; "cedet/semantic/symref/filter.el" "cedet/semantic/symref/global.el" +;;;;;; "cedet/semantic/symref/grep.el" "cedet/semantic/symref/idutils.el" +;;;;;; "cedet/semantic/symref/list.el" "cedet/semantic/tag-file.el" +;;;;;; "cedet/semantic/tag-ls.el" "cedet/semantic/tag-write.el" ;;;;;; "cedet/semantic/tag.el" "cedet/semantic/texi.el" "cedet/semantic/util-modes.el" ;;;;;; "cedet/semantic/util.el" "cedet/semantic/wisent.el" "cedet/semantic/wisent/comp.el" ;;;;;; "cedet/semantic/wisent/java-tags.el" "cedet/semantic/wisent/javascript.el" @@ -32252,56 +32278,55 @@ Zone out, completely. ;;;;;; "cedet/srecode/el.el" "cedet/srecode/expandproto.el" "cedet/srecode/extract.el" ;;;;;; "cedet/srecode/fields.el" "cedet/srecode/filters.el" "cedet/srecode/find.el" ;;;;;; "cedet/srecode/getset.el" "cedet/srecode/insert.el" "cedet/srecode/java.el" -;;;;;; "cedet/srecode/loaddefs.el" "cedet/srecode/map.el" "cedet/srecode/mode.el" -;;;;;; "cedet/srecode/semantic.el" "cedet/srecode/srt.el" "cedet/srecode/table.el" -;;;;;; "cedet/srecode/template.el" "cedet/srecode/texi.el" "cus-dep.el" -;;;;;; "dframe.el" "dired-aux.el" "dired-x.el" "dom.el" "dos-fns.el" -;;;;;; "dos-vars.el" "dos-w32.el" "dynamic-setting.el" "emacs-lisp/avl-tree.el" -;;;;;; "emacs-lisp/bindat.el" "emacs-lisp/byte-opt.el" "emacs-lisp/cl-extra.el" -;;;;;; "emacs-lisp/cl-loaddefs.el" "emacs-lisp/cl-macs.el" "emacs-lisp/cl-seq.el" -;;;;;; "emacs-lisp/cl.el" "emacs-lisp/eieio-base.el" "emacs-lisp/eieio-compat.el" -;;;;;; "emacs-lisp/eieio-custom.el" "emacs-lisp/eieio-datadebug.el" -;;;;;; "emacs-lisp/eieio-opt.el" "emacs-lisp/eieio-speedbar.el" -;;;;;; "emacs-lisp/generator.el" "emacs-lisp/lisp-mnt.el" "emacs-lisp/package-x.el" -;;;;;; "emacs-lisp/smie.el" "emacs-lisp/subr-x.el" "emacs-lisp/tcover-ses.el" -;;;;;; "emacs-lisp/tcover-unsafep.el" "emulation/cua-gmrk.el" "emulation/edt-lk201.el" -;;;;;; "emulation/edt-mapper.el" "emulation/edt-pc.el" "emulation/edt-vt100.el" -;;;;;; "emulation/viper-cmd.el" "emulation/viper-ex.el" "emulation/viper-init.el" -;;;;;; "emulation/viper-keym.el" "emulation/viper-macs.el" "emulation/viper-mous.el" -;;;;;; "emulation/viper-util.el" "erc/erc-backend.el" "erc/erc-goodies.el" -;;;;;; "erc/erc-ibuffer.el" "erc/erc-lang.el" "eshell/em-alias.el" -;;;;;; "eshell/em-banner.el" "eshell/em-basic.el" "eshell/em-cmpl.el" -;;;;;; "eshell/em-dirs.el" "eshell/em-glob.el" "eshell/em-hist.el" -;;;;;; "eshell/em-ls.el" "eshell/em-pred.el" "eshell/em-prompt.el" -;;;;;; "eshell/em-rebind.el" "eshell/em-script.el" "eshell/em-smart.el" -;;;;;; "eshell/em-term.el" "eshell/em-tramp.el" "eshell/em-unix.el" -;;;;;; "eshell/em-xtra.el" "eshell/esh-arg.el" "eshell/esh-cmd.el" -;;;;;; "eshell/esh-ext.el" "eshell/esh-groups.el" "eshell/esh-io.el" -;;;;;; "eshell/esh-module.el" "eshell/esh-opt.el" "eshell/esh-proc.el" -;;;;;; "eshell/esh-util.el" "eshell/esh-var.el" "ezimage.el" "format-spec.el" -;;;;;; "fringe.el" "generic-x.el" "gnus/compface.el" "gnus/gnus-async.el" -;;;;;; "gnus/gnus-bcklg.el" "gnus/gnus-cite.el" "gnus/gnus-cloud.el" -;;;;;; "gnus/gnus-cus.el" "gnus/gnus-demon.el" "gnus/gnus-dup.el" -;;;;;; "gnus/gnus-eform.el" "gnus/gnus-ems.el" "gnus/gnus-icalendar.el" -;;;;;; "gnus/gnus-int.el" "gnus/gnus-logic.el" "gnus/gnus-mh.el" -;;;;;; "gnus/gnus-salt.el" "gnus/gnus-score.el" "gnus/gnus-srvr.el" -;;;;;; "gnus/gnus-topic.el" "gnus/gnus-undo.el" "gnus/gnus-util.el" -;;;;;; "gnus/gnus-uu.el" "gnus/gnus-vm.el" "gnus/gssapi.el" "gnus/ietf-drums.el" -;;;;;; "gnus/legacy-gnus-agent.el" "gnus/mail-parse.el" "gnus/mail-prsvr.el" -;;;;;; "gnus/mail-source.el" "gnus/mailcap.el" "gnus/messcompat.el" -;;;;;; "gnus/mm-archive.el" "gnus/mm-bodies.el" "gnus/mm-decode.el" -;;;;;; "gnus/mm-util.el" "gnus/mm-view.el" "gnus/mml-sec.el" "gnus/mml-smime.el" -;;;;;; "gnus/nnagent.el" "gnus/nnbabyl.el" "gnus/nndir.el" "gnus/nndraft.el" -;;;;;; "gnus/nneething.el" "gnus/nngateway.el" "gnus/nnheader.el" -;;;;;; "gnus/nnimap.el" "gnus/nnir.el" "gnus/nnmail.el" "gnus/nnmaildir.el" -;;;;;; "gnus/nnmairix.el" "gnus/nnmbox.el" "gnus/nnmh.el" "gnus/nnnil.el" -;;;;;; "gnus/nnoo.el" "gnus/nnregistry.el" "gnus/nnrss.el" "gnus/nnspool.el" -;;;;;; "gnus/nntp.el" "gnus/nnvirtual.el" "gnus/nnweb.el" "gnus/registry.el" -;;;;;; "gnus/rfc1843.el" "gnus/rfc2045.el" "gnus/rfc2047.el" "gnus/rfc2231.el" -;;;;;; "gnus/rtree.el" "gnus/sieve-manage.el" "gnus/smime.el" "gnus/spam-stat.el" -;;;;;; "gnus/spam-wash.el" "hex-util.el" "hfy-cmap.el" "ibuf-ext.el" -;;;;;; "international/charscript.el" "international/fontset.el" -;;;;;; "international/iso-ascii.el" "international/ja-dic-cnv.el" +;;;;;; "cedet/srecode/map.el" "cedet/srecode/mode.el" "cedet/srecode/semantic.el" +;;;;;; "cedet/srecode/srt.el" "cedet/srecode/table.el" "cedet/srecode/template.el" +;;;;;; "cedet/srecode/texi.el" "cus-dep.el" "dframe.el" "dired-aux.el" +;;;;;; "dired-x.el" "dom.el" "dos-fns.el" "dos-vars.el" "dos-w32.el" +;;;;;; "dynamic-setting.el" "emacs-lisp/avl-tree.el" "emacs-lisp/bindat.el" +;;;;;; "emacs-lisp/byte-opt.el" "emacs-lisp/cl-extra.el" "emacs-lisp/cl-macs.el" +;;;;;; "emacs-lisp/cl-seq.el" "emacs-lisp/cl.el" "emacs-lisp/eieio-base.el" +;;;;;; "emacs-lisp/eieio-compat.el" "emacs-lisp/eieio-custom.el" +;;;;;; "emacs-lisp/eieio-datadebug.el" "emacs-lisp/eieio-opt.el" +;;;;;; "emacs-lisp/eieio-speedbar.el" "emacs-lisp/generator.el" +;;;;;; "emacs-lisp/lisp-mnt.el" "emacs-lisp/package-x.el" "emacs-lisp/smie.el" +;;;;;; "emacs-lisp/subr-x.el" "emacs-lisp/tcover-ses.el" "emacs-lisp/tcover-unsafep.el" +;;;;;; "emulation/cua-gmrk.el" "emulation/edt-lk201.el" "emulation/edt-mapper.el" +;;;;;; "emulation/edt-pc.el" "emulation/edt-vt100.el" "emulation/viper-cmd.el" +;;;;;; "emulation/viper-ex.el" "emulation/viper-init.el" "emulation/viper-keym.el" +;;;;;; "emulation/viper-macs.el" "emulation/viper-mous.el" "emulation/viper-util.el" +;;;;;; "erc/erc-backend.el" "erc/erc-goodies.el" "erc/erc-ibuffer.el" +;;;;;; "erc/erc-lang.el" "eshell/em-alias.el" "eshell/em-banner.el" +;;;;;; "eshell/em-basic.el" "eshell/em-cmpl.el" "eshell/em-dirs.el" +;;;;;; "eshell/em-glob.el" "eshell/em-hist.el" "eshell/em-ls.el" +;;;;;; "eshell/em-pred.el" "eshell/em-prompt.el" "eshell/em-rebind.el" +;;;;;; "eshell/em-script.el" "eshell/em-smart.el" "eshell/em-term.el" +;;;;;; "eshell/em-tramp.el" "eshell/em-unix.el" "eshell/em-xtra.el" +;;;;;; "eshell/esh-arg.el" "eshell/esh-cmd.el" "eshell/esh-ext.el" +;;;;;; "eshell/esh-io.el" "eshell/esh-module.el" "eshell/esh-opt.el" +;;;;;; "eshell/esh-proc.el" "eshell/esh-util.el" "eshell/esh-var.el" +;;;;;; "ezimage.el" "format-spec.el" "fringe.el" "generic-x.el" +;;;;;; "gnus/compface.el" "gnus/gnus-async.el" "gnus/gnus-bcklg.el" +;;;;;; "gnus/gnus-cite.el" "gnus/gnus-cloud.el" "gnus/gnus-cus.el" +;;;;;; "gnus/gnus-demon.el" "gnus/gnus-dup.el" "gnus/gnus-eform.el" +;;;;;; "gnus/gnus-ems.el" "gnus/gnus-icalendar.el" "gnus/gnus-int.el" +;;;;;; "gnus/gnus-logic.el" "gnus/gnus-mh.el" "gnus/gnus-salt.el" +;;;;;; "gnus/gnus-score.el" "gnus/gnus-srvr.el" "gnus/gnus-topic.el" +;;;;;; "gnus/gnus-undo.el" "gnus/gnus-util.el" "gnus/gnus-uu.el" +;;;;;; "gnus/gnus-vm.el" "gnus/gssapi.el" "gnus/ietf-drums.el" "gnus/legacy-gnus-agent.el" +;;;;;; "gnus/mail-parse.el" "gnus/mail-prsvr.el" "gnus/mail-source.el" +;;;;;; "gnus/mailcap.el" "gnus/messcompat.el" "gnus/mm-archive.el" +;;;;;; "gnus/mm-bodies.el" "gnus/mm-decode.el" "gnus/mm-util.el" +;;;;;; "gnus/mm-view.el" "gnus/mml-sec.el" "gnus/mml-smime.el" "gnus/nnagent.el" +;;;;;; "gnus/nnbabyl.el" "gnus/nndir.el" "gnus/nndraft.el" "gnus/nneething.el" +;;;;;; "gnus/nngateway.el" "gnus/nnheader.el" "gnus/nnimap.el" "gnus/nnir.el" +;;;;;; "gnus/nnmail.el" "gnus/nnmaildir.el" "gnus/nnmairix.el" "gnus/nnmbox.el" +;;;;;; "gnus/nnmh.el" "gnus/nnnil.el" "gnus/nnoo.el" "gnus/nnregistry.el" +;;;;;; "gnus/nnrss.el" "gnus/nnspool.el" "gnus/nntp.el" "gnus/nnvirtual.el" +;;;;;; "gnus/nnweb.el" "gnus/registry.el" "gnus/rfc1843.el" "gnus/rfc2045.el" +;;;;;; "gnus/rfc2047.el" "gnus/rfc2231.el" "gnus/rtree.el" "gnus/sieve-manage.el" +;;;;;; "gnus/smime.el" "gnus/spam-stat.el" "gnus/spam-wash.el" "hex-util.el" +;;;;;; "hfy-cmap.el" "ibuf-ext.el" "international/charscript.el" +;;;;;; "international/fontset.el" "international/iso-ascii.el" "international/ja-dic-cnv.el" ;;;;;; "international/ja-dic-utl.el" "international/ogonek.el" "international/uni-bidi.el" ;;;;;; "international/uni-brackets.el" "international/uni-category.el" ;;;;;; "international/uni-combining.el" "international/uni-comment.el" @@ -32340,43 +32365,43 @@ Zone out, completely. ;;;;;; "net/imap.el" "net/ldap.el" "net/mairix.el" "net/newsticker.el" ;;;;;; "net/nsm.el" "net/rfc2104.el" "net/sasl-cram.el" "net/sasl-digest.el" ;;;;;; "net/sasl-scram-rfc.el" "net/sasl.el" "net/shr-color.el" -;;;;;; "net/soap-client.el" "net/soap-inspect.el" "net/socks.el" -;;;;;; "net/tls.el" "net/tramp-adb.el" "net/tramp-cache.el" "net/tramp-cmds.el" -;;;;;; "net/tramp-compat.el" "net/tramp-gvfs.el" "net/tramp-gw.el" -;;;;;; "net/tramp-loaddefs.el" "net/tramp-sh.el" "net/tramp-smb.el" -;;;;;; "net/tramp-uu.el" "net/trampver.el" "net/zeroconf.el" "notifications.el" -;;;;;; "nxml/nxml-enc.el" "nxml/nxml-maint.el" "nxml/nxml-ns.el" -;;;;;; "nxml/nxml-outln.el" "nxml/nxml-parse.el" "nxml/nxml-rap.el" -;;;;;; "nxml/nxml-util.el" "nxml/rng-dt.el" "nxml/rng-loc.el" "nxml/rng-maint.el" -;;;;;; "nxml/rng-match.el" "nxml/rng-parse.el" "nxml/rng-pttrn.el" -;;;;;; "nxml/rng-uri.el" "nxml/rng-util.el" "nxml/xsd-regexp.el" -;;;;;; "org/ob-C.el" "org/ob-R.el" "org/ob-asymptote.el" "org/ob-awk.el" -;;;;;; "org/ob-calc.el" "org/ob-clojure.el" "org/ob-comint.el" "org/ob-core.el" -;;;;;; "org/ob-css.el" "org/ob-ditaa.el" "org/ob-dot.el" "org/ob-emacs-lisp.el" -;;;;;; "org/ob-eval.el" "org/ob-exp.el" "org/ob-fortran.el" "org/ob-gnuplot.el" -;;;;;; "org/ob-haskell.el" "org/ob-io.el" "org/ob-java.el" "org/ob-js.el" -;;;;;; "org/ob-keys.el" "org/ob-latex.el" "org/ob-ledger.el" "org/ob-lilypond.el" -;;;;;; "org/ob-lisp.el" "org/ob-lob.el" "org/ob-makefile.el" "org/ob-matlab.el" -;;;;;; "org/ob-maxima.el" "org/ob-mscgen.el" "org/ob-ocaml.el" "org/ob-octave.el" -;;;;;; "org/ob-org.el" "org/ob-perl.el" "org/ob-picolisp.el" "org/ob-plantuml.el" -;;;;;; "org/ob-python.el" "org/ob-ref.el" "org/ob-ruby.el" "org/ob-sass.el" -;;;;;; "org/ob-scala.el" "org/ob-scheme.el" "org/ob-screen.el" "org/ob-sh.el" -;;;;;; "org/ob-shen.el" "org/ob-sql.el" "org/ob-sqlite.el" "org/ob-table.el" -;;;;;; "org/ob-tangle.el" "org/ob.el" "org/org-archive.el" "org/org-attach.el" -;;;;;; "org/org-bbdb.el" "org/org-bibtex.el" "org/org-clock.el" -;;;;;; "org/org-crypt.el" "org/org-ctags.el" "org/org-datetree.el" -;;;;;; "org/org-docview.el" "org/org-element.el" "org/org-entities.el" -;;;;;; "org/org-eshell.el" "org/org-faces.el" "org/org-feed.el" -;;;;;; "org/org-footnote.el" "org/org-gnus.el" "org/org-habit.el" -;;;;;; "org/org-id.el" "org/org-indent.el" "org/org-info.el" "org/org-inlinetask.el" -;;;;;; "org/org-install.el" "org/org-irc.el" "org/org-list.el" "org/org-loaddefs.el" -;;;;;; "org/org-macro.el" "org/org-mhe.el" "org/org-mobile.el" "org/org-mouse.el" -;;;;;; "org/org-pcomplete.el" "org/org-plot.el" "org/org-protocol.el" -;;;;;; "org/org-rmail.el" "org/org-src.el" "org/org-table.el" "org/org-timer.el" -;;;;;; "org/org-w3m.el" "org/ox-ascii.el" "org/ox-beamer.el" "org/ox-html.el" -;;;;;; "org/ox-icalendar.el" "org/ox-latex.el" "org/ox-man.el" "org/ox-md.el" -;;;;;; "org/ox-odt.el" "org/ox-org.el" "org/ox-publish.el" "org/ox-texinfo.el" -;;;;;; "org/ox.el" "play/gametree.el" "progmodes/ada-prj.el" "progmodes/cc-align.el" +;;;;;; "net/socks.el" "net/tls.el" "net/tramp-adb.el" "net/tramp-cache.el" +;;;;;; "net/tramp-cmds.el" "net/tramp-compat.el" "net/tramp-gvfs.el" +;;;;;; "net/tramp-gw.el" "net/tramp-loaddefs.el" "net/tramp-sh.el" +;;;;;; "net/tramp-smb.el" "net/tramp-uu.el" "net/trampver.el" "net/zeroconf.el" +;;;;;; "notifications.el" "nxml/nxml-enc.el" "nxml/nxml-maint.el" +;;;;;; "nxml/nxml-ns.el" "nxml/nxml-outln.el" "nxml/nxml-parse.el" +;;;;;; "nxml/nxml-rap.el" "nxml/nxml-util.el" "nxml/rng-dt.el" "nxml/rng-loc.el" +;;;;;; "nxml/rng-maint.el" "nxml/rng-match.el" "nxml/rng-parse.el" +;;;;;; "nxml/rng-pttrn.el" "nxml/rng-uri.el" "nxml/rng-util.el" +;;;;;; "nxml/xsd-regexp.el" "org/ob-C.el" "org/ob-R.el" "org/ob-asymptote.el" +;;;;;; "org/ob-awk.el" "org/ob-calc.el" "org/ob-clojure.el" "org/ob-comint.el" +;;;;;; "org/ob-core.el" "org/ob-css.el" "org/ob-ditaa.el" "org/ob-dot.el" +;;;;;; "org/ob-emacs-lisp.el" "org/ob-eval.el" "org/ob-exp.el" "org/ob-fortran.el" +;;;;;; "org/ob-gnuplot.el" "org/ob-haskell.el" "org/ob-io.el" "org/ob-java.el" +;;;;;; "org/ob-js.el" "org/ob-keys.el" "org/ob-latex.el" "org/ob-ledger.el" +;;;;;; "org/ob-lilypond.el" "org/ob-lisp.el" "org/ob-lob.el" "org/ob-makefile.el" +;;;;;; "org/ob-matlab.el" "org/ob-maxima.el" "org/ob-mscgen.el" +;;;;;; "org/ob-ocaml.el" "org/ob-octave.el" "org/ob-org.el" "org/ob-perl.el" +;;;;;; "org/ob-picolisp.el" "org/ob-plantuml.el" "org/ob-python.el" +;;;;;; "org/ob-ref.el" "org/ob-ruby.el" "org/ob-sass.el" "org/ob-scala.el" +;;;;;; "org/ob-scheme.el" "org/ob-screen.el" "org/ob-sh.el" "org/ob-shen.el" +;;;;;; "org/ob-sql.el" "org/ob-sqlite.el" "org/ob-table.el" "org/ob-tangle.el" +;;;;;; "org/ob.el" "org/org-archive.el" "org/org-attach.el" "org/org-bbdb.el" +;;;;;; "org/org-bibtex.el" "org/org-clock.el" "org/org-crypt.el" +;;;;;; "org/org-ctags.el" "org/org-datetree.el" "org/org-docview.el" +;;;;;; "org/org-element.el" "org/org-entities.el" "org/org-eshell.el" +;;;;;; "org/org-faces.el" "org/org-feed.el" "org/org-footnote.el" +;;;;;; "org/org-gnus.el" "org/org-habit.el" "org/org-id.el" "org/org-indent.el" +;;;;;; "org/org-info.el" "org/org-inlinetask.el" "org/org-install.el" +;;;;;; "org/org-irc.el" "org/org-list.el" "org/org-macro.el" "org/org-mhe.el" +;;;;;; "org/org-mobile.el" "org/org-mouse.el" "org/org-pcomplete.el" +;;;;;; "org/org-plot.el" "org/org-protocol.el" "org/org-rmail.el" +;;;;;; "org/org-src.el" "org/org-table.el" "org/org-timer.el" "org/org-w3m.el" +;;;;;; "org/ox-ascii.el" "org/ox-beamer.el" "org/ox-html.el" "org/ox-icalendar.el" +;;;;;; "org/ox-latex.el" "org/ox-man.el" "org/ox-md.el" "org/ox-odt.el" +;;;;;; "org/ox-org.el" "org/ox-publish.el" "org/ox-texinfo.el" "org/ox.el" +;;;;;; "play/gametree.el" "progmodes/ada-prj.el" "progmodes/cc-align.el" ;;;;;; "progmodes/cc-awk.el" "progmodes/cc-bytecomp.el" "progmodes/cc-cmds.el" ;;;;;; "progmodes/cc-defs.el" "progmodes/cc-fonts.el" "progmodes/cc-langs.el" ;;;;;; "progmodes/cc-menus.el" "progmodes/ebnf-abn.el" "progmodes/ebnf-bnf.el" @@ -32399,7 +32424,7 @@ Zone out, completely. ;;;;;; "vc/ediff-vers.el" "vc/ediff-wind.el" "vc/pcvs-info.el" "vc/pcvs-parse.el" ;;;;;; "vc/pcvs-util.el" "vc/vc-dav.el" "vc/vc-filewise.el" "vcursor.el" ;;;;;; "vt-control.el" "vt100-led.el" "w32-fns.el" "w32-vars.el" -;;;;;; "x-dnd.el") (22026 26004 435502 692000)) +;;;;;; "x-dnd.el") (22069 63623 894804 836000)) ;;;*** commit b692d6aa4309360e5009e42a0cb1ba477775e333 Author: Juanma Barranquero Date: Sun Nov 1 05:27:48 2015 +0100 ; Fix ChangeLog.2 typos and style diff --git a/ChangeLog.2 b/ChangeLog.2 index d86ce38..83798aa 100644 --- a/ChangeLog.2 +++ b/ChangeLog.2 @@ -865,7 +865,7 @@ 2015-10-17 Mark Oteiza - * lisp/emacs-lisp/eldoc.el: Add back-to-indentation to the command list + * lisp/emacs-lisp/eldoc.el: Add back-to-indentation to the command list. 2015-10-17 Eli Zaretskii @@ -895,8 +895,8 @@ 2015-10-16 Artur Malabarba - * emacs-lisp/package.el: Reload archive-contents if priorities change - + * lisp/emacs-lisp/package.el: Reload archive-contents if + priorities change. (package--old-archive-priorities): New variable. (package-read-all-archive-contents, package-menu--refresh): Use it to decide when the `package-archive-contents' needs to be read @@ -945,7 +945,7 @@ 2015-10-16 Artur Malabarba - * custom.el (custom-theme-load-path): Demote to defvar + * lisp/custom.el (custom-theme-load-path): Demote to defvar. `custom-theme-load-path' was a defcustom, but it shouldn't be for the same reason that `load-path' shouldn't. Setting it via the customize @@ -965,8 +965,7 @@ 2015-10-16 Stefan Monnier - * lisp/mpc.el: Rename the new toggling commands - + * lisp/mpc.el: Rename the new toggling commands. (mpc-toggle-consume, mpc-toggle-repeat, mpc-toggle-single) (mpc-toggle-shuffle): Add "-toggle" in the name. @@ -981,7 +980,7 @@ 2015-10-16 Oleh Krehel - lisp/dired-aux.el (dired-shell-command): Fix compile warning + * lisp/dired-aux.el (dired-shell-command): Fix compile warning. 2015-10-16 Oleh Krehel @@ -989,18 +988,18 @@ * lisp/dired-aux.el (dired-check-process): Transform the top-level comment into a docstring. - (dired-shell-command): New command. This mirrors + (dired-shell-command): New command. This mirrors `dired-check-process', but is more user-friendly for passing arguments. (dired-compress-file-suffixes): Allow to specify the command switches along with input (%i) and output (%o) inside the PROGRAM part. Add an entry for *.zip files, and update the entry for *.tar.gz files - to the new style. Update the docstring. + to the new style. Update the docstring. (dired-compress-file): When PROGRAM matches %i or %o, use the new logic. (dired-update-file-line): Avoid an error when at end of buffer. - Fixes Bug#21637 + Fixes bug#21637. 2015-10-16 Eli Zaretskii @@ -1098,8 +1097,6 @@ 2015-10-14 Warren Lynn (tiny change) - Fix Bug#21562 - * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Quote argument in proper order. (Bug#21562) @@ -1197,7 +1194,7 @@ Derive mpc-mode from special-mode - lisp/mpc.el (mpc-mode-map): Make from sparse keymap. Unbind g. + lisp/mpc.el (mpc-mode-map): Make from sparse keymap. Unbind g. (mpc-mode): Derive from special mode. (mpc-songs-mode-map): Don't set parent keymap. @@ -1206,8 +1203,8 @@ Fix error messages for when covers are not found. The last change to mpc-format let the binding to file call - mpc-file-local-copy with nil argument. Instead, employ if-let here so - nil bindings don't result in needless computation and errors. + mpc-file-local-copy with nil argument. Instead, employ if-let here + so nil bindings don't result in needless computation and errors. * lisp/mpc.el: Require 'subr-x at compile time. * lisp/mpc.el (mpc-format): Use if-let. @@ -1341,7 +1338,6 @@ 2015-10-13 Michael Albinus * test/automated/file-notify-tests.el (file-notify--test-timeout): - Add docstring. Increase to 10 seconds for remote directories. (Bug#21669) @@ -1362,7 +1358,7 @@ 2015-10-12 Mark Oteiza - Use highlight for current items. + Use highlight for current items * lisp/mpc.el (mpc-select-make-overlay, mpc-tagbrowser-all-select): Apply highlight face instead of region face. @@ -1414,10 +1410,8 @@ 2015-10-12 Mike FABIAN - In gui-get-primary-selection use gui--selection-value-internal (Bug#20906) - - * lisp/select.el (gui-get-primary-selection): In gui-get-primary-selection - use gui--selection-value-internal (Bug#20906) + * lisp/select.el (gui-get-primary-selection): In + gui-get-primary-selection use gui--selection-value-internal (Bug#20906) 2015-10-12 Tassilo Horn @@ -1427,14 +1421,14 @@ 2015-10-12 Juanma Barranquero - * w32fns.c (get_wm_chars): Increment counter, not pointer. + * src/w32fns.c (get_wm_chars): Increment counter, not pointer. 2015-10-11 Nicolas Petton Replace the usage of an obsolete function in auth-source.el - * lisp/gnus/auth-source.el (auth-source-epa-make-gpg-token): Replace an - usage of `epg-context-set-armor' with `setf'. + * lisp/gnus/auth-source.el (auth-source-epa-make-gpg-token): + Replace an usage of `epg-context-set-armor' with `setf'. 2015-10-11 Nicolas Petton @@ -1449,7 +1443,7 @@ 2015-10-11 Ken Raeburn - Handle an opaque-move X11 window manager operation more efficiently. + Handle an opaque-move X11 window manager operation more efficiently * src/xterm.c (handle_one_xevent): If a ConfigureNotify event is followed by more ConfigureNotify events for the same window, process @@ -1457,7 +1451,7 @@ 2015-10-11 Ken Raeburn - Fix cursor setting for tip frame; re-enable cursor generation. + Fix cursor setting for tip frame; re-enable cursor generation * src/xfns.c (x_create_tip_frame): Include the cursor in the window attributes sent when creating the new X window. Don't skip setting @@ -1465,7 +1459,7 @@ 2015-10-11 Ken Raeburn - Rewrite x_set_mouse_color to sync less. + Rewrite x_set_mouse_color to sync less We can track serial numbers of X requests and correlate error events with the associated requests. This way we can identify errors for @@ -1482,7 +1476,7 @@ 2015-10-11 Ken Raeburn - Add x_catch_errors_with_handler. + Add x_catch_errors_with_handler * src/xterm.c (struct x_error_message_stack): Add new fields for a callback function and associated data pointer. @@ -1496,7 +1490,7 @@ 2015-10-11 Ken Raeburn - Introduce x_uncatch_errors_after_check to reduce XSync calls. + Introduce x_uncatch_errors_after_check to reduce XSync calls Both x_had_errors_p and x_check_errors call XSync, so if they're immediately followed by x_uncatch_errors, its XSync call will be @@ -1513,7 +1507,7 @@ 2015-10-10 Jay Belanger - Document the optional prefix to `calc-yank'. + Document the optional prefix to `calc-yank' * doc/misc/calc.texi (Yanking into the Stack): Document the optional prefix to `calc-yank'. @@ -1644,7 +1638,8 @@ names in `oref'. * lisp/cedet/ede/linux.el: Silence some compiler warnings. - (ede-linux-load, ede-project-autoload): Avoid the old-style "name" argument. + (ede-linux-load, ede-project-autoload): Avoid the old-style + "name" argument. (ede-linux-find-matching-target): Use field names rather than initarg names in `oref'. @@ -1654,9 +1649,8 @@ 2015-10-09 Stefan Monnier - * lisp/progmodes/prolog.el: Avoid indenting too much, after ":-" - - (prolog-smie-rules): Try and avoid indenting too far after ":-". + * lisp/progmodes/prolog.el (prolog-smie-rules): Try and avoid + indenting too far after ":-". 2015-10-09 Eli Zaretskii @@ -1669,8 +1663,6 @@ 2015-10-09 Martin Rudalics - In adjust_frame_size don't count minibuffer height twice (Bug#21643) - * src/frame.c (adjust_frame_size): In minibuffer-only windows don't count minibuffer height twice. (Bug#21643) @@ -1686,20 +1678,19 @@ Refactor duplicated code; ensure default is in completions - * lisp/textmodes/reftex-cite.el (reftex--query-search-regexps): New function. + * lisp/textmodes/reftex-cite.el (reftex--query-search-regexps): + New function. (reftex-extract-bib-entries): Use it. (reftex-extract-bib-entries-from-thebibliography): Use it. 2015-10-09 Vincent Belaïche - Typo in example - - * autotype.texi (Skeletons as Abbrevs): "if" -> "ifst" in the example. + * doc/misc/autotype.texi (Skeletons as Abbrevs): "if" -> "ifst" + in the example. 2015-10-08 Stefan Monnier - * lisp/calc/calc.el: Silence byte-compiler warnings - + * lisp/calc/calc.el: Silence byte-compiler warnings. (calc-scan-for-dels): Use ignore-errors. (calc-dispatch, calc-do-dispatch): Make unused arg optional. (calc-read-key-sequence): Remove unused var `prompt2'. @@ -1740,7 +1731,7 @@ 2015-10-08 Jay Belanger - Format initial input uniformly. + Format initial input uniformly * lisp/calc/calc.el (calc-digit-start-entry): New function. * lisp/calc/calc.el (calcDigit-start): @@ -1749,7 +1740,7 @@ 2015-10-08 Ken Raeburn - Disable non-working pointerColor setting for X tooltip frame. + Disable non-working pointerColor setting for X tooltip frame It generates a bunch of server traffic, but there's some bug wherein the new mouse cursor settings don't seem to get used. In most @@ -1760,7 +1751,7 @@ 2015-10-08 Ken Raeburn - Reduce some unnecessary X calls. + Reduce some unnecessary X calls * src/xfns.c (x_real_pos_and_offsets): Remove a redundant XGetGeometry call. If border width is wanted, get it from the XGetGeometry call @@ -1771,7 +1762,7 @@ 2015-10-08 Ken Raeburn - Reduce color allocation/query traffic in the TrueColor case. + Reduce color allocation/query traffic in the TrueColor case When working with an X visual with TrueColor class, pixel values can be generated from the RGB values according to mask value provided by @@ -1797,7 +1788,7 @@ 2015-10-08 Ken Raeburn - Cache XParseColor results in the X display info structure. + Cache XParseColor results in the X display info structure With repeated lookups of foreground and background colors for multiple faces per frame, we issue a lot of redundant color name lookups to the @@ -1818,7 +1809,7 @@ 2015-10-07 Stefan Monnier - * src/syntax.c (syms_of_syntax): Make syntax-propertize--done local + * src/syntax.c (syms_of_syntax): Make syntax-propertize--done local. 2015-10-07 Eli Zaretskii @@ -1836,14 +1827,12 @@ 2015-10-07 Artur Malabarba - * test/automated/tabulated-list-test.el: New file - + * test/automated/tabulated-list-test.el: New file. Test bug#21639 and some basic functionality. 2015-10-07 Artur Malabarba * lisp/emacs-lisp/tabulated-list.el (tabulated-list-sort): - Check if column can be sorted before trying. (Bug#21639) 2015-10-07 Nicolas Richard @@ -1854,25 +1843,21 @@ 2015-10-07 Martin Rudalics - In resize_frame_windows don't set a top position when resizing horizontally. - * src/window.c (resize_frame_windows): Don't set root window's top position when resizing horizontally. 2015-10-07 Artur Malabarba * lisp/progmodes/prog-mode.el (prettify-symbols-alist): - Document more possible values. 2015-10-06 Stefan Monnier - * lisp/textmodes/tex-mode.el: Use lexical-binding + * lisp/textmodes/tex-mode.el: Use lexical-binding. 2015-10-06 Stefan Monnier - * lisp/indent.el (indent--default-inside-comment): New function - + * lisp/indent.el (indent--default-inside-comment): New function. (indent-for-tab-command): Use it for `noindent' indentation. 2015-10-06 Paul Eggert @@ -1890,21 +1875,16 @@ 2015-10-06 Tassilo Horn - Add prettified version of \\Bbb{Q}. - - * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Add - prettified version for \\Bbb{Q}. + * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): + Add prettified version for \\Bbb{Q}. 2015-10-06 Artur Malabarba * test/automated/package-test.el (package-test-install-single): - Add a test for bug#21625. 2015-10-06 Aaron Ecay - lisp/emacs-lisp/package.el (package-install): Fix name error - * lisp/emacs-lisp/package.el (package-install): Fix error when pkg is not a package-desc object. Also clarify documentation. (Bug#21625) @@ -1919,8 +1899,6 @@ 2015-10-06 Andreas Schwab - Don't use XFASTINT on a negative number - * src/cmds.c (Fself_insert_command): Don't use XFASTINT on a negative number. (Bug#21633) @@ -1932,10 +1910,8 @@ 2015-10-05 Eli Zaretskii - Fix composition-function-table for Arabic and Syriac - - * lisp/language/misc-lang.el (composition-function-table): Fix - entries for Arabic and Syriac. + * lisp/language/misc-lang.el (composition-function-table): + Fix entries for Arabic and Syriac. 2015-10-05 Damien Cassou @@ -1956,7 +1932,7 @@ 2015-10-04 Stefan Monnier - * src/xdisp.c (windows_or_buffers_changed): Improve docstring + * src/xdisp.c (windows_or_buffers_changed): Improve docstring. 2015-10-04 Xue Fuqiao @@ -1966,16 +1942,17 @@ 2015-10-04 YAMAMOTO Mitsuharu - * src/macfont.m (macfont_encode_char, syms_of_macfont): Remove unused vars. + * src/macfont.m (macfont_encode_char, syms_of_macfont): + Remove unused vars. 2015-10-04 Stefan Merten Pull in version numbers from rst.el upstream release. - * lisp/textmodes/rst.el (rst-cvs-header, rst-svn-rev) - (rst-svn-timestamp, rst-official-version) - (rst-official-cvs-rev, rst-package-emacs-version-alist): - Update version numbers. + * lisp/textmodes/rst.el (rst-cvs-header, rst-svn-rev) + (rst-svn-timestamp, rst-official-version) + (rst-official-cvs-rev, rst-package-emacs-version-alist): + Update version numbers. 2015-10-04 Eli Zaretskii @@ -2001,7 +1978,7 @@ fix for the case that M17N_FLT_USE_NEW_FEATURE is not defined - * ftfont.c (ftfont_drive_otf) [not M17N_FLT_USE_NEW_FEATURE]: + * src/ftfont.c (ftfont_drive_otf) [not M17N_FLT_USE_NEW_FEATURE]: Adjusted for the change of type of elements in the array MFLTGlyphString.glyphs. @@ -2017,16 +1994,20 @@ 2015-10-04 Vincent Belaïche - Restore blank line before next section, erroneously erased in my previous commit + Restore blank line before next section, erroneously erased + in my previous commit - * etc/compilation.txt (symbol ant): add an additional trailing blank line to this section, so that there are two of them immediately before the next section + * etc/compilation.txt (symbol ant): Add an additional trailing blank + line to this section, so that there are two of them immediately before + the next section. 2015-10-04 Vincent Belaïche Support MSW filename style for ant compilation error regexp * etc/compilation.txt (symbol ant): - * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Support MSW filename style + * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): + Support MSW filename style. 2015-10-03 Paul Eggert @@ -2052,12 +2033,11 @@ 2015-10-03 Andreas Schwab - * src/coding.c (complement_process_encoding_system): Revert last - change. + * src/coding.c (complement_process_encoding_system): Revert last change. 2015-10-03 Ulf Jasper - Add entry for Ulf Jasper. + * admin/MAINTAINERS: Add entry for Ulf Jasper. 2015-10-03 Xue Fuqiao @@ -2072,8 +2052,8 @@ * src/fileio.c (Finsert_file_contents): Remove redundant coding-system check. (choose_write_coding_system): Likewise. - * src/coding.c (complement_process_encoding_system): Check - argument for valid coding system. + * src/coding.c (complement_process_encoding_system): Check argument + for valid coding system. 2015-10-03 Eli Zaretskii @@ -2103,8 +2083,8 @@ Adapt to new prettify-symbols-unprettify-at-point default - * etc/NEWS: Mention that unprettication of symbol at point is off by - default. + * etc/NEWS: Mention that unprettication of symbol at point is off + by default. 2015-10-03 Tassilo Horn @@ -2114,12 +2094,11 @@ channels from Available set" because they did not fix bug#21313. This reverts commits bfa1aa8e2bdaf14adbbf1e9e824051d3f740694c and - 27f871907cc24f33a7d12ac3a4ab71a88f0bc554.. + 27f871907cc24f33a7d12ac3a4ab71a88f0bc554. 2015-10-02 Markus Triska - * prolog.el: Update and extend operator table - + * lisp/progmodes/prolog.el: Update and extend operator table. (prolog-smie-grammar): Add multifile, public etc. 2015-10-02 Paul Eggert @@ -2130,8 +2109,7 @@ 2015-10-02 Stefan Monnier - * lisp/vc/vc-git.el (vc-git-region-history): Handle local changes - + * lisp/vc/vc-git.el (vc-git-region-history): Handle local changes. Adjust lto/lfrom when we have uncommitted changes. 2015-10-02 Paul Eggert @@ -2144,7 +2122,7 @@ 2015-10-02 Eli Zaretskii - * nt/INSTALL: Update instructions for running autogen.sh + * nt/INSTALL: Update instructions for running autogen.sh. * nt/INSTALL: Point to ezwinports for libXpm binaries. @@ -2194,17 +2172,13 @@ 2015-10-01 Stephen Leake - Improve doc strings in dired.c - * src/dired.c (Ffile_name_completion, Ffile_name_all_completions): Improve doc string. 2015-10-01 Stephen Leake - Set default base-size in minibuffer-completion-help - - * lisp/minibuffer.el (minibuffer-completion-help): Set default base-size, - in case completion table does not set it. + * lisp/minibuffer.el (minibuffer-completion-help): + Set default base-size, in case completion table does not set it. 2015-10-01 Eli Zaretskii @@ -2217,15 +2191,15 @@ 2015-10-01 Eli Zaretskii - * nt/INSTALL: Document where to find XPM support files + * nt/INSTALL: Document where to find XPM support files. 2015-10-01 Tassilo Horn Un- and re-prettification are not exclusive * lisp/progmodes/prog-mode.el (prettify-symbols--post-command-hook): - Re-apply prettification to previous symbol also when unprettifying next - one. + Re-apply prettification to previous symbol also when unprettifying + next one. 2015-10-01 Tassilo Horn @@ -2237,10 +2211,9 @@ 2015-09-30 Artur Malabarba * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point): - Support unprettifying when point is after a symbol. - * etc/NEWS: Document `prettify-symbols-unprettify-at-point' + * etc/NEWS: Document `prettify-symbols-unprettify-at-point'. 2015-09-30 Eli Zaretskii @@ -2304,7 +2277,8 @@ 2015-09-30 YAMAMOTO Mitsuharu - * src/macfont.m (mac_font_descriptor_supports_languages): Regard "zh" as synonym of "zh-Hans". + * src/macfont.m (mac_font_descriptor_supports_languages): + Regard "zh" as synonym of "zh-Hans". 2015-09-30 YAMAMOTO Mitsuharu @@ -2320,20 +2294,22 @@ 2015-09-30 Nicolas Petton - * lisp/arc-mode.el (archive-rar-summarize): Better alignment of the columns. + * lisp/arc-mode.el (archive-rar-summarize): Better alignment + of the columns. 2015-09-30 Nicolas Petton Use unar and lsar to handle RAR archives in arc-mode * lisp/arc-mode.el (archive-rar-extract, archive-extract-by-file): Rely - on unar and lsar instead of unrar-free for RAR archives (Bug#17663). + on unar and lsar instead of unrar-free for RAR archives (bug#17663). 2015-09-30 Wieland Hoffmann (tiny change) Clarify :create in auth-source's docs - * auth-source.el (auth-source-search): Clarify :create's meaning. + * lisp/gnus/auth-source.el (auth-source-search): + Clarify :create's meaning. 2015-09-30 Phil Sainty @@ -2357,16 +2333,14 @@ 2015-09-29 Stefan Monnier - * lisp/progmodes/prolog.el: Fix various indentation cases - + * lisp/progmodes/prolog.el: Fix various indentation cases. (prolog-operator-chars): New const (add \\). (prolog-smie-forward-token, prolog-smie-backward-token): Use it. (prolog-smie-rules): Add rules according to bug#21526. 2015-09-29 Stefan Monnier - * lisp/progmodes/sh-script.el: Old "dumb" continued line indent - + * lisp/progmodes/sh-script.el: Old "dumb" continued line indent. (sh-indent-after-continuation): Add new value `always' (bug#17620) (sh-smie-sh-rules): Remove old handling of continued lines. (sh-smie--indent-continuation): New function. @@ -2374,8 +2348,7 @@ 2015-09-29 Stefan Monnier - * lisp/progmodes/octave.el: Use grammar more; Handle enumeration fun - + * lisp/progmodes/octave.el: Use grammar more; Handle enumeration fun. Remove redundant :group keyword args. (octave-begin-keywords, octave-else-keywords, octave-end-keywords): Remove variables. @@ -2390,19 +2363,19 @@ distinguish the "enumeration" function and the "end" index from their corresponding keywords. (octave--block-offset-keywords): New constant. - (octave-smie-rules): Use it. Adjust rules for new global/persistent parsing. + (octave-smie-rules): Use it. Adjust rules for new global/persistent + parsing. (octave-reserved-words): Redefine using octave-smie-grammar. (octave-font-lock-keywords): Use octave-smie--funcall-p and octave-smie--end-index-p. 2015-09-29 Stefan Monnier - * lisp/emacs-lisp/lisp-mode.el (let-when-compile): Work like let* + * lisp/emacs-lisp/lisp-mode.el (let-when-compile): Work like let*. 2015-09-29 Eli Zaretskii - nt/INSTALL: Remove references to GTK site - + * nt/INSTALL: Remove references to GTK site. That site no longer offers Windows downloads. 2015-09-29 Eli Zaretskii @@ -2411,13 +2384,13 @@ 2015-09-29 Katsumi Yamaoka - * net/shr.el (shr-colorize-region): Allow 88-color tty to use colors. - Suggested by Eli Zaretskii. + * lisp/net/shr.el (shr-colorize-region): Allow 88-color tty to + use colors. Suggested by Eli Zaretskii. 2015-09-28 Katsumi Yamaoka - * net/shr.el (shr-colorize-region): - Don't do it on a system not supporting 256 above colors (bug#21557). + * lisp/net/shr.el (shr-colorize-region): Don't do it on a system + not supporting 256 above colors (bug#21557). 2015-09-28 Dmitry Gutov @@ -2468,21 +2441,19 @@ 2015-09-28 Tassilo Horn - Add admin/MAINTAINERS entries - * admin/MAINTAINERS: Add entries for AUCTeX team and myself. -2015-09-28 (tiny change) Arash Esbati (tiny change) +2015-09-28 Arash Esbati (tiny change) Improve wrapfig package support and caption parsing - * lisp/textmodes/reftex-vars.el (reftex-label-alist-builtin): Correct - description string and add wraptable environment. + * lisp/textmodes/reftex-vars.el (reftex-label-alist-builtin): + Correct description string and add wraptable environment. (reftex-default-context-regexps): Improve caption regexp. 2015-09-28 Anders Lindgren - Respect value of frame_resize_pixelwise when handling fullscreen state. + Respect value of frame_resize_pixelwise when handling fullscreen state * src/nsterm.m (handleFS): Respect frame_resize_pixelwise when setting size increments. @@ -2504,18 +2475,17 @@ 2015-09-26 Alan Mackenzie - Fix follow-scroll-up/down, making them replacements for scroll-up/down. + Fix follow-scroll-up/down, making them replacements for scroll-up/down 1. Allow point to move between follow windows in scroll operations. 2. Fix bug where `right-char' just before EOB caused spurious scrolling, when EOB was isolated in the last follow window. - lisp/follow.el (follow-fixed-window): New variable. + * lisp/follow.el (follow-fixed-window): New variable. (follow-get-scrolled-point): New function. (follow-scrol-up, follow-scroll-down): Add autoload cookies. - Reformulate - the code. Put `scroll-command' properties on the functions. Correct - minor errors in ...-down's doc string and code. + Reformulate the code. Put `scroll-command' properties on the functions. + Correct minor errors in ...-down's doc string and code. (follow-calc-win-end): Amend incomplete doc string. Use `pos-visible-in-window-p' to check whether EOB is in the window. (follow-estimate-first-window-start): Correct an off-by-1 error. @@ -2523,7 +2493,8 @@ 2015-09-26 Paul Eggert - * admin/MAINTAINERS: Add self, plus list some more files sans maintaners. + * admin/MAINTAINERS: Add self, plus list some more files + sans maintaners. 2015-09-26 Zachary Kanfer (tiny change) @@ -2534,7 +2505,7 @@ 2015-09-26 Eli Zaretskii - * etc/PROBLEMS: Document problems with pasting on MS-Windows + * etc/PROBLEMS: Document problems with pasting on MS-Windows. 2015-09-26 Eli Zaretskii @@ -2564,15 +2535,13 @@ Remove font-latex specific check - * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p): Use - syntax-ppss data to identify verbatim contents. + * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p): + Use syntax-ppss data to identify verbatim contents. 2015-09-25 Tassilo Horn - Fix false negatives in tex--prettify-symbols-compose-p. - - * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p): Fix some - false negatives. + * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p): + Fix some false negatives. 2015-09-25 Eli Zaretskii @@ -2601,9 +2570,9 @@ 2015-09-25 Alan Mackenzie - Resurrect edebug-set-initial-mode, repurposing it to set the global mode. + Resurrect edebug-set-initial-mode, repurposing it to set the global mode - lisp/emacs-lisp/edebug.el (edebug-initial-mode-alist): Uncomment, and + * lisp/emacs-lisp/edebug.el (edebug-initial-mode-alist): Uncomment, and amend to match current modes and functions. (edebug-set-initial-mode): Uncomment and change from setting a defun's `edebug-initial-mode''s property to setting the variable @@ -2611,11 +2580,11 @@ (top level): Create new binding C-x C-a C-m for `edebug-set-initial-mode'. - doc/lispref/edebug.texi (Edebug Execution Modes): document + * doc/lispref/edebug.texi (Edebug Execution Modes): Document `edebug-set-initial-mode' and its new key binding. (Edebug Options): Mention the new command in the pertinent place. - etc/NEWS: Write entry for this change. + * etc/NEWS: Write entry for this change. 2015-09-25 Eli Zaretskii @@ -2686,14 +2655,14 @@ Properly quote nested xml comments (Bug#6267) (Bug#20001) - * nxml-mode.el (nxml-comment-quote-nested): New function - (nxml-mode): Set comment-quote-nested-function + * lisp/nxml/nxml-mode.el (nxml-comment-quote-nested): New function. + (nxml-mode): Set comment-quote-nested-function. 2015-09-23 Ivan Andrus Allow major-modes full control over quoting nested comments - * newcomment.el (comment-quote-nested-function): New variable. + * lisp/newcomment.el (comment-quote-nested-function): New variable. (comment-quote-nested-default): New function. (comment-quote-nested): Use `comment-quote-nested-function'. @@ -2730,20 +2699,17 @@ 2015-09-23 Stefan Monnier - * src/syntax.c: Handle spurious e_property_truncated flag - * src/syntax.c (parse_sexp_propertize): Handle spurious e_property_truncated flag. (update_syntax_table_forward): Remove invalid assertion. 2015-09-23 Eli Zaretskii - Support ':relative-width' space display spec on text-mode terminals - * src/xdisp.c (produce_stretch_glyph): Support ':relative-width' space display spec on text-mode terminals, by calling - PRODUCE_GLYPHS instead of x_produce_glyphs. Remove the HAVE_WINDOW_SYSTEM - guards from the supporting code, as well as the test for a GUI frame. + PRODUCE_GLYPHS instead of x_produce_glyphs. Remove the + HAVE_WINDOW_SYSTEM guards from the supporting code, as well as the + test for a GUI frame. 2015-09-23 Oleh Krehel @@ -2754,8 +2720,6 @@ 2015-09-23 Thomas Fitzsimmons - Do not include authorization header in an HTTP redirect - * lisp/url/url-http.el (url-http-parse-headers): Do not automatically include Authorization header in redirect. (Bug#21350) @@ -2782,15 +2746,15 @@ 2015-09-22 Stefan Monnier - * prolog.el: Fix indentation of empty line + * lisp/progmodes/prolog.el: Fix indentation of empty line * lisp/emacs-lisp/smie.el (smie-rules-function): Document new `empty-line-token' element. (smie-indent-empty-line): New function. (smie-indent-functions): Add it. - * lisp/progmodes/prolog.el (prolog-smie-rules): Fix :list-intro behavior - and use the new `empty-line-token' element (bug#21526). + * lisp/progmodes/prolog.el (prolog-smie-rules): Fix :list-intro + behavior and use the new `empty-line-token' element (bug#21526). (prolog-mode-variables): Fix comment-start-skip setting to match comment-start. @@ -2801,14 +2765,13 @@ 2015-09-22 Alan Mackenzie - Make description of `edebug-initial-mode' user friendly. + Make description of `edebug-initial-mode' user friendly - Fixes debbugs#21365. + Fixes bug#21365. - dec/lispref/edebug.texi (Edebug Execution Modes): Change the - desscription - of `edebug-initial-mode' from that of its implementation to that of its - visual effect and use. Move the paragraph higher up. + * dec/lispref/edebug.texi (Edebug Execution Modes): Change the + description of `edebug-initial-mode' from that of its implementation + to that of its visual effect and use. Move the paragraph higher up. 2015-09-22 Eli Zaretskii @@ -2847,9 +2810,9 @@ Use lunate epsilon for TeX \epsilon - * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Add - \varepsilon using GREEK SMALL LETTER EPSILON, and change \epsilon to use - GREEK LUNATE EPSILON SYMBOL + * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): + Add \varepsilon using GREEK SMALL LETTER EPSILON, and change + \epsilon to use GREEK LUNATE EPSILON SYMBOL 2015-09-21 Stefan Monnier @@ -2878,7 +2841,7 @@ 2015-09-21 Paul Eggert - Clarify or replace a few \u escapes. + Clarify or replace a few \u escapes * doc/lispref/nonascii.texi (Character Properties) More-detailed commentary for \u escapes. @@ -2903,9 +2866,9 @@ Signal error on invalid regexp - * lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries): Signal an - error when the user tries searching with a regexp matching the empty - string. + * lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries): + Signal an error when the user tries searching with a regexp + matching the empty string. 2015-09-21 Eli Zaretskii @@ -2956,16 +2919,16 @@ 2015-09-21 Anders Lindgren - Keep upper edge unchanged when changing size of NS frame (Bug#21415) + Keep upper edge unchanged when changing size of NS frame * src/nsterm.m (x_set_window_size): Keep upper frame edge unchanged (Bug#21415). 2015-09-20 Stefan Monnier - Subject: * lisp/progmodes/prolog.el: Improve handling of if/then/else - - (prolog-smie-rules): Accomodate standard if/then/else special indentation. + * lisp/progmodes/prolog.el: Improve handling of if/then/else. + (prolog-smie-rules): Accomodate standard if/then/else special + indentation. (prolog-mode): Add . to electric-indent-chars. (prolog-electric--if-then-else): Re-indent the line before adding space after the new char (bug#21526). @@ -2974,12 +2937,13 @@ Add prettify symbols to python-mode - lisp/progmodes/python.el (python-prettify-symbols-alist): New variable - lisp/progmodes/python.el (python-mode): Use it + * lisp/progmodes/python.el (python-prettify-symbols-alist): + New variable. + (python-mode): Use it 2015-09-20 Stefan Monnier - * lisp/emacs-lisp/syntax.el (syntax-begin-function): Make obsolete + * lisp/emacs-lisp/syntax.el (syntax-begin-function): Make obsolete. 2015-09-20 Jostein Kjønigsen (tiny change) @@ -2990,7 +2954,8 @@ 2015-09-20 Drew Csillag - * m4-mode.el (m4-font-lock-keywords): Fix m4_* highlighting + * lisp/progmodes/m4-mode.el (m4-font-lock-keywords): + Fix m4_* highlighting. * lisp/progmodes/m4-mode.el (m4-font-lock-keywords): Fix recognition of commands when they have a "m4_" prefix. @@ -3031,7 +2996,7 @@ appropriate. * lisp/net/tramp.el (tramp-handle-file-notify-rm-watch): - Use `delete-process' + Use `delete-process'. (tramp-handle-file-notify-valid-p): Check also, that file or directory to be watched still exists. @@ -3074,13 +3039,10 @@ 2015-09-20 Stefan Monnier * lisp/progmodes/js.el (js--syntax-begin-function): Remove. - (js-mode): Don't set syntax-begin-function. 2015-09-20 Stefan Monnier - Don't assume syntax-begin-function is a symbol. - * lisp/font-lock.el (font-lock-compile-keywords): Don't assume syntax-begin-function is a symbol. @@ -3106,7 +3068,7 @@ 2015-09-19 Artur Malabarba - * lisp/emacs-lisp/timer.el (run-at-time): Docstring formatting + * lisp/emacs-lisp/timer.el (run-at-time): Docstring formatting. 2015-09-19 Eli Zaretskii @@ -3117,8 +3079,8 @@ 2015-09-19 Simen Heggestøyl Add overflow module to CSS property list - * lisp/textmodes/css-mode.el (css-property-ids): Add properties from CSS - Overflow Module Level 3. + * lisp/textmodes/css-mode.el (css-property-ids): Add properties + from CSS Overflow Module Level 3. 2015-09-19 Eli Zaretskii @@ -3144,21 +3106,20 @@ 2015-09-18 Wilson Snyder - Fix checkdoc warnings. * lisp/progmodes/verilog-mode.el (verilog-forward-sexp-function) (verilog-decls-princ, verilog-modport-princ) (verilog-modi-modport-lookup-one): Fix checkdoc warnings. 2015-09-17 Jay Belanger - Fix the routine for help on Calc's prefixes. + Fix the routine for help on Calc's prefixes * lisp/calc/calc-ext.el (calc-prefix-help-retry): New variable. (calc-do-prefix-help): Use `read-char' to determine the next Calc command. 2015-09-17 Stefan Monnier - * lisp/font-lock.el (font-lock-beginning-of-syntax-function): Remove + * lisp/font-lock.el (font-lock-beginning-of-syntax-function): Remove. (font-lock-fontify-block): Don't let-bind it. (font-lock-compile-keywords): Don't use it. (font-lock-set-defaults): Don't set it. Allow the variable alist to @@ -3248,7 +3209,8 @@ 2015-09-17 Eli Zaretskii - * doc/lispref/frames.texi (Cursor Parameters): Document 'x-stretch-cursor'. + * doc/lispref/frames.texi (Cursor Parameters): + Document 'x-stretch-cursor'. 2015-09-16 Paul Eggert @@ -3263,9 +3225,9 @@ A few more minor quoting fixes in a script and a text file Minor quoting fixes in scripts and doc - Prefer straight quotes in random script files, as they are not converted. - Prefer grave quotes in a couple of places in the manual that were missed - earlier, as these quotes are converted. + Prefer straight quotes in random script files, as they are not + converted. Prefer grave quotes in a couple of places in the manual + that were missed earlier, as these quotes are converted. Minor backslash fixes in manuals and scripts * Makefile.in (install-arch-indep): @@ -3414,22 +3376,20 @@ 2015-09-16 Tassilo Horn - Clarify reftex-extra-bindings docs. + Clarify reftex-extra-bindings docs * lisp/textmodes/reftex-vars.el (reftex-extra-bindings): * doc/misc/reftex.texi (Key Bindings): Document that the variable only has an effect at load-time. 2015-09-16 Daniel McClanahan (tiny change) - Fix search argument in ‘lisp--el-match-keyword’ (Bug#21492) (Bug#21493) * lisp/emacs-lisp/lisp-mode.el (lisp--el-match-keyword): Fix search argument. (Bug#21492) (Bug#21493) 2015-09-16 Tassilo Horn + * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Add pretty symbols for \qquad and \varrho. - * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Add pretty - symbols for \qquad and \varrho. 2015-09-15 Jay Belanger @@ -3439,7 +3399,7 @@ * lisp/calc/calc-ext.el (calc-init-extensions): Add keybinding for `calc-vector-rms', add autoloads for `calc-vector-rms' and `calcFunc-rms'. - * lisp/calc/calc-map.el (calc-u-oper-keys): Add entry for + * lisp/calc/calc-map.el (calc-u-oper-keys): Add entry for `calcFunc-rms'. * lisp/calc/calc-menu.el (calc-vectors-menu): Add entry for `calc-vector-rms'. @@ -3449,8 +3409,8 @@ 2015-09-15 Stephen Leake Add monotone EDE generic project - * lisp/cedet/ede/generic.el (ede-enable-generic-projects): Add monotone - generic project. + * lisp/cedet/ede/generic.el (ede-enable-generic-projects): + Add monotone generic project. Revert premature commit * doc/lispref/files.texi: Revert premature commit of change to @@ -3491,7 +3451,7 @@ 2015-09-15 Stefan Monnier - * lisp/emacs-lisp/lisp-mode.el (lisp-mode-symbol-regexp): New const + * lisp/emacs-lisp/lisp-mode.el (lisp-mode-symbol-regexp): New const. Use it everywhere "\\(\\sw\\|\\s_\\|\\\\.\\)+" was used. (cl-lib-fdefs): Add defgeneric. (cl-kw): Add all elements of eieio-kw and cl-lib-kw. @@ -3510,7 +3470,7 @@ 2015-09-15 Mark Oteiza - lisp/custom.el (load-theme): Only compute hash when needed. + * lisp/custom.el (load-theme): Only compute hash when needed. 2015-09-15 Paul Eggert @@ -3652,7 +3612,7 @@ Adapt file-notify-tests.el test cases * lisp/filenotify.el (file-notify-rm-watch): Ignore `file-notify-error'. * src/inotify.c (Finotify_valid_p): Adapt docstring. - * test/automated/file-notify-tests.el () + * test/automated/file-notify-tests.el (file-notify-test03-autorevert) (file-notify-test04-file-validity) (file-notify-test04-file-validity-remote) @@ -3680,7 +3640,7 @@ 2015-09-14 Alan Mackenzie - Replace `cadar' with `cadr/car', since `cadar' is problematic on Emacs. + Replace `cadar' with `cadr/car', since `cadar' is problematic on Emacs (c-make-init-lang-vars-fun): Replace two occurrences of `cadar' with `cadr/car'. @@ -3693,8 +3653,8 @@ 2015-09-14 Alan Mackenzie Elisp mode: Make font-lock and imenu handle escaped characters in symbols - Fixes debbugs#21449. - lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression) + Fixes bug#21449. + * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression) (lisp--el-match-keyword, lisp-el-font-lock-keywords-1) (lisp-cl-font-lock-keywords-1, lisp-el-font-lock-keywords-2) (lisp-cl-font-lock-keywords-2, lisp-string-in-doc-position-p): @@ -3708,7 +3668,7 @@ 2015-09-14 Tassilo Horn - Fix tests for file-notify-valid-p. + Fix tests for file-notify-valid-p * test/automated/file-notify-tests.el (file-notify--test-cleanup): Use delete-directory to delete file-notify--test-tmpfile if it is a directory. Likewise for file-notify--test-tmpfile1. @@ -3730,10 +3690,10 @@ 2015-09-14 Tassilo Horn - Test file-notify-valid-p. + Test file-notify-valid-p * test/automated/file-notify-tests.el - (file-notify-test04-file-validity, file-notify-test05-dir-validity): New - tests. + (file-notify-test04-file-validity, file-notify-test05-dir-validity): + New tests. 2015-09-13 Eli Zaretskii @@ -3763,7 +3723,8 @@ Problem reported by Ashish SHUKLA in: http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00531.html * configure.ac: Check for struct unipair.unicode instead of for - , since that’s more specific to what the code actually needs. + , since that’s more specific to what the code + actually needs. * src/terminal.c: Use HAVE_STRUCT_UNIPAIR_UNICODE, not HAVE_LINUX_KD_H. * src/indent.c (Fvertical_motion): Simplify bugfix (Bug#21468). @@ -3914,7 +3875,7 @@ 2015-09-10 Tassilo Horn Improve file-notify-tests - * test/automated/file-notify-tests.el: Use lexical-binding + * test/automated/file-notify-tests.el: Use lexical-binding. (file-notify--test-cleanup): New function. (file-notify-test00-availability, file-notify-test01-add-watch) (file-notify-test02-events, file-notify-test03-autorevert): Use it. @@ -3953,7 +3914,6 @@ 2015-09-09 Stefan Monnier - (time-to-seconds, time-less-p): Mark unused vars with underscore * lisp/calendar/time-date.el (time-to-seconds, time-less-p): Mark unused vars with underscore. @@ -3966,8 +3926,8 @@ 2015-09-09 Tassilo Horn Start checking event types in file-notify tests - * test/automated/file-notify-tests.el (file-notify--test-events): New - variable. + * test/automated/file-notify-tests.el (file-notify--test-events): + New variable. (file-notify--test-event-handler): Append received event to file-notify--test-events for later analysis. (file-notify-test02-events): Assert that the expected notifications have @@ -4014,8 +3974,8 @@ 2015-09-09 Stefan Monnier - * lisp/emacs-lisp/cl-generic.el (cl-generic-generalizers): Remove - warning. + * lisp/emacs-lisp/cl-generic.el (cl-generic-generalizers): + Remove warning. 2015-09-09 Eli Zaretskii @@ -4031,7 +3991,7 @@ 2015-09-09 Phil Sainty - * lisp/emacs-lisp/package.el (package--ensure-init-file) + * lisp/emacs-lisp/package.el (package--ensure-init-file): More robust check for `package-initialize' calls in init file. This function accepts an optional argument, but calls passing an argument would not have been detected. @@ -4408,7 +4368,7 @@ 2015-09-07 Artur Malabarba - * lisp/emacs-lisp/package.el: Reduce autoloading before compiling + * lisp/emacs-lisp/package.el: Reduce autoloading before compiling. (package--autoloads-file-name) (package--activate-autoloads-and-load-path): New function. (package-activate-1): Delegate autoloading and load-path @@ -4433,10 +4393,11 @@ * lisp/emacs-lisp/package.el (package-initialize): Set enable-at-startup When `package-initialize' is called as part of loading the init file, - the user probably doesn't want it to be called again afterwards. In this - situation, `package-initialize' now sets `package-enable-at-startup' to - nil to prevent that. The user can have the old behaviour by setting this - variable to t after the call to `package-initialize'. (Bug#21423) + the user probably doesn't want it to be called again afterwards. + In this situation, `package-initialize' now sets + `package-enable-at-startup' to nil to prevent that. The user can have + the old behavior by setting this variable to t after the call to + `package-initialize'. (Bug#21423) * doc/emacs/package.texi (Package Installation): Document it. * doc/lispref/package.texi (Packaging Basics): Document it. * etc/NEWS: Document it. @@ -4444,8 +4405,8 @@ 2015-09-06 Thomas Fitzsimmons Bump version of ntlm.el to 2.00 - * lisp/net/ntlm.el: Bump version to 2.00. New maintainer. Add comm - keyword. + * lisp/net/ntlm.el: Bump version to 2.00. New maintainer. + Add comm keyword. 2015-09-06 Adam Sjøgren @@ -4454,7 +4415,6 @@ 2015-09-06 Dmitry Gutov - Allow even one non-regular character before the implicit tag name * lisp/progmodes/etags.el (etags-tags-completion-table): Allow even one non-regular character before the implicit tag name. Reported at http://emacs.stackexchange.com/questions/15269/. @@ -4462,7 +4422,7 @@ 2015-09-06 Thomas Fitzsimmons Add support for NTLMv2 authentication - * net/ntlm.el (ntlm): New customization group. + * lisp/net/ntlm.el (ntlm): New customization group. (ntlm-compatibility-level): New defcustom. (ntlm-compute-timestamp): New function. (ntlm-generate-nonce): Likewise. @@ -4470,7 +4430,7 @@ 2015-09-06 Artur Malabarba - * lisp/emacs-lisp/package.el: Rename custom faces + * lisp/emacs-lisp/package.el: Rename custom faces. All of the recently introduced faces, like `package-name-face', have been renamed to no end in `-face' to comply with the convention described in (info "(elisp) Defining Faces"). @@ -4491,8 +4451,8 @@ 2015-09-06 Eric Abrahamsen - nnimap.el: Handle nil arg to nnimap-request-group - * lisp/gnus/nnimap.el (nnimap-request-group): Handle nil "info" arg. + nnimap.el: Handle nil arg to nnimap-request-group + * lisp/gnus/nnimap.el (nnimap-request-group): Handle nil "info" arg. This arg isn't always passed in, check it's not nil before making it into a list. The active arg will also be nil if the group is new, check for that. @@ -4524,7 +4484,8 @@ Rename map-contains-key-p and map-some-p Remove the "-p" suffix from both function names. - * lisp/emacs-lisp/map.el (map-contains-key, map-some): Rename the functions. + * lisp/emacs-lisp/map.el (map-contains-key, map-some): + Rename the functions. * test/automated/map-tests.el (test-map-contains-key, test-map-some): Update both test functions. @@ -4607,8 +4568,8 @@ reusing stale face IDs for 'escape-glyph' and 'glyphless-char' faces, which could case a segfault if the frame's face cache was freed since the last redisplay. (Bug#21394) - * src/xfaces.c (free_realized_faces): Call - forget_escape_and_glyphless_faces. + * src/xfaces.c (free_realized_faces): + Call forget_escape_and_glyphless_faces. * src/dispextern.h (forget_escape_and_glyphless_faces): Add prototype. 2015-09-04 Paul Eggert @@ -4670,7 +4631,8 @@ * src/keyboard.c (kset_echo_prompt): New function. (echo_update): Add echo_prompt at the very beginning. (read_char): Remove workaround for bug#19875, not needed any more. - (read_key_sequence): Set echo_prompt rather than echo_string (bug#21403). + (read_key_sequence): Set echo_prompt rather than echo_string + (bug#21403). (mark_kboards): Mark echo_prompt. Fix disassembly of non-compiled lexical functions (bug#21377) @@ -4682,16 +4644,15 @@ (disassemble-internal): Use interactive-form. (disassemble-1): Use functionp. - (tex--prettify-symbols-compose-p): Don't compose in verbatim blocks! * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p): Don't compose inside verbatim blocks! 2015-09-03 Mark Oteiza * lisp/thingatpt.el (thing-at-point-uri-schemes): Add "man:" - (bug#19441) + (bug#19441). - * lisp/mpc.el (mpc--proc-connect): Handle unix sockets (bug#19394) + * lisp/mpc.el (mpc--proc-connect): Handle unix sockets (bug#19394). 2015-09-03 Dmitry Gutov @@ -4733,16 +4694,17 @@ 2015-09-02 K. Handa Fix typo - * ftfont.c (ftfont_drive_otf): otf_positioning_type_components_mask -> OTF_positioning_type_components_mask. + * src/ftfont.c (ftfont_drive_otf): otf_positioning_type_components_mask + -> OTF_positioning_type_components_mask. Fix previous change - * ftfont.c (ftfont_drive_otf): Remember some bits of + * src/ftfont.c (ftfont_drive_otf): Remember some bits of OTF_Glyph->positioning_type in MFLTGlyphFT->libotf_positioning_type. 2015-09-01 David Caldwell (tiny change) - * lisp/vc/vc-hooks.el (vc-refresh-state): New command - (vc-refresh-state): Rename from vc-find-file-hook and make interactive. + * lisp/vc/vc-hooks.el (vc-refresh-state): New command. + Rename from vc-find-file-hook and make interactive. (vc-find-file-hook): Redefine as obsolete alias. 2015-09-01 Paul Eggert @@ -4752,8 +4714,7 @@ are supposed to stand for themselves and are not quotes. Remove apostrophes from docstring examples like ‘'(calendar-nth-named-day -1 0 10 year)’ that confuse source code with data. Do some other - minor docstring fixups as well, e.g., insert a missing close - quote. + minor docstring fixups as well, e.g., insert a missing close quote. 2015-09-01 Stefan Monnier @@ -4883,8 +4844,8 @@ 2015-09-01 K. Handa - Use the new type MFLTGlyphFT for MFLTGlyphString.glyphs. - * ftfont.c (MFLTGlyphFT): New type. + Use the new type MFLTGlyphFT for MFLTGlyphString.glyphs + * src/ftfont.c (MFLTGlyphFT): New type. (ftfont_get_glyph_id, ftfont_get_metrics, ftfont_drive_otf) (ftfont_shape_by_flt): Make MFLTGlyphFT the actual type of elements in the array MFLTGlyphString.glyphs. @@ -4895,12 +4856,12 @@ * lisp/progmodes/elisp-mode.el: Clean up FIXMEs, comments. Delete Emacs 25 test in mode-local.el - * lisp/cedet/mode-local.el (describe-mode-local-overload): Fix missed an - edit in previous commit. + * lisp/cedet/mode-local.el (describe-mode-local-overload): + Fix missed an edit in previous commit. Show all known mode-local overrides in *Help* - * lisp/cedet/mode-local.el (describe-mode-local-overload): Assume Emacs - 25. Add all known mode-local overrides. + * lisp/cedet/mode-local.el (describe-mode-local-overload): + Assume Emacs 25. Add all known mode-local overrides. 2015-09-01 Katsumi Yamaoka @@ -4910,7 +4871,7 @@ 2015-08-31 Zachary Kanfer (tiny change) - * lisp/newcomment.el (comment-dwim): Use `use-region-p' + * lisp/newcomment.el (comment-dwim): Use `use-region-p'. When the region is active, but is empty (length 0), act as though the region was not active; that is, put a comment at the end of the line. (Bug#21119) @@ -4924,12 +4885,12 @@ 2015-08-31 Rüdiger Sonderfeld - hideif.el: Recognize .h++ as C++ header. + hideif.el: Recognize .h++ as C++ header * lisp/progmodes/hideif.el (hide-ifdef-header-regexp): Add .h++. - isearch: Document character folding mode. - * isearch.el (isearch-forward): Mention `isearch-toggle-character-fold' - in doc string. + isearch: Document character folding mode + * lisp/isearch.el (isearch-forward): + Mention `isearch-toggle-character-fold' in doc string. 2015-08-31 Paul Eggert @@ -4994,8 +4955,8 @@ (ede-add-project-autoload): Replace obsolete `eieio-object-name-string' with (oref ... name). (ede-auto-load-project): Use slot name, not initarg key. - * lisp/cedet/ede/generic.el (ede-generic-load, - ede-generic-find-matching-target): Use slot name, not initarg key. + * lisp/cedet/ede/generic.el (ede-generic-load) + (ede-generic-find-matching-target): Use slot name, not initarg key. (ede-find-target): Use oref-default on class name. (ede-generic-new-autoloader): Delete obsolete name argument to eieio class constructor. @@ -5138,14 +5099,14 @@ 2015-08-30 Xue Fuqiao Minor documentation and NEWS tweak - * doc/lispintro/emacs-lisp-intro.texi (fwd-para let): Add an index - entry. - * NEWS: Fix a typo in character-fold-to-regexp. + * doc/lispintro/emacs-lisp-intro.texi (fwd-para let): + Add an index entry. + * etc/NEWS: Fix a typo in character-fold-to-regexp. 2015-08-30 Michael Albinus * lisp/net/tramp-sh.el (tramp-convert-file-attributes): - Revert patch from 2015-08-24. Tramp shall be have like for local files. + Revert patch from 2015-08-24. Tramp shall behave like for local files. * test/automated/tramp-tests.el (tramp-test18-file-attributes): Adapt test. @@ -5153,15 +5114,15 @@ Text quoting fixes in cedet, emulation, emacs-lisp * lisp/cedet/ede.el (ede-check-project-directory): - * lisp/cedet/semantic/analyze/debug.el: + * lisp/cedet/semantic/analyze/debug.el (semantic-analyzer-debug-insert-include-summary): * lisp/cedet/semantic/bovine/c.el (semantic-c-describe-environment): - * lisp/cedet/semantic/decorate/include.el: + * lisp/cedet/semantic/decorate/include.el (semantic-decoration-unknown-include-describe) (semantic-decoration-all-include-summary): * lisp/cedet/semantic/ia.el (semantic-ia-fast-jump): * lisp/emulation/edt.el (edt-load-keys): - * lisp/emulation/viper-cmd.el: + * lisp/emulation/viper-cmd.el (viper-display-current-destructive-command) (viper-query-replace, viper-brac-function): * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-compile): @@ -5218,12 +5179,12 @@ (MAC_FONT_TRAIT_MONO_SPACE, MAC_FONT_TRAIT_COLOR_GLYPHS) (MAC_FONT_FORMAT_BITMAP) (MAC_CHARACTER_COLLECTION_IDENTITY_MAPPING) - (MAC_CHARACTER_COLLECTION_ADOBE_JAPAN1): Remove enumerators. All - uses replaced with definitions. + (MAC_CHARACTER_COLLECTION_ADOBE_JAPAN1): Remove enumerators. + All uses replaced with definitions. (kCTFontTraitItalic, kCTFontTraitBold, kCTFontTraitMonoSpace) (kCTFontTraitColorGlyphs, kCTCharacterCollectionIdentityMapping) - (kCTCharacterCollectionAdobeJapan1 kCTFontOrientationDefault): Add - compatibility enumerators for older versions. + (kCTCharacterCollectionAdobeJapan1 kCTFontOrientationDefault): + Add compatibility enumerators for older versions. (mac_font_descriptor_create_with_attributes) (mac_font_descriptor_create_matching_font_descriptors) (mac_font_descriptor_create_matching_font_descriptor) @@ -5240,19 +5201,19 @@ (mac_font_create_preferred_family_for_attributes) (mac_font_get_advance_width_for_glyph) (mac_font_get_bounding_rect_for_glyph) - (mac_font_create_available_families, mac_font_shape): Remove - macros for renamed functions. + (mac_font_create_available_families, mac_font_shape): + Remove macros for renamed functions. (mac_nsctfont_copy_font_descriptor): Remove unused macro. - * src/macterm.m (mac_font_descriptor_supports_languages): Rename - from mac_ctfont_descriptor_supports_languages. + * src/macterm.m (mac_font_descriptor_supports_languages): + Rename from mac_ctfont_descriptor_supports_languages. (mac_font_create_preferred_family_for_attributes): Rename from mac_ctfont_create_preferred_family_for_attributes. (mac_font_get_advance_width_for_glyph): Rename from - mac_ctfont_get_advance_width_for_glyph. Use - kCTFontOrientationDefault also for older versions. + mac_ctfont_get_advance_width_for_glyph. + Use kCTFontOrientationDefault also for older versions. (mac_font_get_bounding_rect_for_glyph): Rename from - mac_ctfont_get_bounding_rect_for_glyph. Use - kCTFontOrientationDefault also for older versions. + mac_ctfont_get_bounding_rect_for_glyph. + Use kCTFontOrientationDefault also for older versions. (mac_font_create_available_families): Rename from mac_ctfont_create_available_families. (mac_font_equal_in_postscript_name): Rename from @@ -5404,16 +5365,16 @@ Use the new `seq-into-sequence' in seqs passed to `seq-concatenate' to ensure that concatenation happens on sequences only. This makes it possible to use `seq-concatenate' for new types of seqs. - * lisp/emacs-lisp/seq.el (seq-into-sequence, seq-concatenate): New - function used in `seq-concatenate'. + * lisp/emacs-lisp/seq.el (seq-into-sequence, seq-concatenate): + New function used in `seq-concatenate'. * test/automated/seq-tests.el (test-seq-into-sequence): New unit test for seq-into-sequence. 2015-08-26 Stephen Leake Add mode local overrides to xref-find-definitions - * lisp/cedet/mode-local.el (xref-mode-local--override-present, - xref-mode-local-overload): New; add mode local overrides to + * lisp/cedet/mode-local.el (xref-mode-local--override-present) + (xref-mode-local-overload): New; add mode local overrides to xref-find-definitions. * test/automated/elisp-mode-tests.el: Add mode local override tests. (xref-elisp-test-run): Handle indented defuns. @@ -5422,8 +5383,8 @@ (elisp--xref-find-definitions): Use it. Add mode local overrides to describe-function - * lisp/cedet/mode-local.el (describe-mode-local-overload): New; add mode - local overrides to describe-function. + * lisp/cedet/mode-local.el (describe-mode-local-overload): + New; add mode local overrides to describe-function. * etc/NEWS: Document change. 2015-08-26 Paul Eggert @@ -5615,7 +5576,6 @@ * lisp/gnus/gnus-util.el (gnus-format-message): Fix typo when running in older Emacs. - Prefer directed to neutral quotes Prefer directed to neutral quotes in docstings and diagnostics. In docstrings, escape apostrophes that would otherwise be translated to curved quotes using the newer, simpler rules. @@ -5704,7 +5664,7 @@ Treat ' like ’ even when not matching ` This is simpler and easier to explain, and should encourage better typography. Do this in Electric Quote mode and when translating - quotes in docstrings. Inspired by a suggestion by Dmitry Gutov in: + quotes in docstrings. Inspired by a suggestion by Dmitry Gutov in: https://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00806.html * doc/emacs/text.texi (Quotation Marks): * doc/lispref/help.texi (Keys in Documentation): @@ -5721,8 +5681,8 @@ 2015-08-24 YAMAMOTO Mitsuharu - * src/macfont.m (macfont_create_family_with_symbol): Accept - localized names. + * src/macfont.m (macfont_create_family_with_symbol): + Accept localized names. 2015-08-24 Paul Eggert @@ -5837,12 +5797,12 @@ (do_ewmh_fullscreen, x_ewmh_activate_frame): Adjust for rename. (x_check_fullscreen): Call `x_wm_set_size_hint', restore `fullscreen' frame parameter. - * gtkutil.c (x_wm_set_size_hint): Set size hints when running + * src/gtkutil.c (x_wm_set_size_hint): Set size hints when running without a window manager. 2015-08-24 Glenn Morris - * lisp/version.el (emacs-version): No longer include build host + * lisp/version.el (emacs-version): No longer include build host. * doc/lispref/intro.texi (Version Info): Update example. 2015-08-24 Paul Eggert @@ -6003,8 +5963,8 @@ python.el: Defer shell setup code until first interactive prompt * lisp/progmodes/python.el - (python-shell-comint-watch-for-first-prompt-output-filter): New - function. + (python-shell-comint-watch-for-first-prompt-output-filter): + New function. (inferior-python-mode): Use it. (python-shell-first-prompt-hook): New hook. (python-shell-send-setup-code) @@ -6030,8 +5990,8 @@ or printing candidates. (python-shell-completion-native-get-completions): Cleanup. (python-shell-completion-get-completions): Cleanup. - (python-shell-completion-at-point): Perform prompt checks. Force - fallback completion in pdb interactions. + (python-shell-completion-at-point): Perform prompt checks. + Force fallback completion in pdb interactions. 2015-08-23 Nicolas Petton @@ -6045,8 +6005,8 @@ 2015-08-23 Fabián Ezequiel Gallina python.el: Fix prompt detection with user overridden interpreter - * lisp/progmodes/python.el (python-shell-prompt-detect): Honor - buffer local python-shell-interpreter and + * lisp/progmodes/python.el (python-shell-prompt-detect): + Honor buffer local python-shell-interpreter and python-shell-interpreter-interactive-arg. 2015-08-23 Eli Zaretskii @@ -6066,8 +6026,8 @@ 2015-08-23 Xue Fuqiao - * doc/lispintro/emacs-lisp-intro.texi (Switching Buffers): Clarify - "invisible window". + * doc/lispintro/emacs-lisp-intro.texi (Switching Buffers): + Clarify "invisible window". 2015-08-23 Xue Fuqiao @@ -6095,7 +6055,7 @@ python-eldoc-setup-code. Return non-nil only if docstring is found. - python.el: Increase native completion robustness. + python.el: Increase native completion robustness * lisp/progmodes/python.el (python-shell-completion-native-setup): Make completer print real candidates and just return dummy ones to avoid input modification. @@ -6124,8 +6084,8 @@ 2015-08-22 Eli Zaretskii Support invocation of Hunspell with multiple dictionaries - * lisp/textmodes/ispell.el (ispell-parse-hunspell-affix-file): Support - lists of dictionaries of the form "DICT1,DICT2,...". + * lisp/textmodes/ispell.el (ispell-parse-hunspell-affix-file): + Support lists of dictionaries of the form "DICT1,DICT2,...". (ispell-hunspell-add-multi-dic): New command. (Bug#20495) Minor formatting changes in ispell.el @@ -6147,19 +6107,16 @@ 2015-08-22 Martin Rudalics - In ‘adjust-window-trailing-edge’ fix bug with size-preserved windows. * lisp/window.el (adjust-window-trailing-edge): Fix bug where this function refused to resize a size-preserved window. 2015-08-22 Eli Zaretskii - Improve documentation of 'window-use-time' * doc/lispref/windows.texi (Selecting Windows): Improve documentation and indexing of 'window-use-time'. 2015-08-21 Stefan Monnier - * lisp/progmodes/cc-*.el: Fix up commenting style * lisp/progmodes/cc-vars.el, lisp/progmodes/cc-styles.el: * lisp/progmodes/cc-mode.el, lisp/progmodes/cc-menus.el: * lisp/progmodes/cc-langs.el, lisp/progmodes/cc-guess.el: @@ -6331,7 +6288,7 @@ 2015-08-21 Stefan Monnier - * lisp/emacs-lisp/smie.el (smie-indent-current-column): New fun + * lisp/emacs-lisp/smie.el (smie-indent-current-column): New fun. (smie-indent-exps, smie-indent-keyword): Use it. * test/indent/css-mode.css: Test alignment with leading comment. @@ -6350,9 +6307,8 @@ 2015-08-21 Eli Zaretskii - A better fix for bug#21303 - * src/w32uniscribe.c (_WIN32_WINNT): Define to 0x0600. This is a - cleaner fix for Bug#21260 than the previous change. + * src/w32uniscribe.c (_WIN32_WINNT): Define to 0x0600. + This is a cleaner fix for Bug#21260 than the previous change. 2015-08-21 Paul Eggert @@ -6466,11 +6422,11 @@ frame" instead of "non-minibuffer frame". Fix frame geometry related text - * doc/lispref/frames.texi (Frame Layout): Rename - `x-frame-geometry' to `frame-geometry'. + * doc/lispref/frames.texi (Frame Layout): + Rename `x-frame-geometry' to `frame-geometry'. * doc/lispref/frames.texi (Mouse Position): - * doc/lispref/windows.texi (Coordinates and Windows): Use - `set-mouse-absolute-pixel-position' instead of + * doc/lispref/windows.texi (Coordinates and Windows): + Use `set-mouse-absolute-pixel-position' instead of `x-set-mouse-absolute-pixel-position'. Sanitize frame geometry related functions @@ -6502,8 +6458,8 @@ 2015-08-21 Tassilo Horn Add TeX defaults for prettify-symbol-mode - * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Rename - from tex-prettify-symbols-alist. + * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): + Rename from tex-prettify-symbols-alist. (tex--prettify-symbols-compose-p): New function. (tex-common-initialization): Use them as prettify-symbols-alist and prettify-symbols-compose-predicate. @@ -6578,11 +6534,11 @@ * doc/lispref/display.texi (Size of Displayed Text, Line Height) (Showing Images): Update references. * doc/lispref/elisp.texi (Top): Update node listing. - * doc/lispref/frames.texi (Frame Geometry): New node. Move - `Size and Position' section here. + * doc/lispref/frames.texi (Frame Geometry): New node. + Move `Size and Position' section here. (Size Parameters): Update references. - (Mouse Position): Update references and nomenclature. Describe - new functions `x-mouse-absolute-pixel-position' and + (Mouse Position): Update references and nomenclature. + Describe new functions `x-mouse-absolute-pixel-position' and `x-set-mouse-absolute-pixel-position'. * doc/lispref/windows.texi (Window Sizes): Update references. (Resizing Windows): Update references. Move description of @@ -6596,12 +6552,11 @@ 2015-08-20 Alan Mackenzie Handling of `c-parse-state'. Fix low level bug. - progmodes/cc-engine.el (c-remove-stale-state-cache-backwards): Add - "CASE 3.5" to handle `cache-pos' being only slightly before `here'. + * lisp/progmodes/cc-engine.el (c-remove-stale-state-cache-backwards): + Add "CASE 3.5" to handle `cache-pos' being only slightly before `here'. 2015-08-20 Andreas Politz - In `widget-color--choose-action' quit *Color* window instead of deleting it * lisp/wid-edit.el (widget-color--choose-action): Quit *Color* window instead of deleting it. @@ -6615,8 +6570,9 @@ 2015-08-20 Tassilo Horn Add a prettify-symbols-alist for (La)TeX - * tex-mode.el (tex-prettify-symbols-alist): New variable holding - an alist suitable as prettify-symbols-alist in (La)TeX modes. + * lisp/textmodes/tex-mode.el (tex-prettify-symbols-alist): + New variable holding an alist suitable as prettify-symbols-alist in + (La)TeX modes. 2015-08-19 Alan Mackenzie @@ -6624,12 +6580,13 @@ Fixes debbugs#21275. In Emacs >= 25, let electric-pair-mode take precedence over delete-selection-mode. - delsel.el (delete-selection-uses-region-p): New function, previously a - lambda expression in a property value for `self-insert-command'. - (top-level) Set the `delete-selection' property of `self-insert-command' - to `delete-selection-uses-region-p'. - progmodes/cc-cmds.el (top-level): Give the `delete-selection' property - for c-electric-\(brace\|paren\) the value + * lisp/delsel.el (delete-selection-uses-region-p): New function, + previously a lambda expression in a property value for + `self-insert-command'. + (top-level): Set the `delete-selection' property of + `self-insert-command' to `delete-selection-uses-region-p'. + * lisp/progmodes/cc-cmds.el (top-level): Give the `delete-selection' + property for c-electric-\(brace\|paren\) the value `delete-selection-uses-region-p' when the latter function exists. 2015-08-19 Paul Eggert @@ -6668,12 +6625,12 @@ 2015-08-19 Artur Malabarba - * isearch.el (isearch-search-fun-default): Revert a5bdb87 + * lisp/isearch.el (isearch-search-fun-default): Revert a5bdb87 Remove usage of `isearch-lax-whitespace' inside the `iearch-word' - clause of `isearch-search-fun-default'. That lax variable does not + clause of `isearch-search-fun-default'. That lax variable does not refer to lax-whitespacing. Related to (bug#21777). This reverts commit a5bdb872edb9f031fe041faf9a8c0be432e5f64c. - * character-fold.el (character-fold-search): Set to nil. + * lisp/character-fold.el (character-fold-search): Set to nil. Default to nil for now, until someone implements proper lax-whitespacing with char-fold searching. @@ -6734,7 +6691,7 @@ 2015-08-19 Martin Rudalics - In w32fns.c condition TITLEBAR_INFO declaration on WINDOWS version. + In w32fns.c condition TITLEBAR_INFO declaration on WINDOWS version * src/w32fns.c (TITLEBAR_INFO): Make it a typedef so MinGW64 builds can use the declaration from the system headers. (GetTitleBarInfo_Proc, Fx_frame_geometry): Adapt to new @@ -6933,11 +6890,12 @@ 2015-08-17 Lars Magne Ingebrigtsen - * message.el (message-toggle-image-thumbnails): New command. + * lisp/gnus/message.el (message-toggle-image-thumbnails): New command. 2015-08-17 Noah Friedman - (blink-matching-open): Restore point before calling minibuffer-message. + * lisp/simple.el (blink-matching-open): Restore point before + calling minibuffer-message. 2015-08-17 Ronnie Schnell @@ -7045,7 +7003,7 @@ * lisp/simple.el (execute-extended-command) (undo-outer-limit-truncate, compose-mail, set-variable) (choose-completion-string, define-alternatives): - * lisp/startup.el (site-run-file, tty-handle-args, ) + * lisp/startup.el (site-run-file, tty-handle-args) (command-line, command-line-1): * lisp/subr.el (noreturn, define-error, add-to-list) (read-char-choice): @@ -7129,7 +7087,7 @@ 2015-08-15 Stephen Leake - Allow describe-function helpers to access buffer-local values. + Allow describe-function helpers to access buffer-local values This will be used by cedet/mode-local.el `describe-mode-local-override' on `help-fns-describe-function-functions' in upstream CEDET. * lisp/help-fns.el (describe-function-orig-buffer): New, let-bound in @@ -7153,7 +7111,6 @@ 2015-08-15 Dani Moncayo - Remove 'nt/zipdist.bat' (no longer used) * nt/zipdist.bat: Remove -- no longer used. 2015-08-15 Jürgen Hötzel @@ -7307,11 +7264,10 @@ 2015-08-13 Stefan Monnier - * lisp/progmodes/sh-script.el (sh-mode): Handle .cshrc (bug#21049) + * lisp/progmodes/sh-script.el (sh-mode): Handle .cshrc (bug#21049). 2015-08-13 Magnus Henoch - * lisp/progmodes/compile.el: Assume 8-wide TABs (bug#21038) * lisp/progmodes/compile.el: Use lexical-binding. (compilation-move-to-column): Assume 8-wide TABs (bug#21038). @@ -7351,7 +7307,8 @@ 2015-08-13 Stephen Leake xref-find-definitions: Exclude more generic function items. - * lisp/emacs-lisp/cl-generic.el (cl--generic-search-method): Add doc string. + * lisp/emacs-lisp/cl-generic.el (cl--generic-search-method): + Add doc string. (cl--generic-find-defgeneric-regexp): New. (find-function-regexp-alist): Add it. * lisp/emacs-lisp/find-func.el (find-feature-regexp): Move here from @@ -7359,11 +7316,11 @@ (find-alias-regexp): Move here from elisp-mode.el, cleaned up. (find-function-regexp-alist): Add them. * lisp/progmodes/elisp-mode.el: - (elisp--xref-format, elisp--xref-format-extra): Change back to defvar due - to bug#21237. + (elisp--xref-format, elisp--xref-format-extra): Change back to + defvar due to bug#21237. (elisp--xref-find-definitions): Exclude co-located default methods for - generic functions. Also exclude implicitly declared defgeneric. - (elisp--xref-find-definitions): Handle C source properly. Exclude minor + generic functions. Also exclude implicitly declared defgeneric. + (elisp--xref-find-definitions): Handle C source properly. Exclude minor mode variables defined by 'define-minor-mode'. * test/automated/elisp-mode-tests.el: Declare generic functions, add tests for them. @@ -7380,10 +7337,10 @@ 2015-08-12 Alan Mackenzie - Introduce new macros to cover Emacs's new names in cl-lib.el. + Introduce new macros to cover Emacs's new names in cl-lib.el This also eliminates `mapcan' warnings in XEmacs. - progmodes/cc-defs.el (c--mapcan-status): new variable to characterise - [X]Emacs versions. + * lisp/progmodes/cc-defs.el (c--mapcan-status): New variable to + characterise [X]Emacs versions. (top-level): Require either 'cl or 'cl-lib, depending on c--mapcan-status. Change this back to cc-external-require from an eval-when-compile @@ -7391,12 +7348,12 @@ (c--mapcan, c--set-difference, c--intersection, c--macroexpand-all) (c--delete-duplicates): New macros which expand into either old or new names. - (c-make-keywords-re, c-lang-defconst, c-lang-const) Use the new macros + (c-make-keywords-re, c-lang-defconst, c-lang-const): Use the new macros rather than the old names. - progmodes/cc-engine.el (c-declare-lang-variables): Use c--mapcan rather - than mapcan. - progmodes/cc-fonts.el (c-compose-keywords-list): Use c--mapcan. - progmodes/cc-langs.el (top-level): Require either 'cl or 'cl-lib, + * lisp/progmodes/cc-engine.el (c-declare-lang-variables): Use c--mapcan + rather than mapcan. + * lisp/progmodes/cc-fonts.el (c-compose-keywords-list): Use c--mapcan. + * lisp/progmodes/cc-langs.el (top-level): Require either 'cl or 'cl-lib, depending on c--mapcan-status. (c-filter-ops, c-all-op-syntax-tokens, c-assignment-op-regexp) (c-type-start-kwds, c-prefix-spec-kwds, c-specifier-key) @@ -7419,7 +7376,7 @@ 2015-08-12 David Kastrup Deal gracefully with up-events (Bug#19746) - * keyboard.c (apply_modifiers_uncached, parse_solitary_modifier) + * src/keyboard.c (apply_modifiers_uncached, parse_solitary_modifier) (parse_modifiers_uncached): React gracefully to "up-" modifiers: those may easily be injected by user-level Lisp code. (read_key_sequence): Discard unbound up-events like unbound @@ -7441,18 +7398,18 @@ 2015-08-12 Richard Stallman Offer to combine multiple To or CC fields. - * sendmail.el (mail-combine-fields): New function. + * lisp/mail/sendmail.el (mail-combine-fields): New function. (mail-send): Call 'mail-combine-fields'. Don't decrypt encrypted files. - * mail-utils.el (mail-file-babyl-p): Bind epa-inhibit to t. + * lisp/mail/mail-utils.el (mail-file-babyl-p): Bind epa-inhibit to t. Handle encrypted mbox files. - * rmailout.el (rmail-output-as-mbox): Decrypt and reencrypt the mbox - file if necessary. + * lisp/mail/rmailout.el (rmail-output-as-mbox): Decrypt and reencrypt + the mbox file if necessary. Re-enable mime processing after decryption. Add 'decrypt' keyword. - * rmail.el (rmail-epa-decrypt-1): New subroutine. + * lisp/mail/rmail.el (rmail-epa-decrypt-1): New subroutine. (rmail-epa-decrypt): rmail-epa-decrypt-1 broken out. In a mime message, reenable Mime and show the parts that were shown before. @@ -7464,12 +7421,12 @@ 2015-08-12 Artur Malabarba - * emacs-lisp/lisp-mnt.el (lm-header): Add save-excursion. + * lisp/emacs-lisp/lisp-mnt.el (lm-header): Add save-excursion. 2015-08-11 Fabián Ezequiel Gallina Respect python.el imenu when semantic-mode is off - Fixes debbugs:21220 + Fixes bug#21220 * lisp/cedet/semantic/wisent/python.el: Do not force wisent-python-default-setup on python-mode-hook. @@ -7523,7 +7480,7 @@ 2015-08-10 Stephen Leake - Rewrite elisp--xref-find-definitions to handle many more cases; add tests. + Rewrite elisp--xref-find-definitions to handle many more cases; add tests * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location): Function deleted. (elisp--xref-format-cl-defmethod): New defconst. @@ -7620,7 +7577,6 @@ 2015-08-09 Paul Eggert - Remove no-op calls to substitute-command-keys * lisp/org/org-src.el (org-edit-src-code) (org-edit-fixed-width-region): * lisp/simple.el (completion-setup-function): @@ -7629,8 +7585,7 @@ 2015-08-09 Daiki Ueno - Utilize `quit-window' in epa.el - * epa.el (epa-exit-buffer-function): Set to `quit-window'. + * lisp/epa.el (epa-exit-buffer-function): Set to `quit-window'. (Bug#21210) 2015-08-09 Ivan Kanis @@ -7643,7 +7598,7 @@ 2015-08-09 Artur Malabarba - * isearch.el (isearch-search-fun-default): (Bug#21164) + * lisp/isearch.el (isearch-search-fun-default): (Bug#21164) Respect `isearch-lax-whitespace' when searching through `isearch-word'. @@ -7707,8 +7662,8 @@ * src/sysdep.c [HAVE_STACK_OVERFLOW_HANDLING]: Add !WINDOWSNT to the condition, as HAVE_STACK_OVERFLOW_HANDLING is now defined for the MinGW build, but the code guarded by that is for Posix hosts. - * src/keyboard.c (command_loop) [WINDOWSNT]: Call - w32_reset_stack_overflow_guard. + * src/keyboard.c (command_loop) [WINDOWSNT]: + Call w32_reset_stack_overflow_guard. * nt/inc/ms-w32.h (sigjmp_buf): New typedef. (sigsetjmp): New macro. (w32_reset_stack_overflow_guard): Declare the prototype. @@ -7717,7 +7672,7 @@ 2015-08-07 Phillip Lord Improve error signalling for seq-subseq - * lisp/seq.el (seq-subseq): The existing behaviour is to error + * lisp/seq.el (seq-subseq): The existing behavior is to error when indexes are too large, but to silently ignore numbers which are too negative for lists. String and vector handling errors in both cases. This has been regularized. Error signaling behavior @@ -7747,8 +7702,8 @@ Fix typo in lisp/window.el, more `display-buffer-use-some-frame' * lisp/window.el: Fix typo that broke build. - (display-buffer--action-function-custom-type): Add - `display-buffer-use-some-frame'. + (display-buffer--action-function-custom-type): + Add `display-buffer-use-some-frame'. (display-buffer): Add `display-buffer-use-some-frame' to doc string. Add support for 'inhibit-same-window in 'display-buffer-use-some-frame' @@ -7830,7 +7785,7 @@ http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00152.html * lisp/progmodes/xref.el (xref--goto-char): Extract from xref--goto-location. - (xref--pop-to-location): Use it. Replace xref--goto-location with + (xref--pop-to-location): Use it. Replace xref--goto-location with a direct xref-location-marker call. (xref--show-location): Likewise. (xref--display-position): Use xref--goto-char. @@ -7839,7 +7794,6 @@ 2015-08-04 David Kastrup - Do not overwrite preexisting contents of unread-command-events * lisp/vc/emerge.el (emerge-show-file-name): * lisp/progmodes/vhdl-mode.el (vhdl-electric-dash) (vhdl-comment-insert, vhdl-hooked-abbrev): @@ -7878,8 +7832,7 @@ * lisp/double.el (double-translate-key): * lisp/comint.el (comint-dynamic-list-input-ring) (comint-dynamic-list-completions): Do not overwrite preexisting - contents of `unread-command-events' when putting new events into - it. + contents of `unread-command-events' when putting new events into it. 2015-08-04 Daniel Colascione @@ -8109,7 +8062,7 @@ 2015-07-31 Artur Malabarba - * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print): Fix bug + * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print): When updating the very last entry, tabulated-list-print would erase it and then try to look at the next one (which obviously isn't there). @@ -8120,8 +8073,8 @@ * src/w32fns.c (syms_of_w32fns) : New variable. (w32_wnd_proc): Use it to invoke the old code that processed - character keys, as fallback, when this variable is non-nil. Fix - typos in comments. (Bug#19994) + character keys, as fallback, when this variable is non-nil. + Fix typos in comments. (Bug#19994) 2015-07-31 Ilya Zakharevich @@ -8162,26 +8115,26 @@ 2015-07-30 Stephen Leake - vc-mtn-find-revision handle null rev. - * lisp/vc/vc-mtn.el (vc-mtn-find-revision): handle null rev + * lisp/vc/vc-mtn.el (vc-mtn-find-revision): Handle null rev. 2015-07-29 Stephen Leake Add docs for display-buffer action display-buffer-use-some-frame - * lisp/window.el (display-buffer-use-some-frame): improve doc string - * doc/lispref/windows.texi (Display Action Functions): add - display-buffer-use-some-frame - * etc/NEWS: mention display-buffer-use-some-frame + * lisp/window.el (display-buffer-use-some-frame): Improve doc string. + * doc/lispref/windows.texi (Display Action Functions): + Add display-buffer-use-some-frame. + * etc/NEWS: Mention display-buffer-use-some-frame. Add display-buffer action display-buffer-use-some-frame - * lisp/window.el (display-buffer-use-some-frame): new + * lisp/window.el (display-buffer-use-some-frame): New. Handle vc-mtn error more gently - * lisp/vc/vc-mtn.el (vc-mtn-mode-line-string): return "" when branch is nil + * lisp/vc/vc-mtn.el (vc-mtn-mode-line-string): Return "" when + branch is nil. 2015-07-29 Michael Albinus - Fix Tramp problems with multihops, and nc. + Fix Tramp problems with multihops, and nc * lisp/net/tramp-cache.el (tramp-get-file-property) (tramp-set-file-property, tramp-flush-file-property) (tramp-get-connection-property, tramp-set-connection-property) @@ -8250,7 +8203,8 @@ 2015-07-27 Xue Fuqiao - * doc/lispref/variables.texi (Variable Aliases): Typo fix. (Bug#21141) + * doc/lispref/variables.texi (Variable Aliases): Typo fix. + (Bug#21141) 2015-07-27 Paul Eggert @@ -8268,8 +8222,7 @@ * src/w32heap.c (FREEABLE_P): Consider a NULL pointer "not freeable". (realloc_after_dump, realloc_before_dump, free_before_dump): - Handle NULL pointers gracefully, as Emacs now seems to expect - that. + Handle NULL pointers gracefully, as Emacs now seems to expect that. Fix Cairo build without PNG * src/image.c: Define PNG function when USE_CAIRO is defined, even @@ -8365,7 +8318,8 @@ 2015-07-26 Martin Rudalics - Have `x-frame-geometry' return nil for terminal and initial frames (Bug#21132) + Have `x-frame-geometry' return nil for terminal and initial + frames (Bug#21132) * src/nsfns.m (Fx_frame_geometry): * src/xfns.c (Fx_frame_geometry): Return nil for initial and terminal frames. @@ -8407,7 +8361,8 @@ 2015-07-24 Eli Zaretskii - * INSTALL (DETAILED BUILDING AND INSTALLATION): Mention --without-imagemagick. + * INSTALL (DETAILED BUILDING AND INSTALLATION): + Mention --without-imagemagick. Don't require GUI frames and mouse for Flyspell menus * lisp/textmodes/flyspell.el (flyspell-correct-word-before-point) @@ -8444,7 +8399,6 @@ 2015-07-22 Martin Rudalics - Fix customization type of `even-window-sizes'. * lisp/window.el (even-window-sizes): Fix customization type. Optionally even widths of `display-buffer' windows. (Bug#21100) @@ -8465,13 +8419,12 @@ 2015-07-22 Stephen Leake - add file name to autoload error messages. - * lisp/emacs-lisp/autoload.el (autoload-save-buffers): add condition-case - to add file name to error message. + Add file name to autoload error messages + * lisp/emacs-lisp/autoload.el (autoload-save-buffers): + Add condition-case to add file name to error message. 2015-07-22 Michael Albinus - Use 0.0.0.1 as test host in Tramp * lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options): Use 0.0.0.1 as test host. @@ -8513,12 +8466,14 @@ Simplify example. (Remote programs): Remove superfluous comment. * doc/misc/trampver.texi: Update release number. - * lisp/net/tramp-cache.el (tramp-connection-properties): Adapt docstring. + * lisp/net/tramp-cache.el (tramp-connection-properties): + Adapt docstring. * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file): New defun. (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file): Use it. (tramp-gvfs-handle-make-directory): Reimplement PARENTS handling, "gvfs-mkdir -p ..." does not work robust. - (tramp-gvfs-maybe-open-connection): Adapt `tramp-get-method-parameter' call. + (tramp-gvfs-maybe-open-connection): + Adapt `tramp-get-method-parameter' call. * lisp/net/tramp-sh.el (tramp-methods): Add `tramp-remote-shell-login' parameter where it fits. (tramp-get-remote-path): Use it. @@ -8535,14 +8490,15 @@ (tramp-test13-make-directory, tramp--test-adb-p) (tramp--test-smb-or-windows-nt-p): Simplify. (tramp--test-ftp-p, tramp--test-gvfs-p): New defuns. - (tramp--test-special-characters): Fix docstring. Add gvfs and ftp tests. + (tramp--test-special-characters): Fix docstring. Add gvfs and + ftp tests. (tramp--test-utf8): Fix docstring. 2015-07-20 Dmitry Gutov Add new xref-query-replace command - * lisp/progmodes/xref.el (xref--match-buffer-bounds): New - function, extracted from xref-pulse-momentarily. + * lisp/progmodes/xref.el (xref--match-buffer-bounds): + New function, extracted from xref-pulse-momentarily. (xref-query-replace): New command. (xref--query-replace-1): New helper function. (xref--xref-buffer-mode-map): Add `r' binding. @@ -8579,11 +8535,9 @@ of `xref-location'. (xref--collect-match): Use xref-make-match. - Rename xref--xref to xref-item * lisp/progmodes/xref.el (xref-item): Rename from `xref--xref'. Update all references. - Rename xref description slot to summary * lisp/progmodes/xref.el (xref--xref): Rename the `description' slot to `summary'. @@ -8602,14 +8556,13 @@ 2015-07-19 Bozhidar Batsov - Correct js-mode's lighter * lisp/progmodes/js.el (js-mode): Correct the lighter. 2015-07-19 Leo Liu Fix a bug in cfengine3-mode - * progmodes/cfengine.el (cfengine3-mode): Handle nil - eldoc-documentation-function. + * lisp/progmodes/cfengine.el (cfengine3-mode): Handle nil + eldoc-documentation-function. 2015-07-18 Julien Danjou @@ -8628,11 +8581,12 @@ 2015-07-18 Ivan Andrus - * epg.el (epg--start): Check that gpgconf can be found before calling it. + * lisp/epg.el (epg--start): Check that gpgconf can be found + before calling it. - Expose more file types to OS X that Emacs understands. - * Cocoa/Emacs.base/Contents/Info.plist: Add editor role for sty, dtx, - json, and org files. Export UTIs for el, elc, and org files. + Expose more file types to OS X that Emacs understands + * nextstep/Cocoa/Emacs.base/Contents/Info.plist: Add editor role for + sty, dtx, json, and org files. Export UTIs for el, elc, and org files. 2015-07-18 Eli Zaretskii @@ -8666,15 +8620,15 @@ 2015-07-17 Artur Malabarba - * lisp/emacs-lisp/package.el: Fix warnings + * lisp/emacs-lisp/package.el: Fix warnings. * lisp/emacs-lisp/package.el (package-buffer-info): Add author and maintainers to `package-buffer-info'. - * lisp/emacs-lisp/package.el: Many small changes + * lisp/emacs-lisp/package.el: Many small changes. Replace all instances of 'face with 'font-lock-face. - (describe-package-1): Improve some strings and move the summary up the - list. + (describe-package-1): Improve some strings and move the summary + up the list. (package-install-file): Update docstring. (package-menu-hide-package): Bind to `H'. @@ -8710,12 +8664,12 @@ 2015-07-17 Tassilo Horn Support @-mentions - * rcirc.el (rcirc-completion-at-point): Support completion of - mentions/messages with @nick instead of just nick. + * lisp/net/rcirc.el (rcirc-completion-at-point): Support completion + of mentions/messages with @nick instead of just nick. 2015-07-16 Michael Albinus - Fix Bug#20943. + Fix bug#20943 * lisp/autorevert.el (auto-revert-handler): Do not check for `buffer-modified-p'. * lisp/files.el (buffer-stale--default-function): Check for @@ -8749,13 +8703,13 @@ 2015-07-16 Daiki Ueno epg: Automatically start pinentry server - * epg-config.el (epg-gpgconf-program): New variable. - * epg.el (epg--start): Call `pinentry-start' if + * lisp/epg-config.el (epg-gpgconf-program): New variable. + * lisp/epg.el (epg--start): Call `pinentry-start' if allow-emacs-pinentry is set in ~/.gnupg/gpg-agent.conf. 2015-07-15 Katsumi Yamaoka - * lisp/gnus/nnimap.el: Fix my last bogus change + * lisp/gnus/nnimap.el: Fix my last bogus change. Reinstall Stefan Monnier's change that was made in <83d824bc4041332f338ad7e5e830f443535aa300>. @@ -8775,11 +8729,12 @@ 2015-07-15 Xue Fuqiao - * doc/emacs/frames.texi (Creating Frames): Fix the command `C-x 5 m' runs. + * doc/emacs/frames.texi (Creating Frames): + Fix the command `C-x 5 m' runs. 2015-07-14 Michael Albinus - New autorevert tests. + New autorevert tests * test/automated/auto-revert-tests.el: New file. 2015-07-14 Paul Eggert @@ -8793,7 +8748,8 @@ 2015-07-13 Xue Fuqiao - * doc/emacs/windows.texi (Pop Up Window): Fix the description of `C-x 4 m'. + * doc/emacs/windows.texi (Pop Up Window): Fix the description + of `C-x 4 m'. 2015-07-13 YAMAMOTO Mitsuharu @@ -8812,8 +8768,8 @@ (macfont_init_font_change_handler) (macfont_copy_available_families_cache): New functions. (macfont_create_family_with_symbol): Use font family caches. - (macfont_list, macfont_list_family): Use - macfont_copy_available_families_cache instead of + (macfont_list, macfont_list_family): + Use macfont_copy_available_families_cache instead of mac_font_create_available_families. 2015-07-12 Dmitry Gutov @@ -8824,7 +8780,6 @@ `grep-expand-template'. (xref--read-identifier): Show the default value in the prompt. - When called with prefix argument, ask for file patterns to search as well * lisp/progmodes/xref.el (xref-find-regexp): When called with prefix argument, ask for file patterns to search as well. When prompting for the directory, require an existing one. @@ -8833,7 +8788,7 @@ Add `project-ignores' * lisp/progmodes/project.el (project-ignores): New generic - function, and an implementation for the VC project type. + function, and an implementation for the VC project type. * lisp/progmodes/xref.el (xref--rgrep-command): Split, as a variant of rgrep-default-command that handles a generic list of ignores. @@ -8886,7 +8841,8 @@ 2015-07-10 YAMAMOTO Mitsuharu - * src/macfont.m (macfont_list): Ignore font families lacking font descriptors. + * src/macfont.m (macfont_list): Ignore font families lacking + font descriptors. 2015-07-09 Dmitry Gutov @@ -8896,7 +8852,7 @@ Introduce a Project API * lisp/progmodes/project.el: New file. - * lisp/cedet/ede.el: (project-try-ede): New function. + * lisp/cedet/ede.el (project-try-ede): New function. (project-root): New implementation. * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Set project-search-path-function. @@ -8915,7 +8871,8 @@ 2015-07-09 Nicolas Petton - * test/automated/map-tests.el (test-map-delete-return-value): Uncomment test. + * test/automated/map-tests.el (test-map-delete-return-value): + Uncomment test. Add support for gv.el in map.el * lisp/emacs-lisp/map.el (map-elt, map-delete): Declare a gv-expander. @@ -8950,11 +8907,12 @@ Fix bug in thing-at-point--bounds-of-well-formed-url * lisp/thingatpt.el (thing-at-point--bounds-of-well-formed-url): Make - sure boundary contains current point. + sure boundary contains current point. 2015-07-08 Dmitry Gutov - * lisp/progmodes/xref.el (xref-collect-matches): Use `nreverse' in the end. + * lisp/progmodes/xref.el (xref-collect-matches): Use `nreverse' + in the end. Declare whitespace-line-column a safe file-local * lisp/whitespace.el (whitespace-line-column): Declare to be a @@ -8992,7 +8950,7 @@ 2015-07-08 Nicolas Richard - * lisp/obsolete/landmark.el: Add Obsolete-since header + * lisp/obsolete/landmark.el: Add Obsolete-since header. 2015-07-07 Glenn Morris @@ -9025,16 +8983,16 @@ 2015-07-07 Artur Malabarba - * lisp/emacs-lisp/package.el (package-compute-transaction): Bug fix + * lisp/emacs-lisp/package.el (package-compute-transaction): Fix void variable due to `found-something' being in the wrong `let'. 2015-07-07 Nicolas Richard - * lisp/play/landmark.el: Move to lisp/obsolete/ + * lisp/play/landmark.el: Move to lisp/obsolete/. 2015-07-07 Martin Rudalics - Have `x-show-tip' handle `right' and `bottom' frame parameters. + Have `x-show-tip' handle `right' and `bottom' frame parameters * src/nsfns.m (compute_tip_xy, Fx_show_tip) * src/w32fns.c (compute_tip_xy, Fx_show_tip) * src/xfns.c (compute_tip_xy, Fx_show_tip): Allow aligning @@ -9093,8 +9051,8 @@ 2015-07-06 Fabián Ezequiel Gallina python.el: Fix local/remote shell environment setup - * lisp/progmodes/python.el (python-shell-with-environment): Fix - remote/local environment setup. + * lisp/progmodes/python.el (python-shell-with-environment): + Fix remote/local environment setup. * test/automated/python-tests.el (python-shell-with-environment-1) (python-shell-with-environment-2): New tests. @@ -9104,7 +9062,7 @@ 2015-07-06 Ken Brown - * src/sysdep.c (handle_sigsegv) [CYGWIN]: Increase STACK_DANGER_ZONE + * src/sysdep.c (handle_sigsegv) [CYGWIN]: Increase STACK_DANGER_ZONE. 2015-07-06 Glenn Morris @@ -9112,7 +9070,7 @@ 2015-07-06 Ken Brown - * src/emacs.c (main): Don't increase the stack size on Cygwin + * src/emacs.c (main): Don't increase the stack size on Cygwin. 2015-07-06 Stefan Monnier @@ -9125,9 +9083,9 @@ * lisp/help-mode.el (help-symbol, help-follow-symbol): Use it. (help-xref-interned): Make it into an obsolete alias. - (eieio-persistent-save): Don't ignore `file' arg (bug#20972) * lisp/emacs-lisp/eieio-base.el (eieio-persistent-save): Don't ignore - `file' arg. Always use utf-8-emacs. Use with-temp-buffer and cl-letf. + `file' arg (bug#20972). Always use utf-8-emacs. Use with-temp-buffer + and cl-letf. 2015-07-06 Wolfgang Jenkner @@ -9163,7 +9121,7 @@ logic. python.el: Fix mark-defun behavior (Bug#19665) - * lisp/progmodes/python.el: (python-mark-defun): New function. + * lisp/progmodes/python.el (python-mark-defun): New function. * test/automated/python-tests.el (python-mark-defun-1) (python-mark-defun-2, python-mark-defun-3): New tests. @@ -9190,7 +9148,7 @@ Don't return as fast reading any process output * src/process.c (wait_reading_process_output): The patch for Bug#17647 returns too fast sometimes when reading - from any processes. Revert part of it, and limit the timeout more + from any processes. Revert part of it, and limit the timeout more sensibly (Bug#20978). Refactor timeouts in wait_reading_process_output @@ -9216,7 +9174,7 @@ 2015-07-05 Ian Kelling accept-process-output fix - This is a followon to the fix for Bug#17647 (Bug#20976). + This is a followon to the fix for bug#17647 (Bug#20976). * src/process.c (status_notify): Fix too high return in some cases. 2015-07-05 Artur Malabarba @@ -9283,9 +9241,10 @@ * src/w32fns.c (x_create_tip_frame): Fix processing alpha parameter. (Bug#17344) - Have `compilation-set-window' use right window for getting fringes (Bug#20829) - * lisp/progmodes/compile.el (compilation-set-window): Take - `window-fringes' from argument window. (Bug#20829) + Have `compilation-set-window' use right window for getting fringes + (Bug#20829) + * lisp/progmodes/compile.el (compilation-set-window): + Take `window-fringes' from argument window. 2015-07-03 Glenn Morris @@ -9316,7 +9275,6 @@ 2015-07-02 Xue Fuqiao - Add cross references in documentation * doc/emacs/display.texi (Displaying Boundaries): * doc/emacs/search.texi (Word Search): Add cross references. @@ -9329,20 +9287,19 @@ 2015-07-02 Stefan Monnier * lisp/emacs-lisp/eieio-core.el (eieio--class-v): Remove - * lisp/emacs-lisp/eieio-core.el, lisp/emacs-lisp/eieio.el, - lisp/emacs-lisp/eieio-opt.el, lisp/emacs-lisp/eieio-compat.el: + * lisp/emacs-lisp/eieio-core.el, lisp/emacs-lisp/eieio.el: + * lisp/emacs-lisp/eieio-opt.el, lisp/emacs-lisp/eieio-compat.el: Use cl--find-class instead. * lisp/term/xterm.el (xterm--query): Fix paren typo (bug#20951). 2015-07-02 Martin Rudalics - Some further fixes in Change Window node. (Bug#20183) + Some further fixes in Change Window node (Bug#20183) * doc/emacs/windows.texi (Change Window): Replace "rearranging" by "resizing" in section title. Add some concept indices. Suggested by N. Jackson (Bug#20183). - Reference window dividers in Change Window section. * doc/emacs/windows.texi (Change Window): Reference window dividers. @@ -9350,7 +9307,7 @@ * lisp/frame.el (window-divider-mode): Fix doc-string. * doc/emacs/frames.texi (Window Dividers): New section. - Improve accessibility of window dividers. (Bug#20183) + Improve accessibility of window dividers (Bug#20183) * lisp/faces.el (window-divider) (window-divider-first-pixel, window-divider-last-pixel): Change membership from `frames' to `window-divider' customization group. @@ -9389,9 +9346,8 @@ 2015-07-01 Nicolas Richard - * lisp/emacs-lisp/seq.el (seq-difference): Fix typo in docstring + * lisp/emacs-lisp/seq.el (seq-difference): Fix typo in docstring. - Add argument to reverse the meaning of ido-restrict-to-matches * lisp/ido.el (ido-restrict-to-matches): Add an optional argument to reverse the meaning (Bug#15631). @@ -9428,10 +9384,13 @@ 2015-06-30 Paul Eggert Spelling fixes + * lisp/character-fold.el (character-fold-search): + * lisp/emacs-lisp/package.el (package-hidden-regexps): + Fix typos. 2015-06-30 Xue Fuqiao - * doc/emacs/frames.texi (Frame Commands): Typo fix. (Bug#20946) + * doc/emacs/frames.texi (Frame Commands): Typo fix. (Bug#20946) 2015-06-30 Paul Eggert @@ -9468,7 +9427,7 @@ * configure.ac (system-configuration-features): Add X11, NS. - Improve reproducibility of generated loaddefs file. + Improve reproducibility of generated loaddefs file * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads): Make the return value the modtime of the input file (if no autoloads). (update-directory-autoloads): In the "no autoloads" section, @@ -9476,7 +9435,7 @@ 2015-06-30 Artur Malabarba - * lisp/emacs-lisp/package.el (package--remove-hidden): Fix logic + * lisp/emacs-lisp/package.el (package--remove-hidden): Fix logic. (Bug#20930) 2015-06-30 Nicolas Petton @@ -9518,7 +9477,7 @@ 2015-06-30 Artur Malabarba - * lisp/isearch.el (isearch-toggle-word): Fix toggle + * lisp/isearch.el (isearch-toggle-word): Fix toggle. * lisp/emacs-lisp/package.el (package-compute-transaction): Don't assume version sorting. @@ -9529,19 +9488,17 @@ 2015-06-30 Xue Fuqiao - Add cross references. * doc/emacs/display.texi (Standard Faces, Fringes): Add cross references. 2015-06-29 Ted Zlatanov - cfengine.el: update for the upcoming CFEngine 3.7 release Update for the upcoming CFEngine 3.7 release: support macros and quoted context strings; reformat JSON; indent promise attributes 2 units by default; give function parameter descriptions in the eldoc glue. - * cfengine.el: Update version and docs and fix name. Autoload - `json-pretty-print'. Support new features in 3.7. + * lisp/progmodes/cfengine.el: Update version and docs and fix name. + Autoload `json-pretty-print'. Support new features in 3.7. (cfengine-parameters-indent): Set default promise attribute indent to 2 more than the promise itself. (cfengine3-macro-regex): New variable to match the new macro syntax. @@ -9557,10 +9514,13 @@ 2015-06-29 Michael R. Mauger Cygwin emacsclient handles w32 file names + * lisp/server.el (server-process-filter): Allow Cygwin's + emacsclient to be used as a file handler on MS-Windows. 2015-06-29 Katsumi Yamaoka - * lisp/isearch.el (isearch-exit): Don't call isearch-done twice (bug#20925). + * lisp/isearch.el (isearch-exit): Don't call isearch-done twice + (bug#20925). 2015-06-29 Eli Zaretskii @@ -9580,7 +9540,8 @@ 2015-06-29 Wolfgang Jenkner * lisp/calc-store.el (calc-insert-permanent-variable): Heed case. - Otherwise `s p' of f and F will stomp on each other's value. (Bug#20916) + Otherwise `s p' of f and F will stomp on each other's value. + (Bug#20916) 2015-06-29 Artur Malabarba @@ -9589,9 +9550,11 @@ 2015-06-29 Nicolas Richard - * lisp/emacs-lisp/package.el (describe-package): Use symbol-at-point as additional guess + * lisp/emacs-lisp/package.el (describe-package): Use symbol-at-point + as additional guess. - * lisp/emacs-lisp/package.el (describe-package): Convert the guess to a string + * lisp/emacs-lisp/package.el (describe-package): Convert the guess + to a string. 2015-06-28 Paul Eggert @@ -9613,8 +9576,7 @@ 2015-06-28 Artur Malabarba - * lisp/isearch.el (isearch-mode): Don't char-fold regexps - (bug#20913) + * lisp/isearch.el (isearch-mode): Don't char-fold regexps (bug#20913). 2015-06-27 Dmitry Gutov @@ -9681,15 +9643,16 @@ 2015-06-26 Artur Malabarba - * lisp/replace.el (replace-search): Fix regexp case (bug#20901) + * lisp/replace.el (replace-search): Fix regexp case (bug#20901). 2015-06-26 Leo Liu - Fix indentation for with-output-to-string * lisp/emacs-lisp/cl-indent.el: Fix indentation for - `with-output-to-string' in elisp. - Revert "lisp/emacs-lisp/cl-indent.el: Fix indent of with-output-to-string" - This reverts commit 659199f2ca5f283fb246faa78a244e5ca25f53dd. + `with-output-to-string' in elisp. + + Revert "lisp/emacs-lisp/cl-indent.el: Fix indent of + with-output-to-string". + This reverts commit 659199f2ca5f283fb246faa78a244e5ca25f53dd. 2015-06-26 Eli Zaretskii @@ -9707,11 +9670,10 @@ 2015-06-26 Martin Rudalics - Provide invisible mouse pointers on Windows. (Bug#6105) (Bug#12922) + Provide invisible mouse pointers on Windows (Bug#6105) (Bug#12922) * src/w32fns.c (w32_wnd_proc): Handle f->pointer_invisible for WM_SETCURSOR and WM_EMACS_SETCURSOR cases. - * src/w32term.c (w32_hide_hourglass): Handle - f->pointer_invisible. + * src/w32term.c (w32_hide_hourglass): Handle f->pointer_invisible. (w32_toggle_invisible_pointer): New function. (w32_create_terminal): Add w32_toggle_invisible_pointer as toggle_invisible_pointer_hook for this terminal. @@ -9739,7 +9701,7 @@ 2015-06-25 Artur Malabarba - * lisp/character-fold.el (character-fold-table): Reuse `table' + * lisp/character-fold.el (character-fold-table): Reuse `table'. 2015-06-25 Paul Eggert @@ -9760,8 +9722,8 @@ lisp/emacs-lisp/cl-indent.el: Fix indent of with-output-to-string * lisp/emacs-lisp/cl-indent.el (common-lisp-indent-function): - `with-output-to-string' should have the same indent as `progn'. - This is in line with the declaration of `with-output-to-string'. + `with-output-to-string' should have the same indent as `progn'. + This is in line with the declaration of `with-output-to-string'. 2015-06-25 Paul Eggert @@ -9802,7 +9764,7 @@ 2015-06-24 Artur Malabarba - * lisp/character-fold.el (character-fold-table): Fix table generation + * lisp/character-fold.el (character-fold-table): Fix table generation. 2015-06-24 Glenn Morris @@ -9811,7 +9773,7 @@ 2015-06-24 Artur Malabarba - * etc/NEWS: Fix mention to old function name + * etc/NEWS: Fix mention to old function name. * lisp/character-fold.el: New file (Bug#20887) (character-fold-to-regexp): New function. @@ -9825,11 +9787,10 @@ 2015-06-24 Stefan Monnier - * lisp/subr.el (remove-from-invisibility-spec): Handle the t case + lisp/subr.el (remove-from-invisibility-spec): Handle the t case * lisp/subr.el (remove-from-invisibility-spec): Make sure `element' is visible even if it's not yet in buffer-invisibility-spec (bug#20468). - * lisp/progmodes/xref.el: Avoid init-args in oref. * lisp/progmodes/xref.el (xref-location-group, xref-location-marker) (xref--insert-xrefs, xref-collect-references): Avoid init-args in oref. @@ -9839,14 +9800,15 @@ 2015-06-24 Stefan Monnier - * lisp/gnus/nnmaildir.el: Silence lexical warnings + lisp/gnus/nnmaildir.el: Silence lexical warnings * lisp/gnus/nnmaildir.el (nnmaildir--prepare): Use a more functional style. (nnmaildir--update-nov): Remove unused var `numdir'. (nnmaildir-request-type, nnmaildir--scan, nnmaildir-request-newgroups) (nnmaildir-request-group, nnmaildir-request-create-group) (nnmaildir-request-post, nnmaildir-request-move-article) - (nnmaildir-request-accept-article, nnmaildir-active-number): Mark unused args. + (nnmaildir-request-accept-article, nnmaildir-active-number): + Mark unused args. (nnmaildir-get-new-mail, nnmaildir-group-alist) (nnmaildir-active-file): Declare. (nnmaildir-request-scan): Remove unused vars `group' and `grp-dir'. @@ -9929,7 +9891,7 @@ 2015-06-23 Artur Malabarba - * lisp/isearch.el: Fold many unicode characters to ASCII + * lisp/isearch.el: Fold many unicode characters to ASCII. (isearch-character-fold-search, isearch--character-fold-extras) (isearch--character-fold-table): New variable. (isearch--character-folded-regexp): New function. @@ -10002,12 +9964,12 @@ 2015-06-22 Artur Malabarba - * lisp/emacs-lisp/package.el: Exclude packages by name + * lisp/emacs-lisp/package.el: Exclude packages by name. (package-hidden-regexps): New variable. (package-menu--refresh): Use it. (package-menu-hide-package): New command. - * lisp/emacs-lisp/package.el: Rename hide-obsolete to toggle-hiding + * lisp/emacs-lisp/package.el: Rename hide-obsolete to toggle-hiding. 2015-06-22 Eli Zaretskii @@ -10116,7 +10078,6 @@ 2015-06-20 Martin Rudalics - In ‘window-state-put’ undedicate target window. (Bug#20848) * lisp/window.el (window-state-put): Undedicate target window before putting STATE into it. (Bug#20848) @@ -10134,15 +10095,13 @@ 2015-06-19 Stephen Berman - (Bug#20832) * lisp/calendar/todo-mode.el (todo-show): Don't visit todo file - in the minibuffer. + in the minibuffer. (Bug#20832) 2015-06-19 Nicolas Richard - (Bug#20832) - * lisp/calendar/todo-mode.el (todo-show): Signal an error - if buffer for adding new todo file is empty but modified. + * lisp/calendar/todo-mode.el (todo-show): Signal an error if buffer + for adding new todo file is empty but modified. (Bug#20832) 2015-06-19 Stefan Monnier @@ -10225,12 +10184,12 @@ 2015-06-18 Alan Mackenzie Make translation of quotes to curly in doc strings optional. - src/doc.c (traditional, prefer-unicode): new symbols. - (help-quote-translation): new variable. - (Fsubstitute_command_keys): make translation of quotes dependent on + * src/doc.c (traditional, prefer-unicode): New symbols. + (help-quote-translation): New variable. + (Fsubstitute_command_keys): Make translation of quotes dependent on `help-quote-translation'; also translate curly quotes back to ASCII ones. - lisp/cus-start.el (top-level): Add a customization entry for + * lisp/cus-start.el (top-level): Add a customization entry for `help-quote-translation'. 2015-06-18 Artur Malabarba @@ -10319,7 +10278,7 @@ * lisp/emacs-lisp/package.el (package--with-work-buffer-async): Fix error reporting. - * lisp/let-alist.el: move to lisp/emacs-lisp/let-alist.el + * lisp/let-alist.el: Move to lisp/emacs-lisp/let-alist.el * lisp/emacs-lisp/package.el: Revert buffer after any operation Call `package-menu--post-refresh' after any operation that changes @@ -10346,7 +10305,6 @@ 2015-06-17 Xue Fuqiao - Update tutorials/TUTORIAL.cn * etc/tutorials/TUTORIAL.cn: Update; synchronize with TUTORIAL. 2015-06-17 Glenn Morris @@ -10425,7 +10383,7 @@ * lisp/files.el (find-alternate-file'): Improve the confirmation message to show the buffer name. - Better docstring for null. (Bug#20815) + Better docstring for null. (Bug#20815) * src/data.c (null): Improves the docstring, saying what null returns when OBJECT is non-nil. @@ -10448,7 +10406,7 @@ 2015-06-16 Stefan Monnier - * lisp/emacs-lisp/pcase.el: Improve docs and error handling + * lisp/emacs-lisp/pcase.el: Improve docs and error handling. (pcase--self-quoting-p): Floats aren't self-quoting. (pcase): Tweak docstring. (pcase--u1): Deprecate the t pattern. Improve error detection for @@ -10512,7 +10470,6 @@ * lisp/calendar/calendar.el (diary-file): Use locate-user-emacs-file. * doc/emacs/calendar.texi (Diary, Format of Diary File): Update for above diary-file change. - : * etc/NEWS: Mention this. * lisp/macros.el (name-last-kbd-macro, kbd-macro-query) (apply-macro-to-region-lines): Use user-error. @@ -10561,7 +10518,8 @@ 2015-06-15 Paul Eggert - Spelling fixes + * test/automated/help-fns.el (abc\\\[universal-argument\]b\`c\'d\\e\"f): + (help-fns-test-funny-names): Spelling fixes. 2015-06-14 Glenn Morris @@ -10590,9 +10548,9 @@ 2015-06-14 Christoph Wedler Some generic support for multi-mode indentation. - * lisp/progmodes/prog-mode.el (prog-indentation-context): New - variable. - (prog-first-column, prog-widen): New convenience functions. + * lisp/progmodes/prog-mode.el (prog-indentation-context): + New variable. + (prog-first-column, prog-widen): New convenience functions. 2015-06-14 Artur Malabarba @@ -10602,7 +10560,7 @@ 2015-06-13 Glenn Morris - Tweaks for getting repository version; a bit more like it was for bzr. + Tweaks for getting repository version; a bit more like it was for bzr * lisp/version.el (emacs-repository-version-git) (emacs-repository--version-git-1): New functions, split from emacs-repository-get-version. @@ -10786,12 +10744,12 @@ 2015-06-11 Artur Malabarba - * lisp/let-alist.el (let-alist--deep-dot-search): Fix cons + * lisp/let-alist.el (let-alist--deep-dot-search): Fix cons. * test/automated/let-alist.el (let-alist-cons): Test it. 2015-06-11 Nicolas Richard - * src/syntax.c (Fbackward_prefix_chars): Reword docstring + * src/syntax.c (Fbackward_prefix_chars): Reword docstring. 2015-06-10 Glenn Morris @@ -10841,9 +10799,10 @@ 2015-06-09 Stefan Monnier - * lisp/simple.el (eval-expression): Macroexpand before evaluating (bug#20730) + * lisp/simple.el (eval-expression): Macroexpand before evaluating + (bug#20730). - * lisp/progmodes/sh-script.el: Better handle nested quotes + * lisp/progmodes/sh-script.el: Better handle nested quotes. (sh-here-doc-open-re): Don't mis-match the <<< operator (bug#20683). (sh-font-lock-quoted-subshell): Make sure double quotes within single quotes don't mistakenly end prematurely the surrounding string. @@ -10874,9 +10833,8 @@ 2015-06-08 Dmitry Gutov - Skip past `#' to find BEG - * lisp/progmodes/elisp-mode.el (elisp-completion-at-point): Skip - past `#' to find BEG (bug#20771). + * lisp/progmodes/elisp-mode.el (elisp-completion-at-point): + Skip past `#' to find BEG (bug#20771). * test/automated/elisp-mode-tests.el (elisp-completes-functions-after-hash-quote): New test. @@ -10894,13 +10852,13 @@ 2015-06-08 Oleh Krehel Add new command checkdoc-package-keywords - * lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag): New - defcustom. + * lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag): + New defcustom. (checkdoc-list-of-strings-p): Add doc. (checkdoc-current-buffer): When `checkdoc-package-keywords-flag' is non-nil, call `checkdoc-package-keywords'. (checkdoc-get-keywords): New defun. - (checkdoc-package-keywords): New command. Warns if the current file + (checkdoc-package-keywords): New command. Warns if the current file has package.el-style keywords that aren't in `finder-known-keywords'. * etc/NEWS: Add entry. @@ -10916,15 +10874,13 @@ 2015-06-08 Artur Malabarba - * lisp/emacs-lisp/package.el (package-delete): Make interactive + * lisp/emacs-lisp/package.el (package-delete): Make interactive. 2015-06-08 Oleh Krehel - checkdoc.el (checkdoc-file): New function - * lisp/emacs-lisp/checkdoc.el (checkdoc-error): When - `checkdoc-diagnostic-buffer' is set to "*warn*", print the warning - to the standard output. - (bug#20754) + * lisp/emacs-lisp/checkdoc.el (checkdoc-file): New function. + (checkdoc-error): When `checkdoc-diagnostic-buffer' is set to + "*warn*", print the warning to the standard output. (bug#20754) 2015-06-07 Glenn Morris @@ -10953,7 +10909,6 @@ 2015-06-07 Dmitry Gutov - Escape any quotes in the function name * lisp/help-fns.el (help-fns--signature): Quote any quotes in the function name (bug#20759). @@ -10983,7 +10938,7 @@ * lisp/progmodes/grep.el (zrgrep): Let-bind grep-highlight-matches before calling grep-compute-defaults because now it affects the - command lines computed in grep-compute-defaults. (Bug#20728) + command lines computed in grep-compute-defaults. (Bug#20728) 2015-06-06 Glenn Morris @@ -11028,9 +10983,9 @@ * src/w32term.c (x_new_font): * src/nsterm.m (x_new_font): * src/font.c (font_open_entity): - * src/composite.c (composition_gstring_width): Use - get_font_ascent_descent to obtain reasonable values for ascent and - descent of a font. + * src/composite.c (composition_gstring_width): + Use get_font_ascent_descent to obtain reasonable values for ascent + and descent of a font. 2015-06-06 Nicolas Richard @@ -11073,7 +11028,7 @@ Better syntax for the map pcase pattern * lisp/emacs-lisp/map.el: Improves the map pcase pattern to take - bindings of the form (KEY PAT) or SYMBOL. KEY is not quoted. + bindings of the form (KEY PAT) or SYMBOL. KEY is not quoted. * lisp/emacs-lisp/map.el (map--dispatch): Better docstring. @@ -11152,9 +11107,9 @@ * src/ftfont.c (ftfont_open2): Round divisions by upEM. - Undo removal of x_clear_area call on expose for GTK3 or cairo. - * src/xterm.c (handle_one_xevent) [HAVE_GTK3 || USE_CAIRO]: Clear - exposed area. (Bug#20677) + Undo removal of x_clear_area call on expose for GTK3 or cairo + * src/xterm.c (handle_one_xevent) [HAVE_GTK3 || USE_CAIRO]: + Clear exposed area. (Bug#20677) 2015-06-04 Glenn Morris @@ -11223,13 +11178,13 @@ 2015-06-03 Michael Albinus - Instrument file-notify-test.el in order to catch hydra error. + Instrument file-notify-test.el in order to catch hydra error * test/automated/file-notify-tests.el (file-notify--deftest-remote): Wrap body by `ignore-case', in order to trap non-local errors. 2015-06-03 YAMAMOTO Mitsuharu - Undo previous changes in non-toolkit scroll bar drawing. + Undo previous changes in non-toolkit scroll bar drawing * src/xterm.c (x_scroll_bar_set_handle, x_scroll_bar_expose) [!USE_TOOLKIT_SCROLL_BARS]: Draw into scroll bar window. (Bug#20668) @@ -11277,16 +11232,15 @@ 2015-06-02 Michael Albinus - Ensure, that autorevert works for remote files in file-notify-tests.el + Ensure that autorevert works for remote files in file-notify-tests.el * test/automated/file-notify-tests.el (file-notify--test-desc): New defvar. (file-notify--test-remote-enabled) (file-notify-test00-availability, file-notify-test01-add-watch) (file-notify-test02-events): Use it. (file-notify--test-event-test): Check proper descriptor. - (file-notify-test03-autorevert): Ensure, that - `visited-file-modtime' has changed. - (Bug#20392) + (file-notify-test03-autorevert): Ensure that + `visited-file-modtime' has changed. (Bug#20392) 2015-06-02 Nicolas Petton @@ -11324,9 +11278,9 @@ 2015-06-02 Eli Zaretskii Minor tweaks for .gitignore - * .gitignore: Don't ignore versioned *.html and *.ps files. Don't - ignore admin/notes/tags that might be ignored as TAGS on - case-insensitive filesystems. (Bug#20710) + * .gitignore: Don't ignore versioned *.html and *.ps files. + Don't ignore admin/notes/tags that might be ignored as TAGS + on case-insensitive filesystems. (Bug#20710) 2015-06-02 Paul Eggert @@ -11377,8 +11331,8 @@ 2015-06-01 Eli Zaretskii MS-Windows followup for batch stdout/stderr output changes - * lisp/international/mule-cmds.el (set-locale-environment): In - batch mode, use console codepages for keyboard and terminal + * lisp/international/mule-cmds.el (set-locale-environment): + In batch mode, use console codepages for keyboard and terminal encoding. (Bug#20545) Update .gitattributes for DOS EOL files @@ -11442,7 +11396,6 @@ 2015-05-31 Paul Eggert - Remove unused DEFSYMs Remove DEFSYMs that aren't used at the C level. Also: * src/decompress.c (Qzlib_dll): * src/font.c (Qunicode_sip): @@ -11459,7 +11412,7 @@ Use another default value for tramp-histfile-override * lisp/net/tramp-sh.el (tramp-histfile-override): Use ".tramp_history" as default. - Fixes: debbugs:#20446 + Fixes bug#20446 2015-05-29 Nicolas Petton @@ -11467,7 +11420,7 @@ 2015-05-16 Nicolas Petton - * etc/NEWS: Add an entry about map.el + * etc/NEWS: Add an entry about map.el. Improve the docstring of functions in map.el Since a map is not a data structure but a concept, adding information @@ -11477,7 +11430,6 @@ 2015-04-29 Nicolas Petton - Faster implementation of map-empty-p * lisp/emacs-lisp/map.el (map-empty-p): Faster implementation using specific tests depending on the type of the map. @@ -11485,7 +11437,7 @@ 2015-04-25 Artur Malabarba - * lisp/emacs-lisp/map.el (map-pairs): Dump redundant lambda + * lisp/emacs-lisp/map.el (map-pairs): Dump redundant lambda. 2015-04-25 Nicolas Petton @@ -11511,7 +11463,7 @@ * lisp/emacs-lisp/map.el: Better docstring. - Minor improvement in map-elt. + Minor improvement in map-elt * lisp/emacs-lisp/map.el (map-elt): Do not use `ignore-errors' when doing a lookup in arrays, but check the boundaries of the array instead. @@ -11528,10 +11480,11 @@ * lisp/emacs-lisp/map.el (map-into): Better error message. - * lisp/emacs-lisp/map.el: Removes byte-compilation warnings. + * lisp/emacs-lisp/map.el: Remove byte-compilation warnings. Throw an error when converting a map into an unknown map type - * lisp/emacs-lisp/map.el (map-into): Throw an error if type is not valid. + * lisp/emacs-lisp/map.el (map-into): Throw an error if type is + not valid. * test/automated/map-test.el: Add a regression test. New library map.el similar to seq.el but for mapping data structures. @@ -11540,7 +11493,6 @@ 2015-05-30 Dmitry Gutov - Make sure there's no explicit tag name * lisp/progmodes/etags.el (tag-implicit-name-match-p): Make sure there's no explicit tag name (bug#20629). @@ -11584,9 +11536,8 @@ 2015-05-30 Eli Zaretskii - Document 'face-ignored-fonts' - * doc/emacs/mule.texi (Modifying Fontsets): Document - face-ignored-fonts. (Bug#20628) + * doc/emacs/mule.texi (Modifying Fontsets): + Document face-ignored-fonts. (Bug#20628) Add etags test for the new -Q option * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2: @@ -11629,7 +11580,7 @@ 2015-05-30 Michael Albinus - Improve Tramp traces. + Improve Tramp traces * lisp/net/trampver.el (tramp-repository-get-version): New defun. * lisp/net/tramp.el (tramp-debug-message): Use it. @@ -11657,9 +11608,8 @@ 2015-05-29 Artur Malabarba - * lisp/emacs-lisp/package.el: Don't load from parent dir - (package-load-all-descriptors): Don't load descriptors from - directories above the package directories. + * lisp/emacs-lisp/package.el (package-load-all-descriptors): + Don't load descriptors from directories above the package directories. 2015-05-29 Paul Eggert @@ -11671,7 +11621,7 @@ 2015-05-29 Michael Albinus - Improve Tramp traces. + Improve Tramp traces * lisp/net/tramp.el (tramp-call-process-region): New defun. * lisp/net/tramp-sh.el (tramp-get-inline-coding): Use it. @@ -11703,14 +11653,13 @@ 2015-05-28 Katsumi Yamaoka - gnus-art.el: Re-revert last change * lisp/gnus/gnus-art.el (gnus-button-alist): Re-revert last change. cf. 2015-05-28 Samer Masterson Show files when `initial-buffer-choice' is non-nil - * startup.el (command-line-1): When Emacs is given a file as an + * lisp/startup.el (command-line-1): When Emacs is given a file as an argument and `initial-buffer-choice' is non-nil, display both the file and `initial-buffer-choice'. For more than one file, show `initial-buffer-choice' and *Buffer List*. Refactor display-changing @@ -11841,8 +11790,7 @@ 2015-05-27 Stefan Monnier * lisp/isearch.el (isearch--current-buffer): Give a default value. - - Un-revert changes mistakenly dropped by f9fabb2b + Un-revert changes mistakenly dropped by f9fabb2b. 2015-05-27 Paul Eggert @@ -11867,25 +11815,24 @@ 2015-05-27 Dmitry Gutov - Delete the old process in vc-setup-buffer * lisp/vc/vc-dispatcher.el (vc-setup-buffer): Delete the old process here. (vc-do-command): Rather than here (bug#20608). 2015-05-27 Ivan Shmakov - Avoid gratuitous delete-dups in face-at-point. + Avoid gratuitous delete-dups in face-at-point * lisp/faces.el (face-at-point): Do not compute the properly ordered, duplicate-free list if only a single value is requested anyway. (Bug#20519) - Show the exact C-x 8 RET invocation in describe-char. + Show the exact C-x 8 RET invocation in describe-char * lisp/descr-text.el (describe-char): Show the exact C-x 8 RET invocation instead of a template. (Bug#20522) 2015-05-27 Artur Malabarba - * lisp/emacs-lisp/package.el: Don't erase tags on refresh + * lisp/emacs-lisp/package.el: Don't erase tags on refresh. (package-menu--post-refresh): Call `tabulated-list-print' with the UPDATE argument. This only affects the refresh action, the revert action still erases tags. @@ -11899,13 +11846,16 @@ 2015-05-27 Michael Albinus - Fix typo in commit 3953c4be2816537be95520605d45b866dc731f4b + * lisp/net/tramp.el (tramp-handle-make-auto-save-file-name): + Fix typo in "Improve tramp-handle-make-auto-save-file-name" + (commit 3953c4be2816537be95520605d45b866dc731f4b). 2015-05-27 Stefan Monnier - * lisp/isearch.el (isearch--current-buffer): New var + * lisp/isearch.el (isearch--current-buffer): New var. (isearch-update): Set cursor-sensor-inhibit here. - (isearch-done): Unset cursor-sensor-inhibit in the right buffer (bug#20532). + (isearch-done): Unset cursor-sensor-inhibit in the right buffer + (bug#20532). Change inhibit-point-motion-hooks to t * src/textprop.c (syms_of_textprop): Default Vinhibit_point_motion_hooks @@ -11921,7 +11871,8 @@ 2015-05-27 Michael Albinus New test tramp-test30-make-auto-save-file-name - * tramp-tests.el (tramp-test30-make-auto-save-file-name): New test. + * test/automated/tramp-tests.el + (tramp-test30-make-auto-save-file-name): New test. (tramp-test31-special-characters) (tramp-test31-special-characters-with-stat) (tramp-test31-special-characters-with-perl) @@ -11931,7 +11882,7 @@ (tramp-test34-recursive-load, tramp-test35-unload): Rename. Improve tramp-handle-make-auto-save-file-name - * tramp.el (tramp-auto-save-directory): Add :tags. + * lisp/net/tramp.el (tramp-auto-save-directory): Add :tags. (tramp-handle-make-auto-save-file-name): Let native `make-auto-save-file-name' use `auto-save-file-name-transforms', if `tramp-auto-save-directory' is not set. @@ -11997,8 +11948,8 @@ 2015-05-26 Artur Malabarba - * lisp/emacs-lisp/tabulated-list.el: Don't sort without sorter - (tabulated-list-print): Don't sort if sorter is nil + * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print): + Don't sort if sorter is nil. 2015-05-26 Michael Albinus @@ -12006,7 +11957,6 @@ * lisp/net/tramp-sh.el (tramp-set-auto-save): Remove it. There are major modes which set `auto-save-mode' on their own rules; Tramp shall not overwrite such settings. - (Bug#20621) 2015-05-26 Glenn Morris @@ -12018,7 +11968,7 @@ 2015-05-25 Philipp Stephani - * lisp/term/xterm.el: Add gui-get-selection support via OSC-52 + * lisp/term/xterm.el: Add gui-get-selection support via OSC-52. (xterm--extra-capabilities-type): Add `getSelection'. (xterm--query): Add `no-async' argument. (xterm--init-activate-get-selection): New function. @@ -12036,7 +11986,6 @@ 2015-05-25 Daniel Colascione - Add C-language keyword constants to C++ * lisp/progmodes/cc-langs.el (c-constant-kwds): Add C-language keyword constants to C++. @@ -12051,7 +12000,7 @@ 2015-05-25 Michael Albinus - Improve fix of debbugs:20634 in tramp-sh.el + Improve fix of bug#20634 in tramp-sh.el 2015-05-25 Eli Zaretskii @@ -12096,8 +12045,8 @@ 2015-05-25 Lars Magne Ingebrigtsen Make erc timestamps visible again - * lisp/erc/erc-stamp.el (erc-munge-invisibility-spec): Make - timestamps visible again (if requested). + * lisp/erc/erc-stamp.el (erc-munge-invisibility-spec): + Make timestamps visible again (if requested). 2015-05-25 Eli Zaretskii @@ -12107,35 +12056,36 @@ 2015-05-25 Stefan Monnier - * lisp/emacs-lisp/cl-macs.el (cl-tagbody): Scope cl--tagbody-alist + * lisp/emacs-lisp/cl-macs.el (cl-tagbody): Scope cl--tagbody-alist. (Bug#20639) 2015-05-25 Michael Albinus - Fix typo in 89035e247591c8d688fce922b7079881aa110f33 + * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): + Fix typo in "Inhibit `epa-file-handler' in Tramp" + (commit 89035e247591c8d688fce922b7079881aa110f33). 2015-05-25 Orivej Desh (tiny change) Fix IPv6 addresses in Tramp * lisp/net/tramp-sh.el (tramp-make-copy-program-file-name): - Add sqare brackets around host name. + Add square brackets around host name. 2015-05-25 Michael Albinus - Inhibit `epa-file-handler' in Tramp - (Bug#20634) + Inhibit `epa-file-handler' in Tramp (Bug#20634) * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer) (tramp-sh-handle-insert-file-contents-literally): Inhibit also `epa-file-handler'. 2015-05-24 Stefan Monnier - * lisp/emacs-lisp/pcase.el: Use PAT rather than UPAT in docstring + * lisp/emacs-lisp/pcase.el: Use PAT rather than UPAT in docstring. (pcase-let): Document the behavior in case the pattern doesn't match. 2015-05-24 Artur Malabarba - * lisp/emacs-lisp/tabulated-list.el: New optional print method + * lisp/emacs-lisp/tabulated-list.el: New optional print method. (tabulated-list-print): New optional argument, UPDATE. If non-nil, the list is printed by only adding and deleting the changed entries, instead of erasing the whole buffer. This method @@ -12143,7 +12093,7 @@ * doc/lispref/modes.texi (Tabulated List Mode): Document it. * etc/NEWS: Document it. - * lisp/emacs-lisp/tabulated-list.el: Improve printing + * lisp/emacs-lisp/tabulated-list.el: Improve printing. (tabulated-list--get-sorter): New function. (tabulated-list-print): Restore window-line when remember-pos is passed and optimize away the `nreverse'. @@ -12253,11 +12203,11 @@ 2015-05-23 Stefan Monnier - * lisp/pcmpl-cvs.el (pcmpl-cvs-entries): Don't assume CVS/Entries exists. + * lisp/pcmpl-cvs.el (pcmpl-cvs-entries): Don't assume + CVS/Entries exists. * lisp/progmodes/xref.el (xref-find-apropos): Use read-string. - tags-completion-at-point-function: Don't trust the find-tag function * lisp/progmodes/etags.el (tags-completion-at-point-function): Don't trust the find-tag function. @@ -12338,14 +12288,14 @@ 2015-05-23 Eli Zaretskii - Revert "Fix etags Bug#20629 that broke C++ support." + Revert "Fix etags Bug#20629 that broke C++ support" This reverts commit 13dd9d4f7e75d2c78aa5537cef09de03663e9748. 2015-05-23 Jan D - Fix etags Bug#20629 that broke C++ support. - * etags.el (etags-xref-find-definitions-tag-order): Revert commit - from Sun May 10 (Bug#20629). + Fix etags Bug#20629 that broke C++ support + * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order): + Revert commit from Sun May 10 (Bug#20629). Merge branch 'cairo'. Main work done by YAMAMOTO Mitsuharu . @@ -12353,7 +12303,7 @@ Merge branch 'master' into cairo - Fixes to compile cairo branch without cairo. + Fixes to compile cairo branch without cairo * src/gtkutil.c (xg_update_scrollbar_pos): x_clear_area takes frame as first argument. * src/xterm.c (handle_one_xevent): Surround x_cr_destroy_surface with @@ -12361,7 +12311,7 @@ 2015-05-23 Artur Malabarba - * lisp/emacs-lisp/package.el: Always update selected-packages + * lisp/emacs-lisp/package.el: Always update selected-packages. (package--update-selected-packages): New function. (package-menu-execute): Use it before starting the transaction, this way the list of selected packages is updated even when the @@ -12410,11 +12360,11 @@ 2015-05-22 Artur Malabarba - * lisp/emacs-lisp/package.el (package-selected-packages): Fix doc + * lisp/emacs-lisp/package.el (package-selected-packages): Fix doc. 2015-05-22 Glenn Morris - Generate admin/charsets Makefile via configure, and make more portable. + Generate admin/charsets Makefile via configure, and make more portable * configure.ac (SUBDIR_MAKEFILES): Add admin/charsets/Makefile. (admin/charsets/Makefile): Generate it. * admin/charsets/Makefile.in: Rename from Makefile. @@ -12448,7 +12398,7 @@ * lisp/autorevert.el: Use lexical-binding. Fix hook usage. (global-auto-revert-ignore-buffer, auto-revert-notify-modified-p) (auto-revert-notify-watch-descriptor): Use defvar-local. - (find-file-hook, auto-revert-tail-mode, ) + (find-file-hook, auto-revert-tail-mode) (auto-revert-notify-add-watch): Use setq-local. (auto-revert-notify-add-watch): Don't call make-local-variable on kill-buffer-hook (bug#20601). @@ -12458,23 +12408,26 @@ Change defgeneric so it doesn't completely redefine the function * lisp/emacs-lisp/cl-generic.el (cl-generic-define): Don't throw away previously defined methods. - (cl-generic-define-method): Let-bind purify-flag instead of using `fset'. + (cl-generic-define-method): Let-bind purify-flag instead of + using `fset'. (cl--generic-prefill-dispatchers): Only define during compilation. (cl-method-qualifiers): Remove redundant alias. (help-fns-short-filename): Silence byte-compiler. - * test/automated/cl-generic-tests.el: Adjust to new defgeneric semantics. + * test/automated/cl-generic-tests.el: + Adjust to new defgeneric semantics. 2015-05-21 Artur Malabarba - (package-menu-execute): Remove reference to remove-dups + * lisp/emacs-lisp/package.el (package-menu-execute): + Remove reference to remove-dups. 2015-05-21 kwhite - * lisp/erc/erc.el: Hide network/channel messages + * lisp/erc/erc.el: Hide network/channel messages. (erc-network-hide-list, etc-channel-hide-list): New lists to define message types per network/channel. - (erc-add-targets): New function to parse list of targets - (erc-hide-current-message-p): Modified to check for new targets + (erc-add-targets): New function to parse list of targets. + (erc-hide-current-message-p): Modified to check for new targets. 2015-05-21 Paul Eggert @@ -12491,22 +12444,22 @@ 2015-05-21 Artur Malabarba - * lisp/emacs-lisp/package.el: Fix selected-package logic + * lisp/emacs-lisp/package.el: Fix selected-package logic. (package-menu-execute): Mark as selected all non-upgrade packages being installed. (package-menu--perform-transaction): Don't mark anything. - * lisp/emacs-lisp/package.el: Mode-line progress report + * lisp/emacs-lisp/package.el: Mode-line progress report. (package-menu--transaction-status): New variable. (package-menu-mode, package-menu--perform-transaction): Use it. - * lisp/emacs-lisp/package.el: Better transaction messages + * lisp/emacs-lisp/package.el: Better transaction messages. (package-menu--partition-transaction): New function. - (package-menu--prompt-transaction-p, package-menu-execute): Use - it. + (package-menu--prompt-transaction-p, package-menu-execute): + Use it. (package-menu--perform-transaction): Don't do any messaging. - * lisp/emacs-lisp/package.el: Revert async package transactions + * lisp/emacs-lisp/package.el: Revert async package transactions. (package-menu-async): Update doc. (package-install-from-archive, package-download-transaction) (package-install, package-menu--perform-transaction) @@ -12523,16 +12476,17 @@ 2015-05-20 Bozhidar Batsov - Improve parameter name + * lisp/emacs-lisp/subr-x.el (hash-table-empty-p): + Improve parameter name. - Add new inline function `hash-table-empty-p' + * lisp/emacs-lisp/subr-x.el (hash-table-empty-p): New inline function. 2015-05-20 Paul Eggert Don't require help-fns when not needed * lisp/emacs-lisp/autoload.el, lisp/emacs-lisp/advice.el: * lisp/emacs-lisp/elint.el: - Don't require help-fns at the top level. + Don't require help-fns at the top level * lisp/emacs-lisp/advice.el (ad-arglist): * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda): Don't require help-fns. (Bug#17001) @@ -12561,9 +12515,9 @@ Add let-when-compile macro instead of using pcase-let * lisp/subr.el (let-when-compile): New let-like macro that makes its bindings known to macros like `eval-when-compile' in the body. - * lisp/emacs-lisp/lisp-mode.el: Change the top-level `pcase-let' to a - `let-when-compile'. Also comment out the unused lexical var - `el-kws-re'. + * lisp/emacs-lisp/lisp-mode.el: Change the top-level `pcase-let' to + a `let-when-compile'. Also comment out the unused lexical var + `el-kws-re'. The change greatly improves readability, while providing almost the same (even shorter) byte code: instead of pre-evaluating 10 variables, tossing them into a list, and destructuring that list a full screen @@ -12572,11 +12526,11 @@ 2015-05-20 Artur Malabarba - * lisp/emacs-lisp/package.el: "Delete" button in Help buffer + * lisp/emacs-lisp/package.el: "Delete" button in Help buffer. (package-delete-button-action): New function. (describe-package-1): Add Delete button. - * lisp/emacs-lisp/package.el: Better dependency description + * lisp/emacs-lisp/package.el: Better dependency description. (package--used-elsewhere-p): New optional arg, ALL, and return package-desc objects instead of names. (package-delete): Update accordingly. @@ -12586,15 +12540,15 @@ Fix handling and doc-string of FRAME arg of `other-buffer' (Bug#20533) * src/buffer.c (Fother_buffer): Argument FRAME must denote a live frame. - Fix doc-string (Bug#20533). + Fix doc-string. Improve `switch-to-buffer' in strongly dedicated windows (Bug#20472) * lisp/window.el (switch-to-buffer-in-dedicated-window): New option. (switch-to-buffer): If the selected window is strongly dedicated - to its buffer, signal error before prompting for buffer name. Handle - `switch-to-buffer-in-dedicated-window'. (Bug#20472) - * doc/lispref/windows.texi (Switching Buffers): Document - `switch-to-buffer-in-dedicated-window'. + to its buffer, signal error before prompting for buffer name. + Handle `switch-to-buffer-in-dedicated-window'. + * doc/lispref/windows.texi (Switching Buffers): + Document `switch-to-buffer-in-dedicated-window'. 2015-05-19 Paul Eggert @@ -12676,7 +12630,8 @@ 2015-05-19 Stefan Monnier - * emacs-lisp/generator.el (cps--gensym, cps--transform-1): Silence compiler + * lisp/emacs-lisp/generator.el (cps--gensym, cps--transform-1): + Silence compiler. 2015-05-19 Paul Eggert @@ -12715,14 +12670,15 @@ (icomplete-minibuffer-map): Bind C-j to it. (icomplete-forward-completions, icomplete-backward-completions): Mention the new command in the docstring. - * lisp/minibuffer.el (minibuffer-force-complete-and-exit): Revert - the previous fix for bug#17545. + * lisp/minibuffer.el (minibuffer-force-complete-and-exit): + Revert the previous fix for bug#17545. 2015-05-19 Martin Rudalics Fix last commit - In Elisp manual explain how to override window manager positioning (Bug#20552) + In Elisp manual explain how to override window manager positioning + (Bug#20552) * doc/lispref/frames.texi (Position Parameters): Give example of how to override a window manager positioning decision. @@ -12732,12 +12688,11 @@ * doc/lispref/frames.texi (Minibuffers and Frames) (Deleting Frames): Explain "surrogate minibuffer frames". - In w32heap.c bump DUMPED_HEAP_SIZE to 19/12 MB - * emacs-git/quick/src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 19/12 MB. + * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 19/12 MB. 2015-05-18 Glenn Morris - Add option to ignore commit lines matching a pattern in ChangeLog. + Add option to ignore commit lines matching a pattern in ChangeLog * build-aux/gitlog-to-changelog: Add --ignore-line option. * build-aux/gitlog-to-emacslog: Ignore lines matching '^; '. @@ -12802,7 +12757,7 @@ Allow checkdoc to be called in batch * lisp/emacs-lisp/checkdoc.el (checkdoc-error): When `noninteractive' - is non-nil, echo the error with `warn'. + is non-nil, echo the error with `warn'. How it can be used in -batch: (with-current-buffer (find-file "checkdoc.el") (checkdoc-current-buffer t)) @@ -12873,7 +12828,7 @@ Merge branch 'master' into cairo - Add PBM support for cairo. + Add PBM support for cairo * src/image.c (xcolor_to_argb32): New function. (get_spec_bg_or_alpha_as_argb): Call xcolor_to_argb32. (pbm_load, png_load_body, jpeg_load_body, gif_load): Only use @@ -12882,13 +12837,12 @@ 2015-04-12 Jan D - x_free_cr_resources: Renamed from x_prepare_for_xlibdraw. - * src/xterm.c (x_free_cr_resources): Renamed from x_prepare_for_xlibdraw. + * src/xterm.c (x_free_cr_resources): Rename from x_prepare_for_xlibdraw. (x_cr_draw_frame, x_cr_export_frames, x_shift_glyphs_for_insert) (x_free_frame_resources): Rename x_prepare_for_xlibdraw to x_free_cr_resources. - Handle specified bg in images. Use generic libpng code for PNG:s. + Handle specified bg in images. Use generic libpng code for PNGs. * src/image.c (get_spec_bg_or_alpha_as_argb) (create_cairo_image_surface): New functions when USE_CAIRO. (xpm_load): Call the above functions. Handle XPM without mask @@ -12899,26 +12853,26 @@ (jpeg_load_body): Call create_cairo_image_surface. (gif_load, svg_load_image): Handle specified background, call create_cairo_image_surface. - * src/xterm.c (x_draw_image_glyph_string): Added missing USE_CAIRO. + * src/xterm.c (x_draw_image_glyph_string): Add missing USE_CAIRO. 2015-04-11 Jan D - Support GIF and Tiff with cairo. + Support GIF and TIFF with cairo * configure.ac: Allow jpeg with cairo. Allow tiff and gif with cairo. * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO. (tiff_load): Create cairo image surface if USE_CAIRO. (gif_load): Ditto. - Support JPEG with USE_CAIRO. + Support JPEG with USE_CAIRO * configure.ac: Allow jpeg with cairo. * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO. 2015-04-05 Jan D - Support RSVG and cairo. + Support RSVG and cairo * configure.ac: Allow rsvg with cairo. Move back HAVE_RSVG. - * src/dispextern.h (struct image): add cr_data2 if cairo. + * src/dispextern.h (struct image): Add cr_data2 if cairo. * src/image.c: #undef COLOR_TABLE_SUPPORT when USE_CAIRO. (x_clear_image): Free cr_data and cr_data2 if set. (xpm_load): Assign data to cr_data2. @@ -12926,7 +12880,7 @@ 2015-04-03 Jan D - Introduce limited Xpm support (32 bit ZPixmap) for Cairo. + Introduce limited Xpm support (32 bit ZPixmap) for Cairo * configure.ac (HAVE_RSVG): Move after cairo. (USE_CAIRO): Disable rsvg, don't disable Xpm. * src/image.c (prepare_image_for_display): Don't load if USE_CAIRO. @@ -12949,37 +12903,39 @@ 2015-02-19 YAMAMOTO Mitsuharu - * ftcrfont.c (ftcrfont_draw): Don't flush when drawing to screen. + * src/ftcrfont.c (ftcrfont_draw): Don't flush when drawing to screen. 2015-02-16 YAMAMOTO Mitsuharu Draw outermost line using black relief and erase corners also for cairo. - * xterm.c [USE_CAIRO]: Include math.h. + * src/xterm.c [USE_CAIRO]: Include math.h. (enum corners) [USE_CAIRO]: New enum. (x_erase_corners_for_relief) [USE_CAIRO]: New function. (x_draw_relief_rect) [USE_CAIRO]: Use it. If box width is larger than 1, draw the outermost line using the black relief. - * xterm.c (x_fill_trapezoid_for_relief): Remove unnecessary cairo_close_path. + * src/xterm.c (x_fill_trapezoid_for_relief): + Remove unnecessary cairo_close_path. 2015-02-15 YAMAMOTO Mitsuharu - * xterm.c (x_draw_relief_rect) [USE_CAIRO]: Reset clipping. + * src/xterm.c (x_draw_relief_rect) [USE_CAIRO]: Reset clipping. - * xterm.c (x_draw_stretch_glyph_string): Call x_reset_clip_rectangles instead of XSetClipMask. + * src/xterm.c (x_draw_stretch_glyph_string): + Call x_reset_clip_rectangles instead of XSetClipMask. Use int instead of unsigned int for width and height args. - * xterm.c (x_cr_draw_image, x_fill_rectangle, x_draw_rectangle) + * src/xterm.c (x_cr_draw_image, x_fill_rectangle, x_draw_rectangle) (x_fill_trapezoid_for_relief): Use int instead of unsigned int for width and height args. Modernize k&r cairo-related function declarations. - * gtkutil.c (xg_page_setup_dialog, xg_get_page_setup, draw_page) + * src/gtkutil.c (xg_page_setup_dialog, xg_get_page_setup, draw_page) (xg_print_frames_dialog): Modernize k&r declarations. - * xfns.c (Fx_export_frames, Fx_page_setup_dialog, Fx_get_page_setup) + * src/xfns.c (Fx_export_frames, Fx_page_setup_dialog, Fx_get_page_setup) (Fx_print_frames_dialog): Modernize k&r declarations. - * xterm.c (x_gc_get_ext_data, x_extension_initialize, x_begin_cr_clip) - (x_end_cr_clip, x_set_cr_source_with_gc_foreground) + * src/xterm.c (x_gc_get_ext_data, x_extension_initialize) + (x_begin_cr_clip, x_end_cr_clip, x_set_cr_source_with_gc_foreground) (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap) (x_cr_destroy_fringe_bitmap, x_cr_draw_frame, x_cr_accumulate_data) (x_cr_destroy, x_cr_export_frames, x_prepare_for_xlibdraw) @@ -12988,21 +12944,23 @@ (x_clear_area): Modernize k&r declarations. Implement wave-style variant of underlining for cairo. - * xterm.c (x_draw_horizontal_wave) [USE_CAIRO]: New function. + * src/xterm.c (x_draw_horizontal_wave) [USE_CAIRO]: New function. (x_draw_underwave) [USE_CAIRO]: Use it. - * xterm.c (x_draw_window_divider): Use x_fill_rectangle instead of XFillRectangle. + * src/xterm.c (x_draw_window_divider): Use x_fill_rectangle + instead of XFillRectangle. 2015-02-13 YAMAMOTO Mitsuharu - Fix fringe bitmap initialization for cairo. - * fringe.c (init_fringe_bitmap) [USE_CAIRO]: Adjust bitmap data for - cairo image surface. - * xterm.c (x_cr_define_fringe_bitmap): Call cairo_surface_mark_dirty. + Fix fringe bitmap initialization for cairo + * src/fringe.c (init_fringe_bitmap) [USE_CAIRO]: Adjust bitmap + data for cairo image surface. + * src/xterm.c (x_cr_define_fringe_bitmap): + Call cairo_surface_mark_dirty. 2015-02-11 Jan D - Add cairo drawing. + Add cairo drawing * configure.ac (with-cairo): New option. (USE_CAIRO): Default to yes for Gtk+ 3. Add code to test for cairo, set CAIRO_CFLAGS, CAIRO_LIBS. Add ftcrfonto to FONT_OBJ if cairo. @@ -13025,8 +12983,8 @@ (ftfont_open): Build font object and call ftfont_open2. * src/ftfont.h (ftfont_open2, ftfont_info_size): Declare. * src/gtkutil.c (xg_clear_under_internal_border) - (xg_update_scrollbar_pos, xg_update_horizontal_scrollbar_pos): Only - queue_draw if not cairo. Change args to x_clear_area. + (xg_update_scrollbar_pos, xg_update_horizontal_scrollbar_pos): + Only queue_draw if not cairo. Change args to x_clear_area. (xg_get_font): Use Qftcr when using cairo, Qxft otherwise. (xg_page_setup_dialog, xg_get_page_setup, draw_page) (xg_print_frames_dialog): New functions for printing. @@ -13040,8 +12998,7 @@ * src/xfns.c: New section Printing. (x-export-frames, x-page-setup-dialog, x-get-page-setup) (x-print-frames-dialog): New printing functions. - (Fx_create_frame, x_create_tip_frame): Register ftcrfont if - cairo. + (Fx_create_frame, x_create_tip_frame): Register ftcrfont if cairo. (syms_of_xfns): Defsym Qorientation, Qtop_margin, Qbottom_margin, Qportrait, Qlandscape, Qreverse_portrait, Qreverse_landscape). (syms_of_xfns): Provide cairo and defvar cairo-version-string. @@ -13073,12 +13030,12 @@ (x_set_glyph_string_clipping) (x_set_glyph_string_clipping_exactly): Use x_set_clip_rectangles instead of XSetClipRectangles. - (x_clear_glyph_string_rect, x_draw_glyph_string_background): Use - x_fill_rectangle instead of XFillRectangle. + (x_clear_glyph_string_rect, x_draw_glyph_string_background): + Use x_fill_rectangle instead of XFillRectangle. (x_draw_glyph_string_foreground) (x_draw_composite_glyph_string_foreground) - (x_draw_glyphless_glyph_string_foreground): Use x_draw_rectangle instead - of XDrawRectangle. + (x_draw_glyphless_glyph_string_foreground): Use x_draw_rectangle + instead of XDrawRectangle. (x_draw_relief_rect): Add code for USE_CAIRO. Call x_reset_clip_rectangles instead of XSetClipMask. (x_draw_box_rect): x_set_clip_rectangles instead of XSetClipRectangles, @@ -13142,15 +13099,11 @@ test for curved quotes being displayable, after switching the terminal encoding. (Bug#20545) -2015-05-17 Paul Eggert - - Spelling fixes - 2015-05-17 Jan D - Add comment that x_shift_glyphs_for_insert is never called. - * xterm.c (x_shift_glyphs_for_insert, x_redisplay_interface): Add - comment that this function is never called. + Add comment that x_shift_glyphs_for_insert is never called + * src/xterm.c (x_shift_glyphs_for_insert, x_redisplay_interface): + Add comment that this function is never called. 2015-05-16 Glenn Morris @@ -13180,7 +13133,7 @@ 2015-05-16 Glenn Morris - Small src/Makefile simplification. + Small src/Makefile simplification * src/lisp.mk (shortlisp): Rename from lisp, remove $lispsource prefix. * src/Makefile.in (lisp): Derive from shortlisp. ($(etc)/DOC): Use $shortlisp rather than parsing lisp.mk. @@ -13195,11 +13148,9 @@ 2015-05-16 Dmitry Gutov - Use `unless' to have one fewer `not' * lisp/vc/vc-git.el (vc-git-resolve-when-done): Use `unless' to have one fewer `not'. - Remove redundant :group declarations from vc-git.el * lisp/vc/vc-git.el (vc-git-diff-switches) (vc-git-annotate-switches, vc-git-resolve-conflicts) (vc-git-program, vc-git-root-log-format): Remove the redundant @@ -13222,9 +13173,9 @@ 2015-05-16 Artur Malabarba - * lisp/emacs-lisp/tabulated-list.el: Don't error on nil header-string + * lisp/emacs-lisp/tabulated-list.el: Don't error on null header-string. (tabulated-list-init-header): Document new behavior. - (tabulated-list-print-fake-header): No nothing if + (tabulated-list-print-fake-header): Do nothing if `tabulated-list--header-string' is nil. (tabulated-list--header-string): Add a docstring. * doc/lispref/modes.texi (Tabulated List Mode): Document it. @@ -13234,11 +13185,11 @@ Revert "Fix cps--gensym" * lisp/emacs-lisp/generator.el (cps--gensym): Revert commit - fbda511ab8069d0115eafca411a43353b85431b1 on 2015-05-14. + fbda511ab8069d0115eafca411a43353b85431b1 on 2015-05-14. 2015-05-15 Glenn Morris - Replace AC_SUBST_FILE in configure with include in Makefiles. + Replace AC_SUBST_FILE in configure with include in Makefiles * configure.ac (DEPDIR, MKDEPDIR, deps_frag, lwlib_deps_frag) (oldxmenu_deps_frag, lisp_frag): Remove output variables/files. (AUTO_DEPEND): New output variable. @@ -13256,7 +13207,7 @@ (deps_frag): Replace by conditional include. * src/autodeps.mk: Remove file. - Tweak japanese.el's loading of dependencies. + Tweak japanese.el's loading of dependencies * lisp/loadup.el: Explicitly load cp51932 and eucjp-ms. * lisp/language/japanese.el: Use require rather than load. * lisp/international/cp51932.el, lisp/international/eucjp-ms.el: @@ -13266,14 +13217,14 @@ 2015-05-15 Jan D - Fix NS warnings. - * nsmenu.m (ns_popup_dialog) - * nsimage.m (initFromXBM:width:height:fg:bg:) - * nsfns.m (Fx_create_frame): Remove unused variables. + Fix NS warnings + * src/nsmenu.m (ns_popup_dialog) + * src/nsimage.m (initFromXBM:width:height:fg:bg:) + * src/nsfns.m (Fx_create_frame): Remove unused variables. (Fns_read_file_name): Initialize fname, remove ret. - * nsterm.m (ns_draw_window_cursor): Handle DEFAULT_CURSOR in switch. - (ns_get_color, ns_set_horizontal_scroll_bar, keyDown): Remove unused - variable. + * src/nsterm.m (ns_draw_window_cursor): Handle DEFAULT_CURSOR in switch. + (ns_get_color, ns_set_horizontal_scroll_bar, keyDown): + Remove unused variable. (init): Add parantesis in if. (ns_create_terminal): Assign set_horizontal_scroll_bar_hook. @@ -13285,30 +13236,29 @@ 2015-05-15 Eli Zaretskii - Support de-alt dictionary with Aspell. * lisp/textmodes/ispell.el (ispell-aspell-find-dictionary): Support Aspell dictionaries with names like "de-alt". (Bug#20581) 2015-05-15 Jan Djärv - cus-start.el: Add ns-confirm-quit. - * cus-start.el: Add ns-confirm-quit. + * lisp/cus-start.el: Add ns-confirm-quit. - Fix warnings on OSX 10.10. - * nsfns.m (MODAL_OK_RESPONSE): New define for different OSX versions. + Fix warnings on OSX 10.10 + * src/nsfns.m (MODAL_OK_RESPONSE): New define for different + OSX versions. (Fns_read_file_name): Check against MODAL_OK_RESPONSE. (compute_tip_xy): Use convertRectToScreen for OSX >= 10.7 - * nsmenu.m (initWithContentRect:styleMask:backing:defer:) - * nsimage.m (allocInitFromFile, setPixmapData): Only call + * src/nsmenu.m (initWithContentRect:styleMask:backing:defer:) + * src/nsimage.m (allocInitFromFile, setPixmapData): Only call setScalesWhenResized for OSX < 10.6. - * nsterm.h (EmacsScroller): Declare scrollerWidth. - * nsterm.m (ns_copy_bits): New function that does not use deprecated - NSCopyBits. + * src/nsterm.h (EmacsScroller): Declare scrollerWidth. + * src/nsterm.m (ns_copy_bits): New function that does not use + deprecated NSCopyBits. (ns_scroll_run, ns_shift_glyphs_for_insert): Call ns_copy_bits. (runAlertPanel): New function. (applicationShouldTerminate:): Call runAlertPanel. - (initFrameFromEmacs, toggleFullScreen:): Only call useOptimizedDrawing - for OSX < 10.10. + (initFrameFromEmacs, toggleFullScreen:): Only call + useOptimizedDrawing for OSX < 10.10. (initFrameFromEmacs:): Only call allocateGState for OSX < 10.10. (windowWillUseStandardFrame:defaultFrame:): Cast arg to abs to int. (draggingEntered:): Returns NSDragOperation. @@ -13316,33 +13266,33 @@ 2015-05-15 Artur Malabarba - * lisp/emacs-lisp/package.el: Don't ensure-init during startup + * lisp/emacs-lisp/package.el: Don't ensure-init during startup. (package--init-file-ensured): New variable. (package-initialize, package--ensure-init-file): Use it. 2015-05-15 Jan Djärv - Honor :fore/background for XBM on NS (Bug#14969). - * nsterm.h (EmacsImage): Add xbm_fg, remove initFromSkipXBM, + Honor :fore/background for XBM on NS (Bug#14969) + * src/nsterm.h (EmacsImage): Add xbm_fg, remove initFromSkipXBM, initFromXBM takes bg, fg args, remove flip arg. (ns_image_from_XBM): Add bg, fg args. - * image.c (x_create_bitmap_from_data) + * src/image.c (x_create_bitmap_from_data) (Create_Pixmap_From_Bitmap_Data): ns_image_from_XBM takes bg, fg args. - * nsimage.m (ns_image_from_XBM): Add fg, bg args, pass to initFromXBM. - Remove flip arg. + * src/nsimage.m (ns_image_from_XBM): Add fg, bg args, pass to + initFromXBM. Remove flip arg. (initFromSkipXBM): Move code to initFromXBM. (initFromXBM): Actually set fg and bg, instead of playing alpha games. - Use fg, bg from args (Bug#14969). Remove if (length) section, was always - false. + Use fg, bg from args (Bug#14969). Remove if (length) section, was + always false. Remove bit flipping (bitPat, swt), generated incorrect images when width/height wasn't a multiple of 8. (setXBMColor:): Modify planes by comparing to saved xbm_fg. - * nsterm.m (ns_draw_fringe_bitmap): initFromXBM takes fg, bg args, remove - flip arg. + * src/nsterm.m (ns_draw_fringe_bitmap): initFromXBM takes fg, bg args, + remove flip arg. 2015-05-15 Artur Malabarba - * lisp/emacs-lisp/package.el: Be more careful with the init file + * lisp/emacs-lisp/package.el: Be more careful with the init file. (package--ensure-init-file): Check that user-init-file is set, exists, is readable, and is writable. (Bug#20584) Also expand the docstring. @@ -13350,15 +13300,15 @@ 2015-05-14 Wilson Snyder Sync with upstream verilog-mode revision 6232468 - * lisp/progmodes/verilog-mode.el (verilog-font-lock-grouping-keywords-face) + * lisp/progmodes/verilog-mode.el + (verilog-font-lock-grouping-keywords-face) (verilog-highlight-grouping-keywords): Fix use of face when - `verilog-highlight-grouping-keywords' set. Reported by Jeff - Pompa. + `verilog-highlight-grouping-keywords' set. Reported by Jeff Pompa. (verilog-auto-reset): Fix AUTORESET to ignore member resets if - parent is reset, bug906. Reported by Ken Schmidt. + parent is reset, bug906. Reported by Ken Schmidt. (verilog-auto-inout-module): Add fourth regexp argument to - AUTOINOUTMODULE and AUTOINOUTCOMP for signals to not match, - bug856. Reported by John Tillema. + AUTOINOUTMODULE and AUTOINOUTCOMP for signals to not match, bug856. + Reported by John Tillema. (verilog-auto-inst-port): Fix AUTOINST interfaces to not show modport if signal attachment is itself a modport. Reported by Matthew Lovell. @@ -13379,37 +13329,36 @@ (verilog-auto-end-comment-lines-re) (verilog-end-block-ordered-re, verilog-set-auto-endcomments): Automatically comment property/endproperty blocks to match other - similar blocks like sequence/endsequence, function/endfunction, - etc. Reported by Alex Reed. + similar blocks like sequence/endsequence, function/endfunction, etc. + Reported by Alex Reed. (verilog-set-auto-endcomments): Detect the function- or task-name - when auto-commenting blocks that lack an explicit - portlist. Reported by Alex Reed. + when auto-commenting blocks that lack an explicit portlist. + Reported by Alex Reed. (verilog-auto, verilog-auto-insert-last): Add AUTOINSERTLAST to - allow post-AUTO user fixups, bug826. Reported by Dennis - Muhlestein. + allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein. (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if' is nil, fix indenting initial/final to match always statements, - bug825. Reported by Tim Clapp. + bug825. Reported by Tim Clapp. (verilog-extended-complete-re): Fix indentation of DPI-C imports - with c_identifiers, and DPI-C imports, bug557. Reported by ZeDong + with c_identifiers, and DPI-C imports, bug557. Reported by ZeDong Mao and Jason Forkey. (verilog-read-decls): Fix parsing typed interfaces. Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas. Fix localparam not being ignored in AUTOINSTPARAM, - bug889. Reported by Shannon Hill. + bug889. Reported by Shannon Hill. (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793. Reported by Pierre-David Pfister. - (verilog-auto-arg-format, verilog-auto-arg-ports): Add - verilog-auto-arg-format to support newlines in AUTOARG. Reported - by Jie Xiao. + (verilog-auto-arg-format, verilog-auto-arg-ports): + Add verilog-auto-arg-format to support newlines in AUTOARG. + Reported by Jie Xiao. (verilog-batch-execute-func): Do not batch re-auto files loaded by - Local Variables. Fix printing "no changes to be saved" with - verilog-batch. Reported by Dan Dever. + Local Variables. Fix printing "no changes to be saved" with + verilog-batch. Reported by Dan Dever. (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting interface-only modules, bug721. Reported by Dean Hoyt. Author: Alex Reed - * lisp/progmodes/verilog-mode.el (verilog-beg-of-statement): Don't - treat ':' as the start of a labeled + * lisp/progmodes/verilog-mode.el (verilog-beg-of-statement): + Don't treat ':' as the start of a labeled statement, bug905. Reported by Enzo Chi. (verilog-directive-re, verilog-compiler-directives) (verilog-keywords): Match full set of IEEE 2012-1800 compiler @@ -13420,18 +13369,18 @@ (verilog-optional-signed-range-re, verilog-optional-signed-re): Fix incorrect indentation/alignment of unsigned declarations, bug897. - (verilog-looking-back, verilog-in-attribute-p): Fix labling of + (verilog-looking-back, verilog-in-attribute-p): Fix labeling of always constructs, bug895. - (verilog-calc-1): Fix verilog-mode constraint indentation, - bug324. Reported by Eric Mastromarchi. + (verilog-calc-1): Fix verilog-mode constraint indentation, bug324. + Reported by Eric Mastromarchi. (verilog-beg-of-statement): Fix indenting for some forms of constraintsm bug433. Reported by Brad Parker. Fix indentation of - continued assignment incorrect if first line ends with ']', - bug437. Reported by Dan Dever. Fix indention of cover inside an - ifdef, bug 862. Reported by Bernd Beuster Fix labeling do-while + continued assignment incorrect if first line ends with ']', bug437. + Reported by Dan Dever. Fix indention of cover inside an + ifdef, bug 862. Reported by Bernd Beuster. Fix labeling do-while blocks, bug842. - (verilog-preprocessor-re): Fix fork/end UNMATCHED warning, - bug859. Reported by Kaushal Modi. + (verilog-preprocessor-re): Fix fork/end UNMATCHED warning, bug859. + Reported by Kaushal Modi. (verilog-set-auto-endcomments): Fix endlabel end comments, bug888. (verilog-backward-token): Fix indenting sensitivity lists with named events, bug840. Reed. @@ -13446,7 +13395,7 @@ result is valid (Bug#20432). (xg_frame_set_char_size, xg_update_scrollbar_pos): Calculate scale only if needed. - show ASCII approximations instead. + Show ASCII approximations instead. 2015-05-14 Eli Zaretskii @@ -13455,24 +13404,24 @@ functions on initial-frame frame. (Bug#20565) Fix selective diff browsing in Ediff - * lisp/vc/ediff-util.el (ediff-focus-on-regexp-matches): Go to the - beginning of the region before searching for the + * lisp/vc/ediff-util.el (ediff-focus-on-regexp-matches): + Go to the beginning of the region before searching for the ediff-regexp-focus-* regexps. (Bug#20568) 2015-05-14 Jan D - Fixes Bug#20142. - * gtkutil.c (delete_cb): Don't send delete event here, it does arrive - in the main loop, even for Gtk 3 (Bug#20142). + Fixes bug#20142 + * src/gtkutil.c (delete_cb): Don't send delete event here, it does + arrive in the main loop, even for Gtk 3 (Bug#20142). Don't access display after i/o error (Bug#19147). - * xterm.c (x_connection_closed): Add third arg ioerror. + * src/xterm.c (x_connection_closed): Add third arg ioerror. If ioerror, set display to 0 (Bug#19147). (x_error_quitter): Call x_connection_closed with third arg false. (x_io_error_quitter): Call x_connection_closed with third arg true. Handle GTK_SCALE, fixes Bug#20432. - * gtkutil.c (xg_get_gdk_scale): New function. + * src/gtkutil.c (xg_get_gdk_scale): New function. (xg_frame_set_char_size) (x_wm_set_size_hint, xg_get_default_scrollbar_width) (xg_get_default_scrollbar_height) @@ -13481,7 +13430,6 @@ 2015-05-13 Leo Liu - Fix cps--gensym * lisp/emacs-lisp/generator.el (cps--gensym): Fix. 2015-05-13 Glenn Morris @@ -13496,8 +13444,8 @@ * src/lisp.mk (lisp): Add emacs-lisp/cl-generic.elc. * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method): Avoid defalias for closures which are not immutable. - (cl--generic-prefill-dispatchers): New macro. Use it to prefill the - dispatchers table with various entries. + (cl--generic-prefill-dispatchers): New macro. Use it to prefill + the dispatchers table with various entries. * lisp/emacs-lisp/ert.el (emacs-lisp-mode-hook): * lisp/emacs-lisp/seq.el (emacs-lisp-mode-hook): Use add-hook. @@ -13516,7 +13464,7 @@ * lisp/progmodes/tcl.el (tcl-filter): Handle comint-prompt-read-only like gud.el does. (Bug#20549) - Add basic VC push support. + Add basic VC push support * lisp/vc/vc.el (vc-push): New autoloaded command. * lisp/vc/vc-hooks.el (vc-prefix-map, vc-menu-map): Add vc-push. * lisp/vc/vc-bzr.el (vc-bzr--pushpull): New, factored from vc-bzr-pull. @@ -13578,9 +13526,11 @@ (cl-generic-define-method): Use it as well, and add support for context args. (cl--generic-get-dispatcher): Handle &context dispatch. - (cl--generic-cache-miss): `dispatch-arg' can now be a context expression. + (cl--generic-cache-miss): `dispatch-arg' can now be a + context expression. (cl--generic-dispatchers): Pre-fill. - * test/automated/cl-generic-tests.el (sm-generic-test-12-context): New test. + * test/automated/cl-generic-tests.el (sm-generic-test-12-context): + New test. 2015-05-11 Glenn Morris @@ -13592,7 +13542,8 @@ * lisp/term/rxvt.el: Require term/xterm. (rxvt-function-map): Use xterm-rxvt-function-map. (rxvt-standard-colors): Move before first use. - (terminal-init-rxvt): Use xterm--push-map and xterm-register-default-colors. + (terminal-init-rxvt): Use xterm--push-map and + xterm-register-default-colors. (rxvt-rgb-convert-to-16bit, rxvt-register-default-colors): Remove. * lisp/term/xterm.el (xterm-rxvt-function-map): New var. Move shared bindings between rxvt and xterm to it. @@ -13614,10 +13565,6 @@ * Makefile.in (emacslog): Remove srcdir. (ChangeLog): Update for the above. -2015-05-11 Paul Eggert - - Spelling fix - 2015-05-10 Fabián Ezequiel Gallina python.el: better limit for looking-back calls @@ -13627,8 +13574,8 @@ 2015-05-10 Stefan Monnier CEDET (srecode-insert-fcn): Fix use of oref on a class - * lisp/cedet/srecode/insert.el (srecode-insert-fcn): Fix use of oref on - a class. Reported by Pierre Lorenzon. + * lisp/cedet/srecode/insert.el (srecode-insert-fcn): Fix use of oref + on a class. Reported by Pierre Lorenzon. (srecode-template-inserter-point): Remove declaration. CEDET (srecode-create-dictionary): Avoid obsolete object name @@ -13723,9 +13670,10 @@ 2015-05-10 Jan D - Draw composite string correctly (Bug#20537). - * nsterm.m (ns_draw_composite_glyph_string_foreground): New function. - (ns_draw_glyph_string): Call it (Bug#20537). + Draw composite string correctly (Bug#20537) + * src/nsterm.m (ns_draw_composite_glyph_string_foreground): + New function. + (ns_draw_glyph_string): Call it. 2015-05-09 Eli Zaretskii @@ -13748,20 +13696,20 @@ * build-aux/gitlog-to-emacslog: Add "for earlier changes" to footer. - Add command-line option-parsing to gitlog-to-emacslog. + Add command-line option-parsing to gitlog-to-emacslog * build-aux/gitlog-to-emacslog: Add command-line options. By default, refuse to remove an existing output file. * Makefile.in (CHANGELOG): Update default. (ChangeLog): Do not test for existing file. (change-history-nocommit): Ensure temp file does not exist. - Quieten --without-x compilation. + Quieten --without-x compilation * lisp/term/common-win.el: Provide a feature. * lisp/term/x-win.el (term/common-win): Require it. * lisp/dired-aux.el (dired-do-print): Require lpr. - Quieten compilation, eg in --without-x builds. + Quieten compilation, eg in --without-x builds * lisp/dired-aux.el (lpr-printer-switch): * lisp/frame.el (tool-bar-height): * lisp/linum.el (font-info): @@ -13785,19 +13733,19 @@ 2015-05-08 Nicolas Richard - help--binding-locus: Document argument POSITION. - * lisp/help.el (help--binding-locus): Document argument POSITION. (bug#20530) + * lisp/help.el (help--binding-locus): Document argument POSITION. + (Bug#20530) 2015-05-08 Paul Eggert - Merge from gnulib. + Merge from gnulib * doc/misc/texinfo.tex: Get latest version. 2015-05-08 Oleh Krehel ffap.el (ffap-read-file-or-url): Fix completing-read call * lisp/ffap.el (ffap-read-file-or-url): The HIST argument of - `completing-read' should be a symbol. + `completing-read' should be a symbol. 2015-05-08 Eli Zaretskii @@ -13826,23 +13774,22 @@ 2015-05-07 Artur Malabarba - * lisp/emacs-lisp/subr-x.el (if-let): Fix debug spec + * lisp/emacs-lisp/subr-x.el (if-let): Fix debug spec. Support the case when BINDINGS is a single tuple. (Bug#20525) - * etc/NEWS: Fix typo in commit 14bb519 + * etc/NEWS: Fix typo in previous commit + (14bb519f1034ddb38ce375cbad7095d9b07f8b26). 2015-05-07 Jan D - Warn for multiple display crash for all Gtk+ versions. - * configure.ac: Warn for multiple display crash for all Gtk+ - versions. Output URL to Gtk+ bug (Bug#20452). + * configure.ac: Warn for multiple display crash for all Gtk+ versions. + Output URL to Gtk+ bug (Bug#20452). - ns-win.el (ns-paste-secondary): Use gui-get-selection. - * ns-win.el (ns-paste-secondary): Use gui-get-selection. + * lisp/term/ns-win.el (ns-paste-secondary): Use gui-get-selection. 2015-05-07 Artur Malabarba - * lisp/emacs-lisp/package.el: New "external" package status + * lisp/emacs-lisp/package.el: New "external" package status. An external package is any installed package that's not built-in and not from `package-user-dir', which usually means it's from an entry in `package-directory-list'. They are treated much like @@ -13856,7 +13803,7 @@ 2015-05-06 Stefan Monnier - * lisp/mail/rmail.el: Use lexical-binding + * lisp/mail/rmail.el: Use lexical-binding. (rmail-bury): Remove unused var `buffer-to-bury'. (rmail-get-new-mail): Remove unused vars `opoint' and `success'. (rmail-parse-url): Remove unused var `proto', `user', and `host'. @@ -13873,7 +13820,7 @@ * Makefile.in (change-history-commit): Add missing piece of previous. - Avoid unnecessary bumping of Makefile.in's timestamp. + Avoid unnecessary bumping of Makefile.in's timestamp * Makefile.in (gen_origin): Move to gitlog-to-emacslog. (emacslog): New variable. (ChangeLog): Use $emacslog. Don't pass $gen_origin. @@ -13900,7 +13847,6 @@ * lisp/subr.el (delete-dups): Pre-size the hashtable. - (define-modify-macro): Make sure cl--arglist-args is defined * lisp/emacs-lisp/cl.el (define-modify-macro): Make sure cl--arglist-args is defined (bug#20517). @@ -13910,14 +13856,13 @@ 2015-05-06 Dmitry Gutov - Only cancel timer when it is non-nil * lisp/cedet/pulse.el (pulse-momentary-unhighlight): Only cancel timer when it is non-nil (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00223.html). 2015-05-06 Glenn Morris - Quieten cedet compilation + Quieten CEDET compilation * lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym->tag): Invert fboundp test to quieten on current Emacs. * lisp/cedet/ede/config.el (ede-shell-run-something) @@ -13932,7 +13877,7 @@ 2015-05-06 Oleh Krehel - lisp/subr.el (delete-dups): Avoid nreverse. + * lisp/subr.el (delete-dups): Avoid nreverse. 2015-05-06 Artur Malabarba @@ -13944,10 +13889,11 @@ 2015-05-06 Stefan Monnier - * lisp/emacs-lisp/testcover.el: Don't use edebug--read (bug#20487) + * lisp/emacs-lisp/testcover.el: Don't use edebug--read (bug#20487). * lisp/emacs-lisp/testcover.el: Use lexical-binding. - (testcover--read): Rename from testcover-read. Change calling convention. - Use edebug-read-and-maybe-wrap-form now that edebug-read is gone. + (testcover--read): Rename from testcover-read. Change calling + convention. Use edebug-read-and-maybe-wrap-form now that edebug-read + is gone. (testcover-start): Use add-function. Move edebug-all-defs binding to testcover--read. (testcover-this-defun): Tighten scope of edebug-all-defs binding. @@ -13956,9 +13902,8 @@ 2015-05-06 Oleh Krehel - lisp/subr.el (delete-dups): Use a hash table * lisp/subr.el (delete-dups): When there are more than 100 candidates, - use a hash table. This can result in ~500 times speed-up for typical + use a hash table. This can result in ~500 times speed-up for typical collections of size 5000, like that of `load-library'. 2015-05-06 Stefan Monnier @@ -13969,8 +13914,8 @@ * lisp/cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Remove unused var `prefix'. - * lisp/cedet/semantic/symref/grep.el: Fix unused var warnings - * lisp/cedet/semantic/symref/grep.el (grepflags, greppattern): Declare. + * lisp/cedet/semantic/symref/grep.el: Fix unused var warnings. + (grepflags, greppattern): Declare. (semantic-symref-perform-search): Remove unused var `pat'. CEDET (srecode-compile-inserter): Avoid `oref' on classes @@ -13983,17 +13928,16 @@ Clean up pulse.el a little * lisp/cedet/pulse.el (pulse): Remove. (pulse-momentary-timer): Save instead of the stop time. - (pulse-momentary-highlight-overlay): Call - pulse-momentary-unhighlight first thing. Treat - pulse-momentary-overlay as a single value, not a list. Save the - created timer. Only pass the stop time to the timer. + (pulse-momentary-highlight-overlay): + Call pulse-momentary-unhighlight first thing. + Treat pulse-momentary-overlay as a single value, not a list. + Save the created timer. Only pass the stop time to the timer. (pulse-tick): Update accordingly. (pulse-momentary-unhighlight): Treat pulse-momentary-overlay as a - single value. Cancel the timer. + single value. Cancel the timer. 2015-05-06 Tassilo Horn - Support the biblatex journaltitle field * lisp/textmodes/reftex-cite.el (reftex-format-bib-entry): Support the biblatex journaltitle field. @@ -14021,17 +13965,17 @@ Add semantic/symref/grep file patterns for ruby-mode * lisp/cedet/semantic/symref/grep.el - (semantic-symref-filepattern-alist): Add patterns for - ruby-mode. Clarify the docstring. + (semantic-symref-filepattern-alist): Add patterns for ruby-mode. + Clarify the docstring. Don't require match * lisp/progmodes/xref.el (xref--read-identifier): Don't require - match. That doesn't work for every command, and some identifier + match. That doesn't work for every command, and some identifier completion tables are bound to be imperfect anyway. 2015-05-05 Stefan Monnier - * lisp/cedet/semantic/grammar.el: Fix compiler warnings (bug#20505) + * lisp/cedet/semantic/grammar.el: Fix compiler warnings (bug#20505). (semantic-grammar--template-expand): New function. (semantic-grammar-header, semantic-grammar-footer): Use it. (semantic-grammar--lex-block-specs): Remove unused var `block-spec'. @@ -14068,19 +14012,14 @@ * test/automated/seq-tests.el: Add a test for parsing and binding `&rest' in `seq-let'. -2015-05-05 Paul Eggert - - Spelling fixes - -2015-05-05 (tiny change) Pierre Lorenzon - - * eieio-custom.el (eieio-object-value-get): Add missing increment - (Bug#20467) +2015-05-05 Pierre Lorenzon (tiny change) + * lisp/emacs-lisp/eieio-custom.el (eieio-object-value-get): + Add missing increment (Bug#20467). (eieio-object-value-create): Adjust to new slots representation - (Bug#20467) - * eieio-custom.el (eieio-object-value-create): - Fix missed adjustment to new representation of slots metadata. + (Bug#20467). + (eieio-object-value-create): Fix missed adjustment to new + representation of slots metadata. 2015-05-05 Nicolas Petton @@ -14103,13 +14042,11 @@ 2015-05-04 Dmitry Gutov - Buttonize the whole line, including the number at the beginning * lisp/progmodes/xref.el (xref--location-at-point): Revert the previous change. (xref--insert-xrefs): Buttonize the whole line, including the number at the beginning. - Make sure we're inside the let bindings * lisp/progmodes/elisp-mode.el (elisp-completion-at-point): Make sure we're inside the let bindings. * test/automated/elisp-mode-tests.el @@ -14187,7 +14124,6 @@ 2015-05-04 Dmitry Gutov - Highlight both type and symbol name * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Highlight both type and symbol name. @@ -14202,7 +14138,9 @@ 2015-05-04 Daniel Colascione - Fix previous commit + * lisp/simple.el (save-mark-and-excursion--save) + (save-mark-and-excursion--restore): Fix previous commit + (255a011f0ecf004b31c59945b10154b10fac3af1). 2015-05-04 Dmitry Gutov @@ -14217,25 +14155,25 @@ 2015-05-04 Daniel Colascione - Add `save-mark-and-excursion', which has the old `save-excursion' behavior - * doc/lispref/positions.texi (Excursions): Document - `save-mark-and-excursion'. - * lisp/font-lock.el (font-lock-fontify-block): Use - `save-mark-and-excursion' instead of `save-excursion', restoring - Emacs 24 behavior. + Add `save-mark-and-excursion', which has the old + `save-excursion' behavior + * doc/lispref/positions.texi (Excursions): + Document `save-mark-and-excursion'. + * lisp/font-lock.el (font-lock-fontify-block): + Use `save-mark-and-excursion' instead of `save-excursion', + restoring Emacs 24 behavior. * lisp/simple.el (save-mark-and-excursion--save) (save-mark-and-excursion--restore): New functions. (save-mark-and-excursion): New user macro. - * src/editfns.c (Fsave_excursion): Mention - `save-mark-and-excursion' in `save-excursion' documentation. + * src/editfns.c (Fsave_excursion): Mention `save-mark-and-excursion' + in `save-excursion' documentation. 2015-05-04 Dmitry Gutov - Classify lone symbol inside let varlist as variable * lisp/progmodes/elisp-mode.el (elisp-completion-at-point): Classify lone symbol inside let varlist as variable. - * test/automated/elisp-mode-tests.el (completest-variables-in-let-bindings): - New test. + * test/automated/elisp-mode-tests.el + (completest-variables-in-let-bindings): New test. Add xref-pulse-on-jump * lisp/cedet/pulse.el (pulse-momentary-highlight-one-line): @@ -14248,7 +14186,7 @@ 2015-05-04 Stefan Monnier - * lisp/org/org-{macs,list}.el: Fix lexical warnings + lisp/org/org-{macs,list}.el: Fix lexical warnings * lisp/org/org-list.el (org-list-struct): Remove unused var `ind'. (org-list-get-next-item, org-list-get-prev-item) (org-list-get-children): Mark unused arg `struct'. @@ -14284,17 +14222,16 @@ 2015-05-04 Artur Malabarba - * lisp/emacs-lisp/package.el: Remove `package--silence' variable + * lisp/emacs-lisp/package.el: Remove `package--silence' variable. (package-import-keyring, package-refresh-contents) (package-compute-transaction, package--save-selected-packages) (package-install-from-archive, package-delete) - (package-menu--perform-transaction): Use `inhibit-message' - instead. + (package-menu--perform-transaction): Use `inhibit-message' instead. (package--compile): Set `warning-minimum-level' to :error. 2015-05-03 Stefan Monnier - * lisp/term/screen.el (xterm-screen-extra-capabilities): New custom + * lisp/term/screen.el (xterm-screen-extra-capabilities): New custom. (terminal-init-screen): Use it (bug#20356). * lisp/term/xterm.el: Provide `term/xterm' instead of `xterm'. (xterm--extra-capabilities-type): New const. @@ -14303,7 +14240,6 @@ 2015-05-03 Dmitry Gutov - xref--insert-xrefs: Tweak the faces * lisp/progmodes/xref.el (xref--insert-xrefs): Tweak the faces. Always insert a newline at the end (to avoid mouse-face background tail at the last line). @@ -14327,12 +14263,12 @@ 2015-05-02 Michael Vehrs Fix display of keyboard layouts for right-to-left scripts - * lisp/international/quail.el (quail-insert-kbd-layout): Force - left-to-right paragraph direction. + * lisp/international/quail.el (quail-insert-kbd-layout): + Force left-to-right paragraph direction. 2015-05-02 K. Handa - * cmds.c (internal_self_insert): When we insert spaces for + * src/cmds.c (internal_self_insert): When we insert spaces for padding, set point before the padding spaces, not after them. 2015-05-02 Nicolas Petton @@ -14342,7 +14278,8 @@ 2015-05-02 Dmitry Gutov Fix etags-xref-find for references - * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): Use `cl-mapcan'. + * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): + Use `cl-mapcan'. * lisp/progmodes/etags.el (etags-xref-find): Ditto. Prompt for directory if no tags tables are loaded (bug#19468). @@ -14462,7 +14399,7 @@ 2015-05-01 Pontus Michael - * lisp/simple.el (blink-matching-open): Better behavior in minibuffer + * lisp/simple.el (blink-matching-open): Better behavior in minibuffer. 2015-05-01 Glenn Morris @@ -14478,8 +14415,8 @@ 2015-05-01 K. Handa - * mule-cmds.el (input-method-use-echo-area): Change :type to - 'boolean. + * lisp/international/mule-cmds.el (input-method-use-echo-area): + Change :type to 'boolean. 2015-05-01 Lars Magne Ingebrigtsen @@ -14493,7 +14430,6 @@ 2015-05-01 Jan D - (ns-get-cut-buffer-internal): Remove this alias. * lisp/term/ns-win.el (ns-get-cut-buffer-internal): Remove this alias. 2015-04-30 Glenn Morris @@ -14513,7 +14449,7 @@ * lisp/term/ns-win.el (ns-own-selection-internal) (ns-disown-selection-internal, ns-selection-owner-p) (ns-selection-exists-p, ns-get-selection): - Declare for compiler.. + Declare for compiler. Function declaration updates prompted by 'make check-declare' * lisp/emacs-lisp/package.el (lm-homepage): @@ -14554,7 +14490,7 @@ 2015-04-30 Artur Malabarba - * lisp/emacs-lisp/package.el: Some speed optimizations on menu refresh + * lisp/emacs-lisp/package.el: Some speed optimizations on menu refresh. (package-menu--print-info): Obsolete. (package-menu--print-info-simple): New function. (package-menu--refresh): Use it, simplify code, and improve @@ -14562,7 +14498,7 @@ * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry): Tiny performance improvement. - * lisp/emacs-lisp/package.el (package--message): inhibit-message + * lisp/emacs-lisp/package.el (package--message): inhibit-message. 2015-04-29 Paul Eggert @@ -14579,8 +14515,8 @@ 2015-04-29 Helmut Eller Set next-error-* in xref--xref-buffer-mode - * xref.el (xref--xref-buffer-mode): Set `next-error-function' and - `next-error-last-buffer'. + * lisp/progmodes/xref.el (xref--xref-buffer-mode): + Set `next-error-function' and `next-error-last-buffer'. (xref--next-error-function): New function. (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01311.html) @@ -14592,7 +14528,7 @@ 2015-04-29 Artur Malabarba - * lisp/emacs-lisp/package.el: Use pushnew for downloads in progress + * lisp/emacs-lisp/package.el: Use pushnew for downloads in progress. (package--download-and-read-archives): Use pushnew instead of append. If something terrible happened during a previous download, simply refreshing should now make things work again. @@ -14620,11 +14556,11 @@ 2015-04-29 Sam Steingold - bury RCIRC buffers when there is no activity - lisp/net/rcirc.el (rcirc-non-irc-buffer): remove - (rcirc-bury-buffers): new function - (rcirc-next-active-buffer): when there is no new activity, use - `rcirc-bury-buffers' to hide all RCIRC buffers + Bury RCIRC buffers when there is no activity + * lisp/net/rcirc.el (rcirc-non-irc-buffer): Remove. + (rcirc-bury-buffers): New function. + (rcirc-next-active-buffer): When there is no new activity, use + `rcirc-bury-buffers' to hide all RCIRC buffers. 2015-04-29 Krzysztof Jurewicz (tiny change) @@ -14641,17 +14577,17 @@ 2015-04-29 Artur Malabarba - * lisp/emacs-lisp/bytecomp.el: Use `inhibit-message' - (byte-compile--message): Use `inhibit-message' instead of hiding - the previous message with (message nil). + * lisp/emacs-lisp/bytecomp.el (byte-compile--message): + Use `inhibit-message' instead of hiding the previous message + with (message nil). 2015-04-29 Oleh Krehel Remove the deprecated INTERNAL_FIELD macro by expanding it * src/lisp.h (INTERNAL_FIELD): Remove. (DEFVAR_KBOARD): Modify accordingly. - * alloc.c, buffer.c, buffer.h, category.c, keyboard.c, keyboard.h: - * syntax.c: Adjust users. + * src/alloc.c, src/buffer.c, src/buffer.h, src/category.c: + * src/keyboard.c, src/keyboard.h, src/syntax.c: Adjust users. * src/buffer.c (compact_buffer): Use BVAR. 2015-04-29 Glenn Morris @@ -14741,7 +14677,7 @@ 2015-04-27 Thomas Fitzsimmons Change default location of EUDC options file - * NEWS: Document change to EUDC options file's default location. + * etc/NEWS: Document change to EUDC options file's default location. * lisp/net/eudc-vars.el (eudc-options-file): Use `locate-user-emacs-file' to change default options file location. @@ -14771,7 +14707,7 @@ Bump version of seq.el to 1.5 * lisp/emacs-lisp/seq.el (seq-doseq): Remove undocumented return value - from seq-doseq. Bump version number of seq.el. + from seq-doseq. Bump version number of seq.el. 2015-04-27 Glenn Morris @@ -14817,7 +14753,7 @@ (reftex--pro-or-de, reftex--start-line, reftex--mark-line): Add `reftex--' prefix. Fix all users. (reftex-toc-promote-prepare): Use _ for dummy variable. - (reftex-toc-restore-region): Rename `m + (reftex-toc-restore-region): Rename `m. 2015-04-27 Eli Zaretskii @@ -14826,8 +14762,8 @@ last change. (Bug#20429) Fix redisplay of frame after loading new fonts - * src/xdisp.c (redisplay_internal): When retrying redisplay of a - frame because new fonts were loaded, disable all redisplay + * src/xdisp.c (redisplay_internal): When retrying redisplay of + a frame because new fonts were loaded, disable all redisplay optimizations on that frame by calling SET_FRAME_GARBAGED. (Bug#20410) @@ -14836,15 +14772,13 @@ * lisp/info.el (Info-menu): Properly provide the `default' (Bug#20391) - * elisp-mode.el: Catch errors from `documentation' - (Bug#20418) * lisp/progmodes/elisp-mode.el (elisp--get-fnsym-args-string): - Catch errors from documentation. + Catch errors from documentation (bug#20418). (emacs-lisp-mode-abbrev-table): Remove redundant defvar. 2015-04-26 Stefan Monnier - lisp/emacs-lisp/package.el: Move variables to silence byte-compiler + * lisp/emacs-lisp/package.el: Move variables to silence byte-compiler. Remove redundant ":group 'package". 2015-04-26 Eli Zaretskii @@ -14867,20 +14801,20 @@ apostrophe character, i.e. insert the sequence '`` (quote-backquote-backquote), commonly useful in portuguese, for instance. - * tex-mode.el (tex-insert-quote): Add ?' to the list of preceding - chars making `tex-insert-quote' be in the "opening" context. + * lisp/textmodes/tex-mode.el (tex-insert-quote): Add ?' to the list of + preceding chars making `tex-insert-quote' be in the "opening" context. 2015-04-25 Dmitry Gutov Pass `id' to `completing-read' as def instead of initial input - * xref.el (xref--read-identifier): Pass `id' to `completing-read' - as the default value instead of initial input + * lisp/progmodes/xref.el (xref--read-identifier): Pass `id' to + `completing-read' as the default value instead of initial input (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01182.html). 2015-04-25 Paul Eggert Don't freeze with unreadable processes - Don't freeze if an exiting process can't be read from. (Bug#19860). + Don't freeze if an exiting process can't be read from. (Bug#19860). This fixes a bug I introduced in 2014-07-08T07:24:07Z@eggert@cs.ucla.edu "* process.c: Add sanity checks for file descriptors." @@ -14892,7 +14826,7 @@ 2015-04-25 Alan Mackenzie Fix change from 2015-04-22 "On C-y, stop some text property entries ..." - * lisp/subr.el (remove-yank-excluded-properties): put + * lisp/subr.el (remove-yank-excluded-properties): Put `with-silent-modifications' around only the last three lines of code. 2015-04-25 Artur Malabarba @@ -14900,11 +14834,11 @@ * lisp/emacs-lisp/package.el (package-all-keywords): Don't cache (package--all-keywords): Deleted variable. - * etc/NEWS: Document package-hiding functionality + * etc/NEWS: Document package-hiding functionality. 2015-04-25 Eli Zaretskii - lisp/window.el (recenter-last-op): Doc fix. (Bug#20419) + * lisp/window.el (recenter-last-op): Doc fix. (Bug#20419) Clarify the doc string of 'replace-regexp-in-string' * lisp/subr.el (replace-regexp-in-string): Doc fix. (Bug#20395) @@ -14971,7 +14905,7 @@ 2015-04-24 Stefan Monnier - * lisp/emacs-lisp/seq.el (seq-doseq): Tighten the code + * lisp/emacs-lisp/seq.el (seq-doseq): Tighten the code. (seq-doseq): Fix out-of-scope binding. Don't call `seq-length at every iteration. Reduce `if's from 3 to 2 per iteration. @@ -15031,7 +14965,8 @@ 2015-04-22 Thomas Fitzsimmons Improve EUDC manual - * eudc.texi (Troubleshooting): New LDAP troubleshooting subsection. + * doc/misc/eudc.texi (Troubleshooting): + New LDAP troubleshooting subsection. 2015-04-22 Paul Eggert @@ -15050,7 +14985,7 @@ `inhibit_message' is non-zero. * etc/NEWS: Add an entry. * doc/lispref/display.texi: Add an entry for `inhibit-message', - mention it in `message'. + mention it in `message'. 2015-04-22 Martin Rudalics @@ -15066,15 +15001,15 @@ 2015-04-22 Artur Malabarba - * lisp/files.el (basic-save-buffer): Fix argument + * lisp/files.el (basic-save-buffer): Fix argument. - * lisp/cus-edit.el (custom-file): Consider init-file-had-error + * lisp/cus-edit.el (custom-file): Consider init-file-had-error. In case `(and (null custom-file) init-file-had-error)' do the same thing we'd do if `(null user-init-file)', which is to either error out or return nil. This is in line with `custom-save-all' which would - throw an error in that situation. (bug#20355) + throw an error in that situation. (Bug#20355) - * lisp/emacs-lisp/package.el: Hide lower-priority packages in menu + * lisp/emacs-lisp/package.el: Hide lower-priority packages in menu. (package-menu-hide-low-priority): New variable, see its doc. (package-archive-priorities): Update doc. (package-desc-priority): New function. @@ -15082,7 +15017,7 @@ (package--remove-hidden): New function. (package-menu--refresh): Use it. - * lisp/emacs-lisp/package.el: Implement displaying obsolete packages + * lisp/emacs-lisp/package.el: Implement displaying obsolete packages. (package-menu--hide-obsolete): New variable. (package--remove-hidden): Use it. (package-menu-hide-obsolete): New interactive function to toggle @@ -15098,20 +15033,20 @@ 2015-04-22 Alan Mackenzie On C-y, stop some text property entries being written into buffer-undo-list - lisp/subr.el (remove-yank-excluded-properties): enclose the code in + * lisp/subr.el (remove-yank-excluded-properties): Enclose the code in `with-silent-modifications'. 2015-04-22 Martin Rudalics - In display-buffer-record-window record selected window if necessary. + In display-buffer-record-window record selected window if necessary * lisp/window.el (display-buffer-record-window): Store selected window if it differs from 3rd element of 'quit-restore' parameter (Bug#20353). 2015-04-22 Tassilo Horn Fix reftex-citation bug - * reftex-cite.el (reftex-extract-bib-entries): Fix - `wrong-type-argument stringp nil' error that occurs when AUCTeX + * lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries): + Fix `wrong-type-argument stringp nil' error that occurs when AUCTeX integration is enabled and there are no citations in the document so far. @@ -15137,16 +15072,16 @@ 2015-04-21 Daniel Colascione Unbreak no-op buffer save message - * lisp/files.el (save-buffer): Pass interactive flag to `basic-save-buffer` - (basic-save-buffer): Accept called-interactively as an argument instead of - directly invoking called-interactively-p, which will always yield nil - in that context. + * lisp/files.el (basic-save-buffer): Accept called-interactively as + an argument instead of directly invoking called-interactively-p, + which will always yield nil in that context. 2015-04-21 Alan Mackenzie - CC Mode: Do nothing in before/after-change-functions for text property changes + CC Mode: Do nothing in before/after-change-functions for text + property changes Fixes bug#20266. - lisp/progmodes/cc-mode.el (c-basic-common-init): Make + * lisp/progmodes/cc-mode.el (c-basic-common-init): Make yank-handled-properties buffer local, and remove 'category from it. (c-called-from-text-property-change-p): New function. (c-before-change): Don't do anything if a call of the new function @@ -15158,7 +15093,7 @@ 2015-04-20 Stefan Monnier - Fix byte-compiler warnings about looking-back. + Fix byte-compiler warnings about looking-back * lisp/vc/log-view.el (log-view-end-of-defun-1): * lisp/textmodes/tex-mode.el (latex-forward-sexp-1): * lisp/textmodes/reftex-ref.el (reftex-goto-label): @@ -15198,7 +15133,8 @@ * lisp/loadup.el (custom-current-group-alist): Reset before dumping. - * lisp/startup.el (command-line) : Avoid rogue value in emacs -Q. + * lisp/startup.el (command-line) : Avoid rogue value + in emacs -Q. 2015-04-20 Ludovic Courtès @@ -15215,7 +15151,8 @@ 2015-04-20 Artur Malabarba - * lisp/emacs-lisp/package.el: Filter by multiple keywords and cache keywords + * lisp/emacs-lisp/package.el: Filter by multiple keywords and + cache keywords. (package-menu-filter): Accept a list of keywords. (package--all-keywords): New variable to cache known keywords. (package-all-keywords): Populate it if necessary. @@ -15263,7 +15200,6 @@ 2015-04-19 Dmitry Gutov - Call `smerge-start-session' even when dealing with a stash conflict * lisp/vc/vc-git.el (vc-git-find-file-hook): Call `smerge-start-session' even when dealing with a stash conflict (bug#20292). @@ -15272,7 +15208,7 @@ Add option to eshell/clear to clear scrollback. * lisp/eshell/esh-mode.el (eshell/clear-scrollback): New function. - (eshell/clear): Add an optional SCROLLBACK argument. If non-nil, + (eshell/clear): Add an optional SCROLLBACK argument. If non-nil, scrollback contents are cleared. * etc/NEWS: Describe change. * doc/misc/eshell.texi: Add entry for `clear'. @@ -15289,7 +15225,7 @@ Set `coding-system-for-read' explicitly to 'utf-8 when reading the downloaded and cached archive-contents files, so that non-ASCII characters in package descriptions are displayed correctly in the - `list-packages' menu. (Bug#20231) + `list-packages' menu. (Bug#20231) 2015-04-19 Dmitry Gutov @@ -15331,8 +15267,8 @@ 2015-04-18 Tom Willemse (tiny change) - * lisp/elec-pair.el (electric-pair-post-self-insert-function): Do not use `chomp' as a function. - (Bug#19505) + * lisp/elec-pair.el (electric-pair-post-self-insert-function): + Do not use `chomp' as a function. (Bug#19505) 2015-04-18 Glenn Morris @@ -15355,7 +15291,8 @@ 2015-04-18 Nicolas Petton - * lisp/emacs-lisp/seq.el (seq-concatenate, seq-into): Better error messages. + * lisp/emacs-lisp/seq.el (seq-concatenate, seq-into): + Better error messages. 2015-04-18 Ivan Radanov Ivanov (tiny change) @@ -15368,7 +15305,7 @@ 2015-04-17 Thomas Fitzsimmons Improve EUDC manual - * eudc.texi (LDAP Configuration): Mention simple and SASL + * doc/misc/eudc.texi (LDAP Configuration): Mention simple and SASL authentication schemes. Add index items. Shorten example server name. @@ -15378,14 +15315,15 @@ * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location): Don't show both feature and function with the same name. - (elisp--xref-identifier-location): Skip variable, if it's also a functiong + (elisp--xref-identifier-location): Skip variable, if it's also + a function * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location): Avoid returning both the variable and the function for the same minor mode. 2015-04-17 Wolfgang Jenkner - Fix fontification of keywords clobbered by the prompt. + Fix fontification of keywords clobbered by the prompt * lisp/comint.el (comint-output-filter): Remove the uses of with-silent-modifications I introduced as part of the last change. This fixes, e.g., erratically missing highlighting when running @@ -15394,16 +15332,17 @@ 2015-04-17 Glenn Morris - * admin/authors.el (authors-valid-file-names, authors-renamed-files-alist): Additions. + * admin/authors.el (authors-valid-file-names) + (authors-renamed-files-alist): Additions. 2015-04-17 Stefan Monnier - * lisp/indent.el (indent-region): Don't deactivate the mark + * lisp/indent.el (indent-region): Don't deactivate the mark. (Bug#20357) 2015-04-17 Sam Steingold - lisp/net/rcirc.el (defun-rcirc-command): mark `target' as ignorable + * lisp/net/rcirc.el (defun-rcirc-command): Mark `target' as ignorable. 2015-04-16 Leo Liu @@ -15411,7 +15350,8 @@ 2015-04-16 Stefan Monnier - * lisp/erc/erc-pcomplete.el (erc-pcomplete): Don't use `pcomplete' any more. + * lisp/erc/erc-pcomplete.el (erc-pcomplete): + Don't use `pcomplete' any more. 2015-04-16 Glenn Morris @@ -15424,8 +15364,8 @@ 2015-04-16 Glenn Morris - * lisp/replace.el (query-replace-from-to-separator): Delay initialization - to avoid rogue setting after startup. + * lisp/replace.el (query-replace-from-to-separator): + Delay initialization to avoid rogue setting after startup. 2015-04-16 Paul Eggert @@ -15445,7 +15385,6 @@ 2015-04-15 Stefan Monnier - (looking-back): Make the second arg non-optional. * lisp/subr.el (substitute-key-definition-key, special-form-p) (macrop): Drop deprecated second arg to indirect-function. (looking-back): Make the second arg non-optional. @@ -15504,7 +15443,8 @@ Fix recent cus-start changes that added customize-rogues * lisp/cus-start.el (custom-delayed-init-variables): Initialize the vars early. - * lisp/loadup.el ("cus-start"): Move to the end to reduce customize-rogue. + * lisp/loadup.el ("cus-start"): Move to the end to reduce + customize-rogue. 2015-04-15 Nicolas Petton @@ -15516,7 +15456,8 @@ * src/lread.c (intern_1): Make sure we'd find the symbol we add (Bug#20334) - * src/xfaces.c (resolve_face_name): Don't use `intern' with Lisp_Strings. + * src/xfaces.c (resolve_face_name): Don't use `intern' with + Lisp_Strings. 2015-04-15 Glenn Morris @@ -15525,7 +15466,7 @@ 2015-04-15 Lars Magne Ingebrigtsen Clean up gnus-uu saving code slightly - * gnus-uu.el (gnus-uu-save-article): Make the + * lisp/gnus/gnus-uu.el (gnus-uu-save-article): Make the save-restriction/widen calls make more sense. 2015-04-15 Paul Eggert @@ -15558,8 +15499,8 @@ 2015-04-14 Nicolas Petton Add seq-intersection and seq-difference to the seq library - * lisp/emacs-lisp/seq.el (seq-intersection, seq-difference): New - functions. + * lisp/emacs-lisp/seq.el (seq-intersection, seq-difference): + New functions. * test/automated/seq-tests.el: Add tests for seq-intersection and seq-difference. * doc/lispref/sequences.texi: Add documentation for seq-intersection @@ -15567,7 +15508,8 @@ 2015-04-14 Stefan Monnier - * eieio-core.el (class-abstract-p): Don't inline, to avoid leaking internals + * lisp/emacs-lisp/eieio-core.el (class-abstract-p): Don't inline, + to avoid leaking internals. 2015-04-14 Sam Steingold @@ -15664,12 +15606,12 @@ 2015-04-13 Sam Steingold - package--ensure-init-file: widen before looking for "(package-initialize)" + package--ensure-init-file: widen before looking for + "(package-initialize)" 2015-04-13 Dmitry Gutov - Change diff-switches default to `-u' - (Bug#20290) + Change diff-switches default to `-u' (Bug#20290) * doc/emacs/files.texi (Comparing Files): Document the new default value of `diff-switches'. * doc/emacs/trouble.texi (Sending Patches): Document the preference @@ -15685,27 +15627,27 @@ 2015-04-13 Katsumi Yamaoka - Use gmm-called-interactively-p in Gnus - * lisp/gnus/gnus-topic.el (gnus-topic-mode): Use gmm-called-interactively-p. + * lisp/gnus/gnus-topic.el (gnus-topic-mode): + Use gmm-called-interactively-p. 2015-04-13 Stefan Monnier * lisp/loadup.el ("cus-start"): Load it after loaddefs.el (Bug#20321) - * lisp/cus-start.el (read-buffer-function): Don't advertize + * lisp/cus-start.el (read-buffer-function): Don't advertise iswitchb-read-buffer any more. (iswitchb): Don't tweak this obsolete group any more. 2015-04-13 Artur Malabarba - * lisp/emacs-lisp/package.el: Fix package--ensure-init-file + * lisp/emacs-lisp/package.el: Fix package--ensure-init-file. - * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Implement docstrings + * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Implement docstrings. Adding a string after a constructor's argument list will use that string as the constructor function docstring. If this string is absent but the struct itself was given a docstring, use that as the constructor's docstring. - Fixes (bug#17284). + Fixes bug#17284. 2015-04-13 Stefan Monnier @@ -15808,7 +15750,7 @@ * lisp/emacs-lisp/pcase.el (pcase-dolist): Autoload as well. - * doc/misc/eieio.texi: Don't advertize now obsolete constructs + * doc/misc/eieio.texi: Don't advertise now obsolete constructs Collapse successive char deletions in the undo log * src/cmds.c (remove_excessive_undo_boundaries): New function, @@ -15818,8 +15760,8 @@ * src/keyboard.c (syms_of_keyboard): `top-level' shouldn't be special. xterm and OSC 52: Add NEWS entry, and tweak the code - * lisp/term/xterm.el (gui-set-selection) : Move method definition to - top-level. + * lisp/term/xterm.el (gui-set-selection) : Move method definition + to top-level. (terminal-init-xterm-activate-set-selection): Set a terminal property. (xterm--set-selection): Use it instead of checking the value of `terminal-initted'. Don't use string-bytes. @@ -15828,21 +15770,20 @@ xterm.el: Implement OSC-52 functionality for setting the X selection * lisp/term/xterm.el (xterm-max-cut-length): New var. - (xterm--set-selection, terminal-init-xterm-activate-set-selection): New funs. + (xterm--set-selection, terminal-init-xterm-activate-set-selection): + New funs. (terminal-init-xterm, xterm--version-handler): Use them. 2015-04-13 Stefan Monnier Remove left over code from when we used an obsolete/loaddefs.el file - * lisp/subr.el (do-after-load-evaluation): Remove left over code from when - we used an obsolete/loaddefs.el file. + * lisp/subr.el (do-after-load-evaluation): Remove left over code from + when we used an obsolete/loaddefs.el file. - * cedet/semantic/fw.el: Use declare. - * cedet/semantic/fw.el (semantic-exit-on-input) + * lisp/cedet/semantic/fw.el (semantic-exit-on-input) (semanticdb-without-unloaded-file-searches): Use declare. (semantic-fw-add-edebug-spec): Remove. - (completion-lisp-mode-hook): Use completion-separator-chars * lisp/completion.el (completion-lisp-mode-hook): Use completion-separator-chars rather than local key binding. @@ -15897,13 +15838,14 @@ 2015-04-12 Artur Malabarba - * test/automated/package-test.el (with-package-test): Kill Packages buffer + * test/automated/package-test.el (with-package-test): + Kill Packages buffer. - * lisp/emacs-lisp/package.el: Improve transaction y-or-n prompt + * lisp/emacs-lisp/package.el: Improve transaction y-or-n prompt. (package-menu--prompt-transaction-p): Prompt for "Delete" first, "Upgrade" last, and use capitalized instead of all-caps. - * lisp/emacs-lisp/package.el: Completely silence async operations + * lisp/emacs-lisp/package.el: Completely silence async operations. (package--make-autoloads-and-stuff): Silence autoloads. (package--save-selected-packages): New function, silences `customize-save-variable'. @@ -15915,10 +15857,10 @@ Use delay-mode-hooks when visiting the init-file * lisp/emacs-lisp/package.el (package--ensure-init-file): - delay-mode-hooks - * lisp/cus-edit.el (custom-save-all): delay-mode-hooks + delay-mode-hooks. + * lisp/cus-edit.el (custom-save-all): delay-mode-hooks. - * lisp/files.el: Only message when saving if save-silently is nil + * lisp/files.el: Only message when saving if save-silently is nil. (save-silently): New variable. (files--message): New function. (find-file-noselect, save-buffer, basic-save-buffer) @@ -15934,11 +15876,12 @@ (pcase-defmacro): Support debug declarations. * lisp/emacs-lisp/cl-macs.el (cl-struct) : * lisp/emacs-lisp/eieio.el (eieio) : - * lisp/emacs-lisp/pcase.el (\`): : Add debug declaration. + * lisp/emacs-lisp/pcase.el (\`): : + Add debug declaration. pcase.el: Edebug support for `app' and vector patterns * lisp/emacs-lisp/pcase.el (pcase-FUN): New edebug spec. - (pcase-UPAT): Use it. Support `app' patterns. + (pcase-UPAT): Use it. Support `app' patterns. (pcase-QPAT): Support vector patterns. edebug.el: Disambiguate vector specifications @@ -15962,11 +15905,12 @@ 2015-04-12 Artur Malabarba - * lisp/emacs-lisp/package.el (list-packages): Avoid redundant generate + * lisp/emacs-lisp/package.el (list-packages): Avoid redundant generate. - * lisp/emacs-lisp/package.el (list-packages): Call refresh in right buffer + * lisp/emacs-lisp/package.el (list-packages): Call refresh in + right buffer. - * lisp/emacs-lisp/bytecomp.el: Silence noninteractive compilations + * lisp/emacs-lisp/bytecomp.el: Silence noninteractive compilations. (byte-compile--interactive): New var. (byte-compile--message): New function. (byte-compile-log-1, byte-force-recompile) @@ -15975,7 +15919,7 @@ (byte-compile-file-form-defmumble, byte-compile) (byte-compile-file-form-defalias, display-call-tree): Use it. - * lisp/files.el: Don't message when nothing happened + * lisp/files.el: Don't message when nothing happened. (save-some-buffers, basic-save-buffer): Before messaging to say "nothing was saved" check if (called-interactively-p 'any). @@ -15993,7 +15937,7 @@ 2015-04-11 Paul Eggert Use bool for boolean in window.c - * src/window.c: Omit unnecessary static function decls. + * src/window.c: Omit unnecessary static function decls. (adjust_window_count, select_window, Fselect_window) (window_body_width, Fwindow_body_height, Fwindow_body_width) (set_window_hscroll, check_window_containing, Fwindow_at) @@ -16032,29 +15976,29 @@ * lisp/emacs-lisp/autoload.el (autoload-find-file) (autoload-find-generated-file): Use delay-mode-hooks. - * lisp/emacs-lisp/package.el: Improve `package-menu-refresh' + * lisp/emacs-lisp/package.el: Improve `package-menu-refresh'. (package-menu-refresh): Respect async and do new package checking. (list-packages): Use `package-menu-refresh' instead of repeating code. - * lisp/emacs-lisp/package.el: Improve package-menu-quick-help + * lisp/emacs-lisp/package.el: Improve package-menu-quick-help. (package--quick-help-keys): New variable. (package--prettify-quick-help-key): New function. (package-menu-quick-help): Use it. - * lisp/emacs-lisp/package.el: Fix initially wrong compat table - (package--build-compatibility-table): require finder + * lisp/emacs-lisp/package.el: Fix initially wrong compat table. + (package--build-compatibility-table): Require finder. - * test/automated/package-test.el: Fix new test + * test/automated/package-test.el: Fix new test. - * lisp/emacs-lisp/package.el: Silence async operations + * lisp/emacs-lisp/package.el: Silence async operations. (package--silence): New variable. (package--message): New function. (package-import-keyring, package-refresh-contents) (package-compute-transaction, package-install, package-delete) (package-menu--perform-transaction, package-menu-execute): Use it. - * test/automated/package-test.el: Test async functionality - (package-test-update-archives-async): New test + * test/automated/package-test.el: Test async functionality. + (package-test-update-archives-async): New test. 2015-04-11 Daiki Ueno @@ -16106,7 +16050,7 @@ 2015-04-11 Daiki Ueno Respect more keyword args in `make-process' - * process.c (Fmake_process): Respect `:sentinel' and `:filter' + * src/process.c (Fmake_process): Respect `:sentinel' and `:filter' keywords as documented. 2015-04-10 Dmitry Gutov @@ -16220,16 +16164,16 @@ 2015-04-09 Stefan Monnier - * abbrev.el (define-abbrev-table): Refine last change. + * lisp/abbrev.el (define-abbrev-table): Refine last change. - cl-lib.el: Partial revert of "2015-04-05 Rationalize c[ad]+r" * lisp/emacs-lisp/cl-lib.el: Partial revert of "2015-04-05 Rationalize use of c[ad]+r", so as to keep the "cl-" prefix on all cl-lib definitions. - * vhdl-mode.el (vhdl-prepare-search-2): Use inhibit-point-motion-hooks + * lisp/progmodes/vhdl-mode.el (vhdl-prepare-search-2): + Use inhibit-point-motion-hooks. - * lisp/cedet/semantic: Remove some dead code + * lisp/cedet/semantic: Remove some dead code. * lisp/cedet/semantic/util-modes.el (semantic-stickyfunc-header-line-format): Emacs<22 is not supported any more. @@ -16263,11 +16207,10 @@ 2015-04-09 Artur Malabarba - * lisp/emacs-lisp/package.el: Use mode-line-process for notification + * lisp/emacs-lisp/package.el: Use mode-line-process for notification. 2015-04-09 Dmitry Gutov - (log-edit-insert-changelog-entries): Don't add newline after the last entry * lisp/vc/log-edit.el (log-edit-insert-changelog-entries): Don't add newline after the last entry. @@ -16280,12 +16223,13 @@ 2015-04-09 Stefan Monnier - etc/NEWS: Add missing entry for "Stop messing with the EMACS env var" + * etc/NEWS: Add missing entry for "Stop messing with the EMACS env var". 2015-04-09 Michael Albinus Stop messing with the EMACS env var - * misc.texi (Interactive Shell): Remove description of EMACS env var. + * doc/emacs/misc.texi (Interactive Shell): Remove description of + EMACS env var. 2015-04-09 Paul Eggert @@ -16416,10 +16360,8 @@ 2015-04-08 Stefan Monnier - (eieio-copy-parents-into-subclass): Fix inheritance of initargs - (Bug#20270) * lisp/emacs-lisp/eieio-core.el (eieio-copy-parents-into-subclass): - Fix inheritance of initargs. + Fix inheritance of initargs. (Bug#20270) 2015-04-08 Artur Malabarba @@ -16433,13 +16375,13 @@ 2015-04-08 Eli Zaretskii - * src/eval.c (init_eval_once): Bump max_lisp_eval_depth to 800 + * src/eval.c (init_eval_once): Bump max_lisp_eval_depth to 800. (Bug#17517) 2015-04-08 Michael Albinus - Fix nasty scoping bug in tramp-cache.el - * lisp/net/tramp-cache.el (tramp-flush-file-property): Fix nasty scoping bug. + * lisp/net/tramp-cache.el (tramp-flush-file-property): + Fix nasty scoping bug. 2015-04-08 Tassilo Horn @@ -16451,10 +16393,8 @@ 2015-04-07 Dmitry Gutov - ffap: Support environment variable expansion in file names - (Bug#19839) * lisp/ffap.el (ffap-string-at-point-mode-alist): Support - environment variable expansion in file names. + environment variable expansion in file names. (Bug#19839) 2015-04-07 Paul Eggert @@ -16483,9 +16423,10 @@ 2015-04-07 Alan Mackenzie Always mark "<" and ">" in #include directives with text properties. - * lisp/progmodes/c-fonts.el (c-cpp-matchers): Replace a font-lock "anchored - matcher" with an invocation of c-make-font-lock-search-function to allow - fontification when there's no trailing space on an "#include <..>" line. + * lisp/progmodes/c-fonts.el (c-cpp-matchers): Replace a font-lock + "anchored matcher" with an invocation of + c-make-font-lock-search-function to allow fontification when there's + no trailing space on an "#include <..>" line. 2015-04-07 Paul Eggert commit 0302d5371ab7abe5f04af6ff4ccd4bb9dd37bfe2 Author: Thomas Fitzsimmons Date: Sat Oct 31 23:11:09 2015 -0400 ntlm.el: Change version to 2.0.0 diff --git a/lisp/net/ntlm.el b/lisp/net/ntlm.el index ff7e79e..acfa005 100644 --- a/lisp/net/ntlm.el +++ b/lisp/net/ntlm.el @@ -5,7 +5,7 @@ ;; Author: Taro Kawagishi ;; Maintainer: Thomas Fitzsimmons ;; Keywords: NTLM, SASL, comm -;; Version: 2.00 +;; Version: 2.0.0 ;; Created: February 2001 ;; This file is part of GNU Emacs. commit 590a820fd9a7a0ab92b4b2927d4ca4a3582af528 Author: Juanma Barranquero Date: Sun Nov 1 02:55:16 2015 +0100 Fix bug#21762 * lisp/progmodes/python.el (python-syntax-closing-paren-p): Check with `eql' instead of `=' to accommodate the case that (syntax-after (point)) returns nil. * test/automated/python-tests.el (python-indent-inside-paren-7): New test. diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 6ff12b5..b6f7da6 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -490,8 +490,8 @@ The type returned can be `comment', `string' or `paren'." (defsubst python-syntax-closing-paren-p () "Return non-nil if char after point is a closing paren." - (= (syntax-class (syntax-after (point))) - (syntax-class (string-to-syntax ")")))) + (eql (syntax-class (syntax-after (point))) + (syntax-class (string-to-syntax ")")))) (define-obsolete-function-alias 'python-info-ppss-context #'python-syntax-context "24.3") diff --git a/test/automated/python-tests.el b/test/automated/python-tests.el index f930ffb..9da6807 100644 --- a/test/automated/python-tests.el +++ b/test/automated/python-tests.el @@ -563,6 +563,14 @@ CHOICES = (('some', 'choice'), (should (eq (car (python-indent-context)) :inside-paren)) (should (= (python-indent-calculate-indentation) 11)))) +(ert-deftest python-indent-inside-paren-7 () + "Test for Bug#21762." + (python-tests-with-temp-buffer + "import re as myre\nvar = [\n" + (goto-char (point-max)) + ;; This signals an error if the test fails + (should (eq (car (python-indent-context)) :inside-paren-newline-start)))) + (ert-deftest python-indent-after-block-1 () "The most simple after-block case that shouldn't fail." (python-tests-with-temp-buffer commit 92780954424c7c2e815b2234cb0b23064119a172 Author: Juanma Barranquero Date: Sun Nov 1 01:17:16 2015 +0100 * test/automated/python-tests.el: Avoid warnings (python-tests-with-temp-buffer, python-tests-with-temp-file): Bind `python-indent-guess-indent-offset' to nil. # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # On branch master # Your branch is up-to-date with 'origin/master'. # # Changes to be committed: # modified: test/automated/python-tests.el # diff --git a/test/automated/python-tests.el b/test/automated/python-tests.el index 44b05e2..f930ffb 100644 --- a/test/automated/python-tests.el +++ b/test/automated/python-tests.el @@ -36,10 +36,11 @@ BODY is code to be executed within the temp buffer. Point is always located at the beginning of buffer." (declare (indent 1) (debug t)) `(with-temp-buffer - (python-mode) - (insert ,contents) - (goto-char (point-min)) - ,@body)) + (let ((python-indent-guess-indent-offset nil)) + (python-mode) + (insert ,contents) + (goto-char (point-min)) + ,@body))) (defmacro python-tests-with-temp-file (contents &rest body) "Create a `python-mode' enabled file with CONTENTS. @@ -48,7 +49,8 @@ always located at the beginning of buffer." (declare (indent 1) (debug t)) ;; temp-file never actually used for anything? `(let* ((temp-file (make-temp-file "python-tests" nil ".py")) - (buffer (find-file-noselect temp-file))) + (buffer (find-file-noselect temp-file)) + (python-indent-guess-indent-offset nil)) (unwind-protect (with-current-buffer buffer (python-mode) commit 312bbfee95cf24be6f8bae4de3864a2cce030e52 Author: Juanma Barranquero Date: Sat Oct 31 22:34:35 2015 +0100 * src/alloc.c: Silence compiler warnings (pointers_fit_in_lispobj_p, mmap_lisp_allowed_p): #ifdef DOUG_LEA_MALLOC. diff --git a/src/alloc.c b/src/alloc.c index 7c33687..8f94d2b 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -430,6 +430,7 @@ XFLOAT_INIT (Lisp_Object f, double n) XFLOAT (f)->u.data = n; } +#ifdef DOUG_LEA_MALLOC static bool pointers_fit_in_lispobj_p (void) { @@ -446,6 +447,7 @@ mmap_lisp_allowed_p (void) regions. */ return pointers_fit_in_lispobj_p () && !might_dump; } +#endif /* Head of a circularly-linked list of extant finalizers. */ static struct Lisp_Finalizer finalizers; commit 4c4c8e74cac8b8680d846760ae1ef571e1bd16f1 Author: Jackson Ray Hamilton Date: Sat Oct 31 13:35:31 2015 -0700 * etc/NEWS: Fix js-jsx-mode entry punctuation diff --git a/etc/NEWS b/etc/NEWS index 91af894..57cc408 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -912,7 +912,7 @@ alists, hash-table and arrays. All functions are prefixed with evaluation of forms. ** js-jsx-mode (a minor variant of js-mode) provides indentation -support for JSX, an XML-like syntax extension to ECMAScript +support for JSX, an XML-like syntax extension to ECMAScript. * Incompatible Lisp Changes in Emacs 25.1 commit 958da7ff63d1d647f45fd649654136da78529324 Author: Jackson Ray Hamilton Date: Fri Oct 30 23:55:24 2015 -0700 Add JSX indentation via js-jsx-mode. (Bug#21799) * progmodes/js.el: Add JSX indentation support. (js-jsx-indent-line) (js-jsx-mode): New functions. diff --git a/etc/NEWS b/etc/NEWS index 0dbfd3f..91af894 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -911,6 +911,9 @@ alists, hash-table and arrays. All functions are prefixed with ** The `thunk' library provides functions and macros to control the evaluation of forms. +** js-jsx-mode (a minor variant of js-mode) provides indentation +support for JSX, an XML-like syntax extension to ECMAScript + * Incompatible Lisp Changes in Emacs 25.1 diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el index 5a4f383..3ce1c17 100644 --- a/lisp/progmodes/js.el +++ b/lisp/progmodes/js.el @@ -52,6 +52,7 @@ (require 'imenu) (require 'moz nil t) (require 'json nil t) +(require 'sgml-mode) (eval-when-compile (require 'cl-lib) @@ -1998,6 +1999,193 @@ indentation is aligned to that column." (+ js-indent-level js-expr-indent-offset)) (t 0)))) +;;; JSX Indentation + +(defsubst js--jsx-find-before-tag () + "Find where JSX starts. + +Assume JSX appears in the following instances: +- Inside parentheses, when returned or as the first argument + to a function, and after a newline +- When assigned to variables or object properties, but only + on a single line +- As the N+1th argument to a function + +This is an optimized version of (re-search-backward \"[(,]\n\" +nil t), except set point to the end of the match. This logic +executes up to the number of lines in the file, so it should be +really fast to reduce that impact." + (let (pos) + (while (and (> (point) (point-min)) + (not (progn + (end-of-line 0) + (when (or (eq (char-before) 40) ; ( + (eq (char-before) 44)) ; , + (setq pos (1- (point)))))))) + pos)) + +(defconst js--jsx-end-tag-re + (concat "\\|/>") + "Find the end of a JSX element.") + +(defconst js--jsx-after-tag-re "[),]" + "Find where JSX ends. +This complements the assumption of where JSX appears from +`js--jsx-before-tag-re', which see.") + +(defun js--jsx-indented-element-p () + "Determine if/how the current line should be indented as JSX. + +Return `first' for the first JSXElement on its own line. +Return `nth' for subsequent lines of the first JSXElement. +Return `expression' for an embedded JS expression. +Return `after' for anything after the last JSXElement. +Return nil for non-JSX lines. + +Currently, JSX indentation supports the following styles: + +- Single-line elements (indented like normal JS): + + var element =
; + +- Multi-line elements (enclosed in parentheses): + + function () { + return ( +
+
+
+ ); + } + +- Function arguments: + + React.render( +
, + document.querySelector('.root') + );" + (let ((current-pos (point)) + (current-line (line-number-at-pos)) + last-pos + before-tag-pos before-tag-line + tag-start-pos tag-start-line + tag-end-pos tag-end-line + after-tag-line + parens paren type) + (save-excursion + (and + ;; Determine if we're inside a jsx element + (progn + (end-of-line) + (while (and (not tag-start-pos) + (setq last-pos (js--jsx-find-before-tag))) + (while (forward-comment 1)) + (when (= (char-after) 60) ; < + (setq before-tag-pos last-pos + tag-start-pos (point))) + (goto-char last-pos)) + tag-start-pos) + (progn + (setq before-tag-line (line-number-at-pos before-tag-pos) + tag-start-line (line-number-at-pos tag-start-pos)) + (and + ;; A "before" line which also starts an element begins with js, so + ;; indent it like js + (> current-line before-tag-line) + ;; Only indent the jsx lines like jsx + (>= current-line tag-start-line))) + (cond + ;; Analyze bounds if there are any + ((progn + (while (and (not tag-end-pos) + (setq last-pos (re-search-forward js--jsx-end-tag-re nil t))) + (while (forward-comment 1)) + (when (looking-at js--jsx-after-tag-re) + (setq tag-end-pos last-pos))) + tag-end-pos) + (setq tag-end-line (line-number-at-pos tag-end-pos) + after-tag-line (line-number-at-pos after-tag-line)) + (or (and + ;; Ensure we're actually within the bounds of the jsx + (<= current-line tag-end-line) + ;; An "after" line which does not end an element begins with + ;; js, so indent it like js + (<= current-line after-tag-line)) + (and + ;; Handle another case where there could be e.g. comments after + ;; the element + (> current-line tag-end-line) + (< current-line after-tag-line) + (setq type 'after)))) + ;; They may not be any bounds (yet) + (t)) + ;; Check if we're inside an embedded multi-line js expression + (cond + ((not type) + (goto-char current-pos) + (end-of-line) + (setq parens (nth 9 (syntax-ppss))) + (while (and parens (not type)) + (setq paren (car parens)) + (cond + ((and (>= paren tag-start-pos) + ;; Curly bracket indicates the start of an embedded expression + (= (char-after paren) 123) ; { + ;; The first line of the expression is indented like sgml + (> current-line (line-number-at-pos paren)) + ;; Check if within a closing curly bracket (if any) + ;; (exclusive, as the closing bracket is indented like sgml) + (cond + ((progn + (goto-char paren) + (ignore-errors (let (forward-sexp-function) + (forward-sexp)))) + (< current-line (line-number-at-pos))) + (t))) + ;; Indicate this guy will be indented specially + (setq type 'expression)) + (t (setq parens (cdr parens))))) + t) + (t)) + (cond + (type) + ;; Indent the first jsx thing like js so we can indent future jsx things + ;; like sgml relative to the first thing + ((= current-line tag-start-line) 'first) + ('nth)))))) + +(defmacro js--as-sgml (&rest body) + "Execute BODY as if in sgml-mode." + `(with-syntax-table sgml-mode-syntax-table + (let (forward-sexp-function + parse-sexp-lookup-properties) + ,@body))) + +(defun js--expression-in-sgml-indent-line () + "Indent the current line as JavaScript or SGML (whichever is farther)." + (let* (indent-col + (savep (point)) + ;; Don't whine about errors/warnings when we're indenting. + ;; This has to be set before calling parse-partial-sexp below. + (inhibit-point-motion-hooks t) + (parse-status (save-excursion + (syntax-ppss (point-at-bol))))) + ;; Don't touch multiline strings. + (unless (nth 3 parse-status) + (setq indent-col (save-excursion + (back-to-indentation) + (if (>= (point) savep) (setq savep nil)) + (js--as-sgml (sgml-calculate-indent)))) + (if (null indent-col) + 'noindent + ;; Use whichever indentation column is greater, such that the sgml + ;; column is effectively a minimum + (setq indent-col (max (js--proper-indentation parse-status) + (+ indent-col js-indent-level))) + (if savep + (save-excursion (indent-line-to indent-col)) + (indent-line-to indent-col)))))) + (defun js-indent-line () "Indent the current line as JavaScript." (interactive) @@ -2008,6 +2196,25 @@ indentation is aligned to that column." (indent-line-to (js--proper-indentation parse-status)) (when (> offset 0) (forward-char offset))))) +(defun js-jsx-indent-line () + "Indent the current line as JSX (with SGML offsets). +i.e., customize JSX element indentation with `sgml-basic-offset', +`sgml-attribute-offset' et al." + (interactive) + (let ((indentation-type (js--jsx-indented-element-p))) + (cond + ((eq indentation-type 'expression) + (js--expression-in-sgml-indent-line)) + ((or (eq indentation-type 'first) + (eq indentation-type 'after)) + ;; Don't treat this first thing as a continued expression (often a "<" or + ;; ">" causes this misinterpretation) + (cl-letf (((symbol-function #'js--continued-expression-p) 'ignore)) + (js-indent-line))) + ((eq indentation-type 'nth) + (js--as-sgml (sgml-indent-line))) + (t (js-indent-line))))) + ;;; Filling (defvar js--filling-paragraph nil) @@ -3566,6 +3773,20 @@ If one hasn't been set, or if it's stale, prompt for a new one." ;;(syntax-propertize (point-max)) ) +;;;###autoload +(define-derived-mode js-jsx-mode js-mode "JSX" + "Major mode for editing JSX. + +To customize the indentation for this mode, set the SGML offset +variables (`sgml-basic-offset', `sgml-attribute-offset' et al) +locally, like so: + + (defun set-jsx-indentation () + (setq-local sgml-basic-offset js-indent-level)) + (add-hook 'js-jsx-mode-hook #'set-jsx-indentation)" + :group 'js + (setq-local indent-line-function #'js-jsx-indent-line)) + ;;;###autoload (defalias 'javascript-mode 'js-mode) (eval-after-load 'folding diff --git a/test/indent/js-jsx.js b/test/indent/js-jsx.js new file mode 100644 index 0000000..7401939 --- /dev/null +++ b/test/indent/js-jsx.js @@ -0,0 +1,85 @@ +// -*- mode: js-jsx; -*- + +var foo =
; + +return ( +
+
+
+
+
+
+
+
+); + +React.render( +
+
+
, + { + a: 1 + }, +
+
+
+); + +return ( + // Sneaky! +
+); + +return ( +
+ // Sneaky! +); + +React.render( + , + { + a: 1 + } +); + +return ( +
+ {array.map(function () { + return { + a: 1 + }; + })} +
+); + +return ( +
+
+); + +// Local Variables: +// indent-tabs-mode: nil +// js-indent-level: 2 +// End: + +// The following test has intentionally unclosed elements and should +// be placed below all other tests to prevent awkward indentation. + +return ( +
+ {array.map(function () { + return { + a: 1 commit 65a3808fcf0afbd90d3ae512ff1ae4395bb2ee69 Merge: 547a234 553d7e9 Author: Michael Albinus Date: Sat Oct 31 14:42:28 2015 +0100 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs commit 547a23469a20b7fa90c9a3554b8f7fb58fe100ab Author: Michael Albinus Date: Sat Oct 31 14:42:16 2015 +0100 Minor fix in filenotify.el * lisp/filenotify.el (file-notify--event-file-name) (file-notify--event-file1-name): Normalize result with `directory-file-name'. diff --git a/lisp/filenotify.el b/lisp/filenotify.el index 6a180a8..132f164 100644 --- a/lisp/filenotify.el +++ b/lisp/filenotify.el @@ -100,17 +100,19 @@ It is a form ((DESCRIPTOR ACTION FILE [FILE1-OR-COOKIE]) CALLBACK).") (defun file-notify--event-file-name (event) "Return file name of file notification event, or nil." - (expand-file-name - (or (and (stringp (nth 2 event)) (nth 2 event)) "") - (car (gethash (car event) file-notify-descriptors)))) + (directory-file-name + (expand-file-name + (or (and (stringp (nth 2 event)) (nth 2 event)) "") + (car (gethash (car event) file-notify-descriptors))))) ;; Only `gfilenotify' could return two file names. (defun file-notify--event-file1-name (event) "Return second file name of file notification event, or nil. This is available in case a file has been moved." (and (stringp (nth 3 event)) - (expand-file-name - (nth 3 event) (car (gethash (car event) file-notify-descriptors))))) + (directory-file-name + (expand-file-name + (nth 3 event) (car (gethash (car event) file-notify-descriptors)))))) ;; Cookies are offered by `inotify' only. (defun file-notify--event-cookie (event) diff --git a/test/automated/file-notify-tests.el b/test/automated/file-notify-tests.el index 222bdc5..d848f4b 100644 --- a/test/automated/file-notify-tests.el +++ b/test/automated/file-notify-tests.el @@ -623,7 +623,7 @@ Don't wait longer than TIMEOUT seconds for the events to be delivered." ;; TODO: -;; * It does not work yet for local gfilenotify and remote inotifywait. +;; * It does not work yet for local gfilenotify. ;; * For w32notify, no stopped events arrive when a directory is removed. (provide 'file-notify-tests) commit 553d7e9b384b9c9a8500c5229e1dbc76002d5a10 Author: Eli Zaretskii Date: Sat Oct 31 15:31:17 2015 +0200 Avoid errors in redisplay--pre-redisplay-functions * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Don't use 'bobp', instead compare window-point with 1. (Bug#21730) diff --git a/lisp/emacs-lisp/cursor-sensor.el b/lisp/emacs-lisp/cursor-sensor.el index 1d1780b..2fc7a0d 100644 --- a/lisp/emacs-lisp/cursor-sensor.el +++ b/lisp/emacs-lisp/cursor-sensor.el @@ -113,7 +113,7 @@ ;; non-sticky on both ends, but that means get-pos-property might ;; never see it. (new (or (get-char-property point 'cursor-sensor-functions) - (unless (bobp) + (unless (= point 1) (get-char-property (1- point) 'cursor-sensor-functions)))) (old (window-parameter window 'cursor-sensor--last-state)) (oldposmark (car old)) commit b059c6b584e964296d425667642650f42972c238 Author: Paul Eggert Date: Fri Oct 30 19:21:29 2015 -0700 Merge from gnulib. This incorporates: 2015-10-30 intprops: add WRAPV and const flavors for GCC 5 2015-10-25 stdalign: port to Sun C 5.9 * doc/misc/texinfo.tex, lib/intprops.h, lib/stdalign.in.h: Copy from gnulib. diff --git a/doc/misc/texinfo.tex b/doc/misc/texinfo.tex index c75ddd6..f555ce3 100644 --- a/doc/misc/texinfo.tex +++ b/doc/misc/texinfo.tex @@ -3,7 +3,7 @@ % Load plain if necessary, i.e., if running under initex. \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi % -\def\texinfoversion{2015-10-17.11} +\def\texinfoversion{2015-10-29.16} % % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, @@ -4685,7 +4685,6 @@ end % The space after the comma will end up in the temporary definition % that we make for arg2 (see \parsemargdef ff.). We want all this to be % expanded for the sake of the index, so we end up just seeing "bar". - \let\xeatspaces = \eatspaces \let\xprocessmacroarg\eatspaces } @@ -5229,7 +5228,7 @@ end } \def\entrybreak{\unskip\space\ignorespaces}% \def\doentry{% - % Save the text of the entry in a \vtop. + % Save the text of the entry \global\setbox\boxA=\hbox\bgroup \bgroup % Instead of the swallowed brace. \noindent @@ -5245,10 +5244,9 @@ end \global\setbox\boxA=\hbox\bgroup\unhbox\boxA % #1 is the page number. % - % The following is kludged to not output a line of dots in the index if - % there are no page numbers. The next person who breaks this will be - % cursed by a Unix daemon. - \setbox\boxB = \hbox{#1}% + % Get the width of the page numbers, and only use + % leaders if they are present. + \global\setbox\boxB = \hbox{#1}% \ifdim\wd\boxB = 0pt \null\nobreak\hfill\ % \else @@ -5263,56 +5261,67 @@ end \fi \fi \egroup % end \boxA - \global\setbox\entryindexbox=\vtop\bgroup\noindent - % We want the text of the entries to be aligned to the left, and the - % page numbers to be aligned to the right. - % - \advance\leftskip by 0pt plus 1fil - \advance\leftskip by 0pt plus -1fill - \rightskip = 0pt plus -1fil - \advance\rightskip by 0pt plus 1fill - % Cause last line, which could consist of page numbers on their own if the - % list of page numbers is long, to be aligned to the right. - \parfillskip=0pt plus -1fill - % - \hangindent=1em - % - \advance\rightskip by \entryrightmargin - % Determine how far we can stretch into the margin. - % This allows, e.g., "Appendix H GNU Free Documentation License" to fit - % on one line. - \advance \parfillskip by 0pt minus .6\entryrightmargin - % - \ifdim\wd\boxA > \hsize % If the entry doesn't fit in one line - \ifdim\dimen@ > 0.9\hsize % due to long index text - \dimen@ = 0.6\dimen@ % Try to split the text roughly evenly - \dimen@ii = \hsize - \advance \dimen@ii by -1em - \ifnum\dimen@>\dimen@ii - % If the entry is too long, use the whole line - \dimen@ = \dimen@ii + \ifdim\wd\boxB = 0pt + \global\setbox\entryindexbox=\box\boxA + \else + \global\setbox\entryindexbox=\vbox\bgroup\noindent + % We want the text of the entries to be aligned to the left, and the + % page numbers to be aligned to the right. + % + \advance\leftskip by 0pt plus 1fil + \advance\leftskip by 0pt plus -1fill + \rightskip = 0pt plus -1fil + \advance\rightskip by 0pt plus 1fill + % Cause last line, which could consist of page numbers on their own + % if the list of page numbers is long, to be aligned to the right. + \parfillskip=0pt plus -1fill + % + \hangindent=1em + % + \advance\rightskip by \entryrightmargin + % Determine how far we can stretch into the margin. + % This allows, e.g., "Appendix H GNU Free Documentation License" to + % fit on one line in @letterpaper format. + \ifdim\entryrightmargin>2.1em + \dimen@i=2.1em \else - % Cause stretch of 1fill at the end of the first line, to avoid - % extra spacing in a short first line. - \hskip 0pt plus 1fill + \dimen@i=0em \fi - \parshape = 2 0pt \dimen@ 1em \dimen@ii - % Ideally we'd add a finite glue at the end of the first line only, but - % TeX doesn't seem to provide a way to do such a thing. - \fi\fi - \unhbox\boxA - % - % Do not prefer a separate line ending with a hyphen to fewer lines. - \finalhyphendemerits = 0 - % - % Word spacing - no stretch - \spaceskip=\fontdimen2\font minus \fontdimen4\font - % - \linepenalty=1000 % Discourage line breaks. - \hyphenpenalty=10000 % Discourage hyphenation. - % - \par % format the paragraph - \egroup % The \vtop + \advance \parfillskip by 0pt minus 1\dimen@i + % + \dimen@ii = \hsize + \advance\dimen@ii by -1\leftskip + \advance\dimen@ii by -1\entryrightmargin + \advance\dimen@ii by 1\dimen@i + \ifdim\wd\boxA > \dimen@ii % If the entry doesn't fit in one line + \ifdim\dimen@ > 0.8\dimen@ii % due to long index text + \dimen@ = 0.7\dimen@ % Try to split the text roughly evenly + \dimen@ii = \hsize + \advance \dimen@ii by -1em + \ifnum\dimen@>\dimen@ii + % If the entry is too long, use the whole line + \dimen@ = \dimen@ii + \fi + \advance\leftskip by 0pt plus 1fill % ragged right + \advance \dimen@ by 1\rightskip + \parshape = 2 0pt \dimen@ 1em \dimen@ii + % Ideally we'd add a finite glue at the end of the first line only, but + % TeX doesn't seem to provide a way to do such a thing. + \fi\fi + \unhbox\boxA + % + % Do not prefer a separate line ending with a hyphen to fewer lines. + \finalhyphendemerits = 0 + % + % Word spacing - no stretch + \spaceskip=\fontdimen2\font minus \fontdimen4\font + % + \linepenalty=1000 % Discourage line breaks. + \hyphenpenalty=5000 % Discourage hyphenation. + % + \par % format the paragraph + \egroup % The \vbox + \fi \endgroup % delay text of entry until after penalty \bgroup\aftergroup\insertindexentrybox @@ -5324,8 +5333,8 @@ end \newbox\entryindexbox \def\insertindexentrybox{% -\lineskip=.8ex plus .6ex % This comes into effect when the \vtop has a large - % depth due to the paragraph in it having several +\lineskip=.7ex plus .5ex % This comes into effect when the \vbox has a large + % height due to the paragraph in it having several % lines. \box\entryindexbox} @@ -5382,6 +5391,8 @@ end \newbox\partialpage \newdimen\doublecolumnhsize +\newdimen\doublecolumntopgap +\doublecolumntopgap = 0pt \newtoks\savedtopmark % Used in \begindoublecolumns \newtoks\savedfirstmark @@ -5449,7 +5460,11 @@ end % % Double the \vsize as well. (We don't need a separate register here, % since nobody clobbers \vsize.) + \global\doublecolumntopgap = \topskip + \global\advance\doublecolumntopgap by -1\baselineskip + \global\advance\vsize by -1\doublecolumntopgap \vsize = 2\vsize + \topskip=0pt } % The double-column output routine for all double-column pages except @@ -5478,10 +5493,13 @@ end % \hsize = \doublecolumnhsize \wd0=\hsize \wd2=\hsize - \hbox to\pagewidth{\box0\hfil\box2}% + \vbox{% + \vskip\doublecolumntopgap + \hbox to\pagewidth{\box0\hfil\box2}}% } -% -% All done with double columns. + + +% Finished with with double columns. \def\enddoublecolumns{% % The following penalty ensures that the page builder is exercised % _before_ we change the output routine. This is necessary in the @@ -7594,7 +7612,6 @@ end % Argument is macro body with arguments substituted \def\scanmacro#1{% \newlinechar`\^^M - \let\xeatspaces\eatspaces % Reduce doubled backslashes to one \def\xprocessmacroarg{\passargtomacro\eatspaces}% % @@ -9758,7 +9775,7 @@ directory should work if nowhere else does.} \gdef\UTFviiiTmp{#2}% % \expandafter\ifx\csname uni:#1\endcsname \relax \else - \errmessage{Internal error, already defined: #1}% + \message{Internal error, already defined: #1}% \fi % % define an additional control sequence for this code point. @@ -10108,8 +10125,82 @@ directory should work if nowhere else does.} \DeclareUnicodeCharacter{02DB}{\ogonek{ }} - % Greek letters + % Greek letters upper case + \DeclareUnicodeCharacter{0391}{{\it A}} + \DeclareUnicodeCharacter{0392}{{\it B}} + \DeclareUnicodeCharacter{0393}{\ensuremath{\mit\Gamma}} + \DeclareUnicodeCharacter{0394}{\ensuremath{\mit\Delta}} + \DeclareUnicodeCharacter{0395}{{\it E}} + \DeclareUnicodeCharacter{0396}{{\it Z}} + \DeclareUnicodeCharacter{0397}{{\it H}} + \DeclareUnicodeCharacter{0398}{\ensuremath{\mit\Theta}} + \DeclareUnicodeCharacter{0399}{{\it I}} + \DeclareUnicodeCharacter{039A}{{\it K}} + \DeclareUnicodeCharacter{039B}{\ensuremath{\mit\Lambda}} + \DeclareUnicodeCharacter{039C}{{\it M}} + \DeclareUnicodeCharacter{039D}{{\it N}} + \DeclareUnicodeCharacter{039E}{\ensuremath{\mit\Xi}} + \DeclareUnicodeCharacter{039F}{{\it O}} + \DeclareUnicodeCharacter{03A0}{\ensuremath{\mit\Pi}} + \DeclareUnicodeCharacter{03A1}{{\it P}} + %\DeclareUnicodeCharacter{03A2}{} % none - corresponds to final sigma + \DeclareUnicodeCharacter{03A3}{\ensuremath{\mit\Sigma}} + \DeclareUnicodeCharacter{03A4}{{\it T}} + \DeclareUnicodeCharacter{03A5}{\ensuremath{\mit\Upsilon}} + \DeclareUnicodeCharacter{03A6}{\ensuremath{\mit\Phi}} + \DeclareUnicodeCharacter{03A7}{{\it X}} + \DeclareUnicodeCharacter{03A8}{\ensuremath{\mit\Psi}} + \DeclareUnicodeCharacter{03A9}{\ensuremath{\mit\Omega}} + + % Vowels with accents + \DeclareUnicodeCharacter{0390}{\ensuremath{\ddot{\acute\iota}}} + \DeclareUnicodeCharacter{03AC}{\ensuremath{\acute\alpha}} + \DeclareUnicodeCharacter{03AD}{\ensuremath{\acute\epsilon}} + \DeclareUnicodeCharacter{03AE}{\ensuremath{\acute\eta}} + \DeclareUnicodeCharacter{03AF}{\ensuremath{\acute\iota}} + \DeclareUnicodeCharacter{03B0}{\ensuremath{\acute{\ddot\upsilon}}} + + % Standalone accent + \DeclareUnicodeCharacter{0384}{\ensuremath{\acute{\ }}} + + % Greek letters lower case + \DeclareUnicodeCharacter{03B1}{\ensuremath\alpha} + \DeclareUnicodeCharacter{03B2}{\ensuremath\beta} + \DeclareUnicodeCharacter{03B3}{\ensuremath\gamma} + \DeclareUnicodeCharacter{03B4}{\ensuremath\delta} + \DeclareUnicodeCharacter{03B5}{\ensuremath\epsilon} + \DeclareUnicodeCharacter{03B6}{\ensuremath\zeta} + \DeclareUnicodeCharacter{03B7}{\ensuremath\eta} + \DeclareUnicodeCharacter{03B8}{\ensuremath\theta} + \DeclareUnicodeCharacter{03B9}{\ensuremath\iota} + \DeclareUnicodeCharacter{03BA}{\ensuremath\kappa} + \DeclareUnicodeCharacter{03BB}{\ensuremath\lambda} + \DeclareUnicodeCharacter{03BC}{\ensuremath\mu} + \DeclareUnicodeCharacter{03BD}{\ensuremath\nu} + \DeclareUnicodeCharacter{03BE}{\ensuremath\xi} + \DeclareUnicodeCharacter{03BF}{{\it o}} % omicron \DeclareUnicodeCharacter{03C0}{\ensuremath\pi} + \DeclareUnicodeCharacter{03C1}{\ensuremath\rho} + \DeclareUnicodeCharacter{03C2}{\ensuremath\varsigma} + \DeclareUnicodeCharacter{03C3}{\ensuremath\sigma} + \DeclareUnicodeCharacter{03C4}{\ensuremath\tau} + \DeclareUnicodeCharacter{03C5}{\ensuremath\upsilon} + \DeclareUnicodeCharacter{03C6}{\ensuremath\phi} + \DeclareUnicodeCharacter{03C7}{\ensuremath\chi} + \DeclareUnicodeCharacter{03C8}{\ensuremath\psi} + \DeclareUnicodeCharacter{03C9}{\ensuremath\omega} + + % More Greek vowels with accents + \DeclareUnicodeCharacter{03CA}{\ensuremath{\ddot\iota}} + \DeclareUnicodeCharacter{03CB}{\ensuremath{\ddot\upsilon}} + \DeclareUnicodeCharacter{03CC}{\ensuremath{\acute o}} + \DeclareUnicodeCharacter{03CD}{\ensuremath{\acute\upsilon}} + \DeclareUnicodeCharacter{03CE}{\ensuremath{\acute\omega}} + + % Variant Greek letters + \DeclareUnicodeCharacter{03D1}{\ensuremath\vartheta} + \DeclareUnicodeCharacter{03D6}{\ensuremath\varpi} + \DeclareUnicodeCharacter{03F1}{\ensuremath\varrho} \DeclareUnicodeCharacter{1E02}{\dotaccent{B}} \DeclareUnicodeCharacter{1E03}{\dotaccent{b}} @@ -10265,7 +10356,7 @@ directory should work if nowhere else does.} \DeclareUnicodeCharacter{2203}{\ensuremath\exists} \DeclareUnicodeCharacter{2208}{\ensuremath\in} \DeclareUnicodeCharacter{2212}{\minus} - \DeclareUnicodeCharacter{2217}{\point} + \DeclareUnicodeCharacter{2217}{\ast} \DeclareUnicodeCharacter{221E}{\ensuremath\infty} \DeclareUnicodeCharacter{2225}{\ensuremath\parallel} \DeclareUnicodeCharacter{2227}{\ensuremath\wedge} @@ -10276,6 +10367,138 @@ directory should work if nowhere else does.} \DeclareUnicodeCharacter{2282}{\ensuremath\subset} \DeclareUnicodeCharacter{2287}{\ensuremath\supseteq} + \DeclareUnicodeCharacter{2016}{\ensuremath\Vert} + \DeclareUnicodeCharacter{2032}{\ensuremath\prime} + \DeclareUnicodeCharacter{210F}{\ensuremath\hbar} + \DeclareUnicodeCharacter{2111}{\ensuremath\Im} + \DeclareUnicodeCharacter{2113}{\ensuremath\ell} + \DeclareUnicodeCharacter{2118}{\ensuremath\wp} + \DeclareUnicodeCharacter{211C}{\ensuremath\Re} + \DeclareUnicodeCharacter{2127}{\ensuremath\mho} + \DeclareUnicodeCharacter{2135}{\ensuremath\aleph} + \DeclareUnicodeCharacter{2190}{\ensuremath\leftarrow} + \DeclareUnicodeCharacter{2191}{\ensuremath\uparrow} + \DeclareUnicodeCharacter{2193}{\ensuremath\downarrow} + \DeclareUnicodeCharacter{2194}{\ensuremath\leftrightarrow} + \DeclareUnicodeCharacter{2195}{\ensuremath\updownarrow} + \DeclareUnicodeCharacter{2196}{\ensuremath\nwarrow} + \DeclareUnicodeCharacter{2197}{\ensuremath\nearrow} + \DeclareUnicodeCharacter{2198}{\ensuremath\searrow} + \DeclareUnicodeCharacter{2199}{\ensuremath\swarrow} + \DeclareUnicodeCharacter{21A6}{\ensuremath\mapsto} + \DeclareUnicodeCharacter{21A9}{\ensuremath\hookleftarrow} + \DeclareUnicodeCharacter{21AA}{\ensuremath\hookrightarrow} + \DeclareUnicodeCharacter{21BC}{\ensuremath\leftharpoonup} + \DeclareUnicodeCharacter{21BD}{\ensuremath\leftharpoondown} + \DeclareUnicodeCharacter{21BE}{\ensuremath\upharpoonright} + \DeclareUnicodeCharacter{21C0}{\ensuremath\rightharpoonup} + \DeclareUnicodeCharacter{21C1}{\ensuremath\rightharpoondown} + \DeclareUnicodeCharacter{21CC}{\ensuremath\rightleftharpoons} + \DeclareUnicodeCharacter{21D0}{\ensuremath\Leftarrow} + \DeclareUnicodeCharacter{21D1}{\ensuremath\Uparrow} + \DeclareUnicodeCharacter{21D3}{\ensuremath\Downarrow} + \DeclareUnicodeCharacter{21D4}{\ensuremath\Leftrightarrow} + \DeclareUnicodeCharacter{21D5}{\ensuremath\Updownarrow} + \DeclareUnicodeCharacter{21DD}{\ensuremath\leadsto} + \DeclareUnicodeCharacter{2201}{\ensuremath\complement} + \DeclareUnicodeCharacter{2202}{\ensuremath\partial} + \DeclareUnicodeCharacter{2205}{\ensuremath\emptyset} + \DeclareUnicodeCharacter{2207}{\ensuremath\nabla} + \DeclareUnicodeCharacter{2209}{\ensuremath\notin} + \DeclareUnicodeCharacter{220B}{\ensuremath\owns} + \DeclareUnicodeCharacter{220F}{\ensuremath\prod} + \DeclareUnicodeCharacter{2210}{\ensuremath\coprod} + \DeclareUnicodeCharacter{2211}{\ensuremath\sum} + \DeclareUnicodeCharacter{2213}{\ensuremath\mp} + \DeclareUnicodeCharacter{2218}{\ensuremath\circ} + \DeclareUnicodeCharacter{221A}{\ensuremath\surd} + \DeclareUnicodeCharacter{221D}{\ensuremath\propto} + \DeclareUnicodeCharacter{2220}{\ensuremath\angle} + \DeclareUnicodeCharacter{2223}{\ensuremath\mid} + \DeclareUnicodeCharacter{2228}{\ensuremath\vee} + \DeclareUnicodeCharacter{222A}{\ensuremath\cup} + \DeclareUnicodeCharacter{222B}{\ensuremath\smallint} + \DeclareUnicodeCharacter{222E}{\ensuremath\oint} + \DeclareUnicodeCharacter{223C}{\ensuremath\sim} + \DeclareUnicodeCharacter{2240}{\ensuremath\wr} + \DeclareUnicodeCharacter{2243}{\ensuremath\simeq} + \DeclareUnicodeCharacter{2245}{\ensuremath\cong} + \DeclareUnicodeCharacter{2248}{\ensuremath\approx} + \DeclareUnicodeCharacter{224D}{\ensuremath\asymp} + \DeclareUnicodeCharacter{2250}{\ensuremath\doteq} + \DeclareUnicodeCharacter{2260}{\ensuremath\neq} + \DeclareUnicodeCharacter{226A}{\ensuremath\ll} + \DeclareUnicodeCharacter{226B}{\ensuremath\gg} + \DeclareUnicodeCharacter{227A}{\ensuremath\prec} + \DeclareUnicodeCharacter{227B}{\ensuremath\succ} + \DeclareUnicodeCharacter{2283}{\ensuremath\supset} + \DeclareUnicodeCharacter{2286}{\ensuremath\subseteq} + \DeclareUnicodeCharacter{228E}{\ensuremath\uplus} + \DeclareUnicodeCharacter{228F}{\ensuremath\sqsubset} + \DeclareUnicodeCharacter{2290}{\ensuremath\sqsupset} + \DeclareUnicodeCharacter{2291}{\ensuremath\sqsubseteq} + \DeclareUnicodeCharacter{2292}{\ensuremath\sqsupseteq} + \DeclareUnicodeCharacter{2293}{\ensuremath\sqcap} + \DeclareUnicodeCharacter{2294}{\ensuremath\sqcup} + \DeclareUnicodeCharacter{2295}{\ensuremath\oplus} + \DeclareUnicodeCharacter{2296}{\ensuremath\ominus} + \DeclareUnicodeCharacter{2297}{\ensuremath\otimes} + \DeclareUnicodeCharacter{2298}{\ensuremath\oslash} + \DeclareUnicodeCharacter{2299}{\ensuremath\odot} + \DeclareUnicodeCharacter{22A2}{\ensuremath\vdash} + \DeclareUnicodeCharacter{22A3}{\ensuremath\dashv} + \DeclareUnicodeCharacter{22A4}{\ensuremath\ptextop} + \DeclareUnicodeCharacter{22A5}{\ensuremath\bot} + \DeclareUnicodeCharacter{22A8}{\ensuremath\models} + \DeclareUnicodeCharacter{22B4}{\ensuremath\unlhd} + \DeclareUnicodeCharacter{22B5}{\ensuremath\unrhd} + \DeclareUnicodeCharacter{22C0}{\ensuremath\bigwedge} + \DeclareUnicodeCharacter{22C1}{\ensuremath\bigvee} + \DeclareUnicodeCharacter{22C2}{\ensuremath\bigcap} + \DeclareUnicodeCharacter{22C3}{\ensuremath\bigcup} + \DeclareUnicodeCharacter{22C4}{\ensuremath\diamond} + \DeclareUnicodeCharacter{22C5}{\ensuremath\cdot} + \DeclareUnicodeCharacter{22C6}{\ensuremath\star} + \DeclareUnicodeCharacter{22C8}{\ensuremath\bowtie} + \DeclareUnicodeCharacter{2308}{\ensuremath\lceil} + \DeclareUnicodeCharacter{2309}{\ensuremath\rceil} + \DeclareUnicodeCharacter{230A}{\ensuremath\lfloor} + \DeclareUnicodeCharacter{230B}{\ensuremath\rfloor} + \DeclareUnicodeCharacter{2322}{\ensuremath\frown} + \DeclareUnicodeCharacter{2323}{\ensuremath\smile} + + \DeclareUnicodeCharacter{25A1}{\ensuremath\Box} + \DeclareUnicodeCharacter{25B3}{\ensuremath\triangle} + \DeclareUnicodeCharacter{25B7}{\ensuremath\triangleright} + \DeclareUnicodeCharacter{25BD}{\ensuremath\bigtriangledown} + \DeclareUnicodeCharacter{25C1}{\ensuremath\triangleleft} + \DeclareUnicodeCharacter{25C7}{\ensuremath\Diamond} + \DeclareUnicodeCharacter{2660}{\ensuremath\spadesuit} + \DeclareUnicodeCharacter{2661}{\ensuremath\heartsuit} + \DeclareUnicodeCharacter{2662}{\ensuremath\diamondsuit} + \DeclareUnicodeCharacter{2663}{\ensuremath\clubsuit} + \DeclareUnicodeCharacter{266D}{\ensuremath\flat} + \DeclareUnicodeCharacter{266E}{\ensuremath\natural} + \DeclareUnicodeCharacter{266F}{\ensuremath\sharp} + \DeclareUnicodeCharacter{26AA}{\ensuremath\bigcirc} + \DeclareUnicodeCharacter{27B9}{\ensuremath\rangle} + \DeclareUnicodeCharacter{27C2}{\ensuremath\perp} + \DeclareUnicodeCharacter{27E8}{\ensuremath\langle} + \DeclareUnicodeCharacter{27F5}{\ensuremath\longleftarrow} + \DeclareUnicodeCharacter{27F6}{\ensuremath\longrightarrow} + \DeclareUnicodeCharacter{27F7}{\ensuremath\longleftrightarrow} + \DeclareUnicodeCharacter{27FC}{\ensuremath\longmapsto} + \DeclareUnicodeCharacter{29F5}{\ensuremath\setminus} + \DeclareUnicodeCharacter{2A00}{\ensuremath\bigodot} + \DeclareUnicodeCharacter{2A01}{\ensuremath\bigoplus} + \DeclareUnicodeCharacter{2A02}{\ensuremath\bigotimes} + \DeclareUnicodeCharacter{2A04}{\ensuremath\biguplus} + \DeclareUnicodeCharacter{2A06}{\ensuremath\bigsqcup} + \DeclareUnicodeCharacter{2A1D}{\ensuremath\Join} + \DeclareUnicodeCharacter{2A3F}{\ensuremath\amalg} + \DeclareUnicodeCharacter{2AAF}{\ensuremath\preceq} + \DeclareUnicodeCharacter{2AB0}{\ensuremath\succeq} + \global\mathchardef\checkmark="1370 % actually the square root sign \DeclareUnicodeCharacter{2713}{\ensuremath\checkmark} }% end of \utfeightchardefs diff --git a/lib/intprops.h b/lib/intprops.h index f85ccad..4441f1c 100644 --- a/lib/intprops.h +++ b/lib/intprops.h @@ -263,22 +263,31 @@ : (a) % - (b)) \ == 0) - -/* Integer overflow checks. +/* Check for integer overflow, and report low order bits of answer. The INT__OVERFLOW macros return 1 if the corresponding C operators might not yield numerically correct answers due to arithmetic overflow. - They work correctly on all known practical hosts, and do not rely + The INT__WRAPV macros return the low-order bits of the answer. + For example, INT_ADD_WRAPV (INT_MAX, 1) returns INT_MIN on a two's + complement host, even if INT_MAX + 1 would trap. + + These macros work correctly on all known practical hosts, and do not rely on undefined behavior due to signed arithmetic overflow. Example usage: - long int i = ...; - long int j = ...; - if (INT_MULTIPLY_OVERFLOW (i, j)) - printf ("multiply would overflow"); - else - printf ("product is %ld", i * j); + long int a = ...; + long int b = ...; + long int result = INT_MULTIPLY_WRAPV (a, b); + printf ("result is %ld (%s)\n", result, + INT_MULTIPLY_OVERFLOW (a, b) ? "after overflow" : "no overflow"); + + enum { + INT_PRODUCTS_FIT_IN_LONG + = ! INT_CONST_MULTIPLY_OVERFLOW ((long int) INT_MIN, INT_MIN) + }; + + Restrictions on these macros: These macros do not check for all possible numerical problems or undefined or unspecified behavior: they do not check for division @@ -287,18 +296,35 @@ These macros may evaluate their arguments zero or multiple times, so the arguments should not have side effects. + On non-GCC-compatible compilers that do not support C11, the type + of INT__WRAPV (A, B) might differ from the native type of (A op + B), so it is wise to convert the result to the native type. Such a + conversion is safe and cannot trap. + + For runtime efficiency GCC 5 and later has builtin functions for +, + -, * when doing integer overflow checking or wraparound arithmetic. + Unfortunately, these builtins require nonnull pointer arguments and + so cannot be used in constant expressions; see GCC bug 68120 + . In constant + expressions, use the macros INT_CONST_ADD_OVERFLOW and + INT_CONST_ADD_WRAPV instead, and similarly for SUBTRACT and + MULTIPLY; these macros avoid the builtins and are slower in + non-constant expressions. Perhaps someday GCC's API for overflow + checking will be improved and we can remove the need for the + INT_CONST_ variants. + These macros are tuned for their last argument being a constant. Return 1 if the integer expressions A * B, A - B, -A, A * B, A / B, A % B, and A << B would overflow, respectively. */ -#define INT_ADD_OVERFLOW(a, b) \ +#define INT_CONST_ADD_OVERFLOW(a, b) \ _GL_BINARY_OP_OVERFLOW (a, b, _GL_ADD_OVERFLOW) -#define INT_SUBTRACT_OVERFLOW(a, b) \ +#define INT_CONST_SUBTRACT_OVERFLOW(a, b) \ _GL_BINARY_OP_OVERFLOW (a, b, _GL_SUBTRACT_OVERFLOW) #define INT_NEGATE_OVERFLOW(a) \ INT_NEGATE_RANGE_OVERFLOW (a, _GL_INT_MINIMUM (a), _GL_INT_MAXIMUM (a)) -#define INT_MULTIPLY_OVERFLOW(a, b) \ +#define INT_CONST_MULTIPLY_OVERFLOW(a, b) \ _GL_BINARY_OP_OVERFLOW (a, b, _GL_MULTIPLY_OVERFLOW) #define INT_DIVIDE_OVERFLOW(a, b) \ _GL_BINARY_OP_OVERFLOW (a, b, _GL_DIVIDE_OVERFLOW) @@ -317,4 +343,95 @@ _GL_INT_MINIMUM (0 * (b) + (a)), \ _GL_INT_MAXIMUM (0 * (b) + (a))) +/* Return the low order bits of the integer expressions + A * B, A - B, -A, A * B, A / B, A % B, and A << B, respectively. + See above for restrictions. */ +#define INT_CONST_ADD_WRAPV(a, b) _GL_INT_OP_WRAPV (a, b, +) +#define INT_CONST_SUBTRACT_WRAPV(a, b) _GL_INT_OP_WRAPV (a, b, -) +#define INT_NEGATE_WRAPV(a) INT_CONST_SUBTRACT_WRAPV (0, a) +#define INT_CONST_MULTIPLY_WRAPV(a, b) _GL_INT_OP_WRAPV (a, b, *) +#define INT_DIVIDE_WRAPV(a, b) \ + (INT_DIVIDE_OVERFLOW(a, b) ? INT_NEGATE_WRAPV (a) : (a) / (b)) +#define INT_REMAINDER_WRAPV(a, b) \ + (INT_REMAINDER_OVERFLOW(a, b) ? 0 : (a) % (b)) +#define INT_LEFT_SHIFT_WRAPV(a, b) _GL_INT_OP_WRAPV (a, b, <<) + +/* Return the low order bits of A B, where OP specifies the operation. + See above for restrictions. */ +#if !_GL_HAVE___TYPEOF__ && 201112 <= __STDC_VERSION__ +# define _GL_INT_OP_WRAPV(a, b, op) \ + _Generic ((a) op (b), \ + int: _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, int), \ + long int: _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, long int), \ + long long int: _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, \ + long long int), \ + default: (a) op (b)) +#else +# define _GL_INT_OP_WRAPV(a, b, op) \ + (! _GL_INT_SIGNED ((0 * (a)) op (0 * (b))) \ + ? ((a) op (b)) \ + : _GL_EXPR_CAST ((a) op (b), \ + (sizeof ((a) op (b)) <= sizeof (int) \ + ? _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, int) \ + : _GL_INT_OP_WRAPV_LONGISH (a, b, op)))) + +/* Cast to E's type the value of V if possible. Yield V as-is otherwise. */ +# if _GL_HAVE___TYPEOF__ +# define _GL_EXPR_CAST(e, v) ((__typeof__ (e)) (v)) +# else +# define _GL_EXPR_CAST(e, v) (v) +# endif + +# ifdef LLONG_MAX +# define _GL_INT_OP_WRAPV_LONGISH(a, b, op) \ + (sizeof ((a) op (b)) <= sizeof (long int) \ + ? _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, long int) \ + : _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, long long int)) +# else +# define _GL_INT_OP_WRAPV_LONGISH(a, b, op) \ + _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, long int) +# endif +#endif + +/* Return A B, where the operation is given by OP and the result + type is T. T is a signed integer type that is at least as wide as int. + Do arithmetic using 'unsigned T' to avoid signed integer overflow. + Subtract TYPE_MINIMUM (T) before converting back to T, and add it + back afterwards, to avoid signed overflow during conversion. */ +#define _GL_INT_OP_WRAPV_VIA_UNSIGNED(a, b, op, t) \ + ((unsigned t) (a) op (unsigned t) (b) <= TYPE_MAXIMUM (t) \ + ? (t) ((unsigned t) (a) op (unsigned t) (b)) \ + : ((t) ((unsigned t) (a) op (unsigned t) (b) - TYPE_MINIMUM (t)) \ + + TYPE_MINIMUM (t))) + +/* Calls to the INT__ macros are like their INT_CONST__ + counterparts, except they are faster with GCC 5 or later, and they + are not constant expressions due to limitations in the GNU C API. */ + +#define INT_ADD_OVERFLOW(a, b) \ + _GL_OP_OVERFLOW (a, b, INT_CONST_ADD_OVERFLOW, __builtin_add_overflow) +#define INT_SUBTRACT_OVERFLOW(a, b) \ + _GL_OP_OVERFLOW (a, b, INT_CONST_SUBTRACT_OVERFLOW, __builtin_sub_overflow) +#define INT_MULTIPLY_OVERFLOW(a, b) \ + _GL_OP_OVERFLOW (a, b, INT_CONST_MULTIPLY_OVERFLOW, __builtin_mul_overflow) + +#define INT_ADD_WRAPV(a, b) \ + _GL_OP_WRAPV (a, b, INT_CONST_ADD_WRAPV, __builtin_add_overflow) +#define INT_SUBTRACT_WRAPV(a, b) \ + _GL_OP_WRAPV (a, b, INT_CONST_SUBTRACT_WRAPV, __builtin_sub_overflow) +#define INT_MULTIPLY_WRAPV(a, b) \ + _GL_OP_WRAPV (a, b, INT_CONST_MULTIPLY_WRAPV, __builtin_mul_overflow) + +#if __GNUC__ < 5 +# define _GL_OP_OVERFLOW(a, b, portable, builtin) portable (a, b) +# define _GL_OP_WRAPV(a, b, portable, builtin) portable (a, b) +#else +# define _GL_OP_OVERFLOW(a, b, portable, builtin) \ + builtin (a, b, &(__typeof__ ((a) + (b))) {0}) +# define _GL_OP_WRAPV(a, b, portable, builtin) \ + _GL_OP_WRAPV_GENSYM(a, b, builtin, __gl_wrapv##__COUNTER__) +# define _GL_OP_WRAPV_GENSYM(a, b, builtin, r) \ + ({__typeof__ ((a) + (b)) r; builtin (a, b, &r); r; }) +#endif + #endif /* _GL_INTPROPS_H */ diff --git a/lib/stdalign.in.h b/lib/stdalign.in.h index ce1e793..b16ccc8 100644 --- a/lib/stdalign.in.h +++ b/lib/stdalign.in.h @@ -104,7 +104,7 @@ ? 4 < __GNUC__ + (1 <= __GNUC_MINOR__) \ : __GNUC__) \ || __HP_cc || __HP_aCC || __IBMC__ || __IBMCPP__ \ - || __ICC || 0x5110 <= __SUNPRO_C) + || __ICC || 0x590 <= __SUNPRO_C) # define _Alignas(a) __attribute__ ((__aligned__ (a))) # elif 1300 <= _MSC_VER # define _Alignas(a) __declspec (align (a)) commit e11aaee266da52937a3a031cb108fe13f68958c3 Author: Eli Zaretskii Date: Fri Oct 30 23:17:48 2015 +0200 Fix a typo in a macro name * src/w32proc.c (_NLSCMPERROR): Fix a typo in the name of this macro. (w32_compare_strings): Adjust for the correction. diff --git a/src/w32proc.c b/src/w32proc.c index 8a1e17e..a4e1496 100644 --- a/src/w32proc.c +++ b/src/w32proc.c @@ -3504,8 +3504,8 @@ get_lcid (const char *locale_name) return found_lcid; } -#ifndef _NSLCMPERROR -# define _NSLCMPERROR INT_MAX +#ifndef _NLSCMPERROR +# define _NLSCMPERROR INT_MAX #endif #ifndef LINGUISTIC_IGNORECASE # define LINGUISTIC_IGNORECASE 0x00000010 @@ -3546,7 +3546,7 @@ w32_compare_strings (const char *s1, const char *s2, char *locname, errno = EINVAL; /* This return value is compatible with wcscoll and other MS CRT functions. */ - return _NSLCMPERROR; + return _NLSCMPERROR; } } else @@ -3565,7 +3565,7 @@ w32_compare_strings (const char *s1, const char *s2, char *locname, else { errno = EINVAL; - return _NSLCMPERROR; + return _NLSCMPERROR; } needed = pMultiByteToWideChar (CP_UTF8, MB_ERR_INVALID_CHARS, s2, -1, NULL, 0); @@ -3579,7 +3579,7 @@ w32_compare_strings (const char *s1, const char *s2, char *locname, { SAFE_FREE (); errno = EINVAL; - return _NSLCMPERROR; + return _NLSCMPERROR; } if (locname) @@ -3616,7 +3616,7 @@ w32_compare_strings (const char *s1, const char *s2, char *locname, if (!val) { errno = EINVAL; - return _NSLCMPERROR; + return _NLSCMPERROR; } return val - 2; } commit 9c36df736b89490d14a5b5109c9c00209a0c25f5 Author: Michael Albinus Date: Fri Oct 30 18:35:58 2015 +0100 Add result messages in vc-tests.el * test/automated/vc-tests.el (vc-test--state) (vc-test--working-revision, vc-test--checkout-model): Add result messages. diff --git a/test/automated/vc-tests.el b/test/automated/vc-tests.el index a7242e9..847e076 100644 --- a/test/automated/vc-tests.el +++ b/test/automated/vc-tests.el @@ -289,6 +289,7 @@ For backends which dont support it, `vc-not-supported' is signalled." ;; added: Git ;; unregistered: CVS SCCS SRC ;; up-to-date: Bzr SVN + (message "vc-state1 %s" (vc-state default-directory)) (should (eq (vc-state default-directory) (vc-state default-directory backend))) (should (memq (vc-state default-directory) @@ -301,6 +302,7 @@ For backends which dont support it, `vc-not-supported' is signalled." ;; added: Git ;; unregistered: RCS SCCS ;; up-to-date: Bzr CVS + (message "vc-state2 %s" (vc-state tmp-name)) (should (eq (vc-state tmp-name) (vc-state tmp-name backend))) (should (memq (vc-state tmp-name) '(nil added unregistered up-to-date))) @@ -312,6 +314,7 @@ For backends which dont support it, `vc-not-supported' is signalled." ;; added: Git ;; unregistered: Hg RCS SCCS SRC SVN ;; up-to-date: Bzr CVS + (message "vc-state3 %s" (vc-state tmp-name)) (should (eq (vc-state tmp-name) (vc-state tmp-name backend))) (should (memq (vc-state tmp-name) '(nil added unregistered up-to-date))) @@ -323,6 +326,7 @@ For backends which dont support it, `vc-not-supported' is signalled." ;; added: Git Mtn ;; unregistered: Hg RCS SCCS SRC SVN ;; up-to-date: Bzr CVS + (message "vc-state4 %s" (vc-state tmp-name)) (should (eq (vc-state tmp-name) (vc-state tmp-name backend))) (should (memq (vc-state tmp-name) '(added unregistered up-to-date))) @@ -332,13 +336,14 @@ For backends which dont support it, `vc-not-supported' is signalled." (vc-test--unregister-function backend tmp-name) ;; added: Git - ;; unregistered: Hg + ;; unregistered: Hg RCS ;; unsupported: CVS Mtn SCCS SRC SVN ;; up-to-date: Bzr + (message "vc-state5 %s" (vc-state tmp-name)) (should (eq (vc-state tmp-name) (vc-state tmp-name backend))) (should (memq (vc-state tmp-name) '(added unregistered up-to-date)))) - (vc-not-supported t)))) + (vc-not-supported (message "vc-state5 unsupported"))))) ;; Save exit. (ignore-errors (run-hooks 'vc-test--cleanup-hook))))) @@ -365,65 +370,60 @@ For backends which dont support it, `vc-not-supported' is signalled." (make-directory default-directory) (vc-test--create-repo-function backend) - ;; nil: CVS Mtn RCS SCCS + ;; nil: CVS Git Mtn RCS SCCS ;; "0": Bzr Hg SRC SVN - ;; "master": Git + (message + "vc-working-revision1 %s" (vc-working-revision default-directory)) (should (eq (vc-working-revision default-directory) (vc-working-revision default-directory backend))) - (should - (member - (vc-working-revision default-directory) '(nil "0" "master"))) + (should (member (vc-working-revision default-directory) '(nil "0"))) (let ((tmp-name (expand-file-name "foo" default-directory))) ;; Check initial working revision, should be nil until ;; it's registered. - ;; nil: CVS Mtn RCS SCCS SVN + ;; nil: CVS Git Mtn RCS SCCS SVN ;; "0": Bzr Hg SRC - ;; "master": Git + (message "vc-working-revision2 %s" (vc-working-revision tmp-name)) (should (eq (vc-working-revision tmp-name) (vc-working-revision tmp-name backend))) - (should - (member (vc-working-revision tmp-name) '(nil "0" "master"))) + (should (member (vc-working-revision tmp-name) '(nil "0"))) ;; Write a new file. Check working revision. (write-region "foo" nil tmp-name nil 'nomessage) - ;; nil: CVS Mtn RCS SCCS SVN + ;; nil: CVS Git Mtn RCS SCCS SVN ;; "0": Bzr Hg SRC - ;; "master": Git + (message "vc-working-revision3 %s" (vc-working-revision tmp-name)) (should (eq (vc-working-revision tmp-name) (vc-working-revision tmp-name backend))) - (should - (member (vc-working-revision tmp-name) '(nil "0" "master"))) + (should (member (vc-working-revision tmp-name) '(nil "0"))) ;; Register a file. Check working revision. (vc-register (list backend (list (file-name-nondirectory tmp-name)))) - ;; nil: Mtn RCS SCCS + ;; nil: Mtn Git RCS SCCS ;; "0": Bzr CVS Hg SRC SVN - ;; "master": Git + (message "vc-working-revision4 %s" (vc-working-revision tmp-name)) (should (eq (vc-working-revision tmp-name) (vc-working-revision tmp-name backend))) - (should - (member (vc-working-revision tmp-name) '(nil "0" "master"))) + (should (member (vc-working-revision tmp-name) '(nil "0"))) ;; Unregister the file. Check working revision. (condition-case nil (progn (vc-test--unregister-function backend tmp-name) - ;; nil: RCS + ;; nil: Git RCS ;; "0": Bzr Hg - ;; "master": Git ;; unsupported: CVS Mtn SCCS SRC SVN + (message + "vc-working-revision5 %s" (vc-working-revision tmp-name)) (should (eq (vc-working-revision tmp-name) (vc-working-revision tmp-name backend))) - (should - (member - (vc-working-revision tmp-name) '(nil "0" "master")))) - (vc-not-supported t)))) + (should (member (vc-working-revision tmp-name) '(nil "0")))) + (vc-not-supported (message "vc-working-revision5 unsupported"))))) ;; Save exit. (ignore-errors (run-hooks 'vc-test--cleanup-hook))))) @@ -453,6 +453,9 @@ For backends which dont support it, `vc-not-supported' is signalled." ;; nil: RCS ;; implicit: Bzr CVS Git Hg Mtn SRC SVN ;; locking: SCCS + (message + "vc-checkout-model1 %s" + (vc-checkout-model backend default-directory)) (should (memq (vc-checkout-model backend default-directory) '(announce implicit locking))) @@ -462,6 +465,8 @@ For backends which dont support it, `vc-not-supported' is signalled." ;; nil: RCS ;; implicit: Bzr CVS Git Hg Mtn SRC SVN ;; locking: SCCS + (message + "vc-checkout-model2 %s" (vc-checkout-model backend tmp-name)) (should (memq (vc-checkout-model backend tmp-name) '(announce implicit locking))) @@ -471,6 +476,8 @@ For backends which dont support it, `vc-not-supported' is signalled." ;; nil: RCS ;; implicit: Bzr CVS Git Hg Mtn SRC SVN ;; locking: SCCS + (message + "vc-checkout-model3 %s" (vc-checkout-model backend tmp-name)) (should (memq (vc-checkout-model backend tmp-name) '(announce implicit locking))) @@ -481,6 +488,8 @@ For backends which dont support it, `vc-not-supported' is signalled." ;; nil: RCS ;; implicit: Bzr CVS Git Hg Mtn SRC SVN ;; locking: SCCS + (message + "vc-checkout-model4 %s" (vc-checkout-model backend tmp-name)) (should (memq (vc-checkout-model backend tmp-name) '(announce implicit locking))) @@ -492,9 +501,11 @@ For backends which dont support it, `vc-not-supported' is signalled." ;; nil: RCS ;; implicit: Bzr Git Hg ;; unsupported: CVS Mtn SCCS SRC SVN + (message + "vc-checkout-model5 %s" (vc-checkout-model backend tmp-name)) (should (memq (vc-checkout-model backend tmp-name) '(announce implicit locking)))) - (vc-not-supported t)))) + (vc-not-supported (message "vc-checkout-model5 unsupported"))))) ;; Save exit. (ignore-errors (run-hooks 'vc-test--cleanup-hook))))) commit 36ead807e2fe3f4aa211965cad4a5651e52cc431 Author: Artur Malabarba Date: Fri Oct 30 18:20:42 2015 +0000 * test/automated/faces-tests.el: Add another test diff --git a/test/automated/faces-tests.el b/test/automated/faces-tests.el index 4029003..007bc80 100644 --- a/test/automated/faces-tests.el +++ b/test/automated/faces-tests.el @@ -43,6 +43,9 @@ (setq-local font-lock-constant-face 'faces--test2) (insert ";; `symbol'") (font-lock-fontify-region (point-min) (point-max)) + (goto-char (point-min)) + (should (equal (background-color-at-point) "black")) + (should (equal (foreground-color-at-point) "black")) (goto-char 6) (should (equal (background-color-at-point) "black")) (should (equal (foreground-color-at-point) "black")))) commit 4c060051bfcb2ac9b0f825adc9482c23c0b8ffc4 Author: Artur Malabarba Date: Fri Oct 30 18:19:26 2015 +0000 * lisp/faces.el (faces--attribute-at-point): Fix bug introduced by previous commit. diff --git a/lisp/faces.el b/lisp/faces.el index 8c54809..f96df05 100644 --- a/lisp/faces.el +++ b/lisp/faces.el @@ -1965,12 +1965,13 @@ If ATTRIBUTE-UNNAMED is non-nil, it is a symbol to look for in unnamed faces (e.g, `foreground-color')." ;; `face-at-point' alone is not sufficient. It only gets named faces. ;; Need also pick up any face properties that are not associated with named faces. - (let (found) - (dolist (face (or (get-char-property (point) 'read-face-name) - ;; If `font-lock-mode' is on, `font-lock-face' takes precedence. - (and font-lock-mode - (get-char-property (point) 'font-lock-face)) - (get-char-property (point) 'face))) + (let ((faces (or (get-char-property (point) 'read-face-name) + ;; If `font-lock-mode' is on, `font-lock-face' takes precedence. + (and font-lock-mode + (get-char-property (point) 'font-lock-face)) + (get-char-property (point) 'face))) + (found nil)) + (dolist (face (if (listp faces) faces (list faces))) (cond (found) ((and face (symbolp face)) (let ((value (face-attribute-specified-or commit 76033d22a298f58bd8feed90dce035de3be86503 Author: Artur Malabarba Date: Fri Oct 30 18:15:21 2015 +0000 * test/automated/faces-tests.el: New file diff --git a/test/automated/faces-tests.el b/test/automated/faces-tests.el new file mode 100644 index 0000000..4029003 --- /dev/null +++ b/test/automated/faces-tests.el @@ -0,0 +1,51 @@ +;;; faces-tests.el --- Tests for faces.el -*- lexical-binding: t; -*- + +;; Copyright (C) 2013-2015 Free Software Foundation, Inc. + +;; Author: Artur Malabarba +;; Keywords: + +;; This program is free software; you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. + +;; This program is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with this program. If not, see . + +;;; Code: + +(require 'ert) +(require 'faces) + +(defface faces--test1 + '((t :background "black" :foreground "black")) + "") + +(defface faces--test2 + '((t :box 1)) + "") + +(ert-deftest faces--test-color-at-point () + (with-temp-buffer + (insert (propertize "STRING" 'face '(faces--test2 faces--test1))) + (goto-char (point-min)) + (should (equal (background-color-at-point) "black")) + (should (equal (foreground-color-at-point) "black"))) + (with-temp-buffer + (emacs-lisp-mode) + (setq-local font-lock-comment-face 'faces--test1) + (setq-local font-lock-constant-face 'faces--test2) + (insert ";; `symbol'") + (font-lock-fontify-region (point-min) (point-max)) + (goto-char 6) + (should (equal (background-color-at-point) "black")) + (should (equal (foreground-color-at-point) "black")))) + +(provide 'faces-tests) +;;; faces-tests.el ends here commit 7ccedcb486ee4e37da54dd82a8557c80616d9467 Author: Artur Malabarba Date: Fri Oct 30 15:00:37 2015 +0000 * lisp/faces.el: Refactor common code and fix a bug (faces--attribute-at-point): New function. Fix a bug when the face at point is a list of faces and the desired attribute is not on the first one. (foreground-color-at-point, background-color-at-point): Use it. diff --git a/lisp/faces.el b/lisp/faces.el index de8a0b5..8c54809 100644 --- a/lisp/faces.el +++ b/lisp/faces.el @@ -1958,39 +1958,41 @@ Return nil if there is no face." (delete-dups (nreverse faces)) (car (last faces))))) -(defun foreground-color-at-point () - "Return the foreground color of the character after point." +(defun faces--attribute-at-point (attribute &optional attribute-unnamed) + "Return the face ATTRIBUTE at point. +ATTRIBUTE is a keyword. +If ATTRIBUTE-UNNAMED is non-nil, it is a symbol to look for in +unnamed faces (e.g, `foreground-color')." ;; `face-at-point' alone is not sufficient. It only gets named faces. ;; Need also pick up any face properties that are not associated with named faces. - (let ((face (or (face-at-point) - (get-char-property (point) 'read-face-name) - (get-char-property (point) 'face)))) - (cond ((and face (symbolp face)) - (let ((value (face-foreground face nil 'default))) - (if (member value '("unspecified-fg" "unspecified-bg")) - nil - value))) - ((consp face) - (cond ((memq 'foreground-color face) (cdr (memq 'foreground-color face))) - ((memq ':foreground face) (cadr (memq ':foreground face))))) - (t nil)))) ; Invalid face value. + (let (found) + (dolist (face (or (get-char-property (point) 'read-face-name) + ;; If `font-lock-mode' is on, `font-lock-face' takes precedence. + (and font-lock-mode + (get-char-property (point) 'font-lock-face)) + (get-char-property (point) 'face))) + (cond (found) + ((and face (symbolp face)) + (let ((value (face-attribute-specified-or + (face-attribute face attribute nil t) + nil))) + (unless (member value '(nil "unspecified-fg" "unspecified-bg")) + (setq found value)))) + ((consp face) + (setq found (cond ((and attribute-unnamed + (memq attribute-unnamed face)) + (cdr (memq attribute-unnamed face))) + ((memq attribute face) (cadr (memq attribute face)))))))) + (or found + (face-attribute 'default attribute)))) + +(defun foreground-color-at-point () + "Return the foreground color of the character after point." + (faces--attribute-at-point :foreground 'foreground-color)) (defun background-color-at-point () "Return the background color of the character after point." - ;; `face-at-point' alone is not sufficient. It only gets named faces. - ;; Need also pick up any face properties that are not associated with named faces. - (let ((face (or (face-at-point) - (get-char-property (point) 'read-face-name) - (get-char-property (point) 'face)))) - (cond ((and face (symbolp face)) - (let ((value (face-background face nil 'default))) - (if (member value '("unspecified-fg" "unspecified-bg")) - nil - value))) - ((consp face) - (cond ((memq 'background-color face) (cdr (memq 'background-color face))) - ((memq ':background face) (cadr (memq ':background face))))) - (t nil)))) ; Invalid face value. + (faces--attribute-at-point :background 'background-color)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; commit 5260ea68e02b1c1578330d1eeafdb8ff9079c6c9 Author: Przemysław Wojnowski Date: Fri Oct 30 14:49:12 2015 +0100 * etc/tutorials/TUTORIAL.translators: Fix PL names diff --git a/etc/tutorials/TUTORIAL.translators b/etc/tutorials/TUTORIAL.translators index 25897d7..2747d39 100644 --- a/etc/tutorials/TUTORIAL.translators +++ b/etc/tutorials/TUTORIAL.translators @@ -53,9 +53,9 @@ Author: Pieter Schoenmakers Maintainer: Pieter Schoenmakers * TUTORIAL.pl: -Author: Beatę Wierzchołowską - Janusz S. Bien -Maintainer: Radoslaw Moszczynski +Author: Beata Wierzchołowska + Janusz S. Bień +Maintainer: Radosław Moszczyński * TUTORIAL.pt_BR: Author: Marcelo Toledo commit cadfceab1aaafaf2a1fd4f7a27fe488e9a06c3ae Author: Juanma Barranquero Date: Fri Oct 30 14:49:52 2015 +0100 * lisp/character-fold.el: Provide `character-fold' diff --git a/lisp/character-fold.el b/lisp/character-fold.el index 223a2cd..0e156c5 100644 --- a/lisp/character-fold.el +++ b/lisp/character-fold.el @@ -157,4 +157,6 @@ BOUND NOERROR COUNT are passed to `re-search-backward'." (interactive "sSearch: ") (re-search-backward (character-fold-to-regexp string) bound noerror count)) +(provide 'character-fold) + ;;; character-fold.el ends here commit 1f67a21149d93403f6f27d7d76ed14f826bb019e Author: Tassilo Horn Date: Fri Oct 30 13:39:43 2015 +0100 Add more faces for Gnus and ivy * etc/themes/tsdh-dark-theme.el (tsdh-dark): add more faces for Gnus and ivy. diff --git a/etc/themes/tsdh-dark-theme.el b/etc/themes/tsdh-dark-theme.el index 1a899b2..e3cf3db 100644 --- a/etc/themes/tsdh-dark-theme.el +++ b/etc/themes/tsdh-dark-theme.el @@ -49,11 +49,17 @@ '(gnus-button ((t (:inherit button)))) '(gnus-cite-1 ((t (:foreground "dark turquoise"))) t) '(gnus-group-mail-1 ((t (:inherit gnus-group-mail-1-empty :weight bold)))) - '(gnus-group-mail-1-empty ((t (:foreground "#00CC00")))) + '(gnus-group-mail-1-empty ((t (:foreground "turquoise1")))) + '(gnus-group-mail-2 ((t (:inherit gnus-group-mail-2-empty :weight bold)))) + '(gnus-group-mail-2-empty ((t (:foreground "turquoise3")))) '(gnus-group-mail-3 ((t (:inherit gnus-group-mail-3-empty :weight bold)))) - '(gnus-group-mail-3-empty ((t (:foreground "#009999")))) + '(gnus-group-mail-3-empty ((t (:foreground "turquoise4")))) + '(gnus-group-news-1 ((t (:inherit gnus-group-news-1-empty :weight bold)))) + '(gnus-group-news-1-empty ((t (:foreground "SpringGreen1")))) + '(gnus-group-news-2 ((t (:inherit gnus-group-news-2-empty :weight bold)))) + '(gnus-group-news-2-empty ((t (:foreground "SpringGreen3")))) '(gnus-group-news-3 ((t (:inherit gnus-group-news-3-empty :weight bold)))) - '(gnus-group-news-3-empty ((t (:foreground "light green")))) + '(gnus-group-news-3-empty ((t (:foreground "SpringGreen4")))) '(gnus-header-content ((t (:foreground "#A64B00")))) '(gnus-header-name ((t (:weight bold)))) '(gnus-header-subject ((t (:foreground "#A64B00" :weight bold)))) @@ -70,7 +76,7 @@ '(ido-only-match ((t (:foreground "medium spring green" :weight bold)))) '(ido-subdir ((t (:inherit dired-directory :weight normal)))) '(ivy-current-match ((t (:inherit highlight)))) - '(ivy-minibuffer-match-face-1 ((t (:background "CadetBlue4" :weight bold)))) + '(ivy-minibuffer-match-face-1 ((t (:background "gray50" :weight normal)))) '(ivy-minibuffer-match-face-2 ((t (:background "gold3" :weight bold)))) '(ivy-minibuffer-match-face-4 ((t (:background "forest green" :weight bold)))) '(ivy-remote ((t (:foreground "deep sky blue" :slant italic)))) commit 36574e0a238277f9c7ee7d39ce2b82fa3ca83061 Author: Michael Albinus Date: Fri Oct 30 13:11:35 2015 +0100 Some minor fixes for tramp-gvfs.el * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes): An attribute returned by gvfs-info might be empty. In case of undetermined uid or gid, return "UNKNOWN" or -1, respectively. (tramp-zeroconf-parse-service-device-names): New defun. Derived from `tramp-zeroconf-parse-workstation-device-names'. (top): Add completion functions for "afp" and "smb" methods. diff --git a/lisp/net/tramp-gvfs.el b/lisp/net/tramp-gvfs.el index c68b5e4..b93c4cf 100644 --- a/lisp/net/tramp-gvfs.el +++ b/lisp/net/tramp-gvfs.el @@ -48,7 +48,7 @@ ;; comments. ;; The custom option `tramp-gvfs-methods' contains the list of -;; supported connection methods. Per default, these are "dav", +;; supported connection methods. Per default, these are "afp", "dav", ;; "davs", "obex", "sftp" and "synce". Note that with "obex" it might ;; be necessary to pair with the other bluetooth device, if it hasn't ;; been done already. There might be also some few seconds delay in @@ -78,7 +78,7 @@ ;; For hostname completion, information is retrieved either from the ;; bluez daemon (for the "obex" method), the hal daemon (for the -;; "synce" method), or from the zeroconf daemon (for the "dav", +;; "synce" method), or from the zeroconf daemon (for the "afp", "dav", ;; "davs", and "sftp" methods). The zeroconf daemon is pre-configured ;; to discover services in the "local" domain. If another domain ;; shall be used for discovering services, the custom option @@ -808,83 +808,72 @@ file names." (when (re-search-forward "attributes:" nil t) ;; ... directory or symlink (goto-char (point-min)) - (setq dirp (if (re-search-forward "type:\\s-+directory" nil t) t)) + (setq dirp (if (re-search-forward "type: directory" nil t) t)) (goto-char (point-min)) (setq res-symlink-target (if (re-search-forward - "standard::symlink-target:\\s-+\\(.*\\)$" nil t) + "standard::symlink-target: \\(.+\\)$" nil t) (match-string 1))) ;; ... number links (goto-char (point-min)) (setq res-numlinks - (if (re-search-forward - "unix::nlink:\\s-+\\([0-9]+\\)" nil t) + (if (re-search-forward "unix::nlink: \\([0-9]+\\)" nil t) (string-to-number (match-string 1)) 0)) ;; ... uid and gid (goto-char (point-min)) (setq res-uid - (or (if (eq id-format 'integer) - (if (re-search-forward - "unix::uid:\\s-+\\([0-9]+\\)" nil t) - (string-to-number (match-string 1))) - (if (and - (re-search-forward "owner::user:\\s-+" nil t) - (re-search-forward "(\\S-+\\)" (point-at-eol) t)) - (match-string 1))) - (tramp-get-local-uid id-format))) + (if (eq id-format 'integer) + (if (re-search-forward "unix::uid: \\([0-9]+\\)" nil t) + (string-to-number (match-string 1)) + -1) + (if (re-search-forward "owner::user: \\(.+\\)$" nil t) + (match-string 1) + "UNKNOWN"))) (setq res-gid - (or (if (eq id-format 'integer) - (if (re-search-forward - "unix::gid:\\s-+\\([0-9]+\\)" nil t) - (string-to-number (match-string 1))) - (if (and - (re-search-forward "owner::group:\\s-+" nil t) - (re-search-forward "(\\S-+\\)" (point-at-eol) t)) - (match-string 1))) - (tramp-get-local-gid id-format))) + (if (eq id-format 'integer) + (if (re-search-forward "unix::gid: \\([0-9]+\\)" nil t) + (string-to-number (match-string 1)) + -1) + (if (re-search-forward "owner::group: \\(.+\\)$" nil t) + (match-string 1) + "UNKNOWN"))) ;; ... last access, modification and change time (goto-char (point-min)) (setq res-access - (if (re-search-forward - "time::access:\\s-+\\([0-9]+\\)" nil t) + (if (re-search-forward "time::access: \\([0-9]+\\)" nil t) (seconds-to-time (string-to-number (match-string 1))) '(0 0))) (goto-char (point-min)) (setq res-mod - (if (re-search-forward - "time::modified:\\s-+\\([0-9]+\\)" nil t) + (if (re-search-forward "time::modified: \\([0-9]+\\)" nil t) (seconds-to-time (string-to-number (match-string 1))) '(0 0))) (goto-char (point-min)) (setq res-change - (if (re-search-forward - "time::changed:\\s-+\\([0-9]+\\)" nil t) + (if (re-search-forward "time::changed: \\([0-9]+\\)" nil t) (seconds-to-time (string-to-number (match-string 1))) '(0 0))) ;; ... size (goto-char (point-min)) (setq res-size - (if (re-search-forward - "standard::size:\\s-+\\([0-9]+\\)" nil t) + (if (re-search-forward "standard::size: \\([0-9]+\\)" nil t) (string-to-number (match-string 1)) 0)) ;; ... file mode flags (goto-char (point-min)) (setq res-filemodes - (if (re-search-forward "unix::mode:\\s-+\\([0-9]+\\)" nil t) + (if (re-search-forward "unix::mode: \\([0-9]+\\)" nil t) (tramp-file-mode-from-int (string-to-number (match-string 1))) (if dirp "drwx------" "-rwx------"))) ;; ... inode and device (goto-char (point-min)) (setq res-inode - (if (re-search-forward - "unix::inode:\\s-+\\([0-9]+\\)" nil t) + (if (re-search-forward "unix::inode: \\([0-9]+\\)" nil t) (string-to-number (match-string 1)) (tramp-get-inode v))) (goto-char (point-min)) (setq res-device - (if (re-search-forward - "unix::device:\\s-+\\([0-9]+\\)" nil t) + (if (re-search-forward "unix::device: \\([0-9]+\\)" nil t) (string-to-number (match-string 1)) (tramp-get-device v))) @@ -1733,12 +1722,12 @@ be used." ;; D-Bus zeroconf functions. -(defun tramp-zeroconf-parse-workstation-device-names (_ignore) +(defun tramp-zeroconf-parse-service-device-names (service) "Return a list of (user host) tuples allowed to access." (mapcar (lambda (x) (list nil (zeroconf-service-host x))) - (zeroconf-list-services "_workstation._tcp"))) + (zeroconf-list-services service))) (defun tramp-zeroconf-parse-webdav-device-names (_ignore) "Return a list of (user host) tuples allowed to access." @@ -1758,16 +1747,20 @@ be used." (list user host))) (zeroconf-list-services "_webdav._tcp"))) -;; Add completion function for SFTP, DAV and DAVS methods. +;; Add completion functions for AFP, DAV, DAVS, SFTP and SMB methods. (when (and tramp-gvfs-enabled (member zeroconf-service-avahi (dbus-list-known-names :system))) (zeroconf-init tramp-gvfs-zeroconf-domain) (tramp-set-completion-function - "sftp" '((tramp-zeroconf-parse-workstation-device-names ""))) + "afp" '((tramp-zeroconf-parse-service-device-names "_afpovertcp._tcp"))) (tramp-set-completion-function "dav" '((tramp-zeroconf-parse-webdav-device-names ""))) (tramp-set-completion-function - "davs" '((tramp-zeroconf-parse-webdav-device-names "")))) + "davs" '((tramp-zeroconf-parse-webdav-device-names ""))) + (tramp-set-completion-function + "sftp" '((tramp-zeroconf-parse-service-device-names "_workstation._tcp"))) + (tramp-set-completion-function + "smb" '((tramp-zeroconf-parse-service-device-names "_smb._tcp")))) ;; D-Bus SYNCE functions. commit 3fb3af1d2a62e9a0a7bda7a296b621312919f922 Author: Artur Malabarba Date: Fri Oct 30 12:18:46 2015 +0000 * test/automated/character-fold-tests.el: New file diff --git a/test/automated/character-fold-tests.el b/test/automated/character-fold-tests.el new file mode 100644 index 0000000..2b1a15c --- /dev/null +++ b/test/automated/character-fold-tests.el @@ -0,0 +1,58 @@ +;;; character-fold-tests.el --- Tests for character-fold.el -*- lexical-binding: t; -*- + +;; Copyright (C) 2013-2015 Free Software Foundation, Inc. + +;; Author: Artur Malabarba + +;; This program is free software; you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. + +;; This program is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with this program. If not, see . + +;;; Code: + +(require 'ert) +(require 'character-fold) + +(defun character-fold--random-word (n) + (mapconcat (lambda (_) (string (+ 9 (random 117)))) + (make-list n nil) "")) + +(defun character-fold--test-search-with-contents (contents string) + (with-temp-buffer + (insert contents) + (goto-char (point-min)) + (should (search-forward-regexp (character-fold-to-regexp string) nil 'noerror)) + (goto-char (point-min)) + (should (character-fold-search-forward string nil 'noerror)) + (should (character-fold-search-backward string nil 'noerror)))) + + +(ert-deftest character-fold--test-consistency () + (dotimes (n 100) + (let ((w (character-fold--random-word n))) + ;; A folded string should always match the original string. + (character-fold--test-search-with-contents w w)))) + +(ert-deftest character-fold--test-lax-whitespace () + (dotimes (n 100) + (let ((w1 (character-fold--random-word n)) + (w2 (character-fold--random-word n)) + (search-spaces-regexp "\\s-+")) + (character-fold--test-search-with-contents + (concat w1 "\s\n\s\t\f\t\n\r\t" w2) + (concat w1 " " w2)) + (character-fold--test-search-with-contents + (concat w1 "\s\n\s\t\f\t\n\r\t" w2) + (concat w1 (make-string 90 ?\s) w2))))) + +(provide 'character-fold-tests) +;;; character-fold-tests.el ends here commit 8c443c55d8c3346ccd093b7d7434b5779ba94a09 Author: Artur Malabarba Date: Thu Oct 29 13:21:48 2015 +0000 * test/automated/sort-tests.el: New file Tests in this file are randomly generated and then tested with regular, reverse, and case-fold sorting. diff --git a/test/automated/sort-tests.el b/test/automated/sort-tests.el new file mode 100644 index 0000000..22acb83 --- /dev/null +++ b/test/automated/sort-tests.el @@ -0,0 +1,106 @@ +;;; sort-tests.el --- Tests for sort.el -*- lexical-binding: t; -*- + +;; Copyright (C) 2015 Free Software Foundation, Inc. + +;; Author: Artur Malabarba + +;; This program is free software; you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. + +;; This program is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with this program. If not, see . + +;;; Code: + +(require 'ert) +(require 'sort) + +(defun sort-tests-random-word (n) + (mapconcat (lambda (_) (string (let ((c (random 52))) + (+ (if (> c 25) 71 65) + c)))) + (make-list n nil) "")) + +(defun sort-tests--insert-words-sort-and-compare (words separator function reverse less-predicate) + (with-temp-buffer + (let ((aux words)) + (while aux + (insert (pop aux)) + (when aux + (insert separator)))) + ;; Final newline. + (insert "\n") + (funcall function reverse (point-min) (point-max)) + (let ((sorted-words + (mapconcat #'identity + (let ((x (sort (copy-sequence words) less-predicate))) + (if reverse (reverse x) x)) + separator))) + (should (string= (substring (buffer-string) 0 -1) sorted-words))))) + +;;; This function uses randomly generated tests and should satisfy +;;; most needs for this lib. +(cl-defun sort-tests-test-sorter-function (separator function &key generator less-pred noreverse) + "Check that FUNCTION correctly sorts words separated by SEPARATOR. +This checks whether it is equivalent to sorting a list of such +words via LESS-PREDICATE, and then inserting them separated by +SEPARATOR. +LESS-PREDICATE defaults to `string-lessp'. +GENERATOR is a function called with one argument that returns a +word, it defaults to `sort-tests-random-word'. +NOREVERSE means that the first arg of FUNCTION is not used for +reversing the sort." + (dotimes (n 20) + ;; Sort n words of length n. + (let ((words (mapcar (or generator #'sort-tests-random-word) (make-list n n))) + (sort-fold-case nil) + (less-pred (or less-pred #'string<))) + (sort-tests--insert-words-sort-and-compare words separator function nil less-pred) + (unless noreverse + (sort-tests--insert-words-sort-and-compare + words separator function 'reverse less-pred)) + (let ((less-pred-case (lambda (a b) (funcall less-pred (downcase a) (downcase b)))) + (sort-fold-case t)) + (sort-tests--insert-words-sort-and-compare words separator function nil less-pred-case) + (unless noreverse + (sort-tests--insert-words-sort-and-compare + words separator function 'reverse less-pred-case)))))) + +(ert-deftest sort-tests--lines () + (sort-tests-test-sorter-function "\n" #'sort-lines)) + +(ert-deftest sort-tests--paragraphs () + (let ((paragraph-separate "[\s\t\f]*$")) + (sort-tests-test-sorter-function "\n\n" #'sort-paragraphs))) + +(ert-deftest sort-tests--numeric-fields () + (cl-labels ((field-to-number (f) (string-to-number (car (split-string f))))) + (sort-tests-test-sorter-function "\n" (lambda (_ l r) (sort-numeric-fields 1 l (1- r))) + :noreverse t + :generator (lambda (_) (format "%s %s" (random) (sort-tests-random-word 20))) + :less-pred (lambda (a b) (< (field-to-number a) + (field-to-number b)))))) + +(ert-deftest sort-tests--fields-1 () + (cl-labels ((field-n (f n) (elt (split-string f) (1- n)))) + (sort-tests-test-sorter-function "\n" (lambda (_ l r) (sort-fields 1 l (1- r))) + :noreverse t + :generator (lambda (n) (concat (sort-tests-random-word n) " " (sort-tests-random-word n))) + :less-pred (lambda (a b) (string< (field-n a 1) (field-n b 1)))))) + +(ert-deftest sort-tests--fields-2 () + (cl-labels ((field-n (f n) (elt (split-string f) (1- n)))) + (sort-tests-test-sorter-function "\n" (lambda (_ l r) (sort-fields 2 l (1- r))) + :noreverse t + :generator (lambda (n) (concat (sort-tests-random-word n) " " (sort-tests-random-word n))) + :less-pred (lambda (a b) (string< (field-n a 2) (field-n b 2)))))) + +(provide 'sort-tests) +;;; sort-tests.el ends here commit 2d571a83f03d8de284878eaffabee3c4b1559042 Author: Eli Zaretskii Date: Fri Oct 30 12:28:00 2015 +0200 Describe known problems with pinning Emacs to taskbar * etc/PROBLEMS: Describe the problem with pinning Emacs to taskbar on Windows 10. For the details, see the discussion starting at http://lists.gnu.org/archive/html/help-emacs-windows/2015-09/msg00000.html. diff --git a/etc/PROBLEMS b/etc/PROBLEMS index 1b48318..0f76bfc 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS @@ -2044,6 +2044,36 @@ security reasons. The solution is to close the Web browser while working in Emacs, or to add emacs.exe to the list of applications that are allowed to use the clipboard when the Web browser is open. +** "Pinning" Emacs to the taskbar doesn't work on Windows 10 + +"Doesn't work" here means that if you invoke Emacs by clicking on the +pinned icon, a separate button appears on the taskbar, instead of the +expected effect of the icon you clicked on being converted to that +button. + +First, be sure to edit the Properties of the pinned icon to invoke +runemacs.exe, not emacs.exe. (The latter will cause an extra cmd +window to appear when you invoke Emacs from the pinned icon.) + +But the real cause of the problem is the fact that the pinned icon +(which is really a shortcut in a special directory) lacks a unique +application-defined Application User Model ID (AppUserModelID) that +identifies the current process to the taskbar. This identifier allows +an application to group its associated processes and windows under a +single taskbar button. Emacs on Windows specifies a unique +AppUserModelID when it starts, but Windows 10, unlike previous +versions of MS-Windows, does not propagate that ID to the pinned icon. + +To work around this, use some utility, such as 'win7appid', to set the +AppUserModelID of the pinned icon to the string "Gnu.Emacs". The +shortcut files corresponding to icons you pinned are stored by Windows +in the following subdirectory of your user's directory (by default +C:\Users\\): + + AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar + +Look for the file 'emacs.lnk' there. + ** Windows 95 and networking. To support server sockets, Emacs loads ws2_32.dll. If this file is commit 25be5df44a7c4e67e365b428a424e9dd957f2687 Author: Artur Malabarba Date: Fri Oct 30 11:04:50 2015 +0000 * lisp/isearch.el: Avoid an error that blocks isearch (isearch-update): Don't error if `isearch--current-buffer' has been killed. * test/automated/isearch-tests.el (isearch--test-update): New file. diff --git a/lisp/isearch.el b/lisp/isearch.el index e9eec01..b762884 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -954,7 +954,7 @@ used to set the value of `isearch-regexp-function'." "This is called after every isearch command to update the display. The last thing it does is to run `isearch-update-post-hook'." (unless (eq (current-buffer) isearch--current-buffer) - (when isearch--current-buffer + (when (buffer-live-p isearch--current-buffer) (with-current-buffer isearch--current-buffer (setq cursor-sensor-inhibit (delq 'isearch cursor-sensor-inhibit)))) (setq isearch--current-buffer (current-buffer)) diff --git a/test/automated/isearch-tests.el b/test/automated/isearch-tests.el new file mode 100644 index 0000000..d60c229 --- /dev/null +++ b/test/automated/isearch-tests.el @@ -0,0 +1,32 @@ +;;; isearch-tests.el --- Tests for isearch.el -*- lexical-binding: t; -*- + +;; Copyright (C) 2013-2015 Free Software Foundation, Inc. + +;; Author: Artur Malabarba + +;; This program is free software; you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. + +;; This program is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with this program. If not, see . + +;;; Code: + +(require 'ert) + +(ert-deftest isearch--test-update () + (with-temp-buffer + (setq isearch--current-buffer (current-buffer))) + (with-temp-buffer + (isearch-update) + (should (equal isearch--current-buffer (current-buffer))))) + +(provide 'isearch-tests) +;;; isearch-tests.el ends here commit 44470fed6f720792b2d91b907c52ce30559d03e7 Author: Phil Sainty Date: Fri Oct 30 12:05:33 2015 +0200 Fix documentation of 'beginning/end-of-buffer' * lisp/simple.el (beginning-of-buffer, end-of-buffer): Clarify conditions under which the mark will be pushed at the previous position. (Bug#21748) diff --git a/lisp/simple.el b/lisp/simple.el index 338a060..1f2f4fe 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -905,8 +905,8 @@ With numeric arg N, put point N/10 of the way from the beginning. If the buffer is narrowed, this command uses the beginning of the accessible part of the buffer. -If Transient Mark mode is disabled, leave mark at previous -position, unless a \\[universal-argument] prefix is supplied." +Push mark at previous position, unless either a \\[universal-argument] prefix +is supplied, or Transient Mark mode is enabled and the mark is active." (declare (interactive-only "use `(goto-char (point-min))' instead.")) (interactive "^P") (or (consp arg) @@ -929,8 +929,8 @@ With numeric arg N, put point N/10 of the way from the end. If the buffer is narrowed, this command uses the end of the accessible part of the buffer. -If Transient Mark mode is disabled, leave mark at previous -position, unless a \\[universal-argument] prefix is supplied." +Push mark at previous position, unless either a \\[universal-argument] prefix +is supplied, or Transient Mark mode is enabled and the mark is active." (declare (interactive-only "use `(goto-char (point-max))' instead.")) (interactive "^P") (or (consp arg) (region-active-p) (push-mark))