unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Gregory Heytings <gregory@heytings.org>
Cc: 51386@debbugs.gnu.org, Manuel Uberti <manuel.uberti@inventati.org>
Subject: bug#51386: 29.0.50; fido-vertical-mode: ssh host completion
Date: Wed, 27 Oct 2021 13:10:52 +0200	[thread overview]
Message-ID: <874k92en9f.fsf@gmx.de> (raw)
In-Reply-To: <e2898e04cf26ea6e6e51@heytings.org> (Gregory Heytings's message of "Wed, 27 Oct 2021 09:12:45 +0000")

Gregory Heytings <gregory@heytings.org> writes:

Hi Grepor,

>> If I do instead
>>
>> emacs -Q -l tramp --eval "(setq completion-styles '(basic flex))" -f
>> fido-vertical-mode
>>
>> it doesn't work. Debugging of fido-vertical-mode is needed, I suppose.
>>
>
> This has already been done, as Manuel suggested the solution would be
> to add a fallback in icomplete--fido-mode-setup, which amounts to
> doing (set completion-styles '(flex basic)).

Yep. However, even if I apply this patch to icomplete.el and also your
Tramp patch it doesn't complete method names like "/ss TAB". So this
cannot be the proper solution I believe.

And, beside of fido-vertical-mode, your Tramp patch hides the method
names at all. If I try

emacs -Q -l tramp --eval "(setq completion-styles '(flex basic))"

and apply then 'C-x C-f /ss TAB', it offers only the candidate '/sys/',
and nothing else. W/o your patch, there are the candidates

--8<---------------cut here---------------start------------->8---
Possible completions are:
sshfs: 	ssh:
sshx: 	sys/
--8<---------------cut here---------------end--------------->8---

Anyway, all our tests are mood. I would really appreciate if a
completion style author could chime in, and could investigate. I don't
say that there isn't an error in Tramp, but before I accept patches I
must understand what's up. And the proposed patch doesn't fix all cases
sufficiently (plus it violates the API, but this we have discussed
already in several rounds).

Best regards, Michael.





  reply	other threads:[~2021-10-27 11:10 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
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 [this message]
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=874k92en9f.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=51386@debbugs.gnu.org \
    --cc=gregory@heytings.org \
    --cc=manuel.uberti@inventati.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).