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

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

Re: Full path


From: Kai Großjohann
Subject: Re: Full path
Date: Wed, 15 Jan 2003 11:50:40 +0100
User-agent: Gnus/5.090013 (Oort Gnus v0.13) Emacs/21.3.50 (i686-pc-linux-gnu)

ferhun_caner@yahoo.com (Dr. F.C.Caner) writes:

> I wonder how I can display the full path of the file current buffer is
> visiting in the window title bar. I am using Emacs-21.2 under Windows
> XP.

Investigate the variable frame-title-format.  For example,

(setq frame-title-format "%f")

This will not work well because some buffers don't have files.  Hm.
Maybe this?

(setq frame-title-format
      '((buffer-file-name "%f - ") "%b"))

This will show (I hope) the filename and the buffer name for files,
and just the buffer name for non-file buffers.

-- 
Ambibibentists unite!


reply via email to

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