From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sumit Narayan Newsgroups: gmane.emacs.help Subject: Re: Default compile directory Date: Tue, 18 Aug 2009 16:08:06 -0400 Message-ID: References: <5D5B410B-4230-4F5A-94B8-94845D2FBD67@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1250860472 22733 80.91.229.12 (21 Aug 2009 13:14:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Aug 2009 13:14:32 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 21 15:14:25 2009 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 1MeTwl-0000ck-Pg for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Aug 2009 15:14:24 +0200 Original-Received: from localhost ([127.0.0.1]:57297 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeTwl-0005re-5t for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Aug 2009 09:14:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MdUyX-0007Du-UG for help-gnu-emacs@gnu.org; Tue, 18 Aug 2009 16:08:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MdUyW-0007C4-9C for help-gnu-emacs@gnu.org; Tue, 18 Aug 2009 16:08:08 -0400 Original-Received: from [199.232.76.173] (port=36271 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MdUyW-0007Bp-4x for help-gnu-emacs@gnu.org; Tue, 18 Aug 2009 16:08:08 -0400 Original-Received: from ey-out-1920.google.com ([74.125.78.148]:42375) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MdUyV-0003K1-Nz for help-gnu-emacs@gnu.org; Tue, 18 Aug 2009 16:08:07 -0400 Original-Received: by ey-out-1920.google.com with SMTP id 5so1017858eyb.24 for ; Tue, 18 Aug 2009 13:08:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=QQmJqnho7rTs/AK/IPm6fsXY1zYnKcD2cZ/PZ3C/SMY=; b=nnpd2xKfhEUBY9J7MHRBuyG+u8695ck/jTXaB4QhBReWtfvPEdAX6GagJkLpzpngHm /eNsrVBHgcHlu45nSLVKSIm6WSO89ziYj+ErAQjCC2dfNtf2qFXl3qx4u15fRx4u+dbT m/IGuN3hug9hCtszx3aNxPzorVmypJnF5v/OA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ggoLibnA2EzxGde59BC5ervVPL4L36z+RIrmlFkTLBrSEjaB+4PqTUXgSNHL2VIMrj bDMvzS6LxV3iHeREUWN1onOpMVulJSox6Y3bd0xJdW2/PYf06hLW8tN/MmZbF1dhydQ+ Z225H9zBv76e8ZQMfWFvaYMabPoknrKevEXqs= Original-Received: by 10.210.35.5 with SMTP id i5mr5021618ebi.94.1250626086930; Tue, 18 Aug 2009 13:08:06 -0700 (PDT) In-Reply-To: <5D5B410B-4230-4F5A-94B8-94845D2FBD67@Web.DE> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Fri, 21 Aug 2009 09:07:17 -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:67334 Archived-At: Thanks Peter. This is a nice feature. I wasn't aware of it and I think it is quite useful. However, I have my compilation window close on its own if there were no errors. To recompile, I will have to change to that buffer, which I do not wish to. Emacs anyway saves the previous compile command. I only need to give the compile command once in the project folder. But if I move to another project, I will have to give the compile command again. .dir-locals.el seems like something I could use. Sumit. On Tue, Aug 18, 2009 at 4:15 AM, Peter Dyballa wrote: > > Am 17.08.2009 um 23:12 schrieb Sumit Narayan: > >> One thing I figured was to change default compile command to be: cd >> ; make. Is that the only/best way? > > No. You can also keep open a(n optionally minimised) second frame either > with a buffer keeping open a file from your project's root directory, or = a > dired buffer from it, or the *compilation* buffer. When using GNU Emacs 2= 3 > you can in *compilation* buffer just type g (like update in dired) and th= e > compilation process starts again. > > -- > Greetings > > =C2=A0Pete > > If you're not confused, you're not paying attention. > > > >