aboutsummaryrefslogtreecommitdiff
path: root/piem.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2021-10-24 23:56:26 -0400
committerKyle Meyer <kyle@kyleam.com>2021-10-25 22:49:56 -0400
commit997219b38fc6f14169f646b4000ea2d162d4dad3 (patch)
treea9293e5efa9cf6243a4c7b86e284a6ecf4eb8a4c /piem.el
parent417f658e754cf2a49658ad86e90c9f299eae544e (diff)
downloadpiem-997219b38fc6f14169f646b4000ea2d162d4dad3.tar.gz
lei: Add transient wrapper for piem-lei-query
Expose (most if not all) relevant arguments of lei-q in a new transient. The only somewhat tricky part here is propagating the original arguments so that piem-lei-query-thread and piem-lei-query-show can find messages that require a non-default source (e.g., an unregistered external or a remote source when there are local externals configured). While remote operations work, the current design is still focused on a setup where externals are configured locally, as described in <20210605211402.20304-1-kyle@kyleam.com> (e.g., there's no attempt to limit the number of times the server is hit). Using the key 's' (for search) is unfortunate given the command name is `lei q', but I think that's better than using 'q', which is pretty widely used for "quit" in Emacs buffers. Message-Id: <20211025035630.297598-7-kyle@kyleam.com>
Diffstat (limited to 'piem.el')
-rw-r--r--piem.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/piem.el b/piem.el
index 16ccdfc..31b9c71 100644
--- a/piem.el
+++ b/piem.el
@@ -986,7 +986,8 @@ this triggers the creation of a new worktree."
[[("a" "apply patch" piem-am)
("b" "call b4-am" piem-b4-am)]
[("i" "inject thread into maildir" piem-inject-thread-into-maildir)
- ("l" "copy public-inbox link" piem-copy-mid-url)]])
+ ("l" "copy public-inbox link" piem-copy-mid-url)]
+ [("s" "search with lei" piem-lei-q)]])