all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thomas Hisch <t.hisch@gmail.com>
To: Andrea Crotti <andrea.crotti.0@gmail.com>
Cc: Emacs help <help-gnu-emacs@gnu.org>
Subject: Re: setting compile-command
Date: Thu, 28 Apr 2011 21:22:05 +0200	[thread overview]
Message-ID: <BANLkTi=sWkSv-==xKkik6ocuZG+i64TvUg@mail.gmail.com> (raw)
In-Reply-To: <sa01v0nelt1.fsf@gmail.com>

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	other threads:[~2011-04-28 19:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-27 15:49 setting compile-command Andrea Crotti
2011-04-28 19:22 ` Thomas Hisch [this message]
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='BANLkTi=sWkSv-==xKkik6ocuZG+i64TvUg@mail.gmail.com' \
    --to=t.hisch@gmail.com \
    --cc=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.