From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: No Wayman <iarchivedmywholelife@gmail.com>
Newsgroups: gmane.emacs.bugs
Subject: bug#70209: 30.0.50; describe key + lambda too poetic
Date: Fri, 05 Apr 2024 01:07:39 -0400
Message-ID: <87wmpc9z38.fsf@gmail.com>
References: <874jcgbekr.fsf@gmail.com>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="19064"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: mu4e 1.12.0; emacs 30.0.50
To: 70209@debbugs.gnu.org
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 05 07:08:18 2024
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1rsboH-0004pK-V7
	for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Apr 2024 07:08:17 +0200
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces@gnu.org>)
	id 1rsbny-0007NL-UG; Fri, 05 Apr 2024 01:07:58 -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 <Debian-debbugs@debbugs.gnu.org>)
 id 1rsbnx-0007Ms-QB
 for bug-gnu-emacs@gnu.org; Fri, 05 Apr 2024 01:07:57 -0400
Original-Received: from debbugs.gnu.org ([2001:470:142:5::43])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1rsbnx-00069C-ED
 for bug-gnu-emacs@gnu.org; Fri, 05 Apr 2024 01:07:57 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rsbo2-0003ad-5Q
 for bug-gnu-emacs@gnu.org; Fri, 05 Apr 2024 01:08:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: No Wayman <iarchivedmywholelife@gmail.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Fri, 05 Apr 2024 05:08:02 +0000
Resent-Message-ID: <handler.70209.B.171229367613768@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 70209
X-GNU-PR-Package: emacs
X-Debbugs-Original-To: bug-gnu-emacs@gnu.org
Original-Received: via spool by submit@debbugs.gnu.org id=B.171229367613768
 (code B ref -1); Fri, 05 Apr 2024 05:08:02 +0000
Original-Received: (at submit) by debbugs.gnu.org; 5 Apr 2024 05:07:56 +0000
Original-Received: from localhost ([127.0.0.1]:35080 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1rsbnu-0003Zn-Ko
 for submit@debbugs.gnu.org; Fri, 05 Apr 2024 01:07:56 -0400
Original-Received: from lists.gnu.org ([2001:470:142::17]:47042)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <iarchivedmywholelife@gmail.com>) id 1rsbnq-0003Yi-Ta
 for submit@debbugs.gnu.org; Fri, 05 Apr 2024 01:07:54 -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 <iarchivedmywholelife@gmail.com>)
 id 1rsbng-0007Hn-8i
 for bug-gnu-emacs@gnu.org; Fri, 05 Apr 2024 01:07:40 -0400
Original-Received: from mail-qk1-x735.google.com ([2607:f8b0:4864:20::735])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <iarchivedmywholelife@gmail.com>)
 id 1rsbnb-0005UO-0U
 for bug-gnu-emacs@gnu.org; Fri, 05 Apr 2024 01:07:40 -0400
