From: Dan Nicolaescu <dann@ics.uci.edu>
To: martin rudalics <rudalics@gmx.at>
Cc: emacs-devel@gnu.org, teirllm@dms.auburn.edu, rms@gnu.org,
monnier@iro.umontreal.ca
Subject: Re: disappearing custom menu
Date: Sun, 18 Nov 2007 15:41:41 -0800 [thread overview]
Message-ID: <ur9zlxbnmtm.fsf@mothra.ics.uci.edu> (raw)
In-Reply-To: <4740960E.4040607@gmx.at> (martin rudalics's message of "Sun, 18 Nov 2007 20:44:14 +0100")
martin rudalics <rudalics@gmx.at> writes:
> > If that is the case, then there's something wrong with the mechanism to
> > set the map. The menu does not disappear when the point is moved to the
> > field (and does not appear when the point is moved out of the field). It
> > disappears when trying to click on it, this is strange for the users.
> >
>
> Try
>
> (easy-menu-define
> Custom-mode-menu (list custom-mode-map custom-field-keymap)
> "Menu used in customization buffers."
> (nconc (list "Custom"
> (customize-menu-create 'customize))
> (mapcar (lambda (arg)
> (let ((tag (nth 0 arg))
> (command (nth 1 arg))
> (active (nth 2 arg))
> (help (nth 3 arg)))
> (vector tag command :active (eval active) :help help)))
> custom-commands)))
This worked fine. Thanks!
(BTW, to make your work a bit easier when installing this: besides
replacing the similar code in cus-edit.el with the above, I needed to
move the definition of custom-field-keymap before the above code).
next prev parent reply other threads:[~2007-11-18 23:41 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-15 4:54 byte compiling defcustom Dan Nicolaescu
2007-11-16 4:28 ` Richard Stallman
2007-11-16 15:25 ` Stefan Monnier
2007-11-17 4:53 ` Richard Stallman
2007-11-18 4:07 ` Stefan Monnier
2007-11-17 4:53 ` Richard Stallman
2007-11-17 5:40 ` Dan Nicolaescu
2007-11-17 16:47 ` Luc Teirlinck
2007-11-17 19:06 ` Dan Nicolaescu
2007-11-17 19:51 ` Luc Teirlinck
2007-11-17 20:05 ` Luc Teirlinck
2007-11-18 13:00 ` Richard Stallman
2007-11-18 18:24 ` disappearing custom menu (was: Re: byte compiling defcustom) Dan Nicolaescu
2007-11-18 18:42 ` Drew Adams
2007-11-18 18:47 ` disappearing custom menu Lennart Borgman (gmail)
2007-11-18 19:20 ` martin rudalics
2007-11-18 19:33 ` Dan Nicolaescu
2007-11-18 19:44 ` martin rudalics
2007-11-18 23:41 ` Dan Nicolaescu [this message]
2007-11-19 7:58 ` martin rudalics
2007-11-19 12:25 ` Richard Stallman
2007-11-19 13:08 ` martin rudalics
2007-11-19 15:28 ` Drew Adams
2007-11-18 19:57 ` Drew Adams
2007-11-18 22:23 ` martin rudalics
2007-11-17 19:55 ` byte compiling defcustom Luc Teirlinck
2007-11-17 20:32 ` Luc Teirlinck
2007-11-17 20:41 ` Luc Teirlinck
2007-11-18 4:13 ` Luc Teirlinck
2007-11-18 4:32 ` Stefan Monnier
2007-11-18 5:11 ` Luc Teirlinck
2007-11-18 18:04 ` Dan Nicolaescu
2007-11-18 18:41 ` Luc Teirlinck
2007-11-18 23:29 ` Dan Nicolaescu
2007-11-19 7:55 ` Stefan Monnier
2007-11-19 19:03 ` Richard Stallman
2007-11-19 20:44 ` Luc Teirlinck
2007-11-20 12:12 ` Richard Stallman
2007-11-19 20:48 ` Luc Teirlinck
2007-11-19 19:03 ` Richard Stallman
2007-11-19 12:25 ` Richard Stallman
2007-11-19 15:48 ` Dan Nicolaescu
2007-11-20 3:59 ` Richard Stallman
2007-11-17 23:31 ` Richard Stallman
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=ur9zlxbnmtm.fsf@mothra.ics.uci.edu \
--to=dann@ics.uci.edu \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=rms@gnu.org \
--cc=rudalics@gmx.at \
--cc=teirllm@dms.auburn.edu \
/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.