From: Juri Linkov <juri@linkov.net>
To: Ergus <spacibba@aol.com>
Cc: emacs-devel@gnu.org
Subject: Re: zsh-like zcomplete-mode based on icomplete-mode
Date: Sun, 10 Apr 2022 22:16:10 +0300 [thread overview]
Message-ID: <86o818bvgl.fsf@mail.linkov.net> (raw)
In-Reply-To: <20220410104134.jw2qik6aa7judmur@Ergus> (Ergus's message of "Sun, 10 Apr 2022 12:41:34 +0200")
> Ok, now it works better... But this is not zsh completion anymore ;) The
> dynamic table auto-refresh is nice for people who like icomplete/ido but
> it is a different use case and after a while it starts becoming annoying
> for quick uses... but this is a personal preference probably.
zsh does the same when configured with
zstyle ':completion:*' menu select interactive
So we should have a variable to enable/disable interactive auto-refresh.
> On the other hand I cannot use the up and down arrows anymore for search
> in the history with commands like previous-complete-history-element
Another variable could provide at least 3 choices:
1. never enable arrows, then use only special keys like
in icomplete-mode C-./C-, but this is not quite convenient;
2. always enable arrows like in icomplete-vertical-mode,
but this disables history navigation;
3. enable arrows only when the Completions window is displayed,
this assumes that auto-refresh is disabled, otherwise
the Completions window is displayed almost always.
> There is a detail when completion-format is one-column and it is when
> using zcomplete-previous-line-completion, some candidates are not
> highlighted... when we go to the last candidate and return... It seems
> like the cursor goes at the end of the candidate where the face-cursor
> is not set.
This looks like bug#54374.
next prev parent reply other threads:[~2022-04-10 19:16 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-09 18:45 zsh-like zcomplete-mode based on icomplete-mode Juri Linkov
2022-04-09 20:30 ` Tassilo Horn
2022-04-10 7:38 ` Juri Linkov
2022-04-10 9:12 ` Tassilo Horn
2022-04-10 16:31 ` [External] : " Drew Adams
2022-04-10 19:11 ` Juri Linkov
2022-04-10 1:05 ` Ergus
2022-04-10 7:38 ` Juri Linkov
2022-04-10 10:41 ` Ergus
2022-04-10 16:34 ` [External] : " Drew Adams
2022-04-10 19:16 ` Juri Linkov [this message]
2022-04-10 21:45 ` Ergus
2022-04-11 16:53 ` Juri Linkov
2022-04-12 17:15 ` Juri Linkov
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=86o818bvgl.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=emacs-devel@gnu.org \
--cc=spacibba@aol.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.
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.