From: Michael Albinus <michael.albinus@gmx.de>
To: Pablo Barbachano <pablo.barbachano@gmail.com>
Cc: 27612@debbugs.gnu.org
Subject: bug#27612: 25.2; invoking term from a remote eshell uses the local path
Date: Wed, 12 Jul 2017 16:46:43 +0200 [thread overview]
Message-ID: <87r2xlaf1o.fsf@detlef> (raw)
In-Reply-To: <87shi86nse.fsf@gmail.com> (Pablo Barbachano's message of "Fri, 07 Jul 2017 21:37:53 +0200")
Pablo Barbachano <pablo.barbachano@gmail.com> writes:
Hi Pablo,
> M-x eshell
> $ cd /ssh:remote-host:
> $ hostname
> <remote-hostname>
>
> $ term hostname
> <local-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.
next prev parent reply other threads:[~2017-07-12 14:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-07 19:37 bug#27612: 25.2; invoking term from a remote eshell uses the local path Pablo Barbachano
2017-07-12 14:46 ` Michael Albinus [this message]
2017-07-14 22:00 ` Pablo Barbachano
2017-07-15 7:38 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r2xlaf1o.fsf@detlef \
--to=michael.albinus@gmx.de \
--cc=27612@debbugs.gnu.org \
--cc=pablo.barbachano@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).