all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: easy-menu-add - arg MAP not used
Date: Thu, 04 May 2006 17:31:40 -0400	[thread overview]
Message-ID: <jwvodyd1omq.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <445A2A79.3010608@student.lu.se> (Lennart Borgman's message of "Thu, 04 May 2006 18:23:21 +0200")

> I just tried to use the MAP argument in `easy-menu-add'. The MAP argument
> did not work as I though.  And it is not mentioned in the doc string.  It is
> even not used in the code as far as I can see. Should it not be used?

> BTW what I wanted to do was to add a menu defined the easy-menu style as
> a submenu.

Easymenu.el was written specifically to make it possible to write menus that
work both under XEmacs and Emacs, even though some of the underlying
primitives are quite different (e.g. XEmacs menus aren't stored in keymaps).

So the easy-menu-add MAP is expected to be used together with the
easy-menu-define MAPS (Emacs ignores the one in easy-menu-add, while XEmacs
ignores the one in easy-menu-define).


        Stefan

  reply	other threads:[~2006-05-04 21:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-04 16:23 easy-menu-add - arg MAP not used Lennart Borgman
2006-05-04 21:31 ` Stefan Monnier [this message]
2006-05-05 19:05 ` Richard Stallman
2006-05-05 19:48   ` Lennart Borgman

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=jwvodyd1omq.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@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.