[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to make M-X compile import my environment?
From: |
Kevin Rodgers |
Subject: |
Re: How to make M-X compile import my environment? |
Date: |
Mon, 24 Mar 2003 09:33:07 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Roy Smith wrote:
I got it figured out. The .cshrc file was checking to see if the shell
emacs spawned was an interactive shell, if if not, would exit before
setting the environment up properly. No clue what the guy who wrote the
.cshrc was thinking when he did this.
He was following the convention that since environment variables are inherited
by
subprocesses, it makes more sense to set them once (at login) rather than every
time a new shell is started. That also simplifies the common task of augmenting
the PATH (and LD_LIBRARY_PATH and MANPATH) without unnecessarily adding
duplicates.
--
<a href="mailto:<kevin.rodgers@ihs.com>">Kevin Rodgers</a>