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 19:08:11 +0200 Message-ID: <85mzehfq84.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 1145466540 12078 80.91.229.2 (19 Apr 2006 17:09:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Apr 2006 17:09:00 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 19 19:08: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 1FWGAO-0005H2-QE for ged-emacs-devel@m.gmane.org; Wed, 19 Apr 2006 19:08:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FWGAO-00028V-BR for ged-emacs-devel@m.gmane.org; Wed, 19 Apr 2006 13:08:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FWGAB-00028O-Ph for emacs-devel@gnu.org; Wed, 19 Apr 2006 13:08:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FWGAA-000283-Vd for emacs-devel@gnu.org; Wed, 19 Apr 2006 13:08:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FWGAA-00027s-M4 for emacs-devel@gnu.org; Wed, 19 Apr 2006 13:08:22 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FWGBJ-0003Xv-LM for emacs-devel@gnu.org; Wed, 19 Apr 2006 13:09:33 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1FWGA9-0007r3-Tf; Wed, 19 Apr 2006 13:08:22 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id BD68F1C3DB49; Wed, 19 Apr 2006 19:08:11 +0200 (CEST) Original-To: Kevin Rodgers In-Reply-To: (Kevin Rodgers's message of "Wed, 19 Apr 2006 10:59:25 -0600") 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:53087 Archived-At: Kevin Rodgers writes: > Kim F. Storm wrote: >> David Kastrup writes: >>>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" ? > > That logic can't be followed that far, because M-! and M-| already > interpret C-u specially. Well, it would be spectacularly pointless to let M-! and M-| offer the command for editing again, anyway. This would be useful as a convention mostly for commands which are set up by Emacs, not by the user, and which have their own _special_ output buffer (not something like *Shell Command* but rather something like *grep*) so that it would not make sense to insert the output into the current buffer. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum