Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: tag-order clarification



I spent some time trying to figure out why tag-order did not behave as
expected until I realized that dosumentation is wrong (or I understand
it
wrong). Here is suggested clarification. Or do I miss something?

-andrej

Index: Doc/Zsh/compsys.yo
===================================================================
RCS file: /cvsroot/zsh/zsh/Doc/Zsh/compsys.yo,v
retrieving revision 1.153
diff -u -r1.153 compsys.yo
--- Doc/Zsh/compsys.yo  4 Apr 2002 10:46:00 -0000       1.153
+++ Doc/Zsh/compsys.yo  6 May 2002 15:51:58 -0000
@@ -2120,11 +2120,12 @@
 
 startitem()
 item(tt(-))(
-If any string in the value consists of only a hyphen,
-then em(only) the tags specified by the other strings in the value are
+If any value consists of only a hyphen,
+then em(only) the tags specified in the other values are
 generated.  Normally all tags not explicitly selected are tried last
 if the specified tags fail to generate any matches.  This means 
-that a value consisting only of a single hyphen turns off completion.
+that a single value consisting only of a single hyphen
+turns off completion.
 )
 item(tt(!) var(tags)...)(
 A string starting with an exclamation mark



Messages sorted by: Reverse Date, Date, Thread, Author