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 #71 received at 64696 <at> debbugs.gnu.org (full text, mbox):

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: Re: bug#64696: 30.0.50; indent-to inherits preceding text
 properties, including 'invisible
Date: Sat, 22 Jul 2023 09:51:00 +0300
> From: Ihor Radchenko <yantar92 <at> posteo.net>
> Cc: monnier <at> iro.umontreal.ca, 64696 <at> debbugs.gnu.org
> Date: Fri, 21 Jul 2023 08:32:18 +0000
> 
> Ihor Radchenko <yantar92 <at> posteo.net> writes:
> 
> And results also somehow depend on `indent-tabs-mode'.
> If I try
> 
> (defun yant/test-init-buffer ()
>   (switch-to-buffer (get-buffer-create "*Test*"))
>   (delete-other-windows)
>   (unless (eq major-mode 'outline-mode) (outline-mode))
>   (erase-buffer)
>   (indent-tabs-mode -1) ;; <<< do not indent using tabs
>   (insert "\n")
>   (insert "* Test\n")
>   (insert "word word\n")
>   (goto-char (point-min)))
> 
> 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.




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.