From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Len Trigg Newsgroups: gmane.emacs.bugs Subject: bug#75056: 31.0.50; tty-child-frames with server / multiple clients possible hangs Date: Sun, 29 Dec 2024 08:55:51 +1300 Message-ID: References: <8634i9y1wa.fsf@gnu.org> <86wmflwlok.fsf@gnu.org> <86v7v5wbqs.fsf@gnu.org> <86msghwa6q.fsf@gnu.org> <86y100utwa.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0000000000006ab32c062a59f882" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19631"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, 75056@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 28 20:58:09 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 1tRcwr-0004y5-FI for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 Dec 2024 20:58:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRcwo-0001tJ-78; Sat, 28 Dec 2024 14:58:06 -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 1tRcwk-0001t6-TU for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2024 14:58:02 -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 1tRcwk-0002aa-Ki for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2024 14: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=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=oZtWWrDzD35yObM2F562CCw0Xg/BMlpqu0LXVf95RgI=; b=ml6iZ3+zd7RHwAsip7rEQwODRsSxUD1CF/kV65oLkHMw2CuMYctc340Hq6Qgzh8wY/C7wXaEeQMCjpezOY/LLvCLHHzvDL1TpVwQDz6ZBUJb9TgkuAqv/ctSkScPcjK8qV6iaezoOebUba3+Y9hnHhaEkhQsw0JkMg800VFxbAhY+6/UmrKjRpcJBotqDJf/nUUJhAiw22wxYN4iMeBlD2GTp+if8gpNRyNXeAn0rVuNwNw4jY7hlTykVhhEjpmKr1WM4lND2UXgUAqFjVQLffar1+9cGxOA2sSwhyvTRZQheVHIy53fsws2THwt//Pz7PskIgW0y2/4ZC4nH3gVew==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tRcwk-0006Yl-FY for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2024 14:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Len Trigg Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Dec 2024 19: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.173541583225155 (code B ref 75056); Sat, 28 Dec 2024 19:58:02 +0000 Original-Received: (at 75056) by debbugs.gnu.org; 28 Dec 2024 19:57:12 +0000 Original-Received: from localhost ([127.0.0.1]:52685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tRcvw-0006Xf-5R for submit@debbugs.gnu.org; Sat, 28 Dec 2024 14:57:12 -0500 Original-Received: from mail-lj1-f177.google.com ([209.85.208.177]:58544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tRcvt-0006XU-S6 for 75056@debbugs.gnu.org; Sat, 28 Dec 2024 14:57:10 -0500 Original-Received: by mail-lj1-f177.google.com with SMTP id 38308e7fff4ca-2ffd6b7d77aso108028441fa.0 for <75056@debbugs.gnu.org>; Sat, 28 Dec 2024 11:57:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735415769; x=1736020569; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=djyGjeret4eEKe9IIUb7w29nKpejU991+KVnu7z7rQs=; b=ElM0tlr7cBX+1begZFQMltpYMkQ2MlUSxV/b/aajmnF3xv7T0wZvlUF1GKM/6/1iau gQSpS8eIvgZPnghiqeyQmeb+8dGsd9JeQSPK+Wa7PNPJzpBjaZT1fRZEzF5I3k+aVN0U EIf+3mP+k+GpMc+wDkoo5fSnLTeIu/XIhgBuuzPq4QfcPgOyT6UeHprndbIn0/TpsChZ dyS7uOBg4jpCOjhjWVkk97177QOuvDScMxOZDlfHfPlcjfr0ZpDUWTl5byqru6lhdNtc wDnmSLDbA+CV2MewwqUs7UYOoQ3Xyh/JZX46LQwZBSREGvdaLbxfNzivQ+4aHttEVg0g FZPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735415769; x=1736020569; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=djyGjeret4eEKe9IIUb7w29nKpejU991+KVnu7z7rQs=; b=FT36VAr7/5occBiLVVbNXB0fGtoBnkx16SRVv0XwrXhhjEIfdVtyHL3JC5leGtGsur u242lWY9RVQkQZ4FX7QrDmkQLES3SXz2Sz1SDqSIgJtpRNQlW3t8xQMfPXXFdtv4NA5V rj9wh9lnVHYFV5usbOFtr8nGxzvkE8n1SUwnIcX5Z+dvH6sCY1o431EjQkHxTis7iQNi OJ3QViQidWl1niRFVyhQIqf6RazP1FI/1DamvsfhwsoWyeI+pUnG8vzwIKfpXfiaX5vs i22jC6rGEfqZTiGKSEI1AJxfpC2HoPhxsNeJmy+NMErAuVyUDGEwcfKKhB1MYdQdTvvB HicQ== X-Forwarded-Encrypted: i=1; AJvYcCWT8Nj9tQyb5Uq7SFS5bnK9qYZ0KMBxV4FFOAaloQaryh27bmrV+bOeClIJjPE8CbzpDliK0w==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzcDJYidhNZ2S1ePv3ey7mVNpZOPkehk9Q3mKerv5m6AwAX78FV lbv8isBUkmkK8Wtx4cLpg+bJ35rRTB7QilEkbi4/VhO8cF+JabM+oJ7CTwwzIzNKchA8MCtRuGb 6Lur6bghRG/01DuwgmGCPSS4KB5c= X-Gm-Gg: ASbGncsU781fECHzjJzAJDqbB+mQJnuDR+vQbv8J3w3yOzsTvdM2MY0nZ4kMEoohyAl fQUtpUxexzPBtNpN4KU2DQnGTDB4A0/D7Ca4= X-Google-Smtp-Source: AGHT+IEzIo1hVGe8RA41y3sdNPCmsR/UNzs+FuQLZLr8iJ4CMAd2iXn7/WppcpzNK6yuUiuXeVn3l++mNyrfe88xU3Q= X-Received: by 2002:a05:6512:1394:b0:540:1ec0:4d86 with SMTP id 2adb3069b0e04-54229533e4fmr9468466e87.17.1735415768449; Sat, 28 Dec 2024 11:56:08 -0800 (PST) In-Reply-To: <86y100utwa.fsf@gnu.org> 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:297920 Archived-At: --0000000000006ab32c062a59f882 Content-Type: multipart/alternative; boundary="0000000000006ab328062a59f880" --0000000000006ab328062a59f880 Content-Type: text/plain; charset="UTF-8" On Sat, 28 Dec 2024 at 20:52, Eli Zaretskii wrote: > Could you please extend your recipe so it starts from "emacs -nw -Q"? > See, I don't have posframe or elpaca installed and don't use them, and > don't want to install them just to reproduce and debug this problem. > Unless there's something I'm missing, the init file and startup command I provided did the installation of those files for you into a temporary directory, so I thought that was the easiest self-contained path to reproducing. Let me assume you've run it once that way initially in order to fetch the packages (otherwise you can manually download the files if you want and adjust the paths in the below command line, but be aware that you need new enough versions of posframe that understands tty child frame). Then to get a "emacs -nw -Q" initialization you can use the attached test.el to do: emacs -nw -Q --init-directory=~/emacs-test -l ~/emacs-test/elpaca/repos/vertico/vertico.el -l ~/emacs-test/elpaca/repos/vertico/extensions/vertico-multiform.el -l ~/emacs-test/elpaca/repos/posframe/posframe.el -l ~/emacs-test/elpaca/repos/vertico-posframe/vertico-posframe.el test.el Then manually "eval" the remaining commands in test.el (in another terminal) emacsclient -nw Then invoke the child frame pop up: (C-x b and C-n to select *Messages* and RET). Now we're no longer in a minibuffer. Switch back to the original emacs terminal Invoke the child frame pop up: (C-x b and C-n to select *Messages* and RET). Now we're no longer in a minibuffer. Swap to the emacsclient terminal, and note that the client is "hung". I think this gives a specific enough recipe to minimally reproduce. --0000000000006ab328062a59f880 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sat, 28 Dec = 2024 at 20:52, Eli Zaretskii <eliz@gnu.o= rg> wrote:

