Douglas Gray Stephens <[EMAIL PROTECTED]> writes:

>  > Hm.  What do the following return at that spot?
>  > 
>  > (tramp-get-remote-encoding multi-method method user host)
>  > (tramp-get-remote-decoding multi-method method user host)
>  > (tramp-get-local-encoding multi-method method user host)
>  > (tramp-get-local-decoding multi-method method user host)
>  > 
>  > multi-method is nil, method should be "plink", and user and host are
>  > obvious I think.
>
> (tramp-get-remote-encoding nil "plink" "gray" "gray-linux-scr")
> "mimencode -b"
>
> (tramp-get-remote-decoding nil "plink" "gray" "gray-linux-scr")
> "mimencode -u -b"
>
> (tramp-get-local-encoding nil "plink" "gray" "gray-linux-scr")
> base64-encode-region
>
> (tramp-get-local-decoding nil "plink" "gray" "gray-linux-scr")
> base64-decode-region
>
> It looks as if the remote file is updated, but tramp thinks there was
> a problem.

These look good.  I'm confused.  [time passes]  Ah!  The parens are
wrong.  Please try this patch:

--- tramp.el.~2.211.~   Fri Sep 13 12:13:15 2002
+++ tramp.el    Fri Sep 13 15:24:44 2002
@@ -3214,7 +3214,7 @@
                multi-method method user host
                6 "Transferring file using `%s'...done"
                rcp-program)))
-           ((and rem-enc rem-dec
+           ((and rem-enc rem-dec)
             ;; Use inline file transfer
             (let ((tmpbuf (get-buffer-create " *tramp file transfer*")))
               (save-excursion
@@ -3289,7 +3289,7 @@
                  filename rem-dec)
                 (tramp-message 5 "Decoding region into remote file %s...done"
                                filename)
-                (kill-buffer tmpbuf)))))
+                (kill-buffer tmpbuf))))
            (t
             (error
              (concat "Method `%s' should specify both encoding and "


> I also noticed while getting this information that
> find-file
>  /gray@gray-linux-scr:work/temp.pl
> appears to fail with an error
>  Not a tramp file name: 
>d:/temp/#[EMAIL PROTECTED]#
>
> I guess that I'm clashing with some regular expressions.  The full
> *Messages* buffer is appended.

If this still happens with the patch, please send the *debug
tramp/foo* buffer (always send that buffer, the messages buffer is
not so useful for me).  You have to (setq tramp-debug-buffer t) to
get the *debug tramp/foo* buffer.

Thanks,
kai
-- 
~/.signature is: umop 3p!sdn    (Frank Nobis)


_______________________________________________
Tramp-devel mailing list
[EMAIL PROTECTED]
http://mail.freesoftware.fsf.org/mailman/listinfo/tramp-devel

Reply via email to