From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#38378: 26.3.50; [PATCH] Add the hierarchy library Date: Mon, 9 Dec 2019 13:25:59 +0100 Message-ID: References: <871rtv3hit.fsf@cassou.me> <8ccb16d7-34b5-c399-4270-aa7ae84fd9ff@yandex.ru> <87pngx3d1c.fsf@cassou.me> 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="263969"; mail-complaints-to="usenet@blaine.gmane.org" Cc: johnw@newartisans.com, 38378@debbugs.gnu.org, clement.pitclaudel@live.com, Stefan Monnier , Dmitry Gutov To: Damien Cassou Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 09 13:27:12 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ieI87-0016WL-UA for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Dec 2019 13:27:12 +0100 Original-Received: from localhost ([::1]:39248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ieI86-00007G-QP for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Dec 2019 07:27:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59853) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ieI7z-00006x-Qk for bug-gnu-emacs@gnu.org; Mon, 09 Dec 2019 07:27:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ieI7y-000574-K0 for bug-gnu-emacs@gnu.org; Mon, 09 Dec 2019 07:27:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46741) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ieI7y-00056w-Gz for bug-gnu-emacs@gnu.org; Mon, 09 Dec 2019 07:27:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ieI7y-0006lC-ED for bug-gnu-emacs@gnu.org; Mon, 09 Dec 2019 07:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Dec 2019 12:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38378 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 38378-submit@debbugs.gnu.org id=B38378.157589437725932 (code B ref 38378); Mon, 09 Dec 2019 12:27:02 +0000 Original-Received: (at 38378) by debbugs.gnu.org; 9 Dec 2019 12:26:17 +0000 Original-Received: from localhost ([127.0.0.1]:52713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ieI7F-0006kB-HM for submit@debbugs.gnu.org; Mon, 09 Dec 2019 07:26:17 -0500 Original-Received: from mail-io1-f67.google.com ([209.85.166.67]:41609) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ieI7E-0006jy-5A for 38378@debbugs.gnu.org; Mon, 09 Dec 2019 07:26:16 -0500 Original-Received: by mail-io1-f67.google.com with SMTP id z26so14499558iot.8 for <38378@debbugs.gnu.org>; Mon, 09 Dec 2019 04:26:16 -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 :cc:content-transfer-encoding; bh=1wcVIjpStREs2u9b+6sxLWXI0ZYIA9Nl8INS+tptv6o=; b=K30cpmffp/qHEBKh6+3y2/xQKYFyRqcSS3D8LPyyhdG7KRpC1FyyziCdUWDMmb3aQ/ 7yTD16lBcC1IO+Z2vyHvN6rtq2trxYB9baALs1zuIbSYBjYbelByJ3YMDjevvDu7O1xI qdy6EplvR91uMi+icsm/B8aAD7GalBilCj0W7sARNLMcJ3FQnFNdv6GcecXtD4Ite5rT DYkfAgvZE+BgV/swVEjyqIC0q/59N0FvC5pJZtUtIrzLRZyKtnXMIK/CG4PiigAFtVix 7RjQ0TIG4d7y1z7+kHOkAjpzRD1zD/oIKwlpW2E303kxFp5l9iJNFOUk2UHJAZaKKqLY bLXg== 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:cc:content-transfer-encoding; bh=1wcVIjpStREs2u9b+6sxLWXI0ZYIA9Nl8INS+tptv6o=; b=AfcV5IYQcO+O0KjjYjAQULiEAIK1HIh/ESCfGEHuBo2kiTWug6zeY8qmNH4xBy8hzO 4+hpU33VIn+skwc1CmAOLl9M/AduWBMEMKBFU4BtWHDIwgXKDhB8NwzrThbjQh8fcQaN a1RDGsYMRJ0hrSnvOeIkbThVrIb92RYV1e7njzmqJ6dikcp/7ubatgpa9eeL/M8G1Mlh BFjlTCrFiDgX7L91Tw03+lkNDTpKGziShqnhHfEEn1dWL+IYC/Mq4G1k9w68sO9ySjBs 09x8Vi7JMbCdjQCqHCHuOQxjusuGWmLZvwceCeFtn9zSTUoaxptOMLgkMsDxEH/arDJW a9Sg== X-Gm-Message-State: APjAAAUdErkntq4ekZxtSj22LWv+4303P2fE6LGgSs4UjntXIu/aCwM7 dYNzJthVM36kcgrxHaMjBvyWH27wwBw56HcrWBA= X-Google-Smtp-Source: APXvYqySvsvmib5Dsp4A/CFcmTrn1Vj9+TZDWbuei4fLja9ciMOwxb49Ym4sWge8LbF2b4x8e9TUDLCzelqEYS/Koi8= X-Received: by 2002:a5e:db0d:: with SMTP id q13mr20744499iop.199.1575894370491; Mon, 09 Dec 2019 04:26:10 -0800 (PST) In-Reply-To: <87pngx3d1c.fsf@cassou.me> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:173097 Archived-At: On Mon, Dec 9, 2019 at 1:21 PM Damien Cassou wrote: > > Dmitry Gutov writes: > > Eli said the core would benefit from it, but I wonder which existing > > features exactly could use it now. > > > > If none, I think GNU ELPA is the better place for it. And as soon as > > someone finds a specific use for it in the core, moving would be trivia= l. FWIW, I agree with Dmitry here. > Cl=C3=A9ment Pit-Claudel suggested "the tree displayed by profiler-report= ." > in https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00675.html. > > Maybe proced's tree mode? So why don't we add a comment to those libraries and say: "if you're considering simplifying this code and adding some more features, consider installing Damien Cassous's as a :core GNU ELPA package in the core" . Would this work for everyone? Having it in ELPA is good for me if I ever want to upgrade it, then make SL= Y use it. But the clincher would be that you implement mutable trees :-) Jo=C3=A3o