|
From: | Dmitry Gutov |
Subject: | Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations |
Date: | Wed, 2 Jun 2021 17:11:32 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
On 02.06.2021 16:38, Stefan Monnier wrote:
I think it was/is the fear that the overlay could interfere with the command.
Same as the reason for Company's frontends doing that, then (only more founded in that case). If somebody reports a real problem caused by this, we can copy the corresponding fix more thoroughly:
- Remove the after-string from the overlay (moving its value to some other property) in pre-command. - Restore it right away in post-command. And then update after the computation is made.
But we probably don't need this additional complexity.
AFAIK it was written under the assumption that the `icomplete-tidy` call would be automatically "undone" by the `post-command-hook` before the next redisplay.
Are you okay with the proposed change, then? And how do you feel about reducing icomplete-compute-delay to 100ms at most?
[Prev in Thread] | Current Thread | [Next in Thread] |