From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Larry Evans Newsgroups: gmane.emacs.help Subject: Re: emacs doesn't inherit PATH from environment Date: Tue, 13 Feb 2018 20:35:54 -0600 Message-ID: References: <87wozgs5sf.fsf@robertthorpeconsulting.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1518575743 13242 195.159.176.226 (14 Feb 2018 02:35:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 14 Feb 2018 02:35:43 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 14 03:35:39 2018 Return-path: Envelope-to: geh-help-gnu-emacs@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 1elmv4-0003As-Jm for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Feb 2018 03:35:38 +0100 Original-Received: from localhost ([::1]:52161 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elmx6-0002wr-8s for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Feb 2018 21:37:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51632) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elmw0-0002uX-6n for help-gnu-emacs@gnu.org; Tue, 13 Feb 2018 21:36:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elmvv-00020h-9J for help-gnu-emacs@gnu.org; Tue, 13 Feb 2018 21:36:36 -0500 Original-Received: from [195.159.176.226] (port=39421 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1elmvv-0001zt-2M for help-gnu-emacs@gnu.org; Tue, 13 Feb 2018 21:36:31 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1elmtY-00060g-VF for help-gnu-emacs@gnu.org; Wed, 14 Feb 2018 03:34:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@blaine.gmane.org In-Reply-To: <87wozgs5sf.fsf@robertthorpeconsulting.com> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116003 Archived-At: On 02/13/2018 07:45 PM, Robert Thorpe wrote: > > Like Emanuel I'm having some trouble understanding your example. > > Why are you talking about Makefiles here? Is the problem the setting of > the path variable within Emacs or the setting within Make? > Within Make > Is the problem that Make works differently when executed from inside > Emacs than when executed outside Emacs? I've not tried Make from outside emacs. > As Emanuel wrote earlier you can find the setting in Emacs by using: > > (getenv "PATH") > Since I want the PATH in the Makefile, that's not relevant. Sorry I should have been clearer. I assumed that the PATH in make would be the sane in emacs. > BR, > Robert Thorpe > > >