unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <kevin.rodgers@ihs.com>
Subject: Re: eshell: Support old-style completion and cycling completion?
Date: Mon, 17 Feb 2003 11:25:52 -0700	[thread overview]
Message-ID: <3E512930.8020400@ihs.com> (raw)
In-Reply-To: 84k7g0x9oz.fsf@lucy.is.informatik.uni-duisburg.de

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>

  parent reply	other threads:[~2003-02-17 18:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-16 20:16 eshell: Support old-style completion and cycling completion? Kai Großjohann
2003-02-17  2:15 ` Galen Boyer
2003-02-17  7:17   ` Kai Großjohann
2003-02-17 15:09     ` Galen Boyer
2003-02-17 15:34       ` Kai Großjohann
2003-02-17 15:58       ` Stefan Monnier <foo@acm.com>
2003-02-17 17:22         ` Kai Großjohann
2003-02-17 19:38         ` John Wiegley
2003-02-18  2:24           ` Galen Boyer
2003-02-18  5:49             ` John Wiegley
2003-02-18  8:07           ` Kai Großjohann
2003-02-17 18:25 ` Kevin Rodgers [this message]
2003-02-17 19:48   ` Kai Großjohann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E512930.8020400@ihs.com \
    --to=kevin.rodgers@ihs.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).