From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#3717: M-x man completion Date: Fri, 27 Nov 2009 00:36:23 +0200 Organization: JURTA Message-ID: <878wdskj6g.fsf@mail.jurta.org> References: <87bpo6p3de.fsf@turtle.gmx.de> <87ab3pfqj0.fsf@jidanni.org> <87ocmsqa7z.fsf@mail.jurta.org> <87d4364lmh.fsf@mail.jurta.org> <87bpiqtde7.fsf@blah.blah> <87aay94ouh.fsf@mail.jurta.org> <87einl54kb.fsf@blah.blah> Reply-To: Juri Linkov , 3717@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1259276879 25192 80.91.229.12 (26 Nov 2009 23:07:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Nov 2009 23:07:59 +0000 (UTC) Cc: 3717@emacsbugs.donarmstrong.com, Stefan Monnier , jidanni@jidanni.org To: Kevin Ryde Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 27 00:07:51 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 1NDnRH-0004Mj-4T for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Nov 2009 00:07:51 +0100 Original-Received: from localhost ([127.0.0.1]:51415 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDnRG-00035V-Id for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Nov 2009 18:07:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDnQx-00030K-1O for bug-gnu-emacs@gnu.org; Thu, 26 Nov 2009 18:07:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDnQs-0002zF-8M for bug-gnu-emacs@gnu.org; Thu, 26 Nov 2009 18:07:30 -0500 Original-Received: from [199.232.76.173] (port=59368 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDnQr-0002yz-Vp for bug-gnu-emacs@gnu.org; Thu, 26 Nov 2009 18:07:26 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56853) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NDnQr-0008Pw-4u for bug-gnu-emacs@gnu.org; Thu, 26 Nov 2009 18: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 nAQN7MFo012575; Thu, 26 Nov 2009 15:07:23 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nAQMo671010452; Thu, 26 Nov 2009 14:50:06 -0800 Resent-Date: Thu, 26 Nov 2009 14:50:06 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Juri Linkov Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 26 Nov 2009 22:50:06 +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.12592753249881 (code B ref 3717); Thu, 26 Nov 2009 22:50:06 +0000 Original-Received: (at 3717) by emacsbugs.donarmstrong.com; 26 Nov 2009 22:42:04 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mx1.starman.ee (smtp-out3.starman.ee [85.253.0.5]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAQMg2Zb009869 for <3717@emacsbugs.donarmstrong.com>; Thu, 26 Nov 2009 14:42:04 -0800 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.35.21.cable.starman.ee [82.131.35.21]) by mx1.starman.ee (Postfix) with ESMTP id 3D3A53F4132; Fri, 27 Nov 2009 00:41:55 +0200 (EET) In-Reply-To: <87einl54kb.fsf@blah.blah> (Kevin Ryde's message of "Fri, 27 Nov 2009 09:01:08 +1100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 26 Nov 2009 18: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:32964 Archived-At: >> For manual names that belong only to one section, removing the section >> name would be ok. > > Yep, that's what I've got, to declutter. But then you don't see additional information about section names that may help to select the necessary manual. So I tend to agree with your implementation in man-completion.el that provides completions in 3 formats: without a section name, with the section name appended in parens, and prepended at the beginning: "chmod" "chmod (1)" "chmod (2)" "1 chmod" "2 chmod" -- Juri Linkov http://www.jurta.org/emacs/