unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Frame symbol in the mode line on a windowing system
Date: Sat, 21 Jul 2007 22:04:44 +0300	[thread overview]
Message-ID: <ud4ylo9wz.fsf@gnu.org> (raw)
In-Reply-To: <87d4ylk4p3.fsf@debby.local.net> (message from Dieter Wilhelm on Sat, 21 Jul 2007 20:11:04 +0200)

> 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	other threads:[~2007-07-21 19:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-21 18:11 Frame symbol in the mode line on a windowing system Dieter Wilhelm
2007-07-21 19:04 ` Eli Zaretskii [this message]
2007-07-25  0:34   ` Dieter Wilhelm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ud4ylo9wz.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).