[Top][All Lists]

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

Re: frame names on tty are different than the ones on X-frames

From: Eli Zaretskii
Subject: Re: frame names on tty are different than the ones on X-frames
Date: Mon, 26 Feb 2018 22:28:48 +0200

> From: address@hidden (Andrés Ramírez)
> Date: Mon, 26 Feb 2018 13:57:11 -0600
> Frame names on tty's are:
> --8<---------------cut here---------------start------------->8---
> F1
> F2
> ...
> --8<---------------cut here---------------end--------------->8---
> Frame names on X-frames are the buffer name

No.  GUI frames don't really have names, they have titles.  Only TTY
frames have real names, those Fn strings.  A name of a frame cannot
change, otherwise it's not useful for specifying the frame.

> Why on tty frames the frame names could not be the buffer-name?

What would that be useful for?

In any case, you can supply a name for a frame using set-frame-name,
if you don't like the Fn notation.

> When using select-frame-by-name You could watch the name.

It's an illusion created by that function.  That function is
mainly/only useful for TTY frames, because you have no other
convenient way of selecting a specific frame quickly: you only see one
frame, the current one, and have no idea what buffer is displayed on
others.  That's why that function was written; but in order to make it
work with any kind of frames, it was extended to GUI frames, although
it has no real utility in that case.

reply via email to

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