GNU bug report logs - #26387
Issues in IDO/Tramp interaction

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Clément Pit-Claudel <cpitclaudel@HIDDEN>; dated Thu, 6 Apr 2017 20:29:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 26387 <at> debbugs.gnu.org:


Received: (at 26387) by debbugs.gnu.org; 10 Apr 2017 15:12:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 10 11:12:59 2017
Received: from localhost ([127.0.0.1]:41375 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cxazz-0002TN-IB
	for submit <at> debbugs.gnu.org; Mon, 10 Apr 2017 11:12:59 -0400
Received: from mail-qk0-f179.google.com ([209.85.220.179]:33499)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cpitclaudel@HIDDEN>) id 1cxazx-0002T8-60
 for 26387 <at> debbugs.gnu.org; Mon, 10 Apr 2017 11:12:57 -0400
Received: by mail-qk0-f179.google.com with SMTP id h67so115603119qke.0
 for <26387 <at> debbugs.gnu.org>; Mon, 10 Apr 2017 08:12:57 -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=0PgVdmMCQgNI2lDs3psEAa80AplUBu3jeyDr4bReyiY=;
 b=uatZUI6IISMqTNJlY2MZ5SZygQheXH8kC3fqHEcN6Um2ctWTIurnMoN6kz3wzVHBGq
 PSz7vVD08ckAfBjlkqCoRV8N4fzeR5D68/wMiXdJ6dEheutxI14/xcsOyq2yNUNrLI1q
 43/Jeu4SRE/gf7EKwUzvmWzDWhZKObXn/KIsyewSJmhHEe4NlmZwPrzKY/mzjnrU01NQ
 lc85JI1OkLv0GGWDvr13uBeJp7Xv3CmQLbla+NJ3HHSmSDmwNkq1MbmZUhChHvbKYOKN
 KqFSybbWGFvWXSruHLhjkelRsb3UyNtB3Z9lLHtJZLOKd0PXkEohyTB02OOiikRaomxW
 Bf6w==
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=0PgVdmMCQgNI2lDs3psEAa80AplUBu3jeyDr4bReyiY=;
 b=qAJFGclVfuuOa8fT9GNc1Lx9RByETg6a8KNp1vs+0JlDJhOHxCrX6eZBqfvJ1ustFH
 fAPNRSwO6mqjNpEV6+iJ39HyMg0ibmTwqatij1/4CQ9HyZR88GIj3uDOCLpVsyGV0r5I
 I3uoWOrC7rJOWG+iy0NcB/VKO2PBvvMGtfRnuhX7fYViaT8QFmMvY0lM+ScoraGbN9cu
 Aejbo3VztsqhJCIzYDBKn3HNAZ3ZTu1ooqbQaGRKC/dqS3H0wfDfEMvBq5Nk/VvBBwPK
 P9pnWfs26r2ffaoBNjqFnOFn1thbQjvadYmMrMoUPyOu2PkCst1H55ctklxMzXzhR6rB
 F0dw==
X-Gm-Message-State: AFeK/H1j/soJqbk1tDMgqY98vRPXFrUxYsm8V1hQ+aH6ju9Il1QUThCQndsHr/k2EKS/gg==
X-Received: by 10.55.21.23 with SMTP id f23mr40479213qkh.192.1491837171551;
 Mon, 10 Apr 2017 08:12:51 -0700 (PDT)
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 v13sm4697858qtc.18.2017.04.10.08.12.50
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 10 Apr 2017 08:12:51 -0700 (PDT)
Subject: Re: bug#26387: Issues in IDO/Tramp interaction
To: Michael Albinus <michael.albinus@HIDDEN>
References: <d341ce57-9fdc-c5ad-7c82-3f1e4083c5ab@HIDDEN>
 <87h920le7a.fsf@detlef> <73149d17-d82f-6d16-ce68-6184e243d3e9@HIDDEN>
 <878tn890l4.fsf@detlef>
From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= <cpitclaudel@HIDDEN>
Message-ID: <c5a3c9ee-ac87-426e-baf7-9527e725edba@HIDDEN>
Date: Mon, 10 Apr 2017 11:12:50 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <878tn890l4.fsf@detlef>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 26387
Cc: 26387 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.5 (/)

