From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kelly Dean Newsgroups: gmane.emacs.bugs Subject: bug#13009: Logical line movement is illogical Date: Tue, 27 Nov 2012 04:46:15 -0800 (PST) Message-ID: <1354020375.37460.YahooMailClassic@web141101.mail.bf1.yahoo.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1354020446 4080 80.91.229.3 (27 Nov 2012 12:47:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Nov 2012 12:47:26 +0000 (UTC) To: 13009@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 27 13:47:37 2012 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 1TdKZa-0001Sq-8u for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Nov 2012 13:47:34 +0100 Original-Received: from localhost ([::1]:43956 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdKZP-00058c-8m for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Nov 2012 07:47:23 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:40511) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdKZM-00058Q-RH for bug-gnu-emacs@gnu.org; Tue, 27 Nov 2012 07:47:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdKZG-0000uf-V4 for bug-gnu-emacs@gnu.org; Tue, 27 Nov 2012 07:47:20 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59259) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdKZG-0000uS-QF for bug-gnu-emacs@gnu.org; Tue, 27 Nov 2012 07:47:14 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TdKb0-0000eh-EH for bug-gnu-emacs@gnu.org; Tue, 27 Nov 2012 07:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Kelly Dean Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Nov 2012 12:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13009 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13540205082477 (code B ref -1); Tue, 27 Nov 2012 12:49:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Nov 2012 12:48:28 +0000 Original-Received: from localhost ([127.0.0.1]:41275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TdKaM-0000dp-8P for submit@debbugs.gnu.org; Tue, 27 Nov 2012 07:48:25 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45368) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TdKaJ-0000di-Fj for submit@debbugs.gnu.org; Tue, 27 Nov 2012 07:48:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdKYU-0000m4-Pu for submit@debbugs.gnu.org; Tue, 27 Nov 2012 07:46:31 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:53093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdKYU-0000m0-My for submit@debbugs.gnu.org; Tue, 27 Nov 2012 07:46:26 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:40314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdKYO-0004m0-UX for bug-gnu-emacs@gnu.org; Tue, 27 Nov 2012 07:46:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdKYK-0000kQ-QS for bug-gnu-emacs@gnu.org; Tue, 27 Nov 2012 07:46:20 -0500 Original-Received: from nm21.bullet.mail.bf1.yahoo.com ([98.139.212.180]:35622) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdKYK-0000kH-Kd for bug-gnu-emacs@gnu.org; Tue, 27 Nov 2012 07:46:16 -0500 Original-Received: from [98.139.215.142] by nm21.bullet.mail.bf1.yahoo.com with NNFMP; 27 Nov 2012 12:46:15 -0000 Original-Received: from [98.139.212.226] by tm13.bullet.mail.bf1.yahoo.com with NNFMP; 27 Nov 2012 12:46:15 -0000 Original-Received: from [127.0.0.1] by omp1035.mail.bf1.yahoo.com with NNFMP; 27 Nov 2012 12:46:15 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 915156.23659.bm@omp1035.mail.bf1.yahoo.com Original-Received: (qmail 58256 invoked by uid 60001); 27 Nov 2012 12:46:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1354020375; bh=oYr/bY43nlfeUZS5FDtaP7pIfOxzDolS+j2DV9ThupE=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=cd9PNjVXvSNFVAH3B5PG2feW58rJSCnZpy3Cf2KYUekSgxFogT9C6vn2vMbnIR9jpRc/LhRdPOzPO1NYsmCHlEGkXi5xjn8Q0ZWY8gqdywfX44XiPSaUkejwHGW4M0EgKahlc/uyHQko2gQZVqcPVBMSepf5xD2mbz8qKouK7L4= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=WpFHBjFqzcAQuQjndITfkzlXIxjcLqVxBECVftZYp4co4G4XlY5ngI8NQBWzIZkKukWhWqneaPRB6R3UtC3WMdEESgrVtQGnezm94rlbJQ+KyysCP4cckj5QtSjAcietmCD6Yq8h/J8SRUwYViW+FqCD/S+gGBcQ/rv3u39luzY=; X-YMail-OSG: WYPixAEVM1nbxc7VlPSlBK_gR6py6mdn2ViQOUdYBBLJyfU Fb5ojHqE9s74fvDfRRFVD Original-Received: from [96.47.226.21] by web141101.mail.bf1.yahoo.com via HTTP; Tue, 27 Nov 2012 04:46:15 PST X-Rocket-MIMEInfo: 001.001, VXNpbmcgMjQuMiBvbiBYLCBub3QgaW4gYSB0ZXJtaW5hbCBlbXVsYXRvcjoKZW1hY3MgLVEKKGNvbHVtbi1udW1iZXItbW9kZSB0KQooc2V0LWZhY2UtYXR0cmlidXRlICdkZWZhdWx0IG5pbCA6Zm9udCAiRGVqYVZ1IFNhbnMiKQooc2V0LWZhY2UtYXR0cmlidXRlICdkZWZhdWx0IG5pbCA6aGVpZ2h0IDkwKQooZ2xvYmFsLXNldC1rZXkgJ1tTLXVwXSAncHJldmlvdXMtbG9naWNhbC1saW5lKQooZ2xvYmFsLXNldC1rZXkgJ1tTLWRvd25dICduZXh0LWxvZ2ljYWwtbGluZSkKW3JldF0gQy11IDQwIFcgW3JldF0BMAEBAQE- X-Mailer: YahooMailClassic/15.0.8 YahooMailWebService/0.8.127.475 X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:67506 Archived-At: Using 24.2 on X, not in a terminal emulator: emacs -Q (column-number-mode t) (set-face-attribute 'default nil :font "DejaVu Sans") (set-face-attribute 'default nil :height 90) (global-set-key '[S-up] 'previous-logical-line) (global-set-key '[S-down] 'next-logical-line) [ret] C-u 40 W [ret] C-u 40 i So you have 40 "W"s and 40 "i"s, and point is on column 40 at the end of the "i"s. Now press [up]. Point moves to the "W" at column 10, which is correct since visual line movement is the default. Now press [S-down]. Where should point go? If the rule is visual line movement, it should move to column 40 at the end of the "i"s. If the rule is to stay on the same column, it should move to the "i" at column 10. But it does neither; instead, it moves to the "i" at column 17. There's no way this is correct. Now press [S-up]. Point moves to the "W" at column 17, suggesting that the rule is to stay on the same column, which is what the rule ought to be. Now do: [C-end] [ret] [ret] C-u 40 W [ret] C-u 40 u Leaving point on column 40 at the end of the "u"s. Press [up], and point moves to the "W" at column 29, which is correct. Now press [S-down]. Point moves to column 40 at the end of the "u"s, suggesting that the rule is visual line movement, contradicting both the [S-down] and the [S-up] behavior shown previously. Even if there is some sense to this, it isn't user friendly.