From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Johan_Bockg=C3=A5rd?= Newsgroups: gmane.emacs.devel Subject: Re: Writing to STDOUT from elisp Date: Thu, 10 Jul 2014 21:09:40 +0200 Message-ID: <87r41t1157.fsf@gnu.org> 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 X-Trace: ger.gmane.org 1405019454 22928 80.91.229.3 (10 Jul 2014 19:10:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jul 2014 19:10:54 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 10 21:10:47 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 1X5Jjy-0001kK-Rv for ged-emacs-devel@m.gmane.org; Thu, 10 Jul 2014 21:10:46 +0200 Original-Received: from localhost ([::1]:39672 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5Jjx-0004zP-VH for ged-emacs-devel@m.gmane.org; Thu, 10 Jul 2014 15:10:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41713) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5Jje-0004xT-U4 for emacs-devel@gnu.org; Thu, 10 Jul 2014 15:10:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X5JjV-0005Df-P3 for emacs-devel@gnu.org; Thu, 10 Jul 2014 15:10:26 -0400 Original-Received: from smtprelay-h22.telenor.se ([195.54.99.197]:56069) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5JjV-0005Da-J1 for emacs-devel@gnu.org; Thu, 10 Jul 2014 15:10:17 -0400 Original-Received: from ipb5.telenor.se (ipb5.telenor.se [195.54.127.168]) by smtprelay-h22.telenor.se (Postfix) with ESMTP id 51853EC0A6 for ; Thu, 10 Jul 2014 21:09:56 +0200 (CEST) X-SMTPAUTH-B2: [bocjoh] X-SENDER-IP: [85.229.5.153] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: An4HAObjvlNV5QWZ/2dsb2JhbABZgw6BH4IrggLEDwGBDRd1hAMBAQQBVigLCyElDwEEDQsBDDeILgMJDAHAGg2HGBeNGYIyFoQtBZkAkAGGFINFOw X-IPAS-Result: An4HAObjvlNV5QWZ/2dsb2JhbABZgw6BH4IrggLEDwGBDRd1hAMBAQQBVigLCyElDwEEDQsBDDeILgMJDAHAGg2HGBeNGYIyFoQtBZkAkAGGFINFOw X-IronPort-AV: E=Sophos;i="5.01,639,1400018400"; d="scan'208";a="720944409" Original-Received: from c-9905e555.04-211-6c6b701.cust.bredbandsbolaget.se (HELO muon.localdomain) ([85.229.5.153]) by ipb5.telenor.se with ESMTP; 10 Jul 2014 21:09:55 +0200 Original-Received: by muon.localdomain (Postfix, from userid 1000) id BCEE2484171; Thu, 10 Jul 2014 21:09:41 +0200 (CEST) Mail-Copies-To: never In-Reply-To: (Craig Muth's message of "Tue, 8 Jul 2014 18:50:23 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.54.99.197 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:172942 Archived-At: Craig Muth writes: > You can get princ to write to "standard-output", meaning the echo > area. I'm looking to write to the stdout of the whole process, so the > output shows up in the terminal you launched emacs in. So when you > exit emacs, you'll see the text in the shell. (write-region STRING nil "/dev/stdout")