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, 25 Aug 2009 11:35:07 -0400 Message-ID: References: <87my5xlm0e.fsf@kanis.fr> <1c317b44-0094-4236-8f9c-55477f92b2fe@c14g2000yqm.googlegroups.com> 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 1251218204 24545 80.91.229.12 (25 Aug 2009 16:36:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Aug 2009 16:36:44 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "A.Politz" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 25 18:36:37 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 1Mfz0d-0002ui-FT for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Aug 2009 18:36:35 +0200 Original-Received: from localhost ([127.0.0.1]:55973 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mfz0c-0005HG-Tq for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Aug 2009 12:36:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mfy3H-0005TF-Lz for help-gnu-emacs@gnu.org; Tue, 25 Aug 2009 11:35:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mfy3C-0005QJ-Bl for help-gnu-emacs@gnu.org; Tue, 25 Aug 2009 11:35:14 -0400 Original-Received: from [199.232.76.173] (port=54225 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mfy3C-0005QC-21 for help-gnu-emacs@gnu.org; Tue, 25 Aug 2009 11:35:10 -0400 Original-Received: from mail-ew0-f211.google.com ([209.85.219.211]:51551) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mfy3B-0004tF-OX for help-gnu-emacs@gnu.org; Tue, 25 Aug 2009 11:35:09 -0400 Original-Received: by ewy7 with SMTP id 7so3401758ewy.31 for ; Tue, 25 Aug 2009 08:35: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=EtkujTwjjmXp2T+IfZI+9ZftJDQ1tJ2VeOvyUomH5KY=; b=dDmPVVz6q7RL5yyXOUj5Bn98J5BDmK32EJrqsjfZSz+URai2Ou1BKVagEo9xya76yL dib+JGBHWq1J4QP+0RWRWuWWfviz3/j7RxsEG7EfobTwUS98eDHViFer3HUSOrLXzk8T BqbEkLs6Tm02gTlA07hWmcwg9O4bF7H5L0k4M= 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=p5F7UWuVbBFqtHqK0CEilnRF3NyBigUQrjnU13TmHjOA2S5gfgzQ8WEG4C4QGsKkOv dLWa9V99bsMWL9HwOG7tHZkErHx3oT6B2C880gxas0VTTnvRJmc9AwSKevQWPFPmq9TU 1C5+2jjTRw8I0Mh//qSjx/uDWUXStTQ64C7w8= Original-Received: by 10.210.111.5 with SMTP id j5mr6566413ebc.32.1251214507426; Tue, 25 Aug 2009 08:35:07 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Tue, 25 Aug 2009 12:33:41 -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:67511 Archived-At: Back to this topic. This only works if I my frame has some code open. But if I am in an eshell frame, it goes back to the default compile command - 'make -k'. Is that how it is supposed to be? Thanks, Sumit. On Fri, Aug 21, 2009 at 11:23 AM, Sumit Narayan wrote: > Thanks Politz. I was also missing a dot. > > For those who might be looking at this in future, this is how I got it > working. Add > > ((nil . ((compile-command . "cd ; make")))) > > in /.dir-locals.el. > > Sumit. > > > > On Fri, Aug 21, 2009 at 10:32 AM, A.Politz wrote: >> On Aug 18, 9:59=C2=A0pm, Sumit Narayan wrote: >> >>> >>> This is what I did: >>> >>> Added >>> ((nil . ((setq compile-command "cd ; make")))) >>> in /.dir-locals.el. >>> >>> [does not work] >> >> According to the info doc, the syntax is similar to a let-list. >> So, delete the 'setq' and it should work. >> >> >> >> -ap >> >