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#18545: 24.4.50: Bug - forward-line inside with-selected-window Date: Sat, 27 Sep 2014 22:27:54 +0300 Message-ID: <83sijcsw1x.fsf@gnu.org> References: <290964377.56621411668876487.JavaMail.www@wwinf7125> <83a95nv9fm.fsf@gnu.org> <542668BA.6010800@gmx.at> <838ul5tpfu.fsf@gnu.org> <54268B0B.1020203@gmx.at> <8361g9tijj.fsf@gnu.org> <5426BD71.4000705@gmx.at> <83zjdlrqti.fsf@gnu.org> <83wq8prmp2.fsf@gnu.org> <542709A3.7090205@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1411846171 4816 80.91.229.3 (27 Sep 2014 19:29:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Sep 2014 19:29:31 +0000 (UTC) Cc: lompik@voila.fr, 18545@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 27 21:29:23 2014 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 1XXxgH-0005cT-PJ for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Sep 2014 21:29:21 +0200 Original-Received: from localhost ([::1]:57149 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXxgH-00046w-CP for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Sep 2014 15:29:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXxg9-00042w-OL for bug-gnu-emacs@gnu.org; Sat, 27 Sep 2014 15:29:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XXxg5-0004Z2-2y for bug-gnu-emacs@gnu.org; Sat, 27 Sep 2014 15:29:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXxg4-0004Xw-Va for bug-gnu-emacs@gnu.org; Sat, 27 Sep 2014 15:29:09 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XXxfx-0001AP-MO for bug-gnu-emacs@gnu.org; Sat, 27 Sep 2014 15:29:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Sep 2014 19:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18545 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18545-submit@debbugs.gnu.org id=B18545.14118460924423 (code B ref 18545); Sat, 27 Sep 2014 19:29:01 +0000 Original-Received: (at 18545) by debbugs.gnu.org; 27 Sep 2014 19:28:12 +0000 Original-Received: from localhost ([127.0.0.1]:53934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XXxf9-00019G-Eb for submit@debbugs.gnu.org; Sat, 27 Sep 2014 15:28:11 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:50883) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XXxf7-000193-48 for 18545@debbugs.gnu.org; Sat, 27 Sep 2014 15:28:09 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NCK00400R1B8H00@a-mtaout22.012.net.il> for 18545@debbugs.gnu.org; Sat, 27 Sep 2014 22:28:08 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NCK003GCREVTJ70@a-mtaout22.012.net.il>; Sat, 27 Sep 2014 22:28:08 +0300 (IDT) In-reply-to: <542709A3.7090205@gmx.at> X-012-Sender: halo1@inter.net.il 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:93806 Archived-At: > Date: Sat, 27 Sep 2014 21:01:55 +0200 > From: martin rudalics > CC: lompik@voila.fr, 18545@debbugs.gnu.org > > > I don't think this can explain it: forward-line works on the buffer, > > and the location of point is (or should be, see below) printed > > _before_ Emacs enters redisplay, as part of running the command that > > called forward-line. > > This is a red herring. The values I print can't be attributed to a > specific "failing" instance of `forward-line'. What you see is the > readjusted value after scrolling was wrongly dismissed in the last > round. With `before' and `after' around the `forward-line' call I get: > [...] > before 117 > after 122 > before 117 > after 122 > [...] > So `forward-line' always skips five characters but point gets reset > later on. But that means the code is doing exactly what it was intended to do: move point back so that it is in view. IOW, "notabug". Right?