From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#61337: 29.0.60; Setting frame-title-format makes Emacs to steal focus Date: Thu, 09 Feb 2023 16:15:39 +0800 Message-ID: <874jrv5k5w.fsf@yahoo.com> References: <874jrydpw8.fsf@telefonica.net> <87ilgd7e9q.fsf@yahoo.com> <87mt5pxznh.fsf@telefonica.net> <875ycd6joo.fsf@yahoo.com> <87zg9ovps9.fsf@telefonica.net> <87wn4s6c40.fsf@yahoo.com> <87v8kcvllw.fsf@telefonica.net> <87o7q469vi.fsf@yahoo.com> <87r0v0uqnh.fsf@telefonica.net> <878rh760mc.fsf@yahoo.com> <87mt5nv864.fsf@telefonica.net> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6932"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 61337@debbugs.gnu.org To: =?UTF-8?Q?=C3=93scar?= Fuentes Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 09 09:18:34 2023 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 1pQ28Y-0001bX-AY for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Feb 2023 09:18:34 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQ288-0007jy-JD; Thu, 09 Feb 2023 03:18:08 -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 1pQ282-0007jV-JU for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2023 03:18:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pQ282-00021Y-BE for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2023 03:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pQ282-0007tN-0P for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2023 03:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Feb 2023 08:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61337 X-GNU-PR-Package: emacs Original-Received: via spool by 61337-submit@debbugs.gnu.org id=B61337.167593067830325 (code B ref 61337); Thu, 09 Feb 2023 08:18:01 +0000 Original-Received: (at 61337) by debbugs.gnu.org; 9 Feb 2023 08:17:58 +0000 Original-Received: from localhost ([127.0.0.1]:57364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQ27x-0007t3-P6 for submit@debbugs.gnu.org; Thu, 09 Feb 2023 03:17:58 -0500 Original-Received: from sonic302-47.consmr.mail.ne1.yahoo.com ([66.163.186.173]:39398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQ27w-0007sn-2P for 61337@debbugs.gnu.org; Thu, 09 Feb 2023 03:17:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1675930670; bh=pFLekMXYjXBfHOwzHUPNADQ4aPHZYXurTYmsKMCwYgY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=mkbLC6sHqorPGratTPCBcDJ2CkeNxRWZroGoRmZmSoAroUV8rhhjWID0gmV3zbCteM41VMoAqtd7G65BY8x/9905MIrnhE14Ti0PyCFkLdJMY17X7AsELfOoUy4pWTjSVFfLwR4TqNtLU2/8djyG7mugCWXIeNBtmjOIIeQb4QIQ4wDqJnWAlAGmmfFCf3y6429RQoaDinPLNm7uXfKHz1aRJHL2OyAM6ayU/i4P7vyLlMSDvuhRMTqUisWvvigq54AGOSg6nbeBiJavM3xaEj+ec9qAkOgUSfSrJL9A8MQeDGWoBBGB70O6JLLQjNChBJN4I9/DyrkDez9c1xkHaA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1675930670; bh=xyAz799gXpYkWRMTmha69YReIhmXuM64IXamC1TiIl+=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=CTT399vxhtpBqNXPkiH5zeLEEag9v7EGI4DJgdzdC/tUbtHRmYTuqAqqbGD9A1N9A2XkXlOzgSgPMvpse/BcUMWfbFbCLmxE+BnHHfngg4VjyAH7JCCSQKIOK2symkEQUPKNQB1W6m3a2L/YrlXLsRB5vkwzpGRqI0lwqiD03vp23TrSqegUNZjub+2OqK8K/XWSIBilxVxt5dPbqg7HkMLG4qVniHbX+k/uMwSzihPH/DkmfL+fNS/H39BvK28RyaqPWC5NYxHhgjpkJgflU9elLAEknV7IaRWxOCabiJoC/v2szAB7a17WvLcKlta8bjvXDPwYdslPSBGISVmHPw== X-YMail-OSG: rQ9OPz0VM1m41NPYwALDmSoQEqyinLhBlfpzOGlNsx4GDhnhUXmDhIGR5XlOeW4 YGFi7XKXVmVDhGqptAs.fxq6xpiaXndUvIzJOOpvXd9BzDz0YW23ZIfDNDMCVb18sk5NunY0FoRU 7u7fjttLezKBUzsNSMDV7loXUoWc0TfD40X9kHqJ9zPFohmkMMFyTWUXVxrueU89nPgHtgbml7yX 4yw5QZek6w3j2zU47U1OJuAyoOrHMNZx61KlfoDp9IXv0s3uMQm2_cD.DW8dg8bqGF8vfgbrreoT 7MNFQ7CrT.UsjiivKRcnzKFc7oFJG9dPA3iJr8OEftiVtqK05fQ9tvmeqvNYXP.s1dGTNNG9XXvv 2LimsWBYHFX7QU0SHu.1KqKLEI647lfiZIl1V3TCLhJ0PnHmjAf7pHkLPJMlT2zAsHzTBiZC9Sgk sjFZwdx.0IallPwN34Hp698EHH4uX4n85Jqz3UBct1orSqr3MvCjvag1UPm.zwIqfnm.JLxXgSVW zp5IQmRa299oFhalNc_gD_mRB2xTSr7ctIYsR9UqQr_5_yhZgaHjHA81qv9q5WASx4JzP1ahtp4d 0tHJJ7YgGdM0OSYm.LDU0IV7Q8oTQVMNQpCZtBVjQyKZhv5Y8HcaH9hcUPAlN7eMkwswZeRWX8oS X_z9MecmDyfp3c.Qe0Sf5gKWoqOUSCAb2g0tGQHBH6VF448Av.QH1z7C4vOf8__ldpak8ESU2rSc fBlDhhRmF42dRkYtGYWJlCGBopAOQyAjdp3GWMLejUigaud6t1C9Is1VlPDWBVQRJBGMAPa97GM4 O8pfBKqJMg0CtKvJXDwd6seOPZhTeHlv3_7bPGz1DD X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ne1.yahoo.com with HTTP; Thu, 9 Feb 2023 08:17:50 +0000 Original-Received: by hermes--production-sg3-9fc5746c8-2jxhw (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 3feff87a2cf02d1eaa5249f16e15a9c2; Thu, 09 Feb 2023 08:15:47 +0000 (UTC) In-Reply-To: <87mt5nv864.fsf@telefonica.net> ("=?UTF-8?Q?=C3=93scar?= Fuentes"'s message of "Thu, 09 Feb 2023 04:17:55 +0100") X-Mailer: WebService/1.1.21161 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:255193 Archived-At: =C3=93scar Fuentes writes: > Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text > editors" writes: > >> If you set `icon-title-format' to the same as `frame-title-format', and >> in addition apply this patch: >> >> diff --git a/src/xfns.c b/src/xfns.c >> index 3a129211463..7f1128399a8 100644 >> --- a/src/xfns.c >> +++ b/src/xfns.c >> @@ -2317,7 +2317,7 @@ x_implicitly_set_name (struct frame *f, Lisp_Objec= t arg, Lisp_Object oldval) >> x_set_title (struct frame *f, Lisp_Object name, Lisp_Object old_name) >> { >> /* Don't change the title if it's already NAME. */ >> - if (EQ (name, f->title)) >> + if (Fstring_equal (name, f->title)) >> return; >>=20=20 >> update_mode_lines =3D 38; >> >> does the problem go away? > > Yes! Thanks. Anyone know if this is ok for Emacs 29?