unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [angeli@iwi.uni-sb.de: Partial highlighting of wrapped overlay]
@ 2004-12-29  4:38 Richard Stallman
  2005-01-18 12:43 ` Kim F. Storm
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Stallman @ 2004-12-29  4:38 UTC (permalink / raw)


This bug has not been fixed.  Could someone please look at it,
and ack to me?

------- Start of forwarded message -------
X-Injected-Via-Gmane: http://gmane.org/
Mail-Followup-To: emacs-pretest-bug@gnu.org
To: emacs-pretest-bug@gnu.org
From: Ralf Angeli <angeli@iwi.uni-sb.de>
Date: Mon, 18 Oct 2004 19:09:19 +0200
X-Gmane-NNTP-Posting-Host: iwi190.iwi.uni-sb.de
Mail-Copies-To: nobody
Cancel-Lock: sha1:8OK78HzrmBQpLrZfoNEbpnRq2Ec=
Subject: Partial highlighting of wrapped overlay
Sender: emacs-pretest-bug-bounces+rms=gnu.org@gnu.org
X-Spam-Status: No, hits=0.0 required=5.0
	tests=RCVD_IN_ORBS,USER_AGENT_GNUS_UA
	version=2.55
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)

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.

- -- 
Ralf



_______________________________________________
Emacs-pretest-bug mailing list
Emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [angeli@iwi.uni-sb.de: Partial highlighting of wrapped overlay]
  2004-12-29  4:38 [angeli@iwi.uni-sb.de: Partial highlighting of wrapped overlay] Richard Stallman
@ 2005-01-18 12:43 ` Kim F. Storm
  0 siblings, 0 replies; 2+ messages in thread
From: Kim F. Storm @ 2005-01-18 12:43 UTC (permalink / raw)
  Cc: emacs-devel

Richard Stallman <rms@gnu.org> 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 <angeli@iwi.uni-sb.de>
> Subject: Partial highlighting of wrapped overlay
> To: emacs-pretest-bug@gnu.org
> Date: Mon, 18 Oct 2004 19:09:19 +0200
> Mail-Followup-To: emacs-pretest-bug@gnu.org
> 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 <storm@cua.dk> http://www.cua.dk

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-18 12:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-29  4:38 [angeli@iwi.uni-sb.de: Partial highlighting of wrapped overlay] Richard Stallman
2005-01-18 12:43 ` Kim F. Storm

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).