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#71343: 30.0.50; TTY frame doesn't automatically redisplay itself after having closed another frame Date: Thu, 06 Jun 2024 16:44:00 +0300 Message-ID: <86cyougp9b.fsf@gnu.org> References: <86o78egucl.fsf@gnu.org> 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="29386"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eggert@cs.ucla.edu, 71343@debbugs.gnu.org To: Daniel Clemente Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 06 15:45:10 2024 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 1sFDQT-0007Uk-Th for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Jun 2024 15:45:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sFDQ9-0007xa-6s; Thu, 06 Jun 2024 09:44:49 -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 1sFDQ8-0007vf-8g for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2024 09:44:48 -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 1sFDQ8-0007ep-0A for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2024 09:44:48 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sFDQM-0007JH-7J for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2024 09:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Jun 2024 13:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71343 X-GNU-PR-Package: emacs Original-Received: via spool by 71343-submit@debbugs.gnu.org id=B71343.171768147228049 (code B ref 71343); Thu, 06 Jun 2024 13:45:02 +0000 Original-Received: (at 71343) by debbugs.gnu.org; 6 Jun 2024 13:44:32 +0000 Original-Received: from localhost ([127.0.0.1]:52730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFDPr-0007IK-LM for submit@debbugs.gnu.org; Thu, 06 Jun 2024 09:44:31 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFDPm-0007I4-1s for 71343@debbugs.gnu.org; Thu, 06 Jun 2024 09:44: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 1sFDPR-0007Zm-0Y; Thu, 06 Jun 2024 09:44:05 -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=hZsVeE95Ku7GnlU/LC9pIw5vKbe0ILDboXdNNVrgDv4=; b=PQlgRP1XLgTjQxmUf6pg PrgqDqAYcYckpRj0TK/rKtGEn+cXtyztZzzyzrJTRm0Qw/CFZRbUBQtzVp7qC183CYr1AYwIYXWmO TTS/oSTwlE4YGzZqVrx3LpeoyLAArHc6oBDp3OlzxZX+v3h8fXDRYaUSlj4tPoVpkTFrpLE6oGUVy 3S8YkxCZCbYY3zkmXWxAAW0NXp4cwYYllp1Io2b4i/7EID3RupIVM1S7k3uaX8DTkPlyCqspbIu8q +hQIcbgl17lq2zMi08eHOCprrfXoZmEEDpZWPwpKBThccD5FwgSNBhNpPWnBV2u3Li67QuDpgN3Xv Pl89gV+kbQQsVQ==; In-Reply-To: (message from Daniel Clemente on Thu, 6 Jun 2024 13:24:59 +0000) 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:286700 Archived-At: > From: Daniel Clemente > Date: Thu, 6 Jun 2024 13:24:59 +0000 > Cc: Paul Eggert , 71343@debbugs.gnu.org > > Random ideas, without knowing much about terminals. > - Can't an X terminal detect „I've been given X focus“ and pass this > signal to the program running inside it? You assume that it will be a terminal belonging to Emacs that will get focus? That is not given. > - What if, when closing a TTY frame in emacsclient, all other frames > are redisplayed Why? > - What if, when resizing the frame (something which Emacs detects), > Emacs knows/detects that a frame was closed, and decides not to delay > the redisplay? Redisplay of which frame? Emacs only redisplays a frame if some change in buffer text justifies that. > It's ok if it can't be fixed. I'm surprised that others didn't have > this issue; but maybe not many are running TTY emacs (no X) inside an > X window. It is a rare and not very interesting situation: users aren't expected to kill terminals, they are expected to "C-x #" to close Emacs displays. > I'm concerned about preventing cases in which the lack of redisplay > can cause larger problems like mangled text. Lack of redisplay cannot possibly produce garbled text because only displaying something can do that.