From: "Óscar Fuentes" <ofv@wanadoo.es>
To: emacs-devel@gnu.org
Subject: Re: emacs-29 b44a7ff85dc: Allow 'icon-title-format' to have the value t
Date: Mon, 20 Feb 2023 21:57:17 +0100 [thread overview]
Message-ID: <87bklooy1e.fsf@telefonica.net> (raw)
In-Reply-To: <20230217074148.2E130C1391A@vcs2.savannah.gnu.org> (Eli Zaretskii's message of "Fri, 17 Feb 2023 02:41:47 -0500 (EST)")
Eli Zaretskii <eliz@gnu.org> writes:
> @defvar icon-title-format
> -This variable specifies how to compute the name for an iconified frame,
> -when you have not explicitly specified the frame title. This title
> -appears in the icon itself.
> +This variable specifies how to compute the name for an iconified frame
> +when you have not explicitly specified the frame's name via the
> +frame's parameters. The resulting title appears in the frame's icon
> +itself. If the value is a string, is should be a mode line construct
> +like that of @code{frame-title-format}. The value can also be
> +@code{t}, which means to use @code{frame-title-format} instead; this
> +avoids problems with some window managers and desktop environments,
> +where a change in a frame's title (when a frame is iconified) is
> +interpreted as a request to raise the frame and/or give it input
> +focus. The default is a string identical to the default value of
> +@code{frame-title-format}.
> @end defvar
>
> @defvar multiple-frames
> diff --git a/etc/NEWS b/etc/NEWS
> index 35063678f58..133c07e56df 100644
> --- a/etc/NEWS
> +++ b/etc/NEWS
> @@ -1202,6 +1202,13 @@ the most recently deleted frame. With a numerical prefix argument
> between 1 and 16, where 1 is the most recently deleted frame, undelete
> the corresponding deleted frame.
>
> ++++
> +*** The variable 'icon-title-format' can now have the value t.
> +That value means to use 'frame-title-format' for iconified frames.
> +This is useful with some window managers and desktop environments
> +which treat changes in frame's title as requests to raise the frame
> +and/or give it input focus.
> +
"Some window managers and desktop environments" (which means KDE) giving
focus to a window because it changed its title is, definitely, a bug
that will be eventually fixed.
A reason for keeping icon-title-format in sync with frame-title-format
is for not having to also set icon-title-format whenever
frame-title-format is set (because most users will want to retain the
title of a frame when it is iconified.)
Then, we have a problem with terminology: "iconify" is a word that is
rarely used since decades ago, the current term is "minimize", so most
new users will not understand what icon-title-format is about from its
documentation.
next parent reply other threads:[~2023-02-20 20:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <167661970773.22310.13511166994278322415@vcs2.savannah.gnu.org>
[not found] ` <20230217074148.2E130C1391A@vcs2.savannah.gnu.org>
2023-02-20 20:57 ` Óscar Fuentes [this message]
2023-02-21 12:13 ` emacs-29 b44a7ff85dc: Allow 'icon-title-format' to have the value t Eli Zaretskii
2023-02-21 15:02 ` Óscar Fuentes
2023-02-21 15:26 ` Eli Zaretskii
2023-02-21 18:51 ` Óscar Fuentes
2023-02-21 19:07 ` Eli Zaretskii
2023-02-21 19:48 ` Óscar Fuentes
2023-02-22 14:35 ` Po Lu
2023-02-22 15:22 ` Óscar Fuentes
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=87bklooy1e.fsf@telefonica.net \
--to=ofv@wanadoo.es \
--cc=emacs-devel@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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).