From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Evgeny Roubinchtein Newsgroups: gmane.emacs.help Subject: Re: Emacs configuration Date: Tue, 01 Oct 2002 06:04:01 GMT Organization: Giganews.Com - Premium News Outsourcing Sender: help-gnu-emacs-admin@gnu.org Message-ID: <877kh2d7an.fsf@freeshell.org> References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1033452960 15725 127.0.0.1 (1 Oct 2002 06:16:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 1 Oct 2002 06:16:00 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17wGK5-00045E-00 for ; Tue, 01 Oct 2002 08:15:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17wGKC-0003sq-00; Tue, 01 Oct 2002 02:16:04 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin5.nnrp.aus1.giganews.com.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Military Intelligence (RC1)) X-GC-Trace: gv1-JOv+dicPYNbOvjMk9Ru5jOxhYDQXhYMuudm0Q== Original-NNTP-Posting-Date: Tue, 01 Oct 2002 01:04:01 CDT Original-Lines: 36 Original-X-Trace: sv3-P0qH2mvAXKSgchQak+yM/kFWX2e6tBpvXv/ARllS+l6UhDs0LOvKCz3glFvibi5nNwxH+LiQI/FR80W!edzgBTrvoCMpy4tIa63Mc8c9sdRBj6pUHjbun9Ne9EH6/7ZpE0IPNyEgwZw4UEY= Original-X-Complaints-To: abuse@GigaNews.Com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Original-Xref: nntp.stanford.edu gnu.emacs.help:105578 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2123 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2123 >>>>> "AC" == arthur chereau writes: AC> - Is it possible to change the menu ordering, for instance AC> moving Buffers before Files ? You could do that by surgery on the keymap which is the value of the [menu-bar] entry in the global-map, but that's _really_ ugly, something like: (let ((lst (lookup-key global-map [menu-bar])) (prev nil) buf-menu current) (while lst (setq current (car lst)) (when (and (listp current) (eq (car current) 'buffer)) (setcdr prev (cdr lst)) (setq buf-menu current)) (setq prev lst lst (cdr lst))) (define-key global-map [menu-bar buffer] buf-menu)) Can anyone think of a less ugly alternative? AC> Is there any means of having only one emacs process running AC> for all the emacs windows? I mean, not like emacsclient or AC> gnuserv, but when one calls emacs from the command line, AC> having emacs spawn a new window like C-x 5 2 but no new AC> process (to speed up the start). You would need the emacs process that's already running to run a server of _some_ kind: otherwise, how would it know to open a new window? To the best of my knowledge, the only standard servers that come with Emacs are emacsserv and gnuserv. You could conceivably hack emacs to react to SIGUSR1, or somesuch, by opening a new window. I have no idea how hard/easy it would be.