From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miguel Frasson Newsgroups: gmane.emacs.help Subject: Re: Showing filename in title bar Date: 28 Sep 2004 15:29:14 +0200 Organization: Universiteit Leiden Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <2rt5t9F1dv4blU1@uni-berlin.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1096379593 32155 80.91.229.6 (28 Sep 2004 13:53:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Sep 2004 13:53:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 28 15:53:02 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CCIPc-0005DM-00 for ; Tue, 28 Sep 2004 15:53:01 +0200 Original-Received: from [127.0.0.1] (helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CCIVt-0003te-3d for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Sep 2004 09:59:29 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.wirehub.nl!surfnet.nl!leidenuniv.nl!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: 84e5e602.math.leidenuniv.nl Original-X-Trace: mercury.leidenuniv.nl 1096378154 18013 132.229.230.2 (28 Sep 2004 13:29:14 GMT) Original-X-Complaints-To: usenet@mercury.leidenuniv.nl Original-NNTP-Posting-Date: Tue, 28 Sep 2004 13:29:14 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Xref: shelby.stanford.edu gnu.emacs.help:125570 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: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20926 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20926 Lars Behrens writes: > Hi there, > > I'm using the windows version of emacs. How can I make emacs display the > actual filename in the title bar? For the buffer name (I like more), use in your .emacs (setq frame-title-format "Emacs: %b") For filename, use %f instead of %b, but this has no info if buffer has no file, like \*scratch\*, for instance. See the documentation of `frame-title-format' (and `mode-line-format') for much more. []'s Miguel. -- Miguel Vinicius Santini Frasson http://www.math.leidenuniv.nl/~frasson