From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: master 70964b9: Mention `exec-path' in some process related doc strings Date: Fri, 21 Aug 2020 22:04:57 +0300 Message-ID: <837dtrbz1i.fsf@gnu.org> References: <20200821141528.30109.99327@vcs0.savannah.gnu.org> <20200821141530.94B9D20A10@vcs0.savannah.gnu.org> <878se8htwu.fsf@gmx.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19975"; mail-complaints-to="usenet@ciao.gmane.io" Cc: ghe@sdf.org, larsi@gnus.org, emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Aug 21 21:05:56 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 1k9CMM-00052a-Ed for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Aug 2020 21:05:54 +0200 Original-Received: from localhost ([::1]:50834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k9CML-0003m7-DZ for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Aug 2020 15:05:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9CLZ-000343-3V for emacs-devel@gnu.org; Fri, 21 Aug 2020 15:05:05 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49543) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k9CLX-00053z-2k; Fri, 21 Aug 2020 15:05:03 -0400 Original-Received: from [176.228.60.248] (port=3832 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k9CLV-0003bc-LO; Fri, 21 Aug 2020 15:05:02 -0400 In-Reply-To: <878se8htwu.fsf@gmx.de> (message from Michael Albinus on Fri, 21 Aug 2020 17:59:13 +0200) 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:254081 Archived-At: > From: Michael Albinus > Date: Fri, 21 Aug 2020 17:59:13 +0200 > Cc: Gregory Heytings , Lars Ingebrigtsen > > > --- 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 don't know whether it is worth to explain this subtle difference, > though. Perhaps we could explain that in the ELisp manual.