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: Sat, 22 May 2021 09:11:46 +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 17:51:02 -0400
> 
> >>     (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).

Doesn't sound like a good idea to me.  There's no real reason for
being so harsh to applications.



reply via email to

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