From: Leo <sdl.web@gmail.com>
Subject: Add a submenu to global menu-bar
Date: Wed, 03 Jan 2007 23:40:05 +0000 [thread overview]
Message-ID: <m264bn7k8a.fsf@sl392.st-edmunds.cam.ac.uk> (raw)
Hi all,
The following code will add an "Add-On" menu before "File". How can I
control the position of this submenu? i.e. I want to move the menu to
between "Tools" and "Help". Thank you for your help.
,----
| (easy-menu-define sdl-add-on-menu global-map "My Emacs Add-On menu."
| '("Add-On"
| ["Find file at point" ffap]
| ["BBDB" bbdb :visible (fboundp 'bbdb)]
| ["Planner" plan :visible (fboundp 'plan)]))
`----
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
next reply other threads:[~2007-01-03 23:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-03 23:40 Leo [this message]
2007-01-14 19:16 ` Add a submenu to global menu-bar Leo
[not found] ` <mailman.3055.1168802187.2155.help-gnu-emacs@gnu.org>
2007-01-15 15:00 ` Rjjd
2007-01-15 18:57 ` Leo
[not found] ` <mailman.3102.1168887496.2155.help-gnu-emacs@gnu.org>
2007-01-15 19:53 ` Mike Treseler
2007-01-15 21:25 ` Leo
[not found] ` <mailman.3111.1168896338.2155.help-gnu-emacs@gnu.org>
2007-01-18 0:33 ` Rjjd
2007-01-18 1:07 ` Leo
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m264bn7k8a.fsf@sl392.st-edmunds.cam.ac.uk \
--to=sdl.web@gmail.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.
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).