From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8654 invoked from network); 4 May 2000 20:45:47 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 4 May 2000 20:45:47 -0000 Received: (qmail 4779 invoked by alias); 4 May 2000 20:43:27 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11166 Received: (qmail 4706 invoked from network); 4 May 2000 20:43:23 -0000 To: zsh-workers@sunsite.auc.dk Subject: Re: PATCH: Re: sudo completion problem References: <200005041340.PAA08620@beta.informatik.hu-berlin.de> MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII From: Tanaka Akira Date: 05 May 2000 05:40:40 +0900 In-Reply-To: (Tanaka Akira's message of "05 May 2000 05:12:32 +0900") Message-ID: User-Agent: T-gnus/6.14.1 (based on Gnus v5.8.3) (revision 16) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/20.6 (i686-pc-linux-gnu) MULE/4.0 (HANANOEN) In article , Tanaka Akira writes: > + : "$_ra_actions[@]" Oops. Debugging code is remained. Index: Completion/Base/_regex_arguments =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/Base/_regex_arguments,v retrieving revision 1.2 diff -u -r1.2 _regex_arguments --- Completion/Base/_regex_arguments 2000/05/04 20:16:09 1.2 +++ Completion/Base/_regex_arguments 2000/05/04 20:38:50 @@ -22,7 +22,7 @@ # pattern = "/" ( glob | "[]" ) "/" [ "+" | "-" ] # lookahead = "%" glob "%" # guard = "-" zsh-code-to-eval -# caction = ":" zsh-code-to-eval +# caction = ":" tag ":" descr ":" zsh-code-to-eval # action = "{" zsh-code-to-eval "}" ## regex word sequence definition: @@ -81,7 +81,6 @@ _ra_left="$_ra_line[_ra_p1 + 1, _ra_p2]" _ra_right="$_ra_line[_ra_p2 + 1, -1]" compset -p $(( $#PREFIX - $#_ra_line + $_ra_p1 )) - : "$_ra_actions[@]" tmp=("${(@)_ra_actions%%:*}") if (( $#tmp )); then _tags "$tmp[@]" -- Tanaka Akira