From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: dalanicolai Newsgroups: gmane.emacs.devel Subject: Re: How to retrieve a node from ewoc by data (extend library?) Date: Tue, 29 Mar 2022 13:29:01 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f3923d05db59bcb5" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1278"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , Emacs Devel To: "T.V Raman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Mar 29 13:33:11 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nZA62-00008f-Es for ged-emacs-devel@m.gmane-mx.org; Tue, 29 Mar 2022 13:33:10 +0200 Original-Received: from localhost ([::1]:56372 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZA61-0004Yf-BE for ged-emacs-devel@m.gmane-mx.org; Tue, 29 Mar 2022 07:33:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56130) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZA2E-0001it-RW for emacs-devel@gnu.org; Tue, 29 Mar 2022 07:29:14 -0400 Original-Received: from [2607:f8b0:4864:20::1136] (port=43788 helo=mail-yw1-x1136.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nZA2D-0001Yy-Bn for emacs-devel@gnu.org; Tue, 29 Mar 2022 07:29:14 -0400 Original-Received: by mail-yw1-x1136.google.com with SMTP id 00721157ae682-2e5e31c34bfso179615877b3.10 for ; Tue, 29 Mar 2022 04:29:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=smll3ViJhNe4TT9pDEYQ2Zs8pd9YMHIOSv5hCv72l+k=; b=amnwF9UP9uqHsjMi8L4LHsJqlVO2J0AmaAzjc5oRBf4MEanriadrpZrU/7MyGT3t0W m/DFR+GbQZJQcNfP0yuwjHQEsjyr1eJInFVEDLrWk/H1w7L0aAS6ZnAqmAs6d+rRAwuM 0pFSsQA1rDuYkWZkTU9Owhh/CJ9fyhfqJbX+qKQb9Q2BbyXt/+uHs1+XNChfi903OVfJ +EKVmc4BDJYnc3E+jsFnEeqJ0r3if/phAEXc4ZEjnxlN+UH6OT5ECtsrp1zS+tv0xKty GifT44HkZ4u3mgdciALfMNTdzFRa3HjOchEtFmTCBsG9QpURXLRn7iPu2c+d8sp4WEu9 vqRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=smll3ViJhNe4TT9pDEYQ2Zs8pd9YMHIOSv5hCv72l+k=; b=MqQIfIU83IPXj5rdZ2aJh48y7uloeVfWu2bXfuoyF2e66vi5e8hvV4e/Kc5qKlNu5z RDI+PpPjjndwcnLmDsenf5wrwWXTJJfdsIo6I/7Q6cziwRNPDNFnSQlvggfz61H6tEzb ryxrunO6V55tiLpUHTI88jOSds8nMONrk+mHerzmRwDd8L2Faoq7MJeBPe1tEDvzzLbi RLqkAExfFdlTmeEaMrNvQDhpnwuAdgsSf39hOuRIfD9MCE+DBmP26+/qG2FY0zzFKA2T Ngh4pSesthw3rYitEE693coNUFeyVAgnt0H8QMOIfn9PUHHFMMML5lDAGVQjQ4NXsmuA ykKQ== X-Gm-Message-State: AOAM5332oOJAxbT9DZ3oSCfFVTTfqOrXKZ/jeSE+2P/EysD7+19NxNg+ dTVOn6zDco/4MFBotEMF4njBXyW9S6hOmva6WA0= X-Google-Smtp-Source: ABdhPJzjIeWn3xs05akBgD3wHbjrLzTH0mlPG/1MiUThBV4EVRHoMy+QFrTRL8SB+QYSPRBJ2CFxKm2bGcTzbJQrjRw= X-Received: by 2002:a81:a146:0:b0:2ea:ab44:6b20 with SMTP id y67-20020a81a146000000b002eaab446b20mr6794643ywg.423.1648553352203; Tue, 29 Mar 2022 04:29:12 -0700 (PDT) In-Reply-To: X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::1136 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::1136; envelope-from=dalanicolai@gmail.com; helo=mail-yw1-x1136.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:287554 Archived-At: --000000000000f3923d05db59bcb5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sorry for this late reply, sometimes I get a bit too much distracted... But anyway, just wanted to thank for your replies; you can be sure, that the help here is always very appreciated. I wanted to look a little more into it (which I partly did)... but there is a bit too much other work to do also. Anyway, when I encounter this again (e.g. when I do some code review/refactoring), then I already have your 'opinion(s)', and can just go ahead... On Sun, 20 Mar 2022 at 14:25, T.V Raman wrote: > Speaking of ewoc, debugging elisp tools that ewoc can prove hard from > experience because attempting to print an ewoc object ends up walking a > complex chain of self-referential nodes; attempting to debug package > jabber.el in the past comes to mind. > > Could ewoc perhaps define some ewoc-specific print functions that allows > the developer to inspect the state of the ewoc graph? > > > -- > > Thanks, > > --Raman(I Search, I Find, I Misplace, I Research) > =E2=99=88 Id: kg:/m/0285kf1 =F0=9F=A6=AE > --000000000000f3923d05db59bcb5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sorry for this late reply, sometimes I get a bit too = much distracted...
But anyway, just wanted to thank for your repl= ies;
you can be sure, that the help here is always very appreciat= ed.

I wanted to look a little more into it (which = I partly did)... but there is
a bit too much other work to do als= o. Anyway, when I encounter this
again (e.g. when I do some code = review/refactoring), then I already
have your 'opinion(s)'= ;, and can just go ahead...

<= div dir=3D"ltr" class=3D"gmail_attr">On Sun, 20 Mar 2022 at 14:25, T.V Rama= n <raman@google.com> wrote:
Speaking of ewoc,= debugging elisp tools that ewoc can prove hard from
experience because attempting to print an ewoc object=C2=A0 ends up walking= a
complex chain of self-referential nodes; attempting to debug package
jabber.el in the past comes to mind.

Could ewoc perhaps define some ewoc-specific print functions that allows the developer to inspect the state of the ewoc graph?


--

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
=E2=99=88 Id: kg:/m/0285kf1=C2=A0 =F0=9F=A6=AE
--000000000000f3923d05db59bcb5--