Re: Using ssh as a default method

2000-09-14 Thread Kai Großjohann
On 14 Sep 2000, Daniel Pittman wrote: > On 14 Sep 2000, Kai Großjohann <[EMAIL PROTECTED]> > wrote: > >> Lots of functions in Tramp take multi-method, method, user, host >> and path as arguments. Maybe they should be taking a >> tramp-file-name struct instead. Hm. > > Please. Okay, I added i

Re: Using ssh as a default method

2000-09-13 Thread Daniel Pittman
On 14 Sep 2000, Kai Großjohann <[EMAIL PROTECTED]> wrote: [...] > Lots of functions in Tramp take multi-method, method, user, host and > path as arguments. Maybe they should be taking a tramp-file-name > struct instead. Hm. Please. It's been on my todo list for, er, some time now. I just have

Re: Using ssh as a default method

2000-09-13 Thread Kai Großjohann
On 13 Sep 2000, Henrik Holm wrote: > ah, after C-h f destruct RET, I think I do as well. but what > does the tramp-make-tramp-file-name do then? to me, it seems > like it does the same as the function make-tramp-file-name... / | ELISP> (tramp-make-tramp-file-name nil "sm" "grossjoh" "marcy

Re: Using ssh as a default method

2000-09-13 Thread Kai Großjohann
On 13 Sep 2000, Henrik Holm wrote: > will pcl-cvs work properly with Emacs 20? I think I'll try it. Yes, it works with Emacs 20. It doesn't come with Emacs 20, but it works with it. kai -- I like BOTH kinds of music.

Re: Using ssh as a default method

2000-09-13 Thread Henrik Holm
[Stefan Monnier] > > "Henrik" == Henrik Holm <[EMAIL PROTECTED]> writes: > > will pcl-cvs work properly with Emacs 20? I think I'll try it. > > Since I'm the maintainer and never use XEmacs, I'll let you > infer whether or not it works with Emacs-20. H... how should I interpret th

Re: Using ssh as a default method

2000-09-13 Thread Stefan Monnier
> "Henrik" == Henrik Holm <[EMAIL PROTECTED]> writes: > will pcl-cvs work properly with Emacs 20? I think I'll try it. Since I'm the maintainer and never use XEmacs, I'll let you infer whether or not it works with Emacs-20. Stefan ;-)

Re: Using ssh as a default method

2000-09-13 Thread Henrik Holm
[Kai Großjohann] > Note: M-x cvs-update RET needs pcl-cvs which comes with XEmacs (I > think) and Emacs 21 (I'm sure) but not Emacs 20 (also sure). But > pcl-cvs is a Good Thing. will pcl-cvs work properly with Emacs 20? I think I'll try it. Henrik.

Re: Using ssh as a default method

2000-09-13 Thread Henrik Holm
[Kai Großjohann] > On 12 Sep 2000, Henrik Holm wrote: > > > (btw. where is this function defined? is it an alias for > > tramp-make-tramp-file-name?) > > It's a result of the defstruct, which see. ah, after C-h f destruct RET, I think I do as well. but what does the tramp-make-tramp-f

Re: Using ssh as a default method

2000-09-13 Thread Kai Großjohann
On 13 Sep 2000, Daniel Pittman wrote: > C-x v = will generate a diff of the current file. Alternately, try > M-x cvs-update in the directory to which you check out TRAMP from > cvs. It's a different wrapper over cvs, which you might find > useful. Note: M-x cvs-update RET needs pcl-cvs which co

Re: Using ssh as a default method

2000-09-12 Thread Daniel Pittman
On 12 Sep 2000, Henrik Holm <[EMAIL PROTECTED]> wrote: > [Kai Großjohann] > >> On 12 Sep 2000, Henrik Holm wrote: [...] > It might be necessary to change several functions here... and the > best way of accomplishing this, if I am able to do it, is > probably to submit a "patch". how can I do

Re: Using ssh as a default method

2000-09-12 Thread Kai Großjohann
On 12 Sep 2000, Henrik Holm wrote: > currently, tramp-dissect-file-name calls > > (make-tramp-file name >:multi-method nil >:method method >:user (or (match-string (nth 2 tramp-file-name-structure) name) > (user-login-name)) >:host (match-string (nth 3 tramp-file-n

Re: Using ssh as a default method

2000-09-12 Thread Henrik Holm
[Kai Großjohann] > On 12 Sep 2000, Henrik Holm wrote: > > > I don't have very much time for doing this kind of things, so it > > might take some time. but if it doesn't cost you very much time > > to lead me in the right directions, it'd be fun to try! > > tramp-dissect-file-name (and t

Re: Using ssh as a default method

2000-09-12 Thread Kai Großjohann
On 12 Sep 2000, Henrik Holm wrote: > I don't have very much time for doing this kind of things, so it > might take some time. but if it doesn't cost you very much time > to lead me in the right directions, it'd be fun to try! tramp-dissect-file-name (and tramp-dissect-multi-file-name) looks at

Re: Using ssh as a default method

2000-09-12 Thread Henrik Holm
[Daniel Pittman] > On 11 Sep 2000, Henrik Holm <[EMAIL PROTECTED]> wrote: > > > [about TRAMP not recognizing the data in ~/.ssh/config ...] > > Sadly, yes. This is the expected behavior. There is a todo item > outstanding to get this fixed, but none of the developers have gotten > arou

Re: Using ssh as a default method

2000-09-12 Thread Daniel Pittman
On 11 Sep 2000, Henrik Holm <[EMAIL PROTECTED]> wrote: > I am using `scp' as my default method in TRAMP. > > on the computer I am currently using, my user name is user1. on > a remote host, remote.host.name, my user name is user2. for my > convenience, I have an .ssh/config file with the fol

Using ssh as a default method

2000-09-11 Thread Henrik Holm
I am using `scp' as my default method in TRAMP. on the computer I am currently using, my user name is user1. on a remote host, remote.host.name, my user name is user2. for my convenience, I have an .ssh/config file with the following entry: Host = foobar User = user2 HostName = remote.host.n