From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.help Subject: Re: Add a submenu to global menu-bar Date: Sun, 14 Jan 2007 19:16:11 +0000 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1168881211 10752 80.91.229.12 (15 Jan 2007 17:13:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Jan 2007 17:13:31 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 15 18:13:28 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by lo.gmane.org with esmtp (Exim 4.50) id 1H6VJx-0002LZ-Pl for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Jan 2007 18:08:33 +0100 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1H6VJ0-0008SR-Gl for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Jan 2007 18:07:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H6AqM-00063S-RJ for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Jan 2007 14:16:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H6Aq9-000623-7q for help-gnu-emacs@gnu.org; Sun, 14 Jan 2007 14:16:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H6Aq4-0005zB-Kt for help-gnu-emacs@gnu.org; Sun, 14 Jan 2007 14:16:24 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H6Aq4-0005yp-3L for help-gnu-emacs@gnu.org; Sun, 14 Jan 2007 14:16:20 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H6Aq3-0003Hq-Lx for help-gnu-emacs@gnu.org; Sun, 14 Jan 2007 14:16:19 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1H6Apr-0000sV-UP for help-gnu-emacs@gnu.org; Sun, 14 Jan 2007 20:16:07 +0100 Original-Received: from sl392.st-edmunds.cam.ac.uk ([131.111.223.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 14 Jan 2007 20:16:07 +0100 Original-Received: from sdl.web by sl392.st-edmunds.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 14 Jan 2007 20:16:07 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 20 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: sl392.st-edmunds.cam.ac.uk Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAG1BMVEUAAAA9Cgm3Hx1WWFWA gn+WmJWsrqv4+vcCAwCRl2MkAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAAAYoA AAGKATOXMFgAAAAHdElNRQfXAQwDNR+ZJmElAAABIklEQVQoz22SPW+DQAyGWUq65qasd9PNUSX4 AZHK2C1rJy5jpDS4IwRVup9dn7GNafpKIPPgzztXFSujqq1eM2n8h22oMkvxI/i9C97kRfMRUN55 dS3BrsAwBXUtMLAO4lryh8kTjOxKpQNniNxAgZOEe4bZwsDTFhKdqZRLNII4OQNHhEuq/RMkm6Cj TnnEA/fk0BorcYn5qA3oaeAxbaBOLrX+9G48NZ2Fzc2tzDM8Q+tMypEOqYHh8mAWaaK3U/cDMOT5 aMZMABgPXc7zPMs1A8DXO756GFJ/4fMEq47hTsAdn5avoxZ4ywl0c2w4Flu2Ybeyb3S+EqxX2DYA H8veJGEDTnHnrXvRaPyt+2kSfK6rfBZ2tUtfP/mR+pR6sX8BUZ/cDV7tvkoAAAAASUVORK5CYII= User-Agent: No Gnus v0.6, Emacs/22.0.92.2 (2007-01-10), Fedora 6 gnu/linux Cancel-Lock: sha1:WV0GmD8zTSSCDcV4NY/YoH8x7NI= 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:40302 Archived-At: On 2007-01-03, Leo said: > Hi all, > > The following code will add an "Add-On" menu before "File". How can I > control the position of this submenu? i.e. I want to move the menu to > between "Tools" and "Help". Thank you for your help. > > ,---- > | (easy-menu-define sdl-add-on-menu global-map "My Emacs Add-On menu." > | '("Add-On" > | ["Find file at point" ffap] > | ["BBDB" bbdb :visible (fboundp 'bbdb)] > | ["Planner" plan :visible (fboundp 'plan)])) > `---- Help? -- Leo (GPG Key: 9283AA3F)