diff options
| author | Omar Antolín <omar.antolin@gmail.com> | 2020-04-16 11:42:38 -0500 |
|---|---|---|
| committer | Omar Antolín <omar.antolin@gmail.com> | 2020-04-16 11:42:38 -0500 |
| commit | 31fbb254c46fc642a205042c620b5b41cae44633 (patch) | |
| tree | 8e2e4d48751e3cef33e25f4fb43625b373404527 | |
| parent | 6ada0ad21c59c8659027f6f2276c3fe9d8e064a3 (diff) | |
Update badly outdated commentary
| -rw-r--r-- | orderless.el | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/orderless.el b/orderless.el index c2c6237..b77a0dc 100644 --- a/orderless.el +++ b/orderless.el @@ -23,25 +23,25 @@ ;;; Commentary: -;; Warning: this package is experminental! -;; ;; This package provides an `orderless' completion style that divides -;; the pattern into space-separated chunks, treats each on as a -;; regexp, and matches canidates that match all of the regexps in any -;; order. +;; the pattern into components chunks (space-separated by default), +;; treats each on as a regexp, and matches candidates that match all of +;; the regexps in any order. ;; ;; Completion styles are used as entries in the variables ;; `completion-styles' and `completion-category-overrides', see their ;; documentation. ;; -;; By default the space key is bound to `minibuffer-complete-word' in -;; `minibuffer-local-map', which isn't useful with this completion -;; method. So, if you use it, you should also unbind SPC. -;; -;; So to test this completion you can use the following configuration: +;; To use this completion style you can use the following minimal +;; configuration: ;; ;; (setq completion-styles '(orderless)) -;; (define-key minibuffer-local-map (kbd "SPC") #'self-insert-command) +;; +;; You can customize the `orderless-regexp-separator' to decide how +;; the input pattern is split into component regexps. The default +;; splits on spaces. You might want to add hyphens and slashes, for +;; example, to ease completion of symbols and file paths, +;; respectively. ;;; Code: |
