emacs-devel
[Top][All Lists]
Advanced

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

Re: emacsclient in elisp


From: Stefan Monnier
Subject: Re: emacsclient in elisp
Date: Fri, 21 May 2021 17:51:02 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>>     (let ((proc (make-stdio-process)))
>>       (set-process-filter proc #'process-command)
>>       (while t (sleep 86400)))
>
> This would probably mean we need to reimplement reading from
> minibuffer in batch mode.

I don't think so.  The only problem I could see is interaction between
the stdin/stdout code of `read-from-minibuffer` (in batch mode) and
`make-stdio-process`, but we could just decide that calling
`make-stdio-process` makes future `read-from-minibuffer` signal
an error (i.e. you can use either one or the other but not both).


        Stefan




reply via email to

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