|
From: | Ergus |
Subject: | Re: zsh-like zcomplete-mode based on icomplete-mode |
Date: | Sun, 10 Apr 2022 12:41:34 +0200 |
On Sun, Apr 10, 2022 at 10:38:58AM +0300, Juri Linkov wrote:
Here is the first version of the mode with the behavior like in zsh, but that is based on icomplete-mode. So many customizable variables and commands were copied from icomplete-mode, but instead of displaying completions as an overlay in the minibuffer, in zcomplete-mode completions are displayed in the standard *Completions* window. All other icomplete features are preserved in zcomplete, such as typing in the minibuffer continuously updates a list of possible completions that match the typed string:After the first completion I get this: minibuffer-next-completion: Wrong type argument: number-or-marker-p, nil And it stops working... SO I need something special?I pushed a fix to master, please try again.
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. 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 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. I will continue testing.
[Prev in Thread] | Current Thread | [Next in Thread] |