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>, daniel <at> dpettersson.net
Cc: joaotavora <at> gmail.com, 79361 <at> debbugs.gnu.org
Subject: bug#79361: minor jsonrpc optimisation suggestions
Date: Fri, 05 Sep 2025 13:48:39 +0300
> From: Mattias Engdegård <mattias.engdegard <at> gmail.com>
> Date: Fri, 5 Sep 2025 10:45:42 +0200
> Cc: joaotavora <at> gmail.com,
>  79361 <at> debbugs.gnu.org,
>  daniel <at> dpettersson.net
> 
> 5 sep. 2025 kl. 08.39 skrev Eli Zaretskii <eliz <at> gnu.org>:
> 
> > 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?
> 
> I don't think so, because jsonrpc creates that buffer itself and treats it entirely as its own property. Its name starts with a space, making it internal. There should be no user-visible changes.

What about jsonrpc-event-hook?  It runs in the buffer returned by
jsonrpc-events-buffer -- is that affected by these changes?




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.