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: Wed, 15 Nov 2006 11:02:53 -0800 Message-ID: References: <1163609242.275999.77440@m7g2000cwm.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1163617558 23089 80.91.229.2 (15 Nov 2006 19:05:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Nov 2006 19:05:58 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 15 20:05:55 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 1GkQ4m-0005Xl-EP for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Nov 2006 20:05:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GkQ4l-00016R-FZ for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Nov 2006 14:05:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GkQ3y-0000Gi-FE for help-gnu-emacs@gnu.org; Wed, 15 Nov 2006 14:04:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GkQ3w-0000DP-Bs for help-gnu-emacs@gnu.org; Wed, 15 Nov 2006 14:04:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GkQ3w-0000D4-5x for help-gnu-emacs@gnu.org; Wed, 15 Nov 2006 14:04:44 -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 1GkQ3v-0000uG-W9 for help-gnu-emacs@gnu.org; Wed, 15 Nov 2006 14:04:44 -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 kAFJ4dv1019792; Wed, 15 Nov 2006 12:04:40 -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 kAFHRD5O012355; Wed, 15 Nov 2006 12:04:38 -0700 Original-Received: from dhcp-4op11-4op12-west-130-35-178-179.us.oracle.com by rcsmt251.oracle.com with ESMTP id 2206597461163617374; Wed, 15 Nov 2006 12:02:54 -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: <1163609242.275999.77440@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:38740 Archived-At: > > > Thanks, I'll try it when the emacs 21 version comes out. I hope you > > > still support it. :) > > > > Not sure what you mean > > > > grep+.el is only for Emacs 22. Prior to Emacs 22, grep was handled in > > standard library compile.el, not grep.el. > > > > For Emacs prior to 22, you have compile-20.el and > compile+20.el. For Emacs > > 22 you have grep+.el, compile-.el, and compile+.el. > > I was under the impression that the packages you describe on the > > http://www.emacswiki.org/cgi-bin/emacs/GrepPlus > > page implement the GrepPlus functionality for emacs21 and earlier, and > also for emacs22. Yes, that page describes all of the grep enhancements, for different Emacs versions - the specifics are mentioned there. > You made this modification in grep+.el which is for emacs 22. I thought > you would add the same functionality to compile-20.el or compile+20.el, > so that these enhancements can be used on emacs21 too. OK. I just added similar commands to compile+20.el, for use with Emacs versions prior to 22: http://www.emacswiki.org/cgi-bin/wiki/compile%2b20.el. However, since there is no grep-specific keymap prior to Emacs 22, I have not bound the new commands. HTH - Drew