From: mcundiff1@comcast.net
To: help-gnu-emacs@gnu.org
Subject: easymenu question
Date: Sat, 14 Aug 2010 17:00:50 +0000 (UTC) [thread overview]
Message-ID: <145893916.1438283.1281805250156.JavaMail.root@sz0112a.westchester.pa.mail.comcast.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 582 bytes --]
I am using easymenu.el to create major-mode-specific menus. The following
code in my .emacs does create the desired "XQuery" menu. However, it
positions the XQuery menu as the first (i.e. left-most) menu. I would like
to be able to position it as the right-most, or, better yet, to place it
in any arbitrary position relative to the other menus. Can anyone help?
(easy-menu-define my-menu global-map "XQUERY"
'("XQuery" :visible (string= major-mode
"xquery-mode")
["xquery decl" insert-decl t]
("Sub Menu"
["My subentry" my-obscure-function t])))
Thanks,
Morgan
[-- Attachment #2: Type: text/html, Size: 1268 bytes --]
next reply other threads:[~2010-08-14 17:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-14 17:00 mcundiff1 [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-08-14 16:53 easymenu question Morgan V. Cundiff
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=145893916.1438283.1281805250156.JavaMail.root@sz0112a.westchester.pa.mail.comcast.net \
--to=mcundiff1@comcast.net \
--cc=help-gnu-emacs@gnu.org \
/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.