GNU bug report logs - #76275
31.0.50; frame-inhibit-implied-resize broken on recent master

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Sean Whitton <spwhitton@HIDDEN>; Done: Sean Whitton <spwhitton@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 15 Mar 2025 16:12:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 15 12:12:18 2025
Received: from localhost ([127.0.0.1]:43291 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ttU7W-0005IQ-C0
	for submit <at> debbugs.gnu.org; Sat, 15 Mar 2025 12:12:18 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:55018)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ttU7T-0005Hx-MB
 for 76275 <at> debbugs.gnu.org; Sat, 15 Mar 2025 12:12:16 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ttU7O-0008Jd-1E; Sat, 15 Mar 2025 12:12:10 -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=OOmB0GI2onWVlK1BzuFLOAm8p7g6pGtgfP5C6CYTq4M=; b=TJIsyf6Z7vAM
 gf6EqhZ71PRSDQeHlRhDaGVlc2XlodvAmZCNPCmz8d8FnzlYRQ35AgqExDxOExIJHyX+f19aryDe4
 uuGORKRzil8HoVUVUOXB/TsONS0KnaADP/z49vlbnOIk4OIr2CczlYpB8JZwa7Cd7QZ5LCGoiE6OY
 W6pebusGIk1p3fsFPFZVhN5lGqKpclb/aS6n204t6Jel4UdLes5WGvlO3Klo6T7KCysKNx4ktH+7z
 vqEJodZIEBi//TytVWdPFGcZwWTZi5i+Zky9QiQc0ai2lV9lYXqxlteLFay7KX6A9Yql2ov4RcEMj
 Mm0Y89uXMwGtmPRUARAb0A==;
Date: Sat, 15 Mar 2025 18:12:04 +0200
Message-Id: <86y0x6uvcb.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <ec54644f-0699-44e1-8dc3-8fbbd42eea16@HIDDEN> (message from
 martin rudalics on Sat, 15 Mar 2025 16:09:20 +0100)
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on recent
 master
References: <87tt8x5ho5.fsf@HIDDEN>
 <189b7ade-865e-4aab-8a2d-fee25ab856f7@HIDDEN>
 <874j0tmkkq.fsf@HIDDEN>
 <df12480c-9619-4eed-a487-fdc2cbe0c017@HIDDEN>
 <874j0sixki.fsf@HIDDEN>
 <9d1dc4c7-e70d-477b-833c-c3a6827735df@HIDDEN>
 <87pljefrj9.fsf@HIDDEN>
 <cda776b7-c8f9-468b-88f2-b070a5752741@HIDDEN>
 <87ldu2feyf.fsf@HIDDEN>
 <a4872417-0840-4693-b458-be648adb6ea3@HIDDEN>
 <87jz9m1abq.fsf@HIDDEN>
 <f360fea9-ceec-4c9f-b335-6bc616f23891@HIDDEN>
 <ab0ab497-3d28-4989-b056-c4364f6952a6@HIDDEN> <86y0xwhpyf.fsf@HIDDEN>
 <a50fd03a-2e27-4c2c-a9de-78e15e5f3c8f@HIDDEN> <86ldtvxh7l.fsf@HIDDEN>
 <c09cf61f-88f1-4509-829d-b3f819c4324d@HIDDEN> <86cyf3tpqz.fsf@HIDDEN>
 <f6b148fd-4eb0-4d32-a2ba-9eda6ab5891f@HIDDEN> <86ikous349.fsf@HIDDEN>
 <4af92266-488d-4c50-a05c-42156aa005dc@HIDDEN>
 <8734fv97s4.fsf@HIDDEN> <865xkay2a4.fsf@HIDDEN>
 <ec54644f-0699-44e1-8dc3-8fbbd42eea16@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, shipmints@HIDDEN, spwhitton@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Sat, 15 Mar 2025 16:09:20 +0100
> Cc: 76275 <at> debbugs.gnu.org, shipmints@HIDDEN
> From: martin rudalics <rudalics@HIDDEN>
> 
>  > So what changes in the documentation would you suggest, and where?
> 
> I'm afraid that neither Sean nor I can give you a satisfactory answer.

I'm still willing to wait for Sean to chime in, perhaps he does have
an idea.

In any case, if we cannot satisfactorily document this variable, the
prudent thing is to remove it from the manual.  Because that means its
use is only for experts who know the subtle aspects of the variable
and its effects.

> Setting 'frame-inhibit-implied-resize' to 'force' in that period can
> help or harm and the outcome may depend on the GTK version and the WM
> used.  It's a heuristic that might work or not.

