From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Morgan V. Cundiff" Newsgroups: gmane.emacs.help Subject: easymenu question Date: Sat, 14 Aug 2010 12:53:39 -0400 (EDT) Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: dough.gmane.org 1281964555 7539 80.91.229.12 (16 Aug 2010 13:15:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 Aug 2010 13:15:55 +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:15:51 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 1OkzXY-0007EZ-T2 for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Aug 2010 15:15:51 +0200 Original-Received: from localhost ([127.0.0.1]:53575 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OkzTp-000594-2p for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Aug 2010 09:11:57 -0400 Original-Received: from [140.186.70.92] (port=46848 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OkJzN-0005p9-Pz for help-gnu-emacs@gnu.org; Sat, 14 Aug 2010 12:53:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OkJzJ-0007Hu-2G for help-gnu-emacs@gnu.org; Sat, 14 Aug 2010 12:53:45 -0400 Original-Received: from sun8.loc.gov ([140.147.249.48]:46210) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OkJzI-0007Hk-Sj for help-gnu-emacs@gnu.org; Sat, 14 Aug 2010 12:53:41 -0400 Original-Received: from sun8.loc.gov (localhost [127.0.0.1]) by sun8.loc.gov with ESMTP id o7EGrer0002301 for ; Sat, 14 Aug 2010 12:53:40 -0400 (EDT) Original-Received: from localhost (mcundiff@localhost) by sun8.loc.gov (8.13.7/8.13.7/Submit) with ESMTP id o7EGrdaF002298 for ; Sat, 14 Aug 2010 12:53:39 -0400 (EDT) X-Authentication-Warning: sun8.loc.gov: mcundiff owned process doing -bs X-detected-operating-system: by eggs.gnu.org: Solaris 8 (1) X-Mailman-Approved-At: Mon, 16 Aug 2010 09:09:16 -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:74672 Archived-At: 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