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:03:41 +0000

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Ihor Radchenko <yantar92@posteo.net>
>> Cc: monnier@iro.umontreal.ca, 64696@debbugs.gnu.org
>> Date: Thu, 20 Jul 2023 09:10:02 +0000
>> 
>> You can do M-x yant/full-test after evaluating the code below
>
> And what are the problems you see with current-column in this example?
> (Let's leave indent-to alone for now.)

⛔ Warning (emacs): Test #1:: Everything visible.
⛔ Warning (emacs): Moved point after first ’word’
⛔ Warning (emacs): 1:: current-column = 4

Test #1 is expected - everything is visible, we are indeed at column 4.

⛔ Warning (emacs): Test #2:: ’word’ is inside folded heading (hidden using 
overlays).
⛔ Warning (emacs): Moved point after first ’word’
⛔ Warning (emacs): 1:: current-column = 4

Test #2 is unexpected - we are inside invisible region, but
current-column reports as if everything were visible.

⛔ 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

Test #3 follows your previous explanation that current-column ignores
invisible text.

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