From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anders Lindgren Newsgroups: gmane.emacs.bugs Subject: bug#15957: 24.3.50; Follow mode scrolling broken on Emacs trunk Date: Tue, 26 Nov 2013 15:25:48 +0100 Message-ID: References: <52909877.1070203@gmx.at> <5291D098.10507@gmx.at> <52937DED.9070304@gmx.at> <529440AD.6060505@yandex.ru> <5294AC5D.3050602@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c37e30bb401704ec154189 X-Trace: ger.gmane.org 1385475974 11031 80.91.229.3 (26 Nov 2013 14:26:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Nov 2013 14:26:14 +0000 (UTC) Cc: Dmitry Antipov , 15957@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 26 15:26:18 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VlJaj-0003Mc-7z for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Nov 2013 15:26:17 +0100 Original-Received: from localhost ([::1]:58975 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlJai-0001cN-I4 for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Nov 2013 09:26:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlJaa-0001Xs-N6 for bug-gnu-emacs@gnu.org; Tue, 26 Nov 2013 09:26:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlJaV-0006vf-Te for bug-gnu-emacs@gnu.org; Tue, 26 Nov 2013 09:26:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59822) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlJaV-0006vb-Ov for bug-gnu-emacs@gnu.org; Tue, 26 Nov 2013 09:26:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VlJaU-00063j-Jo for bug-gnu-emacs@gnu.org; Tue, 26 Nov 2013 09:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Anders Lindgren Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Nov 2013 14:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15957 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15957-submit@debbugs.gnu.org id=B15957.138547595823282 (code B ref 15957); Tue, 26 Nov 2013 14:26:02 +0000 Original-Received: (at 15957) by debbugs.gnu.org; 26 Nov 2013 14:25:58 +0000 Original-Received: from localhost ([127.0.0.1]:45608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VlJaP-00063R-DD for submit@debbugs.gnu.org; Tue, 26 Nov 2013 09:25:58 -0500 Original-Received: from mail-we0-f174.google.com ([74.125.82.174]:50610) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VlJaM-00063A-6S for 15957@debbugs.gnu.org; Tue, 26 Nov 2013 09:25:55 -0500 Original-Received: by mail-we0-f174.google.com with SMTP id q58so5358840wes.5 for <15957@debbugs.gnu.org>; Tue, 26 Nov 2013 06:25:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=UVRL8PizRFgjOt9ShKm+l6VD/QRa6DbvipFqPoe6qSU=; b=kbPceM0OGhgznuXTbaZtuaPhrkz5pKBM77UpLvmelAHX9ICCckG1IgtoavhTGXo0tZ 5N7f769fvH134BI9dsupoKlYJRb/jN92hqIspjeGXdMmbWsRCNw8el4HBsgv9d8zx3VG dpdshJGUeq4B+pEWeFPO3yGd9WmlEVDcYheTv0tkibyCaPR0z/OcxX6IA73h0GHxmphm MXlqSgecDWTsiu5Kx9KCCiZl3LXJ3J5+0QkVgchE8bBn+Fuafwf2QPN2/gNVTiq2UNoF DtlSxnmECxaAJjedF5AgN5zyN8i1Z8neAfxDHZxb+s5Y6Mh5IAW53dSH8amR816p6Q9a rjrQ== X-Received: by 10.180.208.49 with SMTP id mb17mr18452345wic.64.1385475948100; Tue, 26 Nov 2013 06:25:48 -0800 (PST) Original-Received: by 10.216.124.76 with HTTP; Tue, 26 Nov 2013 06:25:48 -0800 (PST) In-Reply-To: <5294AC5D.3050602@gmx.at> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:80991 Archived-At: --001a11c37e30bb401704ec154189 Content-Type: text/plain; charset=ISO-8859-1 Hi! Unfortunately, the problem is still there, as far as I can see. -- Anders On Tue, Nov 26, 2013 at 3:12 PM, martin rudalics wrote: > > 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 > --001a11c37e30bb401704ec154189 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi!

Unfortunately, the problem is still= there, as far as I can see.

=A0 =A0 =A0-- Anders<= /div>


On= Tue, Nov 26, 2013 at 3:12 PM, martin rudalics <rudalics@gmx.at> wrote:
> The problem only occu= rs under certain circumstances. `window-end' must
> called from a post-command hook and the command that started it must b= e
> bound to a key (not using M-x). Also, sometimes it seems to work corre= ctly,
> sometimes not, like every second time. (Take "must" with a g= rain of salt,
> it might be possible to trigger the bug under other circumstances as w= ell.)

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

=A0 * window.c (window_scroll_pixel_based)

=A0 (window_scroll_line_based): Do not reset last_modified and

=A0 last_overlay_modified counters.

are responsible. =A0Could you try to resetting window_end_valid in
window_scroll like

=3D=3D=3D modified file 'src/window.c'
--- src/window.c =A0 =A0 =A0 =A02013-11-06 18:41:31 +0000
+++ src/window.c =A0 =A0 =A0 =A02013-11-26 14:07:05 +0000
@@ -4286,6 +4286,7 @@
=A0 =A0else
=A0 =A0 =A0window_scroll_line_based (window, n, whole, noerror);

+ =A0XWINDOW (window)->window_end_valid =3D 0;
=A0 =A0immediate_quit =3D 0;
=A0}

and see what happens?

martin

--001a11c37e30bb401704ec154189--