On 2017-04-10 03:35, Michael Albinus wrote:
> I cannot reproduce this locally. Could you, pls, start
> 
> emacs -Q -f ido-mode

You're right, sorry; the following is enough to reproduce it:

  emacs -Q --eval "(setq ido-everywhere t)" -f ido-mode

Clément




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26387; Package emacs. Full text available.

Message received at 26387 <at> debbugs.gnu.org:


Received: (at 26387) by debbugs.gnu.org; 10 Apr 2017 07:35:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 10 03:35:45 2017
Received: from localhost ([127.0.0.1]:40499 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cxTrV-00067l-PP
	for submit <at> debbugs.gnu.org; Mon, 10 Apr 2017 03:35:45 -0400
Received: from mout.gmx.net ([212.227.17.21]:60022)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1cxTrT-00067X-Cf
 for 26387 <at> debbugs.gnu.org; Mon, 10 Apr 2017 03:35:43 -0400
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
From: Michael Albinus <michael.albinus@HIDDEN>
To: =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel <cpitclaudel@HIDDEN>
Subject: Re: bug#26387: Issues in IDO/Tramp interaction
References: <d341ce57-9fdc-c5ad-7c82-3f1e4083c5ab@HIDDEN>
 <87h920le7a.fsf@detlef>
 <73149d17-d82f-6d16-ce68-6184e243d3e9@HIDDEN>
Date: Mon, 10 Apr 2017 09:35:35 +0200
In-Reply-To: <73149d17-d82f-6d16-ce68-6184e243d3e9@HIDDEN>
 (=?utf-8?Q?=22Cl=C3=A9ment?=
 Pit-Claudel"'s message of "Mon, 10 Apr 2017 03:09:42 -0400")
Message-ID: <878tn890l4.fsf@detlef>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K0:9IsWNfNGAFGWz5zxRSHSlHquF21JPqaTVF+b9+gdhf/FDYI3xfH
 zIBEiwfp6B0axVZNwjh2V9WIiolLv0K6MJM0yRhEOdXyHmr6pbR0noS51JbpYwSYkyvCs8c
 SqE4mdn2SnCJFAcm8UCM/23ttSY07JrJvrplX4WhDANrO6Bew3udx4mY+NnoVTVJxSYh3nL
 NYgLrU6PRcQ1gn+eKYNeQ==
X-UI-Out-Filterresults: notjunk:1;V01:K0:eKvL9NkhG9E=:hVVC8xoVXqZw4MXKORuzsm
 L7dYTCR3yuwFAYZIGivHMgS9njexk56rkD1bpwm7uLV2S2j1H783bXc9RZcYf/fAs/Ozfpy8E
 hoJVrnbnTTuv9FHXrhOkkwrD622id64A0rkcPa3rt1WF0+gfqsa58CItElacYUd+Z+JBZp5pY
 Qrz1WElqmk7ZDHt5wZP0jMgp1I/iy6bUy8a6HzdtoLr6Gm+CEdHaoeD5M7KYX/WYVgvlluggX
 ePpRmd05KJLGsn+e/je3Mp7Bnr6BngbFiz9wulETjgnDnFCx8luyjdaz60EdTmJezT9GbYkm7
 DTBMfDK2AYH7mvFBUS+yR+dvpf+Q7nr6YZ1AgbwG2e19YEZ/V37jSVfcB7x9WFchJf1Gp1fU6
 wzyIXy+ZNt67hK64H2MtfYIMJl7r7tQz9arV1h0z0e9xR+tE6/YHWP2oHiMMI/1ImGIwC7skI
 3VOQm2xAIpenWaCRU9sza4/EsJ1YrOusLp5gL7bkX0o85pE4FCAFZKtgWeABuc1nkfZOVt8jc
 vV+v5jxk6DHcRrQqM6Kxatc5ryKoBkprTItnTIq4Wicj0Oc/R/82B3DIgKt90R3fQAWKyl7Cx
 NnIqdC8HXVSEfsY41bnDDA2aT54ldv7Rg0JzCXyQx9trSr4tPzSTo5Fzx2LNnaMd5yqPGdo85
 aCg+d9wVmwNtyseJa7LVoo3LzPYZJ2yqX5cCmkY6Ib9SONSIEHWjCh7kJZoZR2qyKuQ+gP0NV
 5xbZj2rRCReEjyLuTV380wrwt3ZG8H4M9+hbnmh7XZVadu6jEQ9/wNTF5yHO6aFmDUHD9hiul
 pZ2S0ZT
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 26387
Cc: 26387 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

Cl=C3=A9ment Pit-Claudel <cpitclaudel@HIDDEN> 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26387; Package emacs. Full text available.

Message received at 26387 <at> debbugs.gnu.org:


Received: (at 26387) by debbugs.gnu.org; 10 Apr 2017 07:09:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 10 03:09:52 2017
Received: from localhost ([127.0.0.1]:40477 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cxTSR-0005UF-RC
	for submit <at> debbugs.gnu.org; Mon, 10 Apr 2017 03:09:51 -0400
Received: from mail-qt0-f173.google.com ([209.85.216.173]:35614)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cpitclaudel@HIDDEN>) id 1cxTSQ-0005U3-0K
 for 26387 <at> debbugs.gnu.org; Mon, 10 Apr 2017 03:09:50 -0400
Received: by mail-qt0-f173.google.com with SMTP id n46so22727873qta.2
 for <26387 <at> 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)
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)
Subject: Re: bug#26387: Issues in IDO/Tramp interaction
To: Michael Albinus <michael.albinus@HIDDEN>
References: <d341ce57-9fdc-c5ad-7c82-3f1e4083c5ab@HIDDEN>
 <87h920le7a.fsf@detlef>
