|
From: | YAMAMOTO Mitsuharu |
Subject: | Re: address@hidden: Overlay string not displayed on text with `display' property] |
Date: | Mon, 19 Jun 2006 13:41:43 +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 Fri, 16 Jun 2006 13:52:47 +0200, address@hidden (Kim F. Storm) said: > Please continue testing!!! Yes, thanks. Here are two cases: * Case 1: The before-string is shown twice. ; 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 (compose-string "DISP")) * Case 2: Cursor at a wrong position. ; 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 "BEFORE_STRING" 'face 'bold)) (overlay-put overlay 'after-string (propertize "AF" 'display (propertize "XY" 'face 'underline))) (put-text-property 1 3 'invisible t) ;; make sure that the first line is wrapped M-< YAMAMOTO Mitsuharu address@hidden
[Prev in Thread] | Current Thread | [Next in Thread] |