GNU bug report logs - #79374
[PATCH] eglot: add support for semantic tokens

Previous Next

Package: emacs;

Reported by: me <at> lua.blog.br

Date: Wed, 3 Sep 2025 00:43:02 UTC

Severity: normal

Tags: patch

Full log


Message #11 received at 79374 <at> debbugs.gnu.org (full text, mbox):

From: "Lua V. R." <me <at> lua.blog.br>
To: Philip Kaludercic <philipk <at> posteo.net>
Cc: 79374 <at> debbugs.gnu.org,
 João Távora <joaotavora <at> gmail.com>
Subject: Re: bug#79374: [PATCH] eglot: add support for semantic tokens
Date: Thu,  4 Sep 2025 00:02:51 +0000 (UTC)
[Message part 1 (text/plain, inline)]
Hi Philip,

Em 03/09/2025 05:01, Philip Kaludercic escreveu:
> As mentioned on Emacs-devel, shouldn't this be `eglot-semantic-tokens-mode'.
Thanks for catching this :) I fixed it among other things, and I 
apologize for being unfamiliar with the e-mail git workflow. I don't 
know if I should send a patch on top of the previous patch, but I'm 
sending a squashed one.

In this new patch I also removed a "hash" I used in attempt to avoid a 
burst of requests, because it was not working in some particular 
situations (I can explain if you want). Now, due to how jit-lock works, 
Eglot may send two requests after a didChange if the server does not 
support delta requests. But this was also the case in the version with 
the hash, so alas, it was just complicating things.
[0001-add-semantic-tokens-support-for-eglot.patch (text/x-patch, attachment)]

This bug report was last modified today.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.