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


Message #77 received at 64696 <at> debbugs.gnu.org (full text, mbox):

From: Ihor Radchenko <yantar92 <at> posteo.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: monnier <at> iro.umontreal.ca, 64696 <at> debbugs.gnu.org
Subject: Re: 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 <at> 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>




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.