Newsgroups: php.doc,php.internals Path: news.php.net Xref: news.php.net php.doc:969382727 php.internals:52851 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84124 invoked from network); 3 Jun 2011 10:02:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Jun 2011 10:02:32 -0000 Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.54 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 74.125.82.54 mail-ww0-f54.google.com Received: from [74.125.82.54] ([74.125.82.54:37339] helo=mail-ww0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4F/81-08509-731B8ED4 for ; Fri, 03 Jun 2011 06:02:31 -0400 Received: by wwd20 with SMTP id 20so1423771wwd.11 for ; Fri, 03 Jun 2011 03:02:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=W85vUdGYl3H6IVXjdAYflvQ8ZVLqNOGfSfkwLTrLVcc=; b=rlHeTr1YGLcZjYH5ILA++qo+cS4HNV3WADBQCMVdN2mjtIJRPuqD7BST8KMAYH0qHm CBo+6xljbQVr0d3eJ92YSdZS7gX0B5PmH4X1bN9KfUT0aDyUERRsptQ3XjolxQlraL99 6Zgtcr4jpmublczNqkJnzDb0uTuJGxmXe2UT8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=EiX9iC2F/VUDbvKO+M2fSf/mhJkcSwEKLTVHEsjSoBij2gTKl8LG2SOaENoQeK+c5u zbZuLTSDoe3Ui7yrDyei24D3ibiqtFDxq/keyNLLbEu7JKpIxZujwl41B4Y5xhHVBFYL VvDvgU4MQrkVcMroW9Y86WH+KxuPzwjb5FuMA= MIME-Version: 1.0 Received: by 10.216.9.204 with SMTP id 54mr1706476wet.50.1307095347600; Fri, 03 Jun 2011 03:02:27 -0700 (PDT) Received: by 10.216.50.212 with HTTP; Fri, 3 Jun 2011 03:02:27 -0700 (PDT) In-Reply-To: References: <4F1A26B7-A17F-48E4-AAE0-0C735F89C69F@roshambo.org> Date: Fri, 3 Jun 2011 12:02:27 +0200 Message-ID: To: PHP Documentation ML , PHP Development Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Local PHP docs with search facility From: hannes.magnusson@gmail.com (Hannes Magnusson) On Fri, Jun 3, 2011 at 00:41, Richard Riley wrote: > Nathan Nobbe writes: > >> On Thu, Jun 2, 2011 at 4:01 PM, Philip Olson wrote= : >> >>> >>> On Jun 2, 2011, at 2:46 PM, Richard Riley wrote: >>> >>> > Hannes Magnusson writes: >>> > >>> >> On Thu, Jun 2, 2011 at 21:03, Richard Riley >>> wrote: >>> >>> >>> >>> Could some kind soul advise me on how to install php docs localy an= d >>> >>> have the excellent patterns search work based on an sqllite databas= e? >>> >> >>> >> https://wiki.php.net/doc/phd/view >>> >> >>> >> Please ask any followup questions on the proper mailinglist, >>> >> phpdoc@lists.php.net for questions about the docs, or >>> >> php-webmaster@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: >>> >>> =C2=A0$ pear install phpdocs/pman >>> =C2=A0$ 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 tic= ket. >> >> -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=3Dpman and then hit shift+k over a function. -Hannes