From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Live System User Newsgroups: gmane.emacs.bugs Subject: bug#10085: Tramp method completions Date: Sat, 23 Apr 2016 16:08:32 -0400 Message-ID: <8760v8xf3z.fsf@aol.com> References: <87ty5yu6or.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1461442172 17137 80.91.229.3 (23 Apr 2016 20:09:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Apr 2016 20:09:32 +0000 (UTC) Cc: Michael Albinus , Stefan Monnier To: 10085@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 23 22:09:20 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1au3rh-0006uT-By for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Apr 2016 22:09:17 +0200 Original-Received: from localhost ([::1]:53377 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1au3rg-0006VY-5u for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Apr 2016 16:09:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35432) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1au3ra-0006QY-2y for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 16:09:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1au3rS-0000Xy-Im for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 16:09:10 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1au3rS-0000Xu-DJ for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 16:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1au3rS-00051b-3s for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 16:09:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87ty5yu6or.fsf@gmx.de> Resent-From: Live System User Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Apr 2016 20:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10085 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10085-submit@debbugs.gnu.org id=B10085.146144212119286 (code B ref 10085); Sat, 23 Apr 2016 20:09:02 +0000 Original-Received: (at 10085) by debbugs.gnu.org; 23 Apr 2016 20:08:41 +0000 Original-Received: from localhost ([127.0.0.1]:44312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1au3r7-000510-4B for submit@debbugs.gnu.org; Sat, 23 Apr 2016 16:08:41 -0400 Original-Received: from omr-m008e.mx.aol.com ([204.29.186.7]:43386) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1au3r5-00050l-KC for 10085@debbugs.gnu.org; Sat, 23 Apr 2016 16:08:39 -0400 Original-Received: from mtaout-mbe02.mx.aol.com (mtaout-mbe02.mx.aol.com [172.26.254.174]) by omr-m008e.mx.aol.com (Outbound Mail Relay) with ESMTP id 2020738000E9; Sat, 23 Apr 2016 16:08:34 -0400 (EDT) Original-Received: from localhost.localdomain (c-50-163-96-131.hsd1.ma.comcast.net [50.163.96.131]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mtaout-mbe02.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id CB81138000091; Sat, 23 Apr 2016 16:08:33 -0400 (EDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20150623; t=1461442114; bh=YbPkHAz/XnTp8qq/OqU3bijUXuB5A5xN0Zrk4DfuMiw=; h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type; b=R2I4SBb5rHjEDg8qT07HsENhusGKvAD8PcgrZ8P5g92RBIwHwaXeG4iGJtAXG3Tv6 7IM09aZWRD35reytZljOREq6mRi2ALhGpGLvytCc1Ldnsl9e9mZ8vGePMVEWgv2NTU InOZs+ESM1tdEXeTfGuPBzWlp+7oJ0GbOUjpBzgA= x-aol-sid: 3039ac1afeae571bd64157d7 X-AOL-IP: 50.163.96.131 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:116720 Archived-At: Hi, I reported this bug to the tramp-devel mailing list and was told that this bug was already reported as Bug#10085. This bug is still present in GNU Emacs 25.0.92.1 Should I open up a new bug report and have Bug#10085 merged with it so that this old bug (initially reported in November, 2011). may receive renewed attention? Or should I just add my bug report to Bug#10085 as I am now doing? Here is my bug report below. Thanks. I'm having a problem with Tramp and completion. 1. I type C-x C-f (find-file) I see "Find file: ~/ in the echo area 2. I type /ssh: and TAB I see as completion candidates Click on a completion to select it. In this buffer, type RET to select the completion near point. Possible completions are: ssh:127.0.0.1: ssh:localhost.localdomain: ssh:localhost: 3. I type : so the prompt now displays: Find file: ~//ssh:: 4. I press TAB and see the error: Tramp: Opening connection for ssh using ssh...failed Now the prompt says: Find file: ~//ssh:ssh: and, of course, if I were to press another TAB it would yields a "[No match]" message 5. If I then remove the ~/ and second ssh from prompt so that it now displays: Find file: /ssh:: and press TAB, the completion candidates now yield: Click on a completion to select it. In this buffer, type RET to select the completion near point. Possible completions are: ssh:127.0.0.1: ssh:localhost.localdomain: ssh:localhost: ssh:ssh: Why was ssh:ssh added as a completion canidate? This probably why the prompt now shows: Find file: /ssh:ssh 6. If I then remove the second ssh: so that prompt shows: Find file: /ssh:: and press TAB, I get the error: Tramp: Opening connection for ssh using ssh...failed and the prompt returns back to: Find file: /ssh:ssh: It appears that once Tramp gets ahold of ~// it doesn't let go. This is into contrast to not invoking Tramp. Consider: C-x C-f and the prompt Find file: ~/ and typing /etc so that the prompt is now: Find file: ~//etc Pressing TAB yields Find file: ~//etc/ and another TAB shows the files in /etc as completion canndidates. The ~/ here (and in Tramp after step 2 above) is greyed out. Also, it appears that ~//ssh:: TAB ~//ssh:localhost: TAB behave diffently as it appears that ~//ssh:localhost: TAB works as I expect whereas ~//ssh:: TAB does not. Perhaps :: doesn't imply localhost? Thanks.