all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
Cc: emacs-devel@gnu.org
Subject: Re: Auto-revert on remote files: disabling timers temporarily?
Date: Tue, 01 Jun 2004 07:41:08 +0200	[thread overview]
Message-ID: <87wu2rj0nf.fsf@gmx.de> (raw)
In-Reply-To: <200405312331.i4VNVIw27988@raven.dms.auburn.edu> (Luc Teirlinck's message of "Mon, 31 May 2004 18:31:18 -0500 (CDT)")

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

> Here is the Tramp debug buffer after the latest "Invalid base64 data".

It's pretty clear now what happens. A proper encode/decode sequence must
look like this:

> # Encoding remote file /ssh:raven.dms.auburn.edu:/home/teirllm/sequences.texi...
> $ mimencode -b < /home/teirllm/sequences.texi 2>/dev/null; echo tramp_exit_status $? 
> QGMgLSotdGV4aW5mby0qLQpAYyBUaGlzIGlzIHBhcnQgb2YgdGhlIEdOVSBFbWFjcyBMaXNw
[...]
> Mzg2CkBlbmQgaWdub3JlCg==
> tramp_exit_status 0
> # Decoding remote file /ssh:raven.dms.auburn.edu:/home/teirllm/sequences.texi...
> # Decoding remote file /ssh:raven.dms.auburn.edu:/home/teirllm/sequences.texi with function base64-decode-region...
> # Decoding remote file /ssh:raven.dms.auburn.edu:/home/teirllm/sequences.texi...done

But later, there is such a sequence:

> # Encoding remote file /ssh:raven.dms.auburn.edu:/home/teirllm/streams.texi...
> $ mimencode -b < /home/teirllm/streams.texi 2>/dev/null; echo tramp_exit_status $? 
> $ test -r /home/teirllm/strings.texi 2>/dev/null; echo tramp_exit_status $? 
> IGFuZCB0aGUgQHNhbXB7aH0gaW4KdGhlIHdvcmQgQHNhbXB7dGhlfS4gIEF0IHRoZSBlbmQs
[...]
> My00NzM1LTllMDYtMmU4NjQzMjBiNDM0CkBlbmQgaWdub3JlCg==
> tramp_exit_status 0
> $ test -e /home/teirllm/strings.texi 2>/dev/null; echo tramp_exit_status $? 
> tramp_exit_status 0
> $ tramp_file_attributes /home/teirllm/strings.texi nil
> tramp_exit_status 0
> tramp_exit_status 0
> (nil 1 125 103 (16571 47596) (16313 37121) (16313 37121) 39315 33152 t (38 . 25870) -1)
> # Decoding remote file /ssh:raven.dms.auburn.edu:/home/teirllm/streams.texi...
> # Decoding remote file /ssh:raven.dms.auburn.edu:/home/teirllm/streams.texi with function base64-decode-region...

You see the famous "test -r", "test -e" and "tramp_file_attributes"
(coming from auto-revert) there.

Oops, I'm too stupid: Kai's patch locking Tramp actions didn't reach
Emacs CVS yet. Could you, please, try tramp.el from Tramp CVS? You
should use the HEAD version, it isn't synced yet with tramp-stable
with respect to this patch.

Best regards, Michael.

  parent reply	other threads:[~2004-06-01  5:41 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-30 15:58 Auto-revert on remote files: disabling timers temporarily? Michael Albinus
2004-05-31  1:59 ` Luc Teirlinck
2004-05-31  8:51   ` Michael Albinus
2004-05-31 20:15     ` Luc Teirlinck
2004-05-31 20:43       ` Michael Albinus
2004-05-31 21:06         ` Luc Teirlinck
2004-05-31 21:15           ` Michael Albinus
2004-05-31 21:20             ` Luc Teirlinck
2004-06-01  0:18             ` Luc Teirlinck
2004-05-31 21:12         ` Luc Teirlinck
2004-05-31 21:20           ` Michael Albinus
2004-05-31 21:55             ` Luc Teirlinck
2004-05-31 22:18               ` Kim F. Storm
2004-05-31 23:05                 ` Luc Teirlinck
2004-05-31 23:08                 ` Luc Teirlinck
2004-05-31 23:24                 ` Luc Teirlinck
2004-05-31 23:58                 ` Luc Teirlinck
2004-05-31 22:12             ` Luc Teirlinck
     [not found]             ` <200405312331.i4VNVIw27988@raven.dms.auburn.edu>
2004-06-01  5:41               ` Michael Albinus [this message]
2004-05-31  2:31 ` Luc Teirlinck
2004-05-31  3:10 ` Luc Teirlinck

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=87wu2rj0nf.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --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.