[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vertico 9ba65d4 2/2: Add references to bug#38024, bug#4
From: |
Protesilaos Stavrou |
Subject: |
[elpa] externals/vertico 9ba65d4 2/2: Add references to bug#38024, bug#47678 and bug#47711 |
Date: |
Mon, 12 Apr 2021 02:02:23 -0400 (EDT) |
branch: externals/vertico
commit 9ba65d4f0ec9d67c44e79638b24ede538bf11b70
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Add references to bug#38024, bug#47678 and bug#47711
---
vertico.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/vertico.el b/vertico.el
index f0087cc..5efbf69 100644
--- a/vertico.el
+++ b/vertico.el
@@ -230,6 +230,7 @@
(lambda (x) (and (not (string-match-p ignore x)) (funcall pred x)))
(lambda (x) (not (string-match-p ignore x))))))
+;; bug#47711: Deferred highlighting for `completion-all-completions'
(declare-function orderless-highlight-matches "ext:orderless")
(defun vertico--all-completions (&rest args)
"Compute all completions for ARGS with deferred highlighting."
@@ -286,6 +287,7 @@
(defun vertico--update-candidates (pt content bounds metadata)
"Preprocess candidates given PT, CONTENT, BOUNDS and METADATA."
+ ;; bug#38024: Icomplete uses `while-no-input-ignore-events' to repair
updating issues
(pcase (let ((while-no-input-ignore-events '(selection-request)))
(while-no-input (vertico--recompute-candidates pt content bounds
metadata)))
('nil (abort-recursive-edit))
@@ -432,10 +434,9 @@
(content (minibuffer-contents-no-properties))
(before (substring content 0 pt))
(after (substring content pt))
- ;; BUG: `completion-boundaries` fails for `partial-completion`
+ ;; bug#47678: `completion-boundaries` fails for `partial-completion`
;; if the cursor is moved between the slashes of "~//".
;; See also marginalia.el which has the same issue.
- ;; Upstream bug: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=47678
(bounds (or (condition-case nil
(completion-boundaries before
minibuffer-completion-table