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 16:58:11 -0400
Message-ID: <875xwvedcs.fsf@gmail.com>
References: <874jcgbekr.fsf@gmail.com> <87wmpc9z38.fsf@gmail.com>
 <jwvr0fkjat4.fsf-monnier+emacs@gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="31166"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: mu4e 1.12.0; emacs 30.0.50
Cc: 70209@debbugs.gnu.org
To: Stefan Monnier <monnier@iro.umontreal.ca>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 05 22:59:09 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 1rsqeT-0007uz-Ku
	for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Apr 2024 22:59:09 +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 1rsqeI-00042F-TZ; Fri, 05 Apr 2024 16:58: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 1rsqeG-00041z-K2
 for bug-gnu-emacs@gnu.org; Fri, 05 Apr 2024 16:58:56 -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 1rsqeG-0005lV-CJ
 for bug-gnu-emacs@gnu.org; Fri, 05 Apr 2024 16:58:56 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rsqeM-0007yl-2a
 for bug-gnu-emacs@gnu.org; Fri, 05 Apr 2024 16:59: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 20:59:02 +0000
Resent-Message-ID: <handler.70209.B70209.171235070030511@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 70209
X-GNU-PR-Package: emacs
Original-Received: via spool by 70209-submit@debbugs.gnu.org id=B70209.171235070030511
 (code B ref 70209); Fri, 05 Apr 2024 20:59:02 +0000
Original-Received: (at 70209) by debbugs.gnu.org; 5 Apr 2024 20:58:20 +0000
Original-Received: from localhost ([127.0.0.1]:37647 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1rsqdg-0007w2-4m
 for submit@debbugs.gnu.org; Fri, 05 Apr 2024 16:58:20 -0400
Original-Received: from mail-ot1-x336.google.com ([2607:f8b0:4864:20::336]:45166)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <iarchivedmywholelife@gmail.com>) id 1rsqde-0007vB-FZ
 for 70209@debbugs.gnu.org; Fri, 05 Apr 2024 16:58:19 -0400
Original-Received: by mail-ot1-x336.google.com with SMTP id
 46e09a7af769-6e6888358dfso1353752a34.2
 for <70209@debbugs.gnu.org>; Fri, 05 Apr 2024 13:58:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1712350686; x=1712955486; darn=debbugs.gnu.org;
 h=mime-version:message-id:date:user-agent:references:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=AnZ3h83AcSoaOK0NazBCTPeRMhkytICieprm5mX+mjU=;
 b=a2DlhzYWnVbfc+N3MNzNS9XqA1mSe0cdmjQ7R98TChmS+zeXhHfCDOkWwWa1/NJK5n
 MBUIB+N0sVlGyON9IW0utyboxgjho49RbzsvcgeK7WkwV8JA4UhXqZ6Y5W00zsYIfrUF
 wq2RJHz16G/AAb0FujN2O8zu1m2ZJ9thAOBumo6ctCfj39EEoZ1IX9pfs3HKOmW/Sgan
 1v1x1i36CZ4TQ09KuqVTLQThjhEewR+uMBu/j+lJGcm6wYU2MfDVgRWPOQz3eyWh4cn5
 Q04OcivWwDBwP0PR7Qw5TkTNFiJlDcIIpTDeHQylD/QcQoUCLVVEXdAccbftF74K6/av
 RHag==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1712350686; x=1712955486;
 h=mime-version:message-id:date:user-agent:references:in-reply-to
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=AnZ3h83AcSoaOK0NazBCTPeRMhkytICieprm5mX+mjU=;
 b=C144olEphfM0DDt7BX6IzLjF4e1rhC2zzri4XI5ylfkXSFRXIBOSG0Fli9f76JrRxR
 0kvQZXH85gN448kNFMnwb/WWdFX+JKaDC0LyyJ5GDpDHmvFEtSkR0k2BLENrwEh7Ki2P
 yjSUk4Gh4x7zjOGYXuxnD/T7Jhg1jUp1pFOopYkStFkRj9lW4MgjDPaP5zPfVa4yyp5M
 DjzWIIW/bXvRYfdS/uJrkTovZcL4gzn+VhBbkrlSK/M2yHybT6Fa3/LrPKSmEDtBtJo4
 VJ3eJuBUAwT72mGYu60fqohHsi91Rs1XD/ycPk5TY7d7xWueKPcrnAZn5c0kdcxpgbo5
 K7Kg==
X-Gm-Message-State: AOJu0Yw82JFlazRl+GK+H7jp0W2RD+YmnU4WaOp2UBeRBwCgNsrXwCCj
 ucfmnclhKTWHfdjJKKcS6FxCOEFZkzD82Yj4GToGogyrNl0VGkMnu3QoEH7D
X-Google-Smtp-Source: AGHT+IGR75YpUq+BwKGv+OYxOHe9JBRQJFvBvTVEX+cEhbP5xI29v1Pu76uY6WnxYThxh/uIolq3pA==
X-Received: by 2002:a05:6870:a68a:b0:222:1353:ad0f with SMTP id
 i10-20020a056870a68a00b002221353ad0fmr2509943oam.24.1712350685699; 
 Fri, 05 Apr 2024 13:58:05 -0700 (PDT)
Original-Received: from laptop ([2601:84:847f:c697:e217:2894:4724:14f4])
 by smtp.gmail.com with ESMTPSA id
 sq27-20020a05620a4adb00b007881a59042dsm938902qkn.66.2024.04.05.13.58.04
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 05 Apr 2024 13:58:04 -0700 (PDT)
In-Reply-To: <jwvr0fkjat4.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message
 of "Fri, 05 Apr 2024 07:44:51 -0400")
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:282725
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/282725>

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> Thank you for your enjoyable bug report and the suggested patch.

:)

> Actually, I think this won't help because in my test the `car` 
> of `def`
> is `closure` rather than `lambda`.
>
> I installed the patch below instead.
> diff --git a/lisp/help-fns.el b/lisp/help-fns.el
> index a291893e9a2..27011575333 100644

With patch applied, thy *scratch* prepared to itch which I bemoan,
*Help* link replied, its ink ensnared, with "lambda, type 
 Unknown."[1]
Apostrophized: "Be tossed, repaired, my user-error thrown!"
With paren pride, I then declared a test which I have shown.[2]
Test now revised as thou compared. Composure hath no throne
when teary-eyed, in fear I blared, "My closure! Type Unknown?"


[1]:
emacs -Q --batch \
--eval '(global-set-key (kbd "c") `(lambda () (interactive) t)))' 
  \
--eval '(describe-key "c")' \
--eval '(with-current-buffer "*Help*"
           (forward-button 2)
           (push-button)
           (print (buffer-substring-no-properties (point-min) 
           (point-max))))'

Unknown type lambda

[2]:
emacs -Q --batch \
--eval '(global-set-key (kbd "c") (lambda () (interactive) t)))' \
--eval '(describe-key "c")' \
--eval '(with-current-buffer "*Help*"
           (forward-button 2)
           (push-button)
           (print (buffer-substring-no-properties (point-min) 
           (point-max))))'

Unknown type closure