From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Overlays as an AA-tree Date: Wed, 23 Nov 2016 17:42:34 +0200 Message-ID: <83h96y6w45.fsf@gnu.org> References: <87d1jylv43.fsf@fastmail.com> <87a8f0p69w.fsf@fastmail.com> <878tujlmp0.fsf@fastmail.com> <87k2dx97tq.fsf@fastmail.com> <834m51csqz.fsf@gnu.org> <87fuol8gxv.fsf@fastmail.com> <1047fa66-2cd2-3073-5916-49357c12eeef@gmail.com> <87y40cszpk.fsf@fastmail.com> <7f6fdfd1-93ab-5faa-efc4-3faccfda00ab@gmail.com> <87shqihdje.fsf@fastmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1479915843 30415 195.159.176.226 (23 Nov 2016 15:44:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 23 Nov 2016 15:44:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: Joakim Jalap , Evgeny Roubinchtein Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 23 16:43:56 2016 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 1c9ZiF-0006es-Uw for ged-emacs-devel@m.gmane.org; Wed, 23 Nov 2016 16:43:56 +0100 Original-Received: from localhost ([::1]:34600 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9ZiJ-000231-FT for ged-emacs-devel@m.gmane.org; Wed, 23 Nov 2016 10:43:59 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9ZhQ-0001zn-R6 for emacs-devel@gnu.org; Wed, 23 Nov 2016 10:43:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9ZhB-00054m-Ve for emacs-devel@gnu.org; Wed, 23 Nov 2016 10:43:04 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56189) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9ZhB-00054h-Sj; Wed, 23 Nov 2016 10:42:49 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2461 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1c9ZhB-0003Ab-4w; Wed, 23 Nov 2016 10:42:49 -0500 In-reply-to: <87shqihdje.fsf@fastmail.com> (message from Joakim Jalap on Wed, 23 Nov 2016 08:16:05 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:209563 Archived-At: > From: Joakim Jalap > Date: Wed, 23 Nov 2016 08:16:05 +0100 > > Evgeny Roubinchtein writes: > > > This is really exciting work. > > > > I realize this is a politically-charged issue, but would it be > > possible to reuse some of the design (if not the code) from XEmacs > > extents? > > It is not politically charged for me :) I have never used XEmacs, but I > will have a look at the 'extents' feature. However, what I'm trying to > do is just to change the underlying implementation, not change how > overlays behave. > > But I will have a look at extents, thanks for the tip! Beware: we cannot use their code due to copyright issues, so it's probably not wise to look at the code there. Reading extents.texi in the lispref/ directory is what I'd recommend. I actually don't understand the request: what is meant by "design" here? If there are some features we lack in the overlays, then corresponding feature requests (better yet, patches) would be appreciated. After reading extents.texi, I don't see any significant features missing, except the ability to copy overlays with the text (which AFAIR XEmacs implements somewhat inconsistently, as only some of the primitives that process text support that). Is there something else?