From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#3717: M-x man completion Date: Fri, 27 Nov 2009 10:47:08 +0200 Message-ID: <83ws1cmk1f.fsf@gnu.org> References: <87bpo6p3de.fsf@turtle.gmx.de> <87ab3pfqj0.fsf@jidanni.org> <87ocmsqa7z.fsf@mail.jurta.org> <87k4xf4jjy.fsf@blah.blah> <83638znsix.fsf@gnu.org> <87fx82tdw7.fsf@blah.blah> <83zl69nchi.fsf@gnu.org> <87iqcx55or.fsf@blah.blah> Reply-To: Eli Zaretskii , 3717@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1259312869 29868 80.91.229.12 (27 Nov 2009 09:07:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Nov 2009 09:07:49 +0000 (UTC) Cc: 3717@emacsbugs.donarmstrong.com To: Kevin Ryde Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 27 10:07:38 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NDwng-00023i-Pj for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Nov 2009 10:07:37 +0100 Original-Received: from localhost ([127.0.0.1]:41422 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDwng-0003Nj-C7 for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Nov 2009 04:07:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDwnb-0003NT-8D for bug-gnu-emacs@gnu.org; Fri, 27 Nov 2009 04:07:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDwnV-0003Iu-V6 for bug-gnu-emacs@gnu.org; Fri, 27 Nov 2009 04:07:30 -0500 Original-Received: from [199.232.76.173] (port=55573 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDwnV-0003Ie-N7 for bug-gnu-emacs@gnu.org; Fri, 27 Nov 2009 04:07:25 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56116) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NDwnV-0004TG-0V for bug-gnu-emacs@gnu.org; Fri, 27 Nov 2009 04:07:25 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAR97MDN000454; Fri, 27 Nov 2009 01:07:22 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nAR8o5wP030794; Fri, 27 Nov 2009 00:50:05 -0800 Resent-Date: Fri, 27 Nov 2009 00:50:05 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 27 Nov 2009 08:50:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3717 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3717-submit@emacsbugs.donarmstrong.com id=B3717.125931163130583 (code B ref 3717); Fri, 27 Nov 2009 08:50:05 +0000 Original-Received: (at 3717) by emacsbugs.donarmstrong.com; 27 Nov 2009 08:47:11 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mtaout21.012.net.il (mtaout21.012.net.il [80.179.55.169]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAR8l9Ju030578 for <3717@emacsbugs.donarmstrong.com>; Fri, 27 Nov 2009 00:47:11 -0800 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0KTR00E00EYKJA00@a-mtaout21.012.net.il> for 3717@emacsbugs.donarmstrong.com; Fri, 27 Nov 2009 10:47:03 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.70.37.193]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KTR00E80F2BAD10@a-mtaout21.012.net.il>; Fri, 27 Nov 2009 10:47:00 +0200 (IST) In-reply-to: <87iqcx55or.fsf@blah.blah> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 27 Nov 2009 04:07:30 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32981 Archived-At: > From: Kevin Ryde > Cc: 3717@emacsbugs.donarmstrong.com > Date: Fri, 27 Nov 2009 08:36:52 +1100 > > Eli Zaretskii writes: > > > > It could be, but it also isn't universally available, especially if > > you are on a non-Posix platform. > > I see V7 doesn't have either :-) > > http://plan9.bell-labs.com/7thEdMan/index.html > > but that -k is in posix (and specified as an ERE regexp, answering a > comment Stefan put), > > http://www.opengroup.org/onlinepubs/009695399/utilities/man.html Emacs doesn't (and shouldn't, IMO) require Posix to work well. > > Ideally, `man' should test what's available, like `grep' does, and if > > nothing is, simply not provide this feature. > > I'd be open to ideas for my code at least, as long as it's not merely > defunct cp/m derivatives where there's a potential problem :). I'm not sure I understand the remark, but how about searching MANPATH directories ourselves? That would be much more portable, I think.