Subject: Re: bug#1200: Two more overlay display bugs

From: Glenn Morris <[email-masked]>
Date: Sun, 19 Oct 2008 17:11:12 -0400

Richard Stallman wrote (on Sun, 19 Oct 2008 at 01:00 -0400):

> BUG #1:  An overlay's after-string property that would appear at the
> end of the buffer is not displayed, if the same overlay also has a
> display property and an immediately preceding overlay also has an
> after-string property.  (Putting extra characters at the end of the
> buffer works around this bug.)

This was fixed in Emacs 22.3. The relevant change is

2008-03-31  Chong Yidong  <[email-masked]>

        * xdisp.c (next_overlay_string): Don't set
        overlay_strings_at_end_processed_p if we're currently reading
        from a display string.

> BUG #2:  An overlay's display property and after-string property are
> not displayed if an immediately following overlay shares the same Lisp
> string as its display property.  (Using two distinct display strings
> with identical contents works around the bug.)

I have split this into a separate bug.