Subject: Re: bug#13677: 24.2.50; workng on remote hosts with eshell is not very enjoyable

From: Michael Albinus <[email-masked]>
Date: Sun, 10 Feb 2013 21:58:34 +0100

Andreas Politz <[email-masked]> writes:

> emacs -Q
> M-x eshell
> cd /ssh:somehost.com:
> stat .
> stat .
> ...
>
> Every stat command starts a new tramp process, which, in my case, takes
> about 3-4 seconds to get going and renders eshell fairly useless for
> this kind of work. 
>
> Can this be changed such that eshell uses start-file-process only if the
> command results in a background process and use process-file otherwise ?

I fear that is not possible in general. The command could be
interactive, requiring user input. This would not be possible with
process-file.

And eshell does not know in advance, whether an external command runs
interactively.

> Andreas

Best regards, Michael.