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

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

bug#64696: 30.0.50; indent-to inherits preceding text properties, includ


From: Ihor Radchenko
Subject: bug#64696: 30.0.50; indent-to inherits preceding text properties, including 'invisible
Date: Sat, 22 Jul 2023 07:09:25 +0000

Eli Zaretskii <eliz@gnu.org> writes:

>> With `indent-tabs-mode' disabled, running the test yields different
>> results. (AFAIU, it should not).
>
> Is this about indent-to or about current-column?  I'd like to see
> first if there are any problems in current-column.

Ok.

Test #3 with and without indent-tabs-mode are not the same:

(indent-tabs-mode is nil)
⛔ Warning (emacs): Test #3:: ’word’ is hidden applying ’invisible text property 
to heading body.
⛔ Warning (emacs): Moved point after first ’word’
⛔ Warning (emacs): 1:: current-column = 0
⛔ Warning (emacs): Indented to column 50
⛔ Warning (emacs): 3:: current-column = 0
⛔ Warning (emacs): Enabled visible mode
⛔ Warning (emacs): 5:: current-column = 54

(indent-tabs-mode is t)
⛔ Warning (emacs): Test #3:: ’word’ is hidden applying ’invisible text property 
to heading body.
⛔ Warning (emacs): Moved point after first ’word’
⛔ Warning (emacs): 1:: current-column = 0
⛔ Warning (emacs): Indented to column 50
⛔ Warning (emacs): 3:: current-column = 0
⛔ Warning (emacs): Enabled visible mode
⛔ Warning (emacs): 5:: current-column = 50

Note how the last current-column value is different.
It may be something about current-column or about indent-to.

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





reply via email to

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