From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3319 invoked from network); 10 Mar 2000 09:54:47 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 10 Mar 2000 09:54:47 -0000 Received: (qmail 20404 invoked by alias); 10 Mar 2000 09:54:39 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10044 Received: (qmail 20396 invoked from network); 10 Mar 2000 09:54:38 -0000 Date: Fri, 10 Mar 2000 10:54:32 +0100 (MET) Message-Id: <200003100954.KAA03102@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: "Bart Schaefer"'s message of Thu, 9 Mar 2000 18:43:05 +0000 Subject: Re: ${_comps[(K)*diff*]} Bart Schaefer wrote: > On Mar 9, 7:50pm, Andrej Borsenkow wrote: > } Subject: ${_comps[(K)*diff*]} > } > } Do I miss something? > } > } bor@itsrm2% print ${_comps[(R)*diff*]} > } _diff _diff > } bor@itsrm2% print ${_comps[(K)*diff*]} > } === nothing === > > What you miss is that [(k)...] and [(K)...] don't do pattern-matching > on the keys. I have an idea what's going wrong, but I don't have time > to fix it right now. (I don't see anything wrong here, what am I missing?) But this made me notice that we have _use_lo as the default completion function for gdiff. This was an oversight, right? Bye Sven diff -ru ../z.old/Completion/User/_diff Completion/User/_diff --- ../z.old/Completion/User/_diff Fri Mar 10 10:29:21 2000 +++ Completion/User/_diff Fri Mar 10 10:53:01 2000 @@ -1,3 +1,3 @@ -#compdef diff +#compdef diff gdiff _diff_options ':original file:_files' ':new file:_files' diff -ru ../z.old/Completion/User/_use_lo Completion/User/_use_lo --- ../z.old/Completion/User/_use_lo Fri Mar 10 10:29:27 2000 +++ Completion/User/_use_lo Fri Mar 10 10:52:56 2000 @@ -1,4 +1,4 @@ -#compdef gls gdiff +#compdef gls # This is for GNU-like commands which understand the --help option, # but which do not otherwise require special completion handling. -- Sven Wischnowsky wischnow@informatik.hu-berlin.de