]> code.delx.au - gnu-emacs/commitdiff
Merge from origin/emacs-24
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 29 Mar 2015 21:14:15 +0000 (14:14 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 29 Mar 2015 21:14:15 +0000 (14:14 -0700)
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

1  2 
doc/lispref/ChangeLog
doc/lispref/objects.texi
lisp/ChangeLog
lisp/emacs-lisp/smie.el
src/ChangeLog
src/gtkutil.c

index 9e1b7b074e2a8110879be746730eb1ac221e643a,b11d0a0031137135e933f3f3a2bc6b713eff1ca2..c24bb646fa6263f9fbf021755b3e9db046528b77
@@@ -1,12 -1,7 +1,16 @@@
 -2015-03-25  Glenn Morris  <rgm@gnu.org>
++2015-03-29  Glenn Morris  <rgm@gnu.org>
+       * objects.texi (Equality Predicates): Fix typo in example.
 +2015-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * positions.texi (Excursions, Narrowing): `save-excursion' does not
 +      save&restore the mark any more.
 +
 +2015-03-24  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * numbers.texi (Float Basics): Improve ldexp documentation.
 +
  2015-03-23  Eli Zaretskii  <eliz@gnu.org>
  
        * commands.texi (Event Input Misc): Fix incorrect usage of @code.
Simple merge
diff --cc lisp/ChangeLog
index c8e84a3c72938b6f315bac60024bb74286239f0a,fd9857e792ccef42fe1af5b8d56c42d7f6489e69..fd346f05afbaeec80e95c0457d30593092b1bfc3
 -2015-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
++2015-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * 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  <dgutov@yandex.ru>
++
++      * 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  <nobu@ruby-lang.org>
++
++      * 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  <jan.h.d@swipnet.se>
 +
 +      * emacs-lisp/package.el (package-refresh-contents): Fix spelling
 +      error in previous change.
 +
 +2015-03-28  Tom Willemse  <tom@ryuslash.org>  (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  <jan.h.d@swipnet.se>
 +
 +      * 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  <wjenkner@inode.at>
 +
 +      * 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  <dancol@dancol.org>
 +      * progmodes/python.el
 +      (python-indent-guess-indent-offset-verbose): New defcustom.
 +      (python-indent-guess-indent-offset): Use it.
 +
 +2015-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * 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  <boruch_baum@gmx.com>  (tiny change)
 +
 +      * bookmark.el (bookmark-show-all-annotations): Sort them (bug#20177).
 +
 +2015-03-25  Dmitry Gutov  <dgutov@yandex.ru>
 +
 +      * 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  <bruce.connor.am@gmail.com>
 +
 +      * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
 +      Don't complain about args starting with _.
 +
 +2015-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * 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 <nicolas@petton.fr>
 +
 +      * emacs-lisp/seq.el: Documentation improvements.
 +
 +2015-03-25  Glenn Morris  <rgm@gnu.org>
 +
 +      * 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  <olaf.rogalsky@gmail.com>
 +
 +      * 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  <michael.albinus@gmx.de>
 +
 +      * 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  <ueno@gnu.org>
 +
 +      * epg.el (epg-start-generate-key): Fix typo in "gpg --gen-key"
 +      invocation; make the PARAMETERS documentation clearer.
 +
 +2015-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      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  <monnier@iro.umontreal.ca>
 +
 +      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  <rgm@gnu.org>
  
        * emacs-lisp/authors.el (authors-aliases)
Simple merge
diff --cc src/ChangeLog
index 7874910c8136abf6ea3180cb1d7f80bd900ab825,09b4b3f59a1a723b3b49881a6ffd538ffe0a9223..c11ecb7e3ae7d94ccdb53a16487eba09fd837374
 -2015-03-25  Martin Rudalics  <rudalics@gmx.at>
++2015-03-29  Martin Rudalics  <rudalics@gmx.at>
+       * gtkutil.c (update_theme_scrollbar_width): Don't round up
+       scroll bar width with GTK3 (Bug#20182).
 -2015-03-22  John F Carr  <jfc@mit.edu>  (tiny change)
 +2015-03-28  Jan Djärv  <jan.h.d@swipnet.se>
  
 -      * 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  <rgm@gnu.org>
 +2015-03-28  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * w32.c (sys_connect): Fix a mistake in previous commit that broke
 +      blocking connections.  (Bug#20159)
 +
 +2015-03-27  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      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  <eliz@gnu.org>
 +
 +      * 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 <storm@cua.dk>, 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  <monnier@iro.umontreal.ca>
 +
 +      * 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  <eggert@cs.ucla.edu>
 +
 +      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  <dancol@dancol.org>
 +
 +      * process.c (Fprocess_running_child_p): Return number identifier of
 +      the foreground process group if we know it.
 +
 +2015-03-23  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      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  <ueno@gnu.org>
 +
 +      * 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  <jan.h.d@swipnet.se>
 +
 +      * fontset.c (fontset_pattern_regexp): Replace + 1 with + 3 for
 +      regexsize (Bug#20156).
 +
 +2015-03-21  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * 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  <rgm@gnu.org>
  
        * frame.h (x_set_bitmap_icon): Don't set the icon if icon-type is
        nil/not present in the parameter alist.  (Bug#19680)
diff --cc src/gtkutil.c
Simple merge