From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: pdflatex not found? Date: Tue, 27 Oct 2015 12:19:04 -0400 Message-ID: <87wpu85lon.fsf@alphaville.usersys.redhat.com> References: <6sw6c7bnbke8ah.fsf@pfdstudio.com> <562F826B.1080802@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr6xx-0002wf-4U for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 12:19:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zr6xt-0005K9-Sk for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 12:19:17 -0400 Received: from plane.gmane.org ([80.91.229.3]:33801) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr6xt-0005JK-LZ for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 12:19:13 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Zr6xr-0002Ud-6e for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 17:19:11 +0100 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Oct 2015 17:19:11 +0100 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Oct 2015 17:19:11 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Rainer M Krug writes: > Fatma Başak Aydemir writes: > >> I do not know the reasons but I had the same problem in the past on OS X. > > In from Yosemite onwards, programs started from the finder / spotlight / > gui (however you call this) do *not* inherit from the .bashrc > anymore. This caused many problems. I can understand not inheriting from .bashrc: shells should only use that for interactive initializations (aliases and such). $HOME/.profile however is another matter: it is read by a login shell (in a non-graphical or console environment) and so its settings are inherited by everybody started from that login shell: that's where env variables are supposed to be defined and exported. Desktop environments have to go to some lengths to read it and initialize things but as I mentioned in my previous message, they *do* do that (on Linux - although the mechanism varies by distro, hence the "mess" comment). If OS X does not use $HOME/.profile to initialize the environment of programs (even in the graphical enviroment), that seems to me to be a serious bug. -- Nick