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.
This commit is contained in:
Eli Zaretskii 2011-09-24 17:38:16 +03:00
parent 2ac2721a7f
commit 6bf7006fa2
5 changed files with 22 additions and 10 deletions

View 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

View 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

View file

@ -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.
* Changes in Specialized Modes and Packages in Emacs 24.1

View 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;

View 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,