Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Completion matching control test. (Try 2)
- X-seq: zsh-workers 11437
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: Completion matching control test. (Try 2)
- Date: Wed, 17 May 2000 12:33:56 +0200 (MET DST)
- In-reply-to: "Bart Schaefer"'s message of Wed, 17 May 2000 10:14:57 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Bart Schaefer wrote:
> On May 16, 9:11pm, Felix Rosencrantz wrote:
> } Subject: Re: PATCH: Completion matching control test. (Try 2)
> }
> } --- Bart Schaefer <schaefer@xxxxxxxxxxxxxxxxxxxxxxx> 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'm working on it and will commit it when I'm finished, which may take
some time because those tests are so damn slow. I wished there were a
way to make comptest initialise the completion system only once.
> } > 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.
The docs are wrong, I've fixed that and will send it together with the
rest.
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author