Re: loads but won't save? was: plink and tramp-2.0.2.1: more progress
On Sat, 03 Mar 2001, Tom Roche wrote: When I try to _save_ the buffer, I get the error Method `t' didn't specify tramp args which appears to be caused by tramp's desire to call tramp-rcp-program in order to save the backup file /r@t:[EMAIL PROTECTED]:/ncsu/tlroche/.emacs~ Any ideas how to fix this? FWIW I tried setting He he, that's a fun typo. It should have been ``didn't specify rcp args''. When I renamed rcp.el into Tramp, I made one substitution too many... Tramp is quite anal about having all kinds of method parameters. Don't let any of them default to anything. Specify them all. So just add (tramp-rcp-args nil) into the method spec, and you should be all set. Look at the other methods so you're sure you're not missing anything that should be set to nil. I agree that this is not nice, but OTOH you don't add a new method every day, so maybe it's not too bad. kai -- Be indiscrete. Do it continuously.
Re: loads but won't save? was: plink and tramp-2.0.2.1: more progress
On 04 Mar 2001, Kai Grojohann wrote: [...] Tramp is quite anal about having all kinds of method parameters. Don't let any of them default to anything. Specify them all. So just add (tramp-rcp-args nil) into the method spec, and you should be all set. Look at the other methods so you're sure you're not missing anything that should be set to nil. I agree that this is not nice, but OTOH you don't add a new method every day, so maybe it's not too bad. On the topic of connection methods and their definitions, I want to see what people think of one of my plans for the tramp2 code. By default, I want this to have as much automatic configuration as possible. So, my plan is that, by default, the method for encoding and decoding files on the remote machine will be auto-detected. It will be possible to override this in connection definitions but, by default, all the detection will be automatic. This, of course, presumes that I don't find any real problems getting reliable detection of encoding methods remotely working. Daniel -- You call this paradise |Just take my hand girl You call these mountains|Just take my hand girl We call this poverty|I'll take your tears girl We call these hills |Step aside -- Jams Ray and The Performance, _Mountain Voices_
Re: loads but won't save? was: plink and tramp-2.0.2.1: more progress
On 04 Mar 2001, Daniel Pittman wrote: By default, I want this to have as much automatic configuration as possible. So, my plan is that, by default, the method for encoding and decoding files on the remote machine will be auto-detected. That's a good idea. But I think you might not be able to automatically detect whether you should do inline or out of band transfer. Well, with multi-hop methods you automatically do inline. And this reminds me of the todo item which was sent to me by Michael Kifer: use out of band transfer for large files and inline transfer for small files. kai -- Be indiscrete. Do it continuously.
Re: loads but won't save? was: plink and tramp-2.0.2.1: more progress
On 04 Mar 2001, Kai Grojohann wrote: On 04 Mar 2001, Daniel Pittman wrote: By default, I want this to have as much automatic configuration as possible. So, my plan is that, by default, the method for encoding and decoding files on the remote machine will be auto-detected. That's a good idea. But I think you might not be able to automatically detect whether you should do inline or out of band transfer. Hrm. Good point. I will have to think a little more on that... Well, with multi-hop methods you automatically do inline. Which makes the auto-detection a lot more useful, I guess, especially since one of the main points of the new design is to make connecting multiple hops easy - so that ssh and su connections work. :) And this reminds me of the todo item which was sent to me by Michael Kifer: use out of band transfer for large files and inline transfer for small files. Worth thinking about... which I will do. I don't know how easy or practical it will be, though. Is this really going to be /that/ much more efficient? Daniel -- I hold on to the blissful notion that the journey is worthwhile, and I tip-toe across the chasm with a song and a smile. -- Harry Chapin