From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Galen Boyer Newsgroups: gmane.emacs.help Subject: Re: Emacs shell and frames Date: 17 Feb 2003 09:32:21 -0600 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <861y27jygt.fsf@zeus.knighten.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1045496323 9927 80.91.224.249 (17 Feb 2003 15:38:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 17 Feb 2003 15:38:43 +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 18knLt-0002ZY-00 for ; Mon, 17 Feb 2003 16:38:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18knJQ-0000cR-0B for gnu-help-gnu-emacs@m.gmane.org; Mon, 17 Feb 2003 10:36:08 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!nntp.cs.ubc.ca!newsflash.concordia.ca!snoopy.risq.qc.ca!newsfeed.news2me.com!novia!newscene.com!newscene.com!newscene!novia!novia!sequencer.newscene.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 46 Original-Sender: galenboyer@hotpop.com User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Original-Xref: shelby.stanford.edu gnu.emacs.help:110281 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6784 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6784 On 16 Feb 2003, Robert@Knighten.org wrote: > > The emacs 'shell' command has the nice feature that if the shell > buffer already exists it is reused, including simply switching to the > buffer if the shell process is also running. I prefer to use a > separate FRAME for this purpose. Do any of you have a version of the > 'shell' command that will reuse an existing shell frame in much the > same manner as is now done with the shell buffer? I cut a sample of the buffers I use this for. I should be obvious by the parameter's names how to customize to your own preferences. The main thing is that if you open a new shell window, it opens in a new frame. If you C-x b *shell*, that frame pops up. (setq special-display-buffer-names '(("*info*" (top . 5) (left . 100) (width . 90) (height . 55) (background-color . "gray85") (font . "-outline-Courier New-normal-r-normal-normal-11-97-96-96-c-*-iso8859-15") (menu-bar-lines . 0)) ("*shell*" (top . 5) (left . -75) (width . 80) (height . 50) (menu-bar-lines . 0) (font . "-outline-Courier New-normal-r-normal-normal-13-97-96-96-c-*-iso8859-15") (foreground-color . "black") (background-color . "snow")) ("*Help*" (top . 5) (left . -75) (width . 80) (height . 50) (menu-bar-lines . 0) (font . "-outline-Courier New-normal-r-normal-normal-13-97-96-96-c-*-iso8859-15") (foreground-color . "black") (background-color . "light steel blue")) )) -- Galen deForest Boyer Sweet dreams and flying machines in pieces on the ground.