bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#54488: 29.0.50; move-to-column/overlay-related regression in latest


From: Eli Zaretskii
Subject: 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@gmail.com>
> Date: Wed, 23 Mar 2022 01:11:21 +0000
> Cc: Eli Zaretskii <eliz@gnu.org>, 54488@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.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]