GNU bug report logs - #78593
31.0.50; describe-key broken on interactive lambdas

Previous Next

Package: emacs;

Reported by: Madhu <enometh <at> meer.net>

Date: Mon, 26 May 2025 15:48:01 UTC

Severity: normal

Found in version 31.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Madhu <enometh <at> meer.net>
Subject: bug#78593: closed (Re: bug#78593: 31.0.50; describe-key broken on
 interactive lambdas)
Date: Sat, 28 Jun 2025 09:07:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#78593: 31.0.50; describe-key broken on interactive lambdas

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 78593 <at> debbugs.gnu.org.

-- 
78593: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78593
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: stefankangas <at> gmail.com
Cc: enometh <at> meer.net, 78593-done <at> debbugs.gnu.org
Subject: Re: bug#78593: 31.0.50; describe-key broken on interactive lambdas
Date: Sat, 28 Jun 2025 12:06:00 +0300
> Cc: 78593 <at> debbugs.gnu.org, enometh <at> meer.net
> Date: Sat, 07 Jun 2025 11:40:32 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> Ping!  Stefan, please chime in.
> 
> > Cc: 78593 <at> debbugs.gnu.org
> > Date: Mon, 26 May 2025 19:46:21 +0300
> > From: Eli Zaretskii <eliz <at> gnu.org>
> > 
> > > Date: Mon, 26 May 2025 21:16:22 +0530 (IST)
> > > From: Madhu <enometh <at> meer.net>
> > > 
> > > On recent master, but this seems to have been broken for a while:
> > > 
> > > $ emacs -Q -eval '(define-key global-map (kbd "<f11>") (lambda () (interactive) (bury-buffer)))'
> > > 
> > > C-h v <f11>
> > > 
> > > throws an error:
> > > 
> > > function-get: Wrong type argument: symbolp, #[nil ((bury-buffer)) (t) nil nil nil]
> > > 
> > > Acktually the *Help* buffer is formatted with sufficient information,
> > > but the error prevents it from being displayed.
> > 
> > Thanks.
> > 
> > Stefan, this is due to your change:
> > 
> >   commit a4ec9ca12969018cdf15b8cc713b3ba054326f99
> >   Author:     Stefan Kangas <stefankangas <at> gmail.com>
> >   AuthorDate: Tue Apr 1 21:25:33 2025 +0200
> >   Commit:     Stefan Kangas <stefankangas <at> gmail.com>
> >   CommitDate: Tue Apr 1 21:25:33 2025 +0200
> > 
> >       function-put: signal error with non-symbol
> > 
> >       * lisp/subr.el (function-get): Signal an error if given a non-symbol
> >       for consistency with 'get'.
> >       * test/lisp/subr-tests.el (subr-butlast): Test for the above.
> > 
> > Any reasons not to revert that?  function-get correctly returns nil if
> > its argument is not a symbol, so why should this signal an error?

No further comments, so I've now reverted the offending commit, and
I'm closing this bug.

[Message part 3 (message/rfc822, inline)]
From: Madhu <enometh <at> meer.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 31.0.50; describe-key broken on interactive lambdas
Date: Mon, 26 May 2025 21:16:22 +0530 (IST)
On recent master, but this seems to have been broken for a while:

$ emacs -Q -eval '(define-key global-map (kbd "<f11>") (lambda () (interactive) (bury-buffer)))'

C-h v <f11>

throws an error:

function-get: Wrong type argument: symbolp, #[nil ((bury-buffer)) (t) nil nil nil]

Acktually the *Help* buffer is formatted with sufficient information,
but the error prevents it from being displayed.

-- Madhu



This bug report was last modified 16 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.