[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tramp and NT-Emacs with plink
From: |
Kai Großjohann |
Subject: |
Re: Tramp and NT-Emacs with plink |
Date: |
Fri, 13 Sep 2002 15:26:25 +0200 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) |
Douglas Gray Stephens <address@hidden> 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
> /address@hidden:work/temp.pl
> appears to fail with an error
> Not a tramp file name: d:/temp/address@hidden
>
> 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)
- Re: Tramp and NT-Emacs with plink, (continued)
- Re: Tramp and NT-Emacs with plink, Douglas Gray Stephens, 2002/09/13
- Re: Tramp and NT-Emacs with plink, Kai Großjohann, 2002/09/13
- Re: Tramp and NT-Emacs with plink, Douglas Gray Stephens, 2002/09/13
- Re: Tramp and NT-Emacs with plink, Douglas Gray Stephens, 2002/09/13
- Re: Tramp and NT-Emacs with plink, Kai Großjohann, 2002/09/13
- Re: Tramp and NT-Emacs with plink, Douglas Gray Stephens, 2002/09/13
- Re: Tramp and NT-Emacs with plink,
Kai Großjohann <=
- Re: Tramp and NT-Emacs with plink, Douglas Gray Stephens, 2002/09/13
- Re: Tramp and NT-Emacs with plink, Kai Großjohann, 2002/09/13
- Re: Tramp and NT-Emacs with plink, Douglas Gray Stephens, 2002/09/25
- Re: Tramp and NT-Emacs with plink, Kai Großjohann, 2002/09/25
- Re: Tramp and NT-Emacs with plink, Douglas Gray Stephens, 2002/09/26
- Re: Tramp and NT-Emacs with plink, Kai Großjohann, 2002/09/26
- Re: Tramp and NT-Emacs with plink, Kai Großjohann, 2002/09/26
- Re: Tramp and NT-Emacs with plink, Douglas Gray Stephens, 2002/09/27
- Re: Tramp and NT-Emacs with plink, Kai Großjohann, 2002/09/28
- Re: Tramp and NT-Emacs with plink, Douglas Gray Stephens, 2002/09/28