summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Antolin Camarena <omar.antolin@gmail.com>2024-02-25 12:42:52 -0600
committerOmar Antolin Camarena <omar.antolin@gmail.com>2024-02-25 12:42:52 -0600
commit2e904412e4e31a0312d77dd7697d6a59faa627fe (patch)
treec43b2dbc4f4e3a80e40d9c47e182fa9634214569
parentd0a56faced68f42ee1ac997b4119f5f5400c155e (diff)
Work around bug in GitHub's org parserfix-github-org
Sadly neither =verbatim= nor ~code~ syntax seems to work in all cases, in particular, neither =,= nor ~,~ display a fixed-width comma. This fixes #155.
-rw-r--r--README.org20
-rw-r--r--orderless.texi20
2 files changed, 20 insertions, 20 deletions
diff --git a/README.org b/README.org
index 1050fe9..f4d5395 100644
--- a/README.org
+++ b/README.org
@@ -186,16 +186,16 @@ Style modifiers should not be used directly in
=orderless-affix-dispatch= which enables a simple syntax based on
special characters used as either a prefix or suffix:
- - =!= modifies the component with =orderless-not=. Both =!bad= and =bad!=
- will match strings that do /not/ contain the pattern =bad=.
- - =@= modifies the component with =orderless-annotation=. The pattern
- will match against the candidate annotation.
- - =,= uses =orderless-initialism=.
- - === uses =orderless-literal=.
- - =~= uses =orderless-flex=.
- - =%= makes the string match ignoring diacritics and similar
- inflections on characters (it uses the function =char-fold-to-regexp=
- to do this).
+ - ! modifies the component with =orderless-not=. Both =!bad= and
+ =bad!= will match strings that do /not/ contain the pattern =bad=.
+ - @ modifies the component with =orderless-annotation=. The pattern
+ will match against the candidate's annotation.
+ - , uses =orderless-initialism=.
+ - = uses =orderless-literal=.
+ - ~ uses =orderless-flex=.
+ - % makes the string match ignoring diacritics and similar
+ inflections on characters (it uses the function
+ =char-fold-to-regexp= to do this).
You can add, remove or change this mapping between affix characters
and matching styles by customizing the user option
diff --git a/orderless.texi b/orderless.texi
index 44747a5..7602947 100644
--- a/orderless.texi
+++ b/orderless.texi
@@ -240,21 +240,21 @@ special characters used as either a prefix or suffix:
@itemize
@item
-@samp{!} modifies the component with @samp{orderless-not}. Both @samp{!bad} and @samp{bad!}
-will match strings that do @emph{not} contain the pattern @samp{bad}.
+! modifies the component with @samp{orderless-not}. Both @samp{!bad} and
+@samp{bad!} will match strings that do @emph{not} contain the pattern @samp{bad}.
@item
-@samp{@@} modifies the component with @samp{orderless-annotation}. The pattern
-will match against the candidate annotation.
+@@ modifies the component with @samp{orderless-annotation}. The pattern
+will match against the candidate's annotation.
@item
-@samp{,} uses @samp{orderless-initialism}.
+, uses @samp{orderless-initialism}.
@item
-@samp{=} uses @samp{orderless-literal}.
+= uses @samp{orderless-literal}.
@item
-@samp{~} uses @samp{orderless-flex}.
+~ uses @samp{orderless-flex}.
@item
-@samp{%} makes the string match ignoring diacritics and similar
-inflections on characters (it uses the function @samp{char-fold-to-regexp}
-to do this).
+% makes the string match ignoring diacritics and similar
+inflections on characters (it uses the function
+@samp{char-fold-to-regexp} to do this).
@end itemize
You can add, remove or change this mapping between affix characters