From: kai.grossjohann@uni-duisburg.de (Kai Großjohann)
Subject: eshell: Support old-style completion and cycling completion?
Date: Sun, 16 Feb 2003 21:16:44 +0100 [thread overview]
Message-ID: <84k7g0x9oz.fsf@lucy.is.informatik.uni-duisburg.de> (raw)
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.
Hm. Thinking some more, it's possible that a behavior that I would
like is this:
If there is a common prefix for all completions, insert that. If
there is more than one possible completion, beep. After the next
TAB, show all possible completions. After the next TAB, complete to
the first completion. So it's a kind of a hybrid between old-style
and cycling style.
But I don't have this behavior, so I haven't tried it, so I don't
know. What do people think?
--
A turnip curses Elvis
next reply other threads:[~2003-02-16 20:16 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-16 20:16 Kai Großjohann [this message]
2003-02-17 2:15 ` eshell: Support old-style completion and cycling completion? 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
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=84k7g0x9oz.fsf@lucy.is.informatik.uni-duisburg.de \
--to=kai.grossjohann@uni-duisburg.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.
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).