From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#27612: 25.2; invoking term from a remote eshell uses the local path Date: Wed, 12 Jul 2017 16:46:43 +0200 Message-ID: <87r2xlaf1o.fsf@detlef> References: <87shi86nse.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1499870841 13327 195.159.176.226 (12 Jul 2017 14:47:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 12 Jul 2017 14:47:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 27612@debbugs.gnu.org To: Pablo Barbachano Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 12 16:47:18 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVIuz-0002q0-CM for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Jul 2017 16:47:09 +0200 Original-Received: from localhost ([::1]:53899 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVIv4-0000Fq-S9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Jul 2017 10:47:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVIuw-0000Ez-Pw for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 10:47:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVIus-0001Ga-Nc for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 10:47:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:32858) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVIus-0001GG-K3 for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 10:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dVIus-0005t1-Eg for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 10:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Jul 2017 14:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27612 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27612-submit@debbugs.gnu.org id=B27612.149987081322611 (code B ref 27612); Wed, 12 Jul 2017 14:47:02 +0000 Original-Received: (at 27612) by debbugs.gnu.org; 12 Jul 2017 14:46:53 +0000 Original-Received: from localhost ([127.0.0.1]:35535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVIuj-0005sd-8o for submit@debbugs.gnu.org; Wed, 12 Jul 2017 10:46:53 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:63430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVIuh-0005sO-Tr for 27612@debbugs.gnu.org; Wed, 12 Jul 2017 10:46:52 -0400 Original-Received: from detlef.gmx.de ([213.220.147.117]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LjN0F-1e5T4t2TLL-00daGE; Wed, 12 Jul 2017 16:46:44 +0200 In-Reply-To: <87shi86nse.fsf@gmail.com> (Pablo Barbachano's message of "Fri, 07 Jul 2017 21:37:53 +0200") X-Provags-ID: V03:K0:uRnxxoVrqxpE5FnJVLZPPsL0QW8rLblpp2JW0NNOjiUBQw5kMZg cTEaKQG+8Pae8LjSJ2Wm2JwaieRgZFURN4Z64FP8KDXgR2Pc4olNcRNehGuWOrSZ2q7ZlvU 3cYoCaPT5AP4EH/jZmVU9r0Y6AFYpX4AI8ADMhXvEH2sN8TpuzRESYUiw9MXRDQkKIo6AKu a5uVseSNj7pApVUgXfzew== X-UI-Out-Filterresults: notjunk:1;V01:K0:Hxqv/oX/O10=:Vb3DK5Vv9SeL2eMTnvMZL0 uDZcZaV7+Nfiu06Jh2j4ljVoKCn1M+kMl9JVV8184pabduidZ49S97tD3KQZNXPNjaXLQ/vty BYpQLCnFk5CAmttt0xaQjvEKAE4sADd4OCdxpHJIBJWYXofviNaGWmNW10uwZOrZqjEzAP2Pw Wg8ZDzEFxv6xZwJArx8/9EONAbZ7mLKjVE7oVRNa6nJKMVqcvCCLqj2kyRU719x+E/UiQ6zu3 KeXsuofUFELikn2zcNdZ9eOBmIeEQccED4e9bfCr9WvCmY5nfC1XzY7qArsJnLqcmdzr61Uzn F4FLwFAqVP4gVIDvxWPluqxAsPu9C+c93E5aZd8fKfUcgYb7Fd6eS61pQ2yxlx1q0/Uf+TyYS SoHRGFjyVg5As4HX4v7r4H/lIMnx3jUkKUzzszLHKl0+cSVwBDV64m3AYZEZp685758bqf04b DbADugw7rbsjX1y1gKUfxwGVcTls8z711/Gchu7aTTu3wwBNAelwpAl8q/tyQ0phzVYLNBH2w Swg0veY/GETp4FzYA4HEPIJUjKQ6cLXdA3aMu2IZDTKKOTChg//gWFovFE9fufL3iishvSGrh bpSOWvbvkD68xXyS9BZG2OJc8H9ysug1Zr2ABAdJwT+6HUWx2T+DPIDQzGOlN0d1cbvXqXdTG nO1lG20bwYw/+SUfhi6B8/tXY6sechzPQGWJtOx7tt7sfpxb3RC7xn+clpc/zTyV62E/5gNJA h/AxR/OAvFDsMuqFxOQqdKblKWkQBoYi4g3M885GKFHpppjX2kjRK8rPNFZGNsGQLxtO0Tdn X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:134461 Archived-At: Pablo Barbachano writes: Hi Pablo, > M-x eshell > $ cd /ssh:remote-host: > $ hostname > > > $ term hostname > > > term does not seem to get the default-directory from eshell. That is because term.el is not Tramp-aware. In `term-exec-1', it uses `start-process' instead of `start-file-process'. One could replace this, but scanning term.el, there seems to be a tight integration with ange-ftp. So I guess it needs further work to cooperate with Tramp. I'm not a term.el user, so I don't know, whether it is a feature to run always locally. Other people might tell, whether it would be appropriate to support remoteness. If yes, I could try to migrate term.el. But this would take time anyway, understanding 4500 lines of unknown code. And maybe it is not possible at all to support a full equipped remote terminal in Emacs. Best regards, Michael.