[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/consult-recoll c68b79f130 05/50: customizable prompt
From: |
ELPA Syncer |
Subject: |
[elpa] externals/consult-recoll c68b79f130 05/50: customizable prompt |
Date: |
Sat, 6 Aug 2022 18:57:40 -0400 (EDT) |
branch: externals/consult-recoll
commit c68b79f1303d526f8f4717dbaa91112ecaca4ceb
Author: jao <jao@gnu.org>
Commit: jao <jao@gnu.org>
customizable prompt
---
consult-recoll.el | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/consult-recoll.el b/consult-recoll.el
index 70268d085d..e4cdc26143 100644
--- a/consult-recoll.el
+++ b/consult-recoll.el
@@ -32,12 +32,17 @@
;;; Code:
+(require 'seq)
(require 'consult)
(defgroup consult-recoll nil
"Options for consult recoll."
:group 'consult)
+(defcustom consult-recoll-prompt "Recoll search: "
+ "Prompt used by `consult-recoll'."
+ :type 'string)
+
(defcustom consult-recoll-open-fn #'find-file
"Default function used to open candidate URL.
It receives a single argument, the full path to the file to open.
@@ -98,7 +103,7 @@ If given, use INITIAL as the starting point of the query."
(consult--read (consult--async-command consult-recoll--command
(consult--async-filter (lambda (x) (not (null x))))
(consult--async-map #'consult-recoll--transformer))
- :prompt "Recoll search: "
+ :prompt consult-recoll-prompt
:require-match t
:lookup (lambda (_ cs c)
(seq-find (lambda (x) (string= c x)) cs))
- [elpa] externals/consult-recoll 8210ee3fef 10/50: redundant subr-x require to bypass issue #1, (continued)
- [elpa] externals/consult-recoll 8210ee3fef 10/50: redundant subr-x require to bypass issue #1, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 00105e94a4 03/50: customization group, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll d46470c64d 20/50: readme tweaks, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 228306eeda 22/50: version bump, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 2e70eebee4 40/50: new feature: grouping search results by mime type, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll d80ad99e4d 30/50: readme: typo, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll f32c281756 34/50: readme: example of a result formatter, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 39251b54eb 43/50: screenshot: no-groups and inline, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 204a936c5b 35/50: fix: a better regexp for decomposing recollq results, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll d96779ece2 01/50: Initial commit, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll c68b79f130 05/50: customizable prompt,
ELPA Syncer <=
- [elpa] externals/consult-recoll 6ea952cd4c 36/50: back to the previous regexp, it's more precise in the common case, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 3070550d0f 41/50: index metadata for search results, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 1c48329d90 48/50: fix: show also results that have no snippets, ELPA Syncer, 2022/08/06
- [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