bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#41531: 27.0.91; Better handle asynchronous eldoc backends


From: Dmitry Gutov
Subject: bug#41531: 27.0.91; Better handle asynchronous eldoc backends
Date: Tue, 7 Jul 2020 17:24:18 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

On 07.07.2020 16:38, Stefan Monnier wrote:
As long as it's done before we cut the `emacs-28` branch, I can't see
any reason why we couldn't change the new (and hence not yet released,
except for the GNU ELPA package) API in a backward-incompatible way
(just like the eldoc-async already does).

It's a good point, and if that was all that we'd need to agree on, I'd be fine to proceed.

But if we just wanted to get async into Eglot, that's what my simple patch did: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=41531#8, proposed months ago. With minimal backward compatibility issues.

The current discussion, and the current eldoc-async branch adds some more design decisions, as well as breaking changes.

And those decisions seem to be informed and made necessary by the lack of standard functions for combining async computations that eldoc clients could use.

As soon as we get futures/promises/aio into the core, that will cease to be the case. But I fear we wouldn't be able to roll back the related decisions so easily, however.





reply via email to

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