emacs-devel
[Top][All Lists]
Advanced

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

Re: emacsclient in elisp


From: Daniel Mendler
Subject: Re: emacsclient in elisp
Date: Sat, 22 May 2021 13:49:20 +0200


On 5/22/21 12:29 PM, Eli Zaretskii wrote:
>> Date: Sat, 22 May 2021 13:19:21 +0300
>> From: Eli Zaretskii <eliz@gnu.org>
>> Cc: monnier@iro.umontreal.ca, bugs@gnu.support, emacs-devel@gnu.org
>>
>>> For my use case this would not be harsh. A running Emacs will explicitly
>>> opt-in to use the special make-stdio-process to read from stdin. This
>>> special process will only be used by external worker Emacsen controlled
>>> from the main Emacs. In that scenario the data flowing over stdin-stdout
>>> is tightly controlled (IPC protocol). There hopefully won't be spurious
>>> read-from-minibuffer calls.
>>
>> The last assumption is questionable
> 
> I mean in general, not for the single use case you described.

I agree that it is questionable in general. However given that the use
of `make-stdio-process` is opt-in, the change in behavior would not be
severe. One could also keep the current behavior of
`read-from-minibuffer` as is, even if `make-stdio-process` is used. The
question is if that would shadow some bugs, since you probably don't
want to use both of them at the same time. I assume this is what Stefan
meant.

Daniel



reply via email to

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