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: Wed, 12 Aug 2020 12:46:35 +0200 Message-ID: <878sekm99w.fsf@gmx.de> References: <87a6zg0yss.fsf@gmx.de> <87eeomoasy.fsf@gmx.de> <87o8nn383p.fsf@iris.silentflame.com> <06B5699B-2F1F-4DB7-BA36-050CB4BFE0C1@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10937"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) 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 Wed Aug 12 12:49:48 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 1k5oKK-0002k3-3c for ged-emacs-devel@m.gmane-mx.org; Wed, 12 Aug 2020 12:49:48 +0200 Original-Received: from localhost ([::1]:50840 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k5oKI-0003bd-VP for ged-emacs-devel@m.gmane-mx.org; Wed, 12 Aug 2020 06:49:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32908) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k5oHQ-00036m-Fz for emacs-devel@gnu.org; Wed, 12 Aug 2020 06:46:48 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:41677) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k5oHN-0006w3-TY for emacs-devel@gnu.org; Wed, 12 Aug 2020 06:46:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1597229199; bh=PHlhTkQWMNjc3kgFrDTDTCW0vvT03I8toqRcYRmTULk=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date; b=iIvxgj4R32pemeVo+5jKHeMinYzTMO/5AGSKJ8DvzwPISuWNdMZPKgEZFWN7Cy93Z YszGx9p/XMNrFKCz0IQDy/c5Bz8w+X2a4SLGdPcCh1VaykOL52BQO2qfb6368ciSsn 4JbwQpNeF8bi2Wt4lyiJKnTWmGl2K0yBQK2UXEx0= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([79.140.125.18]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MpUYu-1kV19v2Fps-00px8o; Wed, 12 Aug 2020 12:46:39 +0200 X-Provags-ID: V03:K1:Fz8f8HLNjlmxEClqSGuNJQmhOXAd12OmzbJfCQLDxWj/zTmo5oP /ZBEKuwSMBzw6de2W2SVbFBpRbnROFeOMAuAq5og099DSZVuM+ey9P3kaewlqAu9re50bTc IsoOO+a0EOqRm4GmcMP+5T7R4JgpwOzxB1hdIFmBCO7CL0cx59CPzMeXOVzgaSt6P1kIdbA 6L52X/UBIGwiVBFR9XWCQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:OkCscpjfEjM=:SoXNzxqVMQAbtPnCVw5sb7 j4TJp+lsbOJxkByZxP9mhzsmq5q/y/N16P0hiH3ZBVcj2KvuarJlP/mc1KtEnAmqlw/xkV0pv TQGuJptuq/Hg2WLg8I2GOH0WCf/g7K4dvToO9L8wILrDkNbpEdMCUGvodN2SEQl75WwU3YXQV KHnY8AYa6dkFAISppIiL931OTUy3TYQNVIFFLO3++RH6/aOtEQps2T1uYS7bQm/AOjA1TvTdc L517YSfS311d0Pq3qEjgppasc4+wAkrY3snhDYs+HYyO71KqYi6elf8K5kTYVPhxA8p+qT5Hj cU8PTWsemcQ5jSQdxm2MwcBmzEj6DgThJq/PbLnZlv6Oskm5l9O8yHzJ5ISNjCMwqtJGvjWO2 prPASmKs60+cdvS/0rfDU4Agse97KhgfV/TvQcv0XVMgePSyBljEepGI5CLIEaBgfR2eXD2ow nuumNf0kZMEtrK9+y37nrwKbQf2C+4bLE/7wnjZfPEph5DWucdad0iAxRk8Ut3XBtT1O6SfA9 dmkSfKazH2iL8Xw0Q+c+rNLTuEOjF3K3+2LVtFeRuZeaGI9r2HAzRNxdYQda4qCJHiRK5gooe 1JeY8D0akzmspPvanbiWEkji1CS+0osRaCOg8d9U1RXn7Hy5ERrl4wwjNShK6DjfWit9KuiNC 1UTTuqoL252Nv/2lgp/5wq4yruoiVV+sSYazH1wCt8gTmj77qcA6LVI4Uo1CW/SSSh/j1hu8R oeZ7h1rZTT/P2fy+zgSDBdJ1y9k69RJnEG1g/FDwMIsHPhZW8zSinR5Iq9JZkeK5xvLjjM/e Received-SPF: pass client-ip=212.227.17.22; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/12 05:58:41 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:253674 Archived-At: Michael Albinus writes: Hi Sean, >> 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. >> >> I assume it would be unwise to use >> >> (add-to-list 'tramp-connection-properties >> '("\\`/ssh:.+:/" >> "direct-async-process" t)) >> >> 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" > implementation of make-network, when there are multi-hops, or stderr > is given. I've committed a patch to master. >> Sean Whitton Best regards, Michael.