From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: exits funnel Newsgroups: gmane.emacs.help Subject: setting frame-title-format to current buffer Date: Sat, 26 Nov 2005 17:53:11 -0800 (PST) Message-ID: <20051127015311.81838.qmail@web33911.mail.mud.yahoo.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1133056459 13838 80.91.229.2 (27 Nov 2005 01:54:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 27 Nov 2005 01:54:19 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 27 02:54:18 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EgBjR-0006No-0H for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Nov 2005 02:53:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EgBjQ-0006x0-Ex for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Nov 2005 20:53:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EgBj9-0006vd-4z for help-gnu-emacs@gnu.org; Sat, 26 Nov 2005 20:53:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EgBj7-0006ud-Dm for help-gnu-emacs@gnu.org; Sat, 26 Nov 2005 20:53:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EgBj7-0006uY-9U for help-gnu-emacs@gnu.org; Sat, 26 Nov 2005 20:53:13 -0500 Original-Received: from [66.163.178.75] (helo=web33911.mail.mud.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1EgBj7-0003gk-EV for help-gnu-emacs@gnu.org; Sat, 26 Nov 2005 20:53:13 -0500 Original-Received: (qmail 81840 invoked by uid 60001); 27 Nov 2005 01:53:11 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=JPVnGdgkssrUNBBI5gWyA9oWjdKu1Xo7+oNog3onZmHutcxOAqRY7zvjwcRi6qmP9/NhX/HXpJR5kDmbGXlqnre0P47sK5cy9jaVYP1/Y84wmzPMqF9Kop0RvLsXAXapRwEYkW0WkIy84U8HxzV/UmH6ks4/4hxZ4rSV4XMhZN4= ; Original-Received: from [67.86.87.9] by web33911.mail.mud.yahoo.com via HTTP; Sat, 26 Nov 2005 17:53:11 PST Original-To: help-gnu-emacs@gnu.org 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:31391 Archived-At: Hello, At some point in the past, while messing around, I added this to my .emacs: (setq frame-title-format "HELLO WORLD") One result of this is that as I alt-tab through my running applications in gnome, the text under each and every emacs frame reads 'HELLO WORLD' which is not so helpful. I'd like it if it could always be set to the buffer name so I'd know which frame was which. I've not got my feet too wet yet with lisp so I'm not really sure how to proceed. I looked around for a function/variable named buffer-name or similar but couldn't find anything. Even if I could though I'm not sure where I'd put the call to (setq) such that it would get called in such a manner as to always reflect the current value. I'm sure this is doable and probably even trivial so if anyone could point me in the right direction I'd really appreciate it. -exits __________________________________ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/