From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jidanni@jidanni.org Newsgroups: gmane.emacs.bugs Subject: Re: dired-do-shell-command needs minibuffer completion Date: Sat, 12 Apr 2008 06:25:47 +0800 Message-ID: <87prsw58r8.fsf@jidanni.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1207952778 27735 80.91.229.12 (11 Apr 2008 22:26:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Apr 2008 22:26:18 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 12 00:26:51 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JkRhl-000268-Kb for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Apr 2008 00:26:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JkRh7-0008Dt-RV for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Apr 2008 18:26:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JkRh4-0008D7-0k for bug-gnu-emacs@gnu.org; Fri, 11 Apr 2008 18:26:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JkRh2-0008B1-Qp for bug-gnu-emacs@gnu.org; Fri, 11 Apr 2008 18:26:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JkRh2-0008Ap-Ib for bug-gnu-emacs@gnu.org; Fri, 11 Apr 2008 18:26:00 -0400 Original-Received: from lax-green-bigip-5.dreamhost.com ([208.113.200.5] helo=blingymail-a3.g.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JkRh2-0001iH-8m for bug-gnu-emacs@gnu.org; Fri, 11 Apr 2008 18:26:00 -0400 Original-Received: from jidanni1 (122-127-35-87.dynamic.hinet.net [122.127.35.87]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by blingymail-a3.g.dreamhost.com (Postfix) with ESMTP id 4247414D65E for ; Fri, 11 Apr 2008 15:25:57 -0700 (PDT) X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:17836 Archived-At: >> ! runs the command dired-do-shell-command >> Well, it could certainly use the same completion list for command >> names as comint-dynamic-complete. Currently TAB at its prompt just >> does self-insert-command. DA> What you want is to be able to complete against the history of DA> shell commands used in Dired, `dired-shell-command-history': to DA> reuse a previous command, possibly editing it first. Right? No, not that fancy: all I know is that the first word entered when using ! (dired-do-shell-command) must be a file on $PATH, so hitting TAB should expand on all the executable filenames in /usr/bin/ etc. for that first word.