From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#51814: follow-scroll-down leaves point in wrong place in a corner case. Date: Sat, 13 Nov 2021 18:42:29 +0000 Message-ID: References: <864k8gdjkb.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23527"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51814-done@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 13 19:43:26 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mlxzp-0005vz-T6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Nov 2021 19:43:25 +0100 Original-Received: from localhost ([::1]:53602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlxzo-0006qV-Pd for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Nov 2021 13:43:24 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48856) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlxzT-0006qB-1q for bug-gnu-emacs@gnu.org; Sat, 13 Nov 2021 13:43:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36517) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mlxzS-00070P-MS for bug-gnu-emacs@gnu.org; Sat, 13 Nov 2021 13:43:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mlxzS-0005Nr-Kq for bug-gnu-emacs@gnu.org; Sat, 13 Nov 2021 13:43:02 -0500 Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Nov 2021 18:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 51814 X-GNU-PR-Package: emacs Mail-Followup-To: 51814@debbugs.gnu.org, acm@muc.de, acm@muc.de Original-Received: via spool by 51814-done@debbugs.gnu.org id=D51814.163682895820654 (code D ref 51814); Sat, 13 Nov 2021 18:43:02 +0000 Original-Received: (at 51814-done) by debbugs.gnu.org; 13 Nov 2021 18:42:38 +0000 Original-Received: from localhost ([127.0.0.1]:48063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlxz4-0005N4-NZ for submit@debbugs.gnu.org; Sat, 13 Nov 2021 13:42:38 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:26728 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1mlxz3-0005Mn-BG for 51814-done@debbugs.gnu.org; Sat, 13 Nov 2021 13:42:38 -0500 Original-Received: (qmail 47196 invoked by uid 3782); 13 Nov 2021 18:42:30 -0000 Original-Received: from acm.muc.de (p4fe15fc7.dip0.t-ipconnect.de [79.225.95.199]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 13 Nov 2021 19:42:30 +0100 Original-Received: (qmail 17048 invoked by uid 1000); 13 Nov 2021 18:42:29 -0000 Content-Disposition: inline In-Reply-To: <864k8gdjkb.fsf@mail.linkov.net> X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:219831 Archived-At: Hello, Juri On Sat, Nov 13, 2021 at 19:58:12 +0200, Juri Linkov wrote: > > I believe the following patch fixes this. Juri, could you try it out, > > please. > > As a test buffer, > > (i) open elisp.info in a default GUI window (34 lines); > > (ii) C-x 3 ; split it with a vertical divider. > > (iii) ] ; Move to next page in manual, "Introduction". > > (iv) M-x follow-mode. > > (v) C-u 20 C-v ; scroll-up a significant amount. > > (vi) Move point to the line beginning "* Caveats". > > (vii) M-x follow-scroll-down. > > Note that point is in a random place. This is a bug. > Thanks, I confirm this bug is fixed with your patch. > I've tested it with and without tab-line-mode in Info > with the header line. Thanks for the testing! I've committed the patch to the emacs-28 branch, and I'm closing the bug with this post. -- Alan Mackenzie (Nuremberg, Germany).