From: David Kastrup <dak@gnu.org>
Subject: Re: add-menu-button: Xemacs to emacs
Date: Wed, 16 Mar 2005 18:14:19 +0100 [thread overview]
Message-ID: <x5vf7rikd0.fsf@lola.goethe.zz> (raw)
In-Reply-To: 113gpnckupr53e6@news.supernews.com
Tim Johnson <tim@johnsons-web.com> writes:
> David Kastrup wrote:
>> Tim Johnson <tim@johnsons-web.com> writes:
>
>>>I am in the process of transitioning from Xemacs to emacs.
>>>I have code that uses the xemacs 'add-menu-button function.
>>>Emacs does not recognize this function.
> <snip...>
>>>1)The simple question is:
>>> What is the corresponding emacs function to add a menu
> Hello David:
> Thanks for the example. This is very valuable and is what
> I needed for that issue.
I should have mentioned that LaTeX-mode-map in that example is a
keymap in the relevant mode: menus in XEmacs are bound to "locales"
(which is why you need the easy-menu-add to activate them in some
buffer), whereas menus in Emacs are bound to keymaps.
So the easy-menu-* functions require a keymap as one argument, even
though the implementation for XEmacs will most likely ignore it.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
next prev parent reply other threads:[~2005-03-16 17:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-16 4:38 add-menu-button: Xemacs to emacs Tim Johnson
2005-03-16 9:42 ` David Kastrup
2005-03-16 17:03 ` Tim Johnson
2005-03-16 17:14 ` David Kastrup [this message]
2005-03-16 17:47 ` Stefan Monnier
2005-03-16 12:46 ` Thien-Thi Nguyen
2005-03-16 14:47 ` Stefan Monnier
2005-03-16 17:09 ` Tim Johnson
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=x5vf7rikd0.fsf@lola.goethe.zz \
--to=dak@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.