all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: Michal <rabbit50@tenbit.pl>
Cc: emacs mailing list <help-gnu-emacs@gnu.org>
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	[thread overview]
Message-ID: <871w5xsbjp.fsf@thievol.homelinux.org> (raw)
In-Reply-To: <m2ej9xmr8a.fsf@tenbit.pl> (Michal's message of "Wed, 26 Mar 2008 16:37:09 +0100")

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	other threads:[~2008-03-26 16:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2008-03-26 19:44 ` Michael Albinus
2008-03-27 11:40   ` Michal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871w5xsbjp.fsf@thievol.homelinux.org \
    --to=thierry.volpiatto@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rabbit50@tenbit.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.