]> code.delx.au - gnu-emacs/commitdiff
Merge from emacs-24; up to 2012-11-03T05:11:34Z!dmantipov@yandex.ru
authorGlenn Morris <rgm@gnu.org>
Sat, 3 Nov 2012 19:14:22 +0000 (12:14 -0700)
committerGlenn Morris <rgm@gnu.org>
Sat, 3 Nov 2012 19:14:22 +0000 (12:14 -0700)
1  2 
ChangeLog
doc/misc/ChangeLog
etc/NEWS
lisp/ChangeLog
msdos/sed2v2.inp
src/ChangeLog
src/xdisp.c

diff --cc ChangeLog
index e67369492dafb7731e34b885142e27dd9e99f635,a139c0dfb6dcb0a33f4eb92b07aff24febecba80..4d632fc8c33b34f0cc29daf5be76e8abb1a41200
+++ b/ChangeLog
@@@ -1,16 -1,7 +1,20 @@@
+ 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
+       * config.bat: Copy lib/execinfo.in.h to lib/execinfo.in-h if needed.
 +2012-11-03  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Fix data-loss with --batch (Bug#9574).
 +      * lib/close-stream.c, lib/close-stream.h, lib/fpending.c
 +      * lib/fpending.h, m4/close-stream.m4, m4/fpending.m4:
 +      New files, from gnulib.
 +      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
 +
 +2012-11-02  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (EMACS_ICON): New variable.
 +      (install-etc): Use EMACS_ICON to allow choice of icon.
 +
  2012-10-26  Glenn Morris  <rgm@gnu.org>
  
        * Makefile.in (EMACS_NAME): New variable.
index 768a846bd1a05693d4c45d047d11060fc0e438d7,62308037fec17bf6a2efdeb8de7839b97f1e1133..0a32fd820446907f45b184dec03ea9f0368b207a
@@@ -1,7 -1,16 +1,18 @@@
 -2012-11-02  Glenn Morris  <rgm@gnu.org>
+ 2012-11-03  Glenn Morris  <rgm@gnu.org>
+       * cl.texi: Further general copyedits.
+       (List Functions): Remove copy-tree, standard elisp for some time.
+       (Efficiency Concerns): Comment out examples that no longer apply.
+       (Compiler Optimizations): Rename from "Optimizing Compiler"; reword.
+       (Creating Symbols, Random Numbers): De-emphasize internal
+       variables cl--gensym-counter and cl--random-state.  (Bug#12788)
++      (Naming Conventions, Type Predicates, Macros)
++      (Predicates on Numbers): No longer mention cl-floatp-safe.
 +2012-11-02  Katsumi Yamaoka  <yamaoka@jpl.org>
  
 -      * cl.texi (Naming Conventions, Type Predicates, Macros)
 -      (Predicates on Numbers): No longer mention cl-floatp-safe.
 +      * gnus.texi (Mail Source Specifiers):
 +      Document :leave keyword used for pop mail source.
  
  2012-11-01  Glenn Morris  <rgm@gnu.org>
  
diff --cc etc/NEWS
Simple merge
diff --cc lisp/ChangeLog
index 4d2f7e766cf075915adbeee990464fcd2117ec63,5be111818dd3dd83e15a06b8a351b1bba8b5556a..c9a389be38bcedadb4f00ec24480ab7e1dceb12c
@@@ -1,25 -1,26 +1,48 @@@
+ 2012-11-03  Glenn Morris  <rgm@gnu.org>
+       * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
+       Rename handler properties back from cl-- to cl-.  (Bug#12788)
+       * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
+ 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
+       * term/pc-win.el: Don't load term/internal from here.
+       * loadup.el: Load term/internal from here.
+ 2012-11-03  Fabián Ezequiel Gallina  <fgallina@cuca>
+       * progmodes/python.el (inferior-python-mode): Fix hang in
+       jit-lock (Bug#12645).
+ 2012-11-03  Martin Rudalics  <rudalics@gmx.at>
+       * window.el (switch-to-visible-buffer)
+       (switch-to-buffer-preserve-window-point): Fix doc-strings.
 +2012-11-03  Glenn Morris  <rgm@gnu.org>
 +
 +      * emacs-lisp/cl-lib.el (cl--random-time):
 +      Rename from cl-random-time.  (Bug#12773)
 +      (cl--gensym-counter, cl--random-state): Update callers.
 +      * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
 +
 +2012-11-03  Chong Yidong  <cyd@gnu.org>
 +
 +      * cus-start.el: Make cursor-type customizable (Bug#11633).
 +
 +2012-11-02  Glenn Morris  <rgm@gnu.org>
 +
 +      * filecache.el: No need to load find-lisp when compiling.
 +      (find-lisp-find-files): Autoload it.
 +      (file-cache-add-directory-recursively): Don't require find-lisp.
 +
 +      * image.el (image-type-from-file-name): Trivial simplification.
 +
 +      * emacs-lisp/bytecomp.el (byte-compile-eval):
 +      Decouple "noruntime" and "cl-functions" warnings.
 +
  2012-11-01  Stephen Berman  <stephen.berman@gmx.net>
  
        * play/gomoku.el (gomoku-display-statistics): Update mode line
index 916c49dd1b501f23f3181460778637b8c14ee312,ef0b7e5b427dfe67eaff1cad1069c988eded870c..ba9eb4fb596d6603e6ea1bc221a1871698459de3
@@@ -70,7 -69,8 +69,8 @@@
  /^#undef PACKAGE_STRING/s/^.*$/#define PACKAGE_STRING ""/
  /^#undef PACKAGE_TARNAME/s/^.*$/#define PACKAGE_TARNAME ""/
  /^#undef PACKAGE_VERSION/s/^.*$/#define PACKAGE_VERSION ""/
 -/^#undef VERSION/s/^.*$/#define VERSION "24.2.50"/
+ /^#undef PENDING_OUTPUT_COUNT/s/^.*$/#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_ptr - (FILE)->_base)/
 +/^#undef VERSION/s/^.*$/#define VERSION "24.3.50"/
  /^#undef SYSTEM_TYPE/s/^.*$/#define SYSTEM_TYPE "ms-dos"/
  /^#undef HAVE_DECL_GETENV/s/^.*$/#define HAVE_DECL_GETENV 1/
  /^#undef SYS_SIGLIST_DECLARED/s/^.*$/#define SYS_SIGLIST_DECLARED 1/
diff --cc src/ChangeLog
index be10016fc33e05381d6d7e2cbb133c2c1f913588,3ae755f3d203185879f2889e18f42786af866591..16b694e6e24db46cf8b7f0f16d2d8420d2d5fc29
@@@ -1,80 -1,22 +1,98 @@@
 -2012-11-03  Jan Djärv  <jan.h.d@swipnet.se>
+ 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
+       * lisp.mk: Adjust comments to the fact that term/internal is now
+       loaded from loadup.el.
+       * msdos.c (msdos_abort): Rename from emacs_abort, and make static.
+       (msdos_fatal_signal): New function.
+       (XMenuActivate): Adjust the call to kbd_buffer_events_waiting to
+       its argument list.
+       * conf_post.h (_GL_EXECINFO_INLINE) [MSDOS]: Define to "inline"
+       for GCC versions before 4.
+       (emacs_raise): Define to call msdos_fatal_signal.
+       * xdisp.c (init_from_display_pos): Fix initialization of the bidi
+       iterator when starting in the middle of a display or overlay
+       string.  (Bug#12745)
 +2012-11-03  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Fix data-loss with --batch (Bug#9574).
 +      * emacs.c: Include <close-stream.h>.
 +      (close_output_streams): New function.
 +      (main): Pass it to atexit, so that Emacs closes stdout and stderr
 +      and handles errors appropriately.
 +      (Fkill_emacs): Don't worry about flushing, as close_output_stream
 +      does that now.
 +
 +      Fix a race condition that causes Emacs to mess up glib (Bug#8855).
 +      The symptom is a diagnostic "GLib-WARNING **: In call to
 +      g_spawn_sync(), exit status of a child process was requested but
 +      SIGCHLD action was set to SIG_IGN and ECHILD was received by
 +      waitpid(), so exit status can't be returned."  The diagnostic
 +      is partly wrong, as the SIGCHLD action is not set to SIG_IGN.
 +      The real bug is a race condition between Emacs and glib: Emacs
 +      does a waitpid (-1, ...) and reaps glib's subprocess by mistake,
 +      so that glib can't find it.  Work around the bug by invoking
 +      waitpid only on subprocesses that Emacs itself creates.
 +      * process.c (create_process, record_child_status_change):
 +      Don't use special value -1 in pid field, as the caller now must
 +      know the pid rather than having the callee infer it.  The
 +      inference was sometimes incorrect anyway, due to another race.
 +      (create_process): Set new 'alive' member if child is created.
 +      (process_status_retrieved): New function.
 +      (record_child_status_change): Use it.
 +      Accept negative 1st argument, which means to wait for the
 +      processes that Emacs already knows about.  Move special-case code
 +      for DOS_NT (which lacks WNOHANG) here, from caller.  Keep track of
 +      processes that have already been waited for, by testing and
 +      clearing new 'alive' member.
 +      (CAN_HANDLE_MULTIPLE_CHILDREN): Remove, as record_child_status_change
 +      now does this internally.
 +      (handle_child_signal): Let record_child_status_change do all
 +      the work, since we do not want to reap all exited child processes,
 +      only the child processes that Emacs itself created.
 +      * process.h (Lisp_Process): New boolean member 'alive'.
 +
 +      Omit duplicate definitions no longer needed with gcc -g3.
 +      * lisp.h (GCTYPEBITS, GCALIGNMENT, ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG)
 +      (VALMASK, MOST_POSITIVE_FIXNUM, MOST_NEGATIVE_FIXNUM):
 +      Define only as macros.  There's no longer any need to also define
 +      these symbols as enums or as constants, since we now assume
 +      gcc -g3 when debugging.
 +
 +2012-11-03  Chong Yidong  <cyd@gnu.org>
 +
 +      * process.c (wait_reading_process_output): Clean up the last
 +      change.
 +
 +2012-11-03  Jim Paris  <jim@jtan.com>  (tiny change)
 +
 +      * process.c (wait_reading_process_output): Avoid a race condition
 +      with SIGIO delivery (Bug#11536).
 +
 +2012-11-03  Chong Yidong  <cyd@gnu.org>
 +
 +      * buffer.c (cursor_type): Untabify docstring.
 +
 +2012-11-03  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * frame.h (struct frame): Drop can_have_scroll_bars member
 +      which is meaningless for a long time.  Adjust comments.
 +      (FRAME_CAN_HAVE_SCROLL_BARS): Remove.
 +      * frame.c, nsfns.m, term.c, w32fns.c, xfns.c: Adjust users.
 +
 +2012-11-03  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * window.c (decode_next_window_args): Update window arg after
 +      calling decode_live_window and so fix crash reported at
 +      http://lists.gnu.org/archive/html/emacs-devel/2012-11/msg00035.html
 +      by Juanma Barranquero <lekktu@gmail.com>.
 +      (Fwindow_body_width, Fwindow_body_height): Simplify a bit.
 +      * font.c (Ffont_at): Likewise.
 +
 +2012-11-01  Jan Djärv  <jan.h.d@swipnet.se>
  
        * widget.c (resize_cb): New function.
        (EmacsFrameRealize): Add resize_cb as event handler (Bug#12733).
diff --cc src/xdisp.c
Simple merge