From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: dapfy@t-online.de (Daniel Pfeiffer) Newsgroups: gmane.emacs.devel Subject: Re: Changes to emacs/lisp/progmodes/grep.el Date: Mon, 28 Jun 2004 23:22:16 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20040628232216.5be7f8dd@pfdabpc.inhouse.start.de> References: <87isdgnzzi.fsf@mail.jurta.org> <20040625220304.0f1fd05a@pfdabpc.inhouse.start.de> <20040627123340.5d3354cd@pfdabpc.inhouse.start.de> <20040628104013.5b4eb37e@pfdabpc.inhouse.start.de> <7494-Mon28Jun2004200058+0300-eliz@gnu.org> Reply-To: Daniel Pfeiffer NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1088457682 18021 80.91.224.253 (28 Jun 2004 21:21:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 Jun 2004 21:21:22 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Jun 28 23:21:13 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bf3Yv-00067b-00 for ; Mon, 28 Jun 2004 23:21:13 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bf3Yu-000494-00 for ; Mon, 28 Jun 2004 23:21:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bf3aX-0002ij-Mr for emacs-devel@quimby.gnus.org; Mon, 28 Jun 2004 17:22:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bf3aO-0002ie-Vy for emacs-devel@gnu.org; Mon, 28 Jun 2004 17:22:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Bf3aO-0002iS-67 for emacs-devel@gnu.org; Mon, 28 Jun 2004 17:22:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bf3aO-0002iP-3o for emacs-devel@gnu.org; Mon, 28 Jun 2004 17:22:44 -0400 Original-Received: from [194.25.134.20] (helo=mailout08.sul.t-online.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bf3Yb-0000gZ-S6; Mon, 28 Jun 2004 17:20:54 -0400 Original-Received: from fwd11.aul.t-online.de by mailout08.sul.t-online.com with smtp id 1Bf3Ya-0008TQ-04; Mon, 28 Jun 2004 23:20:52 +0200 Original-Received: from pfdabpc.inhouse.start.de (rfB16OZJoeO8z3SLMB9A897HUToB--bVoMp42eUtHxe9ibH1yl8iQQ@[217.234.29.224]) by fwd11.sul.t-online.com with smtp id 1Bf3YU-14lrIe0; Mon, 28 Jun 2004 23:20:46 +0200 Original-To: Eli Zaretskii In-Reply-To: <7494-Mon28Jun2004200058+0300-eliz@gnu.org> X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i686-suse-linux) X-Seen: false X-ID: rfB16OZJoeO8z3SLMB9A897HUToB--bVoMp42eUtHxe9ibH1yl8iQQ X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:25296 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25296 Saluton, "Eli Zaretskii" skribis: > > Date: Mon, 28 Jun 2004 10:40:13 +0200 > > From: dapfy@t-online.de (Daniel Pfeiffer) > > > > What GNU grep doesn't have (but could learn) is predefined file > > sets, like everything that smells of a C/C++ source. > > > > What GNU grep will hardly learn is deciding file treatment besed on > > content(other than binary) or doing something with the content, like > > ignoring certain parts (e.g. comments). > > When I need that, I use ID-Utils (and the small Emacs package that > comes with it), not Grep. Isn't "M-x gid" from that package what you > want? Sounds interesting. But it also sound kinda big, like Glimpse it requires indexing, which is certainly efficient (unless the indexed stuff changes frequently). And I frequently grep in various corners of various machines, on all of which I'd have to install this, which is already my turn off with GNU grep... At first sight my little script gives me more bang for the euro. coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn Daniel Pfeiffer -- lerne / learn / apprends / lär dig / ucz się Esperanto: http://lernu.net/