From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Adding streams for standard out and standard err Date: Thu, 21 Jul 2016 16:40:10 +0200 Message-ID: <6a1042f5-d955-b15e-7544-636db9719af0@cs.ucla.edu> References: <87oa5sexis.fsf@russet.org.uk> <83eg6nysug.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1469112822 6833 80.91.229.3 (21 Jul 2016 14:53:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Jul 2016 14:53:42 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii , Phillip Lord Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 21 16:53:32 2016 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 1bQFLv-0006nV-9H for ged-emacs-devel@m.gmane.org; Thu, 21 Jul 2016 16:53:31 +0200 Original-Received: from localhost ([::1]:41303 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQFLu-0003Gk-D3 for ged-emacs-devel@m.gmane.org; Thu, 21 Jul 2016 10:53:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42101) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQF9J-0001hK-0C for emacs-devel@gnu.org; Thu, 21 Jul 2016 10:40:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQF9D-0006mQ-O0 for emacs-devel@gnu.org; Thu, 21 Jul 2016 10:40:28 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:44286) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQF97-0006l2-3v; Thu, 21 Jul 2016 10:40:17 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 3C26616119A; Thu, 21 Jul 2016 07:40:16 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id ElGMzW7qBqb0; Thu, 21 Jul 2016 07:40:15 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 8DC4D1611E6; Thu, 21 Jul 2016 07:40:15 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 74PHPGeA7ugq; Thu, 21 Jul 2016 07:40:15 -0700 (PDT) Original-Received: from [192.168.1.52] (AMontpellier-656-1-288-127.w90-0.abo.wanadoo.fr [90.0.116.127]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 7F3FF16119A; Thu, 21 Jul 2016 07:40:14 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 In-Reply-To: <83eg6nysug.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 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:205960 Archived-At: On 07/21/2016 04:21 PM, Eli Zaretskii wrote: > . We already have (append-to-file START END FILENAME), which can be > used to write a buffer or a string to a file. FILENAME can be > "/dev/stderr" on Posix platforms, for example, or it can be a real > file name. Wouldn't the proposed primitives often be more efficient than append-to-file, since they would use stdio buffering? Presumably people using the new primitives would know about their problems with tty and/or GUI frames, just as they know about the similar problems that append-to-file has with /dev/stderr.