[Top][All Lists]

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

[elpa] master 4a4152b 02/66: Add a FIXME

From: Dmitry Gutov
Subject: [elpa] master 4a4152b 02/66: Add a FIXME
Date: Mon, 5 Nov 2018 18:19:12 -0500 (EST)

branch: master
commit 4a4152b3d643dca07f1e0aed5a1ad53b8fc77af5
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    Add a FIXME
 company-capf.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/company-capf.el b/company-capf.el
index ffd9ea3..26656c6 100644
--- a/company-capf.el
+++ b/company-capf.el
@@ -165,6 +165,11 @@
     (if exit-function
         ;; Follow the example of `completion--done'.
         (funcall exit-function arg
+                 ;; FIXME: Should probably use an additional heuristic:
+                 ;; completion-at-point doesn't know when the user picked a
+                 ;; particular candidate explicitly (it only checks whether
+                 ;; futher completions exist). Whereas company user can press
+                 ;; RET (or use implicit completion with company-tng).
                  (if (eq (try-completion arg table pred) t)
                      'finished 'sole)))))

reply via email to

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