From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Jan_Dj=C3=A4rv?= Newsgroups: gmane.emacs.devel Subject: Re: Emacs on Mac does not inherit PATH Date: Tue, 24 Jun 2014 10:56:14 +0200 Message-ID: <062D84E2-7B5A-4036-BB4D-432EFFB0F023@swipnet.se> References: <20140624.173411.1911364463734389159.kazu@iij.ad.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1403600206 24238 80.91.229.3 (24 Jun 2014 08:56:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Jun 2014 08:56:46 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?utf-8?Q?=22Kazu_Yamamoto_=28=E5=B1=B1=E6=9C=AC=E5=92=8C?= =?utf-8?Q?=E5=BD=A6=29=22?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 24 10:56:37 2014 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 1WzMWq-0004vq-MD for ged-emacs-devel@m.gmane.org; Tue, 24 Jun 2014 10:56:36 +0200 Original-Received: from localhost ([::1]:58195 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzMWq-0004Jm-7t for ged-emacs-devel@m.gmane.org; Tue, 24 Jun 2014 04:56:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56863) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzMWh-0004Jd-St for emacs-devel@gnu.org; Tue, 24 Jun 2014 04:56:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzMWb-0003R0-Lo for emacs-devel@gnu.org; Tue, 24 Jun 2014 04:56:27 -0400 Original-Received: from mailfe05.swip.net ([212.247.154.129]:39756 helo=swip.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzMWb-0003Ph-Fr for emacs-devel@gnu.org; Tue, 24 Jun 2014 04:56:21 -0400 X-T2-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe05.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 507181412; Tue, 24 Jun 2014 10:56:15 +0200 In-Reply-To: <20140624.173411.1911364463734389159.kazu@iij.ad.jp> X-Mailer: Apple Mail (2.1878.2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.247.154.129 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:172678 Archived-At: Hello. 24 jun 2014 kl. 10:34 skrev Kazu Yamamoto (=E5=B1=B1=E6=9C=AC=E5=92=8C=E5=BD= =A6) : > Hi, >=20 > I'm using Emacs HEAD on Mac (Mavericks). > If it is executed from Dock, it does not inherit PATH: >=20 > (getenv "PATH") > "/usr/bin:/bin:/usr/sbin:/sbin" >=20 > If it is executed by "open /Applications/Emacs.app", it inherits PATH. This is the way all OSX applications work, Emacs is not different. Checkout: % man launchctl Search for setenv. Also look at % man launchd.conf >=20 > Emacs 24.3 inherits PATH even if it is executed from Dock. No it does not: (getenv "PATH") "/usr/bin:/bin:/usr/sbin:/sbin" emacs-version "24.3.1" >=20 > Is this an intentional behavior change? Nothing has changed in this area. Jan D.