From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#75056: 31.0.50; tty-child-frames with server / multiple clients possible hangs Date: Wed, 25 Dec 2024 12:59:50 +0100 Message-ID: References: <86r05w0ygf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22110"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Len Trigg , 75056@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 25 13:01:21 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 1tQQ4n-0005a2-BP for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Dec 2024 13:01:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQQ4W-0000kD-VA; Wed, 25 Dec 2024 07:01:04 -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 1tQQ4V-0000jf-8v for bug-gnu-emacs@gnu.org; Wed, 25 Dec 2024 07:01: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 1tQQ4T-0003zx-Sy for bug-gnu-emacs@gnu.org; Wed, 25 Dec 2024 07:01:03 -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:Date:References:In-Reply-To:From:To:Subject; bh=Y216f5swykUXUFiYdre7eqzRwHQFlZ/TuV5qGLxdDLA=; b=ryqXy2jYBwHVLGrbZx2PjpOMMQK78LJN3ssqf07BZDCaVCSqSs7KzH3zr9T8PKGxdy0yPbTtmYNLwYWMcusrh8z7dUWZajND5j4qMyWJDPgsErzBDlRqUM6wCkFAzsE5M6E7Z8wlMKfqbE2hBxkmn+9W/BC+DIdmA8hqv65JeWR5Ywhxy1O/kF1V/PPaNDFf+tt2/j6DEqy3XlqqPPMxqHkOMY6+siJ+vaAKE7M04ZXCyIRZ5zdNS0S/0tUDvZZBi4VvC2CJ6pguc8rW9gTuRxf8t6fgirGczPwNSVwChrDF2xMkfOdyB8LbrmrevU4n/3WP+g/lOkUvko7bKsuGOQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tQQ4T-00008y-MO for bug-gnu-emacs@gnu.org; Wed, 25 Dec 2024 07:01:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Dec 2024 12:01:01 +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.1735128057533 (code B ref 75056); Wed, 25 Dec 2024 12:01:01 +0000 Original-Received: (at 75056) by debbugs.gnu.org; 25 Dec 2024 12:00:57 +0000 Original-Received: from localhost ([127.0.0.1]:36422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQQ4O-00008U-Qp for submit@debbugs.gnu.org; Wed, 25 Dec 2024 07:00:57 -0500 Original-Received: from mail-ej1-f46.google.com ([209.85.218.46]:53354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQQ4M-00008M-N6 for 75056@debbugs.gnu.org; Wed, 25 Dec 2024 07:00:55 -0500 Original-Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-aa6c0dbce1fso818277466b.2 for <75056@debbugs.gnu.org>; Wed, 25 Dec 2024 04:00:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735127994; x=1735732794; darn=debbugs.gnu.org; h=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=Y216f5swykUXUFiYdre7eqzRwHQFlZ/TuV5qGLxdDLA=; b=UO3+x+XXVh5J0M1KUKhfIdA8Q0CVv+VDNHg6cZjMBasWfZ462gtSY4WxSdR+fBoG/g TzRKpLwJgkHmfxC5IUH/POxGWhyh+4emUa41BUqgzBDkje2lhya5ZFDyiv9tyTmFhyNg 1d//pmrTeD318g9qIl5au6OdVosaNRZRbbaYG2NzoEC326LS9DSrBH++OqgG5ht7CzOp 5iMV/IpY0amBqMiSXFJL7A5ReverUesdIvzik/1ss/bcBiSW8snS2yn5fY7pV/YPCAB6 IHLc4N1BD5bHWUXF4Zfa34es+K8FhtTzh7cjedh6Q06q053GIASTjXnbAGw3PCXZeq27 F7sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735127994; x=1735732794; h=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=Y216f5swykUXUFiYdre7eqzRwHQFlZ/TuV5qGLxdDLA=; b=oBpXMGj7kyTvrkolOLZHsIiDu1tfX3UbznwF6u5edYiAr9lVjyJwHIVdKqiMVm8XHG DzDt/db7j+BeXDBSr3tq+XZQP2Gm6UVQc9dwnQ74PDMsI72sUT+32+i61vR2nxL3ZY+y l7O71mtf8aE0fKvIfR2b0bXzzYx+E0q1fgjFkFLYVzMppLfqpUjLlukjMck3uflkoggw Z1FqhxcPeRKPcNJHsyZkBnFGHH1IRnsjHsc1gALiSEVDzUD3Wi8rgBrJ3AWx+HIoaYQq f7VV/3xbmXvYHtLbyLHJaBYM5CnQNN4+ClQneVhqphCLCSiUn+t7w/iFX2j3phGg8TTn PYww== X-Forwarded-Encrypted: i=1; AJvYcCXQvqxYW1OUIfdbC9dP44TD7lGltUKGoM9J2rxr1aZ7fGKqPSHPtYPXm9bzfbdRVqGcmiGHNQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YznOQy5z1DLnS2Zn4/DkxX/2NmoFUQQPFG1/mQAe7c4AMac5BeU yT4lkZL9MHsCLg9mpyFmiYrnXvhXRIdoEMVnms+aIql5F2nP4rW0l4SUqtD2 X-Gm-Gg: ASbGncsS+qelDmKrlzPPAy6siZQ1TwVdr3NSxT6dK8kd7glClsmFTjyjtYI+T6T0975 +7CMxthCS7koMnXMRh00USQWO/GPjP+jzLr6n7ca0BPaCxPlXi7C+EF2W66yv9lmHLjqFLqY7Kb Y1EHJAxT7hkAxvmfQrvNv1yVmelo38IQDiuNeE3evTaayamSd1ONmz0d4ZJA4MkvfbaEqfwbXUg xQCSRvLpH/4mGPB8M6BStEKIbbXO4lh+PjmLjw2gWbK1jPxARzXkA+RJ91Tp0Pzrbn+rY3RDzEl x9XFXlxw5DC0s4yEuRf8/4F3+ldEhKMiTCGL8PaRSPSxgi0hO44VHalOZrZRXoHPXA== X-Google-Smtp-Source: AGHT+IHSA+sTANHApyH6bHCNibN+vxGUx7oNYz1Ox3baL01PRnpeRdQh+JTEhCs035iWf7xEyD1B4w== X-Received: by 2002:a05:6402:210f:b0:5d0:cfad:f71 with SMTP id 4fb4d7f45d1cf-5d81de1c921mr46057664a12.32.1735127993137; Wed, 25 Dec 2024 03:59:53 -0800 (PST) Original-Received: from pro2 (p200300e0b73d6f00401d1c7c2fc22e2d.dip0.t-ipconnect.de. [2003:e0:b73d:6f00:401d:1c7c:2fc2:2e2d]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aac0efe46f6sm785269066b.111.2024.12.25.03.59.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Dec 2024 03:59:52 -0800 (PST) In-Reply-To: <86r05w0ygf.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 25 Dec 2024 13:54:56 +0200") 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:297728 Archived-At: Eli Zaretskii writes: >> 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? Thanks. Will come back to this after the holidays.