all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Multiple greps and compiles from inside Emacs
@ 2007-10-09  9:05 Nordlöw
  2007-10-09 10:25 ` Peter Dyballa
       [not found] ` <mailman.1875.1191925547.18990.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Nordlöw @ 2007-10-09  9:05 UTC (permalink / raw)
  To: help-gnu-emacs

Sometimes I would like to spawn multiple grep's and/or compile's from
within Emacs all outputting to separate buffers say

*dirA-compile*
*dirB-compile*
*dirA-grep*
*dirB-grep*

I have searched a bit for the patterns "multi-grep" and "multi-
compile" but with no success.

How can I make this happen?

Thanks,
Nordlöw

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Multiple greps and compiles from inside Emacs
  2007-10-09  9:05 Multiple greps and compiles from inside Emacs Nordlöw
@ 2007-10-09 10:25 ` Peter Dyballa
       [not found] ` <mailman.1875.1191925547.18990.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Dyballa @ 2007-10-09 10:25 UTC (permalink / raw)
  To: Nordlöw; +Cc: help-gnu-emacs


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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Multiple greps and compiles from inside Emacs
       [not found] ` <mailman.1875.1191925547.18990.help-gnu-emacs@gnu.org>
@ 2007-10-09 11:11   ` Nordlöw
  2007-10-09 19:42     ` Johan Lindström
  0 siblings, 1 reply; 4+ messages in thread
From: Nordlöw @ 2007-10-09 11:11 UTC (permalink / raw)
  To: help-gnu-emacs

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Multiple greps and compiles from inside Emacs
  2007-10-09 11:11   ` Nordlöw
@ 2007-10-09 19:42     ` Johan Lindström
  0 siblings, 0 replies; 4+ messages in thread
From: Johan Lindström @ 2007-10-09 19:42 UTC (permalink / raw)
  To: help-gnu-emacs

At 12:11 2007-10-09, Nordlöw wrote:
>grep.el does not contain a similar logic this seems more complicated
>to solve.

Well, you can always rename-buffer after the *grep* buffer is created.


/J

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-10-09 19:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-09  9:05 Multiple greps and compiles from inside Emacs Nordlöw
2007-10-09 10:25 ` Peter Dyballa
     [not found] ` <mailman.1875.1191925547.18990.help-gnu-emacs@gnu.org>
2007-10-09 11:11   ` Nordlöw
2007-10-09 19:42     ` Johan Lindström

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.