summaryrefslogtreecommitdiff
path: root/README.org
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2022-04-06 08:15:15 +0200
committerDaniel Mendler <mail@daniel-mendler.de>2022-04-06 15:20:14 +0200
commit3fca979f6ee9d9973290e08eb38bfa4727284bc7 (patch)
tree5b854f0efcf7eb0743218ccaa919f1875c86353a /README.org
parentf2c78c4a6059c5f892e48a3887d4368a547515ff (diff)
Use (orderless basic) as completion-styles (Fix #111)
Diffstat (limited to 'README.org')
-rw-r--r--README.org25
1 files changed, 15 insertions, 10 deletions
diff --git a/README.org b/README.org
index a508bef..4d19f7f 100644
--- a/README.org
+++ b/README.org
@@ -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