From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28824 invoked by alias); 6 Jan 2011 10:14:56 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 28576 Received: (qmail 12695 invoked from network); 6 Jan 2011 10:14:55 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.216.171 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=PQuaTHtOnA1K2EHfkvketf3LADoOWceK8kFhtkoAPk4=; b=q3v+vhq1LI257m7WUvpwLDUKlTAlxz8mqEEyoWKgmQFg5kRfEjgmYD2WvJVC0nsrcy Zwcjkz9oylGK4kn7g7hlSWhYEF02R8GBqE1ESrfcVR59uDqso7t3IeRKXBGdOFmVeAsE BlhhOXMM6we5Z0jBgPd73yXKMRKD46wIx00T8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=fznFL4Zh96JqLc3PyEWxapMhN7SpHOc4jHNWUeLb0gouoAIvUrdUmLaraoQ5+ik7O7 rNWpkvrplCx0dDHSQ2NGwaVEuwhiVWp+ItgJM88o70oIXXD2MKBtJuvUA9bAH/OPkZoJ rp4LmsOEHi3pg3PLUny341Nm9W+HxddHCDcCM= MIME-Version: 1.0 Date: Thu, 6 Jan 2011 11:14:50 +0100 Message-ID: Subject: matcher-list doesn't work with some completers? From: Mikael Magnusson To: zsh workers Content-Type: text/plain; charset=UTF-8 Hi, mkdir 'a directory' zsh -f autoload -Uz compinit; compinit -D zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' +'l:|=* r:|=*' ls dir #works du dir #nothing zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z} l:|=* r:|=*' ls dir #works du dir #works Obviously the latter style is useless in practice, but why doesn't the first one work always? The _mkdir completer has the same issue as _du, but _rar seems to work. I looked at them and I can't figure out what the difference is. This is not a new issue, but I'm not sure when it started happening. The _du in 4.3.6 works, but the _mkdir does not. Copying the older _du doesn't seem to make any difference so it is probably Something Else[tm]. -- Mikael Magnusson