[Top][All Lists]

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

"title" frame param: Want "string %f %b" with string different for some

From: Allan Gottlieb
Subject: "title" frame param: Want "string %f %b" with string different for some frames
Date: Thu, 28 Aug 2008 12:28:41 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

If I want the frame to have a unique title I use

(modify-frame-parameters nil '((title . "sam")))

Which works fine, making the title "sam".

Since I like the title to contain %b %f (buffer and file names), I
have in my .emacs

  (setq frame-title-format '("Emacs: %b <%f>")))

which also works fine.

I would like a combination of the two and am having trouble.

Say I want the current frame to have "sam" in the title together with
the current file and buffer names, I would like to say something like

 (setq current-frame-title-format '("sam: %b <%f>")))

and have all other frames still use  '("Emacs: %b <%f>")))

Any help would be appreciated.


reply via email to

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