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#15712: 24.3; Point forgets what column it was in when vertical movement causes horizontal scroll Date: Fri, 25 Oct 2013 12:47:40 +0300 Message-ID: <83sivphebn.fsf@gnu.org> References: <20131025164203.30d3505d@teln.shikadi.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1382694496 13630 80.91.229.3 (25 Oct 2013 09:48:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Oct 2013 09:48:16 +0000 (UTC) Cc: 15712-done@debbugs.gnu.org To: Adam Nielsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 25 11:48: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 1VZe09-0002c1-I4 for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Oct 2013 11:48:17 +0200 Original-Received: from localhost ([::1]:58373 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZe09-0005gJ-7k for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Oct 2013 05:48:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZe00-0005fC-R0 for bug-gnu-emacs@gnu.org; Fri, 25 Oct 2013 05:48:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZdzv-0001Hh-4l for bug-gnu-emacs@gnu.org; Fri, 25 Oct 2013 05:48:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57021) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZdzv-0001Ha-17 for bug-gnu-emacs@gnu.org; Fri, 25 Oct 2013 05:48:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VZdzu-0005IX-Qf for bug-gnu-emacs@gnu.org; Fri, 25 Oct 2013 05:48:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Oct 2013 09:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 15712 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 15712@debbugs.gnu.org, eliz@gnu.org, a.nielsen@shikadi.net Original-Received: via spool by 15712-done@debbugs.gnu.org id=D15712.138269447920351 (code D ref 15712); Fri, 25 Oct 2013 09:48:02 +0000 Original-Received: (at 15712-done) by debbugs.gnu.org; 25 Oct 2013 09:47:59 +0000 Original-Received: from localhost ([127.0.0.1]:42806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VZdzq-0005IB-Ri for submit@debbugs.gnu.org; Fri, 25 Oct 2013 05:47:59 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:55600) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VZdzo-0005Hw-MZ for 15712-done@debbugs.gnu.org; Fri, 25 Oct 2013 05:47:57 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MV700D00XSTHI00@a-mtaout21.012.net.il> for 15712-done@debbugs.gnu.org; Fri, 25 Oct 2013 12:47:49 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MV700DGDXVP8CC0@a-mtaout21.012.net.il>; Fri, 25 Oct 2013 12:47:49 +0300 (IDT) In-reply-to: <20131025164203.30d3505d@teln.shikadi.net> 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:79628 Archived-At: > Date: Fri, 25 Oct 2013 16:42:03 +1000 > From: Adam Nielsen > > Say you have a number of long lines, which are truncated because they > are wider than Emacs can display. There are blank lines in between > them. Like this: (the "..." should be expanded until the line is wider > than the Emacs window) > > long 1 longlonglong...2 > long 1 longlonglong...2 > > long 1 longlonglong...2 > long 1 longlonglong...2 > > If you place the point on the "1" and move down one line, the point will > move to the "1" on the line below (i.e. it stays on the same column.) > Moving down another line (to the blank line) the point changes column, > but moving down a third time the point returns to the original column > and is again on the "1". This is normal and correct. > > However if this process is repeated on the "2" instead, when the point > is moved to the blank line Emacs will scroll horizontally to ensure the > point remains visible. This scrolling however, causes the point to > forget what column it was on, so when moving down below the blank line, > it does not return to the "2" and instead moves to the "l", as if the > point had been commanded to return to the first column. > > I believe this is a bug because the behaviour is not consistent, and > changes depending on the width of the Emacs window - it only affects > lines too long to display. Fixed in trunk revision 114799. Thanks.