From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: completion for perldoc
Date: Tue, 7 Sep 1999 10:59:21 +0200 (MET DST) [thread overview]
Message-ID: <199909070859.KAA03781@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Adam Spiers's message of Mon, 6 Sep 1999 19:21:31 +0100
Adam Spiers wrote:
> 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 :-(
>
> ...
>
> If you need any more debugging info, let me know. (Why are all the
> parameter lists empty?)
Yes I need more, namely the exact command line where you tried
completion. I've tested `perldoc' with completion after `-f', `-q',
and in a normal argument position and all this seems to work for me,
but I had to change `_perl_basepods' to use `whence -p basepod'
instead of `which ...' because I don't have `basepods'. I also had to
change `_perl_builtin_funcs' to use `command man ...' because I happen
to have a function called `man'.
About the argument lists: did you really compile the beast with
debugging? (`-ggdb' in your Makefile, or at least `-g'?)
Otherwise the backtrace seems very fishy, because `comp_setunset'
doesn't call `runshfunc'.
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~1999-09-07 8:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-09-07 8:59 Sven Wischnowsky [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-09-07 9:02 Sven Wischnowsky
1999-09-07 8:32 Sven Wischnowsky
1999-09-07 9:49 ` Adam Spiers
1999-09-06 11:37 Sven Wischnowsky
1999-09-06 18:18 ` Adam Spiers
1999-09-06 18:21 ` Adam Spiers
1999-09-07 8:57 ` Peter Stephenson
1999-09-07 9:18 ` Adam Spiers
1999-09-06 9:28 Sven Wischnowsky
1999-09-06 10:07 ` Adam Spiers
1999-09-05 21:38 Adam Spiers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199909070859.KAA03781@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).