From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: [mange@freemail.hu: grep-tree doesn't shell-quote-argument] Date: Wed, 19 Apr 2006 16:09:06 +0200 Message-ID: <858xq1hd31.fsf@lola.goethe.zz> 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> <87mzehisah.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1145455790 1890 80.91.229.2 (19 Apr 2006 14:09:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Apr 2006 14:09:50 +0000 (UTC) Cc: offby1@blarg.net, lennart.borgman.073@student.lu.se, Eli Zaretskii , emacs-devel@gnu.org, "Kim F. Storm" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 19 16:09:46 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 1FWDN9-0000Bs-Of for ged-emacs-devel@m.gmane.org; Wed, 19 Apr 2006 16:09:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FWDN9-0004Ul-7E for ged-emacs-devel@m.gmane.org; Wed, 19 Apr 2006 10:09:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FWDMu-0004UL-GU for emacs-devel@gnu.org; Wed, 19 Apr 2006 10:09:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FWDMs-0004Tf-OI for emacs-devel@gnu.org; Wed, 19 Apr 2006 10:09:19 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FWDMs-0004TT-G0 for emacs-devel@gnu.org; Wed, 19 Apr 2006 10:09:18 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FWDNz-0003Vf-Re for emacs-devel@gnu.org; Wed, 19 Apr 2006 10:10:27 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1FWDMr-0001Oe-13; Wed, 19 Apr 2006 10:09:17 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id AEF3B1C3DB49; Wed, 19 Apr 2006 16:09:06 +0200 (CEST) Original-To: Stefan Monnier In-Reply-To: <87mzehisah.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Wed, 19 Apr 2006 09:58:13 -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:53074 Archived-At: Stefan Monnier writes: >> And it offers no reasonable way to actually get both: prompting for the >> parts, and a final opportunity for editing the resulting command before >> sending it off. > > Shell command completion support would go a long way towards > making the difference irrelevant. > > Also it ocurred to me that grep-tree should put the resulting command onto > grep-find's history. > >> I think the latter is important enough to offer this with a prefix >> argument, > > It's not currently possible, and it's the first time I hear a > request for it, so it doesn't seem particularly important. Of _course_ this is the first request you hear for it because the changes that would make it convenient have not even been made. grep-find _currently_ offers to edit the command and nobody complained about that. So I don't see how this sanctifies to take away that possibility without an easy way of accessing it in case of need, short of redefining an alias. For what it's worth, AUCTeX's command dispatcher will understand a prefix-command as a request to edit the command that is going to be sent to the shell, and this functionality has been added because it was requested. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum