From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.help 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 Message-ID: <871w5xsbjp.fsf@thievol.homelinux.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1206547662 9941 80.91.229.12 (26 Mar 2008 16:07:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Mar 2008 16:07:42 +0000 (UTC) Cc: emacs mailing list To: Michal Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 26 17:08:12 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JeY8s-0001ie-1z for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Mar 2008 17:06:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JeY8G-0007cA-NL for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Mar 2008 12:05:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JeY7y-0007au-19 for help-gnu-emacs@gnu.org; Wed, 26 Mar 2008 12:05:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JeY7w-0007a9-Bj for help-gnu-emacs@gnu.org; Wed, 26 Mar 2008 12:05:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JeY7w-0007a5-1M for help-gnu-emacs@gnu.org; Wed, 26 Mar 2008 12:05:24 -0400 Original-Received: from nf-out-0910.google.com ([64.233.182.184]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JeY7v-0003ol-2p for help-gnu-emacs@gnu.org; Wed, 26 Mar 2008 12:05:23 -0400 Original-Received: by nf-out-0910.google.com with SMTP id f5so1425106nfh.26 for ; Wed, 26 Mar 2008 09:05:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:cc:subject:references:date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=xU7iOFf7reBhH+qkcIU/ALWpkBF2q7PqzvnZTCQhEf0=; b=rbvcwyacuyxCduU1wrpsX3xywxLdF2gdbJEwMfIdHZEcp6QGLOg+QAO2tlqiYR63jBl1pPwi571u+wJ3kThEUrqAiD+CLIiubrUsIpQsCyI062//2SGEuo/tWvPy6lhX8SXjN0MhvqDpGB9QGV1vEtSHswAFd+F3V+9+ZhxsgCk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=from:to:cc:subject:references:date:in-reply-to:message-id:user-agent:mime-version:content-type; b=A9D4jVnkQtkWtjFp4sKnqXk8J1Y22ViPh5d6Ma7Vac1YIU4/pHdX1Z4LtYcQKgxFbiv7cJo5SSfODb5ZI7gZJSjhEsv6k/pPfcaG8/MGmoQOLhcw9JZotLRfR0rA1/MyiiCTulR3VsnJlYHfqgDG9gC8IA1o2tz76dyF4QFV83o= Original-Received: by 10.78.107.8 with SMTP id f8mr516423huc.23.1206547514015; Wed, 26 Mar 2008 09:05:14 -0700 (PDT) Original-Received: from thievol.homelinux.org ( [79.85.211.210]) by mx.google.com with ESMTPS id s10sm12580704mue.15.2008.03.26.09.05.12 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 26 Mar 2008 09:05:13 -0700 (PDT) In-Reply-To: (Michal's message of "Wed, 26 Mar 2008 16:37:09 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:52707 Archived-At: Michal 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 no completion is present.... > > or even > C-x C-f /s > Click on a completion to select it. > In this buffer, type 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