[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: Partial highlighting of wrapped overlay]
From: |
Kim F. Storm |
Subject: |
Re: address@hidden: Partial highlighting of wrapped overlay] |
Date: |
Tue, 18 Jan 2005 13:43:13 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> This bug has not been fixed. Could someone please look at it,
> and ack to me?
I have installed a fix.
>
> From: Ralf Angeli <address@hidden>
> Subject: Partial highlighting of wrapped overlay
> To: address@hidden
> Date: Mon, 18 Oct 2004 19:09:19 +0200
> Mail-Followup-To: address@hidden
> Mail-Copies-To: nobody
>
> If you put
>
> (let* ((length (+ (- (window-width) (current-column)) 40))
> (start (point))
> (end (+ (point) length))
> (string (make-string length ?x))
> ov)
> (insert string)
> (setq ov (make-overlay start end))
> (overlay-put ov 'mouse-face 'highlight)
> (overlay-put ov 'display string))
>
> into the *scratch* buffer and type `C-x C-e' with point at the last
> parenthesis, you will get a string which does not fit into the line
> and has to be wrapped. If you move over it with your mouse, you
> should see that only the part on the second line is being highlighted.
> The full string is highlighted only if the 'display property is not
> set.
--
Kim F. Storm <address@hidden> http://www.cua.dk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: address@hidden: Partial highlighting of wrapped overlay],
Kim F. Storm <=