emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r105902: Change the default value of


From: Eli Zaretskii
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r105902: Change the default value of redisplay-dont-pause to t.
Date: Sat, 24 Sep 2011 17:38:16 +0300
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 105902
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Sat 2011-09-24 17:38:16 +0300
message:
  Change the default value of redisplay-dont-pause to t.
  
   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.
modified:
  doc/lispref/ChangeLog
  doc/lispref/display.texi
  etc/NEWS
  src/ChangeLog
  src/dispnew.c
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog     2011-09-23 15:01:49 +0000
+++ b/doc/lispref/ChangeLog     2011-09-24 14:38:16 +0000
@@ -1,3 +1,8 @@
+2011-09-24  Eli Zaretskii  <address@hidden>
+
+       * display.texi (Forcing Redisplay): Update the description of
+       redisplay-dont-pause due to change in the default value.
+
 2011-09-23  Martin Rudalics  <address@hidden>
 
        * frames.texi (Frames and Windows): Move section and rename to

=== modified file 'doc/lispref/display.texi'
--- a/doc/lispref/display.texi  2011-09-21 01:33:33 +0000
+++ b/doc/lispref/display.texi  2011-09-24 14:38:16 +0000
@@ -118,15 +118,12 @@
 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 address@hidden value.
-
 @defvar redisplay-dont-pause
-If this variable is address@hidden, pending input does not
-prevent or halt redisplay; redisplay occurs, and finishes,
-regardless of whether input is available.
+If this variable is address@hidden, 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

=== modified file 'etc/NEWS'
--- a/etc/NEWS  2011-09-23 15:01:49 +0000
+++ b/etc/NEWS  2011-09-24 14:38:16 +0000
@@ -500,6 +500,13 @@
 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.
+
 
 * Changes in Specialized Modes and Packages in Emacs 24.1
 

=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2011-09-24 13:23:58 +0000
+++ b/src/ChangeLog     2011-09-24 14:38:16 +0000
@@ -1,5 +1,8 @@
 2011-09-24  Eli Zaretskii  <address@hidden>
 
+       * 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;

=== modified file 'src/dispnew.c'
--- a/src/dispnew.c     2011-09-09 01:06:52 +0000
+++ b/src/dispnew.c     2011-09-24 14:38:16 +0000
@@ -6494,8 +6494,8 @@
   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,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]