bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#16034: 24.3.50; scrolling is very long to happen or never happen


From: Stefan Monnier
Subject: bug#16034: 24.3.50; scrolling is very long to happen or never happen
Date: Wed, 04 Dec 2013 13:47:39 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> 3) eval this code:
> (with-selected-window (next-window) (scroll-up 12))
> This return nil as expected but the next window to the one handling
> "*scratch*" doesn't move, but wait a certain time (up to one minute or
> more sometimes) and the window finish to scroll.

Should be fixed now, thank to the patch below,


        Stefan


--- src/window.c        2013-12-03 21:37:41 +0000
+++ src/window.c        2013-12-04 18:23:14 +0000
@@ -4732,6 +4731,8 @@
   immediate_quit = 1;
   n = clip_to_bounds (INT_MIN, n, INT_MAX);
 
+  wset_redisplay (XWINDOW (window));
+
   /* If we must, use the pixel-based version which is much slower than
      the line-based one but can handle varying line heights.  */
   if (FRAME_WINDOW_P (XFRAME (XWINDOW (window)->frame)))





reply via email to

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