From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#65217: 29.1; set-frame-size gets confused and drops calls Date: Fri, 18 Aug 2023 09:37:28 +0300 Message-ID: <83h6ow500n.fsf@gnu.org> References: <3444890c-9111-5785-e683-8a2119e624b6@catgirl.ai> <83sf8i578j.fsf@gnu.org> <47724cb8-8448-e210-621f-9c3883bdc0ca@gmx.at> <8dc2bd48-d285-9911-3b69-2506fb7ea2a5@catgirl.ai> <83r0o051w5.fsf@gnu.org> <0b210770-99d2-2fd6-ae76-8c44d5902ab5@catgirl.ai> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17967"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rudalics@gmx.at, 65217@debbugs.gnu.org To: Ash Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 18 08:38:28 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qWt7r-0004U8-Hg for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Aug 2023 08:38:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWt7V-0004CE-Tk; Fri, 18 Aug 2023 02:38:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qWt7R-0004By-Sl for bug-gnu-emacs@gnu.org; Fri, 18 Aug 2023 02:38:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qWt7R-0004nd-KR for bug-gnu-emacs@gnu.org; Fri, 18 Aug 2023 02:38:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qWt7R-0000jD-PO for bug-gnu-emacs@gnu.org; Fri, 18 Aug 2023 02:38:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Aug 2023 06:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65217 X-GNU-PR-Package: emacs Original-Received: via spool by 65217-submit@debbugs.gnu.org id=B65217.16923406502754 (code B ref 65217); Fri, 18 Aug 2023 06:38:01 +0000 Original-Received: (at 65217) by debbugs.gnu.org; 18 Aug 2023 06:37:30 +0000 Original-Received: from localhost ([127.0.0.1]:45979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWt6w-0000iL-IB for submit@debbugs.gnu.org; Fri, 18 Aug 2023 02:37:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWt6u-0000i5-30 for 65217@debbugs.gnu.org; Fri, 18 Aug 2023 02:37:29 -0400 Original-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 ) id 1qWt6n-0004hQ-AY; Fri, 18 Aug 2023 02:37:21 -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=TBum7hu+6yZs5BG+DF6J8XjlYiE9m+cr8KD7Oxg8KiI=; b=ZPcHIM6QYC6m 4x2upar+5I5E5l/UNnxkAmHS5S1g8NIyovkeRQJlXcmAdK/aJclUfHwOuuQaLFW087WFVIWu++Zi/ fLBVpUp3//9qEF2e6pBdhd0/rV6hUnGHm9HD7F7SQYlcady5jBlzPZi4hn4Pmw5b90EBdfuWAA0Mc Qn+X7krIGmjd5V3rtkZU4KMbwEX4ynbWyypZvAd23VNuBQBjjFl0GCUV4QokPh4PIlYgJSHvJOemz 9hzjMzG0EUbK8A4CDK9SMH7T1tavKKUN+mHfvOShd+ZxhWhOOIuPZPcZOlmqLNPV9eiiEDptDLfmR d2ZEfY31YCztugPkCM/CTA==; In-Reply-To: <0b210770-99d2-2fd6-ae76-8c44d5902ab5@catgirl.ai> (message from Ash on Thu, 17 Aug 2023 23:04:06 -0700) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:267727 Archived-At: > Date: Thu, 17 Aug 2023 23:04:06 -0700 > Cc: rudalics@gmx.at, 65217@debbugs.gnu.org > From: Ash > > On 8/17/23 22:56, Eli Zaretskii wrote: > > Can we close this bug, or is there anything left to do here? > > IMO the fact that a set-frame-size call can fail to have an effect is absolutely a bug. I disagree. It is a consequence of the fact that the actual resizing is performed by the window manager, and that Emacs must wait for the window-system response event to perform the resize correctly. Lisp programs that perform several such operations in a row must inject short wait periods to allow for the processing of the window-system events. That's what Martin meant by saying that using sit-for solves the problems. So this isn't a bug, but a limitation caused by the way Emacs's interaction with the GUI systems is designed. If by "bug" you mean that design, then it is pointless to keep such "bugs" open, since no one is working on redesigning that aspect of Emacs, nor intends to do so any time soon.