[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: overlay window property not respected
From: |
Kim F. Storm |
Subject: |
Re: overlay window property not respected |
Date: |
Thu, 15 Sep 2005 10:24:35 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
martin rudalics <address@hidden> writes:
> The Emacs Lisp manual specifies the window property of an overlay as:
>
> `window'
> If the `window' property is non-`nil', then the overlay applies
> only on that window.
>
> Executing
>
> (defun foobar ()
> (interactive)
> (insert "foo")
> (let ((overlay (make-overlay (- (point) 3) (point))))
> (overlay-put overlay 'window (selected-window))
> (overlay-put overlay 'display "bar")
> (split-window)))
>
> has "bar" appear in _both_ windows. According to the manual "bar"
> should replace "foo" in the initially selected window only.
>
> (I posted this on emacs-devel before but didn't get a response.)
Sorry for not responding to your post, but the bug was fixed in
CVS 2005-09-07.
--
Kim F. Storm <address@hidden> http://www.cua.dk