unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Gregory Heytings <gregory@heytings.org>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 51386@debbugs.gnu.org, Manuel Uberti <manuel.uberti@inventati.org>
Subject: bug#51386: 29.0.50; fido-vertical-mode: ssh host completion
Date: Tue, 26 Oct 2021 19:06:56 +0000	[thread overview]
Message-ID: <664bd93fdd3ba3155067@heytings.org> (raw)
In-Reply-To: <8735onk487.fsf@gmx.de>


>
> Your patch violates the file-name-all-completions API. Testing with 
> "emacs -Q -l tramp":
>

We've discussed this earlier.  I concluded that the problem is in the 
file-name-all-completions, where it can be fixed with a single line 
change.  You believe that the problem should be fixed at the level of the 
completion mechanisms, which won't happen.

>
> Currently, we have the following with vanilla Emacs (on my laptop):
>
> (file-name-all-completions "" "/") => ("sudoedit:" ...)
>
> With your one-line patch, we have instead
>
> (file-name-all-completions "" "/") => ("sbin/" ...)
>
> That means, all Tramp methods are suppressed.
>

That's a very partial way of presenting what my patch does.  The truth is 
that Tramp methods are not at all suppressed.  They are not returned when 
the completions of the root directory are required, they are returned as 
soon as at least one character is typed:

(file-name-all-completions "s" "/") => ("sudoedit:" "sshfs:" ... "sys/" ...)





  reply	other threads:[~2021-10-26 19:06 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-25 14:37 bug#51386: 29.0.50; fido-vertical-mode: ssh host completion Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-25 14:54 ` Gregory Heytings
2021-10-25 15:08   ` Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-25 16:13     ` Gregory Heytings
2021-10-26  4:47       ` Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-26  7:13         ` Gregory Heytings
2021-10-26 15:30           ` Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-26 16:00             ` Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-26 18:12               ` Michael Albinus
2021-10-26 18:24                 ` Gregory Heytings
2021-10-26 18:53                   ` Michael Albinus
2021-10-26 19:06                     ` Gregory Heytings [this message]
2021-10-27  5:50                 ` Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-27  7:51                   ` Gregory Heytings
2021-10-27  7:55                     ` Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-27  8:05                       ` Gregory Heytings
2021-10-27  8:07                         ` Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-27  9:05                         ` Michael Albinus
2021-10-27  9:08                           ` Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-27  9:12                           ` Gregory Heytings
2021-10-27 11:10                             ` Michael Albinus
2021-10-27 11:19                               ` Dmitry Gutov
2021-10-27 11:22                                 ` Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-27 11:39                                 ` Gregory Heytings
2021-10-27 11:55                                   ` Michael Albinus
2021-10-27 11:23                               ` Gregory Heytings
2021-10-27 11:42                                 ` Michael Albinus
2021-10-27 12:04                                   ` Gregory Heytings
2021-10-27 12:12                                     ` Michael Albinus
2021-10-27 10:15                       ` Dmitry Gutov
2021-10-27 10:23                         ` Gregory Heytings
2021-10-27 10:25                           ` Dmitry Gutov
2021-10-27 11:35                           ` Michael Albinus
2021-10-27 12:02                             ` Gregory Heytings
2021-10-31 18:13 ` Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors

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=664bd93fdd3ba3155067@heytings.org \
    --to=gregory@heytings.org \
    --cc=51386@debbugs.gnu.org \
    --cc=manuel.uberti@inventati.org \
    --cc=michael.albinus@gmx.de \
    /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).