From 3e7a2a41bc6df97b7fa90db7fa4ad16a667dc645 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 4 May 2000 20:16:09 +0000 Subject: 11165: Completion/Base/_regex_arguments, Completion/Debian/_apt, Completion/X/_xset, Completion/X/_xwit, Doc/Zsh/compsys.yo, Src/Modules/zutil.c: _regex_arguments support tag stuff. --- Doc/Zsh/compsys.yo | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Doc') diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index 0c5d02f08..a0a7d7865 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -3276,7 +3276,7 @@ metacharacters such as `tt(LPAR())', `tt(RPAR())', `tt(#)' and `tt(|)' should be quoted. startitem() -item(tt(/)var(pattern)tt(/) [tt(%)var(lookahead)tt(%)] [tt(-)var(guard)] [tt(:)var(action)])( +item(tt(/)var(pattern)tt(/) [tt(%)var(lookahead)tt(%)] [tt(-)var(guard)] [tt(:)var(tag)tt(:)var(descr)tt(:)var(action)])( This is a primitive element, corresponding to one state of the compiled state machine. The state is entered if `tt((#b)LPAR()(#B))var(pattern)tt(RPAR()(#B))var(lookahead)tt(*)' matches @@ -3295,12 +3295,15 @@ character, the completion target is restricted to the remainder of the command line string and var(action)s for the target are evaluated. In this case, nothing is actually removed from the command line string so that any previous or neighbouring state may also have var(actions)s. +var(actions)s evaluation are ordered by the tt(tag-order) style and +specified var(tag). var(descr) is used for set up the array parameter +tt(expl). ) -item(tt(/)var(pattern)tt(/+) [tt(%)var(lookahead)tt(%)] [tt(-)var(guard)] [tt(:)var(action)])( +item(tt(/)var(pattern)tt(/+) [tt(%)var(lookahead)tt(%)] [tt(-)var(guard)] [tt(:)var(tag)tt(:)var(descr)tt(:)var(action)])( This is similar to `tt(/)var(pattern)tt(/) ...' but the left part of command line string is also considered as part of the completion target. ) -item(tt(/)var(pattern)tt(/-) [tt(%)var(lookahead)tt(%)] [tt(-)var(guard)] [tt(:)var(action)])( +item(tt(/)var(pattern)tt(/-) [tt(%)var(lookahead)tt(%)] [tt(-)var(guard)] [tt(:)var(tag)tt(:)var(descr)tt(:)var(action)])( This is similar to `tt(/)var(pattern)tt(/) ...' but the var(action)s of the current and previous states are ignored even if the following state's `var(pattern)' matches the empty string. -- cgit 1.4.1