From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: mcundiff1@comcast.net Newsgroups: gmane.emacs.help Subject: easymenu question Date: Sat, 14 Aug 2010 17:00:50 +0000 (UTC) Message-ID: <145893916.1438283.1281805250156.JavaMail.root@sz0112a.westchester.pa.mail.comcast.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1438282_1641255033.1281805250155" X-Trace: dough.gmane.org 1281964289 5623 80.91.229.12 (16 Aug 2010 13:11:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 Aug 2010 13:11:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 16 15:11:28 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OkzTF-0006qg-CY for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Aug 2010 15:11:24 +0200 Original-Received: from localhost ([127.0.0.1]:53035 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OkzTC-0004qX-Kh for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Aug 2010 09:11:18 -0400 Original-Received: from [140.186.70.92] (port=52607 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OkK6I-0006hs-J3 for help-gnu-emacs@gnu.org; Sat, 14 Aug 2010 13:00:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OkK6D-00083p-M5 for help-gnu-emacs@gnu.org; Sat, 14 Aug 2010 13:00:54 -0400 Original-Received: from qmta06.westchester.pa.mail.comcast.net ([76.96.62.56]:49235) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OkK6D-00083k-Ig for help-gnu-emacs@gnu.org; Sat, 14 Aug 2010 13:00:49 -0400 Original-Received: from omta21.westchester.pa.mail.comcast.net ([76.96.62.72]) by qmta06.westchester.pa.mail.comcast.net with comcast id uGmZ1e0021ZXKqc56H0q26; Sat, 14 Aug 2010 17:00:50 +0000 Original-Received: from sz0112.wc.mail.comcast.net ([76.96.58.172]) by omta21.westchester.pa.mail.comcast.net with comcast id uH0q1e0033ixLoC3hH0qvE; Sat, 14 Aug 2010 17:00:50 +0000 X-Originating-IP: [69.143.122.242] X-Mailer: Zimbra 6.0.5_GA_2420.RHEL4 (ZimbraWebClient - SAF3 (Linux)/6.0.5_GA_2420.RHEL4) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Mailman-Approved-At: Mon, 16 Aug 2010 09:09:17 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:74671 Archived-At: ------=_Part_1438282_1641255033.1281805250155 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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 ------=_Part_1438282_1641255033.1281805250155 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <= div style=3D'font-family: Arial; font-size: 12pt; color: #000000'>
I am using easymenu.el to create major-mode-specific menus. The following<= /div>
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, be= tter yet, to place it
in any arbitrary position relative to the o= ther menus. Can anyone help?

   (easy-me= nu-define my-menu global-map "XQUERY"
       =                '("XQuery" :visible = (string=3D major-mode
"xquery-mode")
    = ;                    ["xq= uery decl" insert-decl t]
          = ;              ("Sub Menu"
&nb= sp;                    &n= bsp;   ["My subentry" my-obscure-function t])))


Thanks,
Morgan
------=_Part_1438282_1641255033.1281805250155--