all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* "title" frame param: Want "string %f %b" with string different for some frames
@ 2008-08-28 16:28 Allan Gottlieb
  2008-08-28 17:23 ` Nikolaj Schumacher
  0 siblings, 1 reply; 5+ messages in thread
From: Allan Gottlieb @ 2008-08-28 16:28 UTC (permalink / raw)
  To: help-gnu-emacs

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.

thanks,
allan






^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-08-28 21:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-28 16:28 "title" frame param: Want "string %f %b" with string different for some frames Allan Gottlieb
2008-08-28 17:23 ` Nikolaj Schumacher
2008-08-28 19:43   ` Allan Gottlieb
2008-08-28 21:00     ` Nikolaj Schumacher
2008-08-28 21:54       ` Allan Gottlieb

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.