tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: User/host name completion: how to deal with ambiguity?


From: lawrence mitchell
Subject: Re: User/host name completion: how to deal with ambiguity?
Date: Wed, 28 Aug 2002 17:39:37 +0100
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2.90 (i386-mingw-windows98.2222)

Kai Grossjohann wrote:

> You can use the variable tramp-default-method-alist to tell Tramp to
> always use the plink method (say) when connecting to the host frumple.
> That should achieve pretty much the same effect as your setting up
> specialized methods for each host.

> I don't have that nifty tramp-abbrev feature yet, but maybe your
> usage could give me some ideas.

It turns out I was talking complete rubbish, I felt sure I had
been able to specify hardcoded host names in tramp-methods, but
it seems that was my imagination playing up.  What I thought I
had been able to do was to define a tramp-method, with a mnemonic
name (usually a shortened hostname), to connect to a particular
machine, hence, if I had a method named foo, I would do:

C-x C-f /foo:~/.emacs, and this would find a file with method foo
(which had a hostname of foo.tld hardcoded in).

Unfortunately, this turns out to have been no more than
daydreaming on my part.

I wonder if it's something worth doing[1], or if Michael's
completion now does something similar.

[1] I think this would probably be far too much work, as the way
    tramp handled filenames would have to change completely. (again)
-- 
lawrence mitchell <address@hidden>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]