emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: Overlay string not displayed on text with `display'


From: Kim F. Storm
Subject: Re: address@hidden: Overlay string not displayed on text with `display' property]
Date: Fri, 23 Jun 2006 16:43:33 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

YAMAMOTO Mitsuharu <address@hidden> writes:

>>>>>> On Wed, 21 Jun 2006 13:50:21 +0200, address@hidden (Kim F. Storm) said:
>
>> If you can find more problems, don't hesitate to report them.
>
> OK.  Here's another case found.
>
> ; emacs -Q -D
> (setq overlay (make-overlay 1 3))
> (overlay-put overlay 'before-string (compose-string "BE"))
> -> before-string is doubled.
>
> (overlay-put overlay 'after-string (compose-string "AF"))
> -> after-string is not displayed.
>
> (overlay-put overlay 'before-string nil)
> -> after-string is displayed but doubled.

Indeed. Thanks.

Redisplay state was not restored properly after a composition.
I've fixed this by using the iterator stack for compositions.

Actually, debugging these problems has given me a further
level of knowledge about the redisplay engine internals,
and I can see some possible simplifications (for after the
release).

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

[Prev in Thread] Current Thread [Next in Thread]