[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs-29 8bf4cdcf79: Avoid recursive process filters in lisp/jsonrpc
From: |
F . Jason Park |
Subject: |
Re: emacs-29 8bf4cdcf79: Avoid recursive process filters in lisp/jsonrpc.el (bug#60088) |
Date: |
Fri, 16 Dec 2022 21:37:36 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> Avoid recursive process filters in lisp/jsonrpc.el (bug#60088)
>
> BTW, this has bitten us in various other cases, we should fix it once
> and for all in the C code by marking the process as "busy" while we're
> running the filters so we never run filters recursively.
> [ If we ever bump into a case where recursive filters are needed, we
> can then add some function to remove the "busy" mark.
> Calling (accept-process-output PROC) should naturally mark PROC as
> not-busy. ]
>
>
> Stefan
A possibly related discussion from the bug archive:
https://lists.gnu.org/archive/html/bug-gnu-emacs/2022-03/msg01211.html