GNU bug report logs - #13796
24.3.50; Minor bug in "(elisp) Managing Overlays"

Previous Next

Package: emacs;

Reported by: Xue Fuqiao <xfq.free <at> gmail.com>

Date: Sun, 24 Feb 2013 00:00:02 UTC

Severity: minor

Tags: notabug

Found in version 24.3.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 13796 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Xue Fuqiao <xfq.free <at> gmail.com>
Cc: 13796 <at> debbugs.gnu.org
Subject: Re: bug#13796: 24.3.50; Minor bug in "(elisp) Managing Overlays"
Date: Sat, 23 Feb 2013 22:35:24 -0500
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.




This bug report was last modified 12 years and 85 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.