From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.devel Subject: Re: Adding streams for standard out and standard err Date: Sat, 23 Jul 2016 02:48:16 +1200 Message-ID: <57923230.9090608@orcon.net.nz> References: <87oa5sexis.fsf@russet.org.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1469198936 1484 80.91.229.3 (22 Jul 2016 14:48:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Jul 2016 14:48:56 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 22 16:48:43 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 1bQbkp-0002Sv-HY for ged-emacs-devel@m.gmane.org; Fri, 22 Jul 2016 16:48:43 +0200 Original-Received: from localhost ([::1]:47590 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQbko-0000p0-L3 for ged-emacs-devel@m.gmane.org; Fri, 22 Jul 2016 10:48:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQbkg-0000mf-8K for emacs-devel@gnu.org; Fri, 22 Jul 2016 10:48:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQbkb-0001DP-9D for emacs-devel@gnu.org; Fri, 22 Jul 2016 10:48:33 -0400 Original-Received: from [219.88.242.59] (port=53899 helo=mail.orcon.net.nz) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQbka-00019H-Nu for emacs-devel@gnu.org; Fri, 22 Jul 2016 10:48:29 -0400 Original-Received: from [192.168.20.100] ([150.107.172.8]) (authenticated bits=0) by mail.orcon.net.nz (8.14.3/8.14.3/Debian-9.4) with ESMTP id u6MEmG6N035605 for ; Sat, 23 Jul 2016 02:48:17 +1200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 In-Reply-To: <87oa5sexis.fsf@russet.org.uk> X-Bayes-Prob: 0.0001 (Score 0: No Bayes scoring rules defined, tokens from: outbound) X-CanIt-Geo: ip=150.107.172.8; country=NZ; region=Auckland; city=Auckland; latitude=-36.8667; longitude=174.7667; http://maps.google.com/maps?q=-36.8667,174.7667&z=6 X-CanItPRO-Stream: base:outbound X-Canit-Stats-ID: 02RlOMhDA - 9d2152de7ec7 - 20160723 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 219.88.242.59 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:206032 Archived-At: I'm all for a more obvious way to write to stderr (albeit more for batch uses in my case). In http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17390 it was pointed out to me that a PRINTCHARFUN function for stderr already exists -- `external-debugging-output' defined in print.c I failed to follow up on that, but at the time I was thinking that it would be nice to have a `standard-error' variable set to this function, just like there's a `standard-output' variable, as it would be dramatically more discoverable that way. As `external-debugging-output' hadn't already cropped up in this discussion, I just wanted to point it out in case it wasn't known to everyone. -Phil