From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= <cpitclaudel@HIDDEN>
Message-ID: <73149d17-d82f-6d16-ce68-6184e243d3e9@HIDDEN>
Date: Mon, 10 Apr 2017 03:09:42 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <87h920le7a.fsf@detlef>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 26387
Cc: 26387 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.5 (/)

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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26387; Package emacs. Full text available.

Message received at 26387 <at> debbugs.gnu.org:


Received: (at 26387) by debbugs.gnu.org; 7 Apr 2017 10:11:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 07 06:11:49 2017
Received: from localhost ([127.0.0.1]:35761 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cwQrs-0000jW-VT
	for submit <at> debbugs.gnu.org; Fri, 07 Apr 2017 06:11:49 -0400
Received: from mout.gmx.net ([212.227.15.15]:59726)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1cwQrr-0000jJ-A4
 for 26387 <at> debbugs.gnu.org; Fri, 07 Apr 2017 06:11:47 -0400
Received: from detlef.gmx.de ([87.146.40.216]) by mail.gmx.com (mrgmx001
 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Lz3nU-1c1HqN2SdU-014DSW; Fri, 07
 Apr 2017 12:11:39 +0200
From: Michael Albinus <michael.albinus@HIDDEN>
To: =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel <cpitclaudel@HIDDEN>
Subject: Re: bug#26387: Issues in IDO/Tramp interaction
References: <d341ce57-9fdc-c5ad-7c82-3f1e4083c5ab@HIDDEN>
Date: Fri, 07 Apr 2017 12:11:37 +0200
In-Reply-To: <d341ce57-9fdc-c5ad-7c82-3f1e4083c5ab@HIDDEN>
 (=?utf-8?Q?=22Cl=C3=A9ment?=
 Pit-Claudel"'s message of "Thu, 6 Apr 2017 16:28:03 -0400")
Message-ID: <87h920le7a.fsf@detlef>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K0:XJDpUusbU0qkd8+tzN74+7HhoFnndsOQwKHhl4ADbJFQNWwTVIK
 i/71tnF1jeNxY0mHMX33ueSxybxHEmO7WhclIs4OekeTbkb/DhrI3cwW63yC29OrjbELo2E
 u+/IqaKs00Uhx5PSEIZOALKXUmXRK6+7fkOX1NX9IoIroIBBs1Se4vlW20of8ViqDobj6jQ
 YizAl9hcrJU+pbcGHR0EA==
X-UI-Out-Filterresults: notjunk:1;V01:K0:TIFa45x++oU=:Y0kDmjaJy36C8fQZBAuD/I
 WNZ3xtVNjZVQEQsNADeLwFdx11USwBFnLa+LUvgyjtlGrTHHbhURsFUJcHMXZVrc/NmpMmL79
 O21v8eZgjK0rpyoVtb536jXkB268X6wVUdatGmGRy6QaTkUvWW/tEzAOS0ReDKZ4TbUdnZEQS
 xzrNQ3W1OqkAxo02n8oc+1osg7JKppFg8xQphbC88n7Ebm3935DlQNeLQlSlamnUPMcDcPQQQ
 SDBBmd0JwSX9Z1q52yaVL5EHIehPZEID+b8mHi3pWh3Hm10vj0ElWDoj2yl9bECyVHKC1QSxu
 ZVQh455si4/aA4rGcIuDHD0CKj6lu9SbyUz3V0nb6YySXn0kwnUsJl9piKawGWS/b55DmMC3R
 adqxWN1DRhE51/0Kwm9cj7P/y5xJ5KXVh9Yjk3kfb4djHEByfkkIaDA+aawpoNjBNhx2PU/Ej
 MvBGp1T2uXiRFbZzbvh+YJtn+kcbss52qmXgTgzcIdcR+/C+8JF5Vq/41+Oxz8rmLfjFD9Yy6
 0+crqNwakDwBuNLWdJ8oTE9U/C3KJdavvLT0r8dlnkhPDUF+mDzw82F76SwIW3jHuvWW2GT+W
 Gkmrpz+h8/8ulKToWV0TGdz4bZ95QIJ/K82zrR8q3CRGeFRRji9gKDFaLPy819zfCYaHF79qp
 8gYLirB0izobYKYqXiX934p+GoDhRk33QTUdCetn0QyPIB2kRxT9c3ERYbtcj8pl4OUpJgxOX
 z8xMsxlS3TLmD1dD39ILu8hZKH9zUcFCR98QYN3vYdcNQhjL/59ugcH5a+pq4yUsZrjvm0158
 UqWDd1A
X-Spam-Score: -3.5 (---)
X-Debbugs-Envelope-To: 26387
Cc: 26387 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.5 (---)

Cl=C3=A9ment Pit-Claudel <cpitclaudel@HIDDEN> writes:

> Hi bug-gnu-emacs,

Hi Cl=C3=A9ment,

> (Not sure if this should go here or tramp-devel)

Tramp maintainers read also this ML :-)

> There are a few compatibility issues between IDO and Tramp:
>
> 1. In IDO, '~' is always interpreted as a local path.  That is, if
> after enabling IDO mode I type C-x C-f /sshx:user@host:~/, then IDO
> immediately removes the /sshx:user@host: prefix.

I cannot say too much about, looks to me like an ido issue.=20

> 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?

And btw, I recommend you to use connection-local variables in order to
avoid this question. See the example in (info "(tramp) Remote processes")

> Cheers,
> Cl=C3=A9ment.

Best regards, Michael.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26387; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 6 Apr 2017 20:28:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 06 16:28:16 2017
Received: from localhost ([127.0.0.1]:35317 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cwE0u-0000ks-66
	for submit <at> debbugs.gnu.org; Thu, 06 Apr 2017 16:28:16 -0400
Received: from eggs.gnu.org ([208.118.235.92]:49466)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cpitclaudel@HIDDEN>) id 1cwE0s-0000kg-MX
 for submit <at> debbugs.gnu.org; Thu, 06 Apr 2017 16:28:14 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <cpitclaudel@HIDDEN>) id 1cwE0m-0006d4-Mh
 for submit <at> debbugs.gnu.org; Thu, 06 Apr 2017 16:28:09 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:54584)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <cpitclaudel@HIDDEN>)
 id 1cwE0m-0006cx-JT
 for submit <at> debbugs.gnu.org; Thu, 06 Apr 2017 16:28:08 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:40436)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <cpitclaudel@HIDDEN>) id 1cwE0l-0005BC-IU
 for bug-gnu-emacs@HIDDEN; Thu, 06 Apr 2017 16:28:08 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <cpitclaudel@HIDDEN>) id 1cwE0k-0006cf-Pi
 for bug-gnu-emacs@HIDDEN; Thu, 06 Apr 2017 16:28:07 -0400
