From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#13009: Logical line movement is illogical Date: Wed, 20 Jan 2021 05:13:26 +0100 Message-ID: <87sg6wtfdl.fsf@gnus.org> References: <1354020375.37460.YahooMailClassic@web141101.mail.bf1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18084"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 13009@debbugs.gnu.org To: Kelly Dean Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 20 05:14:28 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l24t2-0004cT-En for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Jan 2021 05:14:28 +0100 Original-Received: from localhost ([::1]:51676 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l24t1-00078l-GT for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Jan 2021 23:14:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53834) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l24sc-00077P-3d for bug-gnu-emacs@gnu.org; Tue, 19 Jan 2021 23:14:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40911) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l24sb-0003ty-SA for bug-gnu-emacs@gnu.org; Tue, 19 Jan 2021 23:14:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l24sb-0000yZ-Mp for bug-gnu-emacs@gnu.org; Tue, 19 Jan 2021 23:14:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Jan 2021 04:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13009 X-GNU-PR-Package: emacs Original-Received: via spool by 13009-submit@debbugs.gnu.org id=B13009.16111160193702 (code B ref 13009); Wed, 20 Jan 2021 04:14:01 +0000 Original-Received: (at 13009) by debbugs.gnu.org; 20 Jan 2021 04:13:39 +0000 Original-Received: from localhost ([127.0.0.1]:52454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l24sF-0000xe-Br for submit@debbugs.gnu.org; Tue, 19 Jan 2021 23:13:39 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:40112) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l24sB-0000xP-Vl for 13009@debbugs.gnu.org; Tue, 19 Jan 2021 23:13:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=C8HqpVTImmH1s7ARll/tH1TZRijJOBA9rNPcM2eD2BQ=; b=reIU1yDyVNSLfzdD1+Hu3zXUlY ofDEBjPXsZF4vSt2QnilknkY2xbC4sNEcoVzbKn5PYh//z8JVSwTECnxHlhfQ5UB1XCanDbezMz1s YQpn4abMc17dLX8I+L3JnEaApiiWCqjq4l8bb3EgIGu6Szhe63JZkbF48yFDjV0dkYbE=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l24s4-0000dM-2M; Wed, 20 Jan 2021 05:13:30 +0100 X-Now-Playing: Joe Jackson's _Live 1980-86 (1)_: "Is She Really Going Out with Him?" In-Reply-To: <1354020375.37460.YahooMailClassic@web141101.mail.bf1.yahoo.com> (Kelly Dean's message of "Tue, 27 Nov 2012 04:46:15 -0800 (PST)") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:198239 Archived-At: Kelly Dean writes: > 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. (I'm going through old bug reports that unfortunately got no response at the time.) I tried reproducing this in Emacs 28 on Debian bullseye, but I'm unable to. After doing up/down, point is at the end if the "i" line, which seems correct. Are you still seeing this problem in more recent Emacs versions? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no