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

PATCH: 3.1.5-pws-6: compctl manual inevitable follow-up



Bad karma in my compctl manual patch: too many @enditem's.  For some
reason this only showed up when running texinfo.  Then, of course, I
had to change the text just before again.

--- Doc/Zsh/compctl.yo.tidy2	Tue Feb  2 17:20:05 1999
+++ Doc/Zsh/compctl.yo	Wed Feb  3 10:08:42 1999
@@ -784,13 +784,13 @@
 indent(
 tt(compctl -M 'r:|[.,_-]=* r:|=*' 'l:|=* r:|=*')
 )
-So, if the string on the command line is tt(foo.bar), tt(compctl) first
-tries matching tt(foo)var(anything)tt(.bar)var(anything), and if that
-fails will look for var(anything)tt(foo.bar)var(anything); 
-the two descriptions in the second string say that the
-empty string at the beginning and end of the string on the line
-matches any set of characters at the beginning or end of the word.
-enditem()
+Here, if the string on the command line is tt(foo.bar), tt(compctl)
+first tries matching tt(foo)var(anything)tt(.bar)var(anything), as
+with the previous example.  If that fails, the two descriptions in the
+second string after the tt(-M) say that the blanks at the beginning
+and end of the string on the command line can match any set of
+characters at the beginning or end of the trial completion, so it will
+look for var(anything)tt(foo.bar)var(anything).
 
 texinode(Example)()(Matching Control)(Programmable Completion)
 sect(Example)

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy



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