[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dict-tree a11f2a5 115/154: Update predictive mode to ne
From: |
Stefan Monnier |
Subject: |
[elpa] externals/dict-tree a11f2a5 115/154: Update predictive mode to new dictree-create function interface. |
Date: |
Mon, 14 Dec 2020 12:21:56 -0500 (EST) |
branch: externals/dict-tree
commit a11f2a5185e4027309e74bbf01cca6adc3e1f19c
Author: Toby S. Cubitt <toby-predictive@dr-qubit.org>
Commit: Toby S. Cubitt <toby-predictive@dr-qubit.org>
Update predictive mode to new dictree-create function interface.
---
dict-tree.el | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/dict-tree.el b/dict-tree.el
index b80367b..3aa4dc8 100644
--- a/dict-tree.el
+++ b/dict-tree.el
@@ -346,7 +346,7 @@ If START or END is negative, it counts from the end."
(:copier dictree--copy))
name filename autosave modified
comparison-function insert-function insfun rank-function rankfun
- cache-policy cache-update-policy cache-threshold
+ cache-policy cache-threshold cache-update-policy
lookup-cache complete-cache complete-ranked-cache
regexp-cache regexp-ranked-cache
fuzzy-match-cache fuzzy-match-ranked-cache
@@ -492,7 +492,7 @@ If START or END is negative, it counts from the end."
(&optional
name filename autosave unlisted
comparison-function insert-function rank-function
- cache-policy cache-update-policy cache-threshold
+ cache-policy cache-threshold cache-update-policy
key-savefun key-loadfun
data-savefun data-loadfun
plist-savefun plist-loadfun
@@ -614,7 +614,7 @@ structure. See `trie-create' for details."
(dictree--create
filename (when name (symbol-name name)) autosave unlisted
comparison-function insert-function rank-function
- cache-policy cache-update-policy cache-threshold
+ cache-policy cache-threshold cache-update-policy
key-savefun key-loadfun
data-savefun data-loadfun
plist-savefun plist-loadfun
@@ -637,7 +637,7 @@ structure. See `trie-create' for details."
name filename autosave unlisted
&key
comparison-function insert-function rank-function
- cache-policy cache-update-policy cache-threshold
+ cache-policy cache-threshold cache-update-policy
key-savefun key-loadfun
data-savefun data-loadfun
plist-savefun plist-loadfun
@@ -667,7 +667,7 @@ underlying data structure. See `trie-create' for details."
(dictree--create-custom
filename (when name (symbol-name name)) autosave unlisted
comparison-function insert-function rank-function
- cache-policy cache-update-policy cache-threshold
+ cache-policy cache-threshold cache-update-policy
key-savefun key-loadfun
data-savefun data-loadfun
plist-savefun plist-loadfun
@@ -700,7 +700,7 @@ underlying data structure. See `trie-create' for details."
&optional
name filename autosave unlisted
combine-function
- cache-policy cache-update-policy cache-threshold)
+ cache-policy cache-threshold cache-update-policy)
"Create a meta-dictionary based on the list of dictionaries
in DICTIONARY-LIST.
@@ -728,8 +728,7 @@ CACHE-THRESHOLD argument is ignored and caching is
disabled."
dictionary-list filename (when name (symbol-name name))
autosave unlisted
combine-function
- cache-policy cache-update-policy
- (when name cache-threshold)
+ cache-policy (when name cache-threshold) cache-update-policy
)))
;; store dictionary in variable NAME
(when name (set name dict))
@@ -2416,7 +2415,7 @@ Returns nil if the stack is empty."
(puthash (list arg auxargs reverse)
(dictree--cache-create res maxnum)
(funcall cachefun dic))))))
-
+
;; merge new result into results list
(setq results
(dictree--merge
- [elpa] externals/dict-tree d96b1c5 097/154: More minor whitespace and commentary changes., (continued)
- [elpa] externals/dict-tree d96b1c5 097/154: More minor whitespace and commentary changes., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 1ec9d58 102/154: Restore trie print/read transformer functions., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 48ab389 092/154: Simplified persistent-storage code for tries and dict-trees., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 454c68b 109/154: Code cleanup., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree ba2eba0 107/154: Exploit lexical closures to allow byte-compilation of wrapped functions., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 08303f3 103/154: Remove ChangeLogs from library headers., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 8d8ce4f 120/154: Print dict-tree cache sizes in edebug., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 84b23ec 112/154: Implement trie-fuzzy-match and trie-fuzzy-complete functions., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 5321c25 113/154: Implement fuzzy match and completion on dict-trees., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree d0e339d 117/154: Don't wrap rank and filter functions for regexp and fuzzy queries., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree a11f2a5 115/154: Update predictive mode to new dictree-create function interface.,
Stefan Monnier <=
- [elpa] externals/dict-tree 217c9d2 119/154: Updated Commentary., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 95d6a5a 127/154: Mention iterator generators in Commentary., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree d84725e 124/154: Bump version numbers since we've added iterator generators., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree f47d49c 137/154: Bug fixes to meta-dict fuzzy-matching/completing., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 65b94b4 131/154: Bump version numbers., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree c737d3a 134/154: Make use of new trie-fuzzy-complete facilities., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree eec26c3 132/154: Fix trie--construct-Lewenstein-rankfun to new versions., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 5e2ffac 136/154: Test for lexical binding must be within same file to work reliably., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 22d0e13 140/154: Sort completions by fuzzy dist before ngram length., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 67afade 151/154: Document PFXFILTER argument to query functions., Stefan Monnier, 2020/12/14