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#16961: left-char moves to beginning of line; visual-order-cursor-movement Date: Fri, 07 Mar 2014 22:03:53 +0200 Message-ID: <83wqg5pyhi.fsf@gnu.org> References: <974DC76B-2C9D-4A3A-90B8-EFEBA25D0885@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1394222657 1782 80.91.229.3 (7 Mar 2014 20:04:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Mar 2014 20:04:17 +0000 (UTC) Cc: 16961-done@debbugs.gnu.org, markoilcan@gmail.com To: David Reitter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 07 21:04:25 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 1WM10K-0006s1-Sm for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Mar 2014 21:04:24 +0100 Original-Received: from localhost ([::1]:38082 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WM10K-0001At-FP for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Mar 2014 15:04:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53559) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WM109-000154-C5 for bug-gnu-emacs@gnu.org; Fri, 07 Mar 2014 15:04:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WM0zy-0005I7-Qq for bug-gnu-emacs@gnu.org; Fri, 07 Mar 2014 15:04:13 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WM0zy-0005Hy-Nm for bug-gnu-emacs@gnu.org; Fri, 07 Mar 2014 15:04:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WM0zy-0001Of-IX for bug-gnu-emacs@gnu.org; Fri, 07 Mar 2014 15:04:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Mar 2014 20:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 16961 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 16961@debbugs.gnu.org, eliz@gnu.org, david.reitter@gmail.com Original-Received: via spool by 16961-done@debbugs.gnu.org id=D16961.13942226415354 (code D ref 16961); Fri, 07 Mar 2014 20:04:02 +0000 Original-Received: (at 16961-done) by debbugs.gnu.org; 7 Mar 2014 20:04:01 +0000 Original-Received: from localhost ([127.0.0.1]:55178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WM0zw-0001OI-GA for submit@debbugs.gnu.org; Fri, 07 Mar 2014 15:04:00 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:61533) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WM0zt-0001O6-JA for 16961-done@debbugs.gnu.org; Fri, 07 Mar 2014 15:03:59 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0N2300B000STHV00@a-mtaout22.012.net.il> for 16961-done@debbugs.gnu.org; Fri, 07 Mar 2014 22:03:56 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N2300B8212J4QA0@a-mtaout22.012.net.il>; Fri, 07 Mar 2014 22:03:56 +0200 (IST) In-reply-to: <974DC76B-2C9D-4A3A-90B8-EFEBA25D0885@gmail.com> 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:86633 Archived-At: > From: David Reitter > Date: Fri, 7 Mar 2014 10:52:38 -0500 > Cc: markoilcan@gmail.com > > Start Emacs -Q (testing with mainline build dated Jan 29): > > Paste the following: > > ——snip > (global-hl-line-mode) > (setq visual-order-cursor-movement t) > (visual-line-mode) > > asdasd > ——snap > > Note that “ asdasd” has a space at the beginning, and it needs to be the last line of the buffer. > Evaluate the first three expressions, place the text cursor at the end of the buffer (that is, after “asd”). > > The line should be highlighted. Now press `left’ (or do M-x left-char). > > Point will jump to the beginning of the line. > Expected behavior is that it would move by just one char. HL Line Mode, the Mother Of All Evil... Fixed in trunk revision 116701. > > 1. Start aquamacs without customizations. > > 2. M-x global-hl-line-mode. > > 3. Type " testing" (note space before the word "testing"). > > 4. Press left arrow key once. > > At this point the cursor is to the left of the space character before the word "testing" instead of before the letter "g". Does this mean "Aquamacs without customizations" has visual-order-cursor-movement set to t? If so, I think it's not a good idea at all: that variable is user-level customization, it shouldn't be forced on the users.