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#25607: 26.0.50; Ido does not work with tramp anymore Date: Sun, 05 Feb 2017 12:13:34 +0100 Message-ID: <87zii07uw1.fsf@gmx.de> References: <58933b10.4c861c0a.24b8c.3052@mx.google.com> <87shnvfin4.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1486293255 4401 195.159.176.226 (5 Feb 2017 11:14:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 5 Feb 2017 11:14:15 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: =?UTF-8?Q?C=C3=A9dric_?= =?UTF-8?Q?Ch=C3=A9pied?= , 25607@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 05 12:14: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 1caKll-0000sJ-9s for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Feb 2017 12:14:09 +0100 Original-Received: from localhost ([::1]:42694 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1caKlq-00087V-V0 for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Feb 2017 06:14:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45266) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1caKlh-00087E-RP for bug-gnu-emacs@gnu.org; Sun, 05 Feb 2017 06:14:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1caKle-0001xH-Mq for bug-gnu-emacs@gnu.org; Sun, 05 Feb 2017 06:14:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58306) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1caKle-0001x2-JE for bug-gnu-emacs@gnu.org; Sun, 05 Feb 2017 06:14:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1caKle-0005Ok-6o for bug-gnu-emacs@gnu.org; Sun, 05 Feb 2017 06:14:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <58933b10.4c861c0a.24b8c.3052@mx.google.com> Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Feb 2017 11:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25607 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25607-submit@debbugs.gnu.org id=B25607.148629322820724 (code B ref 25607); Sun, 05 Feb 2017 11:14:02 +0000 Original-Received: (at 25607) by debbugs.gnu.org; 5 Feb 2017 11:13:48 +0000 Original-Received: from localhost ([127.0.0.1]:56505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1caKlQ-0005OC-9h for submit@debbugs.gnu.org; Sun, 05 Feb 2017 06:13:48 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:63500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1caKlO-0005Nz-Ip for 25607@debbugs.gnu.org; Sun, 05 Feb 2017 06:13:47 -0500 Original-Received: from detlef.gmx.de ([62.227.222.33]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Li1hG-1c5B0E0FUo-00nDWQ; Sun, 05 Feb 2017 12:13:36 +0100 X-Provags-ID: V03:K0:zI6Rq4IOuVeJSXp508VYhjJmE3p8EnYnjlvFINQ3OuAh1dMiCwT ooN0IGRVR5WvzACG4xssZ82T1hJGnzmBvSyMf6z2yXAWKY1gE0yYp/RZDFcgHXS5Sx8w4ll bMr8FOZwI4WKk/hMG4rsm+MCgWFNyL2yMDcPPyHsCkIrp6oQtc0KCBfDboDTVwHehuTDpjr GiOjFkQVdE83K3XAfzsCw== X-UI-Out-Filterresults: notjunk:1;V01:K0:lbgy4cXhgeQ=:ec+c/FfXnRu51UC4fzQyCX /9MQvWooigie1KCVUhqiLL/VCUfrWNYjBWL8iv52Ou7o7DlVYyKlGiUUinBumFpvy3CuhftMZ Fg4s3BdCiSju5S3yti0w478Ii8P/GuAT1+7tkARDm12RyCi5p5UzBsdCrSBU8Vyc2rfq0AWFw wO+6oboVRnpf07ErKBxyPnmKx0LU51FuXxnBSd8Daprv4UQ6EeagvKMltOn96eHm6x7WW42SG o30OdE6ULif9SjLJwWCH4xylc4cl9G+jG3vslZ3TMXEWddVW5q+OKxYvRU4ifa+T8nTcfAOjz LrfKoeoAAHqVoaHeqxI/ubsMrHKwMbycOIeHeIymd/jEIMbpDKb1Y12fXfQ9VBaopdmCMalKN Pui5Wx+WpzDer8I331vmRNAfUGQXP12ykLOFRxqOwmGqjbodmNHf6ZpCYViJLTp0toZsv+2hf HarUXhD7adzUFAQrBoN4GZdZbwyAfzImtpD6imTghbaIKAIUoszczz8BFClrueWudwO62iFG9 3hn2JRYH6lndYFiy+nDODUxyOnWAh+YRMDuooL+6GmykzLsqu7ndQeikJBSlZBbcV/FkkONBw 5KwccBfCbUzb5MWpPRlq8EveGjCijCUaxdzTaPOHckhuxYmDK/lahtZMpNaVLwJ4vvlDpagJO JHwjLwHnx8HAY62WvSodAxZENAuzpTvrv7oFh+E/39jI9TyjfPib6rG3r4H5nVVvhtBnptx7D NxSL4GQPb3zm0SFcC9IGpUm6geaS1d0mW1eLjS/fjdHRlyEnWh0kP2fpQ0K0Cwf+3q+xM/60 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:128980 Archived-At: Dmitry Gutov writes: > Hi Michael, Hi Dmitry, >>> emacs -Q >>> M-x ido-mode >>> C-x C-f >>> (Here ido completion works) >>> Press backspace until you only have 'Find file: /' as prompt >>> (Here completion still works) >>> Type sudo:root@localhost:/ >>> (No completion) >>> >>> It used to ask sudo password and then completion was working. >> >> Likely, the changed behaviour comes from my commit >> 6653bb45d3697c9372cc77773c49f52399740b51, fixing bug#24947. > > This commit may be going in the right direction, but do you know why > even pressing TAB at the end of the offered scenario doesn't make > Emacs ask for password? It's a Tramp feature. When it is in `tramp-completion-mode' (`non-essential' is an indicator for it), Tramp never opens a new connection on its own. So it doesn't come to the point the remote end asks for the password. > The patch below makes Ido ask for password if I type TAB twice. But > not after I do that once, which is puzzling. But maybe the function > uses the completions already completed for the minibuffer, as a kind > of optimization. Well, but it still doesn't comlete "/sudo:" and alike. I made a test with the emacs-25 branch; ido completion behaves differently, when I use the Tramp libraries from the master branch there. So looks like I must dig into Tramp for understanding the differences. Will do, but it might take time. I'm offline next days. Best regards, Michael.