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

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

Re: Linux emacs 22.1 + tramp: 2.1.12: tramp completion does not work for


From: Thierry Volpiatto
Subject: Re: Linux emacs 22.1 + tramp: 2.1.12: tramp completion does not work for me.
Date: Wed, 26 Mar 2008 17:19:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Michal <rabbit50@tenbit.pl> writes:

> Hallo group members.
>
> Did You experience any problems with it?
>
> I do the following.
>
> (tramp-get-completion-function "scp"):
> ((tramp-parse-connection-properties "scp") (tramp-parse-shosts 
> "~/.ssh/known_hosts"))
>
> (tramp-get-completion-function "ssh")
> ((tramp-parse-connection-properties "ssh") (tramp-parse-shosts 
> "~/.ssh/known_hosts"))
>
> $ grep 10.102.12.89 ~/.ssh/known_hosts
> 10.102.12.89 ssh-rsa AAAAB3........
>
> now, when I put:
> C-x C-f /ssh:10<TAB>  no completion is present....
>
> or even
> C-x C-f /s<TAB>
> Click <mouse-2> on a completion to select it.
> In this buffer, type <S-Return> to select the completion near point.
>
> Possible completions are:
> sbin/                            sys/
> selinux/                         srv/
>
>
> ...no ssh:, scp:... present...
>
> My tramp configuration is:
> (setq pp-tramp-dir "/emacs-packages-22/tramp-2.1.12")
> (add-to-list 'load-path (concat pp-tramp-dir "/lisp"))
>
> (let ((partial-completion-mode t))
>   (require 'tramp))
>
> (setq password-cache-expiry nil)
>
> C-h v tramp-version:
> tramp-version is a variable defined in 
> `/emacs-packages-22/tramp-2.1.12/lisp/trampver.elc'.
> Its value is "2.1.12"
>
>
> Have You got idea what might be the reason?
>
> I wonder if it can be the fact that I do not use built in tramp 2.0.55 from 
> emacs 22.1.
>
> Regards,
> Michal
>
>

To have the completion on your remote host you have to be connected one
time first in this session of emacs on this host with tramp.
The same if you use /su::


-- 
A + Thierry
Pub key: http://pgp.mit.edu




reply via email to

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