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: YAMAMOTO Mitsuharu
Subject: Re: address@hidden: Overlay string not displayed on text with `display' property]
Date: Fri, 16 Jun 2006 10:50:10 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/22.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Thu, 15 Jun 2006 16:45:01 +0200, address@hidden (Kim F. Storm) said:

> Please try the patch below.

I tried it, and found a problem with cursor placement and another
assertion violation.

; emacs -q -D  ;; not `-Q' in order to show a message in *scratch*
(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")
;; make sure that the first line is wrapped
M-<

Then the cursor is displayed at a wrong position.

Another assertion violation can be observed by replacing the last
expression with (put-text-property 1 3 'display '(space :width 2))

                             YAMAMOTO Mitsuharu
                        address@hidden




reply via email to

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