From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: Issue with remote async processes. Date: Mon, 28 Mar 2022 11:14:20 +0200 Message-ID: <87lewufngz.fsf@gmx.de> References: <20220324222414.6k5cj2ovxfnpozwr.ref@Ergus> <20220324222414.6k5cj2ovxfnpozwr@Ergus> <87y20yif6s.fsf@gmx.de> <20220326194813.r33vff2a3z7zcjnd@Ergus> <87fsn3hnaq.fsf@gmx.de> <20220327204619.xs7rz54ny4us3j5t@Ergus> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37772"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Ergus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 28 11:19:13 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nYlWr-0009fW-0S for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 28 Mar 2022 11:19:13 +0200 Original-Received: from localhost ([::1]:40396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nYlWp-0000py-VB for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 28 Mar 2022 05:19:11 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:32786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYlSE-0004EH-VY for help-gnu-emacs@gnu.org; Mon, 28 Mar 2022 05:14:27 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:37957) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYlSC-00076H-Pq for help-gnu-emacs@gnu.org; Mon, 28 Mar 2022 05:14:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1648458861; bh=lXTPXI4Zblp3fh5Qw/mgORlAzVU3wORhcmc5d5iMZxg=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=LbsEavH8numUD4Kk6a76VKeKBxmGiOemJPDDxE2QfP97AKfOe7MqJv/c80jQnC5Sz HfuRhi9C1BfkkJ1rsK+Gd9wsun1fbkQnxz9NWHrY/FvJOGV1xOu4r3JYRfhkfGjVpe Iu7QN/Y399E0UWN7TZXSqtTgOxTxqLNQqpcAAEEg= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([213.220.156.255]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MOA3P-1nNOdh3SSv-00OafP; Mon, 28 Mar 2022 11:14:20 +0200 In-Reply-To: <20220327204619.xs7rz54ny4us3j5t@Ergus> (Ergus's message of "Sun, 27 Mar 2022 22:46:19 +0200") X-Provags-ID: V03:K1:OJb1sp8mJbOveeyj909oZmv3JSOiJtiZOBisDfMqojjrGyH+Jzm EGfaQY4eOiFbI0TVHMZFzUdcmJNNFwCt1MLSYO1DYmJ6QZDBmeooInDNQcO9dGQUlMlDwAS 8vw3Z7B3dMYZy8QRiLPpyokF6Uj/eKflcH+DjW7a6YF1ZnnZV1o6yF39xh6l/bfG7xx9peT LfOAETn2//iOaYSJtTJ2w== X-UI-Out-Filterresults: notjunk:1;V03:K0:YNM4sRSH6zA=:Vb31oR24IjUiy4w3mr4ho/ mpT4K4obA4gIbcQDvH1jRZv1kS86//9kO5IGSr51Dxxi9c0qQJYWCiGOBuYdtaO+vjVyNDxye NUQx9kjZ/gfZ1rSa/ZS3BXl2wrqN4Kb9lhClwiZ+nf59jg4axt2IKDfEz/aHYia32vBApPRco aKbjiDaU8XMIJ82D6rm+yMMrpjNxgPPSMzJT8uczcMG1cnvaTnnsPBQ84PVdXo9h7nO/A33KS XloLaUe7tthqfVpx5l4exBuudvJVlLjw5XtPIIZdFE9aZrj+NAJis6M6lKqCuj3t05aE2Ptms F1rUiVRx7u8MWGBin4yTrZsA/toeVMbxkurXX1Wg6kj9fZThiyB0cYkBAjvZoKDzdANSYLNO5 H1lbjhXqST1fSMdq0jqRfNpCwnugn/rKOGe7z0MWtnnyjOOZQNBtD7hbsFEa9jtXf/n2dJ3kM mCpWvmUiJNX9TSBHztQq3/zNaKGXo9Rrg5xLzy8y+5h+4sBYFFix35P4k12LxQowsyO37WK5e MSY7ns+MTvQTjyrZGneMa02ZtC8gEyIuVNdLandOsHoRITT9+f+Jwy9i/BPJgV/64hYr1jWCg o9uvwHTlIWSXC4FQ6CiFMFgPtfwLnD7Uk4hIJxphyw1BnhOsnZX5Nn3+7kacL/303jPll4Ing sauCmbOYeOcgcByHfkih11W20R22myQuf9IBaVRsRhf6+cI7wfVTvCBhyR9ntk1JCpLIWGh8s BB7ryQ73W0sQlHhNR8FVk6RqTt3suXFETiELfhvbvVxZ622Q8Td8spYcKCrw9mgAR6tPsC06 Received-SPF: pass client-ip=212.227.15.18; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136798 Archived-At: Ergus writes: Hi, > What's reason process-file doesn't support to use a buffer for stderr? > > Performance? Technical? History. process-file and start-process are derived from call-process and start-file-process. call-process allows only (REAL-BUFFER STDERR-FILE), and so does process-file. start-process allows only BUFFER in its docstring (no separation between stdout and stderr). So start-file-process did originally. Later, when I've reimplemented it in Tramp using make-process, I wanted to support the separate stderr buffer of make-process, and I have extended it, therefore. However, this is not reflected in the docstring, and you might be better served to follow the official API, and use make-process instead. Best regards, Michael.