From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: overlay-start > overlay-end Date: Mon, 22 Mar 2004 22:04:55 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20040321.230322.85700391.jet@gyve.org> <20040322.170035.233401763.jet@gyve.org> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1080011724 14158 80.91.224.253 (23 Mar 2004 03:15:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 Mar 2004 03:15:24 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Mar 23 04:15:21 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B5cNt-0006xl-00 for ; Tue, 23 Mar 2004 04:15:21 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B5cNs-0003WH-00 for ; Tue, 23 Mar 2004 04:15:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B5cNe-0008S8-P5 for emacs-devel@quimby.gnus.org; Mon, 22 Mar 2004 22:15:06 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B5cIr-00050e-G1 for emacs-devel@gnu.org; Mon, 22 Mar 2004 22:10:09 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B5cIB-0004Ud-E7 for emacs-devel@gnu.org; Mon, 22 Mar 2004 22:10:01 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B5cIA-0004TW-3i for emacs-devel@gnu.org; Mon, 22 Mar 2004 22:09:26 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.24) id 1B5cDn-0003EL-4e; Mon, 22 Mar 2004 22:04:55 -0500 Original-To: Masatake YAMATO In-reply-to: <20040322.170035.233401763.jet@gyve.org> (message from Masatake YAMATO on Mon, 22 Mar 2004 17:00:35 +0900 (JST)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:20764 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20764 (make-overlay (point) (point) (current-buffer) t) (insert ?x) (overlay-lists))) => ((#)) Cute. + /* Canonicalize the order of start and end. */ + if (tail) + { This fixes just one overlay. What if there are several such overlays? I think it is necessary to have a loop here, to fix as many broken overlays as there may be.