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 18:08:05 +0300

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: mail@daniel-mendler.de,  bugs@gnu.support,  emacs-devel@gnu.org
> Date: Fri, 21 May 2021 10:55:02 -0400
> 
> > Btw: in batch mode, read-from-minibuffer returns when it sees a
> > newline, so you could still use the above if you'd process each
> > incoming line, and then issued another read-from-minibuffer call only
> > when the processing was done.
> 
> The next line may not come from another half-hour, or even "for ever" if
> the other side is waiting for our (asynchronous) answer before sending the
> next command.

So don't call read-from-minibuffer until you have processed the
previous job and sent out the results.

> > So the situation we have doesn't look too bad to me.
> 
> There are cases where it's usable, but there are cases where it's
> a non-starter.

Why focus on the latter?



reply via email to

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