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: Sat, 16 Feb 2002 14:55:25 -0700 (MST) Message-ID: <200202162155.g1GLtP209864@aztec.santafe.edu> References: <1013730609.754.60.camel@space-ghost> Reply-To: rms@gnu.org NNTP-Posting-Host: quimby2.netfonds.no X-Trace: quimby2.netfonds.no 1013897392 24354 195.204.10.66 (16 Feb 2002 22:09:52 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 16 Feb 2002 22:09:52 GMT Cc: 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 16cD1j-0006Ki-00 for ; Sat, 16 Feb 2002 23:09:52 +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 16cCpS-0004W5-00; Sat, 16 Feb 2002 16:57:10 -0500 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16cCnm-0004Kl-00; Sat, 16 Feb 2002 16:55:26 -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 g1GLtPu01247; Sat, 16 Feb 2002 14:55:25 -0700 (MST) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g1GLtP209864; Sat, 16 Feb 2002 14:55:25 -0700 (MST) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: walters@verbum.org In-reply-to: <1013730609.754.60.camel@space-ghost> (message from Colin Walters on 14 Feb 2002 18:50:09 -0500) 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:1222 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1222 + "Proxy function which sets up comint for pcomplete. +See `pcomplete'." + (interactive) + (pcomplete-comint-setup 'shell-dynamic-complete-functions) + (fset 'shell-pcomplete 'pcomplete) + (fset 'shell-pcomplete-reverse 'pcomplete-reverse) + (call-interactively #'pcomplete)) It should not redefine itself, that is confusing. It should just call pcomplete every time. It needs a real doc string. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel