[Top][All Lists]

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

Re: Emacs unconditionally loads tramp.el

From: Eli Zaretskii
Subject: Re: Emacs unconditionally loads tramp.el
Date: Sat, 29 Apr 2006 19:55:38 +0300

> From: Michael Albinus <address@hidden>
> Cc: address@hidden,  address@hidden,  address@hidden
> Date: Sat, 29 Apr 2006 18:09:51 +0200
> Eli Zaretskii <address@hidden> writes:
> > Can you please point me to the right function in Tramp's sources?  I'd
> > like to understand why it is so hard to complete on host names.
> Look for "tramp-completion-*". It's not only host names, but also
> methods and user names which need to be expanded. And what/how to
> expand depends on the method. And there are syntax ambiguities
> ("/ssh:" can be a method or a host name). And in the ftp case it must
> be given to ange-ftp, IIRC.

I didn't yet read the sources, so I might talk nonsense, but couldn't
we have just host-name expansion outside Tramp, and if the expanded
host name is accepted (e.g., if the user types `:'), load Tramp only
_then_?  Similarly with methods like /ssh: etc.  Would that work?

reply via email to

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