From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Writing to STDOUT from elisp Date: Tue, 08 Jul 2014 17:54:27 +0300 Message-ID: <83mwcjdhp8.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1404831299 19843 80.91.229.3 (8 Jul 2014 14:54:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Jul 2014 14:54:59 +0000 (UTC) Cc: craig.muth@gmail.com, emacs-devel@gnu.org To: Mathias Dahl Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 08 16:54:52 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X4WnD-0003hV-GA for ged-emacs-devel@m.gmane.org; Tue, 08 Jul 2014 16:54:51 +0200 Original-Received: from localhost ([::1]:56016 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4WnD-000087-64 for ged-emacs-devel@m.gmane.org; Tue, 08 Jul 2014 10:54:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4Wn1-0008UC-UJ for emacs-devel@gnu.org; Tue, 08 Jul 2014 10:54:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X4Wmv-0003cm-CE for emacs-devel@gnu.org; Tue, 08 Jul 2014 10:54:39 -0400 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:56740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4Wmv-0003cY-2m for emacs-devel@gnu.org; Tue, 08 Jul 2014 10:54:33 -0400 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0N8E00500EEG2L00@mtaout28.012.net.il> for emacs-devel@gnu.org; Tue, 08 Jul 2014 17:53:57 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N8E00304EPXJI30@mtaout28.012.net.il>; Tue, 08 Jul 2014 17:53:57 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.184 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:172898 Archived-At: > From: Mathias Dahl > Date: Tue, 8 Jul 2014 08:36:18 +0200 > Cc: emacs-devel@gnu.org > > Not sure this can be done without using batch mode. This is a small test I > just did on w32: > > c:\> emacs.exe --batch --eval "(message """Test""")" > Test 'message' writes to stderr, not to stdout, so this is not what the OP wanted. Stephen's suggestion is better: it does write to stdout.