all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: Eric Abrahamsen <eric@ericabrahamsen.net>
Cc: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: reading from standard input in batch mode
Date: Tue, 22 May 2018 17:26:22 -0400	[thread overview]
Message-ID: <CAM-tV-8hMK5VRURr0VJXOouAMKA_cp2DH9WmqdEx=WM4XprAhQ@mail.gmail.com> (raw)
In-Reply-To: <87vabfxuv1.fsf@ericabrahamsen.net>

On 22 May 2018 at 17:07, Eric Abrahamsen <eric@ericabrahamsen.net> wrote:

> output unfortunately also contains the string "Lisp expression:"

Might have to do with the FIXME in lread.c:

DEFUN ("read", Fread, Sread, 0, 1, 0,
       doc: [...])
  (Lisp_Object stream)
{
  if (NILP (stream))
    stream = Vstandard_input;
  if (EQ (stream, Qt))
    stream = Qread_char;
  if (EQ (stream, Qread_char))
    /* FIXME: ?! When is this used !?  */
    return call1 (intern ("read-minibuffer"),
          build_string ("Lisp expression: "));

  return read_internal_start (stream, Qnil, Qnil);
}



  parent reply	other threads:[~2018-05-22 21:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-22 20:16 reading from standard input in batch mode Eric Abrahamsen
2018-05-22 20:44 ` Eric Abrahamsen
2018-05-22 20:49   ` Eric Abrahamsen
2018-05-22 20:50   ` Noam Postavsky
2018-05-22 21:07     ` Eric Abrahamsen
2018-05-22 21:18       ` Eric Abrahamsen
2018-05-22 21:26       ` Noam Postavsky [this message]
2018-05-22 21:52         ` Eric Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAM-tV-8hMK5VRURr0VJXOouAMKA_cp2DH9WmqdEx=WM4XprAhQ@mail.gmail.com' \
    --to=npostavs@gmail.com \
    --cc=eric@ericabrahamsen.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.