help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automatically setting buffer name for term buffers


From: Peter Dyballa
Subject: Re: Automatically setting buffer name for term buffers
Date: Thu, 2 Jul 2009 10:08:35 +0200


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_________________







reply via email to

[Prev in Thread] Current Thread [Next in Thread]