From: Tom Tromey <tromey@redhat.com>
To: help-gnu-emacs@gnu.org
Subject: Re: compile in specific folder
Date: Wed, 20 Jun 2007 10:32:50 -0600 [thread overview]
Message-ID: <m38xaea8nh.fsf@fleche.redhat.com> (raw)
In-Reply-To: 1182333067.235235.97510@q69g2000hsb.googlegroups.com
>>>>> "Martin" == Martin <m.gercke@gmail.com> writes:
Martin> I am using emacs to work on a project that needs to be compiled (call
Martin> make) in a specific folder, independent of the current buffer.
I usually use "make -C $DIR" for this.
However, as someone else posted, if you go your route, it is better to
let-bind default-directory.
Martin> How do I make compile to be non-interactive?
Martin> => I want to be able to define a key for "make all" and one for just
Martin> "make.
In Emacs Lisp, interactive commands are also ordinary lisp functions.
You can call compile like: (compile "make all")
Tom
next prev parent reply other threads:[~2007-06-20 16:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-20 9:51 compile in specific folder Martin
2007-06-20 12:59 ` Peter Dyballa
2007-06-20 14:32 ` Denis Bueno
2007-06-20 16:32 ` Tom Tromey [this message]
[not found] ` <mailman.2446.1182351242.32220.help-gnu-emacs@gnu.org>
2007-07-03 9:15 ` Martin
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m38xaea8nh.fsf@fleche.redhat.com \
--to=tromey@redhat.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).