GNU bug report logs - #79361
minor jsonrpc optimisation suggestions

Previous Next

Package: emacs;

Reported by: Mattias Engdegård <mattias.engdegard <at> gmail.com>

Date: Mon, 1 Sep 2025 19:00:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Mattias Engdegård <mattias.engdegard <at> gmail.com>
Cc: daniel <at> dpettersson.net, joaotavora <at> gmail.com, 79361 <at> debbugs.gnu.org
Subject: bug#79361: minor jsonrpc optimisation suggestions
Date: Fri, 05 Sep 2025 09:39:02 +0300
> From: Mattias Engdegård <mattias.engdegard <at> gmail.com>
> Date: Thu, 4 Sep 2025 19:29:01 +0200
> Cc: Eli Zaretskii <eliz <at> gnu.org>,
>  79361 <at> debbugs.gnu.org,
>  Daniel Pettersson <daniel <at> dpettersson.net>
> 
> Here is a proper patch. Tested with a few servers (clangd, ocaml-lsp-server), and everything seems to work including Unicode in identifiers and doc strings.

Thanks.

Can this change affect programs using jsonrpc in any way?  For
example, do we have hooks or user-defined functions that can be called
with this buffer the current buffer?  If so, this change should be
called out in NEWS, because now the buffer is unibyte and the text in
it is undecoded.




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.