From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master adfb6f1: Continue to fix bug#25607 Date: Thu, 16 Feb 2017 10:01:17 -0500 Message-ID: References: <20170215184246.30452.62655@vcs0.savannah.gnu.org> <20170215184247.DC51023357@vcs0.savannah.gnu.org> <8e6b7990-3424-6780-ddc7-8ae36cff06d0@yandex.ru> <87shnegsvn.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1487262895 27573 195.159.176.226 (16 Feb 2017 16:34:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 16 Feb 2017 16:34:55 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 16 17:34:47 2017 Return-path: Envelope-to: ged-emacs-devel@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 1ceP0z-0006Cy-Hg for ged-emacs-devel@m.gmane.org; Thu, 16 Feb 2017 17:34:41 +0100 Original-Received: from localhost ([::1]:47709 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ceP15-0005hq-4m for ged-emacs-devel@m.gmane.org; Thu, 16 Feb 2017 11:34:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ceOdJ-0006n0-3n for emacs-devel@gnu.org; Thu, 16 Feb 2017 11:10:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ceOdF-0005bi-4d for emacs-devel@gnu.org; Thu, 16 Feb 2017 11:10:13 -0500 Original-Received: from [195.159.176.226] (port=46311 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ceOdE-0005a2-Sb for emacs-devel@gnu.org; Thu, 16 Feb 2017 11:10:09 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ceNYf-0003pi-JU for emacs-devel@gnu.org; Thu, 16 Feb 2017 16:01:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:V7+SipP8uGKSDoZDMToaNN/qYdI= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:212425 Archived-At: > I don't understand what's your problem with the patch I have > applied. Pls show me an example where it behaves wrong. The whole point of `non-essential` is that its meaning is defined independently from its users (i.e. independently from Tramp). So if Tramp doesn't complete the way you want it, it's Tramp's fault. All the patch does is set non-essential when running code whose proper behavior is not essential (an information which can be used to decide whether it's worth prompting the user for a password, for example). > 1. # src/emacs -Q -f ido-mode > > 2. C-x C-f / s u > > --> This doesn't give you completion for /sudo: Apparently Tramp's maintainer decided that it's not essential to list "/sudo:" as a possible completion of "/su" in this case. > 3. d o : > > --> Error: Host name must not match method "sudo" And apparently Tramp's maintainer decided that it's not essential to avoid signaling an error either (and he also decided that "/sudo:" should be taken to refer to some place on the "sudo" host rather than to the local host, using the sudo access method). Stefan