emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: accept-process-output throws


From: Eli Zaretskii
Subject: Re: accept-process-output throws
Date: Wed, 24 Nov 2021 05:25:59 +0200

> From: JD Smith <jdtsmith@gmail.com>
> Date: Tue, 23 Nov 2021 15:36:38 -0500
> 
> 
> [1:text/plain Show]
> 
> 
> [2:text/html Hide Save:noname (1kB)]
> 
> I find that, in a loop like:
> 
>  (unwind-protect
>      (while waiting-for-output
>        (accept-process-output process))
>    (if waiting-for-output
>        (warn "accept-process-output exited non-locally!")))
> 
> i.e. waiting for an async process (iPython), accept-process-output (emacs 
> 27.2) sometimes exits
> non-locally. I checked for any signals that might cause this (none), and then 
> I suspected re-entering a-p-e
> could throw, so guarded against that, but still no luck.  
> 
> Does anyone know any other reasons that accept-process-output would 
> (occasionally) exit non-locally?  Is
> this expected?

Is this in "emacs -Q"?  If so, how did you start the process, and what
do you have in the process-filter and process-sentinel functions for
this process?

IOW, please tell more about the situation, since it is not yet clear
which code could be involved in this.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]