From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18151 invoked from network); 15 Apr 2002 18:23:00 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 15 Apr 2002 18:23:00 -0000 Received: (qmail 25436 invoked by alias); 15 Apr 2002 18:22:35 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4832 Received: (qmail 25425 invoked from network); 15 Apr 2002 18:22:35 -0000 To: Zsh Users' List Subject: Case-insensitive completion of files with matcher-list Mail-copies-to: nobody From: Hannu Koivisto Date: Mon, 15 Apr 2002 21:22:34 +0300 Message-ID: <87ofgk6cut.fsf@lynx.ionific.com> User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Hannu Koivisto Greetings, After reading the manual and the user's guide, I found that in order to get case-insensitive completion everywhere, one would use: zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' That works fine indeed, but what if I want case-insensitive completion only for files? After reading about contexts and fiddling with C-x h, I figured that zstyle ':completion:*:all-files' matcher-list 'm:{a-zA-Z}={A-Za-z}' should do the trick for at least echo and some other general cases (but not for example cvs), but that does not seem to affect anything; if I have file ChangeLog in the current directory and I say `echo cha', I don't get `echo ChangeLog'. Then again, the more I look at output of C-x h for various commands, I think I don't want to alter matcher-list for all-files tag even if it worked but for all stuff that _files function handles. Perhaps. In any case, how would I get matcher-list working with contexts that specify a tag or with a function such as _files that is used to generate completions in a specific context? -- Hannu Please don't send copies of list mail