From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Damien Cassou Newsgroups: gmane.emacs.bugs Subject: bug#38378: 26.3.50; [PATCH] Add the hierarchy library Date: Fri, 13 Dec 2019 20:56:24 +0100 Message-ID: <87y2vgf193.fsf@cassou.me> References: <871rtv3hit.fsf@cassou.me> <87a7823qg0.fsf@cassou.me> <87muc13cxm.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="252817"; mail-complaints-to="usenet@blaine.gmane.org" Cc: johnw@newartisans.com, 38378@debbugs.gnu.org, Stefan Monnier , clement.pitclaudel@live.com To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 13 20:57:13 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 1ifr3o-0013dk-Al for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Dec 2019 20:57:12 +0100 Original-Received: from localhost ([::1]:52930 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifr3n-0000d6-8t for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Dec 2019 14:57:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43336) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifr3f-0000aG-5A for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2019 14:57:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ifr3e-0003s7-4l for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2019 14:57:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56921) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ifr3e-0003rl-1I for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2019 14:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ifr3e-0002Ik-0j for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2019 14:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Damien Cassou Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Dec 2019 19:57:01 +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.15762669908804 (code B ref 38378); Fri, 13 Dec 2019 19:57:01 +0000 Original-Received: (at 38378) by debbugs.gnu.org; 13 Dec 2019 19:56:30 +0000 Original-Received: from localhost ([127.0.0.1]:34661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ifr38-0002Hv-1p for submit@debbugs.gnu.org; Fri, 13 Dec 2019 14:56:30 -0500 Original-Received: from mail.choca.pics ([62.210.108.126]:51564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ifr36-0002Hl-KR for 38378@debbugs.gnu.org; Fri, 13 Dec 2019 14:56:29 -0500 Original-Received: from localhost (localhost.localdomain [IPv6:::1]) by mail.choca.pics (Postfix) with ESMTP id 7E3E7F09985; Fri, 13 Dec 2019 20:56:26 +0100 (CET) Original-Received: from mail.choca.pics ([IPv6:::1]) by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id 1CgDbjnWbPVl; Fri, 13 Dec 2019 20:56:25 +0100 (CET) Original-Received: from localhost (localhost.localdomain [IPv6:::1]) by mail.choca.pics (Postfix) with ESMTP id 90236F09986; Fri, 13 Dec 2019 20:56:25 +0100 (CET) X-Virus-Scanned: amavisd-new at choca.pics Original-Received: from mail.choca.pics ([IPv6:::1]) by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id ZPq4oeJCUjTn; Fri, 13 Dec 2019 20:56:25 +0100 (CET) Original-Received: from luz4 (254.116.5.93.rev.sfr.net [93.5.116.254]) by mail.choca.pics (Postfix) with ESMTPSA id 2D889F09985; Fri, 13 Dec 2019 20:56:25 +0100 (CET) In-Reply-To: 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:173287 Archived-At: Jo=C3=A3o T=C3=A1vora writes: > On Mon, Dec 9, 2019 at 1:24 PM Damien Cassou wrote: >> a Hierarchy is created with (hierarchy-new) and must then be mutated to >> add elements to it. This is the same as with (make-hash-table). > > But are existing external representations of that hierarchy (such as, say > a buffer displaying it as text) automatically updated when you mutate it? nothing has been done or is planned to go in that direction. I guess it would be possible to add hooks here and there to implement something like that but I haven't spent any time thinking about it. --=20 Damien Cassou "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill