all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Politz <politza@fh-trier.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Let compilation start in one directory below current one
Date: Thu, 23 Oct 2008 10:44:10 +0200	[thread overview]
Message-ID: <1224751801.582307@arno.fh-trier.de> (raw)
In-Reply-To: <mailman.1883.1224749504.25473.help-gnu-emacs@gnu.org>

Kevin Rodgers wrote:
> stephan.zimmer wrote:
>> I would like to start my compilation in one directory deeper than the
>> current. Unfortunately, a local variable specification as
>>
>> % -*- ... compile-directory: (concat default-directory ".."); ... -*-
>>
>> is not working. Does anyone has an idea (except adding "cd.." to the
>> compile command)?
> 
> There is no such variable defined or referenced in compile.el.
> 
> As far as I know, setting compile-command to "cd .." first is the right
> way to do it.
> 

defun my-compilation-process-setup-function
  ...
  if boundp compile-directory
    setq compile-command ( concat "cd " compile-directory "; " ....


?

-ap

Ps: Due to the economic crisis I am out of parentheses.


  parent reply	other threads:[~2008-10-23  8:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-22 11:51 Let compilation start in one directory below current one stephan.zimmer
2008-10-22 20:16 ` Rupert Swarbrick
2008-10-23  8:11 ` Kevin Rodgers
     [not found] ` <mailman.1883.1224749504.25473.help-gnu-emacs@gnu.org>
2008-10-23  8:44   ` Andreas Politz [this message]
2008-10-23 14:23   ` stephan.zimmer
2008-10-24  2:42     ` Kevin Rodgers
2008-10-23 15:58 ` Dan Espen

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=1224751801.582307@arno.fh-trier.de \
    --to=politza@fh-trier.de \
    --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.