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

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

Re: Setting frame title


From: Quokka
Subject: Re: Setting frame title
Date: Wed, 16 Feb 2005 10:25:51 +0800
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041206 Thunderbird/1.0 Mnenhy/0.6.0.104

dougtle@yahoo.com wrote:
Newbie Emacs user here.

This the version I'm using:
GNU Emacs 21.3.1 (hppa2.0w-hp-hpux11.00, Motif Version 2.1.0)

I want to be able to set the window title (and icon) of the current
frame to the current buffer file.  I've googled this newsgroup and
I keep finding methods that involves set-frame-title or
modify-frame-parameters.  However, I cannot seem to find these
options or settings on my Emacs.

The only thing I can do is: default-frame-alist (name . "foo")

However, it doesn't take a variable name like %b or (buffer-name).
It only take the literal string and sets the window title to it.

From my .emacs.el ...

(setq-default frame-title-format (list "%65b %f")) ; put file/buffer name in frame title
(setq-default icon-title-format (list "%b"))       ; put buffer name in icon

Hope that helps

Paul

reply via email to

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