From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Vladimir Kazanov Newsgroups: gmane.emacs.devel Subject: Re: The overlay branch (yet again) Date: Tue, 3 Dec 2019 15:35:17 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="221914"; mail-complaints-to="usenet@blaine.gmane.org" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 03 16:37:45 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1icAFE-000vaZ-4s for ged-emacs-devel@m.gmane.org; Tue, 03 Dec 2019 16:37:44 +0100 Original-Received: from localhost ([::1]:55278 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icAFC-0002jJ-Vo for ged-emacs-devel@m.gmane.org; Tue, 03 Dec 2019 10:37:43 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35713) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icADL-0002i5-JC for emacs-devel@gnu.org; Tue, 03 Dec 2019 10:35:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1icADG-0001Y4-Jc for emacs-devel@gnu.org; Tue, 03 Dec 2019 10:35:44 -0500 Original-Received: from mail-ot1-x333.google.com ([2607:f8b0:4864:20::333]:42078) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1icAD6-0001SA-Um for emacs-devel@gnu.org; Tue, 03 Dec 2019 10:35:34 -0500 Original-Received: by mail-ot1-x333.google.com with SMTP id 66so3241504otd.9 for ; Tue, 03 Dec 2019 07:35:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=8ZMwb8HdfFD9m+BizNzw/fsnZKXpnu59HJSkMyJiC7Q=; b=Vft1gwC7UWCLCrnDJTQIdZ96KaYMG4nig9EC2iZnRA7n/U+Ivw+moXx6axK2pM7FEw anlvXsohmiIArpSLuCCu/c7kTXYengd/HehYJaoNK/kMua+05Smxab3yoMOvy37Bhz8v 4YlBP2U3FO0qzJJm7y1jSEhwbSCte1fGDe3SZawK+8cyqmJIn6ctSehKpOJjOfYCnR4P p5Kgvkbv32EqymHbv0yq+kGvM6CU6wGyTlr2Jdu8arKzhLtrTmVM4kEaSASJe2YJ/H2i eoWluMNzY8ME06kKM5MLenCFi/3WWf5cUWbXYdXcsYhXjdUGqgd9xCISRdE+gUWICKol vv8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=8ZMwb8HdfFD9m+BizNzw/fsnZKXpnu59HJSkMyJiC7Q=; b=FD6kkg/EFVEEMeaVOLuFl5dzb8CDb4EhAjJkZMRoQ3XnG3U5gLIJSUguBh6xNli5+U JVpr1nkN+VAAgFPhsyIBACuFAZEMMvv72JZsd9bAG3DHXjhGrpVsnDbJXvdVAMhZjnmh y2W7XWKPimQqPFPjMuHDOq4yFU5VRPZIBYndzFSDS5XCyCFe8NR+F2KmAaZelzlLsRXn cB32OBlV2EqIoiSH5cgTIBXj1zCZC+UgVjLB9+sq8eOJb3S5krUvzAhXUHUNal0GwhEZ yQuU9S+zHIgOAc3LJ40SaZcZWRY4SlhET1l6WPJau2pRcTsyZ4ooQciavS6nc6b8I0al 3iWQ== X-Gm-Message-State: APjAAAXUj7c845Q2Pxh558U+VEpm1BA3rkTBRYeRmR9xL490iFlp32Vs WUtU/Bb7L/k55p3GRaGZ3HELYt6suzOeRNBSHN9AejUIhQ== X-Google-Smtp-Source: APXvYqww5fTiU++oQKsgI3Z+Yf5o4C/BIUgHnpb0Oe99Oqvm3S3C3bmiOn8RnUva3Se+noydqflPCFAPV86IE+5vdxA= X-Received: by 2002:a05:6830:2371:: with SMTP id r17mr3655529oth.324.1575387328980; Tue, 03 Dec 2019 07:35:28 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::333 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:243045 Archived-At: Hi all again, I went through the code written by Andreas Politz (in the feature/noverlay branch) and all of the related discussions. He completed an astonishing amount of work! Apart from changes to the working code the branch includes 1300 LOC of manually written overlay-related tests, 5700 LOC of automatically generated unit tests and C-level interval tree tests. Check test/src/buffer-tests.el in the feature/noverlay branch for reference. It would be a waste to just throw all of that away. As a first step I really want to put those tests to work. Given that nobody replied to my original email I assume everybody is busy with the new release. In the meantime I'd really like to try to pick up the work already done on overlays. I have a following plan: 1. A separate patch containing all those tests. 2. A second patch, making overlay code independent from the underlying implementation. 3. A third patch, providing a tree-based data structure using either what Andreas built, or smth else. The first patch should be fairy trivial: I'll extract overlay-specific tests into a overlay-test.el (while attributing all of the changes to Andreas, of course), clean up a bit and drop C-level tests. I believe those tests are really useful the way they are right now and can be merged separately. Having those tests merged it will be much easier to go on with further overlay-related changes (i.e. tweaking internal APIs, or underlying data structures). Is anybody interested in me doing this work? On Tue, Nov 26, 2019 at 2:44 PM Vladimir Kazanov wrot= e: > > Hi all, > > a few years ago I tried replacing the underlying overlay data > structure with a tree-based one. Back then I ran out of spare time and > had to delay the project. > > I'll have time on my hands this winter and would like to get back to > the project again. This time it seems that most of the work was done > by Andreas Politz in the feature/noverlay branch: > > https://lists.gnu.org/archive/html/emacs-devel/2018-03/msg00565.html > https://lists.gnu.org/archive/html/emacs-devel/2019-09/msg00543.html > > It seems reasonable to pick up the branch and try to finish it, unless > somebody is already working on it. So my questions are: > > is anybody working on the branch? why was it abandoned? Are there any > known problems with it? > > Thank you > > -- > Yours sincerely, > > > Vladimir Kazanov --=20 Yours sincerely, Vladimir Kazanov -- =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, =D0=92=D0=BB=D0=B0=D0=B4=D0=B8=D0=BC=D0=B8=D1=80 =D0=9A=D0=B0=D0=B7=D0=B0= =D0=BD=D0=BE=D0=B2