help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: eshell: Support old-style completion and cycling completion?


From: Kevin Rodgers
Subject: Re: eshell: Support old-style completion and cycling completion?
Date: Mon, 17 Feb 2003 11:25:52 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

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



--
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;";>Kevin Rodgers</a>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]