From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: James Thomas via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#60534: 28.2; Forbidden reentrant call of Tramp Date: Tue, 17 Dec 2024 18:41:53 +0530 Message-ID: <86bjxafo86.fsf@gmx.net> References: <875ywf9ea7.fsf@secretsauce.net> <871r72ssqi.fsf@gmx.de> <874kby7wn5.fsf@secretsauce.net> <875ywdquds.fsf@gmx.de> <87pmtfjyw4.fsf@secretsauce.net> <878s03s3t1.fsf@gmx.de> <86frmnb6j9.fsf_-_@gmx.net> <87o71an24v.fsf@gmx.de> Reply-To: James Thomas Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37342"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Dima Kogan , 49954@debbugs.gnu.org, 60534@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 17 23:11:30 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 1tNfms-0009Wm-Mj for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 17 Dec 2024 23:11:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNfml-0001m6-Ny; Tue, 17 Dec 2024 17:11:23 -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 1tNfmR-0001ja-3p for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2024 17:11:10 -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 1tNfmQ-0003Md-Au for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2024 17:11: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:Date:In-Reply-To:From:To:Subject; bh=f32uRoRFEhYsooAK30nfwrLQPwFTfM47sYPpffwkzHs=; b=SFhtDnOp712EgnCp21zCiAvyabN8XuWO19PegLtcZPJtVsV66oevmMQvHU9blEwIGKFwB4Dd/NXpJqcCqWr/SQeTJHA5j/zyDmREpv5k+xrPy0ESH+ui9Cb58JauSG5iVfLLOGImwEdeGkbCZ7qgmhhoopbOTmhK9LP+BLReGpJyHkyZ+v3Y28Z68/TNKwaq1UaddeXlwr1gEwO+6+Mvk4IkS+cpdKEMHgv4O/Pa6o0mQamcLAbBlEoSN3DAcDNTiz0xHJ03Kg5b0TEe3TPVhMqp/Cx3XG8P+mgnqbn1Sgtap8SKIrXgIby+YoDJT3qlB/f/jVz2fSahgepCpZxw2w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tNfmQ-0000bn-5H for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2024 17:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: James Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Dec 2024 22:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60534 X-GNU-PR-Package: emacs Original-Received: via spool by 60534-submit@debbugs.gnu.org id=B60534.17344734212277 (code B ref 60534); Tue, 17 Dec 2024 22:11:02 +0000 Original-Received: (at 60534) by debbugs.gnu.org; 17 Dec 2024 22:10:21 +0000 Original-Received: from localhost ([127.0.0.1]:60628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNfli-0000Zg-AN for submit@debbugs.gnu.org; Tue, 17 Dec 2024 17:10:21 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:54619) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNflW-0000Te-Bo; Tue, 17 Dec 2024 17:10:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1734473397; x=1735078197; i=jimjoe@gmx.net; bh=f32uRoRFEhYsooAK30nfwrLQPwFTfM47sYPpffwkzHs=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:Date:Message-ID: References:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=aJUcpqbW1t3Rpn/3shAQ3j13/7kz8UxxmzWmoBxELp3jXzrmEEfCNzr3Dug3hie/ bGWsEvANbPAPww+7whWkkshuP+gwLYpRgu78Gqq+fFnWhJexOMjzHk994//P8fqTa BqCbXKr8DV7AYiENTsLP1/2JlICKiwMe5iosVrKPVn5dFZ183EZ/C9c7HQt9d+og8 rnXUE3vnzEZ8LFweT5EvI7Hv6aKv82K1J9ES+TcgT9vjFOWbzn08xcxu9DJ9cjfqI jBkao0BSiAhe85fHb+bP/JhdM+FwiAoj3wkthgZGRBV8ICTcZs9emADFWTJSIa00W e9AUat3LOm1o0R6xVQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from user-Inspiron-3493 ([42.108.26.156]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MZCfJ-1t1HPe402L-00Q12r; Tue, 17 Dec 2024 23:09:56 +0100 In-Reply-To: <87o71an24v.fsf@gmx.de> (Michael Albinus's message of "Tue, 17 Dec 2024 09:29:36 +0100") X-Provags-ID: V03:K1:8eD8RV08f4sR7L+BXf7ugejCyWuPxmqx3jDq1NOe7M91SCk7ORY 27ii+WJjQ0aInk8BOMBAfltTSXlW7P5cdaixyPGco6j+3ugT4yUpczCYmzF1gfHfJSr69gH /kNckZodAXPNu5RR+8YaW/621bfAtRT/EWIaybl+mLO588Os9c49H4JZAdRUCy2cjcXUaeu juaVaRfIOecAlV42NtTqQ== UI-OutboundReport: notjunk:1;M01:P0:jGnsgqQERdY=;gQfh9wVURpqDrWxTOcWqI++X+2E 2TllaoAHiPInxXujW7i+Ldtm9JwJjoG4ypbEUamkw7LaIRSgLvnO16Vl9+c0h2/nxagCjCrIo VfG22XhPwxuNjTWYsIbpDIkqpbEX+jaiVf8EtMsebxuQ0k2760eE5darpoVvSSxFza3Tid11N QU+854MqcowH8rj9ecSRmXyvCyH67Z/udr9v5c/OdZ5IVyooVtpazpoSwqialZh++IpGe74B7 6DbY7JORe/zuBUfjku28LkDLRO9ErU9idwwdZbCkNFvPVPDFZLt+u2l4YL5IX4nPOCgxMFkw8 qBLAdSBhs6S4VnBo9YHviKx8yfzRF5ILI6lPTQAPBgzpNSO/87cqF6KqBLAv86Jt5GuiZzOwa OOS920ixHodw7FT/tuLZhuMZi8ZxThi/eOjGtwAP792FVJSzGmwPd14XRt06dILaupmsALQyF FpyfbmlTi7LNurwDMMjMHGOxh6dV8jJ4zopIo4yaEP6awaEIDubpbFdcjig6VF9U0hXSG9GsB /uvQWTU4JrDiWkr9qQHnoQpssUPlr8tjfZGxVrPX1aFka9waPY/b4XR74Nd1dM5LYWa9eeJ5B T+EqoaXYZXryxRXuq/9yE0kL8InTVTGcKPMhkiRBBetewUj0J6aiDSncZwrBXWbqVH1eguecS m8MHXNn/mTS5lxKLzVowFdciucahP50VXb4VILdXQqLeYiGF2oWEIQjN6qt26fB2dYydmnYSw jCzbbtsGg1lLOGLKgRiOcFkMDmJETrKDvj0y2aUbkakbGAiEEqGU5vgAyj9bVU2obR4fpa7o 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:297317 Archived-At: Michael Albinus wrote: > Not so simple. > ... > And it isn't clear to me how to keep two connections in sync, if (for > example) the environment changes in one of the connections. Be it an > environment variable, the current directory, the availability of a > temp file, you name it. And here was I thinking that Tramp was mostly remote-state-less beyond the handshake... > There is a serious overhead when opening a new connection, due to the > handshaking actions. OK; I misremembered for a moment that it was beyond any ControlPersist. > But yes, nobody has tried it yet. My preference is to use threads, so > that one command in a process filter could wait until another command > in the main thread has finished, as example. But the crucial point is, > that you must activate threads in the beginning of a connection. When > you detect, that there is a forbidded reentrant call, it is too late > to activate threads. Ah, crucial; but not a blocker, I suppose. Thank you for the effort in explaining, Michael. Regards, James