From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.help Subject: How to set environment for the compile command in Win32? Date: Thu, 22 Apr 2004 20:47:57 +0200 Organization: Probably a good idea Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87r7uf3l42.fsf@doohan.bang.priv.no> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1082660614 1164 80.91.224.253 (22 Apr 2004 19:03:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Apr 2004 19:03:34 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 22 21:03:20 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BGjTj-0003US-00 for ; Thu, 22 Apr 2004 21:03:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BGjS6-0004F8-Ej for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Apr 2004 15:01:38 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.wirehub.nl!newshub3.home.nl!newshub2.home.nl!home.nl!amsnews01.chello.com!amsnews04.chello.com!amstwist00.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Mail-Copies-To: never User-Agent: Gnus/5.110002 (No Gnus v0.2) XEmacs/21.4 (Common Lisp, linux) Cancel-Lock: sha1:UecuDDmBiB/2HaYfhjYdA3JNbJU= Original-Lines: 21 Original-NNTP-Posting-Host: 80.111.85.245 Original-X-Complaints-To: abuse@chello.no Original-X-Trace: amstwist00 1082659678 80.111.85.245 (Thu, 22 Apr 2004 20:47:58 MET DST) Original-NNTP-Posting-Date: Thu, 22 Apr 2004 20:47:58 MET DST Original-Xref: shelby.stanford.edu gnu.emacs.help:122589 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17876 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17876 System: Intel Pentium M, Windows XP Professional, GNU Emacs 21.3 (binary as distributed by FSF) I'm trying to set enviroment variables (PATH, INCLUDE, LIB, etc.) for the M-x compile RET command. Is there a way to do this from inside emacs? I've set the enviroment for the M-x shell RET command, by putting "set" commands into the %HOME%\.emacs_cmdproxy.exe file. And that works. But this file isn't run before the compile command is run. Thanx! - Steinar