From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anselm Helbig Newsgroups: gmane.emacs.help Subject: Re: Automatically setting buffer name for term buffers Date: Wed, 01 Jul 2009 08:43:32 +0200 Organization: Freie Universitaet Berlin Message-ID: <87prckewdn.wl%anselm.helbig+news2009@googlemail.com> References: <9316c365-935b-4351-aa2b-d2a626a0a74d@r33g2000yqn.googlegroups.com> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1246458798 20060 80.91.229.12 (1 Jul 2009 14:33:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Jul 2009 14:33:18 +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 16:33:11 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 1MM0s3-000484-DG for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Jul 2009 16:33:11 +0200 Original-Received: from localhost ([127.0.0.1]:58396 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MM0s2-0002Zk-Ox for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Jul 2009 10:33:10 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-X-Trace: news.uni-berlin.de mKe2FzwgDh8s4BhodGo3gwugx5NL+Iys9cAoeTOP0LRNWfc9NWfi27Ejed Cancel-Lock: sha1:EGikbkrhTQTvjOKvYMVF4B/9EGE= In-Reply-To: <9316c365-935b-4351-aa2b-d2a626a0a74d@r33g2000yqn.googlegroups.com> Mail-Followup-To: anselm.helbig+news2009@googlemail.com Original-Xref: news.stanford.edu gnu.emacs.help:170489 X-Mailman-Approved-At: Wed, 01 Jul 2009 10:32:48 -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:65703 Archived-At: Hi! > 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. Looks like it can be done: http://www.emacswiki.org/emacs/FrameTitle#toc4 I didn't try it, though. HTH, Anselm -- Anselm Helbig mailto:anselm.helbig+news2009@googlemail.com