[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: interactions between after-string and display properties
From: |
Chong Yidong |
Subject: |
Re: interactions between after-string and display properties |
Date: |
Fri, 29 Feb 2008 13:49:44 -0500 |
Hi Kim,
> Joe Wells <address@hidden> 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 <address@hidden>
* xdisp.c (handle_display_prop): Handle empty replacement.
(handle_single_display_spec): Return -1 for empty replacement.
- Re: interactions between after-string and display properties,
Chong Yidong <=