[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 10:08:44 +0300 |
> Date: Fri, 21 May 2021 09:21:35 +0300
> From: Jean Louis <bugs@gnu.support>
> Cc: mail@daniel-mendler.de, monnier@iro.umontreal.ca,
> emacs-devel@gnu.org
>
> * Eli Zaretskii <eliz@gnu.org> [2021-05-20 18:11]:
> > > Date: Thu, 20 May 2021 17:31:55 +0300
> > > From: Jean Louis <bugs@gnu.support>
> > > Cc: Stefan Monnier <monnier@iro.umontreal.ca>,
> > > "emacs-devel@gnu.org" <emacs-devel@gnu.org>
> > >
> > > It would be useful to have Emacs that can read stdin.
> >
> > Emacs already is capable of doing that, see the node "Input Streams"
> > in the ELisp manual.
>
> emacs -Q -l process-org.el -l ~/.emacs.d/elpa/org-20201216/org-autoloads.el
> my-file.org --batch -f org-mode -f process-org
>
> I have tried this way, it seem to be waiting for lines, but then it becomes
> error. I was expecting that `read-string' gets its stream reading. Maybe it
> works, I am not sure. But `read' cannot read strings, it is for expressions,
> the `read' is the only function described to receive input streams in that
> section of manual.
Use read-from-minibuffer, it can read anything.
- Re: emacsclient in elisp, (continued)
- Re: emacsclient in elisp, Daniel Mendler, 2021/05/21
- Re: emacsclient in elisp, Jean Louis, 2021/05/21
- Re: emacsclient in elisp, Jean Louis, 2021/05/21
- Re: emacsclient in elisp, Eli Zaretskii, 2021/05/21
- Re: emacsclient in elisp, Jean Louis, 2021/05/21
- Re: emacsclient in elisp, Jean Louis, 2021/05/21
- Re: emacsclient in elisp,
Eli Zaretskii <=
- Re: emacsclient in elisp, Jean Louis, 2021/05/21
- Re: emacsclient in elisp, Eli Zaretskii, 2021/05/21
- Re: emacsclient in elisp, Jean Louis, 2021/05/21
- Re: emacsclient in elisp, Eli Zaretskii, 2021/05/21
- Re: emacsclient in elisp, Eli Zaretskii, 2021/05/21
- Re: emacsclient in elisp, Jean Louis, 2021/05/21
- Re: emacsclient in elisp, Eli Zaretskii, 2021/05/22
Re: emacsclient in elisp, Daniel Mendler, 2021/05/19