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

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

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


From: Nikolaj Schumacher
Subject: Re: "title" frame param: Want "string %f %b" with string different for some frames
Date: Thu, 28 Aug 2008 19:23:03 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2.50 (darwin)

Allan Gottlieb <address@hidden> wrote:

> 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>")))

Well, you can do:

(set (make-variable-buffer-local 'frame-title-format) '("sam: %b <%f>"))

That's not exactly what you want, but maybe it'll get you a little
closer.

There's also `make-variable-frame-local', but I couldn't quite get it to
work.


regards,
Nikolaj Schumacher




reply via email to

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