From: Andrea Crotti <andrea.crotti.0@gmail.com>
To: Emacs help <help-gnu-emacs@gnu.org>
Subject: setting compile-command
Date: Wed, 27 Apr 2011 17:49:46 +0200 [thread overview]
Message-ID: <sa01v0nelt1.fsf@gmail.com> (raw)
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
next reply other threads:[~2011-04-27 15:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-27 15:49 Andrea Crotti [this message]
2011-04-28 19:22 ` setting compile-command Thomas Hisch
2011-04-30 14:40 ` Andrea Crotti
2011-05-09 2:20 ` Ken Goldman
2011-05-12 12:57 ` Oleksandr Gavenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sa01v0nelt1.fsf@gmail.com \
--to=andrea.crotti.0@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.