From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Roy Smith Newsgroups: gmane.emacs.help Subject: Re: How to make M-X compile import my environment? Date: Fri, 21 Mar 2003 18:56:11 -0500 Organization: PANIX Public Access Internet and UNIX, NYC Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1048291737 22997 80.91.224.249 (22 Mar 2003 00:08:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 22 Mar 2003 00:08:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 22 01:08:56 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18wWZE-0005yl-00 for ; Sat, 22 Mar 2003 01:08:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18wWWG-0002Li-03 for gnu-help-gnu-emacs@m.gmane.org; Fri, 21 Mar 2003 19:05:52 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!panix!roy Original-Newsgroups: gnu.emacs.help Original-Lines: 9 Original-NNTP-Posting-Host: p67-13.acedsl.com Original-X-Trace: reader2.panix.com 1048291223 6275 66.114.67.13 (22 Mar 2003 00:00:23 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Sat, 22 Mar 2003 00:00:23 +0000 (UTC) User-Agent: MT-NewsWatcher/3.3b1 (PPC Mac OS X) Original-Xref: shelby.stanford.edu gnu.emacs.help:111307 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:7806 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7806 In article , I wrote: > when I run M-X compile, the shell that's spawned to run make doesn't > inherit my environment. It doesn't seem to read my .cshrc file > either. 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.