Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: xmllint completion



On Tue, Feb 18, 2003 at 11:35:00AM +0100, Oliver Kiddle wrote:
> On 18 Feb, Doug Kearns wrote:
> > 
> > Here's a new completion function for xmllint which comes with the
> > libxml2 library - http://xmlsoft.org/
> 
> Thanks, I've added this. We should perhaps clump it together with
> _xsltproc in an _xmlsoft (any views?). An xmlcatalog completion if/when
> written could go in there too.

This sounds like a good idea to me.
 
> On 4.1 only, I'll apply the following patch on top of it. It just makes
> it call _webbrowser (formerly would have been _urls -f; see 16323)
> instead of repeating the content of _webbrowser in a state. 16323 is not
> on 4.0 so I'll just add in the missing `local state line
> curcontext="$curcontext"' and _arguments -C for 4.0.

Sorry. I'd been using '_urls -f' when I realised it was no more and added
the state - forgetting, of course, to add those lines.

Maybe _webbrowser should be made a 'Type' and named something a little
more general?

Thanks,
Doug



Messages sorted by: Reverse Date, Date, Thread, Author