help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple *compilation* buffers


From: David Combs
Subject: Re: Multiple *compilation* buffers
Date: Mon, 1 Dec 2008 03:03:31 +0000 (UTC)

In article <mailman.2629.1225547112.25473.help-gnu-emacs@gnu.org>,
Kevin Rodgers  <kevin.d.rodgers@gmail.com> wrote:
>Peter Dyballa wrote:
>> 
>> Am 31.10.2008 um 11:23 schrieb John Paul Foster:
>> 
>>> I dont want to ^ever^ leave emacs so is there a way to run multiple grep
>>> and/or compilation processes at once?
>> 
>> 
>> Does it work to invoke each function with the universal argument C-u ?
>
>Probably not, `C-h f grep' says:
>
>       A prefix argument says to default the argument based upon the current
>       tag the cursor is over, substituting it into the last grep command
>       in the grep command history (or into `grep-command'
>       if that history list is empty).
>
>-- 
>Kevin Rodgers
>Denver, Colorado, USA

What I do is simply M-x rename-buffer to *grep--<its purpose>*.

You can end up with several of them.



David


One trick I especially like is to, BY HAND, do eg
  egrep -in 'regexp'  ... >!  t.loc

then M-x grep, but then changing the default "grep ..." command
it gives you to "cat t.loc".


You don't have to use grep -- just so long as that t.loc
file LOOKS LIKE it came from a grep -n (with filename at left,
or course, so emacs can know what file(s) you're talking about.)


I really "they" should put this "trick" into the emacs manual --
so simple, and buys so much!


David




reply via email to

[Prev in Thread] Current Thread [Next in Thread]