From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#8874: Redisplay confusion in Info, due to recentering fix Date: Tue, 23 Aug 2011 13:40:00 +0300 Message-ID: <83bovgif7j.fsf@gnu.org> References: <87sjrag7zp.fsf@stupidchicken.com> <83d3idydxn.fsf@gnu.org> <878vszui7l.fsf@stupidchicken.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1314096493 14984 80.91.229.12 (23 Aug 2011 10:48:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Aug 2011 10:48:13 +0000 (UTC) Cc: 8874-done@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 23 12:48:09 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QvoWc-0007Tn-Sb for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Aug 2011 12:48:07 +0200 Original-Received: from localhost ([::1]:38530 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvoWc-0007h7-Gq for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Aug 2011 06:48:06 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvoWA-0006LC-Gj for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2011 06:47:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QvoW8-0005ma-P0 for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2011 06:47:38 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54548) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvoW8-0005mA-NP for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2011 06:47:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QvoYV-0004ms-2X for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2011 06:50:03 -0400 Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Aug 2011 10:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 8874 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 8874@debbugs.gnu.org, eliz@gnu.org Original-Received: via spool by 8874-done@debbugs.gnu.org id=D8874.131409655518338 (code D ref 8874); Tue, 23 Aug 2011 10:50:02 +0000 Original-Received: (at 8874-done) by debbugs.gnu.org; 23 Aug 2011 10:49:15 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QvoXi-0004lg-Qz for submit@debbugs.gnu.org; Tue, 23 Aug 2011 06:49:15 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QvoXd-0004lU-T0 for 8874-done@debbugs.gnu.org; Tue, 23 Aug 2011 06:49:11 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LQD00700MKFL200@a-mtaout20.012.net.il> for 8874-done@debbugs.gnu.org; Tue, 23 Aug 2011 13:46:37 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.126.219.41]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LQD007RFMYLL100@a-mtaout20.012.net.il>; Tue, 23 Aug 2011 13:40:23 +0300 (IDT) In-reply-to: <878vszui7l.fsf@stupidchicken.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 23 Aug 2011 06:50:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) 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:50243 Archived-At: > From: Chong Yidong > Cc: 8874@debbugs.gnu.org > Date: Sat, 18 Jun 2011 14:07:10 -0400 > > Eli Zaretskii writes: > > > How urgent is it to fix this? Can it be postponed until I'm done with > > bidi reordering of display strings, and we enter code freeze? > > The bidi work is more urgent, so feel free to postphone the fix for this > until you have the time. > > FWIW, I took a quick look, and it appears that the following should do > the trick. But it can wait till you have time to double-check the code. The problem was with the header line that Info uses by default, and which was not accounted for when computing the new window start position. (If you set Info-use-header-line to nil, the bug goes away.) I fixed (in trunk revision 105541) the calculation of the window start to account for the header line when it's present, and that solves the bug. Thanks.