From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Wolfgang Jenkner Newsgroups: gmane.emacs.bugs Subject: bug#10840: 24.0.93; No `man' command completion on Windows (using Cygwin for man pages) Date: Fri, 21 Dec 2012 19:11:50 +0100 Message-ID: <857gob2btx.fsf@iznogoud.viz> References: <66610117D7564FE49598FDDC6BCC8308@us.oracle.com> <83ehtrvqrl.fsf@gnu.org> <83d39bv5f7.fsf@gnu.org> <66FB0A16523D42EA93E4B808F0031C3F@us.oracle.com> <85d2yb1hiz.fsf@iznogoud.viz> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1356134582 1587 80.91.229.3 (22 Dec 2012 00:03:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Dec 2012 00:03:02 +0000 (UTC) Cc: 10840@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 22 01:03:16 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TmCYb-00005f-LT for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Dec 2012 01:03:13 +0100 Original-Received: from localhost ([::1]:42225 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TmCYN-0000L2-SD for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Dec 2012 19:02:59 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:52372) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TmCYH-0000Kx-Bp for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2012 19:02:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TmCYB-0007tJ-1S for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2012 19:02:53 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44483) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TmCYA-0007tF-U0 for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2012 19:02:46 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TmCYQ-0002tp-67 for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2012 19:03:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <66610117D7564FE49598FDDC6BCC8308@us.oracle.com> Resent-From: Wolfgang Jenkner Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Dec 2012 00:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10840 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10840-submit@debbugs.gnu.org id=B10840.135613457811132 (code B ref 10840); Sat, 22 Dec 2012 00:03:02 +0000 Original-Received: (at 10840) by debbugs.gnu.org; 22 Dec 2012 00:02:58 +0000 Original-Received: from localhost ([127.0.0.1]:54734 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TmCYL-0002tU-Dp for submit@debbugs.gnu.org; Fri, 21 Dec 2012 19:02:57 -0500 Original-Received: from mx14.lb01.inode.at ([62.99.145.16]:13703 helo=mx.inode.at) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TmCYI-0002tK-3Y for 10840@debbugs.gnu.org; Fri, 21 Dec 2012 19:02:55 -0500 Original-Received: from [91.119.206.19] (port=7829 helo=iznogoud.viz) by smartmx-14.inode.at with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1TmCY1-0004aZ-0i; Sat, 22 Dec 2012 01:02:37 +0100 Original-Received: from wolfgang by iznogoud.viz with local (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1TmCXy-0000Wz-HK; Sat, 22 Dec 2012 01:02:34 +0100 User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (berkeley-unix) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:68879 Archived-At: On Sat, Dec 15 2012, Wolfgang Jenkner wrote: > On Mon, Sep 17 2012, Drew Adams wrote: > >>> > $ man -k ^ >>> > ^: nothing appropriate >>> >>> I guess your `man' doesn't support this option, or maybe it needs for >>> you to create the apropos database. In any case, "M-x man" should >>> handle this kind of output gracefully, which it evidently doesn't. >> >> ping > > As Eli suggested, the question is if your man program supports the `-k' > option. > > If you don't have a `whatis' database you should have a `makewhatis' or > a `mandb' program to generate it. I suspect you have the man program from http://primates.ximian.com/~flucifredi/man/ In this case, essentially, "man -k ^" ends up calling "apropos ^", which gives this output if it can't find any `whatis' database file or all those files are empty. Otherwise, "man -k ^" works fine, even in the 1999 vintage man-1.5g. Also, `apropos' is a shell script, so you can easily inspect it and debug your `man' installation. > Hitting TAB (with no minibuffer input) completes the empty input to the > two chars `^:'. Thereafter I can do nothing with that. Whether I type > anything after the `^:' or not, TAB just completes to `^:'. The empty string is a prefix of "^:", > If I instead first type `l' (as in `ls') and then hit TAB, I get [No > match]. It doesn't seem to matter what I type in the minibuffer: TAB > always says [No match]. but "l" is not a prefix of "^l:".