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: Wed, 19 Apr 2006 16:52:28 +0200 Message-ID: References: <874q0qudex.fsf@blarg.net> <4445033A.2030002@student.lu.se> <85u08phhzb.fsf@lola.goethe.zz> <874q0pk8xm.fsf-monnier+emacs@gnu.org> <85d5fdhey2.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1145458503 12339 80.91.229.2 (19 Apr 2006 14:55:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Apr 2006 14:55:03 +0000 (UTC) Cc: offby1@blarg.net, lennart.borgman.073@student.lu.se, Eli Zaretskii , Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 19 16:54:57 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 1FWE4o-0000xn-GL for ged-emacs-devel@m.gmane.org; Wed, 19 Apr 2006 16:54:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FWE4n-0008De-V3 for ged-emacs-devel@m.gmane.org; Wed, 19 Apr 2006 10:54:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FWE4c-0008DM-6d for emacs-devel@gnu.org; Wed, 19 Apr 2006 10:54:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FWE4b-0008CU-Fg for emacs-devel@gnu.org; Wed, 19 Apr 2006 10:54:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FWE4b-0008CD-7E for emacs-devel@gnu.org; Wed, 19 Apr 2006 10:54:29 -0400 Original-Received: from [195.41.46.236] (helo=pfepb.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FWE5g-0007CN-2N; Wed, 19 Apr 2006 10:55:36 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepb.post.tele.dk (Postfix) with SMTP id B7419A50020; Wed, 19 Apr 2006 16:54:22 +0200 (CEST) Original-To: David Kastrup In-Reply-To: <85d5fdhey2.fsf@lola.goethe.zz> (David Kastrup's message of "Wed, 19 Apr 2006 15:28:53 +0200") 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:53075 Archived-At: David Kastrup writes: > Strike the complexity. Use of a prefix arg to make it possible to > post-edit the command is, IMO, a good idea. It is a _nice_ idea, but I'm not sure it is a _good_ idea. Using the prefix arg for this purpose takes away the simple way to select the "old behaviour" shortcut (which Eli suggested as the way to go). One thing we could (should?) do is to enter the final command from non-C-u usage into the grep-find-history, so it would be easily accessible (for tweaking) on a subsequent use of C-u M-x grep-find in case the first run didn't give the desired results. > Quite often one wants to > start a command that is almost, but not quite, like the default > recipe. So tweak the grep-find-command-template instead... -- Kim F. Storm http://www.cua.dk