From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harald Hanche-Olsen Newsgroups: gmane.emacs.devel Subject: Re: About PATH environment variable on OSX Date: Fri, 12 Apr 2013 17:01:53 +0200 (CEST) Message-ID: <20130412.170153.119810367274111335.hanche@math.ntnu.no> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1365779390 4325 80.91.229.3 (12 Apr 2013 15:09:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Apr 2013 15:09:50 +0000 (UTC) Cc: emacs-devel@gnu.org, darren.hoo@gmail.com To: jan.h.d@swipnet.se Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 12 17:09:54 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UQfbp-00024s-74 for ged-emacs-devel@m.gmane.org; Fri, 12 Apr 2013 17:09:49 +0200 Original-Received: from localhost ([::1]:48243 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQfbo-0007gR-OK for ged-emacs-devel@m.gmane.org; Fri, 12 Apr 2013 11:09:48 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46648) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQfbf-0007fJ-L6 for emacs-devel@gnu.org; Fri, 12 Apr 2013 11:09:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UQfbY-0007RL-8w for emacs-devel@gnu.org; Fri, 12 Apr 2013 11:09:39 -0400 Original-Received: from hylle01.itea.ntnu.no ([129.241.56.100]:56070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQfbY-0007Qw-1n for emacs-devel@gnu.org; Fri, 12 Apr 2013 11:09:32 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by hylle01.itea.ntnu.no (Postfix) with ESMTP id 212C131E058; Fri, 12 Apr 2013 17:01:47 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hylle01.itea.ntnu.no Original-Received: from localhost (unknown [IPv6:2001:700:300:1470:20e2:4588:f396:b41a]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: hanche) by hylle01.itea.ntnu.no (Postfix) with ESMTPSA id A37B431E018; Fri, 12 Apr 2013 17:01:46 +0200 (CEST) In-Reply-To: X-URL: http://www.math.ntnu.no/~hanche/ X-Mailer: Mew version 6.5 on Emacs 24.3.50 / Mule 6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 129.241.56.100 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:158860 Archived-At: [Jan Dj=E4rv (2013-04-12 05:05:19 UTC)] > The way to this on newer OSX is to create /etc/launchd.conf and put som= ething like: >=20 > setenv PATH /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin >=20 > in there. I have not tried this myself. >=20 > I will test it and fix the documentation. I think it's better to use /etc/launchd-user.conf instead. This will set = PATH for all users. If you use /etc/launchd.conf, you are potentially set= ting the PATH variable for a whole host of system processes, and this cou= ld cause unwanted side effects. - Harald