From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 874 invoked from network); 17 May 2000 10:25:22 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 17 May 2000 10:25:22 -0000 Received: (qmail 22965 invoked by alias); 17 May 2000 10:25:17 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11436 Received: (qmail 22958 invoked from network); 17 May 2000 10:25:16 -0000 From: "Bart Schaefer" Message-Id: <1000517101458.ZM11157@candle.brasslantern.com> Date: Wed, 17 May 2000 10:14:57 +0000 In-Reply-To: <20000517041158.9274.qmail@web1303.mail.yahoo.com> Comments: In reply to Felix Rosencrantz "Re: PATCH: Completion matching control test. (Try 2)" (May 16, 9:11pm) References: <20000517041158.9274.qmail@web1303.mail.yahoo.com> X-Mailer: Z-Mail (5.0.0 30July97) To: Felix Rosencrantz , zsh-workers Subject: Re: PATCH: Completion matching control test. (Try 2) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On May 16, 9:11pm, Felix Rosencrantz wrote: } Subject: Re: PATCH: Completion matching control test. (Try 2) } } --- Bart Schaefer wrote: } > This works for me: } > } > print -lr "COMPADD:{${match[6]//[$'\r\n']/}}" } } Great. Works for me, too. Will use that. I'll send a patch when the } changes make it into the repository. Hrm, OK, but based on PWS's last comment I'm hesitant to commit what I have. (I also deleted a stray `debug=yes' from comptest.) Sven, Peter? Do we want this test in there now, or not? } > I suspect the other failed tests are confusion over `*' vs. `**' in the } > matcher patterns, but I'm not sure. For example, the test } } Drat, I don't have any tests that use the double star syntax... Definitely either your tests are wrong, or the examples in the doc are wrong, in several instances. And I'm unsure about the cursor placement differences that I mentioned; e.g. I'm not sure your H\t2\t test would work because the 2 might not be inserted in the same place as before. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com