From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolaj Schumacher Newsgroups: gmane.emacs.help Subject: Re: Per-directory init files? Date: Thu, 28 Aug 2008 18:09:05 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1219940374 21404 80.91.229.12 (28 Aug 2008 16:19:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Aug 2008 16:19:34 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Roy Smith Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 28 18:20:27 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KYkET-0001p1-Te for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Aug 2008 18:20:26 +0200 Original-Received: from localhost ([127.0.0.1]:37244 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYkDV-0002ll-8w for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Aug 2008 12:19:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KYk3Z-0008HK-Nt for help-gnu-emacs@gnu.org; Thu, 28 Aug 2008 12:09:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KYk3Y-0008Ep-PB for help-gnu-emacs@gnu.org; Thu, 28 Aug 2008 12:09:09 -0400 Original-Received: from [199.232.76.173] (port=50315 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYk3Y-0008EL-4t for help-gnu-emacs@gnu.org; Thu, 28 Aug 2008 12:09:08 -0400 Original-Received: from dd18200.kasserver.com ([85.13.138.168]:54647) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KYk3X-00042A-SB for help-gnu-emacs@gnu.org; Thu, 28 Aug 2008 12:09:08 -0400 Original-Received: from arwen.uni-trier.de (BAHb9d4.bah.pppool.de [77.135.185.212]) by dd18200.kasserver.com (Postfix) with ESMTP id 724E618079659; Thu, 28 Aug 2008 18:09:10 +0200 (CEST) In-Reply-To: (Roy Smith's message of "Wed\, 27 Aug 2008 09\:25\:32 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2.50 (darwin) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57053 Archived-At: Roy Smith 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