From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Roy Smith Newsgroups: gmane.emacs.help Subject: Per-directory init files? Date: Wed, 27 Aug 2008 09:25:32 -0400 Organization: PANIX Public Access Internet and UNIX, NYC Message-ID: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1219934367 31208 80.91.229.12 (28 Aug 2008 14:39:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Aug 2008 14:39:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 28 16:40:21 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 1KYidZ-0003Gr-4x for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Aug 2008 16:38:13 +0200 Original-Received: from localhost ([127.0.0.1]:43827 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYica-0005OU-Mg for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Aug 2008 10:37:12 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!panix!roy Original-Newsgroups: gnu.emacs.help Original-Lines: 10 Original-NNTP-Posting-Host: ool-182cbc7b.dyn.optonline.net Original-X-Trace: reader1.panix.com 1219843532 12599 24.44.188.123 (27 Aug 2008 13:25:32 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Wed, 27 Aug 2008 13:25:32 +0000 (UTC) User-Agent: MT-NewsWatcher/3.5.3b2 (Intel Mac OS X) Original-Xref: news.stanford.edu gnu.emacs.help:161678 X-Mailman-Approved-At: Thu, 28 Aug 2008 10:36:52 -0400 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:57046 Archived-At: 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? I'm running GNU Emacs 22.1.1 on OSX-10.5. Amazingly enough, OSX doesn't seem to ship with make, so I can't just put a Makefile in my directory with "./install" as the default action :-(