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:
parent
42074f7d6a
commit
6b8b97fe8d
2
init.el
2
init.el
|
@ -2091,7 +2091,7 @@ Note that this workaround is incomplete, as explained in this comment."
|
||||||
extended-command-suggest-shorter t
|
extended-command-suggest-shorter t
|
||||||
completions-detailed t
|
completions-detailed t
|
||||||
completion-cycle-threshold 10
|
completion-cycle-threshold 10
|
||||||
completion-styles '(basic substring initials partial-completion orderless)
|
completion-styles '(orderless basic substring initials partial-completion)
|
||||||
completion-category-defaults nil)
|
completion-category-defaults nil)
|
||||||
|
|
||||||
(use-package helm
|
(use-package helm
|
||||||
|
|
Loading…
Reference in New Issue
Block a user