From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.help Subject: Re: Emacs and parent directory Makefile Date: Fri, 9 Jul 2010 23:13:36 -0600 Message-ID: <20100710051336.GB9957@dementia.proulx.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1278791524 7995 80.91.229.12 (10 Jul 2010 19:52:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 10 Jul 2010 19:52:04 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: =?iso-8859-1?Q?St=E9phane?= Maniaci Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 10 21:52:03 2010 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.69) (envelope-from ) id 1OXg5i-0002G9-GF for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Jul 2010 21:52:02 +0200 Original-Received: from localhost ([127.0.0.1]:55796 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXg5h-0003j3-NY for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Jul 2010 15:52:01 -0400 Original-Received: from [140.186.70.92] (port=40545 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXSNg-0008NI-3u for help-gnu-emacs@gnu.org; Sat, 10 Jul 2010 01:13:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OXSNe-0002z4-SS for help-gnu-emacs@gnu.org; Sat, 10 Jul 2010 01:13:40 -0400 Original-Received: from joseki.proulx.com ([216.17.153.58]:56876) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXSNe-0002yk-Nv for help-gnu-emacs@gnu.org; Sat, 10 Jul 2010 01:13:38 -0400 Original-Received: from dementia.proulx.com (dementia.proulx.com [192.168.230.115]) by joseki.proulx.com (Postfix) with ESMTP id 5346421363; Fri, 9 Jul 2010 23:13:36 -0600 (MDT) Original-Received: by dementia.proulx.com (Postfix, from userid 1000) id 477093CC338; Fri, 9 Jul 2010 23:13:36 -0600 (MDT) Mail-Followup-To: Bob Proulx , =?iso-8859-1?Q?St=E9phane?= Maniaci , help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sat, 10 Jul 2010 15:51:38 -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:74166 Archived-At: St=E9phane Maniaci wrote: > Now the problem is : when I'm editing my code and tries to compile it (= M-x > compile), I have to use 'make -k -C ../', which works fine, but Emacs > doesn't know anymore which files contains error. It might be easier to simply run the compile from the root of the source directory. Then the Makefile will be present and all of the generated filenames will be correct. If you don't have any particular file to edit then just edit the top level directory with dired and launch the compile from there. Bob