From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bill Wohler Newsgroups: gmane.emacs.devel Subject: Re: [mange@freemail.hu: grep-tree doesn't shell-quote-argument] Date: Wed, 19 Apr 2006 11:34:21 -0700 Organization: Newt Software Message-ID: <24981.1145471661@olgas.newt.com> References: <874q0qudex.fsf@blarg.net> <4445033A.2030002@student.lu.se> <85u08phhzb.fsf@lola.goethe.zz> <874q0pk8xm.fsf-monnier+emacs@gnu.org> <873bg9jv13.fsf@olgas.newt.com> <857j5lfmqn.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1145475583 12500 80.91.229.2 (19 Apr 2006 19:39:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Apr 2006 19:39:43 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 19 21:39:41 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FWIWa-0002Rd-Qu for ged-emacs-devel@m.gmane.org; Wed, 19 Apr 2006 21:39:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FWIWa-0008Nq-Cj for ged-emacs-devel@m.gmane.org; Wed, 19 Apr 2006 15:39:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FWIWN-0008LA-9x for emacs-devel@gnu.org; Wed, 19 Apr 2006 15:39:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FWIWL-0008Iy-MY for emacs-devel@gnu.org; Wed, 19 Apr 2006 15:39:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FWIWL-0008Ii-Fj for emacs-devel@gnu.org; Wed, 19 Apr 2006 15:39:25 -0400 Original-Received: from [70.85.162.231] (helo=tassie.newt.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FWIXU-00007D-6h; Wed, 19 Apr 2006 15:40:36 -0400 Original-Received: from olgas.newt.com (m110e36d0.tmodns.net [208.54.14.17]) by tassie.newt.com (Postfix) with ESMTP id 52BF11D0AF3; Wed, 19 Apr 2006 12:39:20 -0700 (PDT) Original-Received: by olgas.newt.com (Postfix, from userid 1000) id BD10B16FB9; Wed, 19 Apr 2006 11:34:21 -0700 (PDT) Original-Received: from olgas.newt.com (localhost [127.0.0.1]) by olgas.newt.com (Postfix) with ESMTP id B989C16FB5; Wed, 19 Apr 2006 11:34:21 -0700 (PDT) Original-To: David Kastrup In-reply-to: <857j5lfmqn.fsf@lola.goethe.zz> Comments: In-reply-to David Kastrup message dated "Wed, 19 Apr 2006 20:23:28 +0200." X-Mailer: MH-E 7.93+cvs; nmh 1.1; GNU Emacs 22.0.50 X-Image-URL: http://www.newt.com/wohler/images/bill-diving.png Mail-Followup-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:53098 Archived-At: David Kastrup wrote: > Bill Wohler writes: > > > We only need two: grep (which shows you the grep hits) and > > grep-dired (which lists the matched files in dired). > > Disagree. Find can't be obliterated for all usage cases, but using it > for something like *.[ch] would certainly be inconvenient. I'm taking the 50,000 foot view. The use of find is an implementation detail of these two major use cases. Generally speaking, a user either wants to see grep hits, or file names. So only offer two functions. All of the other grep commands should be non-interactive implementations. (These should be post-release changes, by the way. Incorporating grep-tree into find-grep is an excellent pre-release goal.) -- Bill Wohler http://www.newt.com/wohler/ GnuPG ID:610BD9AD Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian! If you're passed on the right, you're in the wrong lane.