Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Completion oddities
- X-seq: zsh-workers 52397
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Completion oddities
- Date: Sun, 10 Dec 2023 09:27:00 -0800
- Archived-at: <https://zsh.org/workers/52397>
- List-id: <zsh-workers.zsh.org>
Maybe I'm just confused.
#1
It appears that setting MENUSELECT globally, overrides the "no-select"
string in the "menu" zstyle. I would think it should be the other way
around.
#2
When the "original" style is true for _approximate and _correct, the
REC_EXACT option seems to be ignored. Is there a way around that?
#3
According to _complete_debug output, this is the context _approximate
is using for looking up a style when called from _correct_word (that
is, as "_main_complete _correct"):
zstyle -t ":completion:correct-word:correct-1:::" original
Appending the count to the completer is documented for _approximate
but not mentioned in _correct.
#4
The way that the function field of a context is computed is a bit
annoying. For example, if I call
zle _correct_word
from _generic, then instead of the widget name in the function slot,
the function is correct-word. This makes it impossible to specify
styles for the widget separately from styles for using _correct_word
directly. It's done this way by a large number of functions.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author