Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: completion for perldoc
- X-seq: zsh-workers 7673
- From: Adam Spiers <adam@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: completion for perldoc
- Date: Mon, 6 Sep 1999 19:21:31 +0100
- In-reply-to: <19990906191810.B1322@xxxxxxxxxxxxxxxxxxxxxxx>; from Adam Spiers, on thelonious on Mon, Sep 06, 1999 at 07:18:10PM +0100
- Mail-followup-to: zsh-workers@xxxxxxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <199909061137.NAA01937@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <19990906191810.B1322@xxxxxxxxxxxxxxxxxxxxxxx>
- Reply-to: Adam Spiers <adam@xxxxxxxxxx>
Adam Spiers (adam@xxxxxxxxxxxxxxxxxxxxxxx) 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?)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author