# HG changeset patch # User Kenichi Handa # Date 1285721758 -32400 # Node ID bf3b8d29e99213aaf1db57e6a478a74857e32a54 # Parent b3326b910a0c7789156a26964384e230c18caccf# Parent 56cf47a21830e1127e684ff231e83e6b1e89c4fe merge emacs-23 diff -r b3326b910a0c -r bf3b8d29e992 lisp/ChangeLog --- a/lisp/ChangeLog Wed Sep 29 09:52:03 2010 +0900 +++ b/lisp/ChangeLog Wed Sep 29 09:55:58 2010 +0900 @@ -1,3 +1,14 @@ +2010-09-27 Drew Adams + + * dired.el (dired-save-positions): Doc fix. (Bug#7119) + +2010-09-27 Andreas Schwab + + * Makefile.in (ELCFILES): Update. + + * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Avoid + infinite recursion on erroneous lambda form. (Bug#7114) + 2010-09-27 Kenichi Handa * tar-mode.el (tar-header-block-tokenize): Decode filenames in diff -r b3326b910a0c -r bf3b8d29e992 lisp/Makefile.in --- a/lisp/Makefile.in Wed Sep 29 09:52:03 2010 +0900 +++ b/lisp/Makefile.in Wed Sep 29 09:55:58 2010 +0900 @@ -311,11 +311,15 @@ $(lisp)/cedet/cedet.elc \ $(lisp)/cedet/data-debug.elc \ $(lisp)/cedet/ede.elc \ + $(lisp)/cedet/ede/auto.elc \ $(lisp)/cedet/ede/autoconf-edit.elc \ + $(lisp)/cedet/ede/base.elc \ $(lisp)/cedet/ede/cpp-root.elc \ + $(lisp)/cedet/ede/custom.elc \ $(lisp)/cedet/ede/dired.elc \ $(lisp)/cedet/ede/emacs.elc \ $(lisp)/cedet/ede/files.elc \ + $(lisp)/cedet/ede/generic.elc \ $(lisp)/cedet/ede/linux.elc \ $(lisp)/cedet/ede/locate.elc \ $(lisp)/cedet/ede/make.elc \ diff -r b3326b910a0c -r bf3b8d29e992 lisp/dired.el --- a/lisp/dired.el Wed Sep 29 09:52:03 2010 +0900 +++ b/lisp/dired.el Wed Sep 29 09:55:58 2010 +0900 @@ -1177,7 +1177,7 @@ The positions have the form (BUFFER-POSITION WINDOW-POSITIONS). BUFFER-POSITION is the point position in the current dired buffer. -The buffer position have the form (BUFFER DIRED-FILENAME BUFFER-POINT). +It has the form (BUFFER DIRED-FILENAME BUFFER-POINT). WINDOW-POSITIONS are current positions in all windows displaying this dired buffer. The window positions have the form (WINDOW diff -r b3326b910a0c -r bf3b8d29e992 lisp/emacs-lisp/byte-opt.el --- a/lisp/emacs-lisp/byte-opt.el Wed Sep 29 09:52:03 2010 +0900 +++ b/lisp/emacs-lisp/byte-opt.el Wed Sep 29 09:55:58 2010 +0900 @@ -381,9 +381,11 @@ form)) ((or (byte-code-function-p fn) (eq 'lambda (car-safe fn))) - (byte-optimize-form-code-walker - (byte-compile-unfold-lambda form) - for-effect)) + (let ((newform (byte-compile-unfold-lambda form))) + (if (eq newform form) + ;; Some error occured, avoid infinite recursion + form + (byte-optimize-form-code-walker newform for-effect)))) ((memq fn '(let let*)) ;; recursively enter the optimizer for the bindings and body ;; of a let or let*. This for depth-firstness: forms that diff -r b3326b910a0c -r bf3b8d29e992 src/ChangeLog --- a/src/ChangeLog Wed Sep 29 09:52:03 2010 +0900 +++ b/src/ChangeLog Wed Sep 29 09:55:58 2010 +0900 @@ -3,6 +3,20 @@ * xfont.c (xfont_open): Fix setting of font->average_width from :avgwidth property (Bug#7123). +2010-09-28 Michael Albinus + + * dbusbind.c (syms_of_dbusbind): Use putenv instead of setenv, it + is more portable. + + * keyboard.c (gobble_input): Move call of xd_read_queued_messages ... + (kbd_buffer_get_event): ... here. This is needed for cygwin, which + has not defined SIGIO. + +2010-09-27 Michael Albinus + + * dbusbind.c (syms_of_dbusbind): Set $DBUS_FATAL_WARNINGS to "0". + (Bug#7113) + 2010-09-26 Jan Djärv * xgselect.c (xg_select): Clear file descriptors not set from diff -r b3326b910a0c -r bf3b8d29e992 src/dbusbind.c --- a/src/dbusbind.c Wed Sep 29 09:52:03 2010 +0900 +++ b/src/dbusbind.c Wed Sep 29 09:55:58 2010 +0900 @@ -2130,8 +2130,12 @@ doc: /* If non-nil, debug messages of D-Bus bindings are raised. */); #ifdef DBUS_DEBUG Vdbus_debug = Qt; + /* We can also set environment DBUS_VERBOSE=1 in order to see more + traces. */ #else Vdbus_debug = Qnil; + /* We do not want to abort. */ + putenv ("DBUS_FATAL_WARNINGS=0"); #endif Fprovide (intern_c_string ("dbusbind"), Qnil); diff -r b3326b910a0c -r bf3b8d29e992 src/keyboard.c --- a/src/keyboard.c Wed Sep 29 09:52:03 2010 +0900 +++ b/src/keyboard.c Wed Sep 29 09:55:58 2010 +0900 @@ -4106,6 +4106,11 @@ /* One way or another, wait until input is available; then, if interrupt handlers have not read it, read it now. */ +#ifdef HAVE_DBUS + /* Read D-Bus messages. */ + xd_read_queued_messages (); +#endif /* HAVE_DBUS */ + /* Note SIGIO has been undef'd if FIONREAD is missing. */ #ifdef SIGIO gobble_input (0); @@ -4757,7 +4762,7 @@ { EMACS_TIME nexttime; - do + do { nexttime = timer_check_2 (); } @@ -7051,11 +7056,6 @@ gobble_input (expected) int expected; { -#ifdef HAVE_DBUS - /* Read D-Bus messages. */ - xd_read_queued_messages (); -#endif /* HAVE_DBUS */ - #ifdef SIGIO if (interrupt_input) {