Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Strange _values completion on accept-and-menu-complete and menu selection
- X-seq: zsh-workers 20621
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Strange _values completion on accept-and-menu-complete and menu selection
- Date: Sun, 12 Dec 2004 09:51:08 -0800 (PST)
- In-reply-to: <200412121915.34004.arvidjaar@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <200412111311.27916.arvidjaar@xxxxxxx> <Pine.LNX.4.61.0412111229070.16206@xxxxxxxxxxxxxxxxxx> <200412121915.34004.arvidjaar@xxxxxxx>
- Reply-to: zsh-workers@xxxxxxxxxx
On Sun, 12 Dec 2004, Andrey Borzenkov wrote:
> I attach prototype patch - it adds compstate element that tells
> accept_last to skip suffix removal. It can be used in more general case
> than just _values - what I am not sure how and when this is to be set.
I wonder if perhaps another state name would be better. "Stay in word" is
a directive, whereas everything else in compstate is, well, state data.
What if it were compstate[compound_word] and the value is the separator
character to insert? (Or perhaps two characters, corresponding to
"compvalues -s" and "compvalues -S" in that order.)
Normally compstate[compound_word] would be unset, but "compvalues -i"
would set it based on the parse.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author