summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Antolín <omar.antolin@gmail.com>2020-04-16 02:01:14 -0500
committerOmar Antolín <omar.antolin@gmail.com>2020-04-16 02:01:14 -0500
commitd576dc9faca16fce76b29ee302aa5969039b5d01 (patch)
treedb1a129cd7c3bc9eecc38dd305735834e4c61bfb
parentd2b5d71e752a10cfd7904a79fba8c67ea3aaa7ba (diff)
Add reminder that match faces only are used if orderless "wins"
Thanks to Prot for suggesting this note.
-rw-r--r--README.org9
1 files changed, 7 insertions, 2 deletions
diff --git a/README.org b/README.org
index ed6ab17..94ecb8d 100644
--- a/README.org
+++ b/README.org
@@ -20,7 +20,6 @@ on your =load-path=, and use the following configuration:
Bug reports are highly welcome and appreciated!
* Customization
-
** Component separator regexp
The regexp components by default are space-separated, but this is
@@ -37,10 +36,16 @@ different separator for the components, bind
** Faces for component matches
The portions of a candidate matching each component get highlighted in
-one of four faces, =orderless-math-face-?= where =?= is a number from 0
+one of four faces, =orderless-match-face-?= where =?= is a number from 0
to 3. If the pattern has more than four components, the faces get
reused cyclically.
+If your =completion-styles= has more than one entry (as is usual, I
+believe), remember than Emacs tries each completion style in turn and
+uses the first one returning matches. You will only see these
+particular faces when the =orderless= completion is the one that ends up
+being used, of course.
+
* Related packages
The well-known and hugely powerful completion frameworks [[https://github.com/abo-abo/swiper][Ivy]] and [[https://github.com/emacs-helm/helm][Helm]]