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#26387: Issues in IDO/Tramp interaction Date: Mon, 10 Apr 2017 09:35:35 +0200 Message-ID: <878tn890l4.fsf@detlef> References: <87h920le7a.fsf@detlef> <73149d17-d82f-6d16-ce68-6184e243d3e9@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1491809770 11586 195.159.176.226 (10 Apr 2017 07:36:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Apr 2017 07:36:10 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 26387@debbugs.gnu.org To: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 10 09:36:05 2017 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 1cxTrp-0002ul-Ir for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Apr 2017 09:36:05 +0200 Original-Received: from localhost ([::1]:32823 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxTrv-0006xD-IG for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Apr 2017 03:36:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxTrp-0006wv-Dz for bug-gnu-emacs@gnu.org; Mon, 10 Apr 2017 03:36:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cxTrm-0002XI-Az for bug-gnu-emacs@gnu.org; Mon, 10 Apr 2017 03:36:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42300) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cxTrm-0002XA-6u for bug-gnu-emacs@gnu.org; Mon, 10 Apr 2017 03:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cxTrm-00068F-0C for bug-gnu-emacs@gnu.org; Mon, 10 Apr 2017 03:36: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: Mon, 10 Apr 2017 07:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26387 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 26387-submit@debbugs.gnu.org id=B26387.149180974623550 (code B ref 26387); Mon, 10 Apr 2017 07:36:01 +0000 Original-Received: (at 26387) by debbugs.gnu.org; 10 Apr 2017 07:35:46 +0000 Original-Received: from localhost ([127.0.0.1]:40499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cxTrV-00067l-PP for submit@debbugs.gnu.org; Mon, 10 Apr 2017 03:35:45 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:60022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cxTrT-00067X-Cf for 26387@debbugs.gnu.org; Mon, 10 Apr 2017 03:35:43 -0400 Original-Received: from detlef.gmx.de ([87.146.54.92]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LrNoG-1bwxaW3GFY-013397; Mon, 10 Apr 2017 09:35:36 +0200 In-Reply-To: <73149d17-d82f-6d16-ce68-6184e243d3e9@gmail.com> ("=?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel"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2rRCReEjyLuTV380wrwt3ZG8H4M9+hbnmh7XZVadu6jEQ9/wNTF5yHO6aFmDUHD9hiu 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:131440 Archived-At: Cl=C3=A9ment Pit-Claudel writes: > On 2017-04-07 06:11, Michael Albinus wrote: >>> 2. Running M-x shell in a buffer editing a remote file results in a >>> prompt saying "Remote shell path: /sshx:user@host:/home/user//bin/bash >>> (not found)". The coorrect prompt would be >>> "/sshx:user@host:/bin/bash". >> >> I get "/sudo:root@host:/root//usr/bin/tcsh [Matched]". Does /bin/bash >> exist on your remote machine? > > It does. Ideally, shouldn't it print as > "/sudo:root@host:/usr/bin/tcsh" instead of > "/sudo:root@host:/root//usr/bin/tcsh" anyway? Both notations are equivalent. Before being called, the file name passes `substitute-in-file-name'. > Currently, it shows "Shell remote path: > /ssh:clement@host:/home/clement//bin/bash [No match]"; everything > before "/bin/bash" is highlighted and read-only, and pressing RET > doesn't do anything. Only the "/home/clement/" part shall be shown differently. > Instead I need to press C-e to get into edit mode > then RET to get "/ssh:clement@host:/bin/bash", and finally I can > confirm with RET. I cannot reproduce this locally. Could you, pls, start emacs -Q -f ido-mode and check, whether the problem persists? > Cheers, > Cl=C3=A9ment. Best regards, Michael.