[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/consult-recoll 9ce929510f 47/50: fix: reset index and c
From: |
ELPA Syncer |
Subject: |
[elpa] externals/consult-recoll 9ce929510f 47/50: fix: reset index and current for every new search term |
Date: |
Sat, 6 Aug 2022 18:57:43 -0400 (EDT) |
branch: externals/consult-recoll
commit 9ce929510f5d418f71f46d6e7ab351f4a97adad2
Author: jao <jao@gnu.org>
Commit: jao <jao@gnu.org>
fix: reset index and current for every new search term
---
consult-recoll.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/consult-recoll.el b/consult-recoll.el
index d3920a0288..c98971fd7c 100644
--- a/consult-recoll.el
+++ b/consult-recoll.el
@@ -99,6 +99,8 @@ Set to nil to use the default 'title (path)' format."
(defun consult-recoll--command (text)
"Command used to perform queries for TEXT."
+ (setq consult-recoll--current nil)
+ (setq consult-recoll--index 0)
`("recollq" "-A" "-p" "5" ,@consult-recoll-search-flags ,text))
(defconst consult-recoll--line-rx "^\\(.*?\\)\t\\[\\(.*?\\)\\]\t\\[\\(.*\\)\\]"
@@ -207,8 +209,6 @@ Set to nil to use the default 'title (path)' format."
(defun consult-recoll--search (&optional initial)
"Perform an asynchronous recoll search via `consult--read'.
If given, use INITIAL as the starting point of the query."
- (setq consult-recoll--current nil)
- (setq consult-recoll--index 0)
(consult--read (consult--async-command
#'consult-recoll--command
(consult--async-filter #'identity)
- [elpa] externals/consult-recoll 6ef792703b 19/50: Note on two-phased queries (fixes #2), (continued)
- [elpa] externals/consult-recoll 6ef792703b 19/50: Note on two-phased queries (fixes #2), ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 47f6c618a2 46/50: readme: thanks section, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 72fc38d27a 49/50: readme: recommendation for a vertical completions UI, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 34e883562c 02/50: initial implementation, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll aa5bdff7f8 07/50: typo, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 35b78fa3c1 08/50: readme: link to consult, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll c8e0849308 06/50: readme tweaks, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll b0fa4831e0 15/50: fix: using recoll's candidate ordering rather than alphabetical, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 0ba5ae1b53 17/50: fix for consult-recoll's input history, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll ba3fcb8bae 28/50: readme: melpa badges, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 9ce929510f 47/50: fix: reset index and current for every new search term,
ELPA Syncer <=
- [elpa] externals/consult-recoll d550a76ffb 24/50: a bit more structure, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 85a527af31 27/50: wee commentary tweaks, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 57f2a5552f 31/50: Version bump, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 0105066d19 32/50: readme nits and screenshot, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 370a31d1c4 09/50: MELPA review, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 357654bedd 04/50: customisable formatter and candidate openers, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 1b21fa157b 16/50: version bump, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll c824a2fea2 21/50: fix for C-u consult-recoll, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 8ba4d4b9b8 39/50: hide cursor in non-selected preview windows, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 3399c32322 23/50: readme, ELPA Syncer, 2022/08/06