One more reason not to document it.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 15 Mar 2025 15:09:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 15 11:09:39 2025
Received: from localhost ([127.0.0.1]:43111 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ttT8s-000657-9p
	for submit <at> debbugs.gnu.org; Sat, 15 Mar 2025 11:09:38 -0400
Received: from mout.gmx.net ([212.227.17.21]:55261)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rudalics@HIDDEN>) id 1ttT8p-00064O-1f
 for 76275 <at> debbugs.gnu.org; Sat, 15 Mar 2025 11:09:36 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at;
 s=s31663417; t=1742051364; x=1742656164; i=rudalics@HIDDEN;
 bh=ELoObFKpPeW6ttr+Svp9kYxiDnV0nrcYQJxYs+0WvOs=;
 h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc:
 References:From:In-Reply-To:Content-Type:
 Content-Transfer-Encoding:cc:content-transfer-encoding:
 content-type:date:from:message-id:mime-version:reply-to:subject:
 to;
 b=Dk03SJntC3PgPOA9c2AXk6POzBmUcEvbxYqMhHminWY04iaLv459HHpuXTnSQPTg
 8dfuIe+UilI69u1vUYZlhRgITxMlIYWUaNzhcaYTrhxdWpjguW3Ofol3Va9lmAL3u
 FcsJP1WraZNreR6prQAk4KVg4KQsJf6IaXcjclI5o02m7FbkAJzZwUKf1nbIA5vwV
 +W/k0REdTjoyt9ETu7jJw12gTcnUxFrMtGfxJafoFu5316hoZe2Z/6RUwqb4/3Yfq
 4xx1Vtedwj53h4F1ZGmEKLuBXNOlA7pHUsmL6teEkdXpd7h0dJPBAdlPdIzZ3xQGN
 iab6+BWFPfMcchFYqw==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.31.113] ([46.125.249.40]) by mail.gmx.net (mrgmx104
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MfYLQ-1tHuP60ZT6-00nwvg; Sat, 15
 Mar 2025 16:09:24 +0100
Message-ID: <ec54644f-0699-44e1-8dc3-8fbbd42eea16@HIDDEN>
Date: Sat, 15 Mar 2025 16:09:20 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on recent
 master
To: Eli Zaretskii <eliz@HIDDEN>, Sean Whitton <spwhitton@HIDDEN>
References: <87tt8x5ho5.fsf@HIDDEN>
 <189b7ade-865e-4aab-8a2d-fee25ab856f7@HIDDEN>
 <874j0tmkkq.fsf@HIDDEN>
 <df12480c-9619-4eed-a487-fdc2cbe0c017@HIDDEN>
 <874j0sixki.fsf@HIDDEN>
 <9d1dc4c7-e70d-477b-833c-c3a6827735df@HIDDEN>
 <87pljefrj9.fsf@HIDDEN>
 <cda776b7-c8f9-468b-88f2-b070a5752741@HIDDEN>
 <87ldu2feyf.fsf@HIDDEN>
 <a4872417-0840-4693-b458-be648adb6ea3@HIDDEN>
 <87jz9m1abq.fsf@HIDDEN>
 <f360fea9-ceec-4c9f-b335-6bc616f23891@HIDDEN>
 <ab0ab497-3d28-4989-b056-c4364f6952a6@HIDDEN> <86y0xwhpyf.fsf@HIDDEN>
 <a50fd03a-2e27-4c2c-a9de-78e15e5f3c8f@HIDDEN> <86ldtvxh7l.fsf@HIDDEN>
 <c09cf61f-88f1-4509-829d-b3f819c4324d@HIDDEN> <86cyf3tpqz.fsf@HIDDEN>
 <f6b148fd-4eb0-4d32-a2ba-9eda6ab5891f@HIDDEN> <86ikous349.fsf@HIDDEN>
 <4af92266-488d-4c50-a05c-42156aa005dc@HIDDEN>
 <8734fv97s4.fsf@HIDDEN> <865xkay2a4.fsf@HIDDEN>
Content-Language: en-US
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <865xkay2a4.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
X-Provags-ID: V03:K1:G8FVoGuptz+TgOEPvsNcBVCmLoBrpcr4/mReIQammy7S5/dOdHo
 /oe6R5zcOwIkftLnfm5I3Zgf6hzyKrbEFjCO/JpBU/fY3JisvYt+So6PWpRRNxhoXIpbbDQ
 qqBz7xcrfT06q7EYBjWr1RbcI5jq/76WaqnMu92x1gF9wvhTDn8NqZSILU71kAR8oFggcfC
 RvQR3kGlbkXKmVr5GpVGA==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:XXUDaFVUnhM=;PzMkknxPqiWr+2/yWQMxYLaebd8
 Wie43cABMfkJgbJjTb6Ceeyz6UUWE0YnF+u/KPG4QApp8f9dsp64x4yRex+QGM59/7KWDZ6oP
 5Ryj0Lhj5mTQg8CnNfYnRDnhbQdb5HlX5bqvyzR4idRQcvhAgHEUX3UggLJMgcI6gZeg9AeR1
 3r0vUEQqiXZo3wT9d8Bv4EB6IW3L5Fd2hwH8rVHjstuBVlQDySYp0t7YRR7MHz9gvT/UjbVed
 NA0qEcSMLYyNgaEsQ70ZU+yvzpJP271TUDxpT3OqejApN+VzSBG1J9eh76imat4sRfhQ0lPIw
 nvnKOkFW4TWXwwh/+T3sl3muZ1pe3t41kefl/dCCC90xgb6ogkZ08TygcQ7CIWSntbDkTkPDi
 /eJ3AhHFG/yqB2UevirEwonFCiabJlAMrGfp/rWAg73n5zX8QPom0tbrJ7Q2oKrzE+kNt+6Mg
 1YKWi3UlEabVuyoMaeiLhXsdOzsJRySsluA6wgM1y5rRT4SisiLXg4wcvtdmYImiHW9FOXYgJ
 xoapT603BoxuqnR+NqeiPCwdWnxhqv7ZNKNzuJqp3nbR/TJOzG6v049thLOMA+2uL55G8cg9G
 tiAGzdHKaFHRJd/PgDZl1ncm7ogRZ3+Ls5D56uMNYPGuvtA2xTDXB14332Lvo/5lOee2jrQif
 vAZmiLMqL7VBQvsauIRfsNhiArvDnkisFGPny61h5YrQ3GQm+465fABq84u/j1D8ADp0o1muS
 Gn0RfL5V2F84+njwggmh5BOPB2T+UDsjT9dz+FR0v4p6yx0L51f3rS0eY+pyR8NtxnQdk5mNL
 ljesZ6ooaIIwAR0MGdBASDDppsQw+TPpYj1cI/znzuPEdkajzQjCgN/c98gv7bdhngOY+EE49
 0JgRtXTSkk5Yh6GMoA0qVk+wHef9QTEmHm6nIuWoC+L0lv9CQoMoEauTr5J51DB4VCfmoZS8j
 iDeP+gbYeCZLECeyf7dlY/ztAyk0rMZAnKY8J1jyzRFTUTM5bfU9t1xt18PojhnLrOzgrrReT
 d6TulXaL1ueZaNPmWjsAGjSiRHcqmCCn2RZMCpiQe5uqiw1ljwS69XdITym7dLGOAKs31++eJ
 3t/kMTz9Do5OAansGhN92ae3KMpt1oKP6tsJ8ijTurO4buDwmGIGATQY0NHwKuq+akLIe7apI
 g0/rQYt6zD8spd9WKa1H3Nh1jDKVtkvPKobO9juy9eS7CcM9zt5inZKmNE1bfr16dB42oNqlB
 jb4I+aFEW6kvS3XadmZa8fV45+8j0o95o103aoLAJgMoYlRiQiAOO5wt8+GLKZywtbeLQD9+g
 TJwPkdomQ5kQm907rOdmdWmFkeqxYui1TB7qlFEzCXdwR6VMyTcqbRP80LwsVlMU+BIEfiNGI
 +cA6DtCPysGhfXGQkv1VklQ/a0I+5ws/hBNanqtGRaKXNNKs4//xtXGp0zA11gheMulSfY17n
 8AS+V2AWVrvOOLsoAOS1SRg5e30MSTaNDD90D0RqrZBIJyOhn
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

ID4gU28gd2hhdCBjaGFuZ2VzIGluIHRoZSBkb2N1bWVudGF0aW9uIHdvdWxkIHlvdSBzdWdn
ZXN0LCBhbmQgd2hlcmU/DQoNCkknbSBhZnJhaWQgdGhhdCBuZWl0aGVyIFNlYW4gbm9yIEkg
Y2FuIGdpdmUgeW91IGEgc2F0aXNmYWN0b3J5IGFuc3dlci4NCkFzIEkgdHJpZWQgdG8gbWVu
dGlvbiBpbiB0aGUgbWFudWFsIGFscmVhZHksIEVtYWNzIGZpZ2h0cyB3aXRoIHRoZSBXTQ0K
b3ZlciB0aGUgaW5pdGlhbCBzaXplIG9mIHRoZSBmcmFtZS4gIFRoYXQgZmlnaHQgaXMgcGFy
dGljdWxhcmx5IGludGVuc2UNCndpdGggdG9vbGtpdHMgbGlrZSBHVEsgdGhhdCBtYWtlIHRo
ZSBpbml0aWFsIHNpemUgb2YgYSBmcmFtZSBkZXBlbmQgb24NCnRoZW1lcyB0aGF0IHNwZWNp
ZnkgdGhlIHNpemUgb2YgdGhlIHRpdGxlIGJhciwgdG9vbCBiYXIsIG1lbnUgYmFyIGFuZA0K
c2Nyb2xsIGJhcnMgcmVsYXRpdmUgdG8gdGhlIGRlZmF1bHQgZm9udCBzaXplIGFuIEVtYWNz
IHVzZXIgY2hvb3Nlcy4NCg0KVGh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
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 15 Mar 2025 11:14:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 15 07:14:10 2025
Received: from localhost ([127.0.0.1]:39140 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ttPT0-0001jF-39
	for submit <at> debbugs.gnu.org; Sat, 15 Mar 2025 07:14:10 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:35408)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ttPSx-0001ik-NI
 for 76275 <at> debbugs.gnu.org; Sat, 15 Mar 2025 07:14:08 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ttPSr-0007X0-Mq; Sat, 15 Mar 2025 07:14:01 -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=Yt8IXjJSJIuvZ/CG+kII272ehuegt31hyq3PTEzGFvM=; b=LHVs1jI+XUjc
 d2lirtK0Rso3mcfMUVZyEfqwI2v2E7aiorRKAQOhhxr6c8b8vLJl8nghqhDaUvzam1UEpG6UV+0Pi
 vQINV+wu6UoMzJAzYEdOxzIEoMSylb+oN6XYm4aEINLfEruLTjlJYJVmGuusRRhMGlSogsSzZRT0s
 LUDr+UWPLcTgztf+n8Jab+DUOkaAuXB8K5VM16BT0JYynJSde58mmZukvibTQXIZ982vwk0USu5jC
 c7VXNbW3fK2IZkWztQMsZYMItOqcDBtAziROh7dMgt9StlbMEomvof9OdgexjmR6Sy2iaFrki882e
 H2w/oDot3pTZXn6Of4rVUQ==;
Date: Sat, 15 Mar 2025 13:13:55 +0200
Message-Id: <865xkay2a4.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Sean Whitton <spwhitton@HIDDEN>
In-Reply-To: <8734fv97s4.fsf@HIDDEN> (message from Sean
 Whitton on Sun, 02 Mar 2025 16:05:47 +0800)
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on
 recent master
References: <87tt8x5ho5.fsf@HIDDEN>
 <189b7ade-865e-4aab-8a2d-fee25ab856f7@HIDDEN>
 <874j0tmkkq.fsf@HIDDEN>
 <df12480c-9619-4eed-a487-fdc2cbe0c017@HIDDEN>
 <874j0sixki.fsf@HIDDEN>
 <9d1dc4c7-e70d-477b-833c-c3a6827735df@HIDDEN>
 <87pljefrj9.fsf@HIDDEN>
 <cda776b7-c8f9-468b-88f2-b070a5752741@HIDDEN>
 <87ldu2feyf.fsf@HIDDEN>
 <a4872417-0840-4693-b458-be648adb6ea3@HIDDEN>
 <87jz9m1abq.fsf@HIDDEN>
 <f360fea9-ceec-4c9f-b335-6bc616f23891@HIDDEN>
 <ab0ab497-3d28-4989-b056-c4364f6952a6@HIDDEN> <86y0xwhpyf.fsf@HIDDEN>
 <a50fd03a-2e27-4c2c-a9de-78e15e5f3c8f@HIDDEN> <86ldtvxh7l.fsf@HIDDEN>
 <c09cf61f-88f1-4509-829d-b3f819c4324d@HIDDEN> <86cyf3tpqz.fsf@HIDDEN>
 <f6b148fd-4eb0-4d32-a2ba-9eda6ab5891f@HIDDEN> <86ikous349.fsf@HIDDEN>
 <4af92266-488d-4c50-a05c-42156aa005dc@HIDDEN>
 <8734fv97s4.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, rudalics@HIDDEN, shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Sean Whitton <spwhitton@HIDDEN>
> Cc: 76275 <at> debbugs.gnu.org,  shipmints@HIDDEN
> Date: Sun, 02 Mar 2025 16:05:47 +0800
> 
> Hello,
> 
> On Fri 28 Feb 2025 at 04:10pm +01, martin rudalics wrote:
> 
> >> If you understand why Sean sees a difference, please tell why, and I
> >> will try to see how to document that.
> >
> > Maybe Sean can tell.  Note that with my examples I never set any
> > parameters, don't consults X resources and use no init file.  Results
> > might differ with any of these set or used.
> 
> I believe that what might be unclear in my case is how
> window-size-change-functions is meant to apply to the creation of a new
> frame, rather than the easier case of resizing an existing frame.
> 
> If you assume that window-size-change-functions are applied relatively
> early in frame creation, and then read the current documentation, it all
> makes sense: "ah yes, my window-size-change-functions entry was changing
> the font size early, such that Emacs wouldn't consider the final initial
> size of the frame to have been agreed, yet, until after my code has run.
> So I need `force'."
> 
> But I don't know whether that is a correct assumption to make.

So what changes in the documentation would you suggest, and where?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 5 Mar 2025 01:07:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 04 20:07:46 2025
Received: from localhost ([127.0.0.1]:33682 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tpdEg-0004RU-FM
	for submit <at> debbugs.gnu.org; Tue, 04 Mar 2025 20:07:46 -0500
Received: from sendmail.purelymail.com ([34.202.193.197]:58222)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>)
 id 1tpdEb-0004R4-4L
 for 76275 <at> debbugs.gnu.org; Tue, 04 Mar 2025 20:07:44 -0500
DKIM-Signature: a=rsa-sha256;
 b=Apd9AaTVWguwcFxMF30I2P3bGgl2qsiYXiz7wqET+0JV2Ij+75hUK0YUGIjnbaPnoLBukz/egGUY2dr65z0Mw/yL+OwRairkO8EUdOoeAo/oR7RVPl3Hk9+z1QPBV4TcIy8ku7bls1Y7tYZuv1VfD+8By4j8f39EmFdz1uBzjWso/gUGbT2m7cGRxOJ4SpmsBoKvnjeXgCZ3Ff2foRfufdZHm405oYZOgZQL38sjLcvjIhYDy7boSN8Agu2VybQgCLEBJpkXmYC+9lF1cEwz4Ne74ZPX1ZkLCtLp0LmmDP8aelYPDwtbSggjhMnZ9epm85Zg/ePYwgqfbX8yBh81QA==;
 s=purelymail3; d=spwhitton.name; v=1;
 bh=mxw3KHA5/1oxOM0e92btGv+BhfmrNbQVmDSAGWQJ6YI=;
 h=Received:Received:From:To:Subject:Date; 
DKIM-Signature: a=rsa-sha256;
 b=iSt9SkgqDIG0cEs/8KKLoKXYM0GgdLX3jfs5TKAKy2MexpAi3Qx0GoP5N+ajrr6DauDQXK0bxMQvxRriJ8WRAGn+LvBFonUk5nImcEkveEwv74ucI5hXkyjZYcIOmzteCwThCfOy7rU58SMBKC3gERwqcnM8fR3QivAxDx1SdcTxyi8Edl4G8CON6+jCydjYjFr9/GXkTo+aA8buU7rul1sFFTfhBRSREwxS4SHXCZVwRdScEMIj6zXSw7HmwT3YuDFPnrvRNX2s+wz5LC/X0Uh1P79giKvqRl1sjYoszozP6HA6n88IgApEuv79Sb7g1kpuuBwrsuIZYa45hK09ag==;
 s=purelymail3; d=purelymail.com; v=1;
 bh=mxw3KHA5/1oxOM0e92btGv+BhfmrNbQVmDSAGWQJ6YI=;
 h=Feedback-ID:Received:Received:From:To:Subject:Date; 
Feedback-ID: 20115:3760:null:purelymail
X-Pm-Original-To: 76275 <at> debbugs.gnu.org
Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 347929148; 
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384);
 Wed, 05 Mar 2025 01:07:33 +0000 (UTC)
Received: by melete.silentflame.com (Postfix, from userid 1000)
 id BE0F37E1BEB; Wed,  5 Mar 2025 09:07:28 +0800 (CST)
From: Sean Whitton <spwhitton@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on
 recent master
In-Reply-To: <c2bb637f-92a0-43f0-8c33-306140f0b416@HIDDEN>
References: <87tt8x5ho5.fsf@HIDDEN>
 <df12480c-9619-4eed-a487-fdc2cbe0c017@HIDDEN>
 <874j0sixki.fsf@HIDDEN>
 <9d1dc4c7-e70d-477b-833c-c3a6827735df@HIDDEN>
 <87pljefrj9.fsf@HIDDEN>
 <cda776b7-c8f9-468b-88f2-b070a5752741@HIDDEN>
 <87ldu2feyf.fsf@HIDDEN>
 <a4872417-0840-4693-b458-be648adb6ea3@HIDDEN>
 <87jz9m1abq.fsf@HIDDEN>
 <f360fea9-ceec-4c9f-b335-6bc616f23891@HIDDEN>
 <ab0ab497-3d28-4989-b056-c4364f6952a6@HIDDEN> <86y0xwhpyf.fsf@HIDDEN>
 <a50fd03a-2e27-4c2c-a9de-78e15e5f3c8f@HIDDEN> <86ldtvxh7l.fsf@HIDDEN>
 <c09cf61f-88f1-4509-829d-b3f819c4324d@HIDDEN> <86cyf3tpqz.fsf@HIDDEN>
 <f6b148fd-4eb0-4d32-a2ba-9eda6ab5891f@HIDDEN> <86ikous349.fsf@HIDDEN>
 <4af92266-488d-4c50-a05c-42156aa005dc@HIDDEN>
 <8734fv97s4.fsf@HIDDEN>
 <c2bb637f-92a0-43f0-8c33-306140f0b416@HIDDEN>
Date: Wed, 05 Mar 2025 09:07:28 +0800
Message-ID: <878qpk2skv.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, martin rudalics <rudalics@HIDDEN>,
 shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

On Sun 02 Mar 2025 at 10:43am +01, martin rudalics via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote:

> What would be interesting with your setup would be to find out in which
> case(s) the return values of frame_inhibit_resize differ when
> 'frame-inhibit-implied-resize' is t from when it is 'force.  Then we
> could explain better how these settings influence initial resizing.

I'd be very happy to run some specific tests, if you can suggest some.

-- 
Sean Whitton




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 2 Mar 2025 09:43:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 02 04:43:39 2025
Received: from localhost ([127.0.0.1]:53469 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tofrH-0007fK-0A
	for submit <at> debbugs.gnu.org; Sun, 02 Mar 2025 04:43:39 -0500
Received: from mout.gmx.net ([212.227.15.19]:57093)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rudalics@HIDDEN>) id 1tofrD-0007eb-JN
 for 76275 <at> debbugs.gnu.org; Sun, 02 Mar 2025 04:43:38 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at;
 s=s31663417; t=1740908606; x=1741513406; i=rudalics@HIDDEN;
 bh=nlJTAKfU/tRa8GpOhg+tDb1e+RZxFaxktz93oOzQYhw=;
 h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc:
 References:From:In-Reply-To:Content-Type:
 Content-Transfer-Encoding:cc:content-transfer-encoding:
 content-type:date:from:message-id:mime-version:reply-to:subject:
 to;
 b=VHa9Bo8wsoIsoGZBy5WjDpY1FnVOGfmXbOxO+jkJHvJBmVPUVGZebfm0ONYqlaKK
 TuHyWPb0BN3JxjZwvV1XtYzjUF4fuhRW5AEjTrdZ9kyFhgz59oLu3hGBJX+3lp+3E
 TM3xtdLuSrXI7+Zv5DHlNsQklPDOY1eXG40pea/kJ3sDiMS+E29jBq5z39ChKWV62
 U4r1rnEXIbwOC0Tc0NLi92cgOq6Uh2z+KkurE1FC9UTrDsq8jT7HAVCb1FZO0+paj
 Jgjdj/KXbJ2GF9a5qytdks5x6EXA3G9mjsFrZ4prp0b8dTLrQNPSeZdI81MFG1mtS
 kyWQ7FrSHiL+nxk7Hw==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.31.113] ([213.142.96.129]) by mail.gmx.net (mrgmx004
 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MBUqL-1tzMYL2XmR-006U44; Sun, 02
 Mar 2025 10:43:26 +0100
Message-ID: <c2bb637f-92a0-43f0-8c33-306140f0b416@HIDDEN>
Date: Sun, 2 Mar 2025 10:43:25 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on recent
 master
To: Sean Whitton <spwhitton@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>
References: <87tt8x5ho5.fsf@HIDDEN>
 <189b7ade-865e-4aab-8a2d-fee25ab856f7@HIDDEN>
 <874j0tmkkq.fsf@HIDDEN>
 <df12480c-9619-4eed-a487-fdc2cbe0c017@HIDDEN>
 <874j0sixki.fsf@HIDDEN>
 <9d1dc4c7-e70d-477b-833c-c3a6827735df@HIDDEN>
 <87pljefrj9.fsf@HIDDEN>
 <cda776b7-c8f9-468b-88f2-b070a5752741@HIDDEN>
 <87ldu2feyf.fsf@HIDDEN>
 <a4872417-0840-4693-b458-be648adb6ea3@HIDDEN>
 <87jz9m1abq.fsf@HIDDEN>
 <f360fea9-ceec-4c9f-b335-6bc616f23891@HIDDEN>
 <ab0ab497-3d28-4989-b056-c4364f6952a6@HIDDEN> <86y0xwhpyf.fsf@HIDDEN>
 <a50fd03a-2e27-4c2c-a9de-78e15e5f3c8f@HIDDEN> <86ldtvxh7l.fsf@HIDDEN>
 <c09cf61f-88f1-4509-829d-b3f819c4324d@HIDDEN> <86cyf3tpqz.fsf@HIDDEN>
 <f6b148fd-4eb0-4d32-a2ba-9eda6ab5891f@HIDDEN> <86ikous349.fsf@HIDDEN>
 <4af92266-488d-4c50-a05c-42156aa005dc@HIDDEN>
 <8734fv97s4.fsf@HIDDEN>
Content-Language: en-US
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <8734fv97s4.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:4Em7g/XdYLwvfEcQGFCzxy/vXmBzgi+Td9+kKw/l7HbUEr0Zxkl
 TLMYWfUCWeyGcvYXCrKPdk1t88etUKMgY1cZSI+CuelT29FcXAkZw28BebDFwJ5ATTr7ujm
 XR04s8Z7OJf+52rOpXs7pSqjMEnRycP6k4/qBYnW+w/aQ1O/uDmxC2QjRCykQaFcCsoMtjQ
 TuUT3dXWgbag4fWSOOv9g==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:5GEPPu64WH0=;l6N0eFxGlqaSb9hvXyVY8qJ4/hb
 gp/Uxq+JKJdpSyJKc3I0SyPwQmuaAPjG4MNBWj6mRdcBNNSyb2mjrrik5tQ+dVa6+WB5kDwcH
 O86KnVb6aHt3KpZXpEvNygOTXUvo0ocfitUWV8irqALQo7yPD+stdwj7+2FHcVK50qBRGmqvB
 AFyOkrCC6euYGV9FLhAtfYZKxNC/sHGSnf/YbLHOmhD6WUL1wOhvJOTgLziHLLgNhqqoZgqp9
 vFvcvjxGmaI3KrGV9JlgWt2Z1y7cJ0G7/brCuyywOhYN8+iKfubexXyvzLUH+5FihNmZS0FIH
 tN2K2TummO6yMvAL2qsQ1Ng8T6h2PNAA/PBcVOai+6zRZjdpa1U3X5uOM5bjzolJtqDUBWgC7
 gw0QmOZgRs5/nir8iACN3jETaAc6DiE+uk257x1gu15JBJt0HMyGgrqt41tvxadCJJs1JN6p7
 HhGKrILBncBclZZ2c22t1Dobs+eVUYGprxw1suZ6tKihC050xy1neT8Nv7yU6BCESLxq9zFzt
 59Hu+PdHwjs/SjjE1i7Iizet+I1HugVWTgoA7Sk2RRytCavsRScPngRXeb9R0Q1/nOID9n3FY
 SXcF8GgE42TFSiMJqwHbGzXvsNw8v78Icu4NnUSZWAPcuvlKshrg8SFbR7DIhZKz4AZIgSHXw
 ZWO4ShqTR5fCQyDTkK2L5V0sd1VEDCk/93gA2kU3i4qgukdf9vOym+duMa4UOmnAH9Ntsurfo
 21V46mA+0ffl6uaHubes0FA6mS+lXI7mNdr4VaGowpxFFjK0V/arMSkiv/oOZqRPbXfSxxK6z
 aLQUaOmz2XvM2Ty8GikQq8GEz0fDD0W4MDlHSoscs8IMr6HWDYKcS9Cci72qFvi97DjvYHq9r
 nUg4Vv7WWi7JNOm65EQJr7wqcQjb1l0FovMbYScaEZ5nrzLN/CWxHWatrqzbqA4P4a2bPGbzD
 x6TrMYXiBg6S57ECXVRKM1OhFVLxR9pLkQhPJ+JM0INaruNAXsJt6aPf8PX0U9gx7nI4aRVsH
 NWxO3mtk7m/DC1wFzFb0a/0Jy3fMAm/lOxiMZEltJBVrc0I3FgGc4F7DKMDFfFTpdAfpEEf0v
 qDIXZ7fJoCckWWYDAVBF4JYhmlQau2fi3qYQz11ElA2fZJcbNaG4M1o5w07i6NZT+wzh3UHbz
 7ic9skpu1pfcDdvk7He2gz40fFPoXjslh0xWPW2bxt/dIxPkeKnFreLUAENmakf6x3MP8QQN4
 vmFIg/m2F91U8PTwY9IZxALKbUUpASh/C0/x5EGp5VYVjsBNAYuFaog05EFJq3Z45bT0fWNR+
 8bM1EImBv9FTl8JcK9Fe06tyRuyz8d3WReLmktQghLh7NzRw6PD/sKMa/6FuieHBGLforMIcN
 5C/6aMwDyN2W/g+rEPtfD3WIhiUI1G4ZI4td/JwmkRipjQevUM9b+gZ17YaTcSll/GcjPAtxU
 O2rU/xw==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

 > I believe that what might be unclear in my case is how
 > window-size-change-functions is meant to apply to the creation of a new
 > frame, rather than the easier case of resizing an existing frame.

'frame-inhibit-implied-resize' was primarily intended for the latter.
We only see now how it can affect the creation of new frames.  We set
the can_set_window_size slot as late as possible during frame creation,
that is we try to delay the impact of 'frame-inhibit-implied-resize' as
long as possible anyway.

But eventually we do have to run into redisplay: IIUC on the one hand
because with some builds we draw menu and tool bars ourselves and want
to have a unified flow of frame creation.  On the other hand, because
elements on these bars depend on the buffer shown in the initial window
and its major mode.

What would be interesting with your setup would be to find out in which
case(s) the return values of frame_inhibit_resize differ when
'frame-inhibit-implied-resize' is t from when it is 'force.  Then we
could explain better how these settings influence initial resizing.

martin





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 2 Mar 2025 08:06:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 02 03:06:01 2025
Received: from localhost ([127.0.0.1]:52448 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1toeKn-0006jI-Db
	for submit <at> debbugs.gnu.org; Sun, 02 Mar 2025 03:06:01 -0500
Received: from sendmail.purelymail.com ([34.202.193.197]:55350)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>)
 id 1toeKk-0006ip-QT
 for 76275 <at> debbugs.gnu.org; Sun, 02 Mar 2025 03:05:59 -0500
DKIM-Signature: a=rsa-sha256;
 b=EOjGTfuyhlMiIXFpIQuJlGs21/L5l+kacw5STaehF768Pa9Q/JThfnL838U2fllIoZ4g0JbgpzwyWZtl5d16ErDgJDRusf3dRfMIsehp9QyY6DNjhclGkZh1GLd85XiVWbmLWjY2B25f722F9u5BRZuvhJ06o/vOYaL+DmGuyHW7B6IvK7gMkpVlbRj++O2/uV20atbCFAwuUYfKMCrYAx4IRVCuf07gIg3IxpghfjSelDCZSGKVxNJ1o9RnfTb51HM5rXgSYSC7ziiDOAl/yDhp51SzSoQaUn4XFDQFpD6JVnmbenpe7YkeaEH+TDPf8oXX9HD0B0YcAB51zLx+cw==;
 s=purelymail2; d=spwhitton.name; v=1;
 bh=8nMhd94gL3C0pjC/+1BqOg9Ur8hjxxU3Xkjyut3vdAw=;
 h=Received:Received:From:To:Subject:Date; 
DKIM-Signature: a=rsa-sha256;
 b=fbbfdHEvL5w3SFo9SHrJ/ulhfpaplQ9694svny6WBxiB42oqJ1cOk8GBY+PUtjiI4aynToi5i+Z9T0e5NGKsg/9lrChMDwSFj7dZoKn2BMpxgLwSRnBk7g55D9rghNARwb3ofe8M0DiDg9r3tM0T3l+ujh/8im9M/DRymIWY9uJR+jvHSKU9/IprWJjGDF6dV+blqcRlIWIoi10WnyomsJL/Sh/v4PrT/PUbaQrFUQmROCAXmhTuQCLojf6WI5N74tgqDSSzapDrxgHvSODHNUfO145qJdVrhKY4Y5zP3cizCEVAo1DsY5zDQnH7MavY8UYDfqAKUss6ezJpeQXdgA==;
 s=purelymail2; d=purelymail.com; v=1;
 bh=8nMhd94gL3C0pjC/+1BqOg9Ur8hjxxU3Xkjyut3vdAw=;
 h=Feedback-ID:Received:Received:From:To:Subject:Date; 
Feedback-ID: 20115:3760:null:purelymail
X-Pm-Original-To: 76275 <at> debbugs.gnu.org
Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id -1857184650; 
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384);
 Sun, 02 Mar 2025 08:05:52 +0000 (UTC)
Received: by melete.silentflame.com (Postfix, from userid 1000)
 id AC9CE7E395E; Sun,  2 Mar 2025 16:05:47 +0800 (CST)
From: Sean Whitton <spwhitton@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>, martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on
 recent master
In-Reply-To: <4af92266-488d-4c50-a05c-42156aa005dc@HIDDEN>
References: <87tt8x5ho5.fsf@HIDDEN>
 <189b7ade-865e-4aab-8a2d-fee25ab856f7@HIDDEN>
 <874j0tmkkq.fsf@HIDDEN>
 <df12480c-9619-4eed-a487-fdc2cbe0c017@HIDDEN>
 <874j0sixki.fsf@HIDDEN>
 <9d1dc4c7-e70d-477b-833c-c3a6827735df@HIDDEN>
 <87pljefrj9.fsf@HIDDEN>
 <cda776b7-c8f9-468b-88f2-b070a5752741@HIDDEN>
 <87ldu2feyf.fsf@HIDDEN>
 <a4872417-0840-4693-b458-be648adb6ea3@HIDDEN>
 <87jz9m1abq.fsf@HIDDEN>
 <f360fea9-ceec-4c9f-b335-6bc616f23891@HIDDEN>
 <ab0ab497-3d28-4989-b056-c4364f6952a6@HIDDEN> <86y0xwhpyf.fsf@HIDDEN>
 <a50fd03a-2e27-4c2c-a9de-78e15e5f3c8f@HIDDEN> <86ldtvxh7l.fsf@HIDDEN>
 <c09cf61f-88f1-4509-829d-b3f819c4324d@HIDDEN> <86cyf3tpqz.fsf@HIDDEN>
 <f6b148fd-4eb0-4d32-a2ba-9eda6ab5891f@HIDDEN> <86ikous349.fsf@HIDDEN>
 <4af92266-488d-4c50-a05c-42156aa005dc@HIDDEN>
Date: Sun, 02 Mar 2025 16:05:47 +0800
Message-ID: <8734fv97s4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

On Fri 28 Feb 2025 at 04:10pm +01, martin rudalics wrote:

>> If you understand why Sean sees a difference, please tell why, and I
>> will try to see how to document that.
>
> Maybe Sean can tell.  Note that with my examples I never set any
> parameters, don't consults X resources and use no init file.  Results
> might differ with any of these set or used.

I believe that what might be unclear in my case is how
window-size-change-functions is meant to apply to the creation of a new
frame, rather than the easier case of resizing an existing frame.

If you assume that window-size-change-functions are applied relatively
early in frame creation, and then read the current documentation, it all
makes sense: "ah yes, my window-size-change-functions entry was changing
the font size early, such that Emacs wouldn't consider the final initial
size of the frame to have been agreed, yet, until after my code has run.
So I need `force'."

But I don't know whether that is a correct assumption to make.

-- 
Sean Whitton




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 28 Feb 2025 15:10:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 28 10:10:30 2025
Received: from localhost ([127.0.0.1]:50671 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1to20U-0000Ds-Cv
	for submit <at> debbugs.gnu.org; Fri, 28 Feb 2025 10:10:30 -0500
Received: from mout.gmx.net ([212.227.17.21]:58647)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rudalics@HIDDEN>) id 1to20R-0000Ca-3q
 for 76275 <at> debbugs.gnu.org; Fri, 28 Feb 2025 10:10:28 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at;
 s=s31663417; t=1740755417; x=1741360217; i=rudalics@HIDDEN;
 bh=SHegM5EBTrsb4s7IszJ9S9D4bpn5oCjPy2WaSLG2la8=;
 h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc:
 References:From:In-Reply-To:Content-Type:
 Content-Transfer-Encoding:cc:content-transfer-encoding:
 content-type:date:from:message-id:mime-version:reply-to:subject:
 to;
 b=TcU59tqgLE7U6uInLEtuu/gJH/3EQCp5+ykL1tUKzW+PNWbo0Hk8Lx3+ZLyeDPDA
 mElv2MaNpmuefMlEp+muznsF+B80jmLH56bdTGyB7/dp+PTyGJH0mWeGNmUblu5YI
 AVEGALkKsIaf+upKWt7x771+FJKKp5viCgw8jswxHUrwu4KISTIpLiwgI58IOiRAX
 82slH/3zTupaCQB6UHouGWJb/5B3MfRF+/wYeT4/EiaTDE1v8SHwp8odxXBR3R8cw
 pemjyoyQN0fqYzVn99Sb9xGkvKmjWqo+xna1GV5Az7vOZYa8JqlFRlwJLgq0wO1cF
 HyAvlqG631pShF6BcQ==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.31.113] ([212.95.7.236]) by mail.gmx.net (mrgmx104
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N5GE1-1t6gpR47ev-013z9o; Fri, 28
 Feb 2025 16:10:17 +0100
Message-ID: <4af92266-488d-4c50-a05c-42156aa005dc@HIDDEN>
Date: Fri, 28 Feb 2025 16:10:14 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on recent
 master
To: Eli Zaretskii <eliz@HIDDEN>
References: <87tt8x5ho5.fsf@HIDDEN>
 <19d45259-a936-4783-b9b8-d3b97fd3d339@HIDDEN>
 <871pw056eo.fsf@HIDDEN>
 <189b7ade-865e-4aab-8a2d-fee25ab856f7@HIDDEN>
 <874j0tmkkq.fsf@HIDDEN>
 <df12480c-9619-4eed-a487-fdc2cbe0c017@HIDDEN>
 <874j0sixki.fsf@HIDDEN>
 <9d1dc4c7-e70d-477b-833c-c3a6827735df@HIDDEN>
 <87pljefrj9.fsf@HIDDEN>
 <cda776b7-c8f9-468b-88f2-b070a5752741@HIDDEN>
 <87ldu2feyf.fsf@HIDDEN>
 <a4872417-0840-4693-b458-be648adb6ea3@HIDDEN>
 <87jz9m1abq.fsf@HIDDEN>
 <f360fea9-ceec-4c9f-b335-6bc616f23891@HIDDEN>
 <ab0ab497-3d28-4989-b056-c4364f6952a6@HIDDEN> <86y0xwhpyf.fsf@HIDDEN>
 <a50fd03a-2e27-4c2c-a9de-78e15e5f3c8f@HIDDEN> <86ldtvxh7l.fsf@HIDDEN>
 <c09cf61f-88f1-4509-829d-b3f819c4324d@HIDDEN> <86cyf3tpqz.fsf@HIDDEN>
 <f6b148fd-4eb0-4d32-a2ba-9eda6ab5891f@HIDDEN> <86ikous349.fsf@HIDDEN>
Content-Language: en-US
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <86ikous349.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:OxLlzyaJMTU6W/GVnWKuP/VWvMYjoP/8f0X2RdVLrPnK6Qf0M6r
 1a+IgCYXEXs/4qP7NvVlxQkteOrP6VIRwYdxmd7V4OwLedV7MT+SJDc2j0BXdLG/Z8EkCdL
 ERWUUCkANmVYyUBfPWbGW6MByFuZI4AZLQz0WED1UkuNNK/+4S0onpfoATmzOeDAwsF4grw
 2H9kJIVae22Z5dVVvlTbw==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:6oRxNv6SJzY=;9dU30XxcH8J1w+tDnG1MmUhBYjk
 6apcmMRJvd9DrKK7iNnn6CUU7lTJYvx4siflG2WIEtPakPXTJ8a0gMHTlM5LKShcGDAi4Sd6L
 fGl6AdmxeBVkuVpy23lQHt3xg3KlHGoVMtQfQh5BBp+Zp22Gm2EhEqKbNh0PDojBkeEhU9lkZ
 ld3kXrqOIGzh13wOJDv+8mevPU5DsABRtGsJ8FTXSZLmZBQ5f0XrFtk8pDBCpbXqHKDHzNu6w
 QWZg2JHf1SWPPDKlS5LqSqkfbA5M5ROimSjHh8IbKrgn88vKeVq0/g+DWJ9aUflfaiTvDvY9F
 S8wyrMNc5Iqk7hwxBDTn+2rl01Aw1vA4UQCgRCYKimnrup7NSSQUefOeVm7VCqKyYm/oPfmD1
 KaN+MyMQtuVz26ePu0Z4Xii/6WFD+N1eFzUbTTDU0AW+tM8ygmhBf31nanpxXwJoJ1rBWiOh2
 Z8Emh4tuBpm0V6FEIusX/E8cFk1SJW/7llrGM09RmN1cKs0IJlmvlj1kN6/ENO/SfOzeIxgSy
 J17762QOIcYqrfLBG3t757qUA63vllMqO0lk2QeUWcPIGXwCGTiFXqYAfeXZ8+1PRK/fQiSO3
 itRxHsYwnk+IyCkTWYoDydvQh7WEub/6fVvlO+D2nNiPVL3OQhUhQVD3YGp+6LUZBrkLmys7r
 aK7C5L9KAv5gmF5lzQZ8dvZhbAhvFeYnLginTvtQFtB1sW+FUHOKhFkjl5PCCjeR1ZvWziBfc
 Cpldq6Sr/y3bnpBa7ecB9s19asONjTPTNME4aP+j3NA6X7hDOhw2yk8E1YQr1JTnZoWc2KTQp
 5TLk76H4M/iceSJ6JDdqAvpr7I+UeYdAEgXwl3/u6TsDTdTkdh8quc5LqY+qqxdLqrq1bA02d
 R4nfFyKwSNxnSWRWbJNTiwTMcP9f9okJ5mxxRPGwbYDy14aqScuVm3GWf4CWbioa403hG4yvt
 jx9DG+hixoRvpCVnC7zwGnRH82qMZuDSON8dYnrY1yzKDrL8+kLOl5ayfm5d+Tg/FI2OhRdcj
 EjlUAfJpNBCawhvGavgpc16b+ypfSCOjovAfxLnY4I5dv+f0de2Hn/3b/u0YS4/tv/RUTLhxg
 cSKY+0hstttcvRlfspPYSlAyldkjQ/5V2/fF4zTlTL2+H8Mu/KbduZIVroce2pIyAsHkBhtgz
 yIBE9zUpoAnVBSfy5E7rAshYeHrhXvwf5qzHNKceaa3PYf1+XUaU6aA0/gSBG59acNjEn3ccu
 gKchTeYZh4nf4kYGyWi5ZbG8Edycq22kFxXLRBdTxH+aQjhYPuQzMtaVGBBFWqcHRCY+u9ALd
 t5+kIEe5fRMOAPTB2uVqvGxAmgcYXeys4PbHOsqy2Z2OwQZG/MekJSZo7A3oK/BV7eXbF0qTc
 a8bsHhvg/xqpia/iQvEo4blqguvmTlBkJB2NGcIngInULi04ZKIh19KGz7n0H6W1FmWPGTSQ0
 WOdrqCA==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, shipmints@HIDDEN, spwhitton@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

 > If you understand why Sean sees a difference, please tell why, and I
 > will try to see how to document that.

Maybe Sean can tell.  Note that with my examples I never set any
parameters, don't consults X resources and use no init file.  Results
might differ with any of these set or used.

 > Is the GTK case the only one you know of when these two settings yield
 > different effects?

The GTK build is the only one with an external tool bar.  With
'tool-bar-mode' turned off, all three examples produce the same height
of 792 pixels.

martin




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 28 Feb 2025 11:47:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 28 06:47:16 2025
Received: from localhost ([127.0.0.1]:46138 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tnypn-00054g-Ls
	for submit <at> debbugs.gnu.org; Fri, 28 Feb 2025 06:47:16 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:57928)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tnypk-00053q-0N
 for 76275 <at> debbugs.gnu.org; Fri, 28 Feb 2025 06:47:12 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1tnype-0005Tg-0E; Fri, 28 Feb 2025 06:47:06 -0500
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=h0ZWVfftM0pWggFol80N38kl4ZK9n6a0Auke1idTQo0=; b=Bfieh/4hH5E6
 dzr2ovQH90lSaGJmHoRrQJ09AYyS3rIls14gSVEUA2tHzqc1SKjlFRFjrL58c95q14t18Cmh/o9+F
 CmqVvgvWPLDzVlHeFV4Al5sydgoRxtzU7KUi3UFd3aNDt+vEKXx7PoGAXOpZ55XVt+e6K7RsiZEyk
 htjNS6nuF5yEysYtK0ID7tcMT7LsnM4BkmWe65Zcaw+1GeoDFN6JHmCc7qLUWhW/u2swiHAVF1nR0
 sRN0DpF8jz3lSzuVSPYZHJcLylwLB+gu6R431yuFeJn3cKh/tqLqHwwL0FgwOy6PcFiizZsWU+r43
 sOZTXegCg+nuD+nlaqkDsg==;
Date: Fri, 28 Feb 2025 13:47:02 +0200
Message-Id: <86ikous349.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <f6b148fd-4eb0-4d32-a2ba-9eda6ab5891f@HIDDEN> (message from
 martin rudalics on Fri, 28 Feb 2025 10:25:07 +0100)
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on recent
 master
References: <87tt8x5ho5.fsf@HIDDEN>
 <19d45259-a936-4783-b9b8-d3b97fd3d339@HIDDEN>
 <871pw056eo.fsf@HIDDEN>
 <189b7ade-865e-4aab-8a2d-fee25ab856f7@HIDDEN>
 <874j0tmkkq.fsf@HIDDEN>
 <df12480c-9619-4eed-a487-fdc2cbe0c017@HIDDEN>
 <874j0sixki.fsf@HIDDEN>
 <9d1dc4c7-e70d-477b-833c-c3a6827735df@HIDDEN>
 <87pljefrj9.fsf@HIDDEN>
 <cda776b7-c8f9-468b-88f2-b070a5752741@HIDDEN>
 <87ldu2feyf.fsf@HIDDEN>
 <a4872417-0840-4693-b458-be648adb6ea3@HIDDEN>
 <87jz9m1abq.fsf@HIDDEN>
 <f360fea9-ceec-4c9f-b335-6bc616f23891@HIDDEN>
 <ab0ab497-3d28-4989-b056-c4364f6952a6@HIDDEN> <86y0xwhpyf.fsf@HIDDEN>
 <a50fd03a-2e27-4c2c-a9de-78e15e5f3c8f@HIDDEN> <86ldtvxh7l.fsf@HIDDEN>
 <c09cf61f-88f1-4509-829d-b3f819c4324d@HIDDEN> <86cyf3tpqz.fsf@HIDDEN>
 <f6b148fd-4eb0-4d32-a2ba-9eda6ab5891f@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, shipmints@HIDDEN, spwhitton@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Fri, 28 Feb 2025 10:25:07 +0100
> Cc: spwhitton@HIDDEN, 76275 <at> debbugs.gnu.org, shipmints@HIDDEN
> From: martin rudalics <rudalics@HIDDEN>
> 
>  > Maybe we should instead explain which settings could cause resize with
>  > t, but not with 'force'?
> 
> Here with a GTK3 build I get the following (frame-pixel-height) /
> (frame-total-lines) values:
> 
> emacs -Q ~> 792 / 36
> 
> emacs -Q --eval "(setopt frame-inhibit-implied-resize t)" ~> 751 / 34
> 
> emacs -Q --eval "(setopt frame-inhibit-implied-resize 'force)" ~> 751 / 34
> 
> So with a GTK build here the major difference is between nil and t and
> there's no difference between t and 'force.  Yet Sean sees a difference
> with t and 'force.
> 
> And with a Lucid build I get 830 / 37 in all cases.  What can I possibly
> explain?  Can you see a difference with these three cases?

If you understand why Sean sees a difference, please tell why, and I
will try to see how to document that.

Is the GTK case the only one you know of when these two settings yield
different effects?

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 28 Feb 2025 09:25:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 28 04:25:21 2025
Received: from localhost ([127.0.0.1]:45016 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tnwcS-0000DL-WE
	for submit <at> debbugs.gnu.org; Fri, 28 Feb 2025 04:25:21 -0500
Received: from mout.gmx.net ([212.227.17.21]:43581)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rudalics@HIDDEN>) id 1tnwcQ-000083-Bb
 for 76275 <at> debbugs.gnu.org; Fri, 28 Feb 2025 04:25:19 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at;
 s=s31663417; t=1740734709; x=1741339509; i=rudalics@HIDDEN;
 bh=kJDmCRYo55qsvcRFBC9S93RzsrDMl+y4ruSBCXLQt5I=;
 h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc:
 References:From:In-Reply-To:Content-Type:
 Content-Transfer-Encoding:cc:content-transfer-encoding:
 content-type:date:from:message-id:mime-version:reply-to:subject:
 to;
 b=BJYQzEp7lOvIqqFpWjil+6s03vtTQ/VstibG03yNR7ihKiFIwFdKcnoQkGK/o/B3
 YPtjr1X7I85r7pRSYecGEyTg/O4do4bi/bvWMaM7dHY1H+SG+H+/8iA4AJzi66Xfx
 S1slmaTgdW2/hiSd21TPyteLT/BDrzHtDHll/3v/mz5XEVMi2FuyHRPXhfMOF/BSI
 Qwh5xPi5sX+o6oP3mTZqoelV+SxEKZiMiqD++qYplTfL5WS8ys0xnQXjGKsj6IYLc
 engH/qe6m7tSaAT5M305i6bfQ6ycKcYX5RVCajaloVrWPuQ3r89lJ8AbEXBGZzLT2
 3tY0/PYuwfJ1IPToFw==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.31.113] ([213.142.97.175]) by mail.gmx.net (mrgmx105
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MqJmF-1tS8Zy1prP-00a1Uh; Fri, 28
 Feb 2025 10:25:09 +0100
Message-ID: <f6b148fd-4eb0-4d32-a2ba-9eda6ab5891f@HIDDEN>
Date: Fri, 28 Feb 2025 10:25:07 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on recent
 master
To: Eli Zaretskii <eliz@HIDDEN>
References: <87tt8x5ho5.fsf@HIDDEN>
 <19d45259-a936-4783-b9b8-d3b97fd3d339@HIDDEN>
 <871pw056eo.fsf@HIDDEN>
 <189b7ade-865e-4aab-8a2d-fee25ab856f7@HIDDEN>
 <874j0tmkkq.fsf@HIDDEN>
 <df12480c-9619-4eed-a487-fdc2cbe0c017@HIDDEN>
 <874j0sixki.fsf@HIDDEN>
 <9d1dc4c7-e70d-477b-833c-c3a6827735df@HIDDEN>
 <87pljefrj9.fsf@HIDDEN>
 <cda776b7-c8f9-468b-88f2-b070a5752741@HIDDEN>
 <87ldu2feyf.fsf@HIDDEN>
 <a4872417-0840-4693-b458-be648adb6ea3@HIDDEN>
 <87jz9m1abq.fsf@HIDDEN>
 <f360fea9-ceec-4c9f-b335-6bc616f23891@HIDDEN>
 <ab0ab497-3d28-4989-b056-c4364f6952a6@HIDDEN> <86y0xwhpyf.fsf@HIDDEN>
 <a50fd03a-2e27-4c2c-a9de-78e15e5f3c8f@HIDDEN> <86ldtvxh7l.fsf@HIDDEN>
 <c09cf61f-88f1-4509-829d-b3f819c4324d@HIDDEN> <86cyf3tpqz.fsf@HIDDEN>
Content-Language: en-US
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <86cyf3tpqz.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:Jma8eSHfr1dwto3cOfW8D1jQuEZKc+B9tjIigjm+jNfZYO9cFQL
 WQsABTCV3xVXdIz7pLT4b8vbAit4Wmv38+ud3IXGfCylL9IATPCBZBukZPfI7IW+EVmEmDX
 oVZC/WW8F5QppVICbHcIh3z+8IWE3Ki4u/IIO3RMUJosumOnXAxEjc04zO61qqckYHQs5Bb
 a8Fn3njUTxEOKXHwRVDjg==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:JGVMpbbHeE4=;mPbeW7amintdGLFwb173PjuoPR2
 CimAcOpa5qxIgRijtQ8CyId021/6sXlyDfQx34bq2/nHs6N/I/EykMSL+A9A4a02AmikL//ao
 egw3iVup0RQECUA1A/HiJJ0dqKE4ggAn4ipgnfJcNuVoVuGvaQNhm91jojl4MsRviU8SAbNxH
 /T4koHje0+Yp4P81QtGKoAJAxfkat3VnTdbi86OT+toFyBkVe0spaa1M1V7UulK2rSdQPdMuV
 QZrsp/u5JTKCrqlbhs0Ox6ywSIjVVJnwvA3b8thumV6Y7PvNSb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tFoCu/5P6+vrqygzn+x3VE1HrfQbmhf73NPikMWN+ktgqD+0xv9hIct+oGpbu9DzMt9nLd
 BvvhG5HDy7sNmXoPtM4SL6QP68AutGWOG+roULXEIQvZ+T/BhFBF9xrckAfwITi9VpwM/+H4y
 oQyhJZQ==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, shipmints@HIDDEN, spwhitton@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

 > Maybe we should instead explain which settings could cause resize with
 > t, but not with 'force'?

Here with a GTK3 build I get the following (frame-pixel-height) /
(frame-total-lines) values:

emacs -Q ~> 792 / 36

emacs -Q --eval "(setopt frame-inhibit-implied-resize t)" ~> 751 / 34

emacs -Q --eval "(setopt frame-inhibit-implied-resize 'force)" ~> 751 / 34

So with a GTK build here the major difference is between nil and t and
there's no difference between t and 'force.  Yet Sean sees a difference
with t and 'force.

And with a Lucid build I get 830 / 37 in all cases.  What can I possibly
explain?  Can you see a difference with these three cases?

martin




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 27 Feb 2025 14:41:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 27 09:41:07 2025
Received: from localhost ([127.0.0.1]:32954 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tnf4U-0001x0-TC
	for submit <at> debbugs.gnu.org; Thu, 27 Feb 2025 09:41:07 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:59222)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tnf4Q-0001vX-BH
 for 76275 <at> debbugs.gnu.org; Thu, 27 Feb 2025 09:41:03 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1tnf4K-00085X-Bb; Thu, 27 Feb 2025 09:40:56 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=m3yE0Z18EYy4Ll/dttxr62YSvQde9GENMlOq7ccq+Ag=; b=fuyyK2vsBQcvbsdR8sBl
 ppiUyUwxAVQN09AAZ/64TaL4oOHX5lB+/KN9fnQAGC7QKq3mEHdVhTYNnVbEtlNWnURe9zu6Ah1a1
 ygZtja0y28ta5S8xIkaZLx2/2ZsvEAdQVu/Fqrp+q6it7GecjC59520h0bdO29ie3/LtIi06rgPAu
 AlekB2hJxafuVoIsmFLuZGDlLDrr41ywhE/wzRSC/k22zEkJLLsqHyiLdSEUxk00gnpcFWMz7I/k0
 Bo9dK+x0TeHdkTxTkHrXMvTvYbvBcylDWOA/t1J+mNpmh5lTPzN+DjX4lexPhiGUascPQ0YFxG8cR
 Yb5eEAGHaY/aPw==;
Date: Thu, 27 Feb 2025 16:40:36 +0200
Message-Id: <86cyf3tpqz.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <c09cf61f-88f1-4509-829d-b3f819c4324d@HIDDEN> (message from
 martin rudalics on Tue, 25 Feb 2025 10:25:40 +0100)
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on recent
 master
References: <87tt8x5ho5.fsf@HIDDEN>
 <19d45259-a936-4783-b9b8-d3b97fd3d339@HIDDEN>
 <871pw056eo.fsf@HIDDEN>
 <189b7ade-865e-4aab-8a2d-fee25ab856f7@HIDDEN>
 <874j0tmkkq.fsf@HIDDEN>
 <df12480c-9619-4eed-a487-fdc2cbe0c017@HIDDEN>
 <874j0sixki.fsf@HIDDEN>
 <9d1dc4c7-e70d-477b-833c-c3a6827735df@HIDDEN>
 <87pljefrj9.fsf@HIDDEN>
 <cda776b7-c8f9-468b-88f2-b070a5752741@HIDDEN>
 <87ldu2feyf.fsf@HIDDEN>
 <a4872417-0840-4693-b458-be648adb6ea3@HIDDEN>
 <87jz9m1abq.fsf@HIDDEN>
 <f360fea9-ceec-4c9f-b335-6bc616f23891@HIDDEN>
 <ab0ab497-3d28-4989-b056-c4364f6952a6@HIDDEN> <86y0xwhpyf.fsf@HIDDEN>
 <a50fd03a-2e27-4c2c-a9de-78e15e5f3c8f@HIDDEN> <86ldtvxh7l.fsf@HIDDEN>
 <c09cf61f-88f1-4509-829d-b3f819c4324d@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, shipmints@HIDDEN, spwhitton@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 25 Feb 2025 10:25:40 +0100
> Cc: spwhitton@HIDDEN, 76275 <at> debbugs.gnu.org, shipmints@HIDDEN
> From: martin rudalics <rudalics@HIDDEN>
> 
>  > How about if, instead of saying what kinds of resizing will NOT
>  > happen, we say what WILL happen?  The resizing seems to have two
>  > stages, so maybe we should describe them, since the 3 settings of this
>  > option seem to control which stage(s) is/are allowed to happen?  What
>  > happens in the stage until "Emacs agrees with the window manager on
>  > the frame size"? what causes the resize in this stage, and what is not
>  > taken into account?  And what is the second stage of the resize?
>  >
>  > Also, the use of "initial size" is confusing, especially when you say
>  > "final initial size".  What is the importance of the "initial" here?
> 
> The initial size of a frame can be specified by ‘initial-frame-alist’,
> 'default-frame-alist' and X resources, among others.  A non-initial
> frame size is one specified by 'set-frame-height', 'set-frame-width' or
> modifying a frame parameter.  'frame-inhibit-implied-resize' t affects
> the non-initial part only.  Conceptually, because nothing hinders people
> from interspersing the latter with the former.
> 
> In the Initial Frame Parameters section we say that
> 
>       If these settings affect the frame geometry and appearance, you’ll
>       see the frame appear with the wrong ones and then change to the
>       specified ones.  If that bothers you, you can specify the same
>       geometry and appearance with X resources; those do take effect
>       before the frame is created.  *Note X Resources: (emacs)X
>       Resources.
> 
> The "final" initial size is the one that can be seen and retrieved after
> the "change to the specified ones".  It can be seen by users who wait
> for an unspecified period of time, but still long enough, until the size
> of the frame has stabilized on screen.  With an initially invisible or
> iconified frame it can be seen only after the frame has been made
> visible for the first time.
> 
> With GTK this moment happens after the tool bar has been updated for the
> first time which is triggered by redisplay and usually happens some time
> after Emacs considers a frame official - that is after is had added the
> frame to 'frame-list' and run 'after-make-frame-functions'.
> 
> So ultimately, for GTK the difference of the values 't' and 'force' for
> 'frame-inhibit-implied-resize' is determined by redisplay_tool_bar in
> xdisp.c and update_frame_tool_bar in gtkutil.c and I have no good idea
> how to explain these moments in the manual.

Maybe we should instead explain which settings could cause resize with
t, but not with 'force'?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 25 Feb 2025 09:26:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 25 04:26:02 2025
Received: from localhost ([127.0.0.1]:44735 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tmrCT-0002cV-NP
	for submit <at> debbugs.gnu.org; Tue, 25 Feb 2025 04:26:02 -0500
Received: from mout.gmx.net ([212.227.17.22]:37611)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rudalics@HIDDEN>) id 1tmrCP-0002c4-VV
 for 76275 <at> debbugs.gnu.org; Tue, 25 Feb 2025 04:25:58 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at;
 s=s31663417; t=1740475541; x=1741080341; i=rudalics@HIDDEN;
 bh=MLc+pEcmBizVXVOBMX/sWEt/hzpQdrjYtN0KVck1NyQ=;
 h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc:
 References:From:In-Reply-To:Content-Type:
 Content-Transfer-Encoding:cc:content-transfer-encoding:
 content-type:date:from:message-id:mime-version:reply-to:subject:
 to;
 b=k1N0v8yW6sr5T0NxE2n/O4WFTEDDD62J3PIm6+8KMv5eXYeLAmgQPu12ifIIWMhg
 e7/JSKNTZAuhUA+HDNyZcEVqJ5xQdN0EdT3tl8UZNfdf8sG4ra8MvALk6H+qmWIie
 rtB+z1mflfLnAA+g7afsM/rN6Yhgo7wR3fIegThzC+KcspTM4TeVUBcO0021gl5VO
 XSnJY6XaudJGGI/YmwK99MekC6nOPa4G7ilkmHPZ7dy1DGoG9OFyoeg5Y7UYdfgvZ
 T4XSYk2PD/fLKfwkelRcxsOCjQDMdZcY2yfaf07Ro/OJaAZCOlHtMMYjN/RQkXldY
 6/LCs/Io180mugQFHQ==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.31.113] ([46.125.249.14]) by mail.gmx.net (mrgmx105
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M5fMY-1tgomd1MaI-00BkAo; Tue, 25
 Feb 2025 10:25:41 +0100
Message-ID: <c09cf61f-88f1-4509-829d-b3f819c4324d@HIDDEN>
Date: Tue, 25 Feb 2025 10:25:40 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on recent
 master
To: Eli Zaretskii <eliz@HIDDEN>
References: <87tt8x5ho5.fsf@HIDDEN>
 <19d45259-a936-4783-b9b8-d3b97fd3d339@HIDDEN>
 <871pw056eo.fsf@HIDDEN>
 <189b7ade-865e-4aab-8a2d-fee25ab856f7@HIDDEN>
 <874j0tmkkq.fsf@HIDDEN>
 <df12480c-9619-4eed-a487-fdc2cbe0c017@HIDDEN>
 <874j0sixki.fsf@HIDDEN>
 <9d1dc4c7-e70d-477b-833c-c3a6827735df@HIDDEN>
 <87pljefrj9.fsf@HIDDEN>
 <cda776b7-c8f9-468b-88f2-b070a5752741@HIDDEN>
 <87ldu2feyf.fsf@HIDDEN>
 <a4872417-0840-4693-b458-be648adb6ea3@HIDDEN>
 <87jz9m1abq.fsf@HIDDEN>
 <f360fea9-ceec-4c9f-b335-6bc616f23891@HIDDEN>
 <ab0ab497-3d28-4989-b056-c4364f6952a6@HIDDEN> <86y0xwhpyf.fsf@HIDDEN>
 <a50fd03a-2e27-4c2c-a9de-78e15e5f3c8f@HIDDEN> <86ldtvxh7l.fsf@HIDDEN>
Content-Language: en-US
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <86ldtvxh7l.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
X-Provags-ID: V03:K1:S7yCIciVVSzHYqdeSV39spWRxxp+TxNMTCN6E9wLWQdvzDiLdZa
 56XNoG8cCTx9zZE4bs4n9RXBcEzjh1ailnQAZgrcFDx6wazd/34gS/qvCtTGOIHUOL/Ew46
 G05TCOuPZjEEwTO9gOQmaanMuKSyQ3xPib2+Xwjox2R8g+rT5s5cXWRHWbeY1YI2hpJGfRj
 m4tLnXFnk571etuc1fdeA==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:2MtjfUk7JSM=;fIgOfCfRMCNWhoTBEC8xApADy1g
 /xBFdZ274ykZP1scZgxZzdsDljGvdubqq8dr6qDlMUzLFuOM5E6MEsqmrp0ndKtTN7iuJyNS5
 +4O0MKdbj8ed3z39ZFNQYJTOYwLyqvevWJI9FxyBnIGPzWqHf+sk+7eyIvEgJmX6nlGqDqWar
 uJ4kROlbIyEBHu0UwPjO33sxKivK/YU7nUlWBswjfZ7FEYgXiNm6qwmQJ3EzK1kvHaztPIcd+
 bKeGFX+fOVac4cIQ6ExDwfhC3rftSypGTl/XaAd484zdm5Q4N2uKnsU52leRHE7FehhEdPGej
 qzj5zCApgRJZ4NZzbnN3PQbvNXvYe8RUTUeG+mU8uTWn0JPzGA3FvSvRBCnr1WW+8T652sQt+
 9OeAj1oxRREFIDfPQI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I32eV9o4Jll5XrO
 5SpR7iw==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, shipmints@HIDDEN, spwhitton@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

ID4gSG93IGFib3V0IGlmLCBpbnN0ZWFkIG9mIHNheWluZyB3aGF0IGtpbmRzIG9mIHJlc2l6
aW5nIHdpbGwgTk9UDQogPiBoYXBwZW4sIHdlIHNheSB3aGF0IFdJTEwgaGFwcGVuPyAgVGhl
IHJlc2l6aW5nIHNlZW1zIHRvIGhhdmUgdHdvDQogPiBzdGFnZXMsIHNvIG1heWJlIHdlIHNo
b3VsZCBkZXNjcmliZSB0aGVtLCBzaW5jZSB0aGUgMyBzZXR0aW5ncyBvZiB0aGlzDQogPiBv
cHRpb24gc2VlbSB0byBjb250cm9sIHdoaWNoIHN0YWdlKHMpIGlzL2FyZSBhbGxvd2VkIHRv
IGhhcHBlbj8gIFdoYXQNCiA+IGhhcHBlbnMgaW4gdGhlIHN0YWdlIHVudGlsICJFbWFjcyBh
Z3JlZXMgd2l0aCB0aGUgd2luZG93IG1hbmF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MgYWZ0ZXIgdGhlIHRvb2wgYmFyIGhhcyBiZWVuIHVw
ZGF0ZWQgZm9yIHRoZQ0KZmlyc3QgdGltZSB3aGljaCBpcyB0cmlnZ2VyZWQgYnkgcmVkaXNw
bGF5IGFuZCB1c3VhbGx5IGhhcHBlbnMgc29tZSB0aW1lDQphZnRlciBFbWFjcyBjb25zaWRl
cnMgYSBmcmFtZSBvZmZpY2lhbCAtIHRoYXQgaXMgYWZ0ZXIgaXMgaGFkIGFkZGVkIHRoZQ0K
ZnJhbWUgdG8gJ2ZyYW1lLWxpc3QnIGFuZCBydW4gJ2FmdGVyLW1ha2UtZnJhbWUtZnVuY3Rp
b25zJy4NCg0KU28gdWx0aW1hdGVseSwgZm9yIEdUSyB0aGUgZGlmZmVyZW5jZSBvZiB0aGUg
dmFsdWVzICd0JyBhbmQgJ2ZvcmNlJyBmb3INCidmcmFtZS1pbmhpYml0LWltcGxpZWQtcmVz
aXplJyBpcyBkZXRlcm1pbmVkIGJ5IHJlZGlzcGxheV90b29sX2JhciBpbg0KeGRpc3AuYyBh
bmQgdXBkYXRlX2ZyYW1lX3Rvb2xfYmFyIGluIGd0a3V0aWwuYyBhbmQgSSBoYXZlIG5vIGdv
b2QgaWRlYQ0KaG93IHRvIGV4cGxhaW4gdGhlc2UgbW9tZW50cyBpbiB0aGUgbWFudWFsLiAg
SW4gZWl0aGVyIGNhc2UsIHRoZSBsYXN0DQp0d28gYnVnIHJlcG9ydHMgaW4gdGhpcyBhcmVh
IHdlcmUgYm90aCB0cmlnZ2VyZWQgYnkgdGhpcyBkaXNjcmVwYW5jeSBzbw0KSSBhZ3JlZSB0
aGF0IGZ1cnRoZXIgY2xhcmlmaWNhdGlvbiBtaWdodCBiZSBuZWVkZWQuDQoNCm1hcnRpbg0K





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 24 Feb 2025 19:42:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 24 14:42:55 2025
Received: from localhost ([127.0.0.1]:42766 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tmeLv-0006gk-2b
	for submit <at> debbugs.gnu.org; Mon, 24 Feb 2025 14:42:55 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:37486)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tmeLs-0006gS-2i
 for 76275 <at> debbugs.gnu.org; Mon, 24 Feb 2025 14:42:52 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1tmeLl-000475-Ku; Mon, 24 Feb 2025 14:42:46 -0500
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=jqoYspEkH1RGwRLIxiuncFPUDqRDdyzjlHKrh7Su+0E=; b=KOWRUNg2DMnx
 zMJ4ooWP+5dnaHXFbbyI+mzJ7DHkumGuLI2dCJZRwgBhdYktlJ8GKguWeasu58COmf/MafBVqYSuw
 y5nzTsscB+J8IRyxhzmCQinzCKHh3mXH5EudW8vo5KdSHrjUQ9a8QnT67nJWG3JYvEl/lAWZDYD9b
 +kvnLbqGJ65ldoHjLWXu0D3EEGL0DqLcBWkWJy1EqYInvR/QQb3wRw7/w+igH5LDtoQ8bFnn62JoA
 AouSHN7GBsJr+l/eZJvlIVYFjbQZdwGXZT4UVgJHFAwU4HR1O04Y+/jexYKqLfNiNgqEPJ2Sb5tDH
 Aij8le9UBFtRVoLiuD0M7Q==;
Date: Mon, 24 Feb 2025 21:42:22 +0200
Message-Id: <86ldtvxh7l.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <a50fd03a-2e27-4c2c-a9de-78e15e5f3c8f@HIDDEN> (message from
 martin rudalics on Mon, 24 Feb 2025 09:52:53 +0100)
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on recent
 master
References: <87tt8x5ho5.fsf@HIDDEN>
 <19d45259-a936-4783-b9b8-d3b97fd3d339@HIDDEN>
 <871pw056eo.fsf@HIDDEN>
 <189b7ade-865e-4aab-8a2d-fee25ab856f7@HIDDEN>
 <874j0tmkkq.fsf@HIDDEN>
 <df12480c-9619-4eed-a487-fdc2cbe0c017@HIDDEN>
 <874j0sixki.fsf@HIDDEN>
 <9d1dc4c7-e70d-477b-833c-c3a6827735df@HIDDEN>
 <87pljefrj9.fsf@HIDDEN>
 <cda776b7-c8f9-468b-88f2-b070a5752741@HIDDEN>
 <87ldu2feyf.fsf@HIDDEN>
 <a4872417-0840-4693-b458-be648adb6ea3@HIDDEN>
 <87jz9m1abq.fsf@HIDDEN>
 <f360fea9-ceec-4c9f-b335-6bc616f23891@HIDDEN>
 <ab0ab497-3d28-4989-b056-c4364f6952a6@HIDDEN> <86y0xwhpyf.fsf@HIDDEN>
 <a50fd03a-2e27-4c2c-a9de-78e15e5f3c8f@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, shipmints@HIDDEN, spwhitton@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Mon, 24 Feb 2025 09:52:53 +0100
> Cc: spwhitton@HIDDEN, 76275 <at> debbugs.gnu.org, shipmints@HIDDEN
> From: martin rudalics <rudalics@HIDDEN>
> 
>  > Thanks, but could you please clarify the difference between the values
>  > t and 'force' of frame-inhibit-implied-resize?  I'm confused by "no
>  > resizing once a frame has obtained its initial size" vs "no implicit
>  > resizing whenever a new frame is made".  This seems to imply that
>  > there are several stages in the resizing, but they are not explicitly
>  > described.
> 
> I've tried to be more verbose in the manual and the doc-string now.
> Please have a look.

Thanks.  It's better, but I think we still need to improve it.

How about if, instead of saying what kinds of resizing will NOT
happen, we say what WILL happen?  The resizing seems to have two
stages, so maybe we should describe them, since the 3 settings of this
option seem to control which stage(s) is/are allowed to happen?  What
happens in the stage until "Emacs agrees with the window manager on
the frame size"? what causes the resize in this stage, and what is not
taken into account?  And what is the second stage of the resize?

Also, the use of "initial size" is confusing, especially when you say
"final initial size".  What is the importance of the "initial" here?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 24 Feb 2025 08:53:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 24 03:53:14 2025
Received: from localhost ([127.0.0.1]:38367 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tmUDB-000149-Ok
	for submit <at> debbugs.gnu.org; Mon, 24 Feb 2025 03:53:14 -0500
Received: from mout.gmx.net ([212.227.17.21]:35195)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rudalics@HIDDEN>) id 1tmUD8-00013r-Li
 for 76275 <at> debbugs.gnu.org; Mon, 24 Feb 2025 03:53:11 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at;
 s=s31663417; t=1740387177; x=1740991977; i=rudalics@HIDDEN;
 bh=WRVlnShMPwYx7NzZnOO6Ennu8ZB/HP96jmhw8AStmrQ=;
 h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc:
 References:From:In-Reply-To:Content-Type:
 Content-Transfer-Encoding:cc:content-transfer-encoding:
 content-type:date:from:message-id:mime-version:reply-to:subject:
 to;
 b=AC9WqO3X3qKZQ0jlaYHXu1sgAPI/EqOP8vMgL+SiwGhvMhLowriiwPkAf3Tp/oQC
 nEp8eLhxtLAiArV9SjzF260rY7ZtjLJiaOGqwWxcEwGk0SHu0UYj6sTDjXhxwI7F0
 p2ImtNIBFIeuZRm8GXfftVzhcLZai3aes25t2QRD5N6PiHUxbZwhFDzvPMaWBnkjX
 hExC1ADGsKTA3xKU0dZ4yZRjXG54oXC24fEbIPX0jwzweOLbcawA8uSRJLHQSTlyy
 ITD3hMpo6xvkjY3fUx3qQxbItKC93bjdfhI76Gi22nYHkbmJL0fEhkcZHdKyQDZaR
 YGtzimVI5yQIatRnag==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.31.113] ([213.142.97.18]) by mail.gmx.net (mrgmx104
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M89L1-1titJK13jf-00EZpf; Mon, 24
 Feb 2025 09:52:57 +0100
Message-ID: <a50fd03a-2e27-4c2c-a9de-78e15e5f3c8f@HIDDEN>
Date: Mon, 24 Feb 2025 09:52:53 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on recent
 master
To: Eli Zaretskii <eliz@HIDDEN>
References: <87tt8x5ho5.fsf@HIDDEN>
 <19d45259-a936-4783-b9b8-d3b97fd3d339@HIDDEN>
 <871pw056eo.fsf@HIDDEN>
 <189b7ade-865e-4aab-8a2d-fee25ab856f7@HIDDEN>
 <874j0tmkkq.fsf@HIDDEN>
 <df12480c-9619-4eed-a487-fdc2cbe0c017@HIDDEN>
 <874j0sixki.fsf@HIDDEN>
 <9d1dc4c7-e70d-477b-833c-c3a6827735df@HIDDEN>
 <87pljefrj9.fsf@HIDDEN>
 <cda776b7-c8f9-468b-88f2-b070a5752741@HIDDEN>
 <87ldu2feyf.fsf@HIDDEN>
 <a4872417-0840-4693-b458-be648adb6ea3@HIDDEN>
 <87jz9m1abq.fsf@HIDDEN>
 <f360fea9-ceec-4c9f-b335-6bc616f23891@HIDDEN>
 <ab0ab497-3d28-4989-b056-c4364f6952a6@HIDDEN> <86y0xwhpyf.fsf@HIDDEN>
Content-Language: en-US
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <86y0xwhpyf.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:DkBz2N/v39RHrznG3YC9noiu/48TOGO1byYC25MGb4yUH/0ZfH7
 ReS6fLL6RqOj7/fcuEJYhHNvgsCzSnn9IefbMEQyrIxE5j36cUlphdMzNbAg2mf+6uucaN7
 Kvf+hFukptT4vZu6yORT/T6SxMCfb/E6407ovMkGhEkMfH8tuVtYkQv8IkSnDC/BEjDFu5j
 yz3bwCQgtMJyw/SNUKHfw==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:GuXV5YY6M5w=;ejK411c8ai3/9FGJmQbkNupRRTT
 JWRWij3cm1DOL+pnn13G9TQywl+26wlGYi71JiQK8afD5JR8tNg7PMOHw/S51YnZ4nX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rnVC4nfqE63W7oRDpL+AMLMKgnOQv6EhnNDLYp8WMWuTjVxuQJOKXFt
 EJoi4DwonUrkibFRB4vLXvmMh4xUDo33qxHEBjjBdsnurDWd2y2qyvbedmr9KQb2kIWord6kA
 6SVn/Sp3TtLkKGqOoUCU0J1oi38jIYm6VbuurItUmjsqyFyVtO2rYSfK1BgVdrAZunrXVnoe3
 bHCMGHxHJADsGIgjvM2a+X5LW5HOgskKdhb67xamoR9k5z2ScVw9SWkh45eQKcHGCWCaVytg7
 XElPg8rEmoO0l2q+16QUDkkWrIMl7KBH19ZtUUuuV/JHNiUEzfevjXcibpOPtbzjYNtImgenx
 tGyJQLQ==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, shipmints@HIDDEN, spwhitton@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

 > Thanks, but could you please clarify the difference between the values
 > t and 'force' of frame-inhibit-implied-resize?  I'm confused by "no
 > resizing once a frame has obtained its initial size" vs "no implicit
 > resizing whenever a new frame is made".  This seems to imply that
 > there are several stages in the resizing, but they are not explicitly
 > described.

I've tried to be more verbose in the manual and the doc-string now.
Please have a look.

Thanks, martin




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 23 Feb 2025 11:15:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 23 06:15:50 2025
Received: from localhost ([127.0.0.1]:59571 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tm9xe-0008LK-4W
	for submit <at> debbugs.gnu.org; Sun, 23 Feb 2025 06:15:50 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:34770)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tm9xb-0008L2-BV
 for 76275 <at> debbugs.gnu.org; Sun, 23 Feb 2025 06:15:48 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1tm9xU-0002EG-Sk; Sun, 23 Feb 2025 06:15:40 -0500
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=xSFpzPsRnTL1bsevP6QtuWVj+ccvbW5dMSXOw8NrFpg=; b=AKhoP72RtOp6
 D8p/6Wpb/sZzOrt/oooSadVBJSbSLrlSaWymV5tUDH6BQn9KcVDtZ2TuOaXWCaWSPXQZS0KL9VDqg
 3nwHz7BfKTmNeODwh/BZ28zeefrbSE00mD0GeFp6a5xJ+0Izp6A0Pecf4cw4gGZzOszYGbaPz4yrR
 Ou/X0o4imHYdtEPZfGO4QsJWNGxZSTNKaGTYwmgOmmuIPMoDS5MX/w96dKh6RDqHTPEnyBTlxt1v8
 PP97X8JPDlhi6nGK8NgxN+ZqiTNcpwCYJo18tQFTKIcnP14BTvyh/HPPUwhG1DHe0PMmAvXe8BT+x
 RIx7QRhsmWCC8xYQeBpRag==;
Date: Sun, 23 Feb 2025 13:15:36 +0200
Message-Id: <86y0xwhpyf.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <ab0ab497-3d28-4989-b056-c4364f6952a6@HIDDEN> (message from
 martin rudalics on Sun, 23 Feb 2025 11:05:51 +0100)
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on recent
 master
References: <87tt8x5ho5.fsf@HIDDEN>
 <19d45259-a936-4783-b9b8-d3b97fd3d339@HIDDEN>
 <871pw056eo.fsf@HIDDEN>
 <189b7ade-865e-4aab-8a2d-fee25ab856f7@HIDDEN>
 <874j0tmkkq.fsf@HIDDEN>
 <df12480c-9619-4eed-a487-fdc2cbe0c017@HIDDEN>
 <874j0sixki.fsf@HIDDEN>
 <9d1dc4c7-e70d-477b-833c-c3a6827735df@HIDDEN>
 <87pljefrj9.fsf@HIDDEN>
 <cda776b7-c8f9-468b-88f2-b070a5752741@HIDDEN>
 <87ldu2feyf.fsf@HIDDEN>
 <a4872417-0840-4693-b458-be648adb6ea3@HIDDEN>
 <87jz9m1abq.fsf@HIDDEN>
 <f360fea9-ceec-4c9f-b335-6bc616f23891@HIDDEN>
 <ab0ab497-3d28-4989-b056-c4364f6952a6@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, shipmints@HIDDEN, spwhitton@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Sun, 23 Feb 2025 11:05:51 +0100
> From: martin rudalics <rudalics@HIDDEN>
> Cc: 76275 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, shipmints@HIDDEN
> 
>  >  > So, are you thinking you'll install the 'force patch?
> 
> Installed on master now.

Thanks, but could you please clarify the difference between the values
t and 'force' of frame-inhibit-implied-resize?  I'm confused by "no
resizing once a frame has obtained its initial size" vs "no implicit
resizing whenever a new frame is made".  This seems to imply that
there are several stages in the resizing, but they are not explicitly
described.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at 76275-done <at> debbugs.gnu.org:


Received: (at 76275-done) by debbugs.gnu.org; 23 Feb 2025 10:43:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 23 05:43:55 2025
Received: from localhost ([127.0.0.1]:59522 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tm9Sk-0006j9-OA
	for submit <at> debbugs.gnu.org; Sun, 23 Feb 2025 05:43:54 -0500
Received: from sendmail.purelymail.com ([34.202.193.197]:43048)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>)
 id 1tm9Sf-0006ik-7I
 for 76275-done <at> debbugs.gnu.org; Sun, 23 Feb 2025 05:43:52 -0500
DKIM-Signature: a=rsa-sha256;
 b=WjgRjU75Qwc7zI6Dn5h585GCmkgPn8G9DDf6LONTQpHc0Q+N5j+K6+gx84BXx+kPAWX1F0Eh2Wjs2IQ8jNgUs60tca03vc5uyX+GNuQ8aUZgATiNXHIcU4D14tPklpIdVn2pYM06e5Px0mfuSN73dWPb6yyfwzsYQZWa9ctl+8L2yCFzo34C1SmtRt3uUa/64+9EyNR3m+RGkU2/z53s/FEqgI7yxcw48TRgA09T35kl9p0QQa79XXqjn8yletr/u+nQ+qlYPM4oC071rxesRrrePTUqTsGjUD+6hIl1te+KAfY9iM8nPmG8+UukgkLCPAdLQhE3LRvYZU8L8pQxHw==;
 s=purelymail1; d=spwhitton.name; v=1;
 bh=8bUX5yHRkAH3BsdZ3L6A6sh+5QqgNZWBaV8s/Rq5SuU=;
 h=Received:Received:From:To:Subject:Date; 
DKIM-Signature: a=rsa-sha256;
 b=l3C6O14yJv2fi2iUsUfpBgKZ+JPnVZzKVyOrfeZ375b5EqqB1xG1jGRr8hCHstMeRsCvdsXjd9/FVL2pcLCw5vEvoc2yWT+iY02WWl0aKdLT1ZqIBUWrlILcrAZC+iB1c66w2AGy3OIrdrB5UQQurbCJ3cHgeU8wrGqYEB2MzFM7oz+608YwAlM6F7KD7n+RasDhvDwgDrdAXi4VkzhcBUE0S9VJZn3xxM5PXtHQwPQSBFUbH3es5brE0sKWUJ1ewm+H6UCIsHOuNwufNF4aWMypmCQN4ngP/TyGIpPY7e8Du3zVUAMkeg8GKIz3bdHnxsJcqtKdt9gxpzUeSs8idQ==;
 s=purelymail1; d=purelymail.com; v=1;
 bh=8bUX5yHRkAH3BsdZ3L6A6sh+5QqgNZWBaV8s/Rq5SuU=;
 h=Feedback-ID:Received:Received:From:To:Subject:Date; 
Feedback-ID: 20115:3760:null:purelymail
X-Pm-Original-To: 76275-done <at> debbugs.gnu.org
Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 2038743594; 
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384);
 Sun, 23 Feb 2025 10:43:42 +0000 (UTC)
