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

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

bug#61726: [PATCH] Eglot: Support positionEncoding capability


From: Augusto Stoffel
Subject: bug#61726: [PATCH] Eglot: Support positionEncoding capability
Date: Sat, 25 Feb 2023 19:10:24 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Okay, I've attached a new patch with your suggested implementation,
which to the extent I'm able to test works correctly.

Attachment: 0001-Eglot-support-positionEncoding-LSP-capability.patch
Description: Text Data

I still maintain that we are doing a lot of extra work (LOC and
CPU-wise) just to guard against the impossible.  On the other hand there
are probably better places to look for optimization opportunities.  For
instance, I noticed that when completions arrive form the server, we
call eglot-current-column once for each candidate, although most of
those will never be used.

Also, in a few years every serious server should support the
codepoint-based counting method anyway.

reply via email to

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