[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp 2.26 emacs 24.3 plink

From: Michael Albinus
Subject: Re: tramp 2.26 emacs 24.3 plink
Date: Fri, 19 Sep 2014 11:32:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

MM <address@hidden> writes:

> M-x compile launches correctly, but when it finishes, the compilation
> buffer shows that the connection to myhost is closed, and the Host:
> prompt from the gateway reappears in the compilation buffer.

This is a side effect of your gateway solution. Tramp expects that a
connection is closed when you finish the shell. In your case, the
gateway asks again for a new host.

Is this a problem?

> It seems 2 sub processes plink are running simultaneously. Can M-x
> compile use the same plink that sends and receives files?

That's not Tramp. Tramp implements just some basic functions according
to the API. It offers two implementations for remote processes, one
implementation for `process-file' (synchronous call), and one
implementation for `start-file-process' (asynchronous call).

"M-x compile" launches the asynchronous version. And so serves Tramp.

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]