From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Nested grep Date: Tue, 14 Nov 2006 13:54:57 -0800 Message-ID: References: <1163525564.070911.105020@m7g2000cwm.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1163541354 13080 80.91.229.2 (14 Nov 2006 21:55:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Nov 2006 21:55:54 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 14 22:55:51 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gk6Fe-0008Cn-Im for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Nov 2006 22:55:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gk6Fd-0006U2-6T for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Nov 2006 16:55:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gk6FT-0006TX-Qh for help-gnu-emacs@gnu.org; Tue, 14 Nov 2006 16:55:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gk6FT-0006TL-5s for help-gnu-emacs@gnu.org; Tue, 14 Nov 2006 16:55:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gk6FT-0006TE-0Z for help-gnu-emacs@gnu.org; Tue, 14 Nov 2006 16:55:19 -0500 Original-Received: from [148.87.113.118] (helo=rgminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gk6FT-0003nd-Ey for help-gnu-emacs@gnu.org; Tue, 14 Nov 2006 16:55:19 -0500 Original-Received: from rgmgw3.us.oracle.com (rgmgw3.us.oracle.com [138.1.186.112]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id kAELtEGv009915; Tue, 14 Nov 2006 14:55:14 -0700 Original-Received: from rcsmt251.oracle.com (rcsmt251.oracle.com [148.87.90.196]) by rgmgw3.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id kAEKe2uN010857; Tue, 14 Nov 2006 14:55:13 -0700 Original-Received: from dhcp-amer-whq-csvpn-gw3-141-144-80-180.vpn.oracle.com by rcsmt251.oracle.com with ESMTP id 2202772991163541298; Tue, 14 Nov 2006 14:54:58 -0700 Original-To: , X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <1163525564.070911.105020@m7g2000cwm.googlegroups.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Importance: Normal X-Whitelist: TRUE X-Whitelist: TRUE X-Brightmail-Tracker: AAAAAQAAAAI= 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:38734 Archived-At: > I quickly made some convenience bindings for the grep buffer to > support this. > > Hey, Drew! Don't you want to add something like this to > grep-plus? It would be a good fit. Hi Tamas; thx for the suggestion. FYI - I added some different commands, which I think might be more useful (YMMV) - http://www.emacswiki.org/cgi-bin/wiki/grep%2b.el. New, in grep mode: `+' - create a new grep buffer (`new-grep-buffer') `b' - choose (switch to) another grep buffer, with completion (`choose-grep-buffer') As before, in grep mode: `g' - run `grep' `n' - `next-error-no-select' `p' - `previous-error-no-select'