Subject: Re: bug#79361: minor jsonrpc optimisation suggestions

From: Eli Zaretskii <[email-masked]>
Date: Fri, 05 Sep 2025 13:48:39 +0300

> From: Mattias Engdegård <[email-masked]>
> Date: Fri, 5 Sep 2025 10:45:42 +0200
> Cc: [email-masked],
>  [email-masked],
>  [email-masked]
> 
> 5 sep. 2025 kl. 08.39 skrev Eli Zaretskii <[email-masked]>:
> 
> > 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?