From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: drshapeless via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#58210: 29.0.50; Visual line mode movement bug Date: Sat, 01 Oct 2022 21:56:33 +0800 Message-ID: <878rlz641a.fsf@drshapeless.com> References: <874jwogrqc.fsf@drshapeless.com> <834jwocb78.fsf@gnu.org> <871qrrajva.fsf@web.de> <83k05jbtei.fsf@gnu.org> Reply-To: drshapeless Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12052"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58210@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 01 15:59:43 2022 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 1oed1r-00031K-6i for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Oct 2022 15:59:43 +0200 Original-Received: from localhost ([::1]:49462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oed1q-0005eq-8Y for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Oct 2022 09:59:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42656) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oed0E-0004Gh-HR for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2022 09:58:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46353) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oed0E-0002V8-93 for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2022 09:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oed0E-0006LU-3h for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2022 09:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: drshapeless Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Oct 2022 13:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58210 X-GNU-PR-Package: emacs Original-Received: via spool by 58210-submit@debbugs.gnu.org id=B58210.166463263724341 (code B ref 58210); Sat, 01 Oct 2022 13:58:02 +0000 Original-Received: (at 58210) by debbugs.gnu.org; 1 Oct 2022 13:57:17 +0000 Original-Received: from localhost ([127.0.0.1]:45431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeczV-0006KW-4j for submit@debbugs.gnu.org; Sat, 01 Oct 2022 09:57:17 -0400 Original-Received: from drshapeless.com ([173.199.127.49]:46980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeczT-0006KJ-6l for 58210@debbugs.gnu.org; Sat, 01 Oct 2022 09:57:16 -0400 Original-Received: from artix (n058153024110.netvigator.com [58.153.24.110]) by drshapeless.com (Postfix) with ESMTPSA id E0B2C3C6; Sat, 1 Oct 2022 09:57:08 -0400 (EDT) In-Reply-To: <83k05jbtei.fsf@gnu.org> 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:244132 Archived-At: Eli Zaretskii writes: >> From: Michael Heerdegen >> Cc: Jacky Li , 58210@debbugs.gnu.org >> Date: Sat, 01 Oct 2022 13:00:57 +0200 >> >> Eli Zaretskii writes: >> >> > > Date: Sat, 01 Oct 2022 11:14:35 +0800 >> > > From: Jacky Li via "Bug reports for GNU Emacs, >> > > the Swiss army knife of text editors" >> > > >> > > >> > > If visual-line-mode is turned on, using C-a, C-e or C-k will move to the >> > > line above, resulting in a unwanted behaviour. This behaviour was not >> > > observed in the build of Sept 24 HEAD, but in the build of Sept 30 >> > > HEAD. I suspect that the bug commit is within this period. >> > > >> > > Also, this bug only happens when visual-line-mode is enabled. The >> > > related interactive functions are (beginning-of-visual-line), >> > > (end-of-visual-line), (kill-visual-line). >> > >> > Sorry about that, should be fixed now. >> >> (vertical-motion 0) now moves to the previous line. I think this is >> not expected...? > > Did I fix this now? No, it becomes even weirder. C-k seems to be fixed. For C-a, if the point is at an empty line, it works fine. But if the point is at a line with any chars, it will move to the line above. For C-e, it is fine on an empty line. It is also fine if the point is at any position of a line with chars, except for at the end of a line, it will still move to the line above.