[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: disappearing custom menu
From: |
Dan Nicolaescu |
Subject: |
Re: disappearing custom menu |
Date: |
Sun, 18 Nov 2007 15:41:41 -0800 |
martin rudalics <address@hidden> 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).
- Re: byte compiling defcustom, (continued)
- Re: byte compiling defcustom, Dan Nicolaescu, 2007/11/17
- Re: byte compiling defcustom, Luc Teirlinck, 2007/11/17
- Re: byte compiling defcustom, Luc Teirlinck, 2007/11/17
- Re: byte compiling defcustom, Richard Stallman, 2007/11/18
- disappearing custom menu (was: Re: byte compiling defcustom), Dan Nicolaescu, 2007/11/18
- RE: disappearing custom menu (was: Re: byte compiling defcustom), Drew Adams, 2007/11/18
- Re: disappearing custom menu, Lennart Borgman (gmail), 2007/11/18
- Re: disappearing custom menu, martin rudalics, 2007/11/18
- Re: disappearing custom menu, Dan Nicolaescu, 2007/11/18
- Re: disappearing custom menu, martin rudalics, 2007/11/18
- Re: disappearing custom menu,
Dan Nicolaescu <=
- Re: disappearing custom menu, martin rudalics, 2007/11/19
- Re: disappearing custom menu, Richard Stallman, 2007/11/19
- Re: disappearing custom menu, martin rudalics, 2007/11/19
- RE: disappearing custom menu, Drew Adams, 2007/11/19
- RE: disappearing custom menu, Drew Adams, 2007/11/18
- Re: disappearing custom menu, martin rudalics, 2007/11/18
- Re: byte compiling defcustom, Luc Teirlinck, 2007/11/17
- Re: byte compiling defcustom, Luc Teirlinck, 2007/11/17
- Re: byte compiling defcustom, Luc Teirlinck, 2007/11/17
- Re: byte compiling defcustom, Luc Teirlinck, 2007/11/17