unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Xue Fuqiao <xfq.free@gmail.com>
Cc: 13796@debbugs.gnu.org
Subject: bug#13796: 24.3.50; Minor bug in "(elisp) Managing Overlays"
Date: Sat, 23 Feb 2013 22:35:24 -0500	[thread overview]
Message-ID: <fvobfa5qpv.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <20130224075758.9f89bf633c4f7a8559cd6aee@gmail.com> (Xue Fuqiao's message of "Sun, 24 Feb 2013 07:57:58 +0800")

Xue Fuqiao wrote:

> I think both `move-overlay' and `remove-overlays' can change the
> endpoints of an overlay.  So maybe it is a bug here.

remove-overlays may move them as a side effect. This does not invalidate
the point that

     This is the only valid way to change the endpoints of an overlay.
     Do not try modifying the markers in the overlay by hand, as that
     fails to update other vital data structures and can cause some
     overlays to be "lost".

is trying to make. Anyway, remove-overlays uses move-overlays.





  reply	other threads:[~2013-02-24  3:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-23 23:57 bug#13796: 24.3.50; Minor bug in "(elisp) Managing Overlays" Xue Fuqiao
2013-02-24  3:35 ` Glenn Morris [this message]
2013-02-25  2:10   ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fvobfa5qpv.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=13796@debbugs.gnu.org \
    --cc=xfq.free@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).