From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Automatically setting buffer name for term buffers Date: Thu, 2 Jul 2009 10:08:35 +0200 Message-ID: <47E0640D-341F-40CC-B314-FDB4ABCB8D00@Web.DE> References: <9316c365-935b-4351-aa2b-d2a626a0a74d@r33g2000yqn.googlegroups.com> <87prckewdn.wl%anselm.helbig+news2009@googlemail.com> <3f510084-a0a8-46b5-86e0-9cd515acfae6@z14g2000yqa.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1246572060 13638 80.91.229.12 (2 Jul 2009 22:01:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Jul 2009 22:01:00 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Neil Baylis Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 03 00:00:53 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MMUKa-0002ml-Pn for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Jul 2009 00:00:37 +0200 Original-Received: from localhost ([127.0.0.1]:60997 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMUKa-00021y-6q for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Jul 2009 18:00:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MMHLh-0008Ns-1S for help-gnu-emacs@gnu.org; Thu, 02 Jul 2009 04:08:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MMHLZ-0008EW-R6 for help-gnu-emacs@gnu.org; Thu, 02 Jul 2009 04:08:50 -0400 Original-Received: from [199.232.76.173] (port=36585 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMHLZ-0008E8-GD for help-gnu-emacs@gnu.org; Thu, 02 Jul 2009 04:08:45 -0400 Original-Received: from fmmailgate03.web.de ([217.72.192.234]:59130) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MMHLY-0000tv-Vx for help-gnu-emacs@gnu.org; Thu, 02 Jul 2009 04:08:45 -0400 Original-Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate03.web.de (Postfix) with ESMTP id 78E3710252128; Thu, 2 Jul 2009 10:08:43 +0200 (CEST) Original-Received: from [91.35.202.46] (helo=[192.168.1.2]) by smtp07.web.de with asmtp (WEB.DE 4.110 #277) id 1MMHLX-00071S-00; Thu, 02 Jul 2009 10:08:43 +0200 In-Reply-To: <3f510084-a0a8-46b5-86e0-9cd515acfae6@z14g2000yqa.googlegroups.com> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1+BH4l9KwGIC7cJadvvdAJLzjAMcwXbyRItWQMW Pnela8DV5+n/TPQyLN6r6Q1DJ/kNxPZqoN/o/6cCOD/Gmx5z9v rtq1Zy+E4Md8R/GcujEg== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-Mailman-Approved-At: Thu, 02 Jul 2009 18:00:11 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65723 Archived-At: 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 =20= it as a hook that is executed every time you press RET (comint-send-=20 input) in it=85 Maybe there are already some things prepared in comint, =20= just RTFM! -- Greetings <] Pete o __o |__ o recumbo ___o /I -\<, |o \ -\),-% ergo sum! ___/\ /\___./ \___...O/ O____.....`-O-'-()--o_________________