GNU bug report logs -
#51386
29.0.50; fido-vertical-mode: ssh host completion
Previous Next
Full log
View this message in rfc822 format
Gregory Heytings <gregory <at> 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.
This bug report was last modified 2 years and 92 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.