From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2471 invoked from network); 6 Sep 1999 18:21:40 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 6 Sep 1999 18:21:40 -0000 Received: (qmail 7317 invoked by alias); 6 Sep 1999 18:21:32 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7673 Received: (qmail 7310 invoked from network); 6 Sep 1999 18:21:32 -0000 Date: Mon, 6 Sep 1999 19:21:31 +0100 From: Adam Spiers To: zsh-workers@sunsite.auc.dk Subject: Re: PATCH: completion for perldoc Message-ID: <19990906192131.C1322@thelonious.new.ox.ac.uk> Reply-To: Adam Spiers Mail-Followup-To: zsh-workers@sunsite.auc.dk References: <199909061137.NAA01937@beta.informatik.hu-berlin.de> <19990906191810.B1322@thelonious.new.ox.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <19990906191810.B1322@thelonious.new.ox.ac.uk>; from Adam Spiers, on thelonious on Mon, Sep 06, 1999 at 07:18:10PM +0100 Adam Spiers (adam@thelonious.new.ox.ac.uk) wrote: > _perldoc { > _arguments -s \ > '-h:help:' \ > '(-q)-f:Perl built-in function:_perl_builtin_funcs' \ > '(-f)-q:Perl FAQ keyword:' \ > '*:Perl pod pages:_perl_pods' > } > > _perl_pods { > local nm="$compstate[nmatches]" > > _perl_modules > _perl_basepods > _path_files -J "Perl modules and .pods" -/ -g '*.(pod|pm)' > > [[ nm -ne compstate[nmatches] ]] > } I forgot to say: this kills zsh :-( Core was generated by `/usr/src/redhat/BUILD/zsh-3.1.6/Src/zsh'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libdl.so.2...done. Reading symbols from /lib/libnsl.so.1...done. Reading symbols from /lib/libtermcap.so.2...done. Reading symbols from /lib/libc.so.6...done. Reading symbols from /lib/ld-linux.so.2...done. Reading symbols from /lib/libnss_files.so.2...done. Reading symbols from /usr/lib/zsh/3.1.6-pws-3/comp1.so...done. Reading symbols from /usr/lib/zsh/3.1.6-pws-3/zle.so...done. Reading symbols from /usr/lib/zsh/3.1.6-pws-3/compctl.so...done. Reading symbols from /usr/lib/zsh/3.1.6-pws-3/complist.so...done. #0 0x805ae09 in closemn () (gdb) bt #0 0x805ae09 in closemn () #1 0x805c8ad in execcmd () #2 0x805aa38 in execpline2 () #3 0x805a2bc in execpline () #4 0x8059ec7 in execlist () #5 0x805e853 in runshfunc () #6 0x4016d557 in comp_setunset () #7 0x805e803 in runshfunc () #8 0x805e685 in doshfunc () #9 0x805e348 in execshfunc () #10 0x805cb3c in execcmd () #11 0x805aa38 in execpline2 () #12 0x805a2bc in execpline () #13 0x8059ec7 in execlist () #14 0x805e853 in runshfunc () #15 0x4016d557 in comp_setunset () #16 0x805e803 in runshfunc () #17 0x805e685 in doshfunc () #18 0x805e348 in execshfunc () #19 0x805cb3c in execcmd () #20 0x805aa38 in execpline2 () #21 0x805a2bc in execpline () #22 0x8059ec7 in execlist () #23 0x805e853 in runshfunc () #24 0x4016d557 in comp_setunset () #25 0x805e803 in runshfunc () #26 0x805e685 in doshfunc () #27 0x805e348 in execshfunc () #28 0x805cb3c in execcmd () #29 0x805aa38 in execpline2 () #30 0x805a2bc in execpline () #31 0x8059ec7 in execlist () #32 0x805e853 in runshfunc () #33 0x4016d557 in comp_setunset () #34 0x805e803 in runshfunc () #35 0x805e685 in doshfunc () #36 0x805e348 in execshfunc () #37 0x805cb3c in execcmd () #38 0x805aa38 in execpline2 () #39 0x805a2bc in execpline () #40 0x8059ec7 in execlist () #41 0x805e853 in runshfunc () #42 0x4016d557 in comp_setunset () #43 0x805e803 in runshfunc () #44 0x805e685 in doshfunc () #45 0x805e348 in execshfunc () etc. etc. (this goes on for a very long time!) If you need any more debugging info, let me know. (Why are all the parameter lists empty?)