Received: by melete.silentflame.com (Postfix, from userid 1000)
 id BA7497E159E; Sun, 23 Feb 2025 18:43:39 +0800 (CST)
From: Sean Whitton <spwhitton@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on
 recent master
In-Reply-To: <ab0ab497-3d28-4989-b056-c4364f6952a6@HIDDEN> (martin rudalics
 via's message of "Sun, 23 Feb 2025 11:05:51 +0100")
References: <87tt8x5ho5.fsf@HIDDEN>
 <19d45259-a936-4783-b9b8-d3b97fd3d339@HIDDEN>
 <871pw056eo.fsf@HIDDEN>
 <189b7ade-865e-4aab-8a2d-fee25ab856f7@HIDDEN>
 <874j0tmkkq.fsf@HIDDEN>
 <df12480c-9619-4eed-a487-fdc2cbe0c017@HIDDEN>
 <874j0sixki.fsf@HIDDEN>
 <9d1dc4c7-e70d-477b-833c-c3a6827735df@HIDDEN>
 <87pljefrj9.fsf@HIDDEN>
 <cda776b7-c8f9-468b-88f2-b070a5752741@HIDDEN>
 <87ldu2feyf.fsf@HIDDEN>
 <a4872417-0840-4693-b458-be648adb6ea3@HIDDEN>
 <87jz9m1abq.fsf@HIDDEN>
 <f360fea9-ceec-4c9f-b335-6bc616f23891@HIDDEN>
 <ab0ab497-3d28-4989-b056-c4364f6952a6@HIDDEN>
Date: Sun, 23 Feb 2025 18:43:39 +0800
Message-ID: <87wmdhlz50.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76275-done
Cc: 76275-done <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>,
 shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

On Sun 23 Feb 2025 at 11:05am +01, martin rudalics via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote:

>>  > So, are you thinking you'll install the 'force patch?
>
> Installed on master now.

Looks good to me.  Thanks again.  Closing the bug.

-- 
Sean Whitton




Notification sent to Sean Whitton <spwhitton@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Sean Whitton <spwhitton@HIDDEN>:
You have taken responsibility. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 23 Feb 2025 10:06:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 23 05:06:27 2025
Received: from localhost ([127.0.0.1]:59427 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tm8sU-0001vs-W1
	for submit <at> debbugs.gnu.org; Sun, 23 Feb 2025 05:06:27 -0500
Received: from mout.gmx.net ([212.227.15.15]:43367)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rudalics@HIDDEN>) id 1tm8s4-0001uB-2v
 for 76275 <at> debbugs.gnu.org; Sun, 23 Feb 2025 05:06:00 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at;
 s=s31663417; t=1740305152; x=1740909952; i=rudalics@HIDDEN;
 bh=dB1vG8+Aln1ZMujEV3ToLlE9eV2xgSB0qeGMwoNA6Rs=;
 h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:From:To:
 Cc:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:
 cc:content-transfer-encoding:content-type:date:from:message-id:
 mime-version:reply-to:subject:to;
 b=XyiXIQTQuVow4unBk5H3foVd0l5hTBimvFdrue7CY0hWFRM34XlSAWPvHZqWOGv6
 0YLc18Edz8cCvdLiTgJi/Dxnh4VDHwi2HC8ZrAE/Rsq+ycN7aCC1RxHv551gS8cbf
 +ifC95WmZt/a0wFWwFWGfSRxSQyJ2wR3Ms/uXyJ8k83jNeIWEsBufdkpQI5z2lO5W
 JxnMMsv7Wttk9hJbjJ5BRMlnCyM0XlMeecp/vR7Nwd1cwp0ioyPS5euJSRY3NuDF8
 hANZ8o+brgyskFGrGvyllYp/UBakx+/oy52t0znM0bMlAbt7zXuGe6hxxHpPVxKT2
 RpP/sqFm43mrPTvaRA==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.31.113] ([212.95.5.168]) by mail.gmx.net (mrgmx004
 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N2DxE-1tJrgs1KuM-017AXb; Sun, 23
 Feb 2025 11:05:52 +0100
Message-ID: <ab0ab497-3d28-4989-b056-c4364f6952a6@HIDDEN>
Date: Sun, 23 Feb 2025 11:05:51 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on recent
 master
From: martin rudalics <rudalics@HIDDEN>
To: Sean Whitton <spwhitton@HIDDEN>
References: <87tt8x5ho5.fsf@HIDDEN>
 <19d45259-a936-4783-b9b8-d3b97fd3d339@HIDDEN>
 <871pw056eo.fsf@HIDDEN>
 <189b7ade-865e-4aab-8a2d-fee25ab856f7@HIDDEN>
 <874j0tmkkq.fsf@HIDDEN>
 <df12480c-9619-4eed-a487-fdc2cbe0c017@HIDDEN>
 <874j0sixki.fsf@HIDDEN>
 <9d1dc4c7-e70d-477b-833c-c3a6827735df@HIDDEN>
 <87pljefrj9.fsf@HIDDEN>
 <cda776b7-c8f9-468b-88f2-b070a5752741@HIDDEN>
 <87ldu2feyf.fsf@HIDDEN>
 <a4872417-0840-4693-b458-be648adb6ea3@HIDDEN>
 <87jz9m1abq.fsf@HIDDEN>
 <f360fea9-ceec-4c9f-b335-6bc616f23891@HIDDEN>
Content-Language: en-US
In-Reply-To: <f360fea9-ceec-4c9f-b335-6bc616f23891@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:xVYEQyAjqNKG0GOWm2q5Z5g8TXhRKEtlE3UVO0GfOa3EB2vijhZ
 pRfeWeNaPxx0uRHw9CJCHLu1Khi/6XyfyI2EJVOeG3Wa+fHe+ThA/4x9eLHa/zC5uKmdo/+
 67Bczrb246KrRwNrKaNzYxHEmMa8NrSY6ObggvQZWSBI6wTkwh7Fpa9ydSAdB7N4CtDKO7R
 Kn993/ILjYl+Vh8COhHGQ==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:tYWg54BzlV8=;A56DGaeiBOzHwb8coaXGp+28rM0
 dtX/Zhgi/Wbw0w3uYo/9cZqYOT0EGQK0rFzJzPXIjCLBFmGrgYKyfz5nzIeeNfoyCCUzUH/4o
 WUTT6m/yPzGNW1l3d0RIEWRP2XUdwRsgwCIxAbbW9t8yGmIGfHi4iVf7d4/HTDwJYTbJb0Hmr
 ShdNdSB7XjSY6uoOGZGE/+/JjD5ftOSh9jG6bzRuQ1bKjum39Wcr7phYXLwp2ddgOWuv5rPkX
 Viwzg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y5tmUCZfhQ7idjFeSNnnbQG
 IcYutmI6mYuI78i56mZUhuVeeNs2fPWPC2jbxTirwGdqaRawS9PF+iVRlbyq97Wbm4VGHL6s5
 IDLDiuaOT6OLFa+KhEDu2JZp9j4bNx/14q8cK0MW/fiRTSNjpkdFri1FetRfYLm5kaAbgGiq6
 Lxd9KDA==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

 >  > So, are you thinking you'll install the 'force patch?

Installed on master now.

Thanks, martin




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 19 Feb 2025 11:12:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 19 06:12:17 2025
Received: from localhost ([127.0.0.1]:43576 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tki01-0001T2-3O
	for submit <at> debbugs.gnu.org; Wed, 19 Feb 2025 06:12:17 -0500
Received: from mout.gmx.net ([212.227.15.19]:43589)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rudalics@HIDDEN>) id 1tkhzx-0001Rx-1E
 for 76275 <at> debbugs.gnu.org; Wed, 19 Feb 2025 06:12:14 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at;
 s=s31663417; t=1739963526; x=1740568326; i=rudalics@HIDDEN;
 bh=0899PSZ1DCKtqBCpJScmbW3YmkA/EMvEHGRQiKF9G3c=;
 h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc:
 References:From:In-Reply-To:Content-Type:
 Content-Transfer-Encoding:cc:content-transfer-encoding:
 content-type:date:from:message-id:mime-version:reply-to:subject:
 to;
 b=dEpjDbFG8pNlOf7t5b9JorSKKrdX8ugTrK5penld64eU4sGX9ufQCCQZtsbu/5NY
 HVuGDGgoAXYgqzib7fIfgoBt6W4YlDOsoEIyJqh8KEdqh07G29ulVW64NaubbfUIT
 /UUb81P046cm6q36p8BqlgMKb1zuQ2D8z5s4FvmOLIwuiSlzu02431TuPDDWKnWvL
 mFckt7iKZobpZ3CkxmVg7nWK15uAz0Es3iTbDuH3jrJp+ymC3A8x5fOVmP1JDckc8
 ugSIwpy9d38ZHLxu9Nv+Hj3bygPyI0370Fq8zEovnRPDOP8Jhz7T0rWTJOjiBWv2a
 fcusIKH8KuS76vsNvw==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.31.113] ([213.142.97.162]) by mail.gmx.net (mrgmx005
 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mv31W-1tT2aU1kP2-00yAEp; Wed, 19
 Feb 2025 12:12:06 +0100
Message-ID: <f360fea9-ceec-4c9f-b335-6bc616f23891@HIDDEN>
Date: Wed, 19 Feb 2025 12:12:05 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on recent
 master
To: Sean Whitton <spwhitton@HIDDEN>
References: <87tt8x5ho5.fsf@HIDDEN>
 <19d45259-a936-4783-b9b8-d3b97fd3d339@HIDDEN>
 <871pw056eo.fsf@HIDDEN>
 <189b7ade-865e-4aab-8a2d-fee25ab856f7@HIDDEN>
 <874j0tmkkq.fsf@HIDDEN>
 <df12480c-9619-4eed-a487-fdc2cbe0c017@HIDDEN>
 <874j0sixki.fsf@HIDDEN>
 <9d1dc4c7-e70d-477b-833c-c3a6827735df@HIDDEN>
 <87pljefrj9.fsf@HIDDEN>
 <cda776b7-c8f9-468b-88f2-b070a5752741@HIDDEN>
 <87ldu2feyf.fsf@HIDDEN>
 <a4872417-0840-4693-b458-be648adb6ea3@HIDDEN>
 <87jz9m1abq.fsf@HIDDEN>
Content-Language: en-US
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <87jz9m1abq.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:WQZ5RD151kCaNHBcGARSK0QKGPNnEIFLG6pG/Ho9N6AdY3LQ9LA
 QQlFDLXUIxcPcEiJ+a/CuWP2pDW9ej+FaBN9fV/vrvSkPSXIDY6x6AO82/8tC88fdo2L4YE
 RIPKrCEPTX7AoCIbQ64eb2O4EApyMNXQMjb41xIEpdAKRaUezZQTJacX2zXkEfB6vpCJRwN
 weCs8u896gcQ7vQwHCgTA==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:gffKkZoqAfo=;DSLbSKTIRL5Ckk+x1/u/r51mFKj
 DcsZ/e9Gm+Ynj8OAAo4lPErxdCDhv1Wk4m3XXBimLD2eApGitOEd64R5lXMlHgY1cyqWnMJ0W
 gYY8dSf6KZi1vpENwKZr5vl1htAbzANXU/JEngCeDBVsDcQ7C3m/RwDz5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4a6Hz90Nh
 +It1TSNtfoHY9dNagfTmf1VBXoUroSNaa/Hfu4L/gyTKCqU9wMpv5E0SAF0HtooxEWWoxKQrT
 cjBXOwNMZjdmFil64oBm0S0rs/1Fo+9zy30nckTw2/OavEVuTfrGPfrf2T5yXSY57HO1xa0U7
 C5EPFPjLj03dCcZOhv1Q4kUtMdfCaZnsiQ+ko5cigkVYgm1D7OGibb2d2qmnKky1eCFvQfQ30
 IQY1w9WY6+08nQwjPE+RaelbQjHI1KB91Nfy75MMwd0j+RuDPqkVR0+tXkOscMHh2iceBIHEQ
 GFFzk6g==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

 > So, are you thinking you'll install the 'force patch?

As soon as I know how to fix my commit settings, yes.

martin





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 19 Feb 2025 10:46:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 19 05:46:31 2025
Received: from localhost ([127.0.0.1]:43306 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tkhb4-0006sR-V2
	for submit <at> debbugs.gnu.org; Wed, 19 Feb 2025 05:46:31 -0500
Received: from sendmail.purelymail.com ([34.202.193.197]:42664)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>)
 id 1tkhb0-0006rM-Ge
 for 76275 <at> debbugs.gnu.org; Wed, 19 Feb 2025 05:46:28 -0500
DKIM-Signature: a=rsa-sha256;
 b=e6Wqvpitka6N37z5qwTG6CAeoREETGlj6tLxBjo2Qs8HA6+58Un1kB+Gkyc6UiSXDt3BRN7/RBmrqHfljcLfGZAUIBXaF8thkkv31TBsjq15olLIR4ZxO555fuKgPdSaW2EiP5NPRgZxXNSbi5bb+9FM8JJjfU7kxSVgoHJr43hyDuh7otIOnUa8MdnSIOyRdZoZaUj/kD0WIk0WeUOEt37551hF2biJg036HO1Bsi41yLUNzMaJ69oy/ffinTcEeu0FrT/BAmc9W7WV6hGWTPnt+KKkhRmjou1ibXM7UdAca6T+rp+rs1DWGn/zkhGkA2/lGilbDfIg1E2+OVuOhw==;
 s=purelymail1; d=spwhitton.name; v=1;
 bh=XcO05koCbTRU+keHlxUx7jAvJGvz1F3FfsJOMzpsatY=;
 h=Received:Received:From:To:Subject:Date; 
DKIM-Signature: a=rsa-sha256;
 b=TbKuGF/gbmO6ntVPALEr5sz0ZKHtRqzxUV+miN+WErOMTmzQzqcyz+2qYdbIBhQ+s8t7WVLFCJQ5KvQZJ02Qs3juR65pJQ9nlqGi2AFiuZWW9Bm0FZUPWoEc44pbUNmqIjLSTI+eMwOnEXVkXAqipatYG0fwxtA89UcBhAhga6KykwROPQ9PVCbgqqd9BvevuH+INMVBkMM9TJVlsprE8QBJ23zUVVmxswKd1J8L8ZSYIxra/EYHAc8+ECQLZ02IY1EX4u8xbh99+XsgLDwB5xr8h7WKu7DAQv5SM6ByFRL4Y0DaO0GjRONi5otqVVzw/4h5dkemsGg7hiHtdKbjeA==;
 s=purelymail1; d=purelymail.com; v=1;
 bh=XcO05koCbTRU+keHlxUx7jAvJGvz1F3FfsJOMzpsatY=;
 h=Feedback-ID:Received:Received:From:To:Subject:Date; 
Feedback-ID: 20115:3760:null:purelymail
X-Pm-Original-To: 76275 <at> debbugs.gnu.org
Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id -1655655590; 
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384);
 Wed, 19 Feb 2025 10:46:20 +0000 (UTC)
