Gnus development mailing list
 help / color / mirror / Atom feed
* vertico and gnus-group-jump-to-group
@ 2022-05-05 23:04 Erik Colson
  2022-05-05 23:30 ` Emanuel Berg
  0 siblings, 1 reply; 4+ messages in thread
From: Erik Colson @ 2022-05-05 23:04 UTC (permalink / raw)
  To: ding

Hi,

I use vertico for minibuffer completions.  In all completions, vertico
handles fuzzy searches nicely.  ie. entering "6030611" will list
"60306-Asse/11-DHK" and "6030611-DHK"
However for some weird reason with `gnus-group-jump-to-group` vertico
will only list completions based on substring, so only "6030611-DHK"
would be listed in the previous example.

Maybe somebody knows what setting is concerned here ?

thx
-- 
erik colson


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: vertico and gnus-group-jump-to-group
  2022-05-05 23:04 vertico and gnus-group-jump-to-group Erik Colson
@ 2022-05-05 23:30 ` Emanuel Berg
  2022-05-06  6:28   ` Tassilo Horn
  0 siblings, 1 reply; 4+ messages in thread
From: Emanuel Berg @ 2022-05-05 23:30 UTC (permalink / raw)
  To: ding

Erik Colson wrote:

> I use vertico for minibuffer completions. In all
> completions, vertico handles fuzzy searches nicely. ie.
> entering "6030611" will list "60306-Asse/11-DHK" and
> "6030611-DHK" However for some weird reason with
> `gnus-group-jump-to-group` vertico will only list
> completions based on substring, so only "6030611-DHK" would
> be listed in the previous example.

No idea even what you're talking about but maybe it is because
Gnus does it's own completion?

gnus-group-completing-read

OTOH a lot of stuff do I suspect as I am completing BTW,
this post.

-- 
underground experts united
https://dataswamp.org/~incal



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: vertico and gnus-group-jump-to-group
  2022-05-05 23:30 ` Emanuel Berg
@ 2022-05-06  6:28   ` Tassilo Horn
  2022-05-06 15:55     ` vertico and gnus-group-jump-to-group - SOLVED Erik Colson
  0 siblings, 1 reply; 4+ messages in thread
From: Tassilo Horn @ 2022-05-06  6:28 UTC (permalink / raw)
  To: Emanuel Berg; +Cc: ding

Emanuel Berg <incal@dataswamp.org> writes:

Hi all,

> No idea even what you're talking about but maybe it is because
> Gnus does it's own completion?
>
> gnus-group-completing-read

Emanuel is right.  Digging through the code, gnus binds
completion-styles to gnus-completion-styles for its
(gnus-)completing-read calls, so if you customized completion-styles to
include flex, you should do the same for gnus-completion-styles.

BTW, I think having gnus-completion-styles is wrong.  Instead, there
should be one gnus category in completion-category-defaults which can
then be overridden with completion-category-overrides.  I guess the
reason for the current affairs is that the latter were introduced later
[25.1] than the former [23.1] and now that's hard to change given that
users have already customizations for it.

Bye,
Tassilo


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: vertico and gnus-group-jump-to-group - SOLVED
  2022-05-06  6:28   ` Tassilo Horn
@ 2022-05-06 15:55     ` Erik Colson
  0 siblings, 0 replies; 4+ messages in thread
From: Erik Colson @ 2022-05-06 15:55 UTC (permalink / raw)
  To: Tassilo Horn; +Cc: Emanuel Berg, ding

Hi,

That solved the issue, I added following line in my config:

(setq gnus-completion-styles '(substring orderless))

thx
-- 
erik colson


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-06 15:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-05 23:04 vertico and gnus-group-jump-to-group Erik Colson
2022-05-05 23:30 ` Emanuel Berg
2022-05-06  6:28   ` Tassilo Horn
2022-05-06 15:55     ` vertico and gnus-group-jump-to-group - SOLVED Erik Colson

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 NNTP newsgroup(s).