all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: "Dino Chiesa" <dpchiesa@hotmail.com>
Cc: 11148@debbugs.gnu.org
Subject: bug#11148: 23.3; x-popup-menu not behaving as documented
Date: Sun, 01 Apr 2012 18:28:13 +0200	[thread overview]
Message-ID: <m28vifl8ma.fsf@linux-m68k.org> (raw)
In-Reply-To: <BLU159-ds71E45E88437F6DE920E62CE4F0@phx.gbl> (Dino Chiesa's message of "Sun, 1 Apr 2012 08:45:12 -0700")

"Dino Chiesa" <dpchiesa@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@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





      parent reply	other threads:[~2012-04-01 16:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-01 15:45 bug#11148: 23.3; x-popup-menu not behaving as documented Dino Chiesa
2012-04-01 16:19 ` Drew Adams
2012-04-01 20:36   ` Dino Chiesa
2012-09-22  3:30     ` Chong Yidong
2012-04-01 16:28 ` Andreas Schwab [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m28vifl8ma.fsf@linux-m68k.org \
    --to=schwab@linux-m68k.org \
    --cc=11148@debbugs.gnu.org \
    --cc=dpchiesa@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.