[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: call-process should not block process filters from running
From: |
Po Lu |
Subject: |
Re: call-process should not block process filters from running |
Date: |
Mon, 03 Jul 2023 18:00:09 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
sbaugh@catern.com writes:
> However, my other main test case/use case, being able to paste while
> Emacs is in call-process, doesn't work with this change. Any idea on
> how to make that work?
By entering the command loop or by calling `process_special_events'
every time wait_reading_process_input returns. I don't recommend doing
either from call_process: a lot of existing code relies on Lisp code not
running inside calls to that function, and errors inside selection
handlers will be signaled even if nothing's wrong with the process being
called.
Also, you should at least check that call_process is reentrant: it must
be able to handle calls to itself made by any timers or selection
handlers that run within the process input loop, with the processes
being called completing in any order.
- Re: call-process should not block process filters from running, Spencer Baugh, 2023/07/01
- Re: call-process should not block process filters from running, Eli Zaretskii, 2023/07/01
- Re: call-process should not block process filters from running, Spencer Baugh, 2023/07/02
- Re: call-process should not block process filters from running, Eli Zaretskii, 2023/07/02
- Re: call-process should not block process filters from running, sbaugh, 2023/07/02
- Re: call-process should not block process filters from running,
Po Lu <=
- Re: call-process should not block process filters from running, sbaugh, 2023/07/03
- Re: call-process should not block process filters from running, Eli Zaretskii, 2023/07/03
- Re: call-process should not block process filters from running, sbaugh, 2023/07/03
- Re: call-process should not block process filters from running, Po Lu, 2023/07/04
- Re: call-process should not block process filters from running, Eli Zaretskii, 2023/07/04
- Re: call-process should not block process filters from running, sbaugh, 2023/07/04
- Re: call-process should not block process filters from running, Michael Albinus, 2023/07/04
- Re: call-process should not block process filters from running, sbaugh, 2023/07/04
- Re: call-process should not block process filters from running, Michael Albinus, 2023/07/05
- Re: call-process should not block process filters from running, Eli Zaretskii, 2023/07/04