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 17:10:35 +0200 Message-ID: <85vet5fvo4.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> <858xq1hd31.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 1145459467 16386 80.91.229.2 (19 Apr 2006 15:11:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Apr 2006 15:11:07 +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 17:11:04 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 1FWEKb-0004Wf-0U for ged-emacs-devel@m.gmane.org; Wed, 19 Apr 2006 17:11:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FWEKa-0005wm-D6 for ged-emacs-devel@m.gmane.org; Wed, 19 Apr 2006 11:11:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FWEKN-0005u4-K7 for emacs-devel@gnu.org; Wed, 19 Apr 2006 11:10:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FWEKN-0005tI-57 for emacs-devel@gnu.org; Wed, 19 Apr 2006 11:10:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FWEKM-0005t7-QN for emacs-devel@gnu.org; Wed, 19 Apr 2006 11:10:46 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FWELU-0000Xo-LJ for emacs-devel@gnu.org; Wed, 19 Apr 2006 11:11:56 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1FWEKL-0003Mw-77; Wed, 19 Apr 2006 11:10:45 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 4D70C1C3DB49; Wed, 19 Apr 2006 17:10:35 +0200 (CEST) Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: (Kim F. Storm's message of "Wed, 19 Apr 2006 16:58:15 +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:53078 Archived-At: storm@cua.dk (Kim F. Storm) writes: > David Kastrup writes: > >> grep-find _currently_ offers to edit the command and nobody complained >> about that. > > See the existance of grep-tree as a complaint :-) Hardly, since it deals with the problem of being able to enter the required information in an easy way, not with a user requirement never to be able to edit the command before it gets sent off. >> 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. > > What's difficult about the C-u prefix ?? If this stops grep-find from prompting for the arguments, it does not give you a starting place for editing. And if it does not inhibit the prompting, uh, we have my proposal, so you'd hardly find me objecting to it... >> 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. > > To follow that logic, every command which eventually causes a > command to be sent to a shell should undeerstand a C-u prefix to > mean "edit command string before sending it to the shell" ? Not necessarily. It could come in handy in a few cases. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum