[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Automatically setting buffer name for term buffers
From: |
Neil Baylis |
Subject: |
Re: Automatically setting buffer name for term buffers |
Date: |
Wed, 1 Jul 2009 11:13:35 -0700 (PDT) |
User-agent: |
G2/1.0 |
On Jun 30, 11:43 pm, Anselm Helbig <anselm.helbig
+news2...@googlemail.com> wrote:
> 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+news2...@googlemail.com
That seems to set the emacs frame title. What I want is to set the
buffer name based on something output by the shell that's running in
the buffer.