From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#18545: 24.4.50: Bug - forward-line inside with-selected-window Date: Sat, 27 Sep 2014 13:53:02 -0400 Message-ID: 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1411840473 4112 80.91.229.3 (27 Sep 2014 17:54:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Sep 2014 17:54:33 +0000 (UTC) Cc: lompik@voila.fr, 18545@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 27 19:54:26 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 1XXwCQ-0003j4-24 for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Sep 2014 19:54:26 +0200 Original-Received: from localhost ([::1]:56674 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXwCP-0004Ia-Pm for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Sep 2014 13:54:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXwCF-0004HR-GT for bug-gnu-emacs@gnu.org; Sat, 27 Sep 2014 13:54:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XXwC8-000850-1Z for bug-gnu-emacs@gnu.org; Sat, 27 Sep 2014 13:54:15 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34084) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXwC7-000843-UV for bug-gnu-emacs@gnu.org; Sat, 27 Sep 2014 13:54:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XXwC2-0005x0-Gn for bug-gnu-emacs@gnu.org; Sat, 27 Sep 2014 13:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Sep 2014 17:54:02 +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.141184038622807 (code B ref 18545); Sat, 27 Sep 2014 17:54:02 +0000 Original-Received: (at 18545) by debbugs.gnu.org; 27 Sep 2014 17:53:06 +0000 Original-Received: from localhost ([127.0.0.1]:53881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XXwB8-0005vm-4D for submit@debbugs.gnu.org; Sat, 27 Sep 2014 13:53:06 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:50617) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XXwB5-0005va-7V for 18545@debbugs.gnu.org; Sat, 27 Sep 2014 13:53:03 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYGAIDvNVNFxKjo/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCzQSFBgNJIgECNIZF456B4Q4BKkZgWqDTCE X-IPAS-Result: ArYGAIDvNVNFxKjo/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCzQSFBgNJIgECNIZF456B4Q4BKkZgWqDTCE X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="91045496" Original-Received: from 69-196-168-232.dsl.teksavvy.com (HELO pastel.home) ([69.196.168.232]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 27 Sep 2014 13:53:02 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 57BEA3EAA; Sat, 27 Sep 2014 13:53:02 -0400 (EDT) In-Reply-To: <83wq8prmp2.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 27 Sep 2014 20:35:21 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) 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:93799 Archived-At: >> That's odd, indeed. It can be explained if the redisplay ends up moving >> point to keep it in the window (instead of scrolling the window to >> follow point). > 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. You assume that the value of point displayed is consistent with the one you see on the screen. But maybe the value of point printed is the one of the line *after* the last line. So after printing that value, redisplay re-sets point and at the end of the next command, the displayed point will be the same as the last displayed one. Stefan