* Linux emacs 22.1 + tramp: 2.1.12: tramp completion does not work for me.
@ 2008-03-26 15:37 Michal
2008-03-26 16:19 ` Thierry Volpiatto
2008-03-26 19:44 ` Michael Albinus
0 siblings, 2 replies; 4+ messages in thread
From: Michal @ 2008-03-26 15:37 UTC (permalink / raw)
To: emacs mailing list
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Linux emacs 22.1 + tramp: 2.1.12: tramp completion does not work for me.
2008-03-26 15:37 Linux emacs 22.1 + tramp: 2.1.12: tramp completion does not work for me Michal
@ 2008-03-26 16:19 ` Thierry Volpiatto
2008-03-26 19:44 ` Michael Albinus
1 sibling, 0 replies; 4+ messages in thread
From: Thierry Volpiatto @ 2008-03-26 16:19 UTC (permalink / raw)
To: Michal; +Cc: emacs mailing list
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Linux emacs 22.1 + tramp: 2.1.12: tramp completion does not work for me.
2008-03-26 15:37 Linux emacs 22.1 + tramp: 2.1.12: tramp completion does not work for me Michal
2008-03-26 16:19 ` Thierry Volpiatto
@ 2008-03-26 19:44 ` Michael Albinus
2008-03-27 11:40 ` Michal
1 sibling, 1 reply; 4+ messages in thread
From: Michael Albinus @ 2008-03-26 19:44 UTC (permalink / raw)
To: Michal; +Cc: emacs mailing list
Michal <rabbit50@tenbit.pl> writes:
> Hallo group members.
Hi,
> 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)
Unfortunately, it doesn't work as described in the Tramp manual. Partial
completion must be enabled permanently:
(add-to-list 'load-path "~/src/tramp/lisp")
(partial-completion-mode t)
(require 'tramp)
> I wonder if it can be the fact that I do not use built in tramp 2.0.55
> from emacs 22.1.
No, that's not related.
> Regards,
> Michal
Best regards, Michael.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Linux emacs 22.1 + tramp: 2.1.12: tramp completion does not work for me.
2008-03-26 19:44 ` Michael Albinus
@ 2008-03-27 11:40 ` Michal
0 siblings, 0 replies; 4+ messages in thread
From: Michal @ 2008-03-27 11:40 UTC (permalink / raw)
To: Michael Albinus; +Cc: emacs mailing list
Hallo Michael!
Michael Albinus <michael.albinus@gmx.de> writes:
> Unfortunately, it doesn't work as described in the Tramp manual. Partial
> completion must be enabled permanently:
>
> (add-to-list 'load-path "~/src/tramp/lisp")
> (partial-completion-mode t)
> (require 'tramp)
It did the job
Thank You,
best regards,
Michal
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-03-27 11:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-26 15:37 Linux emacs 22.1 + tramp: 2.1.12: tramp completion does not work for me Michal
2008-03-26 16:19 ` Thierry Volpiatto
2008-03-26 19:44 ` Michael Albinus
2008-03-27 11:40 ` Michal
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.