From: martin rudalics <rudalics@gmx.at>
To: Anders Lindgren <andlind@gmail.com>
Cc: Dmitry Antipov <dmantipov@yandex.ru>, 15957@debbugs.gnu.org
Subject: bug#15957: 24.3.50; Follow mode scrolling broken on Emacs trunk
Date: Tue, 26 Nov 2013 15:12:45 +0100 [thread overview]
Message-ID: <5294AC5D.3050602@gmx.at> (raw)
In-Reply-To: <CABr8ebYDu=bnAw64i7r4foepHPeSgZ=yNQtmxqKwv9TXD9zw0Q@mail.gmail.com>
> 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
next prev parent reply other threads:[~2013-11-26 14:12 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-22 22:23 bug#15957: 24.3.50; Follow mode scrolling broken on Emacs trunk Anders Lindgren
2013-11-23 11:58 ` martin rudalics
2013-11-23 22:01 ` Anders Lindgren
2013-11-24 10:10 ` martin rudalics
2013-11-25 9:19 ` Anders Lindgren
[not found] ` <CABr8ebbnxDgVF-+pdk955Ux-SQuZDONw=OhHOVUdO9d=xsTcZg@mail.gmail.com>
2013-11-25 16:42 ` martin rudalics
2013-11-26 6:33 ` Dmitry Antipov
2013-11-26 11:01 ` Anders Lindgren
2013-11-26 14:12 ` martin rudalics [this message]
2013-11-26 14:25 ` Anders Lindgren
2013-11-26 16:19 ` martin rudalics
2013-11-26 17:03 ` Anders Lindgren
2013-11-26 17:21 ` martin rudalics
2013-11-27 7:48 ` martin rudalics
2014-01-04 14:12 ` martin rudalics
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5294AC5D.3050602@gmx.at \
--to=rudalics@gmx.at \
--cc=15957@debbugs.gnu.org \
--cc=andlind@gmail.com \
--cc=dmantipov@yandex.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.