emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: the addition of tramp to Emacs broke my ability to use ange-ftp for


From: Michael Albinus
Subject: Re: the addition of tramp to Emacs broke my ability to use ange-ftp for some hosts
Date: 30 Apr 2003 12:44:29 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Chris Moore <address@hidden> writes:

> In Emacs 21.2 I used to be able to find-file on
> "/address@hidden:/" and have ange-ftp transparently connect
> to that host via FTP.
> 
> With a recent Emacs build, however, I just get an error message
> telling me "ssh not found" or some such.
> 
> Upon investigating the cause of this, it turns out that 'tramp' is
> deciding when to use FTP and when to use SSH according to what the
> hostname looks like.
> 
> tramp-default-method-alist controls this.
> 
> By default I would expect tramp to know that any hostname starting
> with 'ftp' followed by some numbers would be an FTP server.  Currently
> I think it has to begin with "ftp." to be recognised.  Perhaps
> removing the dot would be appropriate, or perhaps "\\`ftp[0-9]*\\." is
> a better RE to use as the default.

Try setting `tramp-default-method' to "ftp". The other Tramp methods
are still available by explicit writing.

> Chris.

Best regards, Michael.





reply via email to

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