From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: [mange@freemail.hu: grep-tree doesn't shell-quote-argument] Date: Sun, 23 Apr 2006 01:02:38 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1145747094 15936 80.91.229.2 (22 Apr 2006 23:04:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 22 Apr 2006 23:04:54 +0000 (UTC) Cc: mange@freemail.hu, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 23 01:04:51 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 1FXR9k-0006e9-BB for ged-emacs-devel@m.gmane.org; Sun, 23 Apr 2006 01:04:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FXR9j-0006hA-Vw for ged-emacs-devel@m.gmane.org; Sat, 22 Apr 2006 19:04:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FXR9W-0006ga-Lb for emacs-devel@gnu.org; Sat, 22 Apr 2006 19:04:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FXR9V-0006fq-5S for emacs-devel@gnu.org; Sat, 22 Apr 2006 19:04:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FXR9V-0006fk-0n for emacs-devel@gnu.org; Sat, 22 Apr 2006 19:04:33 -0400 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FXRBL-0005A5-Ho; Sat, 22 Apr 2006 19:06:27 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepc.post.tele.dk (Postfix) with SMTP id 6AA43262807; Sun, 23 Apr 2006 01:04:28 +0200 (CEST) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Sat, 22 Apr 2006 08:03:30 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:53244 Archived-At: Richard Stallman writes: > Below is a patch which merges grep-tree into grep-find, with > the new grep-tree interface as the default API, while a C-u > prefix requests using the old grep-find interface. > > That makes it an incompatible change. grep-find has existed since > years ago; grep-tree is new. > > We could avoid that incompatible change by making grep-find > with C-u implement the grep-tree behavior. The old grep-find interface is "a hack" (a way to start a compile-like command which runs find | grep. > > Is there some specific reason you propose the incompatible way? IMO, the grep-tree API is better (higher-level, non-technical) than the old interface (low-level, technical, requires knowledge in shell command syntax). Techinical users which prefers the old interface can just customize grep-find-prompt-style. But I really think that even technical users will prefer the new interface. It's much simpler to use, doing the same job in most cases -- and it automatically skips CVS subdirectories (and other VC-related directories when I get around to adding them) which makes good sense. -- Kim F. Storm http://www.cua.dk