Received: by melete.silentflame.com (Postfix, from userid 1000)
 id 2F9F07EA68E; Wed, 19 Feb 2025 18:46:17 +0800 (CST)
From: Sean Whitton <spwhitton@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on
 recent master
In-Reply-To: <a4872417-0840-4693-b458-be648adb6ea3@HIDDEN> (martin rudalics
 via's message of "Wed, 19 Feb 2025 10:53:50 +0100")
References: <87tt8x5ho5.fsf@HIDDEN>
 <19d45259-a936-4783-b9b8-d3b97fd3d339@HIDDEN>
 <871pw056eo.fsf@HIDDEN>
 <189b7ade-865e-4aab-8a2d-fee25ab856f7@HIDDEN>
 <874j0tmkkq.fsf@HIDDEN>
 <df12480c-9619-4eed-a487-fdc2cbe0c017@HIDDEN>
 <874j0sixki.fsf@HIDDEN>
 <9d1dc4c7-e70d-477b-833c-c3a6827735df@HIDDEN>
 <87pljefrj9.fsf@HIDDEN>
 <cda776b7-c8f9-468b-88f2-b070a5752741@HIDDEN>
 <87ldu2feyf.fsf@HIDDEN>
 <a4872417-0840-4693-b458-be648adb6ea3@HIDDEN>
Date: Wed, 19 Feb 2025 18:46:17 +0800
Message-ID: <87jz9m1abq.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

On Wed 19 Feb 2025 at 10:53am +01, martin rudalics via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote:

>> Hmm, does changing the height of a face always count as changing the size?
>
> If implied resizing changes the frame's size it can.  Principally, you
> should not worry, especially if implied resizing is inhibited.  The
> caveat is here so people will double-check whether their code works as
> intended.  If it doesn't, the culprit might be in the wrong ordering of
> functions on those hooks.  This might impact window-old-.. functions
> values and those of 'old-selected-window' ...

Cool, thanks.

So, are you thinking you'll install the 'force patch?

-- 
Sean Whitton




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 19 Feb 2025 09:54:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 19 04:54:06 2025
Received: from localhost ([127.0.0.1]:42697 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tkgmM-0000gU-1O
	for submit <at> debbugs.gnu.org; Wed, 19 Feb 2025 04:54:06 -0500
Received: from mout.gmx.net ([212.227.17.20]:34593)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rudalics@HIDDEN>) id 1tkgmJ-0000fR-JT
 for 76275 <at> debbugs.gnu.org; Wed, 19 Feb 2025 04:54:04 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at;
 s=s31663417; t=1739958835; x=1740563635; i=rudalics@HIDDEN;
 bh=USqRlpLy1yI2N3j9Fg1bqrVfzsAyQx20TbxZSiN1k0I=;
 h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc:
 References:From:In-Reply-To:Content-Type:
 Content-Transfer-Encoding:cc:content-transfer-encoding:
 content-type:date:from:message-id:mime-version:reply-to:subject:
 to;
 b=SCgmmz2J2RsHcrYF/W2Vb4wGXdYPj+aAd16NDPYdgjOS4zmFpQCT9LMD6XtrVFKN
 fi5XaXmSeDC8gEFWsZLlWPLjJ9zgrHZNMWSFuZiitccxpBnagmfIpkC0fhXSTtQ+u
 aNVQrHEbEX8VQec46A2fWw4GJa8kkr9txO73uwHC553l2fkNpZvChUtpnN03utQgW
 u78/5nl5Bz6EGBC9xjQ8ChH2KdVyQF6PFqRTgF49f06cbrg/szYKlh4j16eEXt9QY
 C9zKGNB2nqfM4XWZjNI6IaGV4Hr3sG42x1gqR1yluc1kyXMzcMlTqF7C4CbOeSj95
 QCNBKh/Yn7VJHQyjUA==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.31.113] ([213.142.97.162]) by mail.gmx.net (mrgmx105
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MNKlu-1u0iHx1Saw-00TP6F; Wed, 19
 Feb 2025 10:53:55 +0100
Message-ID: <a4872417-0840-4693-b458-be648adb6ea3@HIDDEN>
Date: Wed, 19 Feb 2025 10:53:50 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on recent
 master
To: Sean Whitton <spwhitton@HIDDEN>
References: <87tt8x5ho5.fsf@HIDDEN>
 <19d45259-a936-4783-b9b8-d3b97fd3d339@HIDDEN>
 <871pw056eo.fsf@HIDDEN>
 <189b7ade-865e-4aab-8a2d-fee25ab856f7@HIDDEN>
 <874j0tmkkq.fsf@HIDDEN>
 <df12480c-9619-4eed-a487-fdc2cbe0c017@HIDDEN>
 <874j0sixki.fsf@HIDDEN>
 <9d1dc4c7-e70d-477b-833c-c3a6827735df@HIDDEN>
 <87pljefrj9.fsf@HIDDEN>
 <cda776b7-c8f9-468b-88f2-b070a5752741@HIDDEN>
 <87ldu2feyf.fsf@HIDDEN>
Content-Language: en-US
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <87ldu2feyf.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:hiw8eW2xP0rku92wO5kOWaS0u8wTHbOq3gsyhMYkXCIe/QHDxh4
 mDwlQ/3JyGXMCAb6iJt23l3+FcetnmItAzOhOULXv11wq6xzXgOBGp0KhfTT+LdzDjoBHXB
 PeszgMyd+BnfXmuHUwJcOX1m+QQAeg5ck0FQPH24r8mDzChaRkAO8n7ndIxrEtrVvpp7vb6
 fGp6VOSP3Rp6Mhht40XEA==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:kiIKLpPCh4g=;z22nsdth98EbAXkMF7cZBsNRQLL
 A+THE/YB7+7l+docbS6ONhhbUxzLXiK2sxNJJ69I04vnl6vEBJn1tAutt5HaIBvb0mDFVmTqr
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R1h4DPNLFevPcUYuF+pilDItUv+2ZfbVFy//YzfCIPiiW//kf3t
 4fj/Epz6O8Mt+nWCgriJUWpQPxnF/YxKiF/WBzAw8str89qPyq4FQHNeiMAp2Ztq2RcyVXgyp
 7lIvlcUNEM1mITQuRALavlU0EEIaXrnDmiph0837HWFzVkuOWIuIJMK21GZlDxRsAJ++XOVpZ
 ThIqnPNeAptItWImspsSnRhWImumivbnqMEqwgnneMPzruIkyVygAQBmEW3vp7+X0oqrAiLZl
 yPc2AtEX15nv7nRLP7Bs33RPUTaHv299XMI3mVf5a+2melvIkMKqbUt6DmEjkYJOI6aHIFjSX
 N80nOKw==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

 > Hmm, does changing the height of a face always count as changing the size?

If implied resizing changes the frame's size it can.  Principally, you
should not worry, especially if implied resizing is inhibited.  The
caveat is here so people will double-check whether their code works as
intended.  If it doesn't, the culprit might be in the wrong ordering of
functions on those hooks.  This might impact window-old-.. functions
values and those of 'old-selected-window' ...

martin




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 19 Feb 2025 09:42:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 19 04:42:51 2025
Received: from localhost ([127.0.0.1]:42587 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tkgbT-0007vH-AV
	for submit <at> debbugs.gnu.org; Wed, 19 Feb 2025 04:42:51 -0500
Received: from sendmail.purelymail.com ([34.202.193.197]:44760)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>)
 id 1tkgbN-0007ug-6m
 for 76275 <at> debbugs.gnu.org; Wed, 19 Feb 2025 04:42:49 -0500
DKIM-Signature: a=rsa-sha256;
 b=CUPo6yjvCbASp73CRAmqSSFTCP9bbIGG7I5I647NhlnYUlJ37GIxMFueDz43bKWV76bZMTyLIZ8sMoo9jD8xib5694Ds2lQi+UauWfjEypsxPmc28lDUFAT1CoQQhI3zAYF4isDmUlLlRdld2NIeOfVd17/brI9T5vajUaXmox+H+7qZXDrApjSt3957pHe/Hu9p3tTUjv3hGxMkqbzO8tHqoTgHNtLTnHjiSossTnvBF+8ZtdLGmuunYuTXLW2zZ84VheaSR4czEoP8+7p18F68pAESoMMFpY7pWPlY1n1OYM4fFFGSF1bMEzLcsKyNx5eDLc+/kFOnStE9plc3zg==;
 s=purelymail1; d=spwhitton.name; v=1;
 bh=iOeB81nAPS2stZSEbdZRQa6ijU1xCJlAET2xDco/sdE=;
 h=Received:Received:From:To:Subject:Date; 
DKIM-Signature: a=rsa-sha256;
 b=bNgE0df3cyIz7pMj//A3gh4homJnxpv3fhfwQ1ZRcfMz4y0LV4bu8eamDRzVuCmkEzjK0NVZZsz++ChWlLqBJE5ZqaWNZpu+qk5mx9/0QeWgvixAlQpGxzsF6IihQQgp9dzN8SxFiRB5LnwQYketKrMkNLEYGzPUWq3BfVCuZZcLPcx3YW9DxSsVRPWsjR0EIEFGIa0ZGXETqVT9gYO9eCBdZxe7aYgTvoMgEUFVuzG14E/FCyhUILPhC9/U9C6+ckK41S+m5L1lUzgt1IOdAgHeTvSD4W+Us1QiA+JdtuDQUwjtGO+JQh5wgvO2226ci+NdYWa1zWQmu2nIXALZiw==;
 s=purelymail1; d=purelymail.com; v=1;
 bh=iOeB81nAPS2stZSEbdZRQa6ijU1xCJlAET2xDco/sdE=;
 h=Feedback-ID:Received:Received:From:To:Subject:Date; 
Feedback-ID: 20115:3760:null:purelymail
X-Pm-Original-To: 76275 <at> debbugs.gnu.org
Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 1884185068; 
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384);
 Wed, 19 Feb 2025 09:42:36 +0000 (UTC)
