On Fri, Jun 3, 2011 at 00:41, Richard Riley <rile...@googlemail.com> wrote: > Nathan Nobbe <quickshif...@gmail.com> writes: > >> On Thu, Jun 2, 2011 at 4:01 PM, Philip Olson <phi...@roshambo.org> wrote: >> >>> >>> On Jun 2, 2011, at 2:46 PM, Richard Riley wrote: >>> >>> > Hannes Magnusson <hannes.magnus...@gmail.com> writes: >>> > >>> >> On Thu, Jun 2, 2011 at 21:03, Richard Riley <rile...@googlemail.com> >>> wrote: >>> >>> >>> >>> Could some kind soul advise me on how to install php docs localy and >>> >>> have the excellent patterns search work based on an sqllite database? >>> >> >>> >> https://wiki.php.net/doc/phd/view >>> >> >>> >> Please ask any followup questions on the proper mailinglist, >>> >> php...@lists.php.net for questions about the docs, or >>> >> php-webmas...@lists.php.net for questions about the website. >>> >> >>> > >>> > Yes, please excuse the wrong group. I realised that after posting. >>> >>> But while we're here, pman is another option: >>> >>> $ pear install phpdocs/pman >>> $ pman mysql_connect >>> >>> That'll show the mysql_connect() documentation as a local man page. >>> >> >> not to shabby ;) >> >> and to Richard's question about search the -K option may be just the ticket. >> >> -nathan > > All very nice - thanks for the info. And if anyone has an emacs > interface to this please drop me a line .
(setq manual-program "./pman") (global-set-key [(f1)] (lambda () (interactive) (manual-entry (current-word)))) That will map F1 to the man page under the current word (thanks to cweiske@). For vi: set keywordprg=pman and then hit shift+k over a function. -Hannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php