zsh-workers
 help / color / mirror / code / Atom feed
From: Felix Rosencrantz <f_rosencrantz@yahoo.com>
To: zsh-workers <zsh-workers@sunsite.auc.dk>
Subject: Re: PATCH: Completion matching control test. (Try 2)
Date: Tue, 16 May 2000 21:11:58 -0700 (PDT)	[thread overview]
Message-ID: <20000517041158.9274.qmail@web1303.mail.yahoo.com> (raw)

--- Bart Schaefer <schaefer@candle.brasslantern.com> wrote:
> This works for me:
> 
> 	print -lr "COMPADD:{${match[6]//[$'\r\n']/}}"
> 
> Normally $'...' isn't expanded inside double quotes, but because it's
> inside an embedded ${...} expansion, the rules get bent.

Great. Works for me, too.  Will use that.  I'll send a patch when the changes
make it into the repository.  I don't think there is a need for try 3.
 
> 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...

I used several recent versions of zsh to create the output for the tests, plus
a little hand-editing.  Sven's changes have fixed some problems, that I might
have left in, because I'm unclear on what the proper result should be.  Like
the problem report from workers/11388.

Hopefully the test will help.  I think matching control is great.

-FR.



__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/


             reply	other threads:[~2000-05-17  4:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-17  4:11 Felix Rosencrantz [this message]
2000-05-17 10:14 ` Bart Schaefer
  -- strict thread matches above, loose matches on Subject: below --
2000-05-18  2:35 Felix Rosencrantz
2000-05-17 11:57 Sven Wischnowsky
2000-05-17 10:33 Sven Wischnowsky
2000-05-17 12:30 ` Tanaka Akira
2000-05-16  6:04 Felix Rosencrantz
2000-05-16  8:55 ` Peter Stephenson
2000-05-16 17:23 ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20000517041158.9274.qmail@web1303.mail.yahoo.com \
    --to=f_rosencrantz@yahoo.com \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).