diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2022-04-06 08:15:15 +0200 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2022-04-06 15:20:14 +0200 |
| commit | 3fca979f6ee9d9973290e08eb38bfa4727284bc7 (patch) | |
| tree | 5b854f0efcf7eb0743218ccaa919f1875c86353a /README.org | |
| parent | f2c78c4a6059c5f892e48a3887d4368a547515ff (diff) | |
Use (orderless basic) as completion-styles (Fix #111)
Diffstat (limited to 'README.org')
| -rw-r--r-- | README.org | 25 |
1 files changed, 15 insertions, 10 deletions
@@ -62,7 +62,7 @@ If you use ELPA or MELPA, the easiest way to install =orderless= is via #+begin_src emacs-lisp (use-package orderless :ensure t - :custom (completion-styles '(orderless))) + :custom (completion-styles '(orderless basic))) #+end_src Alternatively, put =orderless.el= somewhere on your =load-path=, and use @@ -70,9 +70,14 @@ the following configuration: #+begin_src emacs-lisp (require 'orderless) -(setq completion-styles '(orderless)) +(setq completion-styles '(orderless basic)) #+end_src +The =basic= completion style is specified as fallback in addition to +=orderless= in order to ensure that completion commands which rely on +dynamic completion tables, e.g., ~completion-table-dynamic~ or +~completion-table-in-turn~, work correctly. + Bug reports are highly welcome and appreciated! :CONTENTS: @@ -407,7 +412,7 @@ install Helm and configure Icomplete to use it as follows: #+begin_src emacs-lisp (require 'helm) - (setq completion-styles '(helm)) + (setq completion-styles '(helm basic)) (icomplete-mode) #+end_src @@ -417,13 +422,13 @@ install Helm and configure Icomplete to use it as follows: ** Prescient The [[https://github.com/raxod502/prescient.el][prescient.el]] library also provides matching of space-separated -components in any order and it can be used with either the [[https://github.com/raxod502/selectrum][Selectrum]] -or [[https://github.com/abo-abo/swiper][Ivy]] completion UIs (it does not offer a completion-style that -could be used with Emacs' default completion UI or with Icomplete). -The components can be matched literally, as regexps, as initialisms or -in the flex style (called "fuzzy" in prescient). In addition to -matching, =prescient.el= also supports sorting of candidates (=orderless= -leaves that up to the candidate source and the completion UI). +components in any order and it can be used with either the [[https://github.com/raxod502/selectrum][Selectrum]] or +[[https://github.com/abo-abo/swiper][Ivy]] completion UIs (it does not offer a completion-style that could be +used with Emacs' default completion UI, Vertico or with Icomplete). The +components can be matched literally, as regexps, as initialisms or in +the flex style (called "fuzzy" in prescient). In addition to matching, +=prescient.el= also supports sorting of candidates (=orderless= leaves that +up to the candidate source and the completion UI). ** Restricting to current matches in Icicles, Ido and Ivy |
