all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sumit Narayan <sumnaray@gmail.com>
To: "A.Politz" <politza@googlemail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Default compile directory
Date: Tue, 25 Aug 2009 11:35:07 -0400	[thread overview]
Message-ID: <a18f491d0908250835k1a6798b4ted1099db418f09ef@mail.gmail.com> (raw)
In-Reply-To: <a18f491d0908210823i1e0aa61dvc580da46097ca672@mail.gmail.com>

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<sumnaray@gmail.com> 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 <project root directory>; make"))))
>
> in <project root directory>/.dir-locals.el.
>
> Sumit.
>
>
>
> On Fri, Aug 21, 2009 at 10:32 AM, A.Politz<politza@googlemail.com> wrote:
>> On Aug 18, 9:59 pm, Sumit Narayan <sumna...@gmail.com> wrote:
>>
>>>
>>> This is what I did:
>>>
>>> Added
>>> ((nil . ((setq compile-command "cd <project root directory>; make"))))
>>> in <project root directory>/.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
>>
>




  reply	other threads:[~2009-08-25 15:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-17 21:12 Default compile directory Sumit Narayan
2009-08-18  5:38 ` Ivan Kanis
2009-08-18 19:59   ` Sumit Narayan
     [not found]   ` <mailman.5018.1250860038.2239.help-gnu-emacs@gnu.org>
2009-08-21 14:32     ` A.Politz
2009-08-21 15:23       ` Sumit Narayan
2009-08-25 15:35         ` Sumit Narayan [this message]
2009-08-18  8:15 ` Peter Dyballa
2009-08-18 20:08   ` Sumit Narayan
2009-08-18 21:51 ` Nikolaj Schumacher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a18f491d0908250835k1a6798b4ted1099db418f09ef@mail.gmail.com \
    --to=sumnaray@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=politza@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.