From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.help Subject: Re: changing default name of shell Date: 15 Oct 2002 16:06:23 +0900 Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: Reply-To: Miles Bader NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1034666070 2391 80.91.224.249 (15 Oct 2002 07:14:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 15 Oct 2002 07:14:30 +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 181LuO-0000cC-00 for ; Tue, 15 Oct 2002 09:14:29 +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 181LnN-0007Iw-00; Tue, 15 Oct 2002 03:07:13 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 181Lmm-00071N-00 for help-gnu-emacs@gnu.org; Tue, 15 Oct 2002 03:06:36 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 181Lmg-0006qT-00 for help-gnu-emacs@gnu.org; Tue, 15 Oct 2002 03:06:32 -0400 Original-Received: from tyo202.gate.nec.co.jp ([210.143.35.52]) by monty-python.gnu.org with esmtp (Exim 4.10) id 181Lmf-0006mv-00; Tue, 15 Oct 2002 03:06:29 -0400 Original-Received: from mailgate4.nec.co.jp ([10.7.69.197]) by TYO202.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id g9F76Ql25110; Tue, 15 Oct 2002 16:06:26 +0900 (JST) Original-Received: from mailsv4.nec.co.jp (mailgate51.nec.co.jp [10.7.69.196]) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id g9F76Q810441; Tue, 15 Oct 2002 16:06:26 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp ([10.30.114.133]) by mailsv4.nec.co.jp (8.11.6/3.7W-MAILSV4-NEC) with ESMTP id g9F76P229161; Tue, 15 Oct 2002 16:06:25 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.10.2+Sun/3.7Wlsi_mx_6.0) with ESMTP id g9F76Os16391; Tue, 15 Oct 2002 16:06:24 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id EB0C93702; Tue, 15 Oct 2002 16:06:23 +0900 (JST) Original-To: help-gnu-emacs@gnu.org System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: Original-Lines: 16 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:2624 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2624 Chris writes: > Is there a way I can automatically change the name of a shell buffer when I > open it? I would it to be called just "shell" or something without the * > surrounding the name so it is easier to complete with tab completion... If you have a recent (21.x) version of emacs, give `M-x shell' command a prefix argument, e.g., `C-u M-x shell', and it will prompt you for a name. Otherwise, you could always use `M-x rename-buffer' after you create the shell. -miles -- P.S. All information contained in the above letter is false, for reasons of military security.