From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: Question about dubious code for terminal frames Date: Mon, 02 Sep 2024 18:38:58 +0200 Message-ID: References: <86wmju8em4.fsf@gnu.org> <86ed628aa3.fsf@gnu.org> <868qwa86nq.fsf@gnu.org> <867cbu842s.fsf@gnu.org> <864j6y82ye.fsf@gnu.org> <8634mi813y.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35453"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org, rudalics@gmx.at To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 02 18:39:37 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 1slA5Z-000921-9L for ged-emacs-devel@m.gmane-mx.org; Mon, 02 Sep 2024 18:39:37 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1slA5B-0004cv-3X; Mon, 02 Sep 2024 12:39:13 -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 1slA53-0004ce-PY for emacs-devel@gnu.org; Mon, 02 Sep 2024 12:39:06 -0400 Original-Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1slA50-0002Hd-Ut; Mon, 02 Sep 2024 12:39:05 -0400 Original-Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-5334a8a1b07so5402220e87.1; Mon, 02 Sep 2024 09:39:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725295141; x=1725899941; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=T8IsMIHgiwVGhP9tKBX8qXOkOfaa7MuEIJIhEb1oJbw=; b=UUNbmsL8O+3DmYAr5yCEF1JtsqAFV7CXmIpc8qD1nqA3/NwS8GoUvRq6hu4B+igwFw nNBEMNIsjSgMHlyVF9h6ZyeChhTlpJ06lJ9A+Do5q9fO+fJUCCWZBVEU27I3rNtliJQB plIFCW0Nmv24r6ccSla8KD/XyMlOvTPOHwZA3HPGliRRGihxbWMBSMEwJfNkgqCVQ/fc MAY2NT8zlCb2mxK/nQGAbfkaORRrSyUuQp5lzhCGuyLFU9HqLtHN36yLtS65tcsG07aA Uz+rWuuR6DoLAb8R86bgrl17O9z7OwZLBi62wIoxSM5sVVN74IU9l4/9JfrWrgXtkZ5H BOWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725295141; x=1725899941; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=T8IsMIHgiwVGhP9tKBX8qXOkOfaa7MuEIJIhEb1oJbw=; b=e32TGXneGSQPmhZV2458KdAQXQUCw6Y5j8cm+CJcCt74iBwYSalAQDcxJbQAjVwWJ8 IJOA9DAg6T9D2PAoQmWsbfVn893p9RLXylwm+9r7zhk9vSw9hgAciNQ0FKeIS1fP1r/y xHRTBAE5TjPvAX59PlZ0uqaTbJz+8/tJ7GwjhPG5TqW68pSvd2cvEoUFZXp5TVEyUQd2 eJvbkwVieSvPJenSoBpS/spGKvlNaX4k4matZE+xb5v4sLHEZATU3Fn8W4m1w3doPwTV aDRdYL2zKJUzw/R0Tzql00AHlY1tpFksJKcAp8kW3C+UJ0M3ujmLhDhTLkY6/3YnvBWE 43cg== X-Gm-Message-State: AOJu0Yw9OQI7Kc6FyvfI3X8a2cAghv/q5Of9mxtp5CpBbjZSPA/42lwr bTWxeSBWWWZRmFTchiZtCcJXlTrXdzypjO3cpcy85kDnSAcLe8Sf X-Google-Smtp-Source: AGHT+IFp/dn5GUbNj1CmyEusYTwSc4uLKDueH5TUcnt1mNyaI4a+DNjoc91/9Y/ogNqi+U0oxwEU9Q== X-Received: by 2002:a05:6512:2814:b0:530:dab8:7dde with SMTP id 2adb3069b0e04-53546b451b4mr6290446e87.34.1725295140235; Mon, 02 Sep 2024 09:39:00 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3a928.dip0.t-ipconnect.de. [79.227.169.40]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a89891968b0sm580195966b.107.2024.09.02.09.38.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Sep 2024 09:38:59 -0700 (PDT) In-Reply-To: <8634mi813y.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 02 Sep 2024 19:35:45 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::135; envelope-from=gerd.moellmann@gmail.com; helo=mail-lf1-x135.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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:323302 Archived-At: Eli Zaretskii writes: >> From: Gerd M=C3=B6llmann >> Cc: emacs-devel@gnu.org, rudalics@gmx.at >> Date: Mon, 02 Sep 2024 18:24:12 +0200 >>=20 >> Eli Zaretskii writes: >>=20 >> >> From: Gerd M=C3=B6llmann >> >> Cc: emacs-devel@gnu.org, rudalics@gmx.at >> >> Date: Mon, 02 Sep 2024 17:46:43 +0200 >> >>=20 >> >> Eli Zaretskii writes: >> >>=20 >> >> > Martin will correct me if I'm wrong, but I think the current code >> >> > already does what you want: it only changes FrameCols/Rows when the >> >> > terminal was really resized. >> >>=20 >> >> It obviously does not. I mentioned what happens when making child fra= mes >> >> in adjust_frame_size in my case. There is no SIGWINCH involved. Which >> >> makes me suspect that you are not taking adjust_frame_size into >> >> account? >> > >> > I wasn't talking about child frames, I was talking about "normal" >> > frames. >>=20 >> We're taking past each other. > > Maybe. You were criticizing the existing code, which wasn't supposed > to handle child frames on TTYs, so I interpreted that as unrelated to > child frames, like a kind-of general critique of the design and > implementation of frame resizing on TTYs. And that was the context in > which I replied. And I said I wonder if one couldn't brew a make-frame, a normal frame, that also leads to the same problem. And you said here's a bug for that.