From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#65217: 29.1; set-frame-size gets confused and drops calls Date: Fri, 18 Aug 2023 13:26:04 +0000 Message-ID: <94e8ba2aff75a991a064@heytings.org> References: <3444890c-9111-5785-e683-8a2119e624b6@catgirl.ai> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14130"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 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 15:37:24 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 1qWzfI-0003SH-Lw for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Aug 2023 15:37:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWzeh-0006G9-74; Fri, 18 Aug 2023 09:36:47 -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 1qWzVG-0002xQ-On for bug-gnu-emacs@gnu.org; Fri, 18 Aug 2023 09:27: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 1qWzVF-0000ia-Kl for bug-gnu-emacs@gnu.org; Fri, 18 Aug 2023 09:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qWzVG-00068A-1B for bug-gnu-emacs@gnu.org; Fri, 18 Aug 2023 09:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Aug 2023 13:27: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.169236517023497 (code B ref 65217); Fri, 18 Aug 2023 13:27:01 +0000 Original-Received: (at 65217) by debbugs.gnu.org; 18 Aug 2023 13:26:10 +0000 Original-Received: from localhost ([127.0.0.1]:46379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWzUQ-00066u-Hu for submit@debbugs.gnu.org; Fri, 18 Aug 2023 09:26:10 -0400 Original-Received: from heytings.org ([95.142.160.155]:43382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWzUN-00066h-Re for 65217@debbugs.gnu.org; Fri, 18 Aug 2023 09:26:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1692365165; bh=EKQgtpBsPCaPRL0dVmEubESkxqjEIpFS9k0U4oY/wK8=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=IiQMSEkZRYRnmIDJXCUeW7kAafuwlT/SCckrTdQ82G6gsQ+xZNhyhLdacfU9453HL McEmKIcHc340LRZ06utZ7YzLbQSi7JelZOHJ+W4MuSm6lx30ay7iWz/vOc5QEVBgXA PbAkC8Ck+PZNKoNXBUOTFZD5dzKPGUZFm+CgeKZgnafXy6Dj16H6S0SUvrg4JPXYuu bicTjnyXPxYEMIDCqzyMP7NqbaaQGZqLpdXZlqtO2IuXnd76eDYn+Mj1kkJ4W0q9DE 2j9ca7+H3c4aLIP9QFJB8Qk11m2OcjabjXNaCiCN7ggXpA3P5bP+YiKh1UpDsN+OO9 qObdzwKe9taIA== In-Reply-To: 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:267764 Archived-At: Ash, can you please try the following variant of your recipe? Does it do what you want? (setq my/frame (make-frame `((left . 500) (top . 5) (width . 20) (height . 20) (parent-frame . ,(selected-frame))))) (defun my/twiddle (width height) (set-frame-size my/frame 10 10) (redisplay t) (set-frame-size my/frame width height) (redisplay t) (message (format "%s %s" (frame-width my/frame) (frame-height my/frame))))