From: Martin <m.gercke@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: compile in specific folder
Date: Wed, 20 Jun 2007 09:51:07 -0000 [thread overview]
Message-ID: <1182333067.235235.97510@q69g2000hsb.googlegroups.com> (raw)
Hi,
I am using emacs to work on a project that needs to be compiled (call
make) in a specific folder, independent of the current buffer.
At the moment I am using this:
(global-set-key [(f9)] 'my-compile)
(defun my-compile ()
"compile in our standard directory"
(interactive)
(cd mypath)
(call-interactively 'compile)
)
However, this has the drawback that after a compile my minibuffer
always starts in mypath instead of the current buffer's path.
Any ideas there?
And while we're on the topic of compiling.
How do I make compile to be non-interactive?
=> I want to be able to define a key for "make all" and one for just
"make.
Thanks in advance
Martin
next reply other threads:[~2007-06-20 9:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-20 9:51 Martin [this message]
2007-06-20 12:59 ` compile in specific folder Peter Dyballa
2007-06-20 14:32 ` Denis Bueno
2007-06-20 16:32 ` Tom Tromey
[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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1182333067.235235.97510@q69g2000hsb.googlegroups.com \
--to=m.gercke@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.