aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2011-09-24 17:38:16 +0300
committerEli Zaretskii2011-09-24 17:38:16 +0300
commit6bf7006fa2efdb9d74451336335c1eeb833ddfb1 (patch)
treec02af6a8128f8f5eb3e39a05b0ed8ddbbcbc91cb
parent2ac2721a7f792e5a85588dc402fe9670225be6e6 (diff)
downloademacs-6bf7006fa2efdb9d74451336335c1eeb833ddfb1.tar.gz
emacs-6bf7006fa2efdb9d74451336335c1eeb833ddfb1.zip
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.
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/display.texi13
-rw-r--r--etc/NEWS7
-rw-r--r--src/ChangeLog3
-rw-r--r--src/dispnew.c4
5 files changed, 22 insertions, 10 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 0094e7c12a6..ed2f0a0d3f0 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
12011-09-24 Eli Zaretskii <eliz@gnu.org>
2
3 * display.texi (Forcing Redisplay): Update the description of
4 redisplay-dont-pause due to change in the default value.
5
12011-09-23 Martin Rudalics <rudalics@gmx.at> 62011-09-23 Martin Rudalics <rudalics@gmx.at>
2 7
3 * frames.texi (Frames and Windows): Move section and rename to 8 * frames.texi (Frames and Windows): Move section and rename to
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 3002a4c220d..724c46300fd 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -118,15 +118,12 @@ redisplay of all windows.
118to put more work on the queue to be done by redisplay whenever there 118to put more work on the queue to be done by redisplay whenever there
119is a chance. 119is a chance.
120 120
121 Emacs redisplay normally stops if input arrives, and does not happen
122at all if input is available before it starts. Most of the time, this
123is exactly what you want. However, you can prevent preemption by
124binding @code{redisplay-dont-pause} to a non-@code{nil} value.
125
126@defvar redisplay-dont-pause 121@defvar redisplay-dont-pause
127If this variable is non-@code{nil}, pending input does not 122If this variable is non-@code{nil}, pending input does not prevent or
128prevent or halt redisplay; redisplay occurs, and finishes, 123halt redisplay; redisplay occurs, and finishes, regardless of whether
129regardless of whether input is available. 124input is available. If it is @code{nil}, Emacs redisplay stops if
125input arrives, and does not happen at all if input is available before
126it starts. The default is @code{t}.
130@end defvar 127@end defvar
131 128
132@defvar redisplay-preemption-period 129@defvar redisplay-preemption-period
diff --git a/etc/NEWS b/etc/NEWS
index e697db7e888..71e5d9cd8be 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -500,6 +500,13 @@ prompts for a number to count from and for a format string.
500directory is a remote file name and neither environment variable 500directory is a remote file name and neither environment variable
501$ESHELL nor variable `explicit-shell-file-name' is set. 501$ESHELL nor variable `explicit-shell-file-name' is set.
502 502
503+++
504** The default value of redisplay-dont-change is now t
505This makes Emacs feel more responsive to editing commands that arrive
506at high rate, e.g. if you lean on some key, because stopping redisplay
507in the middle (when this variable is nil) forces more expensive
508updates later on, and Emacs appears to be unable to keep up.
509
503 510
504* Changes in Specialized Modes and Packages in Emacs 24.1 511* Changes in Specialized Modes and Packages in Emacs 24.1
505 512
diff --git a/src/ChangeLog b/src/ChangeLog
index 7c7eaf6c779..4eac1d78db7 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12011-09-24 Eli Zaretskii <eliz@gnu.org> 12011-09-24 Eli Zaretskii <eliz@gnu.org>
2 2
3 * dispnew.c (syms_of_display) <redisplay-dont-pause>: Default
4 value is now t. Doc fix.
5
3 * indent.c (Fvertical_motion): Compute and apply the overshoot 6 * indent.c (Fvertical_motion): Compute and apply the overshoot
4 logic when moving up, not only when moving down. Fix the 7 logic when moving up, not only when moving down. Fix the
5 confusing name and values of the it_overshoot_expected variable; 8 confusing name and values of the it_overshoot_expected variable;
diff --git a/src/dispnew.c b/src/dispnew.c
index 958420d3081..51b17fc0f11 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -6494,8 +6494,8 @@ See `buffer-display-table' for more information. */);
6494 Vstandard_display_table = Qnil; 6494 Vstandard_display_table = Qnil;
6495 6495
6496 DEFVAR_BOOL ("redisplay-dont-pause", redisplay_dont_pause, 6496 DEFVAR_BOOL ("redisplay-dont-pause", redisplay_dont_pause,
6497 doc: /* *Non-nil means update isn't paused when input is detected. */); 6497 doc: /* *Non-nil means display update isn't paused when input is detected. */);
6498 redisplay_dont_pause = 0; 6498 redisplay_dont_pause = 1;
6499 6499
6500#if PERIODIC_PREEMPTION_CHECKING 6500#if PERIODIC_PREEMPTION_CHECKING
6501 DEFVAR_LISP ("redisplay-preemption-period", Vredisplay_preemption_period, 6501 DEFVAR_LISP ("redisplay-preemption-period", Vredisplay_preemption_period,