From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [mange@freemail.hu: grep-tree doesn't shell-quote-argument] Date: Wed, 19 Apr 2006 11:57:26 +0300 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1145437072 1145 80.91.229.2 (19 Apr 2006 08:57:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Apr 2006 08:57:52 +0000 (UTC) Cc: mange@freemail.hu, emacs-devel@gnu.org, storm@cua.dk Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 19 10:57:49 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 1FW8VP-0005gx-9N for ged-emacs-devel@m.gmane.org; Wed, 19 Apr 2006 10:57:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FW8VO-0008N3-Mr for ged-emacs-devel@m.gmane.org; Wed, 19 Apr 2006 04:57:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FW8VC-0008Kp-BE for emacs-devel@gnu.org; Wed, 19 Apr 2006 04:57:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FW8V9-0008Gr-Vm for emacs-devel@gnu.org; Wed, 19 Apr 2006 04:57:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FW8V9-0008GQ-QS for emacs-devel@gnu.org; Wed, 19 Apr 2006 04:57:31 -0400 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FW8WC-0001oW-66; Wed, 19 Apr 2006 04:58:36 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-206-41.inter.net.il [80.230.206.41]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id DZT66331 (AUTH halo1); Wed, 19 Apr 2006 11:57:21 +0300 (IDT) Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Wed, 19 Apr 2006 00:17:23 -0400) 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:53060 Archived-At: > From: Richard Stallman > CC: storm@cua.dk, mange@freemail.hu, emacs-devel@gnu.org > Date: Wed, 19 Apr 2006 00:17:23 -0400 > > Btw, isn't it confusing that we have no less than 3 different commands > (find-grep-dired, grep-find, and grep-tree) to do the same job? > > I never use any of them. How do they differ? The first one displays a Dired buffer with all the matching files, the other two display the normal Grep hits, but differ in how they accept arguments: grep-find wants the full Find command line, while grep-tree asks only for its variable parts and keeps the rest hidden from the user. I think at least grep-tree and grep-find could be a single command: e.g., it would behave like grep-tree by default, but with a prefix argument will show the full command (so that power users could tailor it), like grep-find does. It's also possible to make find-grep-dired a variant of the same single command, if we want only one UI instead of 3.