From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#32591: 26.1; Ido-find-file does not intuitiely support tramp Date: Thu, 30 Aug 2018 17:19:11 +0200 Message-ID: <87d0tzx4pc.fsf@gmx.de> References: <87mut4q63l.fsf@fastmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1535642287 20884 195.159.176.226 (30 Aug 2018 15:18:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 30 Aug 2018 15:18:07 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 32591@debbugs.gnu.org To: Joshua Branson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 30 17:18:03 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvOhu-0005Jq-SD for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Aug 2018 17:18:02 +0200 Original-Received: from localhost ([::1]:49504 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvOk1-0001jL-2D for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Aug 2018 11:20:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46758) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvOjv-0001jB-53 for bug-gnu-emacs@gnu.org; Thu, 30 Aug 2018 11:20:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fvOjq-0000PC-WC for bug-gnu-emacs@gnu.org; Thu, 30 Aug 2018 11:20:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34289) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fvOjq-0000Ou-Qz for bug-gnu-emacs@gnu.org; Thu, 30 Aug 2018 11:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fvOjq-0002XN-JE for bug-gnu-emacs@gnu.org; Thu, 30 Aug 2018 11:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Aug 2018 15:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32591 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32591-submit@debbugs.gnu.org id=B32591.15356423649690 (code B ref 32591); Thu, 30 Aug 2018 15:20:02 +0000 Original-Received: (at 32591) by debbugs.gnu.org; 30 Aug 2018 15:19:24 +0000 Original-Received: from localhost ([127.0.0.1]:39307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvOjE-0002WE-8O for submit@debbugs.gnu.org; Thu, 30 Aug 2018 11:19:24 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:36639) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvOjC-0002Vz-BQ for 32591@debbugs.gnu.org; Thu, 30 Aug 2018 11:19:22 -0400 Original-Received: from detlef.gmx.de ([212.91.238.173]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M5uLh-1fgUMz1S1p-00xrhX; Thu, 30 Aug 2018 17:19:12 +0200 In-Reply-To: <87mut4q63l.fsf@fastmail.com> (Joshua Branson's message of "Thu, 30 Aug 2018 10:30:54 -0400") X-Provags-ID: V03:K1:nxCXE/iRtcdPmW2NWsiFHdhT4H6Vrwoc7KKLPxQT6ld+FZEx+jZ aQG5X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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:149882 Archived-At: Joshua Branson writes: Hi Joshua, > 1) Default Emacs Tramp and Ido mode have non-intuitive ways of > searching for a remote file. > > M-x ido-find-file > > "Find File: ~//ssh:joshua@localhost#2222" TAB does not prompt me for a > password. Instead I just see "[No Match]". There's no way to know that it is a remote file name. The second colon is missing. I bet, that typing "Find File: ~//ssh:joshua@localhost#2222:" gives you what you want. > 2) Default Emacs Tramp and Ido mode have non-intuitive ways of opening > remote files. > > M-x ido-find-file > > "Find File: ~//ssh:joshua@localhost#2222:/home/joshua/hello" > > Sometimes opens a local file instead of opening a remote file. I can't > reliably reproduce this behavior though. This is more interesting. But I would need a reliable recipe to see the problem. > 3) Ido grays out the initial "~/" if one starts to type out tramp > syntax, but un-greys out those characters when it shouldn't. > > Type the following in ido-find-file > > "Find File: ~//ssh:joshua@localhost#2222" > > "~/" is greyed out. Ido greys out "~/" because of the double slash. It has nothing to do with a remote file name. Again, there is no remote file name, only a string which might be a remote file name when it is complete. > Type a : to specify a path and watch the "~/" get un-greyed out. That seems to be an ido problem. With plain "M-x find-file" I cannot reproduce it. However, even if this grey out does not work as expected, I believe that opening the file (after entering RET) still works as expected. > Thanks for listening Best regards, Michael.