From: Lars Ingebrigtsen <larsi@gnus.org>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 7691@debbugs.gnu.org
Subject: bug#7691: 24.0.50; x-popup-menu with keymap - :help keyword
Date: Thu, 28 Apr 2016 11:50:06 +0200 [thread overview]
Message-ID: <87twimqcz5.fsf@gnus.org> (raw)
In-Reply-To: <533F867CDF704323995770A237B514FF@us.oracle.com> (Drew Adams's message of "Mon, 20 Dec 2010 13:12:52 -0800")
"Drew Adams" <drew.adams@oracle.com> writes:
> And keywords seem to work OK - except for :help. Example:
>
> (defun eee (event)
> (interactive "e")
> (x-popup-menu
> event '(keymap "The Menu"
> (foo menu-item "Foo" 'forward-char
> :enable pop-up-frames
> :help "WHY DOESN'T THIS SHOW UP?"))))
>
> (global-set-key [(control mouse-3)] nil)
> (global-set-key [(control down-mouse-3)] 'eee)
>
> Then `C-mouse-3'. Turn `pop-up-frames' on and off to see that :enable
> works.
>
> But put the pointer over item `Foo' in the menu and you will not see the
> :help displayed.
This seems like it has been fixed now.
(defun eee (event)
(interactive "e")
(x-popup-menu
event '(keymap "The Menu"
(foo menu-item "Foo" forward-char
:enable pop-up-frames
:help "WHY DOESN'T THIS SHOW UP?"))))
(global-set-key [(control mouse-3)] nil)
(global-set-key [(control down-mouse-3)] 'eee)
works for me.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
prev parent reply other threads:[~2016-04-28 9:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-20 21:12 bug#7691: 24.0.50; x-popup-menu with keymap - :help keyword Drew Adams
2010-12-20 21:30 ` Drew Adams
2010-12-20 22:22 ` Stefan Monnier
2010-12-20 22:41 ` Drew Adams
2010-12-20 23:05 ` Jason Rumney
2010-12-20 23:17 ` Drew Adams
2010-12-21 2:11 ` Lennart Borgman
2010-12-21 3:32 ` Jason Rumney
2010-12-21 11:06 ` grischka
2016-04-28 9:50 ` Lars Ingebrigtsen [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=87twimqcz5.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=7691@debbugs.gnu.org \
--cc=drew.adams@oracle.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.