From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Jimmy Yuen Ho Wong Newsgroups: gmane.emacs.bugs Subject: bug#39389: 27.0.60; A couple of bugs messing with minibuffer completion of /sudo:: Date: Wed, 5 Feb 2020 13:31:31 +0000 Message-ID: References: <87eevdvvmk.fsf@gmx.de> <0ae56395-5fdd-0892-47d6-556aa902effe@gmail.com> <87a760x3ej.fsf@gmx.de> <9b2b8ce4-97fc-52cf-384d-2ee83ca37251@gmail.com> <875zgowy0b.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="105977"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39389@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 05 14:34:26 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1izKoy-000RPE-Iz for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Feb 2020 14:34:24 +0100 Original-Received: from localhost ([::1]:47084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izKox-0006h1-F4 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Feb 2020 08:34:23 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38421) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izKmh-0003uD-HO for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2020 08:32:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1izKmg-0006lU-FC for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2020 08:32:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39251) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1izKmg-0006kI-8h for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2020 08:32:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1izKmg-0001VN-42 for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2020 08:32:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jimmy Yuen Ho Wong Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Feb 2020 13:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39389 X-GNU-PR-Package: emacs Original-Received: via spool by 39389-submit@debbugs.gnu.org id=B39389.15809095155772 (code B ref 39389); Wed, 05 Feb 2020 13:32:02 +0000 Original-Received: (at 39389) by debbugs.gnu.org; 5 Feb 2020 13:31:55 +0000 Original-Received: from localhost ([127.0.0.1]:45224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izKmZ-0001V2-7P for submit@debbugs.gnu.org; Wed, 05 Feb 2020 08:31:55 -0500 Original-Received: from mail-oi1-f178.google.com ([209.85.167.178]:42672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izKmX-0001Un-Ca for 39389@debbugs.gnu.org; Wed, 05 Feb 2020 08:31:53 -0500 Original-Received: by mail-oi1-f178.google.com with SMTP id j132so697535oih.9 for <39389@debbugs.gnu.org>; Wed, 05 Feb 2020 05:31:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tPUqnEDBg0ELY9X4K+jym45tTXi2wCM3EwAjk6XbOmg=; b=YvAUP8YfoxEyihm5MIvThRga4xCo3tUGAn+bVBDjZa5PNbMyl3Pb3YntEkm17tiBiN jbj4Ks2lAhCrjLkQtsJxu/n/C1dH4ALw3/D7nAJ1AwlSTD7bJIeP6TRVEqopBRPr6Ind PA7RCpt7S2MbOmEiytdRS/H6APT/uzjUjaZnlwoJrrNaaEo1e1qvWy2yJ+LqTpMm7Y61 CSfxD5oS0m7W8JkHd7m28VoEl8CJvcJingbg2foastowa6jqkvJaqTtBYuHnmTiSEMS1 y7MBIRCEXpDaOIPV2iuWQ8EExwBJ/52KPuDtHvW5/yTXFgS0eqZ4eDR87ZID33Uif38g lKnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tPUqnEDBg0ELY9X4K+jym45tTXi2wCM3EwAjk6XbOmg=; b=Ls6dFHlUg9XkZ/PUQc8oi9MlHQbd35oGP/2kWkVM/VOaieVNkxcyeL64uZh7PuGV5X YpYwlBVWYjJmz3q6dFRkUZuVXZxbxmfeblm1pW2dFSRuXgMOSDHy6jySWQsvkKaQ8WS0 J+HfoDDu8Rj5A2HZDXfdRD76qjMnA057pD6CE7ymO5r9grJNPVdUTjDumkNBIQ6eCCKM IG9Nz+slLAsWdee2SPDd/I0AXTEWnmWjLv49IQJN22dmhEbyz/joJEAQDRFi/rlH6mkE ny6ycNfUVjLkhZexBRbPxEd9xOhFkdkfSl2sNp1TOIGGCy+MzwiAICaG3U4QBqaGDpG1 2hsg== X-Gm-Message-State: APjAAAVIHOI19fPngkJ94VJpU3ntYqAxUSAJEd5XiS0sbM1R2Vg+RW6b SXDWkSjY79h7jrTmcnx10MJWj7Qcewl/f7JvVoY= X-Google-Smtp-Source: APXvYqzv/QhA051W/uGpmyEZ9iWQvv1xcRZOjhF58cyJkh2FmxyEl38Vih6h/SUAGQChq24PBXImQGJajnhgR7QWamU= X-Received: by 2002:aca:1314:: with SMTP id e20mr2915169oii.112.1580909507587; Wed, 05 Feb 2020 05:31:47 -0800 (PST) In-Reply-To: <875zgowy0b.fsf@gmx.de> 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: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:175693 Archived-At: On Sun, Feb 2, 2020 at 8:11 PM Michael Albinus wrote: > > Jimmy Yuen Ho Wong writes: > > >> I'm just surprised, that you set ido-enable-tramp-completion to nil, and > >> that you still expect Tramp file name support. That doesn't sound right > >> to me. > > I expect either that variable didn't exist and Tramp file name > > completion was always fast, or when it's off, ido just reverts back to > > the behavior of the regular `find-file`, which should allow me to type > > out the whole Tramp syntax. > > Why do you expect this? At least the docstring of that variable doesn't > tell that ido behaves like this, when the variable is set to nil. > Because no reasonable person will knowing turn on something that will break tramp during find-file completely. > I agree with you, that the variable shall document its behaviour in this > case. > It's not a documentation problem. It's called the principle of least astonishment, and the culprit for bug 1 is hidden somewhere in `ido-read-internal` in one of the 2 cases that deals with tramp syntax. For bug 2 and 3, there's definitely something wrong with the `auth-source-search` call in `tramp-read-passwd` that's blocking the display of the password prompt, as the same workaround works for both issues.