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: Wed, 19 Jul 2023 18:09:05 +0300
> From: Ihor Radchenko <yantar92 <at> posteo.net>
> Cc: monnier <at> iro.umontreal.ca, 64696 <at> debbugs.gnu.org
> Date: Wed, 19 Jul 2023 14:25:48 +0000
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > I don't see any inconsistency.  'insert' is a much more
> > general-purpose primitive than indent-to.  It would be dead wrong for
> > each insertion to inherit the properties.
> >
> > indent-to is different: when you indent text, you supposed want the
> > whitespace to use the same face, for example.  Think about it.
> 
> Not necessarily. Sometimes, we just use it for plain text alignment.
> Like in block comments or Org tables.

I can understand "sometimes".  My point was that it isn't "always" nor
even "almost always".  IOW, the fact that indent-to inherits is not
arbitrary.




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

Previous Next


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