GNU bug report logs - #15957
24.3.50; Follow mode scrolling broken on Emacs trunk

Previous Next

Package: emacs;

Reported by: Anders Lindgren <andlind <at> gmail.com>

Date: Fri, 22 Nov 2013 22:24:01 UTC

Severity: normal

Found in version 24.3.50

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


Message #29 received at 15957 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Anders Lindgren <andlind <at> gmail.com>
Cc: Dmitry Antipov <dmantipov <at> yandex.ru>, 15957 <at> debbugs.gnu.org
Subject: Re: bug#15957: 24.3.50; Follow mode scrolling broken on Emacs trunk
Date: Tue, 26 Nov 2013 15:12:45 +0100
> The problem only occurs under certain circumstances. `window-end' must
> called from a post-command hook and the command that started it must be
> bound to a key (not using M-x). Also, sometimes it seems to work correctly,
> sometimes not, like every second time. (Take "must" with a grain of salt,
> it might be possible to trigger the bug under other circumstances as well.)

From what you found out so far I suppose that these changes

  * window.c (window_scroll_pixel_based)

  (window_scroll_line_based): Do not reset last_modified and

  last_overlay_modified counters.

are responsible.  Could you try to resetting window_end_valid in
window_scroll like

=== modified file 'src/window.c'
--- src/window.c	2013-11-06 18:41:31 +0000
+++ src/window.c	2013-11-26 14:07:05 +0000
@@ -4286,6 +4286,7 @@
   else
     window_scroll_line_based (window, n, whole, noerror);

+  XWINDOW (window)->window_end_valid = 0;
   immediate_quit = 0;
 }

and see what happens?

martin




This bug report was last modified 11 years and 137 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.