Change the default value of redisplay-dont-pause to t.
authorEli Zaretskii <eliz@gnu.org>
Sat, 24 Sep 2011 14:38:16 +0000 (17:38 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 24 Sep 2011 14:38:16 +0000 (17:38 +0300)
 src/dispnew.c (syms_of_display) <redisplay-dont-pause>: Default
 value is now t.  Doc fix.
 doc/lispref/display.texi (Forcing Redisplay): Update the description of
 redisplay-dont-pause due to change in the default value.
 etc/NEWS: Mention the change of the default value.

doc/lispref/ChangeLog
doc/lispref/display.texi
etc/NEWS
src/ChangeLog
src/dispnew.c

index 0094e7c..ed2f0a0 100644 (file)
@@ -1,3 +1,8 @@
+2011-09-24  Eli Zaretskii  <eliz@gnu.org>
+
+       * display.texi (Forcing Redisplay): Update the description of
+       redisplay-dont-pause due to change in the default value.
+
 2011-09-23  Martin Rudalics  <rudalics@gmx.at>
 
        * frames.texi (Frames and Windows): Move section and rename to
index 3002a4c..724c463 100644 (file)
@@ -118,15 +118,12 @@ redisplay of all windows.
 to put more work on the queue to be done by redisplay whenever there
 is a chance.
 
-  Emacs redisplay normally stops if input arrives, and does not happen
-at all if input is available before it starts.  Most of the time, this
-is exactly what you want.  However, you can prevent preemption by
-binding @code{redisplay-dont-pause} to a non-@code{nil} value.
-
 @defvar redisplay-dont-pause
-If this variable is non-@code{nil}, pending input does not
-prevent or halt redisplay; redisplay occurs, and finishes,
-regardless of whether input is available.
+If this variable is non-@code{nil}, pending input does not prevent or
+halt redisplay; redisplay occurs, and finishes, regardless of whether
+input is available.  If it is @code{nil}, Emacs redisplay stops if
+input arrives, and does not happen at all if input is available before
+it starts.  The default is @code{t}.
 @end defvar
 
 @defvar redisplay-preemption-period
index e697db7..71e5d9c 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -500,6 +500,13 @@ prompts for a number to count from and for a format string.
 directory is a remote file name and neither environment variable
 $ESHELL nor variable `explicit-shell-file-name' is set.
 
++++
+** The default value of redisplay-dont-change is now t
+This makes Emacs feel more responsive to editing commands that arrive
+at high rate, e.g. if you lean on some key, because stopping redisplay
+in the middle (when this variable is nil) forces more expensive
+updates later on, and Emacs appears to be unable to keep up.
+
 \f
 * Changes in Specialized Modes and Packages in Emacs 24.1
 
index 7c7eaf6..4eac1d7 100644 (file)
@@ -1,5 +1,8 @@
 2011-09-24  Eli Zaretskii  <eliz@gnu.org>
 
+       * dispnew.c (syms_of_display) <redisplay-dont-pause>: Default
+       value is now t.  Doc fix.
+
        * indent.c (Fvertical_motion): Compute and apply the overshoot
        logic when moving up, not only when moving down.  Fix the
        confusing name and values of the it_overshoot_expected variable;
index 958420d..51b17fc 100644 (file)
@@ -6494,8 +6494,8 @@ See `buffer-display-table' for more information.  */);
   Vstandard_display_table = Qnil;
 
   DEFVAR_BOOL ("redisplay-dont-pause", redisplay_dont_pause,
-              doc: /* *Non-nil means update isn't paused when input is detected.  */);
-  redisplay_dont_pause = 0;
+              doc: /* *Non-nil means display update isn't paused when input is detected.  */);
+  redisplay_dont_pause = 1;
 
 #if PERIODIC_PREEMPTION_CHECKING
   DEFVAR_LISP ("redisplay-preemption-period", Vredisplay_preemption_period,