From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: emacsclient in elisp Date: Fri, 21 May 2021 20:41:29 +0300 Message-ID: <834kewm1bq.fsf@gnu.org> References: <00ce8ae3-bb21-c58f-cd32-c196f146842b@daniel-mendler.de> <6fed43bb-d880-bcd5-6f6f-004b6182e539@daniel-mendler.de> <83pmxlo2z0.fsf@gnu.org> <831ra0o96r.fsf@gnu.org> <83v97cml87.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13461"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mail@daniel-mendler.de, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Jean Louis Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 21 19:47:51 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lk9FX-0003Hn-EH for ged-emacs-devel@m.gmane-mx.org; Fri, 21 May 2021 19:47:51 +0200 Original-Received: from localhost ([::1]:47128 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lk9FV-0003Jr-KL for ged-emacs-devel@m.gmane-mx.org; Fri, 21 May 2021 13:47:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lk99a-00036v-8W for emacs-devel@gnu.org; Fri, 21 May 2021 13:41:42 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54080) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lk99Y-0004y1-Vi; Fri, 21 May 2021 13:41:40 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1087 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lk99Q-0001HU-Vr; Fri, 21 May 2021 13:41:37 -0400 In-Reply-To: (message from Jean Louis on Fri, 21 May 2021 19:07:59 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:269575 Archived-At: > Date: Fri, 21 May 2021 19:07:59 +0300 > From: Jean Louis > Cc: mail@daniel-mendler.de, monnier@iro.umontreal.ca, > emacs-devel@gnu.org > > > Of course, it's documented: see the nodes "Input Streams" and "Intro > > to Minibuffers" of the ELisp manual. > > In this page: (info "(elisp) Input Functions") there is nothing about > `read-from-minibuffer' and in the description of the function there is > nothing about STREAM neither that it can read from standard input. Really? > On this page (info "(elisp) Intro to Minibuffers") I see: > > When Emacs is running in batch mode, any request to read from the ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > minibuffer actually reads a line from the standard input descriptor that ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > was supplied when Emacs was started. This supports only basic input: > none of the special minibuffer features (history, completion, etc.) are > available in batch mode. If this isn't what you were looking for, then I don't know how to say it more clearly.