help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting compile-command


From: Thomas Hisch
Subject: Re: setting compile-command
Date: Thu, 28 Apr 2011 21:22:05 +0200

Thank you for the question! Coincidentally, I have the exact same
problem and I look forward to the answers!

Regards
Thomas

On Wed, Apr 27, 2011 at 5:49 PM, Andrea Crotti
<andrea.crotti.0@gmail.com> wrote:
> It would be nice to set the compile-command for every project with
> dir-local variables.
> The problem is that the compile-command should be run from the root
> directory of the project, but apparently it doesn't work like that
> automatically and the "make" is run from the current position.
>
> I ended up with something like "cd $PROJ_DIR && make" but I believe that
> there must be a better way to do that, am I right?
>
> --
> GNU Emacs 24.0.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0)
>  of 2011-04-22 on plaetekopp
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]