From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.help Subject: Re: reading from standard input in batch mode Date: Tue, 22 May 2018 17:26:22 -0400 Message-ID: References: <87efi3zbrb.fsf@ericabrahamsen.net> <874lizzah6.fsf@ericabrahamsen.net> <87vabfxuv1.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1527024330 4380 195.159.176.226 (22 May 2018 21:25:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 22 May 2018 21:25:30 +0000 (UTC) Cc: Help Gnu Emacs mailing list To: Eric Abrahamsen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 22 23:25:26 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fLEmc-00012Y-2f for geh-help-gnu-emacs@m.gmane.org; Tue, 22 May 2018 23:25:26 +0200 Original-Received: from localhost ([::1]:58007 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLEoj-0003kC-7K for geh-help-gnu-emacs@m.gmane.org; Tue, 22 May 2018 17:27:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLEnZ-0003LA-96 for help-gnu-emacs@gnu.org; Tue, 22 May 2018 17:26:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fLEnY-0007Pp-GE for help-gnu-emacs@gnu.org; Tue, 22 May 2018 17:26:25 -0400 Original-Received: from mail-oi0-x22d.google.com ([2607:f8b0:4003:c06::22d]:45723) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fLEnY-0007PW-AA for help-gnu-emacs@gnu.org; Tue, 22 May 2018 17:26:24 -0400 Original-Received: by mail-oi0-x22d.google.com with SMTP id b130-v6so17585783oif.12 for ; Tue, 22 May 2018 14:26:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=zIRMVrib3zQ5nfIMZ0lvqFiNPXaS+E367fJLEYjfGG8=; b=jGbwhV+v3p2bBg0ZYME9Ao+oSVh7QtnyWj/XfnyXDSBQBA80ZVKwPCoN0TgpM/nTJN Jfc9YTOWltDS5fBEOHUlZuTl7fnGoclWw5rOYy5VMow31XZnDBhbCHMPLw/k4Df4oogp egR4AVSx1iuMU3llXui0V3SfuONu1CWncMLWTyT9nIoTcQbP1MZpZnetgVdH4R7+E0Md xeSG4Yblw99ELyIHv9iDSKg8D4R6EglYJEP3NLFARAKFjQUwBpiE1ZRd6bv3om5nj5Se cxB87cMVpvKjwN6tew2M7A5qaVTn6WArxiYqqOFscWFfcuM1IWqy/8w1yGqY9UzglEyd rXZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=zIRMVrib3zQ5nfIMZ0lvqFiNPXaS+E367fJLEYjfGG8=; b=EBd2b8D406C3t4PEDXlSu+v7ul6vOzKILFZ2XCIG2soToTZ2cigcn9w1bFZe8ACsYd Y0mjNsz7jpbKOWJOWB66Xtja4dIA+NYFze9RwSIj8ggOB46OmQdBllsFzrDZ8ofpLlcI 6+a5kbJRfKvlncFLgktTqqiARAufTig8p9xtaXheriFnlPKSE6mSrI34c7/85vRgKxSk rhDbl0RitwpXyc6p3amSXbAbUOkZMd2WNS6wZXmbJMimS8UuMLlN8rHAp6A+WDWfDH6H m86dsFpl7MWUMi4un24t+k75ixEgl8RqlW+BkF+0fd5dWXjHNGVgVaslsfubciHt3BcO jKQA== X-Gm-Message-State: ALKqPwfRZVNofmYu1WDmOGft77joud8DMbs3U3uvZ4L/Ad7/VBJBvnNm +lWWML+0MF7qfseg8jCsb+aWmM7qOXVpBLtQMsk= X-Google-Smtp-Source: AB8JxZpAkIzbtTTk799ZjLdVawGhIikFMWHHppTPuwXwTTzuALo/yaq1Rimjv1rXsSdYxg4eW9+T1yjy7fHda1FQq0A= X-Received: by 2002:aca:d052:: with SMTP id h79-v6mr84136oig.330.1527024383555; Tue, 22 May 2018 14:26:23 -0700 (PDT) Original-Received: by 2002:a4a:587:0:0:0:0:0 with HTTP; Tue, 22 May 2018 14:26:22 -0700 (PDT) In-Reply-To: <87vabfxuv1.fsf@ericabrahamsen.net> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::22d X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116819 Archived-At: On 22 May 2018 at 17:07, Eric Abrahamsen 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); }