GNU bug report logs - #7542
24.0.50; (elisp) `Extended Menu Items' - undefined specifier: KEY-BINDING-DATA

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Fri, 3 Dec 2010 17:50:03 UTC

Severity: normal

Found in version 24.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

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 7542 in the body.
You can then email your comments to 7542 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 owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7542; Package emacs. (Fri, 03 Dec 2010 17:50:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 03 Dec 2010 17:50:04 GMT) Full text and rfc822 format available.

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

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 24.0.50;
	(elisp) `Extended Menu Items' - undefined specifier: KEY-BINDING-DATA
Date: Fri, 3 Dec 2010 09:54:47 -0800
The node says this:
 
   To define a real menu item which can be selected, the extended format
 binding looks like this:
 
     (menu-item ITEM-NAME REAL-BINDING
         . ITEM-PROPERTY-LIST)
 
 Here, ITEM-NAME is an expression which evaluates to the menu item
 string.  Thus, the string need not be a constant.  The third element,
 REAL-BINDING, is the command to execute.  The tail of the list,
 ITEM-PROPERTY-LIST, has the form of a property list which contains
 other information.
 
   When an equivalent keyboard key binding is cached, the extended menu
 item binding looks like this:
 
     (menu-item ITEM-NAME REAL-BINDING (KEY-BINDING-DATA)
         . ITEM-PROPERTY-LIST)
 
There is no description (anywhere) of KEY-BINDING-DATA - no explanation
of what it looks like or what it means/does.  IOW, this information about
cached bindings is incomplete and incomprehensible.
 
The same problem exists for node `Simple Menu Items'.
 

In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2010-11-30 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4) --no-opt --cflags
-Ic:/imagesupport/include'
 





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7542; Package emacs. (Fri, 03 Dec 2010 22:06:02 GMT) Full text and rfc822 format available.

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

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 7542 <at> debbugs.gnu.org
Subject: Re: bug#7542: 24.0.50;
	(elisp) `Extended Menu Items' - undefined specifier: KEY-BINDING-DATA
Date: Fri, 03 Dec 2010 17:10:41 -0500
>      (menu-item ITEM-NAME REAL-BINDING (KEY-BINDING-DATA)
>          . ITEM-PROPERTY-LIST)
 
> There is no description (anywhere) of KEY-BINDING-DATA - no explanation
> of what it looks like or what it means/does.  IOW, this information about
> cached bindings is incomplete and incomprehensible.
 
Luckily this cache is not used any more.  So we should simply get rid of
this KEY-BINDING-DATA thingy.


        Stefan




Reply sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
You have taken responsibility. (Sat, 18 Dec 2010 16:23:01 GMT) Full text and rfc822 format available.

Notification sent to "Drew Adams" <drew.adams <at> oracle.com>:
bug acknowledged by developer. (Sat, 18 Dec 2010 16:23:02 GMT) Full text and rfc822 format available.

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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: 7542-done <at> debbugs.gnu.org
Subject: Re: bug#7542: 24.0.50;
	(elisp) `Extended Menu Items' - undefined specifier: KEY-BINDING-DATA
Date: Sat, 18 Dec 2010 11:28:57 -0500
>> (menu-item ITEM-NAME REAL-BINDING (KEY-BINDING-DATA)
>> . ITEM-PROPERTY-LIST)
 
>> There is no description (anywhere) of KEY-BINDING-DATA - no explanation
>> of what it looks like or what it means/does.  IOW, this information about
>> cached bindings is incomplete and incomprehensible.
 
> Luckily this cache is not used any more.  So we should simply get rid of
> this KEY-BINDING-DATA thingy.

I've just removed it from the trunk.


        Stefan




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 16 Jan 2011 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 236 days ago.

Previous Next


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