From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15586 invoked from network); 23 Sep 1999 07:28:42 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 23 Sep 1999 07:28:42 -0000 Received: (qmail 2819 invoked by alias); 23 Sep 1999 07:28:36 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8012 Received: (qmail 2812 invoked from network); 23 Sep 1999 07:28:35 -0000 Date: Thu, 23 Sep 1999 09:28:34 +0200 (MET DST) Message-Id: <199909230728.JAA23108@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk Subject: PATCH: icomplete keys in compsys.yo Dunno if we should do this (since i-c-w isn't really part of the completion system). Bye Sven diff -u od/Zsh/compsys.yo Doc/Zsh/compsys.yo --- od/Zsh/compsys.yo Wed Sep 22 23:46:40 1999 +++ Doc/Zsh/compsys.yo Wed Sep 22 23:17:02 1999 @@ -1624,4 +1624,40 @@ tt(_regex_arguments) sotores a compiled function definition into the directory. ) +item(tt(incremental_prompt))( +The keys with the prefix tt(incremental_) are used by the +tt(incremental-complete-word) widget found in the tt(Functions/Zle) +directory of the tt(zsh) source distribution. + +This key defines the Prompt to show in the status line during +incremental completion. The sequence `tt(%u)' is replaced by the +unambiguous part of all matches if there is any and it is different +from the word on the line. A `tt(%s)' is replaced with `tt(-no +match-)', `tt(-no prefix-)', or an empty string if there is no +completion matching the word on the line, if the matches have no +common prefix different from the word on the line or if there is such +a common prefix, respectively. The sequence `tt(%c)' is replaced by +the name of the completer function that generated the matches (without +the leading underscore). Finally, `tt(%n)' is replaced by the number +of matches generated and `tt(%a)' is replaced by an empty string if +the matches are in the normal set (i.e. the one without file names +with one of the suffixes from the tt(fignore) array) and with `tt( +-alt-)' if the matches are in the alternate set. +) +item(tt(incremental_stop))( +This gives a pattern matching (keyboard-) keys which will cause +incremental completion to stop and the key to be re-executed. +) +item(tt(incremental_break))( +This gives a pattern matching (keyboard-) keys which will cause +incremental completion to stop and the key to be discarded. +) +item(tt(incremental_completer))( +Colon-separated list of completers, like the tt(completer) key for +normal completion. +) +item(tt(incremental_list))( +If set to a non-empty string, the matches will be listed on every +key-press. +) enditem() -- Sven Wischnowsky wischnow@informatik.hu-berlin.de