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

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

RE: Setting frame title


From: August
Subject: RE: Setting frame title
Date: Thu, 17 Feb 2005 00:03:04 +0100

On ons, 2005-02-16 at 09:55 -0800, Drew Adams wrote:
>     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.
> 
> 
> See my library frame-cmds.el for easy ways to do this:
> http://www.emacswiki.org/elisp/frame-cmds.el. This library works with Emacs
> 21, 20, 19....
> 
> In this library, you will find commands `rename-frame' and
> `rename-non-minibuffer-frame', which do what you want.
> 
> You will also find ways to _automatically_ rename each frame after the
> buffer in its selected window each time you iconify the frame (see commands
> `iconify/map-frame', `mouse-iconify/map-frame', and `iconify-everything').
> 
> See also
> http://www.emacswiki.org/cgi-bin/wiki/Iconifying%2c_Deiconifying%2c_and_Hidi
> ng_Frames for a discussion on iconifying frames.
> 

What's wrong with `(setq frame-title-format "Emacs - %b")'?

-- 
August




reply via email to

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