From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Martin Edstrom" Newsgroups: gmane.emacs.bugs Subject: bug#72420: set-goal-column misbehaves with a line-prefix and visual-line-mode Date: Wed, 07 Aug 2024 16:03:40 +0200 (CEST) Message-ID: References: <86cymosmh6.fsf@gnu.org> <86mslooav5.fsf@gnu.org> <865xsco783.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2375"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72420 <72420@debbugs.gnu.org> To: "Eli Zaretskii" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 07 16:55:59 2024 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 1sbi4z-0000Qz-UF for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Aug 2024 16:55:59 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sbi4g-0002l5-4y; Wed, 07 Aug 2024 10:55:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sbi4e-0002ko-VU for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2024 10:55:36 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sbi4e-00080c-Md for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2024 10:55:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:References:Date:From:MIME-Version:To:Subject; bh=k08uVOFQM6ubsEFc1WLSSh4DH3VQ7z5Xk+Kpnv/mAps=; b=c2xsGR9RHpuVvZj3gxsrVDQIY7r62YM3i0l711IEwWnOas4XrKVsqnGQfa0H6YoXdJ5ekoelLLtBJkSkE+Uwk2YxPCsd/4z6WSk2YbQhQPbVDPi02yCmRWxEwdpzlAstcnRaS5BQqOctYl94NVU+hmb+qWTw7d9vwHoLlfkhFQ5bzXJsvwuD+/L8g/k+2woVSCe+J5U9Oz4k1ZLpg7RDHaZV/dGq6oPD6SvFDT9hvIncoHS13jc8LyYM9ThApdZ+zp9lUhlNkN9VAcTO5uBBb0yUpRR3f6/IZIa2CviFmcURb0kYhd/cMEO9LGV0gsSQzbHepnpPPILj/jpVZYll1g==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sbi53-0000va-TQ for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2024 10:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Martin Edstrom" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Aug 2024 14:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72420 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 72420-submit@debbugs.gnu.org id=B72420.17230425493531 (code B ref 72420); Wed, 07 Aug 2024 14:56:01 +0000 Original-Received: (at 72420) by debbugs.gnu.org; 7 Aug 2024 14:55:49 +0000 Original-Received: from localhost ([127.0.0.1]:34884 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbi4q-0000ur-Pz for submit@debbugs.gnu.org; Wed, 07 Aug 2024 10:55:49 -0400 Original-Received: from mailtransmit05.runbox.com ([185.226.149.38]:35300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbhIz-0007fi-Qq for 72420@debbugs.gnu.org; Wed, 07 Aug 2024 10:06:22 -0400 Original-Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1sbhGO-00G4ds-T5; Wed, 07 Aug 2024 16:03:40 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.eu; s=selector1; h=Message-Id:In-Reply-To:References:Date:Subject:CC:To:From: MIME-Version:Content-Transfer-Encoding:Content-Type; bh=k08uVOFQM6ubsEFc1WLSSh4DH3VQ7z5Xk+Kpnv/mAps=; b=mwodSzMQdQcBD3mDke2UOZP9bW QQgpehqIRGzwImR1vVxhTprRF/RfTQ4SAxSLjRQ+GKZt/on5ehgHO43dUVHGDFoWv0YKkdn7ILAa8 MVm4vjiun02sL4HeE7nFdfToZ8ZBtlz5HGLiD2Jee2lv4/krYmC55mV/ODTDeHP0Xyq2GZjBEsc2K bTk9WjPnx7xcj5hv0VPy+/VrvicZ3ADudm84bFAECLoLbvCiSMkFn/Bx9m6sfTowB9aKyTvb793ZH k5ZavH36CWHkfkkTqvlcloxKNj/nPR9lfZbmt259bf+C4ePevkpGJT2E5o1eKIQUudCBgixgcTRQJ jl2N6eXQ==; Original-Received: from [10.9.9.127] (helo=rmmprod05.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1sbhGO-0001nR-8r; Wed, 07 Aug 2024 16:03:40 +0200 Original-Received: from mail by rmmprod05.runbox with local (Exim 4.86_2) (envelope-from ) id 1sbhGO-0006w3-7B; Wed, 07 Aug 2024 16:03:40 +0200 Content-Disposition: inline Original-Received: from [Authenticated alias (1196375)] by runbox.com with http (RMM6); Wed, 07 Aug 2024 14:03:40 GMT X-RMM-Aliasid: 1196375 X-Mailer: RMM6 In-Reply-To: <865xsco783.fsf@gnu.org> X-Mailman-Approved-At: Wed, 07 Aug 2024 10:55:48 -0400 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:289889 Archived-At: > > From: "Martin Edstrom" > > CC: "72420" <72420@debbugs.gnu.org> > > Date: Wed, 07 Aug 2024 14:07:45 +0200 (CEST) > >=20 > > But, it's odd that visual-line-mode does not affect it for you - it doe= s for me.=20 > >=20 > > If I leave visual-line-mode off, then I get the behavior I expect (i.e.= set-goal-column at column 2 is treated as column 6), which is useful. Tur= ning it on causes the command to behave in a way that is not useful, as I d= escribed. >=20 > If you leave visual-line-mode off, then type C-p twice from "z", don't > you see point go to the 3rd "*" of the line "**** h4"? And if so, > isn't that what you meant by "the goal column actually seems to be > offset in some way influenced by the line prefix"? Or did I > misunderstand what you consider a problem in the existing behavior? Indeed, on that line, the behavior is the same with and without visual-line= -mode, going to the 3rd "*". However if I go up to a list item such as "- x...........", I observe diffe= rent behavior. With visual-line-mode, point ends up on the bullet, not on = "x". That is surprising, no? Martin=