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#75056: 31.0.50; tty-child-frames with server / multiple clients possible hangs Date: Wed, 25 Dec 2024 13:54:56 +0200 Message-ID: <86r05w0ygf.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="10618"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 75056@debbugs.gnu.org To: Len Trigg , Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 25 12:58:23 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 1tQQ1u-0002eY-R6 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Dec 2024 12:58:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQQ1c-00087o-OX; Wed, 25 Dec 2024 06:58:05 -0500 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 1tQQ1b-00087f-2Z for bug-gnu-emacs@gnu.org; Wed, 25 Dec 2024 06:58:03 -0500 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 1tQQ1a-0003PR-QM for bug-gnu-emacs@gnu.org; Wed, 25 Dec 2024 06:58:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=rm0Crl1nYlCJeDjk4N+UA0iiXi7oiRP4rbXddloWaFk=; b=OkoP4MVQsT0T2htFvDs7+Cysk776BGk2TbsT7/lwFN6AS4VD0VtAUH+eKeYwbp4cMjAUZNuYAUMDapGN6EcgPfmkNQ9Pfvp3ewCZlbFoAnpFi90nM3k1LgOr2//Zas/4djE7oWB5LWL9iPtErSBJjgkMBWlOCTF/EHPzJHrfGV9UPJwKytlTvcmvyKKAGU8ad0pxux7yqIINUcVR0zmMdv0KkuGzDcCleq3Zkhf3FIxbEj3rLFOXOuWVc8BXn3rBgTiJ7jvJPHJ6XWruD3z3zXPFr93NOy8GAwBRLXrxkezZDRxE1cl/Maz+BdkiOGs1CHQMKro16X5mqxwuJ7PDcA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tQQ1a-0008Mt-BP for bug-gnu-emacs@gnu.org; Wed, 25 Dec 2024 06:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Dec 2024 11:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75056 X-GNU-PR-Package: emacs Original-Received: via spool by 75056-submit@debbugs.gnu.org id=B75056.173512784032104 (code B ref 75056); Wed, 25 Dec 2024 11:58:02 +0000 Original-Received: (at 75056) by debbugs.gnu.org; 25 Dec 2024 11:57:20 +0000 Original-Received: from localhost ([127.0.0.1]:36408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQQ0t-0008Lj-Pz for submit@debbugs.gnu.org; Wed, 25 Dec 2024 06:57:20 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38386) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQQ0r-0008LS-Qt for 75056@debbugs.gnu.org; Wed, 25 Dec 2024 06:57:18 -0500 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 1tQPyf-00032K-47; Wed, 25 Dec 2024 06:55:01 -0500 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=rm0Crl1nYlCJeDjk4N+UA0iiXi7oiRP4rbXddloWaFk=; b=YpRRYvlv3Vv3zXpENprR 0toDi+jCM3Ay+dxi60j3QRnSPh8a+EANtmmusDoPslIw3L4cu3If7vYPNVlv/Fz0McMHtZKlMjwea V06nf5of4gFA7PaNOyCkPjNKMWAbolgi26fML6btoA5e5H+0YuVKUTJlZe1/FvStT0zantPBahX+r qZqmSRyQakAKeT+nYRH/110KlugFKR3kb0FNqTsL7cNmttujNTZlmVdO6dwnMYggyobqkI4XygNgH izkno7TY6ZnQe0fsNzwnYRthcXhgq4ebpJ0E6GmX+/9e80cXDhVjghG7uhDWS3ESa/SJzv68rqKWF N1mQhbYo6ije2g==; In-Reply-To: (message from Len Trigg on Tue, 24 Dec 2024 18:43:29 +1300) 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:297727 Archived-At: > From: Len Trigg > Date: Tue, 24 Dec 2024 18:43:29 +1300 > > tty-child-frames does not seem to play well with multiple clients. When we run server-start and allow emacs to > have multiple clients (e.g. an initial "emacs -nw" and an > "emacsclient -nw"), using a function that utilizes tty-child-frame (such as M-x when vertico-posframe is > loaded) in one frame leads the other client to be locked up. > > Steps to reproduce: > > mkdir ~/emacs-test > Copy the attached init.el into ~/emacs-test/ > emacs -nw --init-directory=~/emacs-test (the first time will result in packages being installed by elpaca) > (in another terminal) emacsclient -nw > Do something to invoke the child frame pop up (e.g. C-x b and select a buffer) > Switch back to the original emacs > Do something to invoke the child frame pop up (e.g. C-x b and select a buffer) > Swap to the other terminal, and note that at some point one client will stop responding > to user input. (It may take a couple of tries, perhaps with other regular commands interspersed). > When one client is locked, swap back to the other terminal and exit the client - the original > client will now accept user input. > > When a client is locked it *does* accept some input (e.g. C-x C-c will exit the client) > > It's possible this is vertico-posframe related, as I can't trigger similar behaviour using transient-posframe. Gerd, could you perhaps look into this?