help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] easymenu question (fwd)


From: Morgan V. Cundiff
Subject: Re: [h-e-w] easymenu question (fwd)
Date: Sat, 14 Aug 2010 12:49:25 -0400 (EDT)


---------- Forwarded message ----------
Date: Sat, 14 Aug 2010 18:35:55 +0200
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Morgan V. Cundiff <mcundiff@loc.gov>
Subject: Re: [h-e-w] easymenu question

This is not specific to MS Windows, please send it to help-gnu-emacs.


On Sat, Aug 14, 2010 at 6:14 PM, Morgan V. Cundiff <mcundiff@loc.gov> wrote:
>
> I am using easymenu.el to create major-mode-specific menus. The following
> code in my .emacs does create the desired "XQuery" menu. However, it
> positions the XQuery menu as the first (i.e. left-most) menu. I would like
> to be able to position it as the right-most, or, better yet, to place it
> in any arbitrary position relative to the other menus. Can anyone help?
>
> ?? (easy-menu-define my-menu global-map "XQUERY"
> ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??'("XQuery" :visible (string= major-mode
> "xquery-mode")
> ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??["xquery decl" insert-decl t]
> ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??("Sub Menu"
> ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ["My subentry" my-obscure-function t])))
>
> Thanks,
> Morgan
>
>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]