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: Re: [h-e-w] easymenu question (fwd) Date: Sat, 14 Aug 2010 12:49:25 -0400 (EDT) Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1281964257 5381 80.91.229.12 (16 Aug 2010 13:10:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 Aug 2010 13:10:57 +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:10:54 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 1OkzSl-0006Xs-4Y for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Aug 2010 15:10:52 +0200 Original-Received: from localhost ([127.0.0.1]:52952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OkzSj-0004mD-5S for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Aug 2010 09:10:49 -0400 Original-Received: from [140.186.70.92] (port=47990 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OkJvE-0004vn-7X for help-gnu-emacs@gnu.org; Sat, 14 Aug 2010 12:49:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OkJvC-0006pQ-Uq for help-gnu-emacs@gnu.org; Sat, 14 Aug 2010 12:49:28 -0400 Original-Received: from sun8.loc.gov ([140.147.249.48]:45948) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OkJvC-0006pJ-RK for help-gnu-emacs@gnu.org; Sat, 14 Aug 2010 12:49:26 -0400 Original-Received: from sun8.loc.gov (localhost [127.0.0.1]) by sun8.loc.gov with ESMTP id o7EGnPd2028309 for ; Sat, 14 Aug 2010 12:49:25 -0400 (EDT) Original-Received: from localhost (mcundiff@localhost) by sun8.loc.gov (8.13.7/8.13.7/Submit) with ESMTP id o7EGnPg1028306 for ; Sat, 14 Aug 2010 12:49:25 -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:14 -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:74670 Archived-At: ---------- Forwarded message ---------- Date: Sat, 14 Aug 2010 18:35:55 +0200 From: Lennart Borgman To: Morgan V. Cundiff 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 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 lik= e > 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? > > =C2=A0 (easy-menu-define my-menu global-map "XQUERY" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0'("XQuery" :visible (string=3D major-mode > "xquery-mode") > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0["xquery decl" insert-decl t] > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0("Sub Menu" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 ["My subentry" my-obscure-function t]))) > > Thanks, > Morgan > > >