From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Basil L. Contovounesios" 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 02:25:36 +0000 Message-ID: <87ftwotbkv.fsf@tcd.ie> References: <87woq0sf4a.fsf@portable.galex-713.eu> <87pnvssegv.fsf@portable.galex-713.eu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1540866277 16564 195.159.176.226 (30 Oct 2018 02:24:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 30 Oct 2018 02:24:37 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel To: "Garreau\, Alexandre" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 30 03:24:33 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 1gHJho-0004BD-Ek for ged-emacs-devel@m.gmane.org; Tue, 30 Oct 2018 03:24:32 +0100 Original-Received: from localhost ([::1]:50321 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHJju-00025X-Vl for ged-emacs-devel@m.gmane.org; Mon, 29 Oct 2018 22:26:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHJiu-00024V-I5 for emacs-devel@gnu.org; Mon, 29 Oct 2018 22:25:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHJit-0006re-AI for emacs-devel@gnu.org; Mon, 29 Oct 2018 22:25:40 -0400 Original-Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]:46999) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHJit-0006r9-3r for emacs-devel@gnu.org; Mon, 29 Oct 2018 22:25:39 -0400 Original-Received: by mail-ed1-x530.google.com with SMTP id v18-v6so9100330edq.13 for ; Mon, 29 Oct 2018 19:25:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=44lK8vmZ8+rXuDuzK4M4cfnMk0shBtefyXMoAx9v+g0=; b=iO10jFyk8LF1wp/8w5uzfLnGBR3dUm1bSJ+6CKpeYGtxABzndu0N5S1niwV59tvnBI V6JKQ4ZZTfMbxs7VvWrPHZGkAa4YHEubLDeskYMg2kC0c1zl2z8g7s1ACm2SVcROLvaH ZMgJ2xNffA5kYl55C32lA3hXZaY0rsI3+vPRPCwPMUrJ2dxw0EiTpgMM5G/d2bY6/zIv fX7smGU1jBYLKlT1aVuJxYhhB5iFuVJChAv1cH0oCeql0YECF3zE6Tsx/KyC/5a19cjo 0eve4tGREAg2jdLg0pCdY+JPiONTrCZPlwgIWP+FXTnuf1JAtgPW4bS/bswN346tqrXC XQMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=44lK8vmZ8+rXuDuzK4M4cfnMk0shBtefyXMoAx9v+g0=; b=Ec6NqUkkdEgO/sOpxeqHytsUhS1hDkuFjXq8KCn3WxoQXfJeQOUgxFv16nI8sncSvB sLaspBknwa4ePD+Or3pOGxXv3pfNNGB3iqgMLdsd5l+oSQ2/JSUpChmEyjG37PpY0yTd yxWhbDYGOrsP8NR3Xqx2oyBLadNImoFB80+joMWBWbYwzjJtSh5GADw4ghSGWKHhEpFZ 35UeYAy7pg4NRoOUczmYvyqsaVjMgnOSTKjV4j1Tyi9f5epu48DHoCcx9hckSX0F3PsG y5+UZtDrDQAtXpC6f3cXUGhMVRC2Qq4owAxe3sTkGfqmvu1QcesqWhMHw0nz4F6Eyqmh 2yNQ== X-Gm-Message-State: AGRZ1gI23te3kMFfo8Cd5WS9MHyzIfMqmd7Daex0mZplMu8ZXsTxUEVX TDjr+R1HHZoG8gPuW1lgQY8kjA== X-Google-Smtp-Source: AJdET5dYXjqZYAvEKXMAZeJG5JDrmUXKm/SpX5TtgSwv4o++TJ2cb/lzAVquEiIuSH4bB1zfima+4g== X-Received: by 2002:a17:906:7629:: with SMTP id c9-v6mr2616824ejn.219.1540866337776; Mon, 29 Oct 2018 19:25:37 -0700 (PDT) Original-Received: from localhost (51-171-243-2-dynamic.agg2.clk.blp-srl.eircom.net. [51.171.243.2]) by smtp.gmail.com with ESMTPSA id t17-v6sm3249735edr.49.2018.10.29.19.25.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 29 Oct 2018 19:25:37 -0700 (PDT) In-Reply-To: <87pnvssegv.fsf@portable.galex-713.eu> (Garreau, Alexandre's message of "Mon, 29 Oct 2018 21:08:32 +0100") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::530 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:230795 Archived-At: "Garreau, Alexandre" writes: > In the `call-process' docstring related to the argument about output, > there=E2=80=99s nothing related to a string: > >> Insert output in DESTINATION before point; t means current buffer; nil f= or DESTINATION >> means discard it; 0 means discard and don=E2=80=99t wait; and =E2=80=98= (:file FILE)=E2=80=99, 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 ca= se, >> 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, but it is documented in the manual under '(elisp) Synchronous Processes'. --=20 Basil