bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: zero length overlays not found with overlays-at


From: Johan Bockgård
Subject: Re: zero length overlays not found with overlays-at
Date: Fri, 23 Nov 2007 01:19:51 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

"Lennart Borgman (gmail)" <address@hidden> writes:

> This shows the bug:
>
> (defun test-0-ovl ()
>   (remove-overlays)
>   (make-overlay (point) (point) (current-buffer) t t)
>   (message "point=%s, -at=%S, -in=%S"
>            (point)
>            (overlays-at (point))
>            (overlays-in (point) (1+ (point)))
>            ))
>
> Is this bug still there?

It's the correct behavior.  The doc string for overlays-at (now) says

    Return a list of the overlays that contain the character at POS.

-- 
Johan Bockgård





reply via email to

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