unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Showing filename in title bar
@ 2004-09-28 13:05 Lars Behrens
  2004-09-28 13:29 ` Miguel Frasson
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Behrens @ 2004-09-28 13:05 UTC (permalink / raw)


Hi there,

I'm using the windows version of emacs. How can I make emacs display the 
actual filename in the title bar?

Thanks in advance!

Cheerz Lars

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Showing filename in title bar
  2004-09-28 13:05 Showing filename in title bar Lars Behrens
@ 2004-09-28 13:29 ` Miguel Frasson
  2004-09-28 13:36   ` Lars Behrens
  0 siblings, 1 reply; 3+ messages in thread
From: Miguel Frasson @ 2004-09-28 13:29 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Showing filename in title bar
  2004-09-28 13:29 ` Miguel Frasson
@ 2004-09-28 13:36   ` Lars Behrens
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Behrens @ 2004-09-28 13:36 UTC (permalink / raw)


Miguel Frasson schrieb:

> 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.

Thank you!

Greetings from Germany
Lars

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-09-28 13:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-28 13:05 Showing filename in title bar Lars Behrens
2004-09-28 13:29 ` Miguel Frasson
2004-09-28 13:36   ` Lars Behrens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).