unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: kai.grossjohann@uni-duisburg.de (Kai Großjohann)
Subject: Re: Full path
Date: Wed, 15 Jan 2003 11:50:40 +0100	[thread overview]
Message-ID: <848yxmadq7.fsf@lucy.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: 65fef11f.0301150213.4471288f@posting.google.com

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	other threads:[~2003-01-15 10:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-15 10:13 Full path Dr. F.C.Caner
2003-01-15 10:50 ` Kai Großjohann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-01-15 11:13 Dr. F.C.Caner
2003-01-15 17:40 ` Peter Lee
2003-01-15 21:42   ` Kai Großjohann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=848yxmadq7.fsf@lucy.is.informatik.uni-duisburg.de \
    --to=kai.grossjohann@uni-duisburg.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).