GNU bug report logs - #54488
29.0.50; move-to-column/overlay-related regression in latest master, perhaps 28?

Previous Next

Package: emacs;

Reported by: João Távora <joaotavora <at> gmail.com>

Date: Mon, 21 Mar 2022 06:54:02 UTC

Severity: normal

Found in version 29.0.50

Full log


Message #68 received at 54488 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: João Távora <joaotavora <at> gmail.com>
Cc: 54488 <at> debbugs.gnu.org, dgutov <at> yandex.ru
Subject: Re: bug#54488: 29.0.50; move-to-column/overlay-related regression in
 latest master, perhaps 28?
Date: Wed, 23 Mar 2022 05:39:22 +0200
> From: João Távora <joaotavora <at> gmail.com>
> Date: Wed, 23 Mar 2022 01:11:21 +0000
> Cc: Eli Zaretskii <eliz <at> gnu.org>, 54488 <at> debbugs.gnu.org
> 
>  Tabs?
> 
> Aha! yup.  This idea won't fly.  Thanks, Dmitry, I was about to push that 
> happily, but people definitely use tabs in their source code.  

How do you know to which column to move when tabs are involved?  If
clangd assumes a tab is at a multiple of 8, and the user has tab-width
customized to a different value, you will end up in a wrong place
anyway.  So this case should already cause problems, and if not,
there's some code somewhere that handles it; let it handle it now with
forward-char as well.





This bug report was last modified 3 years and 85 days ago.

Previous Next


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