summaryrefslogtreecommitdiff
path: root/orderless.texi
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 /orderless.texi
parentf2c78c4a6059c5f892e48a3887d4368a547515ff (diff)
Use (orderless basic) as completion-styles (Fix #111)
Diffstat (limited to 'orderless.texi')
-rw-r--r--orderless.texi25
1 files changed, 15 insertions, 10 deletions
diff --git a/orderless.texi b/orderless.texi
index 92d6d57..d465453 100644
--- a/orderless.texi
+++ b/orderless.texi
@@ -111,7 +111,7 @@ If you use ELPA or MELPA, the easiest way to install @samp{orderless} is via
@lisp
(use-package orderless
:ensure t
- :custom (completion-styles '(orderless)))
+ :custom (completion-styles '(orderless basic)))
@end lisp
Alternatively, put @samp{orderless.el} somewhere on your @samp{load-path}, and use
@@ -119,9 +119,14 @@ the following configuration:
@lisp
(require 'orderless)
-(setq completion-styles '(orderless))
+(setq completion-styles '(orderless basic))
@end lisp
+The @samp{basic} completion style is specified as fallback in addition to
+@samp{orderless} in order to ensure that completion commands which rely on
+dynamic completion tables, e.g., @code{completion-table-dynamic} or
+@code{completion-table-in-turn}, work correctly.
+
Bug reports are highly welcome and appreciated!
@node Customization
@@ -484,7 +489,7 @@ install Helm and configure Icomplete to use it as follows:
@lisp
(require 'helm)
-(setq completion-styles '(helm))
+(setq completion-styles '(helm basic))
(icomplete-mode)
@end lisp
@@ -495,13 +500,13 @@ install Helm and configure Icomplete to use it as follows:
@section Prescient
The @uref{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 @uref{https://github.com/raxod502/selectrum, Selectrum}
-or @uref{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, @samp{prescient.el} also supports sorting of candidates (@samp{orderless}
-leaves that up to the candidate source and the completion UI).
+components in any order and it can be used with either the @uref{https://github.com/raxod502/selectrum, Selectrum} or
+@uref{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,
+@samp{prescient.el} also supports sorting of candidates (@samp{orderless} leaves that
+up to the candidate source and the completion UI).
@node Restricting to current matches in Icicles Ido and Ivy
@section Restricting to current matches in Icicles, Ido and Ivy