From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26136 invoked from network); 17 Mar 2002 18:09:49 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 17 Mar 2002 18:09:49 -0000 Received: (qmail 8383 invoked by alias); 17 Mar 2002 18:09:41 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16849 Received: (qmail 8254 invoked from network); 17 Mar 2002 18:09:39 -0000 From: "Bart Schaefer" Message-Id: <1020317173746.ZM12141@candle.brasslantern.com> Date: Sun, 17 Mar 2002 17:37:45 +0000 X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.dk Subject: Something odd is going on with completion contexts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Here's output from the latest zsh in CVS: schaefer<500> ls tags in context :completion::complete:-s:: argument-rest options (_arguments _ls _dispatch) tags in context :completion::complete:-s:argument-rest: globbed-files (_files _arguments _ls _dispatch) Note that the context-or-command field of the context name string is `-s' when it should be `ls'. In fact, it's *always* `-s' no matter what the command name is: schaefer<500> gzip tags in context :completion::complete:-s:: argument-rest options (_arguments _gzip _dispatch) tags in context :completion::complete:-s:argument-rest: globbed-files (_files _gzip _dispatch) directories (_files _gzip _dispatch) all-files (_files _gzip _dispatch) schaefer<500> cvs up tags in context :completion::approximate-1:-s:: argument-rest options (_arguments _cvs _dispatch) tags in context :completion::approximate-1:-s:argument-rest: commands (_cvs_command _arguments _cvs _dispatch) tags in context :completion::approximate::: corrections original (_approximate) tags in context :completion::complete:-s:: argument-rest options (_arguments _cvs _cvs _dispatch) tags in context :completion::complete:-s:argument-rest: commands (_cvs_command _arguments _cvs _cvs _dispatch) -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net