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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#7542: closed (24.0.50; (elisp) `Extended Menu Items' -
 undefined specifier: KEY-BINDING-DATA)
Date: Sat, 18 Dec 2010 16:23:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 18 Dec 2010 11:28:57 -0500
with message-id <jwvsjxvrqon.fsf-monnier+emacs <at> gnu.org>
and subject line Re: bug#7542: 24.0.50; (elisp) `Extended Menu Items' - undefined specifier: KEY-BINDING-DATA
has caused the GNU bug report #7542,
regarding 24.0.50; (elisp) `Extended Menu Items' - undefined specifier: KEY-BINDING-DATA
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
7542: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7542
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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'
 



[Message part 3 (message/rfc822, inline)]
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


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.