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#9549: Problem not completely fixed Date: Sat, 24 Sep 2011 16:30:22 +0300 Message-ID: <838vpet6dt.fsf@gnu.org> References: <83hb45s2ax.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1316871101 19968 80.91.229.12 (24 Sep 2011 13:31:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 24 Sep 2011 13:31:41 +0000 (UTC) Cc: 9254@debbugs.gnu.org, 9549@debbugs.gnu.org To: mvsfrasson@gmail.com, Stefan Monnier , Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 24 15:31:36 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 1R7SKO-00028r-0E for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Sep 2011 15:31:36 +0200 Original-Received: from localhost ([::1]:48433 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7SKN-0003h0-Hn for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Sep 2011 09:31:35 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:59965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7SKL-0003gh-9n for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2011 09:31:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R7SKJ-0004fY-Fm for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2011 09:31:33 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51385) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7SKJ-0004fU-6m for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2011 09:31:31 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R7SKo-0007JR-TJ for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2011 09:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Sep 2011 13:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9549 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9549-submit@debbugs.gnu.org id=B9549.131687110228079 (code B ref 9549); Sat, 24 Sep 2011 13:32:02 +0000 Original-Received: (at 9549) by debbugs.gnu.org; 24 Sep 2011 13:31:42 +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 1R7SKT-0007Im-V2 for submit@debbugs.gnu.org; Sat, 24 Sep 2011 09:31:42 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7SKO-0007IT-FQ; Sat, 24 Sep 2011 09:31:39 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LS10070041I4R00@a-mtaout20.012.net.il>; Sat, 24 Sep 2011 16:30:26 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.8.215]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LS10069I46MYR50@a-mtaout20.012.net.il>; Sat, 24 Sep 2011 16:30:23 +0300 (IDT) In-reply-to: <83hb45s2ax.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 24 Sep 2011 09:32:02 -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:51778 Archived-At: > Date: Thu, 22 Sep 2011 06:07:02 +0300 > From: Eli Zaretskii > Cc: 9549@debbugs.gnu.org > > > 4) M-x longlines-show-hard-newlines > > > > 5) put point between in the middle of >< in last line > > > > 6) type UP 2 times and observe that point goes to beginning of 4th line, > > strangely > > > > 7) type UP again e text behaves normally. > > > > 8) now put the point in the end of last line > > > > 9) type UP and point strangely goes to beginning of line, and next UPs > > always put point ant beginning of lines. > > Don't you see the same behavior in Emacs 23? I do, and so the above > is an entirely different problem, inherent to how C-n and C-p deduce > what column to use as a temporary goal for placing point on the next > or previous line. For an even uglier manifestation of this problem, > see the 2nd problem described in bug #9254. I think I now fixed the fundamental bug that caused these problems. In general, vertical-motion and posn-at-point were broken when cursor was positioned on a newline that came from a display string. The bug was quite old, it exists at least in Emacs 23, perhaps even before that. Stefan and Chong, please eyeball the (highly non-trivial) changes in revision 105900, I hope I didn't break anything.