From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#13796: 24.3.50; Minor bug in "(elisp) Managing Overlays" Date: Sat, 23 Feb 2013 22:35:24 -0500 Message-ID: References: <20130224075758.9f89bf633c4f7a8559cd6aee@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1361676935 24922 80.91.229.3 (24 Feb 2013 03:35:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Feb 2013 03:35:35 +0000 (UTC) Cc: 13796@debbugs.gnu.org To: Xue Fuqiao Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 24 04:35:57 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U9SNY-0002R4-1c for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Feb 2013 04:35:56 +0100 Original-Received: from localhost ([::1]:36429 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9SND-0001as-Gr for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Feb 2013 22:35:35 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:60822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9SNA-0001am-D3 for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2013 22:35:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9SN9-0004MG-Ez for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2013 22:35:32 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9SN9-0004MC-C2 for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2013 22:35:31 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U9SOc-0004QO-CP for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2013 22:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Feb 2013 03:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13796 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13796-submit@debbugs.gnu.org id=B13796.136167701916999 (code B ref 13796); Sun, 24 Feb 2013 03:37:02 +0000 Original-Received: (at 13796) by debbugs.gnu.org; 24 Feb 2013 03:36:59 +0000 Original-Received: from localhost ([127.0.0.1]:46355 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U9SOZ-0004Q8-6d for submit@debbugs.gnu.org; Sat, 23 Feb 2013 22:36:59 -0500 Original-Received: from fencepost.gnu.org ([208.118.235.10]:54956) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U9SOW-0004Q0-UO for 13796@debbugs.gnu.org; Sat, 23 Feb 2013 22:36:57 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1U9SN3-0002GT-06; Sat, 23 Feb 2013 22:35:25 -0500 X-Spook: target JSOFC3IP Hugo Chavez chameleon man Sears Tower X-Ran: itg/hOI()AkjiL+0a#mEW@($sm`yk#8l8C!^^YGt"|=-?!BP\a\6?!L#Z1v!MkmK0)M'/R X-Hue: green X-Attribution: GM In-Reply-To: <20130224075758.9f89bf633c4f7a8559cd6aee@gmail.com> (Xue Fuqiao's message of "Sun, 24 Feb 2013 07:57:58 +0800") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:71738 Archived-At: 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.