From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Neil Baylis <neil.baylis@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Automatically setting buffer name for term buffers
Date: Thu, 2 Jul 2009 10:08:35 +0200 [thread overview]
Message-ID: <47E0640D-341F-40CC-B314-FDB4ABCB8D00@Web.DE> (raw)
In-Reply-To: <3f510084-a0a8-46b5-86e0-9cd515acfae6@z14g2000yqa.googlegroups.com>
Am 01.07.2009 um 20:13 schrieb Neil Baylis:
> 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.
You can write a function to rename your *shell* buffer's name and add
it as a hook that is executed every time you press RET (comint-send-
input) in it… Maybe there are already some things prepared in comint,
just RTFM!
--
Greetings
<]
Pete o __o |__ o recumbo
___o /I -\<, |o \ -\),-% ergo sum!
___/\ /\___./ \___...O/ O____.....`-O-'-()--o_________________
prev parent reply other threads:[~2009-07-02 8:08 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
2009-07-02 8:08 ` Peter Dyballa [this message]
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=47E0640D-341F-40CC-B314-FDB4ABCB8D00@Web.DE \
--to=peter_dyballa@web.de \
--cc=help-gnu-emacs@gnu.org \
--cc=neil.baylis@gmail.com \
/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.