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

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

Re: Frame symbol in the mode line on a windowing system


From: Eli Zaretskii
Subject: Re: Frame symbol in the mode line on a windowing system
Date: Sat, 21 Jul 2007 22:04:44 +0300

> From: Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
> Date: Sat, 21 Jul 2007 20:11:04 +0200
> 
> Does anybody have code to display Frame names or numbers or symbols in
> the mode line on an (X-)Window system?  I do not see on which frame
> I'm working when in fullscreen mode and in terminal mode there are
> hints F1, F2, etc.

F1, F2, etc. are _not_ hints, they are actual names of the frames on a
tty.  You can change that with the set-frame-name commands (and later
switch to a frame with a specific name with select-frame-by-name).

I think %F is what you want -- it's replaced with the frame name.
Emacs uses the variable mode-line-frame-identification for it, which
is computed differently on X and on a tty.





reply via email to

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