Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Do I have to tramp-cleanup-connection?

39 views
Skip to first unread message

rahed

unread,
May 27, 2012, 4:14:57 PM5/27/12
to help-gn...@gnu.org
I started to use tramp (instead of starting remote emacs).

One thing bothers me though. Whenever I interrupt my work for some time
the connection breaks and after reconnecting and trying to open a remote
file I get (mostly): Couldn't find exit status of `test -e /tmp.

I have to M-x tramp-cleanup-connection and again open a remote file
which is quite laborious.

I would welcome to clean a tramp cache automaticaly when closing a
connection or better leave the connection in the cache but avoid
the message "Couldn't find...".

tramp version is 2.2.3-24.1.

--
Radek


Michael Albinus

unread,
May 31, 2012, 8:06:05 AM5/31/12
to rahed, help-gn...@gnu.org
rahed <rah...@gmail.com> writes:

Hi,

> One thing bothers me though. Whenever I interrupt my work for some time
> the connection breaks and after reconnecting and trying to open a remote
> file I get (mostly): Couldn't find exit status of `test -e /tmp.
>
> I have to M-x tramp-cleanup-connection and again open a remote file
> which is quite laborious.
>
> I would welcome to clean a tramp cache automaticaly when closing a
> connection or better leave the connection in the cache but avoid
> the message "Couldn't find...".
>
> tramp version is 2.2.3-24.1.

With that Tramp version, I can reproduce a similar error (but another
error message). The Changelog claims it is solved in Tramp 2.2.4. Maybe
you give it a try, or you wait until the Tramp repository is merged into
Emacs' trunk. This is stalled these days, until Emacs 24.1 has been
released (or the trunk is reopened for fat merges like the one with Tramp).

Best regards, Michael.

rahed

unread,
Jun 2, 2012, 12:49:25 PM6/2/12
to help-gn...@gnu.org
Michael Albinus <michael...@gmx.de> writes:

> With that Tramp version, I can reproduce a similar error (but another
> error message). The Changelog claims it is solved in Tramp 2.2.4. Maybe
> you give it a try, or you wait until the Tramp repository is merged into
> Emacs' trunk. This is stalled these days, until Emacs 24.1 has been
> released (or the trunk is reopened for fat merges like the one with Tramp).
>

Now I use 2.2.5-pre. The message is "Couldn't find exit status of `test
-e...'" whenever I try to open a remote file. But the next reopening of the
same file is ok.

--
Radek


Michael Albinus

unread,
Jun 3, 2012, 3:20:06 AM6/3/12
to rahed, help-gn...@gnu.org
rahed <rah...@gmail.com> writes:

> Now I use 2.2.5-pre. The message is "Couldn't find exit status of `test
> -e...'" whenever I try to open a remote file. But the next reopening of the
> same file is ok.

I guess this is acceptable. Tramp needs a way to say that something is
broken (your network connection), before it cleans up everything.

Best regards, Michael.

0 new messages