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: Sat, 8 Feb 2020 13:03:47 +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> <87wo91p076.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="118554"; 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 Sat Feb 08 14:05:16 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 1j0PnQ-000Ujq-Ob for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Feb 2020 14:05:16 +0100 Original-Received: from localhost ([::1]:41138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0PnP-0005Ww-Kn for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Feb 2020 08:05:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42581) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0PnE-0005RW-4Y for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2020 08:05:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j0PnC-0002y5-Uj for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2020 08:05:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44719) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j0PnC-0002y1-Qm for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2020 08:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j0PnC-000298-Lu for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2020 08:05: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: Sat, 08 Feb 2020 13:05: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.15811670528188 (code B ref 39389); Sat, 08 Feb 2020 13:05:02 +0000 Original-Received: (at 39389) by debbugs.gnu.org; 8 Feb 2020 13:04:12 +0000 Original-Received: from localhost ([127.0.0.1]:50692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0PmO-000280-02 for submit@debbugs.gnu.org; Sat, 08 Feb 2020 08:04:12 -0500 Original-Received: from mail-ot1-f68.google.com ([209.85.210.68]:46731) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0PmL-00027p-JV for 39389@debbugs.gnu.org; Sat, 08 Feb 2020 08:04:10 -0500 Original-Received: by mail-ot1-f68.google.com with SMTP id g64so1931339otb.13 for <39389@debbugs.gnu.org>; Sat, 08 Feb 2020 05:04:09 -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=gIFtEK5AA8pgvZIci+sm93lb4AQ4zBkmHQG+FKF0wP0=; b=YACmrwVfqkn7NS0U81L7QkDJPIes8B+CDzDxTYBQ0KSGbhJnn1F1EQvC1qjNk7e4qK IbZiSi3h/vPAiNJKzpIIRkL3tjW7nk70my3WQPgYn/qCm2K5OM4cXyDzvZjFnJOikEqp YtarmiyWJl66WtMYcac8jhjm2+5Shqz17NgjIVenaRYT0OFY/6gbZFtHRT/JQghr/ZfB 0jn/T4nhXuhi0kH8b5gCVCbDraOcawd3oIzrhSJBINv5YWgE9hwSu3mQuAumxD1nWx2f MIuhAm8SyRR4slzKuLnIAOZHmv3hJymjPhNuZLV3vOOooMSFYBkPZpMTN8/z1P3flOpa h7CQ== 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=gIFtEK5AA8pgvZIci+sm93lb4AQ4zBkmHQG+FKF0wP0=; b=sPaiXjTI1VFuplJdmZB3N9kgR0xoHtEe2/YJyCiSwBfPsXVvjdnkmUbeKeKOSssNwf QVyuuneujRZzFjJ6D1L3SWTsHwcAof4QZ4DLYQFyxZ85Ah4wDjKvGmpI5UKuEdUH9LXr 8ERP6+MtUFw+PThJ/tVVL7cLjQffwQmXiCOVfGp8IGkYYvF9M6GkQVRlV9Sb45GBGUJT fmJSOBTlipgPJFQqwPpMnfSOv3ZPMHiOtCJtB9IgKcsDrgZinrKKDJHKnZE29hYgUBnF NsiTHAYnlFceAXbtfIXpd78TBwCrcR9HpN+6WR0kp1/pN4ENAn4ag67C2hkwfBF6L/10 HpBA== X-Gm-Message-State: APjAAAWURPx2zacb42yVKNI1LMbhySRUJkNeV68FItGXjE8eeXiRIYZA 1+fMK/kEKmJpsrHXWc1MeVS1yTgCS6L9iTftYts= X-Google-Smtp-Source: APXvYqxoHkcDG/FZYljkdof+C5K+sSSg+kHbgSNPI5/S/a18zeUh7kzi5IbMiXMpdx1RgwUhVK9wB7gblJUEMiQdxLQ= X-Received: by 2002:a05:6830:15a:: with SMTP id j26mr3213900otp.137.1581167043834; Sat, 08 Feb 2020 05:04:03 -0800 (PST) In-Reply-To: <87wo91p076.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:175791 Archived-At: For bug 2 and 3, the author said `file-remote-p` might have triggered some weird code paths that triggered this bug. I don't know how to edebug further as `redisplay_internal` keeps calling it. Do you know how to debug it? https://github.com/purcell/exec-path-from-shell/issues/95#issuecomment-582629738 On Wed, Feb 5, 2020 at 2:39 PM Michael Albinus wrote: > > Jimmy Yuen Ho Wong writes: > > Hi, > > >> > 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. > > It is not about turning *on*, it is about turning *off* (setting > ido-enable-tramp-completion to nil). I, for example, would not expect > remote file names to work, after setting a variable with this name to nil. > > >> 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. > > admin/MAINTAINERS does not mention anybody who feels responsible for > ido.el. I hope somebody can chime in. I'm not such familiar with ido. > > > 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. > > Both bugs require exec-path-from-shell.el MELPA, which I don't use. Have > you contacted the author of that package, for debugging? > > Before seeing evidences, I wouldn't say that "there's definitely > something wrong with the `auth-source-search` call in > `tramp-read-passwd`". It is used by many users as it is. > > Best regards, Michael.