From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: pdflatex not found? Date: Tue, 27 Oct 2015 13:50:57 -0400 Message-ID: <87oafk5hfi.fsf@alphaville.usersys.redhat.com> References: <6sw6c7bnbke8ah.fsf@pfdstudio.com> <562F826B.1080802@gmail.com> <87wpu85lon.fsf@alphaville.usersys.redhat.com> <562FAE2D.3080409@pfdstudio.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr8Ox-00067o-A6 for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 13:51:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zr8Os-00061P-9P for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 13:51:15 -0400 Received: from plane.gmane.org ([80.91.229.3]:41411) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr8Os-000617-2a for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 13:51:10 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Zr8Oq-0008Mo-6V for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 18:51:08 +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 18:51:08 +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 18:51:08 +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 Peter Davis writes: > On 10/27/15 12:45 PM, Rainer M Krug wrote: > > Nick Dokos writes: > > 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. > > Aparently it is not. > > According to , .profile is > bash-specific. tcsh has a different set of login/session initialization files. > No, it does not say that .profile is bash-specific at all: it just says it's used by bash and not used by tcsh. What *is* specific to bash is $HOME/.bash_profile. $HOME/.profile is used by the original Bourne shell and its descendants, ksh and bash - Wikipedia says it's also used by zsh. AFAIK, it is mandated by POSIX. It is not used by csh and its descendants (they use .login instead). But when setting up the window environment on Linux, the various scripts are executed by whatever POSIX shell is available on the system (usually sh on Linux), because a POSIX shell is supposed to be part of a POSIX system, so guaranteed to be available (which is not true of csh/tcsh). Hence .profile is the common denominator. -- Nick