Subject: bug#64696: 30.0.50; indent-to inherits preceding text properties, including 'invisible

From: Ihor Radchenko <[email-masked]>
Date: Fri, 28 Jul 2023 12:26:55 +0000

Eli Zaretskii <[email-masked]> writes:

>> 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?

Width of spaces in particular can vary depending on the text properties.
(:width and :relative-width in 41.16.2 Specified Spaces section of Elisp manual)
Width of tabs can be controlled by tabs stops (AFAIU, I am not familiar
with this feature).

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>