From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: using pcomplete for comint.el/shell.el Date: Sun, 17 Feb 2002 09:48:17 -0700 (MST) Message-ID: <200202171648.g1HGmHZ10226@aztec.santafe.edu> References: <1013730609.754.60.camel@space-ghost> <200202152249.g1FMnbU25659@rum.cs.yale.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: quimby2.netfonds.no X-Trace: quimby2.netfonds.no 1013965462 11535 195.204.10.66 (17 Feb 2002 17:04:22 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 17 Feb 2002 17:04:22 GMT Cc: walters@verbum.org, emacs-devel@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16cUjd-0002zx-00 for ; Sun, 17 Feb 2002 18:04:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16cUWt-0001wG-00; Sun, 17 Feb 2002 11:51:11 -0500 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16cUU6-0001az-00; Sun, 17 Feb 2002 11:48:18 -0500 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g1HGmHu11949; Sun, 17 Feb 2002 09:48:17 -0700 (MST) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g1HGmHZ10226; Sun, 17 Feb 2002 09:48:17 -0700 (MST) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: monnier+gnu/emacs@RUM.cs.yale.edu In-reply-to: <200202152249.g1FMnbU25659@rum.cs.yale.edu> (monnier+gnu/emacs@RUM.cs.yale.edu) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:1258 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1258 +(defun minibuffer-shell-complete () + "Complete current minibuffer input as a shell command." + (interactive) + (require 'shell) + (pcomplete-shell-setup) + (let ((comint-dynamic-complete-functions shell-dynamic-complete-functions)) + (call-interactively 'comint-dynamic-complete))) We might want to see if we could move comint-dynamic-complete and its mechanisms into a separate file, so that using this command won't load all of comint. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel