GNU bug report logs - #11148
23.3; x-popup-menu not behaving as documented

Previous Next

Package: emacs;

Reported by: "Dino Chiesa" <dpchiesa <at> hotmail.com>

Date: Sun, 1 Apr 2012 15:46:02 UTC

Severity: normal

Found in version 23.3

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: "Dino Chiesa" <dpchiesa <at> hotmail.com>
Cc: 11148 <at> debbugs.gnu.org
Subject: bug#11148: 23.3; x-popup-menu not behaving as documented
Date: Sun, 01 Apr 2012 18:28:13 +0200
"Dino Chiesa" <dpchiesa <at> hotmail.com> writes:

> if the binding on a menu item is nil, then the mnenu item is
> unselectable.
>
> But this elisp code: 
>
>     (x-popup-menu t (list "TITLE" (list
>                                 "PANE"  
>                                 (list "menu item 1" nil)
>                                 (list "menu item 2" nil))))

That menu is not a keymap, so the alternative representation is
selected, where unselectable items are represented by strings, not
conses.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 12 years and 249 days ago.

Previous Next


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