From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: chris@grierwhite.com (Christopher J. White) Newsgroups: gmane.emacs.help Subject: Re: M-x compile Date: Sat, 08 Feb 2003 14:00:49 -0500 Organization: Posted via Supernews, http://www.supernews.com Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <7458-Fri07Feb2003191348+0200-eliz@is.elta.co.il> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1044731070 27701 80.91.224.249 (8 Feb 2003 19:04:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 8 Feb 2003 19:04:30 +0000 (UTC) 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 18haH7-0007Cf-00 for ; Sat, 08 Feb 2003 20:04:29 +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 18haI6-0001lU-04 for gnu-help-gnu-emacs@m.gmane.org; Sat, 08 Feb 2003 14:05:30 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!nntp.cs.ubc.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.2 (powerpc-apple-darwin) Cancel-Lock: sha1:dHD9u5ATDcvST4SxV+jTWxQGDiA= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 17 Original-Xref: shelby.stanford.edu gnu.emacs.help:109957 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:6462 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6462 >>>>> "tiarnan" == Tiarnan O Corrain writes: tiarnan> Apropos M-x compile -- is there any way to set environment tiarnan> variables that may be needed by Makefiles when M-x compile tiarnan> runs make: e.g. DEVROOT or cognates? The current env in emacs is passed on to the compile process. So, just M-x setenv DEVROOT or put it in your .emacs. If you need a different environment for different buffers, it's a bit more ugly. ...cj -- ------------------------------------------------------------------------------ Christopher J. White chris@grierwhite.com ------------------------------------------------------------------------------