From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Overlays as an AA-tree Date: Wed, 23 Nov 2016 11:06:35 -0500 Message-ID: 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> <83h96y6w45.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1479917256 27880 195.159.176.226 (23 Nov 2016 16:07:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 23 Nov 2016 16:07:36 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 23 17:07:33 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 1c9a56-0006e9-Vc for ged-emacs-devel@m.gmane.org; Wed, 23 Nov 2016 17:07:33 +0100 Original-Received: from localhost ([::1]:34701 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9a5A-0002Cv-Dr for ged-emacs-devel@m.gmane.org; Wed, 23 Nov 2016 11:07:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9a4P-0002CJ-K3 for emacs-devel@gnu.org; Wed, 23 Nov 2016 11:06:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9a4M-0001vS-D6 for emacs-devel@gnu.org; Wed, 23 Nov 2016 11:06:49 -0500 Original-Received: from [195.159.176.226] (port=35367 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c9a4M-0001st-7O for emacs-devel@gnu.org; Wed, 23 Nov 2016 11:06:46 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1c9a4E-0006Fl-6I for emacs-devel@gnu.org; Wed, 23 Nov 2016 17:06:38 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:gm8AC+JjdNE/my5E6Dz9zOOGYVo= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 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:209568 Archived-At: > Beware: we cannot use their code due to copyright issues, so it's > probably not wise to look at the code there. IIRC the majority of XEmacs's code can be integrated into Emacs with no issue w.r.t copyright. But yes, it requires scrutiny. > 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? I think the reference wasn't to the exposed API but to the underlying implementation technique, but XEmacs uses doubly-linked lists to store their extents, so it's no better than what we have. Stefan