[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/cape 882b9d9e79 042/146: Rename cape-merge-capfs
From: |
ELPA Syncer |
Subject: |
[elpa] externals/cape 882b9d9e79 042/146: Rename cape-merge-capfs |
Date: |
Sun, 9 Jan 2022 20:57:41 -0500 (EST) |
branch: externals/cape
commit 882b9d9e7959687f3f0b8657796a460dd37bd301
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Rename cape-merge-capfs
---
README.org | 12 ++++++------
cape.el | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/README.org b/README.org
index fe63f98e5b..5617126986 100644
--- a/README.org
+++ b/README.org
@@ -81,11 +81,11 @@ The adapter can be used as follows:
(list #'company-files #'company-ispell #'company-dabbrev)))
#+end_src
-** Merging multiple Capfs
+** Super-Capf - Merging multiple Capfs
/Throw multiple Capfs under the Cape and get a Super-Capf!/
-Cape supports merging multiple Capfs using the function ~cape-merge-capfs~.
This
+Cape supports merging multiple Capfs using the function ~cape-super-capf~. This
feature is experimental and works only for well-behaved Capfs and static
completion tables. But it is a start to emulate the corresponding Company
feature. Maybe it is possible to extend the capabilities of the completion
table
@@ -94,15 +94,15 @@ 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-merge-capfs #'cape-dabbrev-capf #'cape-dict-capf
#'cape-keyword-capf)))
+ (list (cape-super-capf #'cape-dabbrev-capf #'cape-dict-capf
#'cape-keyword-capf)))
#+end_src
-** Capf cache busting
+** Capf-Buster - Cache busting
-/The Capf buster ensures that you always get a fresh set of candidates!/
+/The Capf-Buster ensures that you always get a fresh set of candidates!/
If a Capf caches the candidates too aggressively we can use a cache busting
-Capf-transformer. For example the Capf merging function ~cape-merge-capfs~
creates
+Capf-transformer. For example the Capf merging function ~cape-super-capf~
creates
a Capf, which caches the candidates for the whole lifetime of the Capf.
Therefore you may want to combine a merged Capf with a cache buster under some
circumstances.
diff --git a/cape.el b/cape.el
index d3a678ae3a..7c462042bf 100644
--- a/cape.el
+++ b/cape.el
@@ -515,7 +515,7 @@ METADATA is optional completion metadata."
(funcall fun x))))
;;;###autoload
-(defun cape-merge-capfs (&rest capfs)
+(defun cape-super-capf (&rest capfs)
"Merge CAPFS and return new Capf which includes all candidates."
(lambda ()
(when-let (results (delq nil (mapcar #'funcall capfs)))
- [elpa] externals/cape 845f3483f1 019/146: company-merge-capfs: Add support for :company-prefix-length, (continued)
- [elpa] externals/cape 845f3483f1 019/146: company-merge-capfs: Add support for :company-prefix-length, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 31acb66152 021/146: Update README, ELPA Syncer, 2022/01/09
- [elpa] externals/cape adb54fc562 020/146: Add missing autoload, ELPA Syncer, 2022/01/09
- [elpa] externals/cape d098cc3cba 023/146: Update README, ELPA Syncer, 2022/01/09
- [elpa] externals/cape ff5b19afc0 025/146: Add missing omit-nulls, ELPA Syncer, 2022/01/09
- [elpa] externals/cape a54a512030 030/146: cape-merge-capfs: Compute candidates later, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 0bdc6ae05c 034/146: README: Mention cape-capf-buster, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 8fd6c17a01 033/146: Add cape-capf-buster, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 90ad5d68d5 037/146: Extract cape--cached-table, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 04a332c5fe 036/146: Extract cape--input-changed-p, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 882b9d9e79 042/146: Rename cape-merge-capfs,
ELPA Syncer <=
- [elpa] externals/cape 9111ad5101 043/146: Ensure that dabbrev is initialized properly, ELPA Syncer, 2022/01/09
- [elpa] externals/cape af4268549c 055/146: Dabbrev: Use equality check, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 29f828cc82 061/146: Reorder, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 80ca6abfd5 063/146: Add cape-line, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 52c86daf8c 062/146: Version 0.2, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 8643892a6d 066/146: Minor refactoring, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 0fdbf4f5c3 073/146: cape-line: Implement capf, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 16ef21309b 076/146: Improve cape-dabbrev, ELPA Syncer, 2022/01/09
- [elpa] externals/cape edb2be3b71 092/146: Version 0.3, ELPA Syncer, 2022/01/09
- [elpa] externals/cape 08877dbf75 096/146: Improve comments, ELPA Syncer, 2022/01/09