From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: eshell: Support old-style completion and cycling completion? Date: Mon, 17 Feb 2003 11:25:52 -0700 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3E512930.8020400@ihs.com> References: <84k7g0x9oz.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1045506695 28847 80.91.224.249 (17 Feb 2003 18:31:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 17 Feb 2003 18:31:35 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18kq3B-0007V2-00 for ; Mon, 17 Feb 2003 19:31:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18kq2B-0003Va-04 for gnu-help-gnu-emacs@m.gmane.org; Mon, 17 Feb 2003 13:30:31 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!170.207.51.80!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-NNTP-Posting-Host: 170.207.51.80 Original-X-Trace: fu-berlin.de 1045506351 49585479 170.207.51.80 (16 [82742]) User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us Original-Xref: shelby.stanford.edu gnu.emacs.help:110293 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6794 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6794 Kai Großjohann wrote: > Usually, I know and love the fact that hitting TAB completes as far > as it can, then offers the list of completions. > > But sometimes, I think it might be nice to cycle the completions > instead. So I tried a naive approach: > > (defun kai-eshell-pcomplete-cycling () > "Like `pcomplete', but turn on cycling explicitly." > (interactive) > (let ((eshell-cmpl-cycle-completions t)) > (pcomplete))) > > Then I bound this to a key. No dice. Does eshell use the normal completion mechanism (i.e. does it display the *Completions* buffer when there is more than one possible completion)? If so, my minibuffer-complete-cycle.el package may be useful: http://groups.google.com/groups?selm=3B6ED00C.E937D0B3%40ihs.com -- Kevin Rodgers