From mboxrd@z Thu Jan 1 00:00:00 1970 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes Message-Id: <9902030909.AA43991@ibmth.df.unipi.it> To: zsh-workers@sunsite.auc.dk (Zsh hackers list) Subject: PATCH: 3.1.5-pws-6: compctl manual inevitable follow-up Date: Wed, 03 Feb 1999 10:09:52 +0100 From: Peter Stephenson X-Mailing-List: 5198 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 Tel: +39 050 844536 WWW: http://www.ifh.de/~pws/ Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy