From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Chris Newsgroups: gmane.emacs.help Subject: RE: changing default name of shell Date: Tue, 15 Oct 2002 17:18:40 -0000 Organization: The Lott Company Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1034702465 18807 80.91.224.249 (15 Oct 2002 17:21:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 15 Oct 2002 17:21:05 +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 181VNM-0004sq-00 for ; Tue, 15 Oct 2002 19:21:00 +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 181VNZ-0005kt-00; Tue, 15 Oct 2002 13:21:13 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Xnews/5.04.25 X-motd: Can Spam! X-message-flag: Outlook Critical Error! Please Restart Your Computer. X-Face: 7?1,~hLJv9R%<#DNR6m@9W**a.!h-)!o5B1\Y*}7"#k%MzvMP?z#A"Y@ai5SY[@JE95J'AQKwlk'5CbWOp:v5^HL>*a-.cPv*sXU?_ Original-X-Complaints-To: abuse@supernews.com Original-Lines: 9 Original-Xref: shelby.stanford.edu gnu.emacs.help:106094 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:2641 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2641 on 15 Oct 2002, "Bingham, Jay" spake thusly: > If you want to have multiple shells each with a unique name generated > without the asterisks you can do this: > (add-hook 'shell-mode-hook > (lambda () (rename-buffer (generate-new-buffer-name "shell")))) Perfect, this is exactly what I needed despite my initial query being a bit vague. Thanks...