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.devel Subject: Re: Question about dubious code for terminal frames Date: Mon, 02 Sep 2024 14:44:03 +0300 Message-ID: <86wmju8em4.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35343"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, rudalics@gmx.at To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 02 13:44:33 2024 Return-path: Envelope-to: ged-emacs-devel@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 1sl5U0-000937-91 for ged-emacs-devel@m.gmane-mx.org; Mon, 02 Sep 2024 13:44:32 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sl5Ti-0001oM-OT; Mon, 02 Sep 2024 07:44:14 -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 1sl5Th-0001o9-Fo for emacs-devel@gnu.org; Mon, 02 Sep 2024 07:44:13 -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 1sl5Tg-0001FZ-Uo; Mon, 02 Sep 2024 07:44:12 -0400 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=PD2L6MaKlzgN4sL2FOTFjIqLo5V5bgQAmQeNgVezp2A=; b=olUsb4lCcRzPkKQdze8X QQKvb0NLflcujR8hlOJn7P1Ds32GNNTy1pQ1rev2IQTuuUF/K/7dM20jd2eK/vrKOYW2Vqkdgdy2k 7SC0/lnruwVKRp/9XvpFHg8a4voTgaG8HqP5dWU9nRgxZNxDFauBdVdIzhUheE2w03n4kETdTVOA0 GYkMZ81BlvbL5E8nu90E7moJhZgCyUbba6NN3aY64Sm0kdScJjZRQuJbk5+X6uDOjtB+HbRuIshAe teIlfcDRv0Pp8B46042h3+ENRBPPqKXH305VYcnlJl8XOZLxpGD5H8dcSn/Rgu0EI/Raq+qIovyzd ODUOiMQ9rKsdtQ==; In-Reply-To: (message from Gerd =?utf-8?Q?M=C3=B6llmann?= on Mon, 02 Sep 2024 11:04:02 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:323278 Archived-At: > From: Gerd Möllmann > Cc: martin rudalics > Date: Mon, 02 Sep 2024 11:04:02 +0200 > > In 3 places, among them adjust_frame_size, which is why I CC'd > Martin, Emacs sets the values of FrameRows/FrameCols. > > AFAIU, these two values give the physical size of a terminal (screen, > window), as returned from the co and li escape sequences on termcap > frames. And I can't find code that tries to change the physical size of > the terminal, if that would even make sense in the first place :-). So > this doesn't make any sense to me. Did you consider SIGWINCH? Its handler also calls adjust_frame_size.