From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Craig Muth Newsgroups: gmane.emacs.devel Subject: Re: Writing to STDOUT from elisp Date: Thu, 10 Jul 2014 11:01:24 -0700 Message-ID: References: <83mwcjdhp8.fsf@gnu.org> <871ttvu6kx.fsf@uwakimon.sk.tsukuba.ac.jp> <87oawzfzi0.fsf@igel.home> <83zjgiaq3i.fsf@gnu.org> <83vbr5b6hy.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1405015325 3972 80.91.229.3 (10 Jul 2014 18:02:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jul 2014 18:02:05 +0000 (UTC) Cc: Andreas Schwab , Eli Zaretskii , Emacs-Devel devel , Stephen Turnbull , Mathias Dahl To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 10 20:01:57 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 1X5If9-0001GM-BM for ged-emacs-devel@m.gmane.org; Thu, 10 Jul 2014 20:01:43 +0200 Original-Received: from localhost ([::1]:39415 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5If8-0004ac-U7 for ged-emacs-devel@m.gmane.org; Thu, 10 Jul 2014 14:01:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53105) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5Iez-0004Zo-Q7 for emacs-devel@gnu.org; Thu, 10 Jul 2014 14:01:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X5Iet-0000Hz-R4 for emacs-devel@gnu.org; Thu, 10 Jul 2014 14:01:33 -0400 Original-Received: from mail-vc0-x231.google.com ([2607:f8b0:400c:c03::231]:63873) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5Iet-0000Hl-NB for emacs-devel@gnu.org; Thu, 10 Jul 2014 14:01:27 -0400 Original-Received: by mail-vc0-f177.google.com with SMTP id ij19so11146396vcb.36 for ; Thu, 10 Jul 2014 11:01:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=AWpeAYEppduup0D+TAX/QtOGMDB5+UyUCEY04pYzV5Q=; b=b2zeiDitEgcGHidC5LqTaRCSHbnIvhXOI7klaXub/tvU36a5cRp77JR2QoGarUZSaw oLGqSSM/4z6I7ypXn815/cvSraHg36QGYsDDbSzsEk/zmT9OZuf+izHBsfxLXf0wZI71 PL+VEP79ckrJkxMbcMH7M9JwbLY8eu4Ltyrl4RTJcAuj9S1oIxGV9iIFruz6k5bROVeM 8flwiBmFGUOjIyoUaV3aISkhLaWSEXulPcksMgUoiON8/5sfkhJzs71MFlrLOfr9oQy/ cadbotF1K4n9aMS4SmUExMjNy+3NUnj/4SvRqA1kj/5dSsBbROOpxmHMmFlnV8ce4bDn L4eQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=AWpeAYEppduup0D+TAX/QtOGMDB5+UyUCEY04pYzV5Q=; b=dhV5x/UrlTcEnOXkfQwPEzB6ubJBoOfUydATEU2QtcVGziCtdXRhly1zlh4A68hdPw PPmZETu/SEhY2Sq2GTEK701E0bqkTW4yFA8AqOu0NW/n/xKHeCJeSoWjPKqtS/zT9WNo 1M3E/1Hy12sSLIpFi3hrKdcgAVvVXAkib5Eb3ffJDDufzzLG6eGmvmfxwDv6plyTv0Ux 2y9cj0idVJPSFWchaT0d6SWEr9n5ewxvj8T5T2YvqnWe4xAYZ35njYm02wdWrtZM2qc/ MsiIeUkOoWO2CnhwM1X0Hr2lVlX+2aTwUW1+tICRo88XPAhGYaL7AYyDGv5FPFfqLXWU h91A== X-Received: by 10.52.163.229 with SMTP id yl5mr1301233vdb.79.1405015287221; Thu, 10 Jul 2014 11:01:27 -0700 (PDT) Original-Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPSA id hk5sm50378126veb.4.2014.07.10.11.01.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 10 Jul 2014 11:01:25 -0700 (PDT) Original-Received: by mail-vc0-f169.google.com with SMTP id la4so11531355vcb.28 for ; Thu, 10 Jul 2014 11:01:25 -0700 (PDT) X-Gm-Message-State: ALoCoQkHGkG3zzJ6xQLIHw5YmlLVCFevSBpRTnQ/P1fXKlpJd7QUuIjxaho+IANyg0r82gpGqI3p X-Received: by 10.58.8.12 with SMTP id n12mr47333292vea.28.1405015285130; Thu, 10 Jul 2014 11:01:25 -0700 (PDT) Original-Received: by 10.58.39.234 with HTTP; Thu, 10 Jul 2014 11:01:24 -0700 (PDT) X-Originating-IP: [24.130.175.207] In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c03::231 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:172937 Archived-At: If you were able to dig up that code, that would be cool. On a related note, I'd be curious to hear anyone's feedback about Xsh (the video at the top is the best thing too check out): http://xsh.org --Craig On Thu, Jul 10, 2014 at 8:20 AM, Lennart Borgman wrote: > On Thu, Jul 10, 2014 at 5:03 PM, Eli Zaretskii wrote: >> >> >> Of course, submitting (trivial) patches for adding a command to write >> to stdout would probably be welcome as well. But please note that >> sometimes Emacs is invoked with stdout redirected to some obscure >> file, or even with stdout being closed/invalid. >> > I used that very much for debugging before. Wonder if I still have that code > somewhere?