GNU bug report logs - #13009
Logical line movement is illogical

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Kelly Dean <kellydeanch@HIDDEN>; dated Tue, 27 Nov 2012 12:49:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 27 Nov 2012 12:48:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 27 07:48:27 2012
Received: from localhost ([127.0.0.1]:41275 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TdKaM-0000dp-8P
	for submit <at> debbugs.gnu.org; Tue, 27 Nov 2012 07:48:25 -0500
Received: from eggs.gnu.org ([208.118.235.92]:45368)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <kellydeanch@HIDDEN>) id 1TdKaJ-0000di-Fj
	for submit <at> debbugs.gnu.org; Tue, 27 Nov 2012 07:48:20 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <kellydeanch@HIDDEN>) id 1TdKYU-0000m4-Pu
	for submit <at> debbugs.gnu.org; Tue, 27 Nov 2012 07:46:31 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-6.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_HI, RCVD_IN_XBL,
	T_DKIM_INVALID autolearn=ham version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:53093)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <kellydeanch@HIDDEN>) id 1TdKYU-0000m0-My
	for submit <at> debbugs.gnu.org; Tue, 27 Nov 2012 07:46:26 -0500
Received: from eggs.gnu.org ([208.118.235.92]:40314)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <kellydeanch@HIDDEN>) id 1TdKYO-0004m0-UX
	for bug-gnu-emacs@HIDDEN; Tue, 27 Nov 2012 07:46:26 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <kellydeanch@HIDDEN>) id 1TdKYK-0000kQ-QS
	for bug-gnu-emacs@HIDDEN; Tue, 27 Nov 2012 07:46:20 -0500
Received: from nm21.bullet.mail.bf1.yahoo.com ([98.139.212.180]:35622)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <kellydeanch@HIDDEN>) id 1TdKYK-0000kH-Kd
	for bug-gnu-emacs@HIDDEN; Tue, 27 Nov 2012 07:46:16 -0500
Received: from [98.139.215.142] by nm21.bullet.mail.bf1.yahoo.com with NNFMP;
	27 Nov 2012 12:46:15 -0000
Received: from [98.139.212.226] by tm13.bullet.mail.bf1.yahoo.com with NNFMP;
	27 Nov 2012 12:46:15 -0000
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@HIDDEN
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
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
Message-ID: <1354020375.37460.YahooMailClassic@HIDDEN>
Date: Tue, 27 Nov 2012 04:46:15 -0800 (PST)
From: Kelly Dean <kellydeanch@HIDDEN>
Subject: Logical line movement is illogical
To: bug-gnu-emacs@HIDDEN
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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-Received-From: 208.118.235.17
X-Spam-Score: -4.2 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -5.0 (-----)

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.





Acknowledgement sent to Kelly Dean <kellydeanch@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#13009; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.