unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Anselm Helbig <anselm.helbig+news2009@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Automatically setting buffer name for term buffers
Date: Wed, 01 Jul 2009 08:43:32 +0200	[thread overview]
Message-ID: <87prckewdn.wl%anselm.helbig+news2009@googlemail.com> (raw)
In-Reply-To: <9316c365-935b-4351-aa2b-d2a626a0a74d@r33g2000yqn.googlegroups.com>

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


  reply	other threads:[~2009-07-01  6:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-30 22:35 Automatically setting buffer name for term buffers Neil Baylis
2009-07-01  6:43 ` Anselm Helbig [this message]
2009-07-01 18:13   ` Neil Baylis
2009-07-02  8:08     ` Peter Dyballa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87prckewdn.wl%anselm.helbig+news2009@googlemail.com \
    --to=anselm.helbig+news2009@googlemail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).