Received: by melete.silentflame.com (Postfix, from userid 1000)
 id 7DA467EAE8A; Wed, 19 Feb 2025 17:42:32 +0800 (CST)
From: Sean Whitton <spwhitton@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on
 recent master
In-Reply-To: <cda776b7-c8f9-468b-88f2-b070a5752741@HIDDEN> (martin rudalics
 via's message of "Wed, 19 Feb 2025 10:19:34 +0100")
References: <87tt8x5ho5.fsf@HIDDEN>
 <19d45259-a936-4783-b9b8-d3b97fd3d339@HIDDEN>
 <871pw056eo.fsf@HIDDEN>
 <189b7ade-865e-4aab-8a2d-fee25ab856f7@HIDDEN>
 <874j0tmkkq.fsf@HIDDEN>
 <df12480c-9619-4eed-a487-fdc2cbe0c017@HIDDEN>
 <874j0sixki.fsf@HIDDEN>
 <9d1dc4c7-e70d-477b-833c-c3a6827735df@HIDDEN>
 <87pljefrj9.fsf@HIDDEN>
 <cda776b7-c8f9-468b-88f2-b070a5752741@HIDDEN>
Date: Wed, 19 Feb 2025 17:42:32 +0800
Message-ID: <87ldu2feyf.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

On Wed 19 Feb 2025 at 10:19am +01, martin rudalics via "Bug reports for GNU=
 Emacs, the Swiss army knife of text editors" wrote:

>> Actually, your patch is even better than that.
>> The following works as expected, now:
> [...]
>> The reason that this is better for me is that my spw/scale-default is
>> just a dummy reproducer.  My actual window-size-change-functions entry
>> is more complicated, and long predates spw/sway-completing-read.
>> I've included it at the bottom of this message
>
> Note one caveat from the Elisp manual:
>
>    =E2=80=A2 Window change functions should not create or delete windows =
or
>      change the buffer, size or selection status of any window because
>      there is no guarantee that the information about such a change will
>      be propagated to other window change functions.  If at all, any
>      such change should be executed only by the last function listed by
>      the default value of =E2=80=98window-state-change-hook=E2=80=99.

Hmm, does changing the height of a face always count as changing the size?

>> It would be okay if I just had to call my window-size-change-functions
>> entry from spw/sway-completing-read.  I am not myself in a position to
>> judge whether having a `force' entry makes sense.  If you think it does,
>> then that's fine.
>
> So IIUC installing the 'force' entry fixes your bug.  Right?

Yes.

--=20
Sean Whitton




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 19 Feb 2025 09:20:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 19 04:20:06 2025
Received: from localhost ([127.0.0.1]:42320 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tkgFQ-0005HG-Uh
	for submit <at> debbugs.gnu.org; Wed, 19 Feb 2025 04:20:05 -0500
Received: from mout.gmx.net ([212.227.17.20]:51565)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rudalics@HIDDEN>) id 1tkgFN-0005Fo-Hl
 for 76275 <at> debbugs.gnu.org; Wed, 19 Feb 2025 04:20:03 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at;
 s=s31663417; t=1739956789; x=1740561589; i=rudalics@HIDDEN;
 bh=UMeBBHIwNg4dlAwuzm3Mw1NYjKo2tF/yB/Jt9kM4rxA=;
 h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc:
 References:From:In-Reply-To:Content-Type:
 Content-Transfer-Encoding:cc:content-transfer-encoding:
 content-type:date:from:message-id:mime-version:reply-to:subject:
 to;
 b=N4qG+YdQ37slsLpNkZPoOgw8th9PSFNvQuNCCxJYrDlEMwho8A4kYeBmFGJcrkUx
 0othDRJzszNt+TZb3bBt4lvIxS8v3AfoGt+xHMWEu8oXBSk1kkmXzP/yl2LnjANCS
 vRDKgSsoeBIaMEJMkqORWBpxXDLMuJ4Y3WNg/cFzqRVxMuenHb/R/9ODwwVxa763/
 THFD2kaWUxhFJWvYUR/Kfc+lH3hTlv4KfeEwmUAbMB2C8EDd+t+1q7UT/opMmhH8o
 me60aKDZodAhrGJKSBHLQfsw0Vj6TRdGELdecT+3RMVFtZbVEczqbdWuObQM0CVU+
 JYM6BUAxCqJSE7gwRg==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.31.113] ([212.95.5.23]) by mail.gmx.net (mrgmx105
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MnakX-1t18sR2abl-00ezrx; Wed, 19
 Feb 2025 10:19:49 +0100
Message-ID: <cda776b7-c8f9-468b-88f2-b070a5752741@HIDDEN>
Date: Wed, 19 Feb 2025 10:19:34 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on recent
 master
To: Sean Whitton <spwhitton@HIDDEN>
References: <87tt8x5ho5.fsf@HIDDEN>
 <19d45259-a936-4783-b9b8-d3b97fd3d339@HIDDEN>
 <871pw056eo.fsf@HIDDEN>
 <189b7ade-865e-4aab-8a2d-fee25ab856f7@HIDDEN>
 <874j0tmkkq.fsf@HIDDEN>
 <df12480c-9619-4eed-a487-fdc2cbe0c017@HIDDEN>
 <874j0sixki.fsf@HIDDEN>
 <9d1dc4c7-e70d-477b-833c-c3a6827735df@HIDDEN>
 <87pljefrj9.fsf@HIDDEN>
Content-Language: en-US
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <87pljefrj9.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
X-Provags-ID: V03:K1:CPEo8mLJPuyloKq2WrNASucEMpcG+d4EXNM1q3ABMz71uNJWepn
 crlizQBPoJTF0J4tnzfcbaDwxKtapjSYZpNf9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6P8o06w8dd4jsOhVnd6fc43ZegqAM0WJGy
 +f3V/xfoDfnwtGg/Em5DJw45/HVgI5mQ/JCvxL6U9rxIm6DftW+FAm+1HP8XGb+C8m8ZdUVQc
 /sFYvEZ4qGQHX5lZtQ6sYQV/Q4nhZzHtDq6i5icvizwOoTCTLS3CYluByoI32d2hESiMC2KpQ
 RzdTxy7s0NzEEXkahhdB6A3bs/yhGLY2uLVtcgfwDuWhZFmtQhhRNKq6K1AlHfQPv2BIfZuPg
 7TkmI2ij80a5Mn2gG8b6sa4C7s7deZKbAzbc99v34xeluISlDkdFRTqpVMXGP6LDB1+AyyZ0w
 dL0h63rG+dk8ACF0xnVHu7+HkVdW2n5f2UrZHzqJeuXVDNrU9+okoLdV2tG926Wj93xzTpnIu
 df36w+gzbdn5GvqAM/LGddIngHUzRskIhTCrAlDOGuqbt5Dx+5Y28Z3BqDHwoECkuD8+rhWOl
 214hMXDp9+D3lT7bCxBe4qX10s9FI1LF/wO+MWovUCToSmOT/ea4HOdFePDXQTrcgIIOZG+OD
 zzLYird3PW3xTIOLWyIosBUkMUrSsnq6NPI3ViSK9+uXQ+40sh0QNag5gdFFDTkjfoLcAnjRe
 xkz2mOW1F/ys0x36SEwnr1dkmAyA=
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

ID4gQWN0dWFsbHksIHlvdXIgcGF0Y2ggaXMgZXZlbiBiZXR0ZXIgdGhhbiB0aGF0Lg0KID4g
VGhlIGZvbGxvd2luZyB3b3JrcyBhcyBleHBlY3RlZCwgbm93Og0KWy4uLl0NCiA+IFRoZSBy
ZWFzb24gdGhhdCB0aGlzIGlzIGJldHRlciBmb3IgbWUgaXMgdGhhdCBteSBzcHcvc2NhbGUt
ZGVmYXVsdCBpcw0KID4ganVzdCBhIGR1bW15IHJlcHJvZHVjZXIuICBNeSBhY3R1YWwgd2lu
ZG93LXNpemUtY2hhbmdlLWZ1bmN0aW9ucyBlbnRyeQ0KID4gaXMgbW9yZSBjb21wbGljYXRl
ZCwgYW5kIGxvbmcgcHJlZGF0ZXMgc3B3L3N3YXktY29tcGxldGluZy1yZWFkLg0KID4gSSd2
ZSBpbmNsdWRlZCBpdCBhdCB0aGUgYm90dG9tIG9mIHRoaXMgbWVzc2FnZQ0KDQpOb3RlIG9u
ZSBjYXZlYXQgZnJvbSB0aGUgRWxpc3AgbWFudWFsOg0KDQogICAg4oCiIFdpbmRvdyBjaGFu
Z2UgZnVuY3Rpb25zIHNob3VsZCBub3QgY3JlYXRlIG9yIGRlbGV0ZSB3aW5kb3dzIG9yDQog
ICAgICBjaGFuZ2UgdGhlIGJ1ZmZlciwgc2l6ZSBvciBzZWxlY3Rpb24gc3RhdHVzIG9mIGFu
eSB3aW5kb3cgYmVjYXVzZQ0KICAgICAgdGhlcmUgaXMgbm8gZ3VhcmFudGVlIHRoYXQgdGhl
IGluZm9ybWF0aW9uIGFib3V0IHN1Y2ggYSBjaGFuZ2Ugd2lsbA0KICAgICAgYmUgcHJvcGFn
YXRlZCB0byBvdGhlciB3aW5kb3cgY2hhbmdlIGZ1bmN0aW9ucy4gIElmIGF0IGFsbCwgYW55
DQogICAgICBzdWNoIGNoYW5nZSBzaG91bGQgYmUgZXhlY3V0ZWQgb25seSBieSB0aGUgbGFz
dCBmdW5jdGlvbiBsaXN0ZWQgYnkNCiAgICAgIHRoZSBkZWZhdWx0IHZhbHVlIG9mIOKAmHdp
bmRvdy1zdGF0ZS1jaGFuZ2UtaG9va+KAmS4NCg0KID4gSXQgd291bGQgYmUgb2theSBpZiBJ
IGp1c3QgaGFkIHRvIGNhbGwgbXkgd2luZG93LXNpemUtY2hhbmdlLWZ1bmN0aW9ucw0KID4g
ZW50cnkgZnJvbSBzcHcvc3dheS1jb21wbGV0aW5nLXJlYWQuICBJIGFtIG5vdCBteXNlbGYg
aW4gYSBwb3NpdGlvbiB0bw0KID4ganVkZ2Ugd2hldGhlciBoYXZpbmcgYSBgZm9yY2UnIGVu
dHJ5IG1ha2VzIHNlbnNlLiAgSWYgeW91IHRoaW5rIGl0IGRvZXMsDQogPiB0aGVuIHRoYXQn
cyBmaW5lLg0KDQpTbyBJSVVDIGluc3RhbGxpbmcgdGhlICdmb3JjZScgZW50cnkgZml4ZXMg
eW91ciBidWcuICBSaWdodD8NCg0KID4+IFJpZ2h0LiAgSSBtZWFudCB0aGUgZnVuY3Rpb24g
ZnJhbWVfaW5oaWJpdF9yZXNpemUuDQogPg0KID4gQWguICBEbyB5b3Ugc3RpbGwgd2FudCBt
ZSB0byBkbyBhbnkgdGVzdGluZyB3aXRoIHRoYXQ/DQoNCk5vLg0KDQpUaGFua3MsIG1hcnRp
bg0K




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 19 Feb 2025 05:11:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 19 00:11:03 2025
Received: from localhost ([127.0.0.1]:39619 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tkcMR-0003xN-79
	for submit <at> debbugs.gnu.org; Wed, 19 Feb 2025 00:11:03 -0500
Received: from sendmail.purelymail.com ([34.202.193.197]:56724)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>)
 id 1tkcMN-0003vz-Pj
 for 76275 <at> debbugs.gnu.org; Wed, 19 Feb 2025 00:11:01 -0500
DKIM-Signature: a=rsa-sha256;
 b=OMgiW2uWBIZ99Zt8mWRbtgBVO21kU+ns3kFqwRYqi6Cga8CRng4sPYCDkLtoksBqjCnA2LUwkGOAvg3xAdVfbONZe6G8GZGVuMbTpOsH4X5BT1tbBpuGEysCEKQBXzB3W6lU+JcruI/5gKkPeu1bLY/pYBt5oVF2HYTcWz8lAu6UXSADNZ9nIplBUuOf6XZmF5cl3sWrm5Cyg/o5Ex1/dDkVbuAkAhWGiMTa0g7+0y5CVBO3ISGTrUIQuURTsB3m8n3TAw8eY+BKv0cjlZyAn5rfSmmD92L1b63hsrqv79R+k7c6jdLXRwAFBfaEgbzoKWsTSYN/Myn5i79OR35/cw==;
 s=purelymail1; d=spwhitton.name; v=1;
 bh=LGuEk0naJEDAmActW+xOaGO+KY889wUftGEOPDwUn+k=;
 h=Received:Received:From:To:Subject:Date; 
DKIM-Signature: a=rsa-sha256;
 b=BfIFLTW4HFUl6xuKYvQ4Xh6j91uE+X/eFv3OGhtlr3BL76EfDscs83bbE3yy05UnK1m/pwPGT+Hsi+g2ipfg3iWqZwMd461v1c77/Xya5tcrZ+RfQZyZbXoGL1xk4iQ0eWeYkZgqOIs2By4X53dwi2YckRjATnekkRcViF/yeSs04mVXAXuuMT4AiJtr0UhpfPzvevjkV6zEk4ctaLGqPNuZdv9lk38p3SmtWEqmzgGZZvOMmZZVX8+TLIx5ipoT6j6d/RplKbJduj932utVPk7k7u5GmDrNHUs2deBtY7nxIX2p659f4iubJaLxYo8AvsY7vQZ0BzWiJUve6D8BQA==;
 s=purelymail1; d=purelymail.com; v=1;
 bh=LGuEk0naJEDAmActW+xOaGO+KY889wUftGEOPDwUn+k=;
 h=Feedback-ID:Received:Received:From:To:Subject:Date; 
Feedback-ID: 20115:3760:null:purelymail
X-Pm-Original-To: 76275 <at> debbugs.gnu.org
Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 1001665102; 
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384);
 Wed, 19 Feb 2025 05:10:53 +0000 (UTC)
Received: by melete.silentflame.com (Postfix, from userid 1000)
 id B51E07EAED5; Wed, 19 Feb 2025 13:10:50 +0800 (CST)
From: Sean Whitton <spwhitton@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on
 recent master
In-Reply-To: <9d1dc4c7-e70d-477b-833c-c3a6827735df@HIDDEN> (martin rudalics
 via's message of "Tue, 18 Feb 2025 11:08:38 +0100")
References: <87tt8x5ho5.fsf@HIDDEN>
 <19d45259-a936-4783-b9b8-d3b97fd3d339@HIDDEN>
 <871pw056eo.fsf@HIDDEN>
 <189b7ade-865e-4aab-8a2d-fee25ab856f7@HIDDEN>
 <874j0tmkkq.fsf@HIDDEN>
 <df12480c-9619-4eed-a487-fdc2cbe0c017@HIDDEN>
 <874j0sixki.fsf@HIDDEN>
 <9d1dc4c7-e70d-477b-833c-c3a6827735df@HIDDEN>
Date: Wed, 19 Feb 2025 13:10:50 +0800
Message-ID: <87pljefrj9.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

On Tue 18 Feb 2025 at 11:08am +01, martin rudalics wrote:

> OTOH, one reason for implementing 'frame-inhibit-implied-resize' was
> to make using Emacs with tiling WMs simpler.  Hence instead of all the
> tribulations with running spw/scale-default from
> 'window-size-change-functions' we should be able to find a better
> solution.
>
> With the patch attached would
>
> (defun spw/sway-completing-read (prompt collection &rest optional-args)
>   (let* ((frame-inhibit-implied-resize 'force)
> 	 (frame (make-frame `((title . "Emacs Sway input")
> 			      (minibuffer . only)
> 			      (display . ,(getenv "WAYLAND_DISPLAY"))))))
>
>     (set-face-attribute 'default frame :height 120)
>
>     (unwind-protect
> 	(with-selected-frame frame
> 	  (set-window-scroll-bars (minibuffer-window frame) 0 nil 0 nil t)
> 	  (apply #'completing-read prompt collection optional-args))
>       (delete-frame frame))))
>
> do what you want?

Actually, your patch is even better than that.
The following works as expected, now:

--8<---------------cut here---------------start------------->8---
(defun spw/scale-default (frame)
  (set-face-attribute 'default frame :height 120))
(add-to-list 'window-size-change-functions #'spw/scale-default)

(defun spw/sway-completing-read (prompt collection &rest optional-args)
  (let* ((frame-inhibit-implied-resize 'force)
	 (frame (make-frame `((title . "Emacs Sway input")
			      (minibuffer . only)
			      (display . ,(getenv "WAYLAND_DISPLAY"))))))
    (with-selected-frame frame
      (apply #'completing-read prompt collection optional-args))))
--8<---------------cut here---------------end--------------->8---

The reason that this is better for me is that my spw/scale-default is
just a dummy reproducer.  My actual window-size-change-functions entry
is more complicated, and long predates spw/sway-completing-read.
I've included it at the bottom of this message

My point is: I am not trying to use window-size-change-functions to work
around anything.  It's just that this value for
window-size-change-functions I alrady have stopped working properly in
the case of spw/sway-completing-read, recently.

It would be okay if I just had to call my window-size-change-functions
entry from spw/sway-completing-read.  I am not myself in a position to
judge whether having a `force' entry makes sense.  If you think it does,
then that's fine.

>> I'm not sure what you mean "while the function with the same name
>> returned false" -- there isn't a function called
>> frame_inhibit_implied_resize, I think?
>
> Right.  I meant the function frame_inhibit_resize.

Ah.  Do you still want me to do any testing with that?

=*=*=*=

--8<---------------cut here---------------start------------->8---
(custom-theme-set-faces
 'user
 '(default ((t (:weight medium :height 105 :foundry "SRC" :family "Hack"))))
 '(variable-pitch ((t (:weight regular :height 120
		       :foundry "bitstream" :family "Bitstream Charter")))))

(defun spw/maybe-scale-basic-faces (frame)
  "Entry for `window-size-change-functions' to increase font sizes,
relative to those set by the call to `custom-theme-set-faces' above, for
frames on wide monitors, except where doing so would itself prevent fitting
two 80-column windows side-by-side in the frame."
  (when (display-graphic-p frame)
    (let ((wide-monitor-p (> (cadddr (assoc 'geometry
					    (frame-monitor-attributes frame)))
			     1635)))
      (when (or wide-monitor-p
		;; Check whether a previous call made any changes we might
		;; need to undo if FRAME has moved to a smaller display.
		(not (eq scroll-bar-mode
			 (frame-parameter frame 'vertical-scroll-bars)))
		(= (face-attribute 'default :height frame) 120)
		(= (face-attribute 'variable-pitch :height frame) 151))
	(let* ;; Above 1635 you can scale up and still fit two 80-col windows.
	      ;; Below 1315 you can't fit the two windows even w/o scaling up.
	      ((medium-p (> 1635 (frame-pixel-width frame) 1315))
	       (scale-up-p (and wide-monitor-p (not medium-p))))
	  (modify-frame-parameters
	   frame
	   `(;; Can fit two 80-col windows only if we disable scroll bars.
	     (vertical-scroll-bars . ,(and (not (and wide-monitor-p medium-p))
					   scroll-bar-mode))))
	  ;; Check Emacs found the relevant font on this window system, else
	  ;; our height values might be invalid.
	  (when (find-font (font-spec :foundry "SRC" :family "Hack") frame)
	    (set-face-attribute 'default frame
				:height (if scale-up-p 120 105)))
	  (when (find-font (font-spec :foundry "bitstream"
				      :family "Bitstream Charter")
			   frame)
	    (set-face-attribute 'variable-pitch frame
				:height (if scale-up-p 151 120))))))))

