[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/cape ba85197981 075/146: Update README
From: |
ELPA Syncer |
Subject: |
[elpa] externals/cape ba85197981 075/146: Update README |
Date: |
Sun, 9 Jan 2022 20:57:44 -0500 (EST) |
branch: externals/cape
commit ba851979815859247ba9ab2a6bc810e9a7c225b1
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Update README
---
README.org | 28 +++++++++++++++-------------
1 file changed, 15 insertions(+), 13 deletions(-)
diff --git a/README.org b/README.org
index 607ffc1d60..509dfffb7e 100644
--- a/README.org
+++ b/README.org
@@ -18,11 +18,11 @@ completion backends used by ~completion-at-point~ are so
called
~completion-at-point-functions~ (Capfs). In principle, the Capfs provided by
Cape
can also be used by [[https://github.com/company-mode/company-mode][Company]].
-You can register the ~cape-*-capf~ functions in the
~completion-at-point-functions~
-list. This makes the backends available for completion, which is usually
invoked
-by pressing ~TAB~ or ~M-TAB~. Furthermore there are a handful of dedicated
-completion commands ~cape-*~, which you can bind directly to a key in your user
-configuration.
+You can register the ~cape-*~ functions in the ~completion-at-point-functions~
list.
+This makes the backends available for completion, which is usually invoked by
+pressing ~TAB~ or ~M-TAB~. The functions can also be invoked interactively to
+trigger the respective completion at point. You can bind them directly to a key
+in your user configuration.
On the more experimental side, Cape has the super power to transform Company
backends into Capfs and merge multiple Capfs into a Super-Capf!
@@ -43,8 +43,8 @@ this package should be upstreamed into Emacs itself.
(use-package cape
;; Bind dedicated completion commands
:bind (("C-c p p" . completion-at-point) ;; capf
- ("C-c p d" . dabbrev-completion) ;; dabbrev
("C-c p t" . complete-tag) ;; etags
+ ("C-c p d" . cape-dabbrev) ;; or dabbrev-completion
("C-c p f" . cape-file)
("C-c p k" . cape-keyword)
("C-c p s" . cape-symbol)
@@ -54,12 +54,14 @@ this package should be upstreamed into Emacs itself.
("C-c p w" . cape-dict))
:init
;; Add `completion-at-point-functions', used by `completion-at-point'.
- (add-to-list 'completion-at-point-functions #'cape-file-capf)
- (add-to-list 'completion-at-point-functions #'cape-dabbrev-capf)
- (add-to-list 'completion-at-point-functions #'cape-keyword-capf)
- ;;(add-to-list 'completion-at-point-functions #'cape-abbrev-capf)
- ;;(add-to-list 'completion-at-point-functions #'cape-ispell-capf)
- ;;(add-to-list 'completion-at-point-functions #'cape-dict-capf)
+ (add-to-list 'completion-at-point-functions #'cape-file)
+ (add-to-list 'completion-at-point-functions #'cape-dabbrev)
+ (add-to-list 'completion-at-point-functions #'cape-keyword)
+ ;;(add-to-list 'completion-at-point-functions #'cape-abbrev)
+ ;;(add-to-list 'completion-at-point-functions #'cape-ispell)
+ ;;(add-to-list 'completion-at-point-functions #'cape-dict)
+ ;;(add-to-list 'completion-at-point-functions #'cape-symbol)
+ ;;(add-to-list 'completion-at-point-functions #'cape-line)
)
#+end_src
@@ -97,7 +99,7 @@ merging in the future.
#+begin_src emacs-lisp
;; Merge the dabbrev, dict and keyword capfs, display candidates together.
(setq-local completion-at-point-functions
- (list (cape-super-capf #'cape-dabbrev-capf #'cape-dict-capf
#'cape-keyword-capf)))
+ (list (cape-super-capf #'cape-dabbrev #'cape-dict
#'cape-keyword)))
#+end_src
** Capf-Buster - Cache busting
- [elpa] externals/cape 700c9d7bc2 137/146: Remove cape-repair-misbehaving-capf, (continued)
- [elpa] externals/cape 700c9d7bc2 137/146: Remove cape-repair-misbehaving-capf, ELPA Syncer, 2022/01/09
- [elpa] externals/cape bc1c1ee9fc 140/146: Make cape-tex etc less aggressive, add cape-tex-prefix-required variable, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 8726bc7246 138/146: cape--interactive: Simplify, ELPA Syncer, 2022/01/09
- [elpa] externals/cape ac65f2acdf 048/146: Add autoloads, renamings, README, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 0a05e51d2a 053/146: Add cape-capf-with-predicate (See #9), ELPA Syncer, 2022/01/09
- [elpa] externals/cape 75cb8c799a 071/146: Unify cape-file and cape-file-capf, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 1d72f84b64 046/146: Add cape-capf-with-properties and cape-silent-capf, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 693a376913 054/146: Revert "Add cape-capf-with-predicate (See #9)", ELPA Syncer, 2022/01/09
- [elpa] externals/cape 8a2cc4c7bb 060/146: Add completion categories, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 496bb4a5e4 065/146: Rename function, ELPA Syncer, 2022/01/09
- [elpa] externals/cape ba85197981 075/146: Update README,
ELPA Syncer <=
- [elpa] externals/cape 202345e954 083/146: cape-capf-with-properties: Add support for :sort and :category, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 15491cef1a 087/146: Add link to Emacs, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 659f710682 089/146: Add comment, ELPA Syncer, 2022/01/09
- [elpa] externals/cape ceca3a3d06 077/146: Expand readme, ELPA Syncer, 2022/01/09
- [elpa] externals/cape c57b01e982 091/146: Improve dynamic table support of cape-super-capf, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 7008958b02 078/146: Minor corrections, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 9e4651649b 094/146: Treat company backends as non-interruptible., ELPA Syncer, 2022/01/09
- [elpa] externals/cape c7feeee10b 080/146: Simplify, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 02c9629bc6 081/146: Refactor and simplify, ELPA Syncer, 2022/01/09
- [elpa] externals/cape d3d9d926ac 082/146: Add cape-interactive-capf, ELPA Syncer, 2022/01/09