emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/flx 43f78d4815 090/182: Touch-up commentary.


From: ELPA Syncer
Subject: [nongnu] elpa/flx 43f78d4815 090/182: Touch-up commentary.
Date: Tue, 13 Dec 2022 03:59:33 -0500 (EST)

branch: elpa/flx
commit 43f78d48151029c095365c5503f49082d69e0246
Author: Le Wang <le.wang@agworld.com.au>
Commit: Le Wang <le.wang@agworld.com.au>

    Touch-up commentary.
---
 README.md | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/README.md b/README.md
index 541e377b2a..2de2cc40ed 100644
--- a/README.md
+++ b/README.md
@@ -56,20 +56,20 @@ contiguous matches (substring).
 The longer the substring match, the higher it scores.  This maps well to how
 we think about matching.
 
-In general, it's better form queries wiht only **alphanumeric** characters so
+In general, it's better form queries with only lowercase characters so
 the sorting algorithm can do something smart.
 
 For example, if you have these files:
 
-    projects/clojure-mode/clojure-mode.el
-    projects/prelude/core/prelude-mode.el
+        projects/clojure-mode/clojure-mode.el
+        projects/prelude/core/prelude-mode.el
 
-If the search term was "pre-mode", you might expect "prelude-mode.el" to be
-ranked higher.  However because the substring match "re-mode" is so long,
+If the search term was *pre-mode*, you might expect "prelude-mode.el" to rank
+higher.  However because the substring match "re-mode" is so long,
 "clojure-mode.el" actually scores higher.
 
-
-Here, using "premode" would give the expected order
+**Here, using *premode* would give the expected order.** Notice that the
+"-" actually prevents the algorithm from helping you.
 
 ### completing file names
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]