GNU bug report logs -
#42209
12.2.4; Text propogated wrong in TeX-fold-mode
Previous Next
Reported by: <gennady.uraltsev <at> gmail.com>
Date: Sun, 5 Jul 2020 00:40:02 UTC
Severity: normal
Tags: wontfix
Found in version 12.2.4
Done: Ikumi Keita <ikumi <at> ikumi.que.jp>
Bug is archived. No further changes may be made.
Full log
Message #24 received at 42209 <at> debbugs.gnu.org (full text, mbox):
tags 42209 wontfix
close 42209
thanks
Hi Keita,
Ikumi Keita <ikumi <at> ikumi.que.jp> writes:
> Hi Arash, thanks for taking care of old bugs.
👍
> I'd like to close it as "wontfix". Sorry, Gennady.
>
> Here is a summary of my study. The following code demonstrates what is
> going on:
> ----------------------------------------------------------------------
> (defface my-large '((t (:height 2.0))) "twice large")
> (switch-to-buffer (generate-new-buffer "abc"))
> (insert "ABCD XYZ
> foo bar") ; for comparison
> (put-text-property 1 9 'face 'my-large) ; enlarge 1st line
> (setq my-str (buffer-substring 2 3)) ; "B" with `my-large' face
> (setq my-ov (make-overlay 1 4)) ; covers "ABC"
> (overlay-put my-ov 'display my-str) ; largeness applied twice.
> ----------------------------------------------------------------------
> Apparently, `display' property string of overlay inherits the
> "largeness" of the underlying texts, thus the largeness is applied twice
> here.
> I'm not sure whether this is an emacs bug or not, since it's certain
> that there are situations where such behavior is useful. In addition,
> even if it is actually a bug, it would be difficult for emacs developer
> to "fix" it because I suppose there are already elisp codes which depend
> on that behavior.
Thanks for the analysis. Per your request, I'm closing this report as
wontfix.
Best, Arash
This bug report was last modified 154 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.