emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/vertico 5a3fd89 2/2: Add note


From: Protesilaos Stavrou
Subject: [elpa] externals/vertico 5a3fd89 2/2: Add note
Date: Mon, 19 Apr 2021 12:48:41 -0400 (EDT)

branch: externals/vertico
commit 5a3fd8907751453d586c96dd82ee85211aa35f54
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Add note
---
 vertico.el | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/vertico.el b/vertico.el
index fc36032..e8aaac7 100644
--- a/vertico.el
+++ b/vertico.el
@@ -531,6 +531,12 @@
 (defun vertico-insert ()
   "Insert current candidate in minibuffer."
   (interactive)
+  ;; XXX There is a small bug here, depending on interpretation. When
+  ;; completing "~/emacs/master/li|/calc" where "|" is the cursor,
+  ;; then the returned candidate only includes the prefix
+  ;; "~/emacs/master/lisp/", but not the suffix "/calc". Default
+  ;; completion has the same problem when selecting in the
+  ;; *Completions* buffer.
   (when-let (cand (and (>= vertico--index 0) (vertico--candidate)))
     (delete-minibuffer-contents)
     (insert cand)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]