From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Newsgroups: gmane.emacs.bugs Subject: bug#26387: Issues in IDO/Tramp interaction Date: Mon, 10 Apr 2017 03:09:42 -0400 Message-ID: <73149d17-d82f-6d16-ce68-6184e243d3e9@gmail.com> References: <87h920le7a.fsf@detlef> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1491808212 7058 195.159.176.226 (10 Apr 2017 07:10:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Apr 2017 07:10:12 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cc: 26387@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 10 09:10:09 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 1cxTSi-0001kY-N3 for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Apr 2017 09:10:08 +0200 Original-Received: from localhost ([::1]:60969 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxTSo-0008EA-Jv for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Apr 2017 03:10:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxTSg-0008C3-L7 for bug-gnu-emacs@gnu.org; Mon, 10 Apr 2017 03:10:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cxTSd-0001fm-Gp for bug-gnu-emacs@gnu.org; Mon, 10 Apr 2017 03:10:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42278) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cxTSd-0001fc-E2 for bug-gnu-emacs@gnu.org; Mon, 10 Apr 2017 03:10:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cxTSd-0005Ui-6K for bug-gnu-emacs@gnu.org; Mon, 10 Apr 2017 03:10:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Apr 2017 07:10:03 +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.149180819221100 (code B ref 26387); Mon, 10 Apr 2017 07:10:03 +0000 Original-Received: (at 26387) by debbugs.gnu.org; 10 Apr 2017 07:09:52 +0000 Original-Received: from localhost ([127.0.0.1]:40477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cxTSR-0005UF-RC for submit@debbugs.gnu.org; Mon, 10 Apr 2017 03:09:51 -0400 Original-Received: from mail-qt0-f173.google.com ([209.85.216.173]:35614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cxTSQ-0005U3-0K for 26387@debbugs.gnu.org; Mon, 10 Apr 2017 03:09:50 -0400 Original-Received: by mail-qt0-f173.google.com with SMTP id n46so22727873qta.2 for <26387@debbugs.gnu.org>; Mon, 10 Apr 2017 00:09:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=hyytkdbjBpAlZIxa7hYUGN4+gJZ0imfZCS/Ry82r+FE=; b=G2JFqCw7kCbfhI0WFDrtJ6ACwjpzHJCUltzcMsIhk4JrkWquQbIYyV/WhRp37FBgaP MJGdlG83o3gKRE9dUVpKFi9+au94g4xKMRknYR/FY+0SoV7TpWK9MIKUhHoNyL8gDJEc QxGGtKGEbLruXMxZtVZNeSKvbvQ8o1T62M1mlAhjKQm4CZ424K3Qh2VFmCzu69Bp1sRh O5QU5tNvw3dwqLXGISX4fd12BLoYu3mm9KZZtNp9ujAE56/tFNZPOeBltdqCNnHkQZmH 6JaRnHC1MBry1pQfRdzXj+FrqsjLQWkQncLbKh8iioyxAY+0ey/lXmNM0Kp9f52+beF/ n9fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=hyytkdbjBpAlZIxa7hYUGN4+gJZ0imfZCS/Ry82r+FE=; b=kWCF4kTiIg+NML10jpiOq75YdID0Ob22vF1owtUsOqVjWRuiKoaLDAtp91UlMnk+CJ urTb3tkWuW2pJ3PEyx7t+jS1xhh0eCopmPCsz1A8cPlMpB1gC3kdAI4ot5Mhr5eoLtJF LDZdw5XylGLPtq+yK7+me+yzsF5Nj1udqPZzlpwQ0rDzD/26lgGf7DNfTshv7BY2H0IT X/lyIWNPf/mrUnz0fQxc7c5BmO19dXP6L/ws2UR3ck6/hQuRmWAMEibEo8NHbnbIUANt L0cCvqgCPWMz5l3vsS8Cy/yhxVQeW1X/vuYuqR7xp2hDeROt2nMgg4pmMFLw6WUGitcD zCIQ== X-Gm-Message-State: AN3rC/799kc4OQlIR/VYi702y/QwI0CdoD7dtYIRAmGbo7f3XJIAfOYA8r8P7lfeo1M4hg== X-Received: by 10.200.52.232 with SMTP id x37mr11785030qtb.34.1491808184400; Mon, 10 Apr 2017 00:09:44 -0700 (PDT) Original-Received: from [18.189.26.125] (dhcp-18-189-26-125.dyn.MIT.EDU. [18.189.26.125]) by smtp.gmail.com with ESMTPSA id a2sm285051qte.64.2017.04.10.00.09.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Apr 2017 00:09:44 -0700 (PDT) In-Reply-To: <87h920le7a.fsf@detlef> 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:131438 Archived-At: 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? 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. 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. Cheers, Clément.