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: Tue, 21 Feb 2023 19:51:19 +0100 Message-ID: <87356yq2c8.fsf@telefonica.net> References: <167661970773.22310.13511166994278322415@vcs2.savannah.gnu.org> <20230217074148.2E130C1391A@vcs2.savannah.gnu.org> <87bklooy1e.fsf@telefonica.net> <83pma3tdvo.fsf@gnu.org> <877cwboydd.fsf@telefonica.net> <83zg97rqdg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20827"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: emacs-devel@gnu.org Cancel-Lock: sha1:oa1TEYBuVdbcj/yyt/Zi0Bkcbnk= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Feb 21 19:58:02 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 1pUXpy-0005Ba-R5 for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Feb 2023 19:58:02 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUXpC-00066g-O8; Tue, 21 Feb 2023 13:57:14 -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 1pUXjf-0004Dy-SH for emacs-devel@gnu.org; Tue, 21 Feb 2023 13:51:31 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUXje-00080x-0j for emacs-devel@gnu.org; Tue, 21 Feb 2023 13:51:31 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1pUXjb-0006TF-Hc for emacs-devel@gnu.org; Tue, 21 Feb 2023 19:51:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 21 Feb 2023 13:57:12 -0500 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:303659 Archived-At: Eli Zaretskii writes: >> From: Óscar Fuentes >> Date: Tue, 21 Feb 2023 16:02:22 +0100 >> >> What about the other part on my message? > > You mean, this part: > >> 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.) > > ? Yes. > If that's what users want, how did they do it before this change? They didn't need to do anything, because icon-frame-title was ineffective and Emacs used frame-title-format when minimized too. >> The current explanation for having `t' in icon-frame-title should be >> removed. > > It was the motivation for the change, AFAIU, and I'm not at all sure > KDE is the only environment where the problem happens. The problem with KDE fudging with the focus when switching virtual desktops is a bug that manifests itself under very specific conditions that involve mechanisms exclusive of KDE. That bug was reported to KDE and Emacs does not need to care further about it. As for the motivation for the change, I don't know. I proposed in #61496 that the *default* value for icon-frame-title should be `nil' (or `t', that detail was irrelevant) for meaning "same as frame-title-format" so the observable behavior of Emacs wrt previous releases doesn't change, so the users have no need to tweak their configs. You rejected the proposal and implemented support for the "same as frame-title-format" (which is good to have) but didn't changed the default. > If the desktop doesn't behave like KDE, users could simply set both > formats to two identical strings. The only reason to force Emacs to > use the _same_ string (which can only be done internally) is that > those desktops misbehave. The reason to force Emacs to use the same string is to behave as most users expect, and to avoid hard-to-detect breakage on desktop automation setups that depend on the title of the window. That was explained in #61496. No need to rehash the discussion here. > So I don't see why we should remove the explanation. > >> OTOH, maybe we could explain that icon-frame-title it is effective >> in cases where the user does not explicitly iconify the frame, as >> when he moves to another virtual desktop. > > Sorry, I don't think I understand what you mean here. Again, it was explained in #61496.