all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Neil Baylis <neil.baylis@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Automatically setting buffer name for term buffers
Date: Wed, 1 Jul 2009 11:13:35 -0700 (PDT)	[thread overview]
Message-ID: <3f510084-a0a8-46b5-86e0-9cd515acfae6@z14g2000yqa.googlegroups.com> (raw)
In-Reply-To: 87prckewdn.wl%anselm.helbig+news2009@googlemail.com

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.


  reply	other threads:[~2009-07-01 18:13 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
2009-07-01 18:13   ` Neil Baylis [this message]
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

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

  git send-email \
    --in-reply-to=3f510084-a0a8-46b5-86e0-9cd515acfae6@z14g2000yqa.googlegroups.com \
    --to=neil.baylis@gmail.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.