From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Baylis Newsgroups: gmane.emacs.help Subject: Automatically setting buffer name for term buffers Date: Tue, 30 Jun 2009 15:35:46 -0700 (PDT) Organization: http://groups.google.com Message-ID: <9316c365-935b-4351-aa2b-d2a626a0a74d@r33g2000yqn.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1246421002 15946 80.91.229.12 (1 Jul 2009 04:03:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Jul 2009 04:03:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 01 06:03:15 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MLr2R-0004mg-3z for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Jul 2009 06:03:15 +0200 Original-Received: from localhost ([127.0.0.1]:44826 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLr2Q-0006dB-G1 for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Jul 2009 00:03:14 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!r33g2000yqn.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 7 Original-NNTP-Posting-Host: 147.145.40.44 Original-X-Trace: posting.google.com 1246401346 29668 127.0.0.1 (30 Jun 2009 22:35:46 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 30 Jun 2009 22:35:46 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r33g2000yqn.googlegroups.com; posting-host=147.145.40.44; posting-account=dNm1mAoAAADEStfarqbdhwZIMTNBGDT8 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko/2009060309 Ubuntu/8.04 (hardy) Firefox/3.0.11, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:170482 X-Mailman-Approved-At: Tue, 30 Jun 2009 23:53:30 -0400 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:65694 Archived-At: When I use an xterm, I can set my shell prompt so that it puts the current directory (or whatever..) in the xterm title bar. Is there a way I can do this with an emacs term buffer? I would want to change the buffer name to something that came from the shell that's executing in the buffer. This way, when I look at the buffer list, it would be easy to distinguish which term buffer is which. I don't want to have to enter the name manually.