Then manually "eval&q= uot; the remaining commands in test.el
(= in another terminal) emacsclient -nw
Then invoke the child frame = pop up: (C-x b and C-n to select *Messages* and RET). Now we're no long= er in a minibuffer.
Switch back to the original= emacs terminal
Invoke the child frame pop up: (C-x b and C-n to = select *Messages* and RET). Now we're no longer in a minibuffer.
Swa= p to the emacsclient terminal, and note that the client is "hung"= .
=C2=A0
I think this gives a specific enough recipe to= minimally reproduce.
--0000000000006ab328062a59f880-- --0000000000006ab32c062a59f882 Content-Type: text/x-emacs-lisp; charset="US-ASCII"; name="test.el" Content-Disposition: attachment; filename="test.el" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_m58lf23e0 KHZlcnRpY28tbW9kZSkKCihwdXNoICcodHR5LW5vbi1zZWxlY3RlZC1jdXJzb3IgLiB0KSB2ZXJ0 aWNvLXBvc2ZyYW1lLXBhcmFtZXRlcnMpCihwdXNoICcodW5kZWNvcmF0ZWQgLiBuaWwpIHZlcnRp Y28tcG9zZnJhbWUtcGFyYW1ldGVycykKKHZlcnRpY28tcG9zZnJhbWUtbW9kZSkKCihzZXJ2ZXIt c3RhcnQpCg== --0000000000006ab32c062a59f882--