From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Remote asynchronous processes Date: Sun, 9 Aug 2020 09:22:52 +0200 Message-ID: <06B5699B-2F1F-4DB7-BA36-050CB4BFE0C1@gmx.de> References: <87a6zg0yss.fsf@gmx.de> <87eeomoasy.fsf@gmx.de> <87o8nn383p.fsf@iris.silentflame.com> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33123"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Felipe Lema , Philipp Stephani , emacs-devel@gnu.org To: Sean Whitton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Aug 09 09:26:02 2020 Return-path: Envelope-to: ged-emacs-devel@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 1k4fiU-0008VC-99 for ged-emacs-devel@m.gmane-mx.org; Sun, 09 Aug 2020 09:26:02 +0200 Original-Received: from localhost ([::1]:56636 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k4fiS-00038w-JA for ged-emacs-devel@m.gmane-mx.org; Sun, 09 Aug 2020 03:26:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k4ffc-0002HA-KD for emacs-devel@gnu.org; Sun, 09 Aug 2020 03:23:04 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:39157) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k4ffa-0004go-Ep for emacs-devel@gnu.org; Sun, 09 Aug 2020 03:23:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1596957775; bh=VDtYQ7xMkVvRGfqLeTmczm0KBcJKYVOAG+8TsBMdcLM=; h=X-UI-Sender-Class:References:In-Reply-To:Cc:From:Subject:Date:To; b=h736ciMqZegHG+RkbpBqsB4woTUYweZZZrrNFuMzqSnCTB4TBRwHa0s8KYdkWyM2K 4pprZMWV1eAcqsDnFOAHE1kTxwD20zyHv294zDZhdgpKY3/LjOhsbr6DOEIUDAVwx9 1RnfyhsO/hfrtvKtFNwGbRK3bOhut2EVWkwMmzQQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.178.74] ([79.140.119.34]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MCKBc-1jvI0y3sgs-009Ro4; Sun, 09 Aug 2020 09:22:55 +0200 In-Reply-To: <87o8nn383p.fsf@iris.silentflame.com> X-Mailer: iPad Mail (14G60) X-Provags-ID: V03:K1:sJ4fQGRC2mBB3SazMnPh/1m4YjOwKqyLMLb9P4zdwWUBNoWv7D5 vcEEDChW+ara5mBH0k/xhMQ95rBOwMlz62E4Scb+uYX5Qsb6s9DtZHHe3QQxrK+s6II41BW bZjndziT4w5rQvrL9K3iuKI3VL9ZMa7meWMicOonsV7RIcV7GUvxyX0+I5fJzkwBv2yb8eO zGez2CYfoxq0W/yCvAhoA== X-UI-Out-Filterresults: notjunk:1;V03:K0:6ZGv52JVX78=:M33tS2GCSW3yJZsfwxJxni ihwcyGPvPkgISBXGj8D57iKmUXVYohWH44qJaUZkRz29OXBHoBzxQdkZaRHu1P6kNDLha5JpF 9jtDzoBKTyUDAwRjeotZk8l5J/CVYWFdJ3ghf0AX0xxPrjUkfyG+lM6tdOtDxmZoh/ta1htpR WaBDq6ezULZq9kcHUSQZfLP2LyxY+HUyeCRQkQLoDYZVHy2cZKc0dpVIwG59C8CEqjQ1c98ty JL4I/xd1NNOah6tUi3QwRuB1+iMySNfOzt1nwicArPJ2GRLdxY85rNv8KY89lqEpY/Y0aKKo8 mtqRz1bamEKrViO2lEq68aCjV+LeOtUMfzcmmazYxxgWmCqAvjWaIeN7IFGTKksYeeN0sgt9o D/I837ydFeKcoCeVR1cexqy/vf5M5q0LMa2EpFsp2qZbXak9QQuAWUyIQ/rFmifMb3zcxGvLZ mRXVDoajRDtZFviQqNCRwIUDPeCTj88dvajfAJ3PQ6x1ieMOhmCFYR6JsdRuFqp8YAz3I5W7m 4Pzgokd0SoMf07q2N57JZUn+nEv1p7TGJJqf3yme8nFqGqEETkIQ75fLUNGi5hhZ4YRMR+l3e +3cMtVwiRBUjntNBAQKfvG+glCTPgpYOGIgNepVoaU8xgXHksIp59XIz+2qk25qbWNTtuHHuS 1DoXCDa00kPHRjF5Nhfl9GFDdd78mA4gQl4OYRbfeYK+yxo8jI9uPhETHkPhCTzTfoxuDn9I7 5DIkqEppEyYYPnpQHrVGc+0gajgkcys50WHoqX9y8gi3FXfU/WOXSOoT44FmmqRrgSy3/Dmz Received-SPF: pass client-ip=212.227.15.19; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/09 03:22:59 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:253526 Archived-At: > Am 06.08.2020 um 21:08 schrieb Sean Whitton : >=20 > Hello Michael, Hi Sean, >=20 >> On Tue 04 Aug 2020 at 02:27PM +02, Michael Albinus wrote: >>=20 >> Finally, I've committed a respective patch to Emacs master. Read the >> Tramp manual (info "(tramp) Improving performance of asynchronous >> remote processes") about. >=20 > I hope you don't mind me replying here to ask a question about this. >=20 > Is there a way to turn this on for all SSH connections which don't use > multi-hops? I.e. all SSH connections originating from localhost with no > further hops? I imagine this is something a lot of users would want to > turn on. >=20 > I assume it would be unwise to use >=20 > (add-to-list 'tramp-connection-properties > '("\\`/ssh:.+:/" > "direct-async-process" t)) >=20 > or similar, because there can be implicit multi-hops thanks to tramp > tramp-default-proxies-alist and tramp remembering used proxies. That's a good idea. Will implement a fallback to Tramp's "classic" implement= ation of make-network, when there are multi-hops, or stderr is given. This will take some days before it happens, due to vacation time. > Sean Whitton Best regards, Michael.=