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

Re: PATCH: tags stuff



In article <199911151141.MAA31979@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
  Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> writes:

> [ Monstrous patch below... ]

I encount two problems.

* The patch for _make was for before 8610.
* The patch for compsys.yo contains 8633 and one typo.

This is patch to _make for after 8615 and typo fix to compsys.yo.
The patch for compsys.yo assumes that 8633 is correctly applyed by
reverting 8633.

Index: Completion/User/_make
===================================================================
RCS file: /projects/zsh/zsh/Completion/User/_make,v
retrieving revision 1.1.1.14
retrieving revision 1.1.1.15
diff -u -r1.1.1.14 -r1.1.1.15
--- Completion/User/_make	1999/11/10 19:42:20	1.1.1.14
+++ Completion/User/_make	1999/11/15 12:01:49	1.1.1.15
@@ -18,12 +18,11 @@
     file=''
   fi
 
-  _description expl 'make target'
-  [[ -n "$file" ]] &&
-    compadd "$expl[@]" - \
-      $(awk '/^[a-zA-Z0-9][^\/ \t]+:/ {print $1}
-	     /^\.include  *<bsd\.port\.(subdir\.|pre\.)?mk>/ || /^\.include  *".*mk\/bsd\.pkg\.(subdir\.)?mk"/ {
-	       print "fetch fetch-list extract patch configure build install reinstall deinstall package describe checkpatch checksum makesum" }' \
-	    FS=: $file) && ret=0
+  [[ -n "$file" ]] && _wanted targets expl 'make target' &&
+      compadd "$expl[@]" - \
+          $(awk '/^[a-zA-Z0-9][^\/ \t]+:/ {print $1}
+	         /^\.include  *<bsd\.port\.(subdir\.|pre\.)?mk>/ || /^\.include  *".*mk\/bsd\.pkg\.(subdir\.)?mk"/ {
+	           print "fetch fetch-list extract patch configure build install reinstall deinstall package describe checkpatch checksum makesum" }' \
+	        FS=: $file) && ret=0
   (( ret )) && { compset -P 1 '*\='; _files }
 fi
Index: Doc/Zsh/compsys.yo
===================================================================
RCS file: /projects/zsh/zsh/Doc/Zsh/compsys.yo,v
retrieving revision 1.1.1.71
diff -u -r1.1.1.71 compsys.yo
--- Doc/Zsh/compsys.yo	1999/11/15 12:01:53	1.1.1.71
+++ Doc/Zsh/compsys.yo	1999/11/15 13:37:51
@@ -1112,7 +1112,7 @@
 function the tt(context) parameter will be set to the name of the
 value whose argument is to be completed.
 
-Like tt(_arguments', tt(_values) also supports the tt(-C) option in
+Like tt(_arguments), tt(_values) also supports the tt(-C) option in
 which case you have to make the parameter tt(curcontext) local instead 
 of tt(context) (as described above).
 )
-- 
Tanaka Akira



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