From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: [friedman@splode.com: some other observations on pcomplete] Date: 11 Mar 2002 15:48:56 +0900 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200203102132.g2ALWfr04155@wijiji.santafe.edu> <87it8339co.fsf@alice.dynodns.net> Reply-To: Miles Bader NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1015829518 22008 80.91.224.249 (11 Mar 2002 06:51:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 11 Mar 2002 06:51:58 +0000 (UTC) Cc: emacs-devel@gnu.org Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16kJf4-0005ir-00 for ; Mon, 11 Mar 2002 07:51:58 +0100 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16kJgg-0006xE-00 for ; Mon, 11 Mar 2002 07:53:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16kJeI-0000F2-00; Mon, 11 Mar 2002 01:51:10 -0500 Original-Received: from tyo201.gate.nec.co.jp ([202.32.8.214]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 16kJcN-0000BA-00; Mon, 11 Mar 2002 01:49:11 -0500 Original-Received: from mailgate4.nec.co.jp ([10.7.69.197]) by TYO201.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id g2B6n1d16210; Mon, 11 Mar 2002 15:49:02 +0900 (JST) Original-Received: from mailsv.nec.co.jp (mailgate51.nec.co.jp [10.7.69.190]) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id g2B6n0R04296; Mon, 11 Mar 2002 15:49:00 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp ([10.30.114.133]) by mailsv.nec.co.jp (8.11.6/3.7W-MAILSV-NEC) with ESMTP id g2B6mv820326; Mon, 11 Mar 2002 15:48:57 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.10.2+Sun/3.7Wlsi_mx_6.0) with ESMTP id g2B6mvg04614; Mon, 11 Mar 2002 15:48:57 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id 5E2EF377C; Mon, 11 Mar 2002 15:48:56 +0900 (JST) Original-To: John Wiegley System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <87it8339co.fsf@alice.dynodns.net> Original-Lines: 37 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: main.gmane.org gmane.emacs.devel:1846 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1846 John Wiegley writes: > These behaviors are all configurable. Perhaps we should simple tell > shell.el to configure pcomplete so that it behaves like Emacs' > standard (and dumb yet straightforward) completion. This seems like the wrong answer -- the `cycling' behavior is potentially very convenient, it's just that the implementation has some rough edges. For instance, how about if, when in `cycling mode', pcomplete were to display a note saying how many more completions there are left to cycle through. Then you would know that it's cycling, and wouldn't think that there's only one completion. It could either display these messages in the minibuffer, or perhaps as a temporary `tag' following the completed entry like completion in the minibuffer does, e.g.: If the buffer contains (_ is the cursor): $ cat /tmp/fo_ and /tmp contains `foo1' and `foo2', then hitting TAB at eob would display: $ cat /tmp/foo1_ [1 more completion] at this point, hitting any key except TAB (or just waiting a while would result in the message going away, and whatever state pcomplete holds for cycling to be reset). However, hitting TAB before that time would cycle to `foo2': $ cat /tmp/foo2_ [No more completions] I think that would be kind of whizzy... :-, -Miles -- We live, as we dream -- alone.... _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel