[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/orderless 150155ce3c 160/204: Add literal matching to d
From: |
ELPA Syncer |
Subject: |
[elpa] externals/orderless 150155ce3c 160/204: Add literal matching to default styles and document (fix #42) |
Date: |
Tue, 11 Jan 2022 12:58:27 -0500 (EST) |
branch: externals/orderless
commit 150155ce3cdd28a8a94cdf99d769b2350cf07b5c
Author: Omar Antolín <omar.antolin@gmail.com>
Commit: Omar Antolín <omar.antolin@gmail.com>
Add literal matching to default styles and document (fix #42)
There is some misguided consensus that any candidate should be able to
match itself... :P
---
README.org | 5 ++---
orderless.el | 4 ++--
orderless.texi | 7 ++-----
3 files changed, 6 insertions(+), 10 deletions(-)
diff --git a/README.org b/README.org
index ef881b1022..5d809d3342 100644
--- a/README.org
+++ b/README.org
@@ -105,7 +105,6 @@ define new matching styles. The predefined ones are:
are typing, so be prepared for the results to be a little funny
before you close a bracket or parentheses, etc.)
-
- orderless-literal :: the component is treated as a literal string
that must occur in the candidate.
@@ -154,8 +153,8 @@ define new matching styles. The predefined ones are:
This maps =abc= to =a.*b.*c=.
The variable =orderless-matching-styles= can be set to a list of the
-desired matching styles to use. By default it enables the regexp and
-initialism styles.
+desired matching styles to use. By default it enables the literal,
+regexp and initialism styles.
*** Style dispatchers
diff --git a/orderless.el b/orderless.el
index 9b2b3183c0..5be0a12193 100644
--- a/orderless.el
+++ b/orderless.el
@@ -48,7 +48,7 @@
;; from strings to strings that map a component to a regexp to match
;; against. The variable `orderless-matching-styles' lists the
;; matching styles to be used for components, by default it allows
-;; regexp and initialism matching.
+;; literal, regexp and initialism matching.
;;; Code:
@@ -114,7 +114,7 @@ value means highlighting is skipped."
:type '(choice boolean function))
(defcustom orderless-matching-styles
- '(orderless-regexp orderless-initialism)
+ '(orderless-literal orderless-regexp orderless-initialism)
"List of component matching styles.
If this variable is nil, regexp matching is assumed.
diff --git a/orderless.texi b/orderless.texi
index ce882c330a..65beb96867 100644
--- a/orderless.texi
+++ b/orderless.texi
@@ -135,10 +135,7 @@ If the component is not a valid regexp, it matches
literally.
(Having the component be invalid is actually pretty common while you
are typing, so be prepared for the results to be a little funny
before you close a bracket or parentheses, etc.)
-@end table
-
-@table @asis
@item orderless-literal
the component is treated as a literal string
that must occur in the candidate.
@@ -196,8 +193,8 @@ This maps @samp{abc} to @samp{a.*b.*c}.
@end table
The variable @samp{orderless-matching-styles} can be set to a list of the
-desired matching styles to use. By default it enables the regexp and
-initialism styles.
+desired matching styles to use. By default it enables the literal,
+regexp and initialism styles.
@menu
* Style dispatchers::
- [elpa] externals/orderless 6b94b9abf8 124/204: Merge pull request #21 from wyuenho/patch-1, (continued)
- [elpa] externals/orderless 6b94b9abf8 124/204: Merge pull request #21 from wyuenho/patch-1, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 0826fd4eb4 130/204: Merge pull request #27 from vifon/master, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless fc420e3d07 134/204: Minor readme tweak, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless b600f88db0 144/204: Add orderless-define-completion-style macro, a new fix for #31, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 94d52640d4 145/204: Change docstring interface for orderless-define-completion-style, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless da876320b3 146/204: Remove all orderless-transient-* variables (fix #34), ELPA Syncer, 2022/01/11
- [elpa] externals/orderless c023ee1cbe 150/204: Add option to skip-highlighting as requested by @clemera, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 1ed0c4aabb 153/204: Fix typo, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 0ebc884693 154/204: Update manual to not recommend icomplete anymore, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 9d5b95f402 157/204: Merge pull request #40 from minad/master, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 150155ce3c 160/204: Add literal matching to default styles and document (fix #42),
ELPA Syncer <=
- [elpa] externals/orderless 44935d8962 166/204: Fix bug when all matching styles return nil, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless e85084e733 179/204: Merge pull request #58 from minad/add-face-text-property, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 3f76b7d1a1 185/204: Delete duplicate regexps (fix #73), ELPA Syncer, 2022/01/11
- [elpa] externals/orderless cc15f27107 188/204: orderless-escapable-split-on-space: Fix escaping mistake, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless d97a91f6e1 172/204: Merge pull request #51 from minad/disable-initialism, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 9c1b276fe4 193/204: Optimize orderless-try-completion, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 7385bcf3c1 203/204: Assign copyright to FSF, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless cce7072dc3 148/204: Mention completion-category-defaults in the documentation, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless b46dbb1045 016/204: Merge branch 'master' of https://github.com/oantolin/orderless, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless ac12bc4d54 020/204: Unify calls to save-match-data, ELPA Syncer, 2022/01/11