help-gnu-emacs
[Top][All Lists]
Advanced

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

tramp2 not loading (?) (was: Re: tramp 2.1.3 compile funkiness)


From: ken
Subject: tramp2 not loading (?) (was: Re: tramp 2.1.3 compile funkiness)
Date: Thu, 1 Sep 2005 15:04:14 -0400

On Sat, 27 Aug 2005 22:14:31 +0200
Michael Albinus <michael.albinus@gmx.de> wrote:

> ken <gebser@speakeasy.net> writes:
> 
> > ....
> >
> > /[user@host.domain.tld]:~/filename [=> ftp failure]
> >
> > /[user@host.domain.tld]/path/file   [=> create (local) subdirectory]
> 
> I assume you are using GNU Emacs. 

Correct.

I should also amend:  I'm actually using tramp2 
(if that makes a difference). 

# ll /usr/share/emacs/site-lisp/tramp2/
total 132
drwxr-x---  2 zl   zl    4096 Jan 16  2005 .
drwxr-xr-x  7 root root  4096 Sep  1 12:25 ..
-rw-r-----  1 zl   zl    2063 Dec  6  2001 tramp2-cache.el
-rw-r-----  1 zl   zl    3217 Dec  6  2001 tramp2-compat.el
-rw-r-----  1 zl   zl    5845 Dec  6  2001 tramp2-enc.el
-rw-r-----  1 zl   zl    2932 Dec  6  2001 tramp2-hack.el
-rw-r-----  1 zl   zl   29105 Dec  6  2001 tramp2-ops.el
-rw-r-----  1 zl   zl    5257 Dec  6  2001 tramp2-util.el
-rw-r-----  1 zl   zl   61138 Dec  6  2001 tramp2.el


> .... If you want
> to prove it, you might check via "C-h v tramp-syntax". The result
> should be "ftp".

"C-h v tramp-syntax RETURN" says "[No match]".

"C-h v tramp2-syntax RETURN" also says "[No match]".


> This case, /user@host.domain.tld:/path/filename would be OK. Taking
> ange-ftp instead of could mean that Tramp isn't loaded. You can check
> it with "M-: (featurep 'tramp)", which should return "t". 

It returns "nil", but "M-: (featurep 'tramp2)" returns 't'.  



> Anyway, it
> might be a good idea to put "(require 'tramp)" in your .emacs, given
> the load-path includes the Tramp lisp directory.

This is in my ~/.emacs:

(add-to-list 'load-path "/usr/share/emacs/site-lisp/tramp2/")
(require 'tramp2)

In fact, I did "C-x C-e" with the point at the end of each line
immediately before trying to open a remote file.  Still no go.

Does emacs have any other diagnostics  I can run which would help 
figure this out?


> ....

Michael, thanks very much for your help.


-- 
A lot of us are working harder than we want, at things we don't like to
do.  Why? ...In order to afford the sort of existence we don't care to live.
        -- Bradford Angier




reply via email to

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