From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: emacs-devel@gnu.org
Subject: Re: auto-revert-mode and tramp file handlers
Date: Tue, 11 May 2004 21:57:17 -0500 (CDT) [thread overview]
Message-ID: <200405120257.i4C2vHo12978@raven.dms.auburn.edu> (raw)
In-Reply-To: <87isf4zajy.fsf@emptyhost.emptydomain.de> (message from Kai Grossjohann on Mon, 10 May 2004 15:17:05 +0200)
Kai Grossjohann wrote:
I'm not sure how to change Tramp to make this better: it often happens
that a connection is closed merely because a timeout has expired. In
that case, just silently reopening the connection appears to be the
right approach.
In the described situation I am off line. Do you mean Tramp is trying
get me back on line? If so, there must be something wrong with my
setup, because that definitely never happens. Anyway, getting on line
takes me on average 30-40 seconds, and often takes more than the
allotted 60 seconds. So it is definitely _not_ something I would want
to have tried on an automated basis, even if I could correct my setup
to do so.
If tramp is not trying to get me back on line, then
(file-exists-p "/ssh:teirllm@raven.dms.auburn.edu:~/myfile")
takes more than a minute to get the same information that a simple
call to ssh gives me in less than one hundred of a second (see below),
and then throws an error in a case where the function's docstring
suggests a return value of nil.
[bash2.05b.0 ~ 3 6] time ssh raven.dms.auburn.edu
ssh: raven.dms.auburn.edu: Temporary failure in name resolution
real 0m0.009s
user 0m0.010s
sys 0m0.000s
I believe related problems have been discussed previously in:
http://mail.gnu.org/archive/html/emacs-devel/2003-09/msg00198.html
Sincerely,
Luc.
next prev parent reply other threads:[~2004-05-12 2:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-09 17:34 auto-revert-mode and tramp file handlers Luc Teirlinck
2004-05-10 13:17 ` Kai Grossjohann
2004-05-12 2:57 ` Luc Teirlinck [this message]
2004-05-12 4:35 ` Luc Teirlinck
2004-05-12 4:45 ` Luc Teirlinck
2004-05-12 7:18 ` Kai Grossjohann
2004-05-13 20:50 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200405120257.i4C2vHo12978@raven.dms.auburn.edu \
--to=teirllm@dms.auburn.edu \
--cc=emacs-devel@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.