From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: Writing to STDOUT from elisp Date: Wed, 09 Jul 2014 12:55:48 +0900 Message-ID: <87zjgjrxrv.fsf@uwakimon.sk.tsukuba.ac.jp> References: <83mwcjdhp8.fsf@gnu.org> <871ttvu6kx.fsf@uwakimon.sk.tsukuba.ac.jp> <87oawzfzi0.fsf@igel.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1404878187 25765 80.91.229.3 (9 Jul 2014 03:56:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Jul 2014 03:56:27 +0000 (UTC) Cc: Eli Zaretskii , craig.muth@gmail.com, emacs-devel@gnu.org, Mathias Dahl To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 09 05:56:19 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 1X4izT-0003Qc-LK for ged-emacs-devel@m.gmane.org; Wed, 09 Jul 2014 05:56:19 +0200 Original-Received: from localhost ([::1]:58902 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4izT-00025j-2K for ged-emacs-devel@m.gmane.org; Tue, 08 Jul 2014 23:56:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44293) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4izG-0001u6-SM for emacs-devel@gnu.org; Tue, 08 Jul 2014 23:56:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X4iz9-00033l-Eq for emacs-devel@gnu.org; Tue, 08 Jul 2014 23:56:06 -0400 Original-Received: from mgmt1.sk.tsukuba.ac.jp ([130.158.97.223]:42558) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4iz1-00032w-Cu; Tue, 08 Jul 2014 23:55:51 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mgmt1.sk.tsukuba.ac.jp (Postfix) with ESMTP id 80C173FA0B30; Wed, 9 Jul 2014 12:55:48 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 74E05128860; Wed, 9 Jul 2014 12:55:48 +0900 (JST) In-Reply-To: <87oawzfzi0.fsf@igel.home> X-Mailer: VM undefined under 21.5 (beta34) "kale" acf1c26e3019 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 130.158.97.223 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:172908 Archived-At: Andreas Schwab writes: > > See `standard-output'. > > Yes. Did you look it up? Hm. This is harder than I thought. In XEmacs at least, it's trivial in -batch mode[1], but interactively the initial stream console gets deleted, and that dead console gets in the way of output to stdout. Footnotes: [1] Somehow xemacs -batch -f dunnet on the console just feels more natural than playing in a GUI window. ;-)