From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24006 invoked from network); 3 May 2000 05:14:49 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 3 May 2000 05:14:49 -0000 Received: (qmail 10162 invoked by alias); 3 May 2000 05:14:39 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11081 Received: (qmail 10141 invoked from network); 3 May 2000 05:14:38 -0000 Message-ID: <20000503051436.19220.qmail@web1303.mail.yahoo.com> Date: Tue, 2 May 2000 22:14:36 -0700 (PDT) From: Felix Rosencrantz Subject: Re: PATCH: yet another match-spec-cursor bug To: zsh-workers MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sven Wischnowsky wrote: >I've tried quite a bit now, but can't reproduce it. And you didn't >give us much information, did you? ;-) For example, I guess you have a >`r:[^A-Z0-9]||[A-Z0-9]=*', right? > >So, can you reproduce it with `zsh -f'? Sorry not to provide more details. I was thinking the problem might be closely related to the original patch. I am able to get the same intermittent problem with "zsh -f". myprompt@ zsh -f host% mkdir j ; touch j/build.out{,1,2} ; cd j host% bindkey -e; autoload -U compinit; compinit -D host% zstyle ':completion:*:complete:*' matcher-list 'm:{a-zA-Z}={A-Za-z} r:|[.,_-]=* r:[^A-Z0-9]||[A-Z0-9]=* r:[A-Z0-9]||[^A-Z0-9]=* r:[^0-9]||[0-9]=*' host% more bui If I try completing "bui", I rarely I get only "build" or more often I get the following sequence after hitting tab: bui --> build.out[] --> build[.]out --> build.out[] --> build.out1[] --> build.out2[] Most times I get the correct behavior. Though within several attempts I get the described incorrect behavior. -FR __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/