(add-to-list 'window-size-change-functions #'spw/maybe-scale-basic-faces)
--8<---------------cut here---------------end--------------->8---

-- 
Sean Whitton




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 18 Feb 2025 10:09:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 18 05:09:01 2025
Received: from localhost ([127.0.0.1]:54948 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tkKXE-0005Lh-Fi
	for submit <at> debbugs.gnu.org; Tue, 18 Feb 2025 05:09:01 -0500
Received: from mout.gmx.net ([212.227.15.18]:57071)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rudalics@HIDDEN>) id 1tkKX9-0005Kk-LY
 for 76275 <at> debbugs.gnu.org; Tue, 18 Feb 2025 05:08:58 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at;
 s=s31663417; t=1739873320; x=1740478120; i=rudalics@HIDDEN;
 bh=ZdVBmnGN7X171CfwVP0mfXPUOWJX/cv6DqQ5FYRZcYg=;
 h=X-UI-Sender-Class:Content-Type:Message-ID:Date:MIME-Version:
 Subject:To:Cc:References:From:In-Reply-To:cc:
 content-transfer-encoding:content-type:date:from:message-id:
 mime-version:reply-to:subject:to;
 b=ljprHt+zM6bEH314h4llDZe5EiG4lzbBgLJVwoeJ/YSTgBk05NvJSB5LUocAiWXj
 z/q8KFNiewqUOvGcO2uK/a9vzSLt8mY4k5e5DjY4RnbwJidb8o3YcL3EdmiucAvd0
 hA5Gemt5wIIiosyfK5TcbSzV5R/4ZZ05jFp+Qv2eqAamV7PU12PSf2nkWTRSUugZT
 j3uxv27/jagwVJOXZ3+JB5X9w074AZAKXC5YXitaFTjiDYUWgakevT+viGKI/ytVE
 JXzQE7XGI/eaP/bIDYHJu5Ta9CnGYmpMAkB5U5qzr/rPGtpKUNPADchWwFUFyij6Y
 fj1fW2buNAZFacBkxA==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.31.113] ([212.95.5.30]) by mail.gmx.net (mrgmx004
 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MeU0k-1tAAMd49xs-00e7Pp; Tue, 18
 Feb 2025 11:08:40 +0100
Content-Type: multipart/mixed; boundary="------------PBwOdH0CqmEA6TXeaf7vroKk"
Message-ID: <9d1dc4c7-e70d-477b-833c-c3a6827735df@HIDDEN>
Date: Tue, 18 Feb 2025 11:08:38 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on recent
 master
To: Sean Whitton <spwhitton@HIDDEN>
References: <87tt8x5ho5.fsf@HIDDEN>
 <19d45259-a936-4783-b9b8-d3b97fd3d339@HIDDEN>
 <871pw056eo.fsf@HIDDEN>
 <189b7ade-865e-4aab-8a2d-fee25ab856f7@HIDDEN>
 <874j0tmkkq.fsf@HIDDEN>
 <df12480c-9619-4eed-a487-fdc2cbe0c017@HIDDEN>
 <874j0sixki.fsf@HIDDEN>
Content-Language: en-US
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <874j0sixki.fsf@HIDDEN>
X-Provags-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7rHcAxoKhVa/WxbhS0pDYla6Cz8BMlmjsilWBJ3ousPUg3Q//IReSn/
 4ge9ROMFnp4mblWzNZzDjs5/kLAFiCqBpJV22AjZnNaiDnr+CBI4kA9Bz2APis4xsjqztHbej
 z+YOqj131CDHCoz8ibusL5XK4a6MOBNjKkgf7Tptzz89nSPLrg+EwE2lJKnMpyEhMk7zrvGAy
 FAjyYD/4q7rVJqpZHWcL0YtEhg1mqYWsXe2wdGMkZI3j6G5t+Xwkugtr22QerkrheWUpbzBvj
 A2CHCROv+FgymbxL6lZmhbrStkjmDrhqsPML5FixPSgLk8Lla0xJxEthDxJkh2wn9lqyQ4j2t
 wvL2cgWCIFhOzNjfCjpQQ/pepEJ/HhlRA9e1ENG79xtNCEzbuu5U9G8MHyZXvPo2wz3OUKmCd
 xTaDA+uQ32ltWQiKhkHyHSZgAd0ha1TScSxYYONCUMI/KMXF8l6YPL9HGDkbbumw/wUFVvdSY
 lsVgO7Ro8pNXA0qN0LVTHWsvVzu43/dPyuiU7puQ6ZXOfzTGcpwktOh/F38xRy0QSjCxf083P
 rhZc6dWaWtyib37S3X0AO7T7rhad99/MDMu7i+Fo5mKjSZV66NbYGSP3//bSoo93A3jfrr9mx
 96qXcH0Otba2/g3s/RyyQts3WYqKsBAK4hPR5byslbFo2I+ZUQwgAIDBsCg6eXmfi5PyFIIlr
 Slzx1zQ==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

This is a multi-part message in MIME format.
--------------PBwOdH0CqmEA6TXeaf7vroKk
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

 > It does fix the resizing problem.  However, now my entry in
 > window-size-change-functions doesn't run at all, and so the font size in
 > the new frame is wrong.
 >
 > I'm not sure whether this is a bug, but it might count as a change that
 > should be called out in NEWS?  window-size-change-functions is no longer
 > guaranteed to be called when frames are simply created.

The reason why I have to delay applying 'frame-inhibit-implied-resize'
in "normal" use is that people want the number of lines and columns
shown by the window manager when they drag frame borders with the mouse
match exactly the values specified in 'initial-frame-alist'.  OTOH, one
reason for implementing 'frame-inhibit-implied-resize' was to make using
Emacs with tiling WMs simpler.  Hence instead of all the tribulations
with running spw/scale-default from 'window-size-change-functions' we
should be able to find a better solution.

With the patch attached would

(defun spw/sway-completing-read (prompt collection &rest optional-args)
   (let* ((frame-inhibit-implied-resize 'force)
	 (frame (make-frame `((title . "Emacs Sway input")
			      (minibuffer . only)
			      (display . ,(getenv "WAYLAND_DISPLAY"))))))

     (set-face-attribute 'default frame :height 120)

     (unwind-protect
	(with-selected-frame frame
	  (set-window-scroll-bars (minibuffer-window frame) 0 nil 0 nil t)
	  (apply #'completing-read prompt collection optional-args))
       (delete-frame frame))))

do what you want?

 > I'm not sure what you mean "while the function with the same name
 > returned false" -- there isn't a function called
 > frame_inhibit_implied_resize, I think?

Right.  I meant the function frame_inhibit_resize.

martin
--------------PBwOdH0CqmEA6TXeaf7vroKk
Content-Type: text/x-patch; charset=UTF-8;
 name="frame-inhibit-implied-resize-force.diff"
Content-Disposition: attachment;
 filename="frame-inhibit-implied-resize-force.diff"
Content-Transfer-Encoding: base64

ZGlmZiAtLWdpdCBhL2xpc3AvY3VzLXN0YXJ0LmVsIGIvbGlzcC9jdXMtc3RhcnQuZWwKaW5k
ZXggNWQzNWVkZDIxMmIuLjYzN2Y5YzkyZmNkIDEwMDY0NAotLS0gYS9saXNwL2N1cy1zdGFy
dC5lbAorKysgYi9saXNwL2N1cy1zdGFydC5lbApAQCAtMzQ3LDYgKzM0Nyw3IEBAIG1pbmli
dWZmZXItcHJvbXB0LXByb3BlcnRpZXMtLXNldHRlcgogCQkJCQkgICAoY2hvaWNlCiAJCQkJ
CSAgICAoY29uc3QgOnRhZyAiTmV2ZXIiIG5pbCkKIAkJCQkJICAgIChjb25zdCA6dGFnICJB
bHdheXMiIHQpCisJCQkJCSAgICAoY29uc3QgOnRhZyAiRm9yY2UiIGZvcmNlKQogCQkJCQkg
ICAgKHJlcGVhdCAoc3ltYm9sIDp0YWcgIlBhcmFtZXRlciIpKSkKIAkJCQkJICAgIjI3LjEi
KQogCSAgICAgKGljb25pZnktY2hpbGQtZnJhbWUgZnJhbWVzCmRpZmYgLS1naXQgYS9zcmMv
ZnJhbWUuYyBiL3NyYy9mcmFtZS5jCmluZGV4IDJjY2RlYzZmYzQxLi5lNWIyNTFjYjJjNSAx
MDA2NDQKLS0tIGEvc3JjL2ZyYW1lLmMKKysrIGIvc3JjL2ZyYW1lLmMKQEAgLTE4MSwxOCAr
MTgxLDE5IEBAIGZyYW1lX2luaGliaXRfcmVzaXplIChzdHJ1Y3QgZnJhbWUgKmYsIGJvb2wg
aG9yaXpvbnRhbCwgTGlzcF9PYmplY3QgcGFyYW1ldGVyKQogewogICBMaXNwX09iamVjdCBm
dWxsc2NyZWVuID0gZ2V0X2ZyYW1lX3BhcmFtIChmLCBRZnVsbHNjcmVlbik7CiAKLSAgcmV0
dXJuIChmLT5hZnRlcl9tYWtlX2ZyYW1lCisgIHJldHVyb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bnRhbAorCQkgICAgICAmJiAhTklMUCAoZnVs
bHNjcmVlbikgJiYgIUVRIChmdWxsc2NyZWVuLCBRZnVsbHdpZHRoKSkKKwkJICB8fCBGUkFN
RV9URVJNQ0FQX1AgKGYpIHx8IEZSQU1FX01TRE9TX1AgKGYpKSkpOwogfQogCiAKQEAgLTY4
NDksNiArNjg1MCw3IEBAIHN5bXNfb2ZfZnJhbWUgKHZvaWQpCiAgIERFRlNZTSAoUW1ha2Vf
aW52aXNpYmxlLCAibWFrZS1pbnZpc2libGUiKTsKICAgREVGU1lNIChRdXNlX2ZyYW1lX3N5
bmNocm9uaXphdGlvbiwgInVzZS1mcmFtZS1zeW5jaHJvbml6YXRpb24iKTsKICAgREVGU1lN
IChRZm9udF9wYXJhbWV0ZXIsICJmb250LXBhcmFtZXRlciIpOworICBERUZTWU0gKFFmb3Jj
ZSwgImZvcmNlIik7CiAKICAgZm9yIChpbnQgaSA9IDA7IGkgPCBBUlJBWUVMVFMgKGZyYW1l
X3Bhcm1zKTsgaSsrKQogICAgIHsK

--------------PBwOdH0CqmEA6TXeaf7vroKk--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 17 Feb 2025 12:07:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 17 07:07:56 2025
Received: from localhost ([127.0.0.1]:44104 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tjzum-0003QJ-Cg
	for submit <at> debbugs.gnu.org; Mon, 17 Feb 2025 07:07:56 -0500
Received: from sendmail.purelymail.com ([34.202.193.197]:44004)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>)
 id 1tjzuj-0003Pk-Cm
 for 76275 <at> debbugs.gnu.org; Mon, 17 Feb 2025 07:07:54 -0500
DKIM-Signature: a=rsa-sha256;
 b=jhCGERrRML8U97x0mxzsI0+koHrk7Z+egIFJqzjUuNS+LRCLAt//BoBiBTWkbNrZQwWoJQLKhVThqx+RPBWgDDORbTuDs/C7pOemT+MhU97yjYUPZdsUPPHLk8B4w5uPmJBW69Osp04pyMDgjLMSUFBPmOWLGBSx0VhiU96zKPhLHYTBN6IhA/QD/3AaqlZCoRk4+ZyDMd9O/sqgZ3R6Jq9VLiyyhkO1UD/o3+iqogeM5oxu5kg8sq0q1dQ0TCp+7eotVlq049XPgTNKlfIsTjVKBoOCGQFFI8gaEwGcH9Bdhj6/I8jZeRxgW403Kcimga7mBHZ1ne6Oo6Uu6Sffzw==;
 s=purelymail3; d=spwhitton.name; v=1;
 bh=+oFqkdjpS8HlpzPSDB8gu5etgkYbBomjaqO2Pt2RL5c=;
 h=Received:Received:From:To:Subject:Date; 
DKIM-Signature: a=rsa-sha256;
 b=mxVtLFfhWVfjI5uK7/03NXS/6GIq6musxmjCSRg/rRfXQW/29yVAFtTAmv2blDWcBN3kn12kvZZZ3HZawmMEIquIiher9vVl6kndhBUAlCdqWQFoe59TGzIF98pI49SYk/zMQ78W7g/Oc5UdeAqd9D6bFIiWVjwthFu0+IGq0upIGnbtqPEqEw2c1xfPBP3P2e9LLLl5RCE6N9hoLoUX8qjI44r/S7wAh5MuVFoBE7c6wFTN6fJeazTW1k85tueAYr2LUtI7ftcn2KfM8hrskGAlmW5cswexBXYvL4uJSe9u+Xoq7TcTz2pRf1Iqom3eEBh70s7xFyqOwrLIpPyfqA==;
 s=purelymail3; d=purelymail.com; v=1;
 bh=+oFqkdjpS8HlpzPSDB8gu5etgkYbBomjaqO2Pt2RL5c=;
 h=Feedback-ID:Received:Received:From:To:Subject:Date; 
Feedback-ID: 20115:3760:null:purelymail
X-Pm-Original-To: 76275 <at> debbugs.gnu.org
Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 415289576; 
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384);
 Mon, 17 Feb 2025 12:07:46 +0000 (UTC)
Received: by melete.silentflame.com (Postfix, from userid 1000)
 id 48E7E7EB2B7; Mon, 17 Feb 2025 20:07:41 +0800 (CST)
From: Sean Whitton <spwhitton@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on
 recent master
In-Reply-To: <df12480c-9619-4eed-a487-fdc2cbe0c017@HIDDEN> (martin rudalics
 via's message of "Mon, 17 Feb 2025 10:21:34 +0100")
References: <87tt8x5ho5.fsf@HIDDEN>
 <19d45259-a936-4783-b9b8-d3b97fd3d339@HIDDEN>
 <871pw056eo.fsf@HIDDEN>
 <189b7ade-865e-4aab-8a2d-fee25ab856f7@HIDDEN>
 <874j0tmkkq.fsf@HIDDEN>
 <df12480c-9619-4eed-a487-fdc2cbe0c017@HIDDEN>
Date: Mon, 17 Feb 2025 20:07:41 +0800
Message-ID: <874j0sixki.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

On Mon 17 Feb 2025 at 10:21am +01, martin rudalics wrote:

> OK.  So to fix your problem the attached patch suffices?

I tested this with my actual use case, not just the minimal example.

It does fix the resizing problem.  However, now my entry in
window-size-change-functions doesn't run at all, and so the font size in
the new frame is wrong.

I'm not sure whether this is a bug, but it might count as a change that
should be called out in NEWS?  window-size-change-functions is no longer
guaranteed to be called when frames are simply created.

> So likely the let-binding in 'make-frame' extends until here.  Can you
> confirm that in your "My breakpoint was hit eight times and in each
> case, ..." the value of the _variable_ frame_inhibit_implied_resize was
> always t while the function with the same name returned false?

The variable is always t, indeed.

I'm not sure what you mean "while the function with the same name
returned false" -- there isn't a function called
frame_inhibit_implied_resize, I think?

-- 
Sean Whitton




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 17 Feb 2025 09:21:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 17 04:21:44 2025
Received: from localhost ([127.0.0.1]:42785 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tjxJv-0008LI-Ju
	for submit <at> debbugs.gnu.org; Mon, 17 Feb 2025 04:21:44 -0500
Received: from mout.gmx.net ([212.227.17.20]:59687)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rudalics@HIDDEN>) id 1tjxJt-0008Ko-2I
 for 76275 <at> debbugs.gnu.org; Mon, 17 Feb 2025 04:21:41 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at;
 s=s31663417; t=1739784095; x=1740388895; i=rudalics@HIDDEN;
 bh=ilcYIgX4A6J7fnjkfw5QwvEwuidf8z/dQYEQ67jy1l4=;
 h=X-UI-Sender-Class:Content-Type:Message-ID:Date:MIME-Version:
 Subject:To:Cc:References:From:In-Reply-To:cc:
 content-transfer-encoding:content-type:date:from:message-id:
 mime-version:reply-to:subject:to;
 b=rozoUOgmM99mlcgNFjeKWeY89lxJeb8k4X5GDdF2KxNv85659arLH2remcjU7YUV
 zLchTIycmSdF8BkuSnIiZmyF0J7p9GBcFCvnzBcNXV0hALHraCfcTl4qh9dAs1+V2
 r84kGj+uv08ADwDW5UMHYrSueKTVFvY/zL+MQgrIrAmjrYyWpbw8qzVYB0WmfsAtn
 6zcC61FZS8M3PqBENzvuCh7YVevTGS2Fx7POBY9HtE3QaeB3k1icD4ta4ZBSywuJp
 9wLr/Rql4k5+lO3dT1+5z3gI2cITfLkW8+jzHX8IOSSz2zNtGav18M1uoR62NPeW4
 LSFUrfrpDJKhe2lUPg==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.31.113] ([212.95.5.83]) by mail.gmx.net (mrgmx104
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mg6Zq-1t8wCW3P5S-00okZa; Mon, 17
 Feb 2025 10:21:34 +0100
Content-Type: multipart/mixed; boundary="------------m0iDOyKQ9K0FoJCPUx9emGFz"
Message-ID: <df12480c-9619-4eed-a487-fdc2cbe0c017@HIDDEN>
Date: Mon, 17 Feb 2025 10:21:34 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on recent
 master
To: Sean Whitton <spwhitton@HIDDEN>
References: <87tt8x5ho5.fsf@HIDDEN>
 <19d45259-a936-4783-b9b8-d3b97fd3d339@HIDDEN>
 <871pw056eo.fsf@HIDDEN>
 <189b7ade-865e-4aab-8a2d-fee25ab856f7@HIDDEN>
 <874j0tmkkq.fsf@HIDDEN>
Content-Language: en-US
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <874j0tmkkq.fsf@HIDDEN>
X-Provags-ID: V03:K1:yl8NIqkupx+UcbyUSM1A7qA+dOsg6ZvXBFTfCYHZ/osJn6Typnh
 CLi2yaP/9g7A0/LZ8R1fkSt/6wJss0UpNmJXS1V9mBheKzQMVmo1il5W1FAmPNyOaGBIYLB
 CNJBI/PzDGApCs4mnLYI5BYNhiCGzZ/irf1h1iulvbSiYUIlyYtRwXKy56kG07hJmTMTHeW
 ZwLDuHBXXEigi2fx8wJiQ==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:rfyVySSkFnU=;eCQT05lLqclLq3TnuP9mvgOWr7V
 +kznNbsbri2Ul/7+mYjojjf232xsUA8OEZKctp256in57waHXZC0T4uHXuR/IiYAXiMq0MOZV
 rUshboJtqoEZ346W1Gbo2I7PcFj60lFgtTf+9eGjQWhCnz6A7Of7ru4IvbsRmehnYDLyIGXau
 YAgeeQT4aIjW4fAlcmL25NJodDtTPOukzJoD1a7uUynt9WFYXb0vAmKjhtPx2CXjohetIU+RB
 cZybxe1eQ1dpeQ6rXcXARalvl7XEcNoYU5nLtk4UBT9cXLB3FFFEhJesK0mjcnGs3yhA1y0KL
 ShCqLauNXfF+VDtQCPrENsfBRRkQ02n6xAZhwxpFJ1SIaW1eKu39xZsgWMMqXKS3vzmWPsfL3
 KaYfzlI13jWBmNzpk5Msy6tu+jDzttAqLVqWUjWRKwmkKKxoKh61P4lvsKUFIPAnjkqAa7I6h
 1qa8KqUFhwpCc5yDvbgreZMBNCxJhis0VuXpTqgHdPjw95Psq+SmcIcUvAR/FuWnr2uonOcyQ
 sj82lCJmt2dsZZlzcIXQeTv3e/FBU8rsPrKpu/JEJgVEx8aNgT491ocSEtqV3/KgmZ7mUa/xo
 0S1/OprC8oyLwzoQGOAi6INxQ15iUhgz2OZLgwxPWecN+LTv06ZZeU837dmeTmhKNDcIYFXFw
 v1zL9sNn4+8DRz+YaMngI8rhQP/kULcyopDOF/r0XAnKp/c0DgpBgMfbbmmWw+kDlyDbDqxL8
 IgaUCsnd1IMb7VrtYA8qDaJ+iat3+6LDeLFmEc5x1JDZR5jpQN2QAv1+f3NkHYfnjrdVfYs8N
 hhggHG9DgeVbMRQNIlLf0GltW6JvXc5PiiDkVqb8APGXgohJiGTsTchXVb7fL8xJATvxYcx4Q
 rvXgFL61vbjhqgmi3bU4sr56YAckS3B0qQVMocjWbJLbpretpDblotPwbXblqEuyYUnKJ0Rwb
 WD1oG7khBBpgoVMLp5OTIFSGPJUrfIsSTwaNc7jLL672cbjr2RjyPprlu7e3Voh9Rv0c3u96o
 rzldoz53vFbOBX0L4rDWe8cg8kowglkZhlxKbcgVpStCzL38NjzjsNQ0Pq4nYtWJ9yO0MO/zE
 y8rqzVsD4UZsTPHitq5cOZovR7faWeFALqpHDMNHUoEIamkZtFwZrVDSYIY8fOTuztrA0UTIs
 mVcVU4D5PVFK3ePNBVRVQ5fzYxasU+XiaPnjtwSeVpT8sO56QIuPahOTbfRCQSq/3YjvW0zWg
 Mpn2kKf3bR4BDrDAuh6yLLRCPkajfZSq++COV07chOEutt+tK3pp7X7dGmVcK/lZbuGP/dQcJ
 2wYXP9+skfH5eUga0DTroev3HYRrytRJoVjCR/vHLVf1Xv4jBAIlH1vIZ/4h0nN47bAHcu/3r
 EcObbcEJ0b9Ug+7B4ehhS68yh6QDkaWZYtmxqjoO3BIrtCugFn7MDwavvEoo/1Bjk/emSm/Hx
 dt6iZUg==
X-Spam-Score: 2.8 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  > This frame has no toolbar, because it's a (minibuffer .
 only) frame. > Did you notice that? I don't know whether it's significant.
 Hopefully not. The tool_bar_resized flag should be set regardless of whether
 a tool bar was made or not. This is emphasized by this comment in xdisp.c:
 Content analysis details:   (2.8 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
 low trust [212.227.17.20 listed in list.dnswl.org]
 3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
 [212.95.5.83 listed in zen.spamhaus.org]
 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
 The query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [212.227.17.20 listed in sa-accredit.habeas.com]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (rudalics[at]gmx.at)
 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
 query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [212.227.17.20 listed in bl.score.senderscore.com]
 -0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)
 [212.227.17.20 listed in wl.mailspike.net]
 -0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.8 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  > This frame has no toolbar, because it's a (minibuffer .
    only) frame. > Did you notice that? I don't know whether it's significant.
    Hopefully not. The tool_bar_resized flag should be set regardless of whether
    a tool bar was made or not. This is emphasized by this comment in xdisp.c:
    
 
 Content analysis details:   (1.8 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
                             low trust
                             [212.227.17.20 listed in list.dnswl.org]
  0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
                             The query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [212.227.17.20 listed in sa-accredit.habeas.com]
  0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
                             query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [212.227.17.20 listed in bl.score.senderscore.com]
 -0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)
                             [212.227.17.20 listed in wl.mailspike.net]
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [212.95.5.83 listed in zen.spamhaus.org]
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (rudalics[at]gmx.at)
 -0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

This is a multi-part message in MIME format.
--------------m0iDOyKQ9K0FoJCPUx9emGFz
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64

ID4gVGhpcyBmcmFtZSBoYXMgbm8gdG9vbGJhciwgYmVjYXVzZSBpdCdzIGEgKG1pbmlidWZm
ZXIgLiBvbmx5KSBmcmFtZS4NCiA+IERpZCB5b3Ugbm90aWNlIHRoYXQ/ICBJIGRvbid0IGtu
b3cgd2hldGhlciBpdCdzIHNpZ25pZmljYW50Lg0KDQpIb3BlZnVsbHkgbm90LiAgVGhlIHRv
b2xfYmFyX3Jlc2l6ZWQgZmxhZyBzaG91bGQgYmUgc2V0IHJlZ2FyZGxlc3Mgb2YNCndoZXRo
ZXIgYSB0b29sIGJhciB3YXMgbWFkZSBvciBub3QuICBUaGlzIGlzIGVtcGhhc2l6ZWQgYnkg
dGhpcyBjb21tZW50DQppbiB4ZGlzcC5jOg0KDQogICAgICAgLyogRXZlbiBpZiB3ZSBkbyBu
b3QgZGlzcGxheSBhIHRvb2wgYmFyIGluaXRpYWxseSwgc3RpbGwgcHJldGVuZA0KCSB0aGF0
IHdlIGhhdmUgcmVzaXplZCBpdCBhbHJlYWR5LiAgVGhpcyBhdm9pZHMgdGhhdCBhIGxhdGVy
DQoJIGFjdGl2YXRpb24gb2YgdGhlIHRvb2wgYmFyIHJlc2l6ZXMgdGhlIGZyYW1lLCBkZXNw
aXRlIG9mIHRoZQ0KCSBmYWN0IHRoYXQgYSBzZXR0aW5nIG9mICdmcmFtZS1pbmhpYml0LWlt
cGxpZWQtcmVzaXplJyBzaG91bGQNCgkgaW5oaWJpdCBpdCAoQnVnIzUyOTg2KS4gICovDQog
ICAgICAgZi0+dG9vbF9iYXJfcmVzaXplZCA9IHRydWU7DQoNCiA+PiBBcmUgeW91IHN1cmUg
eW91IGRpZCBz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lYWtwb2lu
dCB3YXMgaGl0IGVpZ2h0IHRpbWVzIGFuZCBpbiBlYWNoDQpjYXNlLCAuLi4iIHRoZSB2YWx1
ZSBvZiB0aGUgX3ZhcmlhYmxlXyBmcmFtZV9pbmhpYml0X2ltcGxpZWRfcmVzaXplIHdhcw0K
YWx3YXlzIHQgd2hpbGUgdGhlIGZ1bmN0aW9uIHdpdGggdGhlIHNhbWUgbmFtZSByZXR1cm5l
ZCBmYWxzZT8NCg0KbWFydGluDQo=
--------------m0iDOyKQ9K0FoJCPUx9emGFz
Content-Type: text/x-patch; charset=UTF-8; name="frame-tool-bar-resized.diff"
Content-Disposition: attachment; filename="frame-tool-bar-resized.diff"
Content-Transfer-Encoding: base64

ZGlmZiAtLWdpdCBhL3NyYy93aW5kb3cuYyBiL3NyYy93aW5kb3cuYwppbmRleCAzMzBhOTVh
NzE2Zi4uZTQ5OTBkMDYxNDggMTAwNjQ0Ci0tLSBhL3NyYy93aW5kb3cuYworKysgYi9zcmMv
d2luZG93LmMKQEAgLTM3ODUsNyArMzc4NSwxMSBAQCBydW5fd2luZG93X2NvbmZpZ3VyYXRp
b25fY2hhbmdlX2hvb2sgKHN0cnVjdCBmcmFtZSAqZikKIAogICBpZiAoTklMUCAoVnJ1bl9o
b29rcykKICAgICAgIHx8ICFmLT5jYW5fc2V0X3dpbmRvd19zaXplCi0gICAgICB8fCAhZi0+
YWZ0ZXJfbWFrZV9mcmFtZSkKKyAgICAgIHx8ICFmLT5hZnRlcl9tYWtlX2ZyYW1lCisjaWZk
ZWYgVVNFX0dUSworICAgICAgfHwgIWYtPnRvb2xfYmFyX3Jlc2l6ZWQKKyNlbmRpZgorICAg
ICAgKQogICAgIHJldHVybjsKIAogICAvKiBVc2UgdGhlIHJpZ2h0IGJ1ZmZlci4gIE1hdHRl
cnMgd2hlbiBydW5uaW5nIHRoZSBsb2NhbCBob29rcy4gICovCkBAIC00MTIwLDYgKzQxMjQs
OSBAQCBydW5fd2luZG93X2NoYW5nZV9mdW5jdGlvbnMgKHZvaWQpCiAgICAgICBpZiAoIUZS
QU1FX0xJVkVfUCAoZikKIAkgIHx8ICFmLT5jYW5fc2V0X3dpbmRvd19zaXplCiAJICB8fCAh
Zi0+YWZ0ZXJfbWFrZV9mcmFtZQorI2lmZGVmIFVTRV9HVEsKKwkgIHx8ICFmLT50b29sX2Jh
cl9yZXNpemVkCisjZW5kaWYKIAkgIHx8IEZSQU1FX1RPT0xUSVBfUCAoZikKIAkgIHx8ICEo
ZnJhbWVfd2luZG93X2NoYW5nZQogCSAgICAgICB8fCBmcmFtZV9zZWxlY3RlZF9jaGFuZ2UK


--------------m0iDOyKQ9K0FoJCPUx9emGFz--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 17 Feb 2025 01:22:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 16 20:22:41 2025
Received: from localhost ([127.0.0.1]:39775 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tjpqL-0007R0-Do
	for submit <at> debbugs.gnu.org; Sun, 16 Feb 2025 20:22:41 -0500
Received: from sendmail.purelymail.com ([34.202.193.197]:48510)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>)
 id 1tjpqJ-0007QV-5b
 for 76275 <at> debbugs.gnu.org; Sun, 16 Feb 2025 20:22:40 -0500
DKIM-Signature: a=rsa-sha256;
 b=wLhw8CjY+dDprVjQRTEYH4tz91d8TbUgDijsHjEmHZI4mA9zB0/EE5SmyiQ7RCJEXOXqwuROeGB1rcMWqwxJdUVWlWlywbcYVbfjidq6bjv73mQ9f+AnK3jVRAkiEEXe4S6xubu35Un7ciLyt5qq8nppwYsseMUnwoGXwL/wzDCdDmOWMj9bDEcebbDAmVEHsDzFGn/DtKTM5dDAXcTnkDFeHU7i9TclBP8rvPUYBdeYm62x6hPca7HnM3qBjG1fBmC05hQHMIyDpI93LF9tJ55PEM52325ApuITbXzKuMdfwzRuNPS4/HuJOERbo6BHQXQqhtr11rZJ8r1Ezo4AxQ==;
 s=purelymail3; d=spwhitton.name; v=1;
 bh=ORGyhXJnH21km09BWxuTMoFMDnoSnpenSSWgF8pNYlM=;
 h=Received:Received:From:To:Subject:Date; 
DKIM-Signature: a=rsa-sha256;
 b=YrUz9bbrGeRW+JpwBQIoou5+d78W0iTO0MswojB5JgkfVf23ptMBs6MdHxhNMDaN7sVp/fCy8s0MC9EK4bJsP2OVD33C7KGYheigPugXV4tpsy51iZo6NtiqSccveZuv/E8CVAMRKh9S5/aoNTQEqHYX4YnaXB+MMPl06tkl7FLVOoIENdrS2mPsAlZATZWQjGgEBOU+rSUD/VrA9IJHuTeTgk0mKsbtSlEOeb/jLcLSrjgWZfQzgIgfCmJ6aC+5LANwHtDIYAhuT5cGhzIecnmuVt7YDhE631XyYiCR1FtTecUk6jmlyT0wgx6iYBSTEBBJiPmItlaSc1FbP8vBOQ==;
 s=purelymail3; d=purelymail.com; v=1;
 bh=ORGyhXJnH21km09BWxuTMoFMDnoSnpenSSWgF8pNYlM=;
 h=Feedback-ID:Received:Received:From:To:Subject:Date; 
Feedback-ID: 20115:3760:null:purelymail
X-Pm-Original-To: 76275 <at> debbugs.gnu.org
Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id -74524792; 
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384);
 Mon, 17 Feb 2025 01:22:31 +0000 (UTC)
Received: by melete.silentflame.com (Postfix, from userid 1000)
 id 19E4E7E45FC; Mon, 17 Feb 2025 09:22:29 +0800 (CST)
From: Sean Whitton <spwhitton@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on
 recent master
In-Reply-To: <189b7ade-865e-4aab-8a2d-fee25ab856f7@HIDDEN> (martin rudalics
 via's message of "Sat, 15 Feb 2025 11:34:47 +0100")
References: <87tt8x5ho5.fsf@HIDDEN>
 <19d45259-a936-4783-b9b8-d3b97fd3d339@HIDDEN>
 <871pw056eo.fsf@HIDDEN>
 <189b7ade-865e-4aab-8a2d-fee25ab856f7@HIDDEN>
Date: Mon, 17 Feb 2025 09:22:29 +0800
Message-ID: <874j0tmkkq.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

On Sat 15 Feb 2025 at 11:34am +01, martin rudalics wrote:

> So the sequence of events is apparently
>
> - You are in an initial phase where 'frame-inhibit-implied-resize'
>   non-nil has no effect because the tool bar was not yet resized.
>
> - You trigger a frame size change via 'set-face-attribute' which
>   apparently "gets through", that is, resizes the frame which is
>   something that should not happen.
>
> - When the tool bar gets finally resized it's too late.  The last
>   change can be no more undone.

This frame has no toolbar, because it's a (minibuffer . only) frame.
Did you notice that?  I don't know whether it's significant.

> Are you sure you did something like
>
>       if (!FRAME_LIVE_P (f)
> 	  || !f->can_set_window_size
> 	  || !f->after_make_frame
> 	  || !f->tool_bar_resized
> 	  || FRAME_TOOLTIP_P (f)
> 	  || !(frame_window_change
> 	       || frame_selected_change
> 	       || frame_selected_window_change
> 	       || frame_window_state_change))
> 	/* Either we are not allowed to run hooks for this frame or no
> 	   window change has been reported for it since the last time
> 	   we ran window change functions on it.  */
> 	continue;
>
> If that hook is still run, we'd have to find out why.

Oops.  I patched run_window_configuration_change_hook, not
run_window_change_functions.  Sorry about that!  So, let me go back to
the debugging instructions in your previous e-mail.

First I tried the unpatched code and printed the three variables.  My
breakpoint was hit eight times and in each case, f->can_set_window_size
and f->after_make_frame were true, and f->tool_bar_resized was false.

Then I patched in the check for f->tool_bar_resized.  This makes the
problem not reproducible.

> I am also stupefied by the fact that the
>
>>      (with-selected-frame frame
>>        (apply #'completing-read prompt collection optional-args))))
>
> is apparently needed.  WOW a pure 'make-frame' together with the hook on
> 'window-size-change-functions' is _not_ sufficient.  Right?

Yes, I just reconfirmed this.

> Is the
>
> (apply #'completing-read prompt collection optional-args))))
>
> needed literally or would just selecting the frame suffice?  Or does
> =E2=80=98completing-read=E2=80=99 trigger the window size change that put=
s the bad
> sequence in motion?

I just tested this.  I replaced

--8<---------------cut here---------------start------------->8---
    (with-selected-frame frame
      (apply #'completing-read prompt collection optional-args))
--8<---------------cut here---------------end--------------->8---

with

--8<---------------cut here---------------start------------->8---
    (select-frame frame)
--8<---------------cut here---------------end--------------->8---

and then, indeed, the problem is not reproducible.  So just selecting
the frame does *not* suffice.

> One other thing: Would enlarging the scope via
>
> (defun spw/scale-default (frame)
>   (let ((frame-inhibit-implied-resize t))
>     (set-face-attribute 'default frame :height 120)))
>
> change anything?

I just tested this.  No, it doesn't help.  The problem is still
reproducible.

> When worse comes to worst, we can always make the offending commit
> optional but I'd rather like to find out what happens first.

Thanks again for your help.

--=20
Sean Whitton




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 15 Feb 2025 10:34:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 15 05:34:59 2025
Received: from localhost ([127.0.0.1]:53513 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tjFVj-0003B6-7T
	for submit <at> debbugs.gnu.org; Sat, 15 Feb 2025 05:34:59 -0500
Received: from mout.gmx.net ([212.227.15.18]:58889)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rudalics@HIDDEN>) id 1tjFVf-0003Ap-Ul
 for 76275 <at> debbugs.gnu.org; Sat, 15 Feb 2025 05:34:57 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at;
 s=s31663417; t=1739615689; x=1740220489; i=rudalics@HIDDEN;
 bh=KzHUuy8SQBls/WGiqwUfw1qR7TD2cc2UyQSGbw6giqo=;
 h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc:
 References:From:In-Reply-To:Content-Type:
 Content-Transfer-Encoding:cc:content-transfer-encoding:
 content-type:date:from:message-id:mime-version:reply-to:subject:
 to;
 b=jyOQOLf47Kw2T0sHi3c4vz8AWEJw0WSQvrWjaNNPXXWYScelJmgKLBkzDuOSaXRH
 zjO6iAQB4xNamlNlg3jSGyP/YzIxWbLvL7XOERdrqdqj33EoT4NRdzKkwkr4/Y7wS
 /2btk7Jpe3RoVItIhzq+wxq2Fkjvalg3AzBbnycWKboea+zK2wgtf+FTBzjF8T5Ku
 kCsLxmXYTOOrIQOqUD9K93/ygIhU0XLj259rFsbIoRWeGTX2gn2oJ4mKGwtypjNCd
 Qydblji/qc2T0ZjDy0fYmDXNmNCUnM4kACcZs+R/mQfNV011MfSW4e0sKK+o9m12q
 UgC05MfXKcCNY2k08A==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.31.113] ([213.142.97.148]) by mail.gmx.net (mrgmx004
 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MRmfo-1tugl922pO-00Yw1D; Sat, 15
 Feb 2025 11:34:49 +0100
Message-ID: <189b7ade-865e-4aab-8a2d-fee25ab856f7@HIDDEN>
Date: Sat, 15 Feb 2025 11:34:47 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on recent
 master
To: Sean Whitton <spwhitton@HIDDEN>
References: <87tt8x5ho5.fsf@HIDDEN>
 <19d45259-a936-4783-b9b8-d3b97fd3d339@HIDDEN>
 <871pw056eo.fsf@HIDDEN>
Content-Language: en-US
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <871pw056eo.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
X-Provags-ID: V03:K1:NKogtEdauShUP48nW+rUdmbydw0tvMSrvg/Sstpxi5PNKDTI7Pr
 JbzPxqc9vrgU02fCyDSdnigPUFrETrnk7CVRPQOKU2vL3a7eh+LOVUTaxImnJqq9YDSw6cS
 s07GZcmTTYgsh31fEjJm4PKISJiKQTOcJxeFp5bMsapWd1+6WDz/FYI/eTNXUpGmsZjUG9E
 8M/o/KWVKrZ5honLuDfMA==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:NUwBfLLo+AQ=;CwKcuM0Fk8eZpkWW8eLNgRsVHVJ
 sEZAzfw/v+BHahbt3Nr+V6OlMKthbU9oWTfMIj5BcWnwGLhP+BIlmoXfovZ8CBAuDv/NgNXMV
 dFI1LFPV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SlYBwyYL+h+RJVVeHCaW4M0ivEsZEQbDk7T1krzsIcFI5LFqXF
 GTJFXhauh41I5G2IsX4sinypTR7SrHbqAWZzlFF9WGB7prVInwqf63indn8l/1BkM9c0iW/VW
 pwhZIaT9b1uKYBJR+jM2LWi7sIOsCHFnzztTtBJ4WJCtD37mHI6z6NnufQ6IHBsjn70+9E6pg
 hab7v13BEHx+j9pFM67Rw+RB6Q5xqJ/ztsT6+YQx3XCcmdwXr9Xxq8umwH2NZp8GRpAwu3y/U
 2ONgBwOUPWG9aYNBq0SGmjPRfoP/NlOyHJLWJpdLRg7RsLXvW4nrMcpwGHjflrhNRmymFaBPQ
 8qFI3Vg==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

ID4+ICgxKSBJcyB0aGUNCiA+Pg0KID4+PiAoZGVmdW4gc3B3L3NjYWxlLWRlZmF1bHQgKGZy
YW1lKQ0KID4+PiAgICAgKHNldC1mYWNlLWF0dHJpYnV0ZSAnZGVm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EN:
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 15 Feb 2025 01:47:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 14 20:47:34 2025
Received: from localhost ([127.0.0.1]:52519 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tj7HJ-0002e7-W8
	for submit <at> debbugs.gnu.org; Fri, 14 Feb 2025 20:47:34 -0500
Received: from sendmail.purelymail.com ([34.202.193.197]:46342)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>)
 id 1tj7HH-0002dr-6Y
 for 76275 <at> debbugs.gnu.org; Fri, 14 Feb 2025 20:47:31 -0500
DKIM-Signature: a=rsa-sha256;
 b=aps51XZmiKdMh2By6iJAyORhd5pDwIDqnhrqRho50NkTGifOiyfrh4HgI3ZBFUN+soWrd5MRUaSS3CFNTK5euu1R2g/BuhAMe3aNmCLgfOQJR96UpjpPdn5d1II69Yb3YHDUhrw6OEAUbwrO+oMiiMCu1V3tkec56/sTZbtaChbEQkcCkhxv/bip3cL85f0EjoblbBX3Jrg/bWOXYX+mPLvhithFPH5+Z2CAhAKYLfRmEYfitA7E0EFc8QUiv5ABxgnCSXnZtizAJUfTlixSJwClSptluKPwaROX/FTSDRhybfQP46qhhEjEg5K6qJjffaT9OKmNk34eev7eo0WkDg==;
 s=purelymail3; d=spwhitton.name; v=1;
 bh=GdJHT2uyVjf/Z13vcIGAJycKQ8ORaMFjqyJq1Df4sxk=;
 h=Received:Received:From:To:Subject:Date; 
DKIM-Signature: a=rsa-sha256;
 b=e9AVHE90+otiZzToMO0P7l9kWWsckluN3nDe6wmy1CY3BtRGD8+j+5KckVNyrqLaO7VWBSRIcg4FMl565LHBri03YkzVDtX2Kaa/HYXPRAQj8jirOAuxO2J7sxgWUcQ6jwlbIuWwY2LqPVlE5zipmhrP5eT5cLlXteANYqdxhwvv6+xyIrB4K8YtLFd/BqleSyVzgnyemQUDMuw0bbpKLHnMjXAmWcUUj9e+B8DVWmC9Yr6VMu/i5krio6i8NNp8p7Q2D6tOFcSBZ6Z8BKxmq392ehGwT+9PJ/Ya4YyReQpkLbz26unJNlQmGpxOyWoTSQKgcBJ24zTaS/u85DSwJw==;
 s=purelymail3; d=purelymail.com; v=1;
 bh=GdJHT2uyVjf/Z13vcIGAJycKQ8ORaMFjqyJq1Df4sxk=;
 h=Feedback-ID:Received:Received:From:To:Subject:Date; 
Feedback-ID: 20115:3760:null:purelymail
X-Pm-Original-To: 76275 <at> debbugs.gnu.org
Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id -1963523615; 
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384);
 Sat, 15 Feb 2025 01:47:24 +0000 (UTC)
Received: by melete.silentflame.com (Postfix, from userid 1000)
 id 421817E08DC; Sat, 15 Feb 2025 09:47:22 +0800 (CST)
From: Sean Whitton <spwhitton@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on
 recent master
In-Reply-To: <871pw056eo.fsf@HIDDEN> (Sean Whitton's message
 of "Sat, 15 Feb 2025 09:43:43 +0800")
References: <87tt8x5ho5.fsf@HIDDEN>
 <19d45259-a936-4783-b9b8-d3b97fd3d339@HIDDEN>
 <871pw056eo.fsf@HIDDEN>
Date: Sat, 15 Feb 2025 09:47:22 +0800
Message-ID: <87wmds3ro5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

On Sat 15 Feb 2025 at 09:43am +08, Sean Whitton wrote:

> Each of the three times my breakpoint is hit, f->tool_bar_resized is
> false.

Oh, and: inserting this line does not fix the bug.

-- 
Sean Whitton




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 15 Feb 2025 01:43:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 14 20:43:59 2025
Received: from localhost ([127.0.0.1]:52501 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tj7Dq-0002RH-Qe
	for submit <at> debbugs.gnu.org; Fri, 14 Feb 2025 20:43:59 -0500
Received: from sendmail.purelymail.com ([34.202.193.197]:52998)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>)
 id 1tj7Dm-0002Qz-Fy
 for 76275 <at> debbugs.gnu.org; Fri, 14 Feb 2025 20:43:57 -0500
DKIM-Signature: a=rsa-sha256;
 b=LE/t0ln0fMfEVcRuCi7r0vwSTYJHUXYpPiUccTR3iaaaxBFx+YGQtPV32tiiSTdG0SX4QV0NPvkPKYw1oR3y7Pw7NkKyVDIa6tgDDmFIv2QN8W/rKzlKq5HND2g5eanJWvt/EkBM1vIrxNemHh7DTIvQyEXYaxV6DyA+JqQ2L9j1bqdhG0uOzisg9DYng+B23VOv2ANGEOAUB2BwYr1u4z9zQkKbZdzX4DNL1p0hMb9DX0cFuqlLs4qqMN/7JiT5EKT5/zbHaOriX+rcnzFeWCo/yVgHDonBBe29pgSuwYxmX9zkkAXFdIDPKI8YyK5AYNKe3eCfRKHAQCDq23kbDw==;
 s=purelymail3; d=spwhitton.name; v=1;
 bh=7a+MRwA4I1d56kNmQIwTr/7M1xocMfvPvRrRaa+wYKY=;
 h=Received:Received:From:To:Subject:Date; 
DKIM-Signature: a=rsa-sha256;
 b=SvrlwmzIO1mofAy/H6P5C1y337yRxXdiX+l9LdKnCTINk4YX1I3AK2HqUGTlPLveDSZCKg31cgPibqcEGTJ1rw5XFA84f65pZp4g7d0AJG3klv1kfn2CdHwAJXhmvTD/JD0QBqboIzVmiqFqykE/vjtn5htpePCVd3tcUfmDNilwT4/zt80OYTtkClnRvJOgAEhXHlVJs/S4O4ezO7ObI+NNSPNcLIjuVFyE8foYk7jgaJCYHq8vJkgmY5VrSHSE83qhxsPxKgRx62pPknRd0M43/OZNUKPLY6zIwB/LjC9ep0FqeQydDdurNvL2dxzBJoIH1mhiNOi/rEnEXw9IyA==;
 s=purelymail3; d=purelymail.com; v=1;
 bh=7a+MRwA4I1d56kNmQIwTr/7M1xocMfvPvRrRaa+wYKY=;
 h=Feedback-ID:Received:Received:From:To:Subject:Date; 
Feedback-ID: 20115:3760:null:purelymail
X-Pm-Original-To: 76275 <at> debbugs.gnu.org
Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id -1060192533; 
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384);
 Sat, 15 Feb 2025 01:43:46 +0000 (UTC)
Received: by melete.silentflame.com (Postfix, from userid 1000)
 id 5CFC07E983A; Sat, 15 Feb 2025 09:43:43 +0800 (CST)
From: Sean Whitton <spwhitton@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on
 recent master
In-Reply-To: <19d45259-a936-4783-b9b8-d3b97fd3d339@HIDDEN> (martin rudalics
 via's message of "Fri, 14 Feb 2025 11:25:04 +0100")
References: <87tt8x5ho5.fsf@HIDDEN>
 <19d45259-a936-4783-b9b8-d3b97fd3d339@HIDDEN>
Date: Sat, 15 Feb 2025 09:43:43 +0800
Message-ID: <871pw056eo.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

On Fri 14 Feb 2025 at 11:25am +01, martin rudalics wrote:

> Two (maybe silly) questions:
>
> (1) Is the
>
>> (defun spw/scale-default (frame)
>>    (set-face-attribute 'default frame :height 120))
>> (add-to-list 'window-size-change-functions #'spw/scale-default)
>
> needed to reproduce the problem and how or why?

Yes, it's needed.  I obtained it by bisecting my init.el to find a
minimal reproducer, so I don't know exactly why it's needed.  But I
think it's because changing the face size triggers the kind of implied
resize that frame-inhibit-implied-resize is meant to prevent.

> If so, then please tell us (via GDB) when and how these bypass the
>
> 	  || !f->can_set_window_size
> 	  || !f->after_make_frame
>
> check in run_window_change_functions in window.c.

My breakpoint was hit three times.  In each case, both
f->can_set_window_size and f->after_make_frame were true.

The backtrace in all three cases is the same, in that the code is called
via redisplay.

> If they do bypass it, could you insert an additional
>
>           || !f->tool_bar_resized
>
> there and tell us what happens then?

Each of the three times my breakpoint is hit, f->tool_bar_resized is
false.

I have also observed something else from this debugging.  Switching
focus between GUD (in my main Emacs session) and the incorrectly sized
frame can cause the incorrectly sized frame to jump back to the correct
size.  When that occurs, my breakpoint is not hit.

> (2) Is the
>
>>      (unwind-protect
>> 	(with-selected-frame frame
>> 	  (set-window-scroll-bars (minibuffer-window frame) 0 nil 0 nil t)
>> 	  (apply #'completing-read prompt collection optional-args))
>>        (delete-frame frame))))
>
> needed to reproduce the problem and how or why?

It's needed in some form, yes, but you prompted me to investigate
further and this is my new minimal reproducer:

sway-completing-read.el:
--8<---------------cut here---------------start------------->8---
(defun spw/scale-default (frame)
  (set-face-attribute 'default frame :height 120))
(add-to-list 'window-size-change-functions #'spw/scale-default)

(defun spw/sway-completing-read (prompt collection &rest optional-args)
  (let* ((frame-inhibit-implied-resize t)
	 (frame (make-frame `((title . "Emacs Sway input")
			      (minibuffer . only)
			      (display . ,(getenv "WAYLAND_DISPLAY"))))))
    (with-selected-frame frame
      (apply #'completing-read prompt collection optional-args))))
--8<---------------cut here---------------end--------------->8---

So, the call to set-window-scroll-bars is not essential, but putting
some text in the frame would seem to be essential.

Many thanks for looking!

-- 
Sean Whitton




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 15 Feb 2025 01:00:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 14 20:00:32 2025
Received: from localhost ([127.0.0.1]:52441 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tj6Xo-0000Rt-AV
	for submit <at> debbugs.gnu.org; Fri, 14 Feb 2025 20:00:32 -0500
Received: from sendmail.purelymail.com ([34.202.193.197]:55166)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>)
 id 1tj6Xk-0000RT-V8
 for 76275 <at> debbugs.gnu.org; Fri, 14 Feb 2025 20:00:30 -0500
DKIM-Signature: a=rsa-sha256;
 b=XGeWmWMVrofO7qZZ3gB4to7VfiXsBYCpnCMKzjEQlUrtSHdhSWgde69pkT7rZd6qm/d4GaUWcx6j/uBxmit4S5t3cwurM7Bxoxy9NLOGKY3r/ctudzgCLNUxoLcgA0oihA8GW/vfN034Es0drteGMokxjalC3o+1sngjy5GWh+Fr0xnvTn7aAMSGrBfmYBHqqhvhJ6T9jGbhkhgEl0YARfsT9QXfEIlKKNt98vyK9LR8HRTum6odCrVV9TQqHVp2K40/BF/C+biotLos8wXed24MKWQXNODWU24VRyVboMxDQWz6Tg2uknPVlJSa5yfvtxgGxtcGea5YNJPDqp+hcQ==;
 s=purelymail3; d=spwhitton.name; v=1;
 bh=RFLNlF+qwaOf2a6f25bOti3wS2JQobO6xPFJ1USpF84=;
 h=Received:Received:From:To:Subject:Date; 
DKIM-Signature: a=rsa-sha256;
 b=UkQMKtGS3/wd2uiOfm6PY2L40XqTPJntcAg+GCDy99vEEb+keJiBSssVj8ofMnWGd8NSMi7hQHJ50O/ybKnbj6XE84tG44Y8CkN/T7yFIhkok+yPGtsHbdVkDEizZKqE1RynPqi5mUsRH+IqieSFZybaGSiVda+cJc/gvhZBwYs7ahTriSZJt4WovNBVxQ276N5saINg3DpgJ/xLNDAgUT2JIAMlHIpeiKnhOHuhX56pfjmVPApdLrTtk6k3ucD5WPccRGW+oc7aWjXLAF5MNUnnvcClfkrKin5bFkgi+nMrhs9a8CSpzSrrzY17G2IIjOKHzKxk+ppcEEDAAQ80xw==;
 s=purelymail3; d=purelymail.com; v=1;
 bh=RFLNlF+qwaOf2a6f25bOti3wS2JQobO6xPFJ1USpF84=;
 h=Feedback-ID:Received:Received:From:To:Subject:Date; 
Feedback-ID: 20115:3760:null:purelymail
X-Pm-Original-To: 76275 <at> debbugs.gnu.org
Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 1548383589; 
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384);
 Sat, 15 Feb 2025 01:00:20 +0000 (UTC)
Received: by melete.silentflame.com (Postfix, from userid 1000)
 id 163E27E16F5; Sat, 15 Feb 2025 09:00:18 +0800 (CST)
From: Sean Whitton <spwhitton@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on
 recent master
In-Reply-To: <865xldgci6.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 14 Feb
 2025 10:24:17 +0200")
References: <87tt8x5ho5.fsf@HIDDEN> <865xldgci6.fsf@HIDDEN>
Date: Sat, 15 Feb 2025 09:00:18 +0800
Message-ID: <877c5s58f1.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, rudalics@HIDDEN, shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

On Fri 14 Feb 2025 at 10:24am +02, Eli Zaretskii wrote:

> Isn't there a race condition here between the resize done by Sway and
> by Emacs?  If so, I think the previous result was just due to sheer
> luck, as it was exploiting undefined behavior.
>
> Apologies if this makes no sense, but I always wonder why people
> expect something deterministic to happen when there are so many moving
> parts (in this case: client-to-server communications, the
> window-system management of frames, and the precise timing with which
> Emacs calls window-size-change-functions).

I agree with you in the general case.  I think my basic approach here
may be flawed and I should try to rewrite it.

Regardless of that, though, it would seem that there is a bug with
frame-inhibit-implied-resize uncovered by this approach of mine, a bug
worth fixing anyway.

-- 
Sean Whitton




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 14 Feb 2025 10:25:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 14 05:25:14 2025
Received: from localhost ([127.0.0.1]:47179 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tissk-00038S-2g
	for submit <at> debbugs.gnu.org; Fri, 14 Feb 2025 05:25:14 -0500
Received: from mout.gmx.net ([212.227.15.19]:43619)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rudalics@HIDDEN>) id 1tissi-00038A-OL
 for 76275 <at> debbugs.gnu.org; Fri, 14 Feb 2025 05:25:13 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at;
 s=s31663417; t=1739528705; x=1740133505; i=rudalics@HIDDEN;
 bh=VWxscxDbL0x8hmSEVtH3947dkuiOjrJNyVSby+6qptM=;
 h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc:
 References:From:In-Reply-To:Content-Type:
 Content-Transfer-Encoding:cc:content-transfer-encoding:
 content-type:date:from:message-id:mime-version:reply-to:subject:
 to;
 b=dQj/2TBm7GzeQSomHfVv1UaOtpFoLcHTaxzDD/rpyRmCdyOkB6hfOdI1DhHxQ3iJ
 GxjiaaM+93afrd1mW2vWrEokToJDbjErptPJL6u1xAJT4Q86Ermzal+KGcbUCOhvK
 sTqVqDKTfsp8fE7cU7D0zkJKby2/ibWK5tsYQ1EeYiRIed5ElrH+Yq0IGnZkjUtyy
 fOW2aMAR0XbOwCc9FW7YkIJGWmvYgFXoABLw6vs/WdhdfknyKrVsbtZQxgi3JdeEC
 nQFJPvEUfrQs2lLj+34mQe0FmkGFwotUN+fFb/xVF02XKy2KqqlHt54ZsF6+/QYtu
 3p3Qoz28YDSbyZS5nQ==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.31.113] ([46.125.249.73]) by mail.gmx.net (mrgmx005
 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M6UZv-1tkmhF3dRB-000qQq; Fri, 14
 Feb 2025 11:25:04 +0100
Message-ID: <19d45259-a936-4783-b9b8-d3b97fd3d339@HIDDEN>
Date: Fri, 14 Feb 2025 11:25:04 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#76275: 31.0.50; frame-inhibit-implied-resize broken on recent
 master
To: Sean Whitton <spwhitton@HIDDEN>, 76275 <at> debbugs.gnu.org
References: <87tt8x5ho5.fsf@HIDDEN>
Content-Language: en-US
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <87tt8x5ho5.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:ZRShV4Z9de/ESUcteg/TahgpGigbrbYqjf4NfKyXsbgaphpHENR
 L8gRa1/aYQYR0bnLkylQtTkUA6E+QTERWJR9IHZa8l/WH6S7vi1uYaY4xza0+YEQxPSctgc
 FiIorN98KwX9/vTnYfZ7m8LinDfvoFbmbfWmg1kD0YGYuC2GPZInjGQNu+Cs/x+CbMTfGZh
 glcHk14VNF/bnhsx13m2A==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:JL/+EJcDLTU=;hoqIYx3ph/XSZtn9F/j5QEIivQC
 nOXE5g8XljtKjCb7YJA4ztE3Ty9OWjo2p+kYQI9w12WEztlFx5jXRY79kEHmwRw5bm4sNISVl
 DKOC7B3mcAB0V3B17WbhLfkF3YpWi/mRRRAgjz9T0qgXZ40uxP/MnLmborvBu0QoxpYOuCWcO
 b9gDmHAKnT1W1RbB91J2ca+/1d5eS9131S7BqAD4Ppj1i7ASoEtZMMKqZ+X8SV0QIUbL7647M
 6eknArai3RXLr0eu01hTfSk49RHnlBO5jHPHsulCvAcenkeshmM/wPdbGzh/BzaGVM5zVsbjD
 mgjbvVrkYNMy9Lsq7uo6EEpH6WF328v5dBNXBmcd7mIiOrvJKi8POiWC5IbdBajGJwJ5L6uCw
 kuon0ErorUbj07Z0jp48/PeivIVWK2vVNa/haCiTMVO1e3Etfny9INoQddvwPh8+RQtNzs684
 YpHvD7O+7LzHFAn++EpC/WSUd8SZBc6zXMQy9lnOIhfBr5GppBNO6z97j7MZQbTyZQl4gxpaG
 ccEPJ9FANRKbngt/1JBtV64FwyInCV+BK0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debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

 > By means of Git bisection I have discovered that commit dbf22fd0d05 to
 > fix bug#74750 has broken frame-inhibit-implied-resize.
 > Here is a reproducer:
 >
 > 1. Configure the Sway compositor to move and resize new windows that
 >     open if they have the title "Emacs Sway input":
 > --8<---------------cut here---------------start------------->8---
 > for_window [title="^Emacs Sway input$"] \
 > 	floating enable, sticky enable, \
 > 	resize set width 90 ppt, resize set height 90 px, \
 > 	border pixel 2, move position 5 ppt 10 px
 > --8<---------------cut here---------------end--------------->8---
 >
 > 2. Create sway-completing-read.el:
 > --8<---------------cut here---------------start------------->8---
 > (defun spw/scale-default (frame)
 >    (set-face-attribute 'default frame :height 120))
 > (add-to-list 'window-size-change-functions #'spw/scale-default)
 >
 > (defun spw/sway-completing-read (prompt collection &rest optional-args)
 >    (let* ((frame-inhibit-implied-resize t)
 > 	 (frame (make-frame `((title . "Emacs Sway input")
 > 			      (minibuffer . only)
 > 			      (display . ,(getenv "WAYLAND_DISPLAY"))))))
 >      (unwind-protect
 > 	(with-selected-frame frame
 > 	  (set-window-scroll-bars (minibuffer-window frame) 0 nil 0 nil t)
 > 	  (apply #'completing-read prompt collection optional-args))
 >        (delete-frame frame))))
 > --8<---------------cut here---------------end--------------->8---
 >
 > 3. src/emacs -Q -l sway-completing-read.el --fg-daemon=test
 >
 > 4. lib-src/emacsclient -stest -e '(spw/sway-completing-read "Choose: " (list "one" "two" "three"))'
 >
 > Result before dbf22fd0d05: New graphical frame of size 90%x90px appears.
 > Result after dbf22fd0d05: New graphical frame of a different size appears.
 >
 > I think what happens is that Sway moves and resizes the new frame, but
 > then Emacs immediately wants to resize it after scaling the font size.
 > Binding frame-inhibit-implied-resize used to prevent that, but it's now
 > broken.

Two (maybe silly) questions:

(1) Is the

 > (defun spw/scale-default (frame)
 >    (set-face-attribute 'default frame :height 120))
 > (add-to-list 'window-size-change-functions #'spw/scale-default)

needed to reproduce the problem and how or why?  If so, then please tell
us (via GDB) when and how these bypass the

	  || !f->can_set_window_size
	  || !f->after_make_frame

check in run_window_change_functions in window.c.  If they do bypass it,
could you insert an additional

           || !f->tool_bar_resized

there and tell us what happens then?

(2) Is the

 >      (unwind-protect
 > 	(with-selected-frame frame
 > 	  (set-window-scroll-bars (minibuffer-window frame) 0 nil 0 nil t)
 > 	  (apply #'completing-read prompt collection optional-args))
 >        (delete-frame frame))))

needed to reproduce the problem and how or why?

Thanks, martin




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at 76275 <at> debbugs.gnu.org:


Received: (at 76275) by debbugs.gnu.org; 14 Feb 2025 08:24:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 14 03:24:31 2025
Received: from localhost ([127.0.0.1]:46917 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tiqzv-0005p2-5O
	for submit <at> debbugs.gnu.org; Fri, 14 Feb 2025 03:24:31 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:60068)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tiqzr-0005oj-Uo
 for 76275 <at> debbugs.gnu.org; Fri, 14 Feb 2025 03:24:28 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1tiqzl-0003Zk-Kx; Fri, 14 Feb 2025 03:24:21 -0500
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=UgEDrvps5/t/8BfTdGyyHyhthyVcBhj3Rx5MvV28L7s=; b=QZh0HvjtRYed
 ZP95ptsFcJ6fNpAG5/zSMgtpcM2sfOraJuNTONCmt/Dd5KCBwmWaAYuQlnmTVAmZmLPDUiBaWHibe
 nyjLFVw11P11Ldk7gEgxOmxW+H18iasat1lCMWvK2PBhyBpIUYsL/Gt5JS0+KJm7L4mm9Beg73ikr
 NRW3exoNW3zJmul7GFUeYmcgqt/Q/WtyBk8jmYudSpMu785SYTsXvIpa3c9TAtgMVIS2ZiGCmLCc1
 JNuMTR/d0PUKNNN1jSb/2Oca0Goz78RjEca4Yb+45NVUxiI20S2jWc6PzsxeTMhO8wukaGyhp9n8Z
 H4XsOKjyOIQk7nomHNGmng==;
Date: Fri, 14 Feb 2025 10:24:17 +0200
Message-Id: <865xldgci6.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Sean Whitton <spwhitton@HIDDEN>
In-Reply-To: <87tt8x5ho5.fsf@HIDDEN> (message from Sean
 Whitton on Fri, 14 Feb 2025 11:28:10 +0800)
Subject: Re: bug#76275: 31.0.50;
 frame-inhibit-implied-resize broken on recent master
References: <87tt8x5ho5.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76275
Cc: 76275 <at> debbugs.gnu.org, rudalics@HIDDEN, shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Cc: rudalics@HIDDEN, shipmints@HIDDEN
> From: Sean Whitton <spwhitton@HIDDEN>
> Date: Fri, 14 Feb 2025 11:28:10 +0800
> 
> By means of Git bisection I have discovered that commit dbf22fd0d05 to
> fix bug#74750 has broken frame-inhibit-implied-resize.
> Here is a reproducer:
> 
> 1. Configure the Sway compositor to move and resize new windows that
>    open if they have the title "Emacs Sway input":
> --8<---------------cut here---------------start------------->8---
> for_window [title="^Emacs Sway input$"] \
> 	floating enable, sticky enable, \
> 	resize set width 90 ppt, resize set height 90 px, \
> 	border pixel 2, move position 5 ppt 10 px
> --8<---------------cut here---------------end--------------->8---
> 
> 2. Create sway-completing-read.el:
> --8<---------------cut here---------------start------------->8---
> (defun spw/scale-default (frame)
>   (set-face-attribute 'default frame :height 120))
> (add-to-list 'window-size-change-functions #'spw/scale-default)
> 
> (defun spw/sway-completing-read (prompt collection &rest optional-args)
>   (let* ((frame-inhibit-implied-resize t)
> 	 (frame (make-frame `((title . "Emacs Sway input")
> 			      (minibuffer . only)
> 			      (display . ,(getenv "WAYLAND_DISPLAY"))))))
>     (unwind-protect
> 	(with-selected-frame frame
> 	  (set-window-scroll-bars (minibuffer-window frame) 0 nil 0 nil t)
> 	  (apply #'completing-read prompt collection optional-args))
>       (delete-frame frame))))
> --8<---------------cut here---------------end--------------->8---
> 
> 3. src/emacs -Q -l sway-completing-read.el --fg-daemon=test
> 
> 4. lib-src/emacsclient -stest -e '(spw/sway-completing-read "Choose: " (list "one" "two" "three"))'
> 
> Result before dbf22fd0d05: New graphical frame of size 90%x90px appears.
> Result after dbf22fd0d05: New graphical frame of a different size appears.
> 
> I think what happens is that Sway moves and resizes the new frame, but
> then Emacs immediately wants to resize it after scaling the font size.
> Binding frame-inhibit-implied-resize used to prevent that, but it's now
> broken.

Isn't there a race condition here between the resize done by Sway and
by Emacs?  If so, I think the previous result was just due to sheer
luck, as it was exploiting undefined behavior.

Apologies if this makes no sense, but I always wonder why people
expect something deterministic to happen when there are so many moving
parts (in this case: client-to-server communications, the
window-system management of frames, and the precise timing with which
Emacs calls window-size-change-functions).




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 14 Feb 2025 03:28:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 13 22:28:30 2025
Received: from localhost ([127.0.0.1]:46399 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1timNS-0008Nu-8t
	for submit <at> debbugs.gnu.org; Thu, 13 Feb 2025 22:28:30 -0500
Received: from lists.gnu.org ([2001:470:142::17]:49906)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>)
 id 1timNO-0008NX-PU
 for submit <at> debbugs.gnu.org; Thu, 13 Feb 2025 22:28:27 -0500
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 <spwhitton@HIDDEN>)
 id 1timNJ-0001OE-81
 for bug-gnu-emacs@HIDDEN; Thu, 13 Feb 2025 22:28:21 -0500
Received: from sendmail.purelymail.com ([34.202.193.197])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <spwhitton@HIDDEN>)
 id 1timNH-0004Gx-0X
 for bug-gnu-emacs@HIDDEN; Thu, 13 Feb 2025 22:28:20 -0500
DKIM-Signature: a=rsa-sha256;
 b=0RVGikSIMUvDQBI5xv+ecCNpHuuv+vbYOgcagf4r42oOpVGN2ySIj/q+ZKcK4fNN5IY6dQENlfjX9GOBDoLwsBMfd6Tngzg/gctN8jZdCk4sNUy1XO4ZR7vnT9jgFEYnl/z0pUHFHM6N42kwAp7cPEmO1whkaaLuwS7OlemskvmaXHow+4AGuw+Aj0JWMJIkL+mhHe75eVpA61JqRZSKPnnnABIWDzKo9JM8Kqac7nQB2u/sgQQ8vXyjoJFdlJ+z4ctJvn3A4meMjQLnKpPp188CCjCyLjwPgerO/JtgANFlXz4dF2Pv2PMheuh+WbANI8DoFEwJ/ZkAU6KjIDrh2w==;
 s=purelymail3; d=spwhitton.name; v=1;
 bh=Pswbobood6xjxxd6NJYLpAz9QbC8zTRZpBe/na+k/Jc=;
 h=Received:Received:From:To:Subject:Date; 
DKIM-Signature: a=rsa-sha256;
 b=P9YbvbgrpPWqH8tPxUBF/o7AzLX8Un+T9/oI6c8Ct5uAJ1fBP/rpU6f5lJDxe0cCpVhyANovSK8zd94KjMo6O4+YyGQb6U/OC5/z7KVT/tR5WgMsQignB96JzE7mOu1kdx1uSmKMKVSl4ag+jRHXppXY6lwwBaC4lE5xqaOy7jL/6qWRFQ7rjmnLQUBhKUPfpx8IroaepL6B99JMnzccMSHmAyFCTPpQaHfRrYdmFbveCKkRtk6XG5NAQ7NvhqkMgAU+92v5wub7Qh2rKdAVd2hvQZOgVJX73scy4FqwDCmXSr6ugzm9A5XrWXBaMBZ5AxOAZV1inxltUs5tUZnofA==;
 s=purelymail3; d=purelymail.com; v=1;
 bh=Pswbobood6xjxxd6NJYLpAz9QbC8zTRZpBe/na+k/Jc=;
 h=Feedback-ID:Received:Received:From:To:Subject:Date; 
Feedback-ID: 20115:3760:null:purelymail
X-Pm-Original-To: bug-gnu-emacs@HIDDEN
Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 1008388471
 for <bug-gnu-emacs@HIDDEN>
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384);
 Fri, 14 Feb 2025 03:28:12 +0000 (UTC)
Received: by melete.silentflame.com (Postfix, from userid 1000)
 id 1F0E07E16F5; Fri, 14 Feb 2025 11:28:10 +0800 (CST)
From: Sean Whitton <spwhitton@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 31.0.50; frame-inhibit-implied-resize broken on recent master
Date: Fri, 14 Feb 2025 11:28:10 +0800
Message-ID: <87tt8x5ho5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=34.202.193.197;
 envelope-from=spwhitton@HIDDEN; helo=sendmail.purelymail.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

X-debbugs-cc: rudalics@HIDDEN, shipmints@HIDDEN

Hello,

By means of Git bisection I have discovered that commit dbf22fd0d05 to
fix bug#74750 has broken frame-inhibit-implied-resize.
Here is a reproducer:

1. Configure the Sway compositor to move and resize new windows that
   open if they have the title "Emacs Sway input":
--8<---------------cut here---------------start------------->8---
for_window [title="^Emacs Sway input$"] \
	floating enable, sticky enable, \
	resize set width 90 ppt, resize set height 90 px, \
	border pixel 2, move position 5 ppt 10 px
--8<---------------cut here---------------end--------------->8---

2. Create sway-completing-read.el:
--8<---------------cut here---------------start------------->8---
(defun spw/scale-default (frame)
  (set-face-attribute 'default frame :height 120))
(add-to-list 'window-size-change-functions #'spw/scale-default)

(defun spw/sway-completing-read (prompt collection &rest optional-args)
  (let* ((frame-inhibit-implied-resize t)
	 (frame (make-frame `((title . "Emacs Sway input")
			      (minibuffer . only)
			      (display . ,(getenv "WAYLAND_DISPLAY"))))))
    (unwind-protect
	(with-selected-frame frame
	  (set-window-scroll-bars (minibuffer-window frame) 0 nil 0 nil t)
	  (apply #'completing-read prompt collection optional-args))
      (delete-frame frame))))
--8<---------------cut here---------------end--------------->8---

3. src/emacs -Q -l sway-completing-read.el --fg-daemon=test

4. lib-src/emacsclient -stest -e '(spw/sway-completing-read "Choose: " (list "one" "two" "three"))'

Result before dbf22fd0d05: New graphical frame of size 90%x90px appears.
Result after dbf22fd0d05: New graphical frame of a different size appears.

I think what happens is that Sway moves and resizes the new frame, but
then Emacs immediately wants to resize it after scaling the font size.
Binding frame-inhibit-implied-resize used to prevent that, but it's now
broken.

Thanks.

-- 
Sean Whitton




Acknowledgement sent to Sean Whitton <spwhitton@HIDDEN>:
New bug report received and forwarded. Copy sent to rudalics@HIDDEN, shipmints@HIDDEN, bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to rudalics@HIDDEN, shipmints@HIDDEN, bug-gnu-emacs@HIDDEN:
bug#76275; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 15 Mar 2025 16:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.