[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9642: move-overlay creates an empty overlay with the evaporate prope
From: |
Stefan Monnier |
Subject: |
bug#9642: move-overlay creates an empty overlay with the evaporate property |
Date: |
Fri, 30 Sep 2011 23:09:14 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> In a nonempty buffer, the following:
> (let ((o (make-overlay 1 2)))
> (overlay-put o 'evaporate t)
> (move-overlay o 0 1))
> returns an empty overlay that has the evaporate property.
> But this is not supposed to happen: when an overlay with that
> property becomes empty, it's supposed to be deleted.
OTOH if the user goes through the trouble to do the above, he probably
doesn't want this overlay to disappear right away. So I'm not sure we
want to second guess the user here.
Stefan