>>>>> On Mon, 12 Jun 2006 11:26:07 +0200, [EMAIL PROTECTED] (Kim F. Storm) said:

>> So it may be a question of specifically handling before-string and
>> after-string properties at the boundaries of display and
>> composition properties.

Yes, that's exactly what I need.  Maybe I've unconsciously
oversimplified the issue.

> It seems to work fine With the following patch (not trivial, but not
> extremely complex either):

Great!  Thanks for working on this.

There seems to be some problems with this patch.  Besides an apparent
typo (compute_stop_pos), some assertions are violated with the test
case you mentioned:

> ; emacs -Q -D
> (setq overlay (make-overlay 1 3))
> (overlay-put overlay 'before-string (propertize "BE" 'face 'bold))
> (overlay-put overlay 'after-string (propertize "AF" 'display 
>                        (propertize "XY" 'face 'underline)))
> (put-text-property 1 3 'display "DISP")

And crashed if the last one was changed to (put-text-property 2 3
'display "DISP"), though the case that overlay strings are not at
boundaries of display property was not what I intended.

                                     YAMAMOTO Mitsuharu
                                [EMAIL PROTECTED]


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to