From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: `call-process', to a string [Was: Re: Automatically set eww-download-directory according xdg dir] Date: Tue, 30 Oct 2018 09:19:27 +0200 Message-ID: <83efc7lx4w.fsf@gnu.org> References: <87woq0sf4a.fsf@portable.galex-713.eu> <87pnvssegv.fsf@portable.galex-713.eu> <87ftwotbkv.fsf@tcd.ie> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1540883846 18148 195.159.176.226 (30 Oct 2018 07:17:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 30 Oct 2018 07:17:26 +0000 (UTC) Cc: galex-713@galex-713.eu, emacs-devel@gnu.org To: "Basil L. Contovounesios" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 30 08:17:21 2018 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 1gHOHB-0004ct-FM for ged-emacs-devel@m.gmane.org; Tue, 30 Oct 2018 08:17:21 +0100 Original-Received: from localhost ([::1]:51307 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHOJH-0008Di-N0 for ged-emacs-devel@m.gmane.org; Tue, 30 Oct 2018 03:19:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHOJC-0008Da-3F for emacs-devel@gnu.org; Tue, 30 Oct 2018 03:19:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHOJ5-00022W-Jj for emacs-devel@gnu.org; Tue, 30 Oct 2018 03:19:25 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59166) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHOJ5-00022E-FL; Tue, 30 Oct 2018 03:19:19 -0400 Original-Received: from [176.228.60.248] (port=2944 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gHOJ2-0002tj-6R; Tue, 30 Oct 2018 03:19:19 -0400 In-reply-to: <87ftwotbkv.fsf@tcd.ie> (contovob@tcd.ie) 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:230806 Archived-At: > From: "Basil L. Contovounesios" > Date: Tue, 30 Oct 2018 02:25:36 +0000 > Cc: emacs-devel > > >> Insert output in DESTINATION before point; t means current buffer; nil for DESTINATION > >> means discard it; 0 means discard and don’t wait; and ‘(:file FILE)’, where > >> FILE is a file name string, means that it should be written to that file > >> (if the file already exists it is overwritten). > >> DESTINATION can also have the form (REAL-BUFFER STDERR-FILE); in that case, > >> REAL-BUFFER says what to do with standard output, as above, > >> while STDERR-FILE says what to do with standard error in the child. > >> STDERR-FILE may be nil (discard standard error output), > >> t (mix it with ordinary output), or a file name string. > > > > I also notice it is not documented that DESTINATION may be a buffer, in > > which case the output is inserted in the said buffer (I checked). > > Indeed this does not seem to be documented in the docstring of > call-process ??? You have just quoted the part where it does document that: Insert output in DESTINATION before point; t means current buffer; Will the following minor change make that abundantly clear? Insert output in buffer DESTINATION before point; t means current buffer; (What else can "insert in ... before point" mean, in Emacs?)