Original-Received: by mail-qk1-x735.google.com with SMTP id
 af79cd13be357-789e2bf854dso94946485a.3
 for <bug-gnu-emacs@gnu.org>; Thu, 04 Apr 2024 22:07:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1712293653; x=1712898453; darn=gnu.org;
 h=mime-version:message-id:date:user-agent:references:in-reply-to
 :subject:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=0ft5Mi5KbYikDGiogn43Woxa/EkS1JXBXg09ZQHNkk4=;
 b=Cbz4YQ/rGkDqR3ySZv60VY7FA3HFLK0WB0ujRA9QbqudyNhW9dTAp5lF6Xoe46jz94
 Or5tolT8jd8PgxunGpT+oFSoH9C9vsNIyery8zmhmUcH9fqQ+UFEgWpBlUkvpVuWwqK7
 CyXb5h50vbMLhjW3puTztLv33yUUn4a1aT+926l5qB0RuTGXmFi0QPRFOsPbqEKhOy1W
 zWGifBOaYQ9v3PM+zdvZVsAa8dEf7Fob7NVx3kro+gzgyOVJS2Fi5eD0nfHY910+i+Bd
 GA+QeB76r/QaQ3M/MGRddKs+6QQjFurlXkWDQNJyS+2LYNTVvyRwW/XL2tmr01ZZi/1E
 Ynyg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1712293653; x=1712898453;
 h=mime-version:message-id:date:user-agent:references:in-reply-to
 :subject:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=0ft5Mi5KbYikDGiogn43Woxa/EkS1JXBXg09ZQHNkk4=;
 b=VQCIGguG8ZvzQa4SWu8h1LXax8LnO1mgFd/LVaZAoDQzc0piGKf++3VbwDQb3lt96U
 G0zc2wC7DuDu1zwJ2s59mwLold7z04npIihfjioW/tKQFj6Vru5h6L1+4Dmo9q+BZDVS
 eoePL95hfWDFThllstSLxq9O7Ftt/kzeTmolO1BI1wO7LLdXkM6odRMV172NST9LKLj2
 KoiSI/gPt70G62+BLEoKigJ1rNxC4OeqVduoZyB8Kxb/7vgvjySxEf4Fl33Eyliq5FB/
 AGY5ukmmorri7HZtnP2mJCNdQjPQQH8t3eIYMvo7GipVFVMd5R2xiAIzTfynUtxSUgJ1
 Zckg==
X-Gm-Message-State: AOJu0YzEGRxONflqIOZOIaTRJggr0ismv2AojPyBCP0yXc+XOVQ4dXhv
 oPZ/B82OSJYjmIWpwHdhGVpeGmJHoAuYvbksHCDQ46hjgGZ9FzuqtkKLmgIP
X-Google-Smtp-Source: AGHT+IEUOuT5AKGPpBdgCzPxokVsA3o4UXa5X0d/SpkVK4kljH963SLMsDCuCuX4sqSwcQ//T9WprQ==
X-Received: by 2002:a05:620a:1929:b0:78d:4284:6f59 with SMTP id
 bj41-20020a05620a192900b0078d42846f59mr533316qkb.13.1712293653046; 
 Thu, 04 Apr 2024 22:07:33 -0700 (PDT)
Original-Received: from laptop ([2601:84:847f:c697:e217:2894:4724:14f4])
 by smtp.gmail.com with ESMTPSA id
 a9-20020a05620a02e900b0078bcf660116sm345300qko.79.2024.04.04.22.07.31
 for <bug-gnu-emacs@gnu.org>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 04 Apr 2024 22:07:32 -0700 (PDT)
In-Reply-To: <874jcgbekr.fsf@gmail.com> (No Wayman's message of "Fri, 05 Apr
 2024 00:47:48 -0400")
Received-SPF: pass client-ip=2607:f8b0:4864:20::735;
 envelope-from=iarchivedmywholelife@gmail.com; helo=mail-qk1-x735.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: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Xref: news.gmane.io gmane.emacs.bugs:282686
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/282686>

--=-=-=
Content-Type: text/plain; format=flowed


See attached patch, which is.


--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment;
 filename=0001-Include-lambda-type-in-describe-key-output.patch

>From 65f0f2fa251a7b18c15698460c499394b931d09d Mon Sep 17 00:00:00 2001
From: Nicholas Vollmer <iarchivedmywholelife@gmail.com>
Date: Thu, 4 Apr 2024 23:54:42 -0400
Subject: [PATCH] Include lambda type in describe-key output

* lisp/help-fns.el (help-fns-function-description-header):
Add case to describe lambda forms (Bug#70209).
---
 lisp/help-fns.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index a291893e9a2..3a5984d5b84 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -1102,6 +1102,8 @@ help-fns-function-description-header
 				elts nil))
 		      (setq elts (cdr-safe elts)))
 		    (concat beg (if is-full "keymap" "sparse keymap"))))
+                 ((eq (car-safe def) 'lambda)
+                  (concat beg "anonymous Lisp function"))
 		 (t ""))))
     (with-current-buffer standard-output
       (insert description))
-- 
2.44.0


--=-=-=--