GNU bug report logs -
#7684
24.0.50; doc of `x-popup-menu'
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Sun, 19 Dec 2010 22:31:01 UTC
Severity: normal
Found in version 24.0.50
Done: Glenn Morris <rgm <at> gnu.org>
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 7684 in the body.
You can then email your comments to 7684 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7684
; Package
emacs
.
(Sun, 19 Dec 2010 22:31:01 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
.
(Sun, 19 Dec 2010 22:31:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Both the doc string and node `Pop-Up Menus' of the Elisp manual omit
mentioning this fact, which should be documented:
If you use a list of menu keymaps as the value of MENU, then the title
string (so-called "overall prompt string") of the first keymap is used
as the menu title.
Example:
(defun foo (event)
(interactive "e")
(x-popup-menu event `((keymap "Title"
(help "Help" ,@menu-bar-help-menu))
(keymap "Ignored"
(edit "Edit" ,@menu-bar-edit-menu)))))
(global-set-key [mouse-3] 'foo)
Click mouse-3. The menu title is "Title", which is the title string for
the first keymap. The title strings of any other keymaps
(e.g. "Ignored") are ignored. This should be stated in the doc.
In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
of 2010-12-13 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#7684
; Package
emacs
.
(Sat, 22 Jan 2011 20:18:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 7684 <at> debbugs.gnu.org (full text, mbox):
"Drew Adams" <drew.adams <at> oracle.com> writes:
> Both the doc string and node `Pop-Up Menus' of the Elisp manual omit
> mentioning this fact, which should be documented:
>
> If you use a list of menu keymaps as the value of MENU, then the title
> string (so-called "overall prompt string") of the first keymap is used
> as the menu title.
Fixed, thanks.
bug closed, send any further explanations to
7684 <at> debbugs.gnu.org and "Drew Adams" <drew.adams <at> oracle.com>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Fri, 25 Feb 2011 02:38:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 25 Mar 2011 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 14 years and 90 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.