From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk
Subject: Re: Strange _values completion on accept-and-menu-complete and menu selection
Date: Sun, 12 Dec 2004 09:51:08 -0800 (PST) [thread overview]
Message-ID: <Pine.LNX.4.61.0412120925560.16206@toltec.zanshin.com> (raw)
In-Reply-To: <200412121915.34004.arvidjaar@mail.ru>
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.
next prev parent reply other threads:[~2004-12-12 17:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-11 10:11 Andrey Borzenkov
2004-12-11 21:05 ` Bart Schaefer
2004-12-12 16:15 ` Andrey Borzenkov
2004-12-12 17:51 ` Bart Schaefer [this message]
2004-12-12 21:06 ` Andrey Borzenkov
2004-12-12 21:44 ` Bart Schaefer
2004-12-13 10:43 ` Peter Stephenson
2004-12-25 17:32 ` Andrey Borzenkov
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=Pine.LNX.4.61.0412120925560.16206@toltec.zanshin.com \
--to=schaefer@brasslantern.com \
--cc=zsh-workers@sunsite.dk \
/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 public inbox
https://git.vuxu.org/mirror/zsh/
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 NNTP newsgroup(s).