Prefer orderless completion style over others

The reason is that while filtering Org headlines, sometimes one of the
other completion styles matches, hiding other possible matches that
would have been found by the `orderless` style.  This can happen when
spaces are included in Org headlines (which is usually the case) and
those spaces match the search pattern.  In this case, the position of
point is also relevant, which is not something I want.

It would be better to know which completion category is use in this case
and override the completion style for this only, but so far I haven't
found it.  Continue looking …
This commit is contained in:
Daniel - 2024-03-09 20:06:48 +01:00
parent 42074f7d6a
commit 6b8b97fe8d
Signed by: dbo
GPG Key ID: 784AA8DF0CCDF625
1 changed files with 1 additions and 1 deletions

View File

@ -2091,7 +2091,7 @@ Note that this workaround is incomplete, as explained in this comment."
extended-command-suggest-shorter t
completions-detailed t
completion-cycle-threshold 10
completion-styles '(basic substring initials partial-completion orderless)
completion-styles '(orderless basic substring initials partial-completion)
completion-category-defaults nil)
(use-package helm