From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] master adfb6f1: Continue to fix bug#25607
Date: Thu, 16 Feb 2017 10:01:17 -0500 [thread overview]
Message-ID: <jwv7f4qmbn0.fsf-monnier+gmane.emacs.devel@gnu.org> (raw)
In-Reply-To: 87shnegsvn.fsf@gmx.de
> 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
next prev parent reply other threads:[~2017-02-16 15:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20170215184246.30452.62655@vcs0.savannah.gnu.org>
[not found] ` <20170215184247.DC51023357@vcs0.savannah.gnu.org>
2017-02-15 20:35 ` [Emacs-diffs] master adfb6f1: Continue to fix bug#25607 Stefan Monnier
2017-02-15 20:41 ` Dmitry Gutov
2017-02-15 21:45 ` Michael Albinus
2017-02-15 21:50 ` Stefan Monnier
2017-02-16 13:36 ` Michael Albinus
2017-02-16 15:01 ` Stefan Monnier [this message]
2017-02-15 21:41 ` Michael Albinus
2017-03-15 10:41 ` Michael Albinus
2017-03-15 14:41 ` Stefan Monnier
2017-03-15 14:48 ` Michael Albinus
2017-03-15 15:03 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwv7f4qmbn0.fsf-monnier+gmane.emacs.devel@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).