From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#55412: 28.1; In Emacs 28.1, using ':eval' in 'frame-title-format' doesn't work properly Date: Sat, 21 May 2022 11:35:47 +0300 Message-ID: <831qwn9tb0.fsf@gnu.org> References: <838rr4kq56.fsf@gnu.org> <87d23565-b8ba-3b08-0d10-068be3b0c5fd@gmx.at> <83leuzf4zk.fsf@gnu.org> <83sfp6eskr.fsf@gnu.org> <83mtfeeqc5.fsf@gnu.org> <408f7b88-2000-bd10-bd9d-4e06018e8ff0@gmx.at> <83k0agbhcq.fsf@gnu.org> <30699594-f491-07af-fd87-dabab35d71e3@gmx.at> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40903"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55412@debbugs.gnu.org, acm@muc.de, tanzer@swing.co.at To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 21 10:37:30 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1nsKc6-000ATD-FU for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 May 2022 10:37:30 +0200 Original-Received: from localhost ([::1]:51452 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nsKc5-0001Fj-1b for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 May 2022 04:37:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52884) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsKbe-0001EA-9s for bug-gnu-emacs@gnu.org; Sat, 21 May 2022 04:37:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46775) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nsKbe-0004CM-1J for bug-gnu-emacs@gnu.org; Sat, 21 May 2022 04:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nsKbd-00082j-V9 for bug-gnu-emacs@gnu.org; Sat, 21 May 2022 04:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 May 2022 08:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55412 X-GNU-PR-Package: emacs Original-Received: via spool by 55412-submit@debbugs.gnu.org id=B55412.165312218030859 (code B ref 55412); Sat, 21 May 2022 08:37:01 +0000 Original-Received: (at 55412) by debbugs.gnu.org; 21 May 2022 08:36:20 +0000 Original-Received: from localhost ([127.0.0.1]:40672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsKau-00081Y-Ee for submit@debbugs.gnu.org; Sat, 21 May 2022 04:36:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsKaf-00080m-3y for 55412@debbugs.gnu.org; Sat, 21 May 2022 04:36:15 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49102) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsKaY-00042u-3M; Sat, 21 May 2022 04:35:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=YrPvC2sUOkh1+h2EmBWiICPR7LrHz79jrdYAo0S/zVw=; b=r0uGQ4oo9p84 rs0atw8rkGPBNlVp5RoYHAF5dF/8qRDAIS4BRf+gYWX9uwKK6tIkQNTtKWBz8/HkCFRyVLxVyWI9Y O5SI3/Ddtjp9ATdDm2YkkSjMqwhjXQ6p10QKNxNMzfghYD879Es9G8sOkCHXy10/1lOjo+SaIvJ/T SOhH2VqyBVrSvtBJyK4P4IBLyLfoKb2LtX8zeF6XdM6NM6ddTl+gDTTRJTaVfGEauB20J4nWLH7Is kHTrrpeARhv92oy2Arq8uGwTMpz1sLNFB3tKqm1VORxXqBpOa/iTccQm18bo97B+cGEYnKgWu19M7 oOePT41wYOD4he6LgfIi8A==; Original-Received: from [87.69.77.57] (port=1049 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsKaX-0002Lr-Jm; Sat, 21 May 2022 04:35:53 -0400 In-Reply-To: <30699594-f491-07af-fd87-dabab35d71e3@gmx.at> (message from martin rudalics on Sat, 21 May 2022 10:32:41 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:232806 Archived-At: > Date: Sat, 21 May 2022 10:32:41 +0200 > Cc: acm@muc.de, 55412@debbugs.gnu.org, tanzer@swing.co.at > From: martin rudalics > > >> When trying to fix Bug#32777 I spent some time investigating these > >> issues but never found out why on earth we should call routines like > >> 'select-frame' and 'select-window' from redisplay. > > > > Well, now we know at least one reason: so that referencing > > frame-parameters would what Lisp programs expect. > > I don't understand what you mean here. Please elaborate. See the OP's report: a :eval form in frame-title-format that references a frame-parameter assumes that the frame whose title is being evaluated is the selected-frame when the :eval form runs.