unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kai Grossjohann <kai@emptydomain.de>
Subject: Re: auto-revert-mode and tramp file handlers
Date: Wed, 12 May 2004 09:18:32 +0200	[thread overview]
Message-ID: <87ad0ekt9z.fsf@emptyhost.emptydomain.de> (raw)
In-Reply-To: 200405120445.i4C4jle15322@raven.dms.auburn.edu

Luc Teirlinck <teirllm@dms.auburn.edu> writes:

> Is there no way that tramp could detect that the user is off line in a
> fraction of a second (as ssh apparently can) and if so, return nil for
> file-exists-p and other functions that expect a return value of nil in
> this case?

I see what you're talking about.  The problem is that Tramp invokes
ssh to connect the remote host, then waits 60 seconds for the shell
prompt.  Additionally, it could check whether the process is still
alive and stop waiting when the process dies.  I completely forgot to
put this in.

Can't promise to do this right away, but I'll try.

Thanks a lot for helping make Tramp better!

Kai

  reply	other threads:[~2004-05-12  7:18 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
2004-05-12  4:35   ` Luc Teirlinck
2004-05-12  4:45   ` Luc Teirlinck
2004-05-12  7:18     ` Kai Grossjohann [this message]
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

  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=87ad0ekt9z.fsf@emptyhost.emptydomain.de \
    --to=kai@emptydomain.de \
    /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).