From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eduardo Ochs Newsgroups: gmane.emacs.devel Subject: Re: ELPA submission: show-conses.el Date: Wed, 23 Oct 2024 23:18:34 -0300 Message-ID: References: <87jzdyhbrr.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10080"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs developers To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 24 04:19:45 2024 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 1t3nRv-0002TX-ER for ged-emacs-devel@m.gmane-mx.org; Thu, 24 Oct 2024 04:19:44 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t3nR6-0006Rd-Np; Wed, 23 Oct 2024 22:18:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t3nR4-0006Q6-3w for emacs-devel@gnu.org; Wed, 23 Oct 2024 22:18:50 -0400 Original-Received: from mail-yw1-x112d.google.com ([2607:f8b0:4864:20::112d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t3nR2-0000S0-06 for emacs-devel@gnu.org; Wed, 23 Oct 2024 22:18:49 -0400 Original-Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-6e38ebcc0abso4868597b3.2 for ; Wed, 23 Oct 2024 19:18:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729736326; x=1730341126; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=R5GymYbNMQ9qlmtyTotV9e+RTaoIF1t4km0zbu9U0BA=; b=N3U2hHAqu1HKmB3gmhbYJFlVZfYZNeSO/ekTcgOlOq0BF9lx+RmtY6ygxIcKTFPJJ1 UaDk3bk1XwpEoY1gZVqPrP3ZANAH1RXxct3kj3hKA2rlEQBQ+b2CusD1zi5O6awB5EmV 0uO45loX/kIDqhs6NTR7XwXhWVvvRU9n8OxhBjdY3MIsbLMTowIZwJnIgq5SGI8NerU1 WqrUHukWjrdKnX8kLIc6EK0narGRvsjvtGtwVbz61WRcrp+XFE0ujJxe34Np/FCGOI++ fw2/k+rBWIkKUquMxdimWEHpLKDpVQ22GwrbVsLVK9PqIitFbJ8U2CLnG7Tjicvp06P/ C5uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729736326; x=1730341126; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=R5GymYbNMQ9qlmtyTotV9e+RTaoIF1t4km0zbu9U0BA=; b=pPckCMnojr1GjrnULp13A0tV/W+U4Gk2F7GydqT6fVIPC2ED1KqlE3ASMYce8kaMyu /a2yo5Bmy5lOqW7tKbH1c6XoRh0TlABr5I1JW2q1pe83SSWT+EKE7EnCzuWuhR1UL9hh Bn2BpRLgDbYr1BLIcZDERjXO/YqPZdtOYEJH7UNafgVCs66P/9Lkz00rtQ1eFwQIf9cN qZB9bmUtGLfu+x+pFab0Vaq6m86sIf9HwAU4m1FxIE23AjpCti6YX6vF7UNEqv53vJoX 2hRMEGmp1BAkkdCnf9G/Ru8hVHULLTRpO/yRwZWq/88T8cGZUj6VCiYWC5xN8y7iCY56 n39Q== X-Gm-Message-State: AOJu0YyLI6U0DAfPKZdKfRVcCWDhQhJndMxbzUYtOdW+14JKT491mMoK kCda0vXSVEPkIAxt/uAnSXRipyYMPhhiDZDEoEDcA41UvZSM+LE/pagcpl0TVu2cSr6bx3dODZ3 jzwsks4328LKW0LRMgN3hzrJJPJk= X-Google-Smtp-Source: AGHT+IE1uR9xSFb4ZieVd3joKkvSHbdvxpmPtxfIpeEIf1D5z9gIRpKxkD10p7W7Blq1KKVkLzHX5L76/l2XZGTk1As= X-Received: by 2002:a05:690c:c18:b0:6d3:f9a6:e29c with SMTP id 00721157ae682-6e8581642c2mr7239517b3.12.1729736326290; Wed, 23 Oct 2024 19:18:46 -0700 (PDT) In-Reply-To: <87jzdyhbrr.fsf@posteo.net> Received-SPF: pass client-ip=2607:f8b0:4864:20::112d; envelope-from=eduardoochs@gmail.com; helo=mail-yw1-x112d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:324809 Archived-At: On Wed, 23 Oct 2024 at 16:14, Philip Kaludercic wrote: > > Sounds like a neat idea that can certainly be added to {GNU,NonGNU} > ELPA, my main wish is that it would be nice if the package could also > operate stand-alone without too many dependencies. Hi Pkal! Great! Thanks! The only dependency of show-conses.el is eev, and show-conses only uses eev for some displaying and debugging functions... its core doesn't depend on anything(*). For example, this sexp (show-conses-insert-lines (show-conses-lisp-and-constree '(* 2 3))) inserts something like this in the current buffer, (* 2 3) .__.__. | | | * 2 3 with text properties in the nodes of the trees, and sets some markers. (*): IIRC the "core functions" of show-conses.el call one function for eev: `ee-intern', whose definition is: (defun ee-intern (fmt &rest args) "The result of (format FMT ARGS), converted to a symbol" (intern (apply 'format fmt args))) but I still need to define precisely what is the "core"... Cheers, Eduardo Ochs http://anggtwu.net/#eev