From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: standard output/error/input streams Date: Wed, 18 Jan 2017 23:21:32 -0800 Message-ID: References: <87wpdxu8yt.fsf@russet.org.uk> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1484810492 5651 195.159.176.226 (19 Jan 2017 07:21:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 19 Jan 2017 07:21:32 +0000 (UTC) User-Agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.1.91 (darwin) Cc: emacs-devel@gnu.org To: phillip.lord@russet.org.uk (Phillip Lord) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 19 08:21:23 2017 Return-path: Envelope-to: ged-emacs-devel@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 1cU71u-0007xw-Pf for ged-emacs-devel@m.gmane.org; Thu, 19 Jan 2017 08:21:06 +0100 Original-Received: from localhost ([::1]:46306 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cU71z-0001xJ-DX for ged-emacs-devel@m.gmane.org; Thu, 19 Jan 2017 02:21:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cU71P-0001xD-KZ for emacs-devel@gnu.org; Thu, 19 Jan 2017 02:20:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cU71M-0003ZU-1r for emacs-devel@gnu.org; Thu, 19 Jan 2017 02:20:35 -0500 Original-Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]:36079) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cU71L-0003ZQ-Sn for emacs-devel@gnu.org; Thu, 19 Jan 2017 02:20:31 -0500 Original-Received: by mail-pf0-x242.google.com with SMTP id 19so2756373pfo.3 for ; Wed, 18 Jan 2017 23:20:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mail-followup-to:mime-version; bh=XqO+dZWYl6n+x3Os1hH5Ke9hEDmyIIdXGRHUHMc6dpQ=; b=r50euNT5NUddiWOhXbgehMRbp3uICnK87qjF3ngiMWygvp7UBTFUKHpGZ7xjKQKj5W uXhTscO8LoPB9KBTMjJtm5g8EwBDdpmPMX4d9ULC20CJbhSe5Jg7kigdilHF1NJVS1z7 Ri9a6+BoewJN79nymqfeyiTncaP1zKYcGNqHJxXi6+Pqz3n58gyD/lpmuYco1vl0TsSr fY1ZTCvw6HwHrqsZgcvE6Cz3lUcFd8/RzOgdlR1kNhXEz5VMik3uWo+N97K/PTcu0tVB 5hF/VU2BZGE6RR2qapHb1IJfjhVgYIoPngT+zY5QhG6dEaPAl2WUJnRd6vDoHMUmS+zL NZeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :references:user-agent:mail-followup-to:mime-version; bh=XqO+dZWYl6n+x3Os1hH5Ke9hEDmyIIdXGRHUHMc6dpQ=; b=NiLZq5eB9jLpYnW1cWf3x6JcLbu1iJS0En+4Egz+uaIGIeOIUa3Zik+xanuk+mpMEW 493bDqAAP8U/oSE6Ygn78tvGaFRKSYGGDqz09m73z6QkMJ4YDq3DXRpI3x88yVNK+PTC 1jDW6bQDkvZYU7I/Sdw/rvAHLdKqRnmLyHr2idOMTRQzWfG2+Czu+v9EMsPsy1RyPjjg Sgrq9S0u3FlVy30qoIO3TTB00eSC64u4/h71qh7TQm6jAqbtIkyWK0pGbU0PUNF7lcCh AznJGwJygoaEDw92F4fSV81qbxolxna0kVHNXYzjFjzawbr+0dBpOhJ/FzA8ovhxYeoi 2U1g== X-Gm-Message-State: AIkVDXLDPObF1ueSISqgBKwzXMCQoZWy6yfJKzcicLuc5lHrAgwaZLf+RokSoyHD+czTIA== X-Received: by 10.84.234.1 with SMTP id m1mr11140235plk.155.1484810430776; Wed, 18 Jan 2017 23:20:30 -0800 (PST) Original-Received: from Vulcan.local (76-234-69-149.lightspeed.frokca.sbcglobal.net. [76.234.69.149]) by smtp.gmail.com with ESMTPSA id s26sm5781577pge.33.2017.01.18.23.20.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Jan 2017 23:20:28 -0800 (PST) X-Google-Original-From: "John Wiegley" Original-Received: by Vulcan.local (Postfix, from userid 501) id 48E7FE30D37; Wed, 18 Jan 2017 23:21:34 -0800 (PST) In-Reply-To: <87wpdxu8yt.fsf@russet.org.uk> (Phillip Lord's message of "Sat, 14 Jan 2017 12:22:50 +0000") Mail-Followup-To: phillip.lord@russet.org.uk (Phillip Lord), emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::242 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:211398 Archived-At: >>>>> "PL" == Phillip Lord writes: PL> The main motivation for this is the same as last time; it gives a PL> communication channel with Emacs which does not involve buffers at any PL> point. Although, if you search for "Emacs" and "standard output", other PL> people would like the same thing for other reasons. Have you thought of allowing files to be "opened" for direct writing as well? That is, I'd rather see file handles become a new output stream type, with stdout and stderr instances of these, than hard-coded streams for only stdout and stderr. Although, getting cleanup right makes me less certain. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2