From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: emacs-29 b44a7ff85dc: Allow 'icon-title-format' to have the value t Date: Mon, 20 Feb 2023 21:57:17 +0100 Message-ID: <87bklooy1e.fsf@telefonica.net> References: <167661970773.22310.13511166994278322415@vcs2.savannah.gnu.org> <20230217074148.2E130C1391A@vcs2.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6671"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 20 21:57:58 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pUDET-0001Z0-Vx for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Feb 2023 21:57:57 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUDE6-000223-0p; Mon, 20 Feb 2023 15:57:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUDE3-0001o5-W8 for emacs-devel@gnu.org; Mon, 20 Feb 2023 15:57:32 -0500 Original-Received: from relayout04.e.movistar.es ([86.109.101.204] helo=relayout04-redir.e.movistar.es) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUDE0-0005I3-KA for emacs-devel@gnu.org; Mon, 20 Feb 2023 15:57:31 -0500 Original-Received: from sky (73.red-81-39-121.dynamicip.rima-tde.net [81.39.121.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 981711563@telefonica.net) by relayout04.e.movistar.es (Postfix) with ESMTPSA id 4PLF9C3Kx0zyyP for ; Mon, 20 Feb 2023 21:57:17 +0100 (CET) In-Reply-To: <20230217074148.2E130C1391A@vcs2.savannah.gnu.org> (Eli Zaretskii's message of "Fri, 17 Feb 2023 02:41:47 -0500 (EST)") X-TnetOut-Country: IP: 81.39.121.73 | Country: ES X-TnetOut-Information: AntiSPAM and AntiVIRUS on relayout04 X-TnetOut-MsgID: 4PLF9C3Kx0zyyP.A92DE X-TnetOut-SpamCheck: no es spam, clean X-TnetOut-From: ofv@wanadoo.es X-TnetOut-Watermark: 1677531439.71311@7M0yhtxB7GmqfkMRHUl5/A Received-SPF: softfail client-ip=86.109.101.204; envelope-from=ofv@wanadoo.es; helo=relayout04-redir.e.movistar.es X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:303624 Archived-At: Eli Zaretskii 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.