From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Eli Zaretskii <eliz@gnu.org>
Cc: eggert@cs.ucla.edu, 9642@debbugs.gnu.org
Subject: bug#9642: move-overlay creates an empty overlay with the evaporate property
Date: Mon, 03 Oct 2011 09:21:16 -0400 [thread overview]
Message-ID: <jwvipo6p61v.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <E1RAbCF-0004Xt-NN@fencepost.gnu.org> (Eli Zaretskii's message of "Mon, 03 Oct 2011 01:36:11 -0400")
> 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
next prev parent reply other threads:[~2011-10-03 13:21 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-30 22:55 bug#9642: move-overlay creates an empty overlay with the evaporate property Paul Eggert
2011-10-01 3:09 ` Stefan Monnier
2011-10-01 4:01 ` Stefan Monnier
2011-10-01 7:33 ` Paul Eggert
2011-10-01 8:22 ` Eli Zaretskii
2011-10-02 5:38 ` Paul Eggert
2011-10-02 6:56 ` Eli Zaretskii
2011-10-03 1:09 ` Paul Eggert
2011-10-03 3:56 ` Eli Zaretskii
2011-10-03 4:21 ` Paul Eggert
2011-10-03 3:15 ` Stefan Monnier
2011-10-03 5:36 ` Eli Zaretskii
2011-10-03 13:21 ` Stefan Monnier [this message]
2012-04-23 22:48 ` Paul Eggert
[not found] ` <handler.9642.D9642.133522137028631.notifdone@debbugs.gnu.org>
2012-04-26 15:30 ` bug#9642: closed (Re: bug#9642: move-overlay creates an empty overlay with the evaporate property) Tassilo Horn
2012-04-27 16:27 ` Tassilo Horn
2012-04-27 18:38 ` Tassilo Horn
2012-04-28 7:34 ` Eli Zaretskii
2012-04-28 13:17 ` Stefan Monnier
2012-04-28 22:20 ` Paul Eggert
2012-04-29 7:57 ` Tassilo Horn
2012-04-29 19:41 ` Paul Eggert
2012-04-30 9:40 ` Troels Nielsen
2012-05-14 5:46 ` Stefan Monnier
2012-05-27 22:09 ` Troels Nielsen
2012-05-29 16:16 ` Paul Eggert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvipo6p61v.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=9642@debbugs.gnu.org \
--cc=eggert@cs.ucla.edu \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.