Received: from mail-qt0-x22a.google.com ([2607:f8b0:400d:c0d::22a]:35203)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <cpitclaudel@HIDDEN>)
 id 1cwE0k-0006ca-LX
 for bug-gnu-emacs@HIDDEN; Thu, 06 Apr 2017 16:28:06 -0400
Received: by mail-qt0-x22a.google.com with SMTP id x35so46126107qtc.2
 for <bug-gnu-emacs@HIDDEN>; Thu, 06 Apr 2017 13:28:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=to:from:subject:message-id:date:user-agent:mime-version
 :content-transfer-encoding;
 bh=Cxl+n8zxyxwbLurMxiON4OwUXMcuSwd2uU3sOmxIgJc=;
 b=bmTRufZ3b42t+YPSahU+jIGRiwZPQvVxefFDqcDNCHHtS1UZHqebRDUmC3ceuo37UE
 +RuUpEfXyc5kvRqWvIQ8rfc8Bjcso4NXOK1+wv4o1RvLQ1lyG9TYEkfJr29t+ZNVvCoI
 sLMttfzTbhyDO97lnAzLs5V4Wm/w2gJSbOUGN2ys9gsywnjEdyivXc8RUEvG70SMkROA
 /QUdKksYhSx9K4nRoaWfqfQaHyT5DqFuu8ZxHpoaCgjckmxbAoUufWzrbphxurOsJpnv
 R19UiIyZx5XjTrWMcBdFO83rTlljd6cHI0HDaillGQ4k9Xn1i/WX1zZAIgoJ26LFCEwo
 wV2Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:to:from:subject:message-id:date:user-agent
 :mime-version:content-transfer-encoding;
 bh=Cxl+n8zxyxwbLurMxiON4OwUXMcuSwd2uU3sOmxIgJc=;
 b=OUcuTsRLRelMGybT83dW46d+4DOEKX3V3JYFoLOUyPSMgbX7sT/3TfGrK0z0BDyyqu
 dEqEqGhf5FYIOdrX/geR0NzRqeStRU8fUGUg/cVunPkA+RGAkDG1etIy7cEv0b3+UbFo
 Sw9onM3HcI7UpcGERn4gXauf9O6F3kYKyYveGK/pak0+fn4aSJhUKci0HeYXijyztmDk
 5t6VU1T1kHODlXN119HdSg/StVDKC6RHLtes6M3FIyetNySYP+/MyOpQ+1XDBiAaNcS0
 lGVP44m3nwcyvMHfwymLo+JFTMWsGrjFZxbqGYq9vv1RqkAU/Gjv4ebKe7XTaZ+7/pqc
 93zQ==
