From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Adding streams for standard out and standard err Date: Thu, 21 Jul 2016 22:11:31 +0300 Message-ID: <83invyyffg.fsf@gnu.org> References: <87oa5sexis.fsf@russet.org.uk> <83eg6nysug.fsf@gnu.org> <87k2ge3jsl.fsf@russet.org.uk> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1469129364 19939 80.91.229.3 (21 Jul 2016 19:29:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Jul 2016 19:29:24 +0000 (UTC) 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 Jul 21 21:29:19 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 1bQJep-0006Na-2C for ged-emacs-devel@m.gmane.org; Thu, 21 Jul 2016 21:29:19 +0200 Original-Received: from localhost ([::1]:43213 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQJeo-00033E-9i for ged-emacs-devel@m.gmane.org; Thu, 21 Jul 2016 15:29:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55128) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQJNi-0007p7-AM for emacs-devel@gnu.org; Thu, 21 Jul 2016 15:11:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQJNe-0002Q3-4E for emacs-devel@gnu.org; Thu, 21 Jul 2016 15:11:37 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52888) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQJNe-0002Pv-0l; Thu, 21 Jul 2016 15:11:34 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1103 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bQJNb-0003DG-Ht; Thu, 21 Jul 2016 15:11:32 -0400 In-reply-to: <87k2ge3jsl.fsf@russet.org.uk> (phillip.lord@russet.org.uk) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:205988 Archived-At: > From: phillip.lord@russet.org.uk (Phillip Lord) > Cc: emacs-devel@gnu.org > Date: Thu, 21 Jul 2016 19:52:58 +0100 > > (append-to-file (print buffer-undo-list) nil "/dev/stderr") > > seems clunky compared to: > > (print buffer-undo-list 'stdout) Nothing a simple function won't heal, right? Maybe that's all we need: a small wrapper around append-to-file.