Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: Re: Case-insensitive conmpletion in configure
- X-seq: zsh-workers 12105
 
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
 
- To: zsh-workers@xxxxxxxxxxxxxx
 
- Subject: PATCH: Re: Case-insensitive conmpletion in configure
 
- Date: Wed, 28 Jun 2000 11:41:34 +0200 (MET DST)
 
- In-reply-to: "Andrej Borsenkow"'s message of Wed, 28 Jun 2000 13:17:41 +0400
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
 
Andrej Borsenkow wrote:
> With this style
> 
> zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}' 'm:{a-z}={A-Z}
> r:|[._-]=* r:|=*' 'm:{a-z}={A-Z} r:|[.-]=** r:|=**'
> 
> and the following --help output of fetchmail configure
> 
> ...
> 
> I get
> 
> bor@itsrm2% CFLAGS=-O ./configure --prefix=/tools --en-ntTAB
> Completing no arguments
> 
> I'd expect it to complete --enable-NTLM?
Ugh. A bit of confusion about messages generated for one of the
intermediate match specs.
Bye
 Sven
Index: Completion/Core/_main_complete
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Core/_main_complete,v
retrieving revision 1.31
diff -u -r1.31 _main_complete
--- Completion/Core/_main_complete	2000/06/27 15:05:33	1.31
+++ Completion/Core/_main_complete	2000/06/28 09:40:07
@@ -144,6 +144,7 @@
 
   _matcher_num=1
   for _matcher in "$_matchers[@]"; do
+    _comp_mesg=
     if [[ -n "$call" ]]; then
       if "${(@)argv[3,-1]}"; then
         ret=0
--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author