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

[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: Mon, 03 Oct 2011 09:21:16 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

> If we are going to support this misbehavior (the fact that BEG can be
> zero or negative), please add comments in the code to that effect, and
> maybe also document it in the doc string.

Comment in the code would be good, yes.  But documenting this behavior
is not a good idea, I think.

> FWIW, I think clipping of positions inside set-marker is for the case
> of narrowed buffer, not for being able to handle positions outside the
> valid range of values.

I think so too.  But the issue is only about `evaporate', which should
ensure the overlay never stays empty without evaporating.  I don't think
this matters much either way, so let's not bikeshed too much.


        Stefan




reply via email to

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