From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Feature request : Tab-completion for 'shell-comand' Date: Tue, 04 Mar 2008 22:54:53 +0100 Message-ID: <874pbmjgsy.fsf@gmx.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204667669 20233 80.91.229.12 (4 Mar 2008 21:54:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Mar 2008 21:54:29 +0000 (UTC) Cc: TSUCHIYA Masatoshi , emacs-devel@gnu.org To: "paul r" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 04 22:54:55 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JWf64-0004TY-VW for ged-emacs-devel@m.gmane.org; Tue, 04 Mar 2008 22:54:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JWf5X-0007IQ-RG for ged-emacs-devel@m.gmane.org; Tue, 04 Mar 2008 16:54:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JWf5J-00073g-28 for emacs-devel@gnu.org; Tue, 04 Mar 2008 16:54:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JWf5H-00071M-33 for emacs-devel@gnu.org; Tue, 04 Mar 2008 16:54:04 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JWf5G-00071A-SS for emacs-devel@gnu.org; Tue, 04 Mar 2008 16:54:02 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JWf5G-0001fo-39 for emacs-devel@gnu.org; Tue, 04 Mar 2008 16:54:02 -0500 Original-Received: (qmail invoked by alias); 04 Mar 2008 21:53:59 -0000 Original-Received: from p57A22986.dip0.t-ipconnect.de (EHLO arthur.local) [87.162.41.134] by mail.gmx.net (mp015) with SMTP; 04 Mar 2008 22:53:59 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1/AMKgqgs7ANDHuJdTKeNnlq8gkk56ZSKhPswMkUA sdD6qWV7KNUAa5 In-Reply-To: (paul r.'s message of "Tue, 4 Mar 2008 17:42:21 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:91320 Archived-At: "paul r" writes: > M-x shell-command, as well as its relatives (shell-command-on-region, > grep, grep-find, compile and maybe more), do not provide any kind of > completion in the minibuffer. This is a surprising behaviour, because > almost any other interactive function prompting for something that can > be tab-completed do provide tab-completion. > TSUCHIYA Masatoshi wrote an enhancement for it, that can be found > http://namazu.org/~tsuchiya/elisp/shell-command.el . This code works > against current head. It's a neat package. However, its implementation is based mainly on defadvices of shell-command, shell-command-on-region, grep, grep-find and compile. I don't believe that it shall be integrated into the Emacs core lisp *this* way. This could be a conflict, because the author seems to be interested in offering this package for different Emacs version, where this approach looks necessary. Some minor concerns are the used GPLv2 (shall be GPLv3), and that it doesn't support Tramp. But this could be solved easily. Best regards, Michael.