X-Gm-Message-State: AFeK/H0OuZmVbdpakNTs9PYirH53PI3JFRFkICI76DZU58V/XDFmfUAwqH+9lcAz7ssj9w==
X-Received: by 10.237.32.69 with SMTP id 63mr36347584qta.107.1491510485852;
 Thu, 06 Apr 2017 13:28:05 -0700 (PDT)
Received: from ?IPv6:2001:470:8b2d:1a:9bab:c177:73b2:20a9?
 ([2001:470:8b2d:1a:9bab:c177:73b2:20a9])
 by smtp.gmail.com with ESMTPSA id b3sm1668067qkj.15.2017.04.06.13.28.05
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 06 Apr 2017 13:28:05 -0700 (PDT)
To: bug-gnu-emacs@HIDDEN
From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= <cpitclaudel@HIDDEN>
Subject: Issues in IDO/Tramp interaction
Message-ID: <d341ce57-9fdc-c5ad-7c82-3f1e4083c5ab@HIDDEN>
Date: Thu, 6 Apr 2017 16:28:03 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.8.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

Hi bug-gnu-emacs,

(Not sure if this should go here or tramp-devel)

There are a few compatibility issues between IDO and Tramp:

1. In IDO, '~' is always interpreted as a local path.  That is, if after enabling IDO mode I type C-x C-f /sshx:user@host:~/, then IDO immediately removes the /sshx:user@host: prefix.

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".

Cheers,
Clément.




Acknowledgement sent to Clément Pit-Claudel <cpitclaudel@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#26387; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.