From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Adding streams for standard out and standard err Date: Thu, 21 Jul 2016 09:12:06 +0200 Message-ID: References: <87oa5sexis.fsf@russet.org.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1469085185 11606 80.91.229.3 (21 Jul 2016 07:13:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Jul 2016 07:13:05 +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 09:12:47 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 1bQ8A2-0003Sc-HY for ged-emacs-devel@m.gmane.org; Thu, 21 Jul 2016 09:12:46 +0200 Original-Received: from localhost ([::1]:38708 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQ8A1-0002sG-RX for ged-emacs-devel@m.gmane.org; Thu, 21 Jul 2016 03:12:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQ89V-0002qm-NX for emacs-devel@gnu.org; Thu, 21 Jul 2016 03:12:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQ89Q-0001zm-LO for emacs-devel@gnu.org; Thu, 21 Jul 2016 03:12:12 -0400 Original-Received: from mx2.suse.de ([195.135.220.15]:50420) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQ89Q-0001z2-El for emacs-devel@gnu.org; Thu, 21 Jul 2016 03:12:08 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Original-Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 728F1AAAD; Thu, 21 Jul 2016 07:12:06 +0000 (UTC) X-Yow: I'm DESPONDENT... I hope there's something DEEP-FRIED under this miniature DOMED STADIUM... In-Reply-To: <87oa5sexis.fsf@russet.org.uk> (Phillip Lord's message of "Wed, 20 Jul 2016 23:48:43 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 195.135.220.15 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:205934 Archived-At: phillip.lord@russet.org.uk (Phillip Lord) writes: > +Two functions which are specifically designed for use as output > +streams: > + > +@table @asis > +@cindex @code{stdout} output stream > +@item @var{stdout} > +Prints to the system standard output (as opposed to the > +@var{standard-output}), regardless of whether Emacs is running > +interactively or not. > + > +@item @var{stderr} output stream > +Prints to the system standard error, regardless of whether Emacs is > +running interactively or not. > +@end table That's not a good name for these functions. Since they do the printing their name should include `print'. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."