all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kai Grossjohann <kai@emptydomain.de>
Subject: Re: eshell/pcomplete suggestion: indicator for completion cycling
Date: Wed, 07 Jan 2004 09:24:26 +0100	[thread overview]
Message-ID: <87isjoxj2d.fsf@emptyhost.emptydomain.de> (raw)
In-Reply-To: E1Ae3dN-0005is-8D@fencepost.gnu.org

Richard Stallman <rms@gnu.org> writes:

>     I think that I might like completion cycling, as implemented by
>     default in eshell.
>
> What is "completion cycling"?

Let's say you have a directory with files foo1, foo2, and foo3.  Let's
say you type f and then hit the TAB key.  The default Emacs completion
behavior is to complete f to foo.  Then you hit TAB again and get a
list of all possible completions.

Cycling completions means that the first TAB, instead of completing f
to foo, inserts the first possible completion, foo1.  Hitting TAB
again replaces foo1 with foo2, and again replaces that with foo3, and
again goes back to foo1.

By default, TAB in eshell does the cycling thing if there are up to
five possible completions.  If there are more than five possible
completions, then it inserts substrings.

The problem should be obvious: if I don't know which files are in the
directory, then I don't know whether an insertion is a prefix of the
full filename or a full filename already.

Kai

  reply	other threads:[~2004-01-07  8:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-06  8:54 eshell/pcomplete suggestion: indicator for completion cycling Kai Grossjohann
2004-01-07  2:41 ` Richard Stallman
2004-01-07  8:24   ` Kai Grossjohann [this message]
2004-01-07 10:59     ` Eli Zaretskii
2004-01-07 21:19     ` Richard Stallman
2004-01-08  6:52       ` Kai Grossjohann

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

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

  git send-email \
    --in-reply-to=87isjoxj2d.fsf@emptyhost.emptydomain.de \
    --to=kai@emptydomain.de \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.