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.devel Subject: Re: master 70964b9: Mention `exec-path' in some process related doc strings Date: Fri, 21 Aug 2020 19:35:18 +0200 Message-ID: <87y2m7hpgp.fsf@gmx.de> References: <20200821141528.30109.99327@vcs0.savannah.gnu.org> <20200821141530.94B9D20A10@vcs0.savannah.gnu.org> <878se8htwu.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15015"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , emacs-devel@gnu.org To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Aug 21 19:52:49 2020 Return-path: Envelope-to: ged-emacs-devel@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 1k9BDd-0003p9-BQ for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Aug 2020 19:52:49 +0200 Original-Received: from localhost ([::1]:38952 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k9BDc-0002oT-54 for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Aug 2020 13:52:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58788) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9Awp-0003xk-Fc for emacs-devel@gnu.org; Fri, 21 Aug 2020 13:35:28 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:54367) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9Awm-0001vT-Ns for emacs-devel@gnu.org; Fri, 21 Aug 2020 13:35:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1598031321; bh=CkvBkKPfGC++kvrEP4BSiRE5QZWz3R5saX7C3S3d9mw=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=fVa2bG20ayRRjrg2jvAmrcObCsxRhS8MB3lAY779t/iDVXYn176Nb1v4/fFubxhtZ alE+4dfWS7OetQvSoIcGPRKINmP3hN79rP7pIjBhhwZp+hoEsfQq1LlN7WUZTcoicN w5vLHs4sv+R1ijpzolrt6Bgl053vCrFDl7QwSDEQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([212.86.50.208]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M1Ycl-1kCD5948nj-0032vd; Fri, 21 Aug 2020 19:35:21 +0200 In-Reply-To: (Gregory Heytings's message of "Fri, 21 Aug 2020 17:22:27 +0000") X-Provags-ID: V03:K1:7jrMcUGFWV3SqnuIGHDDah87/Ap4rv26VhNSIRSPhkzRNmOdagg amva+Jiaa4PGAvDoHgXTL/cyMh6o5pK7db+16lM3ePnTYUXzWqsQrWkMjQEABeX6CmzNe9X NpKiwKUQW3U82nGSmZPy18Yr0IDnMMI/LYpaHnfNp+pG8POomTlpB8YaibwoGwjTBF8n5e6 aeGq49a3jWiPfXkQ7mL5g== X-UI-Out-Filterresults: notjunk:1;V03:K0:yLUTwLwZa30=:9YIq7O7p4fQQN1wgHXhkBt /IPvTaD3//sT3rMAZkU+RDyw+rmjVtEFuw97p//yN1diJw6n6JzFTOqrdKG5+tp5U5oEnKSUZ HK4P3/XYnp+pbz8ZKue+XhH1k12zE9RNnfKVcK36CLvuOiLXSq/aaPCJgHNd1/2+Os/y8HDjT wGEmfdCkgBpx6H7dSajp9ypPpEudbt+Me+AQVUniCQ8YOa78+Z75q4l0CaugM6Sc1LfGEBcja mpdFfsQqWHAG3Kk0DfCyI0uRpgXp5Gd1RO8OLxpOC5ygXA6ZbHWerRjfjD+Z1bbdD6cbTWfbL w1gasM36/ArZpSo10qQcHwzdla6dNJVek8lB5M0jFYaXWMu8Xe1AeqPP1TgSFiBiSOGRg52fJ dfO3E0IBv1RHF6ZwMrDmpQRRPu9CMgPvywLrDejo98+w2SZwC/YIVlg/vB69gBWFWJ0LkLaeu mJ4mkMB7/wXwCaY7P2cFYw66M0QIGRWu9qCmJ6m0vQMywhfdrNUvASHCa6gT5Vt9LG838Myp3 mLh5oo20NQ83BvHJ/PtXZObeTXSfQGmanWu1jKsa+uTqNW7r+W9NRhyQgCFjeStS59LrS48Cy 56HF2YFak1kncP0OvDo2ymIFEj/x9Me+TZDFY/cu64vRhjaQX53H7eOIiEMw2AFvEmbBH3dGp GsHdmPyHyCn+OGB6DmXhQ8kaInm0YYgR0i0UiDd2A2e/7h3RDncR1QfcIWnmefkav7LvppMRd N4rDrKA7CBAeI/vOAFAKA4Xyd95pkB89pJZwwVgs87Ef8+EvAGhKkRODRceFWTWCxTKcGDvQ Received-SPF: pass client-ip=212.227.17.22; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/21 13:35:22 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.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_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:254080 Archived-At: Gregory Heytings writes: Hi Gregory, >>> --- a/src/process.c >>> +++ b/src/process.c >>> :command COMMAND -- COMMAND is a list starting with the program file >>> -name, followed by strings to give to the program as arguments. >>> +name, followed by strings to give to the program as arguments. If the >>> +program file name is not an absolute file name, `make-process' will >>> +look for the program file name in `exec-path' (which is a list of >>> +directories). >> >> This is not true in the remote case (default-directory is remote, >> and :file-handler is non-nil). The program is not looked for; >> everything in the :command list is used literally. >> > > I'm not sure I understand what you wrote correctly, but if indeed "the > program is not looked for", it seems to me that the program file name > must be an absolute path, in which case the sentence added by Lars is > in fact still true in that case. Or is something else than PATH and > exec-path used in that case (for example the shell's PATH environment > variable on the remote host)? The usual PATH settings of Tramp will be applied. That is, on the remote host PATH is set to the value of tramp-remote-path, and a prgram (if not given by an absolute path) must be found there. Again, I don't believe this must be told in the docstring of make-process. Tramp discusses it in its manual. > Gregory Best regards, Michael.