[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multiple greps and compiles from inside Emacs
From: |
Nordlöw |
Subject: |
Re: Multiple greps and compiles from inside Emacs |
Date: |
Tue, 09 Oct 2007 04:11:07 -0700 |
User-agent: |
G2/1.0 |
On 9 Okt, 12:25, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> Am 09.10.2007 um 11:05 schrieb Nordlöw:
>
> > How can I make this happen?
>
> Rename the buffer?
>
> --
> Greetings
>
> Pete
>
> "They that can give up essential liberty to obtain a little temporary
> safety deserve neither liberty nor safety."
> -Benjamin Franklin, Historical Review of Pennsylvania.
Great! This does what I want for compilation:
(setq compilation-buffer-name-function
'(lambda (mode)
(concat "*" (downcase mode) "-" compilation-directory "*"))
)
Now I can build stuff (such as new versions of emacs-cvs) in the
background while working on my projects. One case less where I need to
temporarily leave Emacs to do stuff.
grep.el does not contain a similar logic this seems more complicated
to solve.
Nordlöw