unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#17193: 24.4.50; `menu-bar-make-toggle': allow :keys
@ 2014-04-05 15:34 Drew Adams
  2014-04-05 15:49 ` Drew Adams
  0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2014-04-05 15:34 UTC (permalink / raw)
  To: 17193

Enhancement request:

`menu-bar-make-toggle' is a macro that expands to `(menu-item ...)'.
This is a request to allow it to accept, and take into account,
additional `menu-item' features, such as `:keys'.  Currently, it seems
there is no way to pass :keys to `menu-bar-make-toggle' so that the keys
will appear in (i.e., next to) the menu item.


In GNU Emacs 24.4.50.1 (i686-pc-mingw32)
 of 2014-03-30 on ODIEONE
Bzr revision: 116912 rgm@gnu.org-20140331004905-epgjyxkpa4nv54bm
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/snapshot/trunk
 --enable-checking=yes,glyphs 'CFLAGS=-O0 -g3'
 LDFLAGS=-Lc:/Devel/emacs/lib 'CPPFLAGS=-DGC_MCHECK=1
 -Ic:/Devel/emacs/include''





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#17193: 24.4.50; `menu-bar-make-toggle': allow :keys
  2014-04-05 15:34 bug#17193: 24.4.50; `menu-bar-make-toggle': allow :keys Drew Adams
@ 2014-04-05 15:49 ` Drew Adams
  2014-04-05 15:58   ` Drew Adams
  0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2014-04-05 15:49 UTC (permalink / raw)
  To: 17193

I should have made clear in the Subject line, as well as in the
message body, that the request is not just about :keys but includes
support for (i.e., taking account of) :enable, :visible, and so on.

IOW, the macro should allow `menu-item' features such as these
keywords to be passed on to `menu-item', so that they take effect.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#17193: 24.4.50; `menu-bar-make-toggle': allow :keys
  2014-04-05 15:49 ` Drew Adams
@ 2014-04-05 15:58   ` Drew Adams
  0 siblings, 0 replies; 3+ messages in thread
From: Drew Adams @ 2014-04-05 15:58 UTC (permalink / raw)
  To: 17193

> I should have made clear in the Subject line, as well as in the
> message body, that the request is not just about :keys but includes
> support for (i.e., taking account of) :enable, :visible, and so on.
> 
> IOW, the macro should allow `menu-item' features such as these
> keywords to be passed on to `menu-item', so that they take effect.

This is apparently already what `menu-bar-make-mm-toggle' does,
for example.

[But the doc string for `menu-bar-make-mm-toggle' is not very
clear about this.  It simply calls this PROPS, saying "PROPS are
additional properties."  It really should make clear what is
involved: these are things passed to `menu-item'.  "Properties"
by itself means nothing in the context of that doc string.
Something really needs to point to `menu-item', which is fully
documented.]





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-05 15:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-05 15:34 bug#17193: 24.4.50; `menu-bar-make-toggle': allow :keys Drew Adams
2014-04-05 15:49 ` Drew Adams
2014-04-05 15:58   ` Drew Adams

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).