diff options
| author | Eli Zaretskii | 2011-09-24 17:38:16 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2011-09-24 17:38:16 +0300 |
| commit | 6bf7006fa2efdb9d74451336335c1eeb833ddfb1 (patch) | |
| tree | c02af6a8128f8f5eb3e39a05b0ed8ddbbcbc91cb | |
| parent | 2ac2721a7f792e5a85588dc402fe9670225be6e6 (diff) | |
| download | emacs-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/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 13 | ||||
| -rw-r--r-- | etc/NEWS | 7 | ||||
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/dispnew.c | 4 |
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 @@ | |||
| 1 | 2011-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 | |||
| 1 | 2011-09-23 Martin Rudalics <rudalics@gmx.at> | 6 | 2011-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. | |||
| 118 | to put more work on the queue to be done by redisplay whenever there | 118 | to put more work on the queue to be done by redisplay whenever there |
| 119 | is a chance. | 119 | is a chance. |
| 120 | 120 | ||
| 121 | Emacs redisplay normally stops if input arrives, and does not happen | ||
| 122 | at all if input is available before it starts. Most of the time, this | ||
| 123 | is exactly what you want. However, you can prevent preemption by | ||
| 124 | binding @code{redisplay-dont-pause} to a non-@code{nil} value. | ||
| 125 | |||
| 126 | @defvar redisplay-dont-pause | 121 | @defvar redisplay-dont-pause |
| 127 | If this variable is non-@code{nil}, pending input does not | 122 | If this variable is non-@code{nil}, pending input does not prevent or |
| 128 | prevent or halt redisplay; redisplay occurs, and finishes, | 123 | halt redisplay; redisplay occurs, and finishes, regardless of whether |
| 129 | regardless of whether input is available. | 124 | input is available. If it is @code{nil}, Emacs redisplay stops if |
| 125 | input arrives, and does not happen at all if input is available before | ||
| 126 | it starts. The default is @code{t}. | ||
| 130 | @end defvar | 127 | @end defvar |
| 131 | 128 | ||
| 132 | @defvar redisplay-preemption-period | 129 | @defvar redisplay-preemption-period |
| @@ -500,6 +500,13 @@ prompts for a number to count from and for a format string. | |||
| 500 | directory is a remote file name and neither environment variable | 500 | directory 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 | ||
| 505 | This makes Emacs feel more responsive to editing commands that arrive | ||
| 506 | at high rate, e.g. if you lean on some key, because stopping redisplay | ||
| 507 | in the middle (when this variable is nil) forces more expensive | ||
| 508 | updates 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 @@ | |||
| 1 | 2011-09-24 Eli Zaretskii <eliz@gnu.org> | 1 | 2011-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, |