From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: How to set the Makefile directory in emacs Date: Fri, 11 May 2007 23:46:49 +0200 Message-ID: <553DACC7-9376-46AE-9FEB-8BDF83160A9A@Web.DE> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1178920044 16036 80.91.229.12 (11 May 2007 21:47:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 May 2007 21:47:24 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Luca Trevisani" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 11 23:47:23 2007 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 1HmcxM-0003Jo-DQ for geh-help-gnu-emacs@m.gmane.org; Fri, 11 May 2007 23:47:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hmd4o-0001Pl-R0 for geh-help-gnu-emacs@m.gmane.org; Fri, 11 May 2007 17:55:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hmd4V-0001N7-1J for help-gnu-emacs@gnu.org; Fri, 11 May 2007 17:54:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hmd4T-0001MX-HX for help-gnu-emacs@gnu.org; Fri, 11 May 2007 17:54:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hmd4T-0001MS-9A for help-gnu-emacs@gnu.org; Fri, 11 May 2007 17:54:41 -0400 Original-Received: from fmmailgate03.web.de ([217.72.192.234]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hmcx0-0004vG-3m for help-gnu-emacs@gnu.org; Fri, 11 May 2007 17:46:58 -0400 Original-Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate03.web.de (Postfix) with ESMTP id 799787B2AB2E; Fri, 11 May 2007 23:46:57 +0200 (CEST) Original-Received: from [62.134.177.205] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.108 #197) id 1Hmcwz-0006J4-00; Fri, 11 May 2007 23:46:57 +0200 In-Reply-To: X-Priority: 3 X-Mailer: Apple Mail (2.752.2) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1/LDiRmTrqLSjeeTrcxSyscg3zr8Pm4gFAUOZlT YH3fLCi7kKs8bcqVOQyeADo89AlvPad5qqXxtcSitSi33XrHyz 7aZ1U7xhTLZnKJ5s1KQA== X-detected-kernel: Linux 2.4-2.6 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:43906 Archived-At: Am 11.05.2007 um 15:56 schrieb Luca Trevisani: > am editing a project with source files in many different =20 > subfolders. I wonder if I can set in emacs the default folder in =20 > wich the Makefile is, so that when I issue the command "make -k" =20 > emacs run it in the correct folder no matter where is the file I am =20= > editing. Launch GNU Emacs from this directory! Set HOME to that directory! Add a (dired "/that/elder/directory/with/Makefile/in/it") to your =20 ~/.emacs! -- Greetings Pete Bigamy is having one wife too many. Monogamy is the same. =97 Oscar =20= Wilde