From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Politz Newsgroups: gmane.emacs.devel Subject: Re: Overlays as an AA-tree Date: Fri, 03 Feb 2017 11:24:47 +0100 Message-ID: <87bmuj607k.fsf@hochschule-trier.de> References: <87d1jylv43.fsf@fastmail.com> <87fujv64mn.fsf@hochschule-trier.de> <8360krvdq0.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1486118318 16162 195.159.176.226 (3 Feb 2017 10:38:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 3 Feb 2017 10:38:38 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 03 11:38:34 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cZbGE-00040z-Gn for ged-emacs-devel@m.gmane.org; Fri, 03 Feb 2017 11:38:34 +0100 Original-Received: from localhost ([::1]:33229 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cZbGJ-0002Pq-UE for ged-emacs-devel@m.gmane.org; Fri, 03 Feb 2017 05:38:40 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cZb3D-0000sb-Jx for emacs-devel@gnu.org; Fri, 03 Feb 2017 05:25:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cZb3C-0007Fv-Ox for emacs-devel@gnu.org; Fri, 03 Feb 2017 05:25:07 -0500 Original-Received: from gateway-a.fh-trier.de ([143.93.54.181]:50542) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cZb38-00076c-8J; Fri, 03 Feb 2017 05:25:02 -0500 X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum Hochschule Trier (RZ/HT)] Original-Received: from localhost (ip5f5bdfbc.dynamic.kabel-deutschland.de [95.91.223.188]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTPSA id 8D8E9179A31F; Fri, 3 Feb 2017 11:24:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=hochschule-trier.de; s=default; t=1486117487; bh=Zvjw/HhvHqKywKyN6vyLmsrcz70=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=XEV259IfUqqyTH5Lql2p331Kye8oJc/NJqM7Zas2AZiAjrTyINAQEpD9jbACyDu2Z YbyD9YH1u3G0KT7KFj1nrIl/kOWu9J4r1pJaFUFBvZIrIBRS/GNEa9F7pTrefAeB34 JGyQoWjr4fLDCewzQqnMfutPLLTUFayv9AOaiGwE= In-Reply-To: <8360krvdq0.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 03 Feb 2017 11:13:43 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy] X-Received-From: 143.93.54.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:211921 Archived-At: Eli Zaretskii writes: >> From: Andreas Politz >> Overlay[s] [...] positions may change in one of 3 ways: [...] >> Is this the correct model ? > > Not sure what you are asking here. You actually described the model > of modifying buffer text, which is only tangentially related to > overlays. Confirmation. Too many times I thought I had a grasp on something, exept I didn't. I think its an important issue, because it influences the performance penalty overlays have on editing text. (Note: I don't plan to keep the markers.) >> Someone mentioned in a different thread, >> that occasionally we may have B > E. How does this happen ? > > I don't think it can happen, except during internal operations [...] I see. > There are also overlays that evaporate. Now thats what I would call tangential. (Just teasing.) -ap