reddit / emacs

Filtering completions list

avindroth · 2022-04-18 07:24
Is there a way to filter completions list (for auto-complete-mode or company-mode)? I want autocompletion in org-mode, and I would like to only show/preview completions for words longer than, say, 5 characters. I am trying to use org-ac, if that matters.
marezai · 2022-04-18 07:35
Corfu has min length settings https://github.com/minad/corfu/blob/main/corfu.el#L160
organic-bookworm · 2022-04-18 09:56
For `company-mode` that would be `company-minimum-prefix-length`.
KonpakuYoumu · 2022-04-19 08:19
For `company-mode`, when the candidates menu pops up, `C-s`.