all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kai Grossjohann <kai@emptydomain.de>
Subject: Re: [gmane.emacs.devel] Tramp with global-auto-revert-mode.
Date: Tue, 25 May 2004 12:50:37 +0200	[thread overview]
Message-ID: <86y8ngbx1e.fsf@rumba.de.uu.net> (raw)
In-Reply-To: m3wu31hqz8.fsf@kfs-l.imdomain.dk

storm@cua.dk (Kim F. Storm) writes:

> You may say that such problems are caused by auto-revert, but I think
> that tramp should never wait indefinitely for output that obviously
> will never come.  Since tramp calls accept-process-output in a loop,
> relying on the timeout on accept-process-output alone is not enough.

Tramp can't know whether the output will come or not.  Tramp enters
the infloop only in cases where it expects output from the remote
system.

This is to say, if the output from the remote system doesn't arrive,
then something is wrong anyway, and Tramp will be unable to operate
properly.

The auto-revert problems are, of course, caused by my failure to
anticipate that Tramp might be called in a reentrant fashion.  This
surely needs to be fixed.  But just removing the infloop is not going
to help.  Instead, Tramp needs to be made aware of reentrant calls in
one fashion or another.

Kai

PS: Is "reentrant" the right term here?

  reply	other threads:[~2004-05-25 10:50 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <nqekp9n8td.fsf@alcatel.de>
2004-05-25  8:04 ` [gmane.emacs.devel] Tramp with global-auto-revert-mode Kim F. Storm
2004-05-25 10:50   ` Kai Grossjohann [this message]
2004-05-26 20:21     ` Michael Albinus
2004-05-27  2:53     ` Luc Teirlinck
2004-05-27  8:37       ` Kim F. Storm
2004-05-28 15:01         ` Stefan Monnier
2004-05-28 15:07           ` Kim F. Storm
2004-05-28 15:44             ` Kai Grossjohann
2004-05-28 23:44               ` Kim F. Storm
2004-05-28 23:52                 ` Stefan Monnier
2004-05-29 10:17                 ` Kai Grossjohann
2004-05-29 22:49                   ` Kim F. Storm
2004-05-30 14:31               ` Richard Stallman
2004-05-27 23:53       ` Richard Stallman

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=86y8ngbx1e.fsf@rumba.de.uu.net \
    --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 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.