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

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

Re: Showing filename in title bar


From: Miguel Frasson
Subject: Re: Showing filename in title bar
Date: 28 Sep 2004 15:29:14 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Lars Behrens <Spam.Buster@web.de> 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

reply via email to

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