bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#51386: 29.0.50; fido-vertical-mode: ssh host completion


From: Michael Albinus
Subject: bug#51386: 29.0.50; fido-vertical-mode: ssh host completion
Date: Wed, 27 Oct 2021 11:05:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Gregory Heytings <gregory@heytings.org> writes:

Hi Gregory,

>>> The second condition could perhaps be reworded as "Some completion
>>> styles, like 'substring' or 'flex', require to type at least one
>>> character after the trailing ':' *when they come first in the
>>> completion-styles list*."
>>
>> Just wondering: wouldn't be enough to change
>> icomplete--fido-mode-setup to use:
>>
>> (setq-local completion-styles '(flex basic))
>>
>> Instead of:
>>
>> (setq-local completion-styles '(flex))
>>
>> As it is doing currently?
>
> It depends what you mean by "being enough".  That setting would be
> better, but you would still have to type the first character of the
> hostname. With that setting and my patch, everything would work as you
> would expect, namely, you wouldn't have to type the first character of
> the hostname anymore.

The better setting is '(basic flex). With that setting, there is no
problem at all. Try

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

This works out-of-the box, w/o any further patch (as you have said above).

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.

Best regards, Michael.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]