GNU bug report logs - #26529
26.0.50; describe-key again errors for keys bound to lambda forms

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Sun, 16 Apr 2017 02:01:02 UTC

Severity: normal

Found in version 26.0.50

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26529 in the body.
You can then email your comments to 26529 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#26529; Package emacs. (Sun, 16 Apr 2017 02:01:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Heerdegen <michael_heerdegen <at> web.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 16 Apr 2017 02:01:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: bug-gnu-emacs <at> gnu.org
Cc: Alan Mackenzie <acm <at> muc.de>
Subject: 26.0.50; describe-key again errors for keys bound to lambda forms
Date: Sun, 16 Apr 2017 04:00:44 +0200
Hi,

in emacs -Q, eval

(global-set-key [f11] (lambda () (interactive) (make-frame)))

then C-h k <f11> gives you

describe-key: Wrong type argument: symbolp, (lambda nil (interactive)
(make-frame))

This seems unrelated to similar #11848.  Instead,


| 0c31ff43b6880c84498fbe1f06e1e5809b55e838
| Author:     Alan Mackenzie <acm <at> muc.de>
| AuthorDate: Mon Jan 23 19:00:49 2017 +0000
| Commit:     Alan Mackenzie <acm <at> muc.de>
| CommitDate: Mon Jan 23 19:00:49 2017 +0000
| 
| Give , and .@ doc strings.  Fixes bug #24561.


seems to be causing this issue this time; probably

  (get function 'reader-construct)

should test whether FUNCTION is really bound to a symbol.


Thanks in advance,

Michael.




In GNU Emacs 26.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.22.11)
 of 2017-04-11 built on drachen
Repository revision: b7ec73f6905df99978f7183ac8e83a3be56edc6c
Windowing system distributor 'The X.Org Foundation', version 11.0.11902000
System Description:	Debian GNU/Linux 9.0 (stretch)





Reply sent to Alan Mackenzie <acm <at> muc.de>:
You have taken responsibility. (Sun, 16 Apr 2017 10:13:03 GMT) Full text and rfc822 format available.

Notification sent to Michael Heerdegen <michael_heerdegen <at> web.de>:
bug acknowledged by developer. (Sun, 16 Apr 2017 10:13:03 GMT) Full text and rfc822 format available.

Message #10 received at 26529-done <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 26529-done <at> debbugs.gnu.org
Subject: Re: 26.0.50; describe-key again errors for keys bound to lambda forms
Date: Sun, 16 Apr 2017 10:11:39 +0000
Hello, Michael.

On Sun, Apr 16, 2017 at 04:00:44 +0200, Michael Heerdegen wrote:

> Hi,

> in emacs -Q, eval

> (global-set-key [f11] (lambda () (interactive) (make-frame)))

> then C-h k <f11> gives you

> describe-key: Wrong type argument: symbolp, (lambda nil (interactive)
> (make-frame))

> This seems unrelated to similar #11848.  Instead,


> | 0c31ff43b6880c84498fbe1f06e1e5809b55e838
> | Author:     Alan Mackenzie <acm <at> muc.de>
> | AuthorDate: Mon Jan 23 19:00:49 2017 +0000
> | Commit:     Alan Mackenzie <acm <at> muc.de>
> | CommitDate: Mon Jan 23 19:00:49 2017 +0000
> | 
> | Give , and .@ doc strings.  Fixes bug #24561.


> seems to be causing this issue this time; probably

>   (get function 'reader-construct)

> should test whether FUNCTION is really bound to a symbol.

Sorry about this.  You're absolutely right, a `symbolp' is needed before
those `get's (in two places).

I've pushed a fix to master, and am closing this bug.

> Thanks in advance,

Thank you, too!

> Michael.

-- 
Alan Mackenzie (Nuremberg, Germany).




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 14 May 2017 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 40 days ago.

Previous Next


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