From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dkcombs@panix.com (David Combs) Newsgroups: gmane.emacs.help Subject: Re: Multiple *compilation* buffers Date: Mon, 1 Dec 2008 03:03:31 +0000 (UTC) Organization: Public Access Networks Corp. Message-ID: References: <1225448605.25081.18.camel@jp-pc> <74E8D1FD-46A2-44E5-B9BA-73BCBB0EEE75@Web.DE> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1228102848 2053 80.91.229.12 (1 Dec 2008 03:40:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Dec 2008 03:40:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 01 04:41:52 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L6zfS-00089l-W4 for geh-help-gnu-emacs@m.gmane.org; Mon, 01 Dec 2008 04:41:51 +0100 Original-Received: from localhost ([127.0.0.1]:56545 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6zeI-0005Fs-Qh for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Nov 2008 22:40:38 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!nx01.iad.newshosting.com!newshosting.com!novia!news-out.readnews.com!transit4.readnews.com!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 51 Original-NNTP-Posting-Host: panix3.panix.com Original-X-Trace: reader1.panix.com 1228100611 7637 166.84.1.3 (1 Dec 2008 03:03:31 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Mon, 1 Dec 2008 03:03:31 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Original-Xref: news.stanford.edu gnu.emacs.help:164946 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60272 Archived-At: In article , Kevin Rodgers 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--*. 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