emacs-devel
[Top][All Lists]
Advanced

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

Re: emacsclient in elisp


From: Eli Zaretskii
Subject: Re: emacsclient in elisp
Date: Fri, 21 May 2021 13:44:29 +0300

> From: Daniel Mendler <mail@daniel-mendler.de>
> Date: Fri, 21 May 2021 12:33:12 +0200
> Cc: monnier@iro.umontreal.ca, bugs@gnu.support, emacs-devel@gnu.org
> 
> On 5/21/21 8:16 AM, Eli Zaretskii wrote:
> >> Yes, that's right. I have two Emacs processes A and B. The process A
> >> starts process B as subprocess and communicates with it via the pipe.
> >> The process B reads from the stdin using `(read t)` or
> >> `(read-from-minibuffer..)`. Now process B starts another subprocess C,
> >> which has a filter and a sentinel. While B reads from stdin, B hangs and
> >> the C-filter is not executed.
> > 
> > The same will happen if B runs some Lisp function that takes a long
> > time.
> 
> Of course, but IO-bound waiting is fundamentally different from
> CPU-bound computations.

With read-from-minibuffer, you only wait until the first newline.  So
I'm not sure I understand the big deal about that.



reply via email to

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