[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master f3910a2 71/78: Add a comment justifying the duplication [c
From: |
Dmitry Gutov |
Subject: |
[elpa] master f3910a2 71/78: Add a comment justifying the duplication [ci skip] |
Date: |
Sun, 18 Feb 2018 07:40:28 -0500 (EST) |
branch: master
commit f3910a2796f22ad57c51fad415c5acd804894de6
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
Add a comment justifying the duplication [ci skip]
---
company.el | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/company.el b/company.el
index b057e01..a1fe54d 100644
--- a/company.el
+++ b/company.el
@@ -926,6 +926,12 @@ matches IDLE-BEGIN-AFTER-RE, return it wrapped in a cons."
(if (> (- (time-to-seconds) start) company-async-timeout)
(error "Company: backend %s async timeout with args %s"
backend args)
+ ;; XXX: Reusing the trick from company--fetch-candidates here
+ ;; doesn't work well: sit-for isn't a good fit when we want to
+ ;; ignore pending input (results in too many calls).
+ ;; FIXME: We should deal with this by standardizing on a kind of
+ ;; Future object that knows how to sync itself. In most cases (but
+ ;; not all), by calling accept-process-output, probably.
(sleep-for company-async-wait)))
res))))
- [elpa] master d789f26 54/78: Merge pull request #754 from jabranham/fix-defcustom, (continued)
- [elpa] master d789f26 54/78: Merge pull request #754 from jabranham/fix-defcustom, Dmitry Gutov, 2018/02/18
- [elpa] master 3959af9 52/78: Specify :type for company-semantic-begin-after-member-access, Dmitry Gutov, 2018/02/18
- [elpa] master 7c5408c 57/78: company-clang--start-process: Kill the existing process, if any, Dmitry Gutov, 2018/02/18
- [elpa] master 0efc9f3 58/78: Reindent, Dmitry Gutov, 2018/02/18
- [elpa] master b22df34 60/78: Use inhibit-redisplay, Dmitry Gutov, 2018/02/18
- [elpa] master 307b620 59/78: Simplify how async backends are called (WIP), Dmitry Gutov, 2018/02/18
- [elpa] master 82d41b7 70/78: Avoid an extra redisplay call, Dmitry Gutov, 2018/02/18
- [elpa] master 4004c7f 42/78: Merge pull request #748 from nikital/tng-dont-require-match, Dmitry Gutov, 2018/02/18
- [elpa] master 6ddeae2 43/78: Rework Clang version handling, Dmitry Gutov, 2018/02/18
- [elpa] master 0bd111d 49/78: Add keywords for kotlin-mode, Dmitry Gutov, 2018/02/18
- [elpa] master f3910a2 71/78: Add a comment justifying the duplication [ci skip],
Dmitry Gutov <=
- [elpa] master b079bd2 75/78: Revert "Break idle re-starting loop", Dmitry Gutov, 2018/02/18
- [elpa] master 7cc0901 77/78: Release 0.9.5, Dmitry Gutov, 2018/02/18
- [elpa] master d033112 28/78: Merge pull request #720 from aaronjensen/abort-dabbrev-on-input, Dmitry Gutov, 2018/02/18
- [elpa] master 3b5415a 41/78: company-tng: default config: Disable company-require-match, Dmitry Gutov, 2018/02/18
- [elpa] master 9b4488f 69/78: Rephrase, Dmitry Gutov, 2018/02/18
- [elpa] master e5e2c23 61/78: Make company-clang use cache again, Dmitry Gutov, 2018/02/18
- [elpa] master fe275d6 63/78: Tiny hack for better latency, Dmitry Gutov, 2018/02/18
- [elpa] master cf7141c 65/78: Fix noninteractive runs, Dmitry Gutov, 2018/02/18
- [elpa] master dbdfd6f 64/78: Update the async tests, Dmitry Gutov, 2018/02/18
- [elpa] master 38ef92d 72/78: Force sync when company-require-match is t, Dmitry Gutov, 2018/02/18