[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/bufferlo a4448a8ec3 148/192: Expand multiple matches in
From: |
ELPA Syncer |
Subject: |
[elpa] externals/bufferlo a4448a8ec3 148/192: Expand multiple matches in bufferlo--bookmark-completing-read-multiple |
Date: |
Sat, 19 Apr 2025 15:58:16 -0400 (EDT) |
branch: externals/bufferlo
commit a4448a8ec37b4c8d5c27ceb3abf39c8713fe3887
Author: shipmints <shipmints@gmail.com>
Commit: Flo Rommel <mail@florommel.de>
Expand multiple matches in bufferlo--bookmark-completing-read-multiple
This allows CRM completions such as:
todo$, foobar, f[0-9]
Useful for users that want to open many bookmarks by matching names
with regexps, for example.
---
bufferlo.el | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/bufferlo.el b/bufferlo.el
index 736844bdde..aedeba7663 100644
--- a/bufferlo.el
+++ b/bufferlo.el
@@ -2513,11 +2513,20 @@ When non-nil, NO-SORT uses the natural order of the
CANDIDATES list."
PROMPT is the prompt text ending with a space.
CANDIDATES are the prompt options to select.
When non-nil, NO-SORT uses the natural order of the CANDIDATES list."
- (let* ((comps
+ (let* ((raw-comps
(completing-read-multiple
prompt
(bufferlo--bookmark-completion-table candidates no-sort)
nil 'require-match nil 'bufferlo-bookmark-history))
+ (comps (mapcan (lambda (raw-comp)
+ (let ((tmp-comps
+ (completion-all-completions
+ raw-comp
+ candidates nil nil)))
+ (when (cdr (last tmp-comps))
+ (setcdr (last tmp-comps) nil))
+ tmp-comps))
+ raw-comps))
(comps (seq-uniq (mapcar (lambda (x) (substring-no-properties x))
comps))))
comps))
- [elpa] externals/bufferlo 2cd2b3a52f 115/192: Add bookmark-jump workaround for bufferlo frame bookmarks, (continued)
- [elpa] externals/bufferlo 2cd2b3a52f 115/192: Add bookmark-jump workaround for bufferlo frame bookmarks, ELPA Syncer, 2025/04/19
- [elpa] externals/bufferlo 2c24717d41 118/192: Fix mode line, ELPA Syncer, 2025/04/19
- [elpa] externals/bufferlo d01c7fa4e7 119/192: Fix frame raise and selection, ELPA Syncer, 2025/04/19
- [elpa] externals/bufferlo 099c7df70d 120/192: Quiet flymake and byte-compiler warnings, ELPA Syncer, 2025/04/19
- [elpa] externals/bufferlo 31e0bf2edf 121/192: Fix comment typo reuse not resue, ELPA Syncer, 2025/04/19
- [elpa] externals/bufferlo 4c6e28b188 123/192: Change idle timer to regular timer (BREAKING CHANGE), ELPA Syncer, 2025/04/19
- [elpa] externals/bufferlo de018418d7 124/192: Fix bufferlo--bookmark-completing-read for vanilla Emacs completion, ELPA Syncer, 2025/04/19
- [elpa] externals/bufferlo f2c670b759 126/192: Expand multiple matches in bufferlo--bookmark-completing-read-multiple, ELPA Syncer, 2025/04/19
- [elpa] externals/bufferlo 5c51ac383f 127/192: bufferlo--set-save the tabset tbms in user specified order, ELPA Syncer, 2025/04/19
- [elpa] externals/bufferlo 652fe5c72d 130/192: Document CRM prompt recommendation, ELPA Syncer, 2025/04/19
- [elpa] externals/bufferlo a4448a8ec3 148/192: Expand multiple matches in bufferlo--bookmark-completing-read-multiple,
ELPA Syncer <=
- [elpa] externals/bufferlo 6b4e50313f 143/192: Fix comment typo reuse not resue, ELPA Syncer, 2025/04/19
- [elpa] externals/bufferlo a42f306d48 152/192: Document CRM prompt recommendation, ELPA Syncer, 2025/04/19
- [elpa] externals/bufferlo 244c70ac31 149/192: bufferlo--set-save the tabset tbms in user specified order, ELPA Syncer, 2025/04/19
- [elpa] externals/bufferlo ca103eb6eb 153/192: Support define-ibuffer-op opstring prompt functions, ELPA Syncer, 2025/04/19
- [elpa] externals/bufferlo 5c3bd1aa2e 154/192: Support inhibiting bookmark-insert, ELPA Syncer, 2025/04/19
- [elpa] externals/bufferlo 861cca9ac7 155/192: Correct bufferlo--tab-bar-undo-close-tab-advice duplicate check, ELPA Syncer, 2025/04/19
- [elpa] externals/bufferlo 530159db2f 168/192: Correct doc references to bufferlo-bookmarks-save-at-emacs-exit, ELPA Syncer, 2025/04/19
- [elpa] externals/bufferlo 0936cf6948 173/192: Continue on errors when killing buffers, ELPA Syncer, 2025/04/19
- [elpa] externals/bufferlo 558d1d8e25 167/192: Correct typo in ibuffer compatibility macro, ELPA Syncer, 2025/04/19
- [elpa] externals/bufferlo 08cfa9b48d 181/192: Minor cleanups, ELPA Syncer, 2025/04/19