all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* compile in specific folder
@ 2007-06-20  9:51 Martin
  2007-06-20 12:59 ` Peter Dyballa
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Martin @ 2007-06-20  9:51 UTC (permalink / raw)
  To: help-gnu-emacs

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-07-03  9:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
     [not found] ` <mailman.2446.1182351242.32220.help-gnu-emacs@gnu.org>
2007-07-03  9:15   ` Martin

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.