GNU bug report logs - #64696
30.0.50; indent-to inherits preceding text properties, including 'invisible

Previous Next

Package: emacs;

Reported by: Ihor Radchenko <yantar92 <at> posteo.net>

Date: Tue, 18 Jul 2023 07:59:01 UTC

Severity: normal

Found in version 30.0.50

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: monnier <at> iro.umontreal.ca, 64696 <at> debbugs.gnu.org
Subject: bug#64696: 30.0.50; indent-to inherits preceding text properties, including 'invisible
Date: Fri, 28 Jul 2023 15:06:47 +0300
> From: Ihor Radchenko <yantar92 <at> posteo.net>
> Cc: Eli Zaretskii <eliz <at> gnu.org>, 64696 <at> debbugs.gnu.org
> Date: Fri, 28 Jul 2023 08:30:47 +0000
> 
> However, remember that this thread started with `indent-to' calculating
> target column without taking into account the display staff. While the
> initial column is using `current-column' and considers
> composition/faces/[partially] invisibility, the number of tabs/spaces to
> be inserted to reach target column are calculated assuming that each
> space occupies 1 column and each tab occupies tab-width columns.
> 
> Now, when we established that Emacs indentation is visual, it is clear
> that the assumption in `indent-to' is not accurate.

Since indent-to inserts only tabs and spaces, how is that assumption
inaccurate?




This bug report was last modified 2 years and 50 days ago.

Previous Next


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