GNU bug report logs -
#18285
24.3.92; A combination of `display' on text and `invisible' and `before/after-string' leads to the before/after string being displayed twice
Previous Next
Reported by: Dmitry <dgutov <at> yandex.ru>
Date: Sun, 17 Aug 2014 22:36:02 UTC
Severity: normal
Found in version 24.3.92
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Sat, 23 Aug 2014 00:01:59 +0400
> From: Dmitry Gutov <dgutov <at> yandex.ru>
> CC: 18285 <at> debbugs.gnu.org
>
> > But the question is,
> > won't that cause overlay strings not to be displayed in some cases?
>
> The reverse, maybe? Making `invisible' inactive means something might
> become visible, right?
No.
> But I'd have to see some examples.
Look at the code inside load_overlay_strings that handles this, to
understand what I'm saying.
> > The question is what would you expect from the second example, if it
> > used before-string there? Should the before-string be displayed or
> > shouldn't it? Since invisible makes the beginning of the overlay
> > disappear, under your suggestion it won't be displayed.
>
> I think I'm suggesting the reverse, no?
No.
> And anyway, with the current logic, both examples render the
> `before-string' if I use it there just fine.
Of course, they do, because that's how Emacs was coded.
> I see no reason for that that to change.
You asked to ignore the invisible, so it will change.
This bug report was last modified 3 years and 37 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.