[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Default compile directory
From: |
Sumit Narayan |
Subject: |
Re: Default compile directory |
Date: |
Tue, 18 Aug 2009 16:08:06 -0400 |
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<Peter_Dyballa@web.de> wrote:
>
> Am 17.08.2009 um 23:12 schrieb Sumit Narayan:
>
>> One thing I figured was to change default compile command to be: cd
>> <project's root folder>; 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 23
> you can in *compilation* buffer just type g (like update in dired) and the
> compilation process starts again.
>
> --
> Greetings
>
> Pete
>
> If you're not confused, you're not paying attention.
>
>
>
>
Re: Default compile directory, Nikolaj Schumacher, 2009/08/18