[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Possible problem with M-x compile
From: |
Daniel Pfeiffer |
Subject: |
Re: Possible problem with M-x compile |
Date: |
Tue, 23 Nov 2004 00:34:40 +0100 |
Saluton,
Juri Linkov <address@hidden> skribis:
> Alexis Layton <address@hidden> writes:
> >> cd $CLIENTLIB_BUILDDIR && fmake tests && make
> > the problem is a general failure when the first part of
> > the compile command is a cd.
> > I am wondering if the emacs logic is trying to perform the cd itself,
> > instead of letting the shell handle it?
Both. Emacs performs the cd for itself, in case there are relative pathnames
to parse.
> The problem is that `cd' in `compilation-start' doesn't handle envvars.
> Perhaps it should preprocess the command with `substitute-env-vars'.
Not quite as good as a full blown shell parser, but fair enough. I've checked
it in.
coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn
Daniel Pfeiffer
--
lerne / learn / apprends / lär dig / ucz się Esperanto:
http://lernu.net/