From: Paul Eggert Date: Sun, 29 Mar 2015 21:14:15 +0000 (-0700) Subject: Merge from origin/emacs-24 X-Git-Tag: emacs-25.0.90~2564^2~44 X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/0479a1b62ceeb9586168146e2c8f49f2a5ebaf2f Merge from origin/emacs-24 5e0314f * smie.el (smie*ward-sexp-command): Don't pretend the arg is optional 13cf575 Don't round up scroll bar width with GTK3 (Bug#20182). 921dd0d * doc/lispref/objects.texi (Equality Predicates): Fix typo in example. Conflicts: doc/lispref/ChangeLog lisp/ChangeLog src/ChangeLog --- 0479a1b62ceeb9586168146e2c8f49f2a5ebaf2f diff --cc doc/lispref/ChangeLog index 9e1b7b074e,b11d0a0031..c24bb646fa --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@@ -1,12 -1,7 +1,16 @@@ -2015-03-25 Glenn Morris ++2015-03-29 Glenn Morris + + * objects.texi (Equality Predicates): Fix typo in example. + +2015-03-25 Stefan Monnier + + * positions.texi (Excursions, Narrowing): `save-excursion' does not + save&restore the mark any more. + +2015-03-24 Paul Eggert + + * numbers.texi (Float Basics): Improve ldexp documentation. + 2015-03-23 Eli Zaretskii * commands.texi (Event Input Misc): Fix incorrect usage of @code. diff --cc lisp/ChangeLog index c8e84a3c72,fd9857e792..fd346f05af --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@@ -1,142 -1,9 +1,163 @@@ -2015-03-26 Stefan Monnier ++2015-03-29 Stefan Monnier + + * emacs-lisp/smie.el (smie-backward-sexp-command) + (smie-forward-sexp-command): Don't pretend the arg is optional + (bug#20205). + ++2015-03-29 Dmitry Gutov ++ ++ * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re): ++ Detect regexps after `!'. (Bug#19285) ++ ++ * progmodes/ruby-mode.el (ruby-font-lock-keywords): ++ Use `font-lock-constant-face' for nil, true and false. ++ Highlight `self' as a keyword. (Bug#17733) ++ ++2015-03-29 Nobuyoshi Nakada ++ ++ * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re): ++ Expect beginning of regexp also after open brace or vertical bar. ++ (Bug#20026) ++ +2015-03-28 Jan Djärv + + * emacs-lisp/package.el (package-refresh-contents): Fix spelling + error in previous change. + +2015-03-28 Tom Willemse (tiny change) + + * elec-pair.el (electric-pair-local-mode): New command. + (electric-pair-mode): Mention `electric-pair-local-mode' in the + docstring. + +2015-03-28 Jan Djärv + + * emacs-lisp/package.el (package-refresh-contents): Add a message at + the end so it does not appear to have hanged (Bug#17879). + +2015-03-27 Wolfgang Jenkner + + * font-lock.el (font-lock--remove-face-from-text-property): New + function. Adapted from the previously commented out + remove-single-text-property. + Remove previously unused and commented out auxiliary function + remove-text-property and obsolete comment. + * comint.el (comint-output-filter): Use it to remove + comint-highlight-prompt. + (comint-snapshot-last-prompt, comint-output-filter): Use + font-lock-prepend-text-property for comint-highlight-prompt. + (Bug#20084) + +2015-03-26 Daniel Colascione + * progmodes/python.el + (python-indent-guess-indent-offset-verbose): New defcustom. + (python-indent-guess-indent-offset): Use it. + +2015-03-26 Stefan Monnier + + * emacs-lisp/eieio.el (defclass): Change internal name so as to make + sure only EIEIO files should have "eieio--" prefixes in their .elc. + + * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Silence byte-compiler. + +2015-03-26 Boruch Baum (tiny change) + + * bookmark.el (bookmark-show-all-annotations): Sort them (bug#20177). + +2015-03-25 Dmitry Gutov + + * json.el (json-special-chars): Don't treat `/' specially, there's + no need to. + (json-encode-string): Only escape quotation mark, backslash and + the control characters U+0000 to U+001F. + +2015-03-25 Artur Malabarba + + * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): + Don't complain about args starting with _. + +2015-03-25 Stefan Monnier + + * international/mule-cmds.el (mule--ucs-names-annotation): New func. + (read-char-by-name): Use it. + + * xt-mouse.el (xterm-mouse--read-number-from-terminal): Fix last commit. + +2015-03-25 Nicolas Petton + + * emacs-lisp/seq.el: Documentation improvements. + +2015-03-25 Glenn Morris + + * net/browse-url.el (browse-url-browser-function) + (browse-url-default-browser): + Remove obsolete items from the explicit listing. + (browse-url-new-window-flag, browse-url-of-file-hook): Doc fixes. + (browse-url-netscape-program, browse-url-netscape-arguments) + (browse-url-netscape-startup-arguments) + (browse-url-galeon-program, browse-url-galeon-arguments) + (browse-url-galeon-startup-arguments) + (browse-url-gnome-moz-program, browse-url-gnome-moz-arguments) + (browse-url-galeon-new-window-is-tab) + (browse-url-netscape-new-window-is-tab) + (browse-url-mosaic-program, browse-url-mosaic-arguments) + (browse-url-mosaic-pidfile, browse-url-CCI-port) + (browse-url-CCI-host, browse-url-netscape-version) + (browse-url-netscape, browse-url-netscape-sentinel) + (browse-url-netscape-reload, browse-url-netscape-send) + (browse-url-galeon, browse-url-galeon-sentinel) + (browse-url-gnome-moz, browse-url-mosaic, browse-url-cci) + (browse-url-w3-gnudoit): Make obsolete. + * ffap.el (ffap-url-fetcher): Simplify default and doc. + +2015-03-25 Olaf Rogalsky + + * xt-mouse.el: Add mouse-tracking support (bug#19416). + (xterm-mouse-translate-1): Handle mouse-movement events. + (xterm-mouse--read-event-sequence-1000) + (xterm-mouse--read-event-sequence-1006): Delete functions. + (xterm-mouse--read-event-sequence): New function that handles both at + the same time. Handle mouse-movements. + (xterm-mouse--read-utf8-char, xterm-mouse--read-number-from-terminal): + New functions. + (xterm-mouse-event): Simplify. + (xterm-mouse-tracking-enable-sequence) + (xterm-mouse-tracking-disable-sequence): Enable mouse tracking. + + * mouse.el (mouse-drag-line): Also ignore `vertical-line' prefix events. + +2015-03-24 Michael Albinus + + * net/tramp-sh.el (tramp-do-file-attributes-with-ls) + (tramp-do-file-attributes-with-stat): Quote file names in output. + (tramp-do-directory-files-and-attributes-with-stat): Use "//" as marker. + +2015-03-24 Daiki Ueno + + * epg.el (epg-start-generate-key): Fix typo in "gpg --gen-key" + invocation; make the PARAMETERS documentation clearer. + +2015-03-24 Stefan Monnier + + Add cl-struct specific optimizations to pcase. + * emacs-lisp/cl-macs.el (cl--struct-all-parents) + (cl--pcase-mutually-exclusive-p): New functions. + (pcase--mutually-exclusive-p): Advise to optimize cl-struct patterns. + + * emacs-lisp/pcase.el (pcase--split-pred): Handle quoted string. + +2015-03-23 Stefan Monnier + + Add new `cl-struct' and `eieio' pcase patterns. + * emacs-lisp/cl-macs.el (cl-struct): New pcase pattern. + * emacs-lisp/eieio.el (eieio-pcase-slot-index-table) + (eieio-pcase-slot-index-from-index-table): New functions. + (eieio): New pcase pattern. + * emacs-lisp/pcase.el (pcase--make-docstring): New function. + (pcase): Use it to build the docstring. + (pcase-defmacro): Make sure the macro is lazy-loaded. + (\`): Move its docstring from `pcase'. + 2015-03-23 Glenn Morris * emacs-lisp/authors.el (authors-aliases) diff --cc src/ChangeLog index 7874910c81,09b4b3f59a..c11ecb7e3a --- a/src/ChangeLog +++ b/src/ChangeLog @@@ -1,126 -1,14 +1,131 @@@ -2015-03-25 Martin Rudalics ++2015-03-29 Martin Rudalics + + * gtkutil.c (update_theme_scrollbar_width): Don't round up + scroll bar width with GTK3 (Bug#20182). + -2015-03-22 John F Carr (tiny change) +2015-03-28 Jan Djärv - * fontset.c (fontset_pattern_regexp): Backport: Replace + 1 with - + 3 in alloca (Bug#20156). + * xsmfns.c (smc_save_yourself_CB): Return if Vinvocation_name or + user_login_name are not strings. -2015-03-12 Glenn Morris +2015-03-28 Eli Zaretskii + + * w32.c (sys_connect): Fix a mistake in previous commit that broke + blocking connections. (Bug#20159) + +2015-03-27 Paul Eggert + + Avoid some core dumps in X session management + Derived from a bug report by Nicolas Richard in: + http://bugs.gnu.org/20191#20 + * xsmfns.c (smc_save_yourself_CB): Don't dump core if + invocation-name is not a string. Initialize user-login-name if it + is not already initialized, and don't dump core if it is not a + string. + (create_client_leader_window): Don't dump core if x-resource-name + and x-resource-class are not both strings. + (x_session_initialize): Don't dump core if x-session-previous-id, + invocation-directory, and invocation-name are not strings. + + Port user-login-name initialization to Qnil == 0 + Derived from a bug report by Nicolas Richard in: + http://bugs.gnu.org/20191#20 + * editfns.c (Fuser_login_name, Fuser_real_login_name) + (syms_of_editfns): Don't rely on all-bits-zero being an Elisp integer, + as this is no longer true now that Qnil == 0. + + Assume !BROKEN_NON_BLOCKING_CONNECT + From a suggestion by Eli Zaretskii in: + http://lists.gnu.org/archive/html/emacs-devel/2015-03/msg00824.html + * process.c (NON_BLOCKING_CONNECT): Simplify by assuming that + BROKEN_NON_BLOCKING_CONNECT is not defined. + (SELECT_CAN_DO_WRITE_MASK): Remove, and assume it's now true. + +2015-03-27 Eli Zaretskii + + * lread.c (substitute_object_recurse): For sub-char-tables, start + the recursive SUBSTITUTE loop from index of 2, to skip the + non-Lisp members of the sub-char-table. See the discussion at + http://lists.gnu.org/archive/html/emacs-devel/2015-03/msg00520.html + for the details. + + Support non-blocking connect on MS-Windows. + Based on ideas from Kim F. Storm , see + http://lists.gnu.org/archive/html/emacs-devel/2006-12/msg00873.html. + + * w32proc.c (reader_thread): If the FILE_CONNECT flag is set, call + '_sys_wait_connect'. If it returns STATUS_CONNECT_FAILED, exit + the thread with code 2. + (sys_select): Support 'wfds' in addition to 'rfds'. If a + descriptor in 'wfds' has its bit set, but the corresponding + fd_info member doesn't have its FILE_CONNECT flag set, ignore the + descriptor. Otherwise, acknowledge a successful non-blocking + connect by resetting the FILE_CONNECT flag and setting cp->status + to STATUS_READ_ACKNOWLEDGED. (Bug#20159) + + * w32.h (STATUS_CONNECT_FAILED): New enumeration value. + (struct _child_process): New member 'errcode'. + (FILE_CONNECT): New flag. + (_sys_wait_connect): Add prototype. + + * w32.c (pfn_WSAEnumNetworkEvents): New function pointer. + (init_winsock): Load WSAEnumNetworkEvents from winsock DLL. + (set_errno): Map WSAEWOULDBLOCK and WSAENOTCONN. + (sys_connect): Support non-blocking 'connect' calls by setting the + FILE_CONNECT flag in the fd_info member and returning EINPROGRESS. + (_sys_read_ahead): Add debug message if this function is called + for a descriptor that waits for a non-blocking connect to complete. + (_sys_wait_connect): New function. + (sys_read): Support STATUS_CONNECT_FAILED. Return the error code + recorded by _sys_wait_connect when the non-blocking connect + failed. Don't call WSAGetLastError before a call to set_errno had + a chance to use its value, since WSAGetLastError clears the last + error. + +2015-03-25 Stefan Monnier + + * editfns.c (save_excursion_save): Don't save the mark. + (save_excursion_restore): Don't restore the mark. + (Fsave_excursion): Fix docstring accordingly. + +2015-03-24 Paul Eggert + + Fix minor ldexp issues + * floatfns.c (Fldexp): Require 2 args. Avoid undefined behavior + if the exponent is out of 'int' range. Improve documentation. + Fixes: bug#20185 + +2015-03-24 Daniel Colascione + + * process.c (Fprocess_running_child_p): Return number identifier of + the foreground process group if we know it. + +2015-03-23 Paul Eggert + + Minor refactoring of new Fmake_process code + * process.c (Fmake_process): Refactor to avoid call to Flength, to + avoid cast to 'char **', and to reduce indenting and reuse of locals. + +2015-03-23 Daiki Ueno + + * process.c (Fmake_process): New function. + (create_process, create_pty): Check p->pty_flag instead of + Vprocess_connection_type. + (syms_of_process): Register QCcommand, QCconnection_type, Qpty, + Qpipe, and Smake_process. Unregister Sstart_process. + +2015-03-22 Jan Djärv + + * fontset.c (fontset_pattern_regexp): Replace + 1 with + 3 for + regexsize (Bug#20156). + +2015-03-21 Eli Zaretskii + + * emacs.c (synchronize_locale) [WINDOWSNT]: Ignore 'category' and + always use LC_ALL instead. Fixes problems with setting + system-time-locale to something non-default. + +2015-03-18 Glenn Morris * frame.h (x_set_bitmap_icon): Don't set the icon if icon-type is nil/not present in the parameter alist. (Bug#19680)