unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Nikolaj Schumacher <me@nschum.de>
To: Roy Smith <roy@panix.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Per-directory init files?
Date: Thu, 28 Aug 2008 18:09:05 +0200	[thread overview]
Message-ID: <m2prntruji.fsf@nschum.de> (raw)
In-Reply-To: <roy-4B1F20.09253127082008@news.panix.com> (Roy Smith's message of "Wed\, 27 Aug 2008 09\:25\:32 -0400")

Roy Smith <roy@panix.com> wrote:

> Is there any way to have per-directory init files?
>
> I've got a directory where I need to run "./install" after each round of 
> edits to any file in that directory.  What I'd like to do is make 
> "./install" my default compile command, but only when I'm in that 
> directory.  How can I do that?

Emacs 23 will have support for directory-local variables.

For now you can use
http://www.emacswiki.org/cgi-bin/emacs/project-local-variables.el

See also:
http://www.emacswiki.org/cgi-bin/wiki/ProjectSettings

> Amazingly enough, OSX doesn't seem to ship with make

As Peter said, you'll need to install the Developer tools.


regards,
Nikolaj Schumacher




  parent reply	other threads:[~2008-08-28 16:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-27 13:25 Per-directory init files? Roy Smith
2008-08-28 15:14 ` Peter Dyballa
2008-08-28 16:09 ` Nikolaj Schumacher [this message]
2008-09-09 19:47 ` E.L.K.

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=m2prntruji.fsf@nschum.de \
    --to=me@nschum.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=roy@panix.com \
    /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).