unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Let compilation start in one directory below current one
Date: Thu, 23 Oct 2008 20:42:13 -0600	[thread overview]
Message-ID: <gdrcm5$rl$1@ger.gmane.org> (raw)
In-Reply-To: <8b8d780e-1e7f-4b91-b325-a17a2e176bec@u46g2000hsc.googlegroups.com>

stephan.zimmer wrote:
>> There is no such variable defined or referenced in compile.el.
> 
> Sorry, I meant "compilation-directory". Hopefully, this hasn't created
> too much confusion.
> 
>> As far as I know, setting compile-command to "cd .." first is the right
>> way to do it.
> 
> That basically does the job, but then I cannot use the links in the
> compilation output to open the files by clicking on them. My hope was
> that this is enabled if 'compilation-directory is set correctly.
> Furthermore, the "cd.." construction is not really handy.
> 
> Maybe, let me generalize my question a bit: Is there any way to use an
> elisp function in a local variable specification?

Use the eval pseudo-variable.

-- 
Kevin Rodgers
Denver, Colorado, USA





  reply	other threads:[~2008-10-24  2:42 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
2008-10-23 14:23   ` stephan.zimmer
2008-10-24  2:42     ` Kevin Rodgers [this message]
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

  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='gdrcm5$rl$1@ger.gmane.org' \
    --to=kevin.d.rodgers@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.
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).