* Re: interactions between after-string and display properties
@ 2008-02-29 18:49 Chong Yidong
2008-02-29 23:21 ` Kim F. Storm
0 siblings, 1 reply; 2+ messages in thread
From: Chong Yidong @ 2008-02-29 18:49 UTC (permalink / raw)
To: Kim F. Storm; +Cc: Joe Wells, emacs-devel
Hi Kim,
> Joe Wells <jbw@macs.hw.ac.uk> writes:
>
> An overlay's after-string property is not displayed if an immediately
> following overlay has the empty string as its display property.
To reproduce:
(progn
(if (get-buffer "*test*")
(kill-buffer "*test*"))
(pop-to-buffer "*test*")
(erase-buffer)
(insert "ABCD")
(let ((o1 (make-overlay 2 3))
(o2 (make-overlay 3 4)))
(overlay-put o1 'after-string "1")
(overlay-put o2 'display "")))
This bug seems to have been introduced by the following change. It's
pretty long ago, but do you remember why this change was made, and
what implications where could be for reverting it?
2005-05-16 Kim F. Storm <storm@cua.dk>
* xdisp.c (handle_display_prop): Handle empty replacement.
(handle_single_display_spec): Return -1 for empty replacement.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-29 23:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-29 18:49 interactions between after-string and display properties Chong Yidong
2008-02-29 23:21 ` Kim F. Storm
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).