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: Sat, 28 Nov 2009 19:56:38 +0200 Organization: JURTA Message-ID: <878wdqbjll.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> <878wdskj6g.fsf@mail.jurta.org> <87zl68514k.fsf@blah.blah> <87y6lsmjuz.fsf@mail.jurta.org> 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 1259432864 20468 80.91.229.12 (28 Nov 2009 18:27:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Nov 2009 18:27:44 +0000 (UTC) Cc: Kevin Ryde , jidanni@jidanni.org To: 3717@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 28 19:27:37 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 1NES1A-0000xH-JG for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Nov 2009 19:27:36 +0100 Original-Received: from localhost ([127.0.0.1]:34947 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NES1A-0000tY-2S for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Nov 2009 13:27:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NES15-0000so-LZ for bug-gnu-emacs@gnu.org; Sat, 28 Nov 2009 13:27:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NES11-0000rg-3B for bug-gnu-emacs@gnu.org; Sat, 28 Nov 2009 13:27:31 -0500 Original-Received: from [199.232.76.173] (port=59518 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NES11-0000rU-01 for bug-gnu-emacs@gnu.org; Sat, 28 Nov 2009 13:27:27 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:50066) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NES10-0004xP-B0 for bug-gnu-emacs@gnu.org; Sat, 28 Nov 2009 13:27:26 -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 nASIRMNX026979; Sat, 28 Nov 2009 10:27:24 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nASIP66f026692; Sat, 28 Nov 2009 10:25:06 -0800 Resent-Date: Sat, 28 Nov 2009 10:25: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: Sat, 28 Nov 2009 18:25: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.125943235326029 (code B ref 3717); Sat, 28 Nov 2009 18:25:06 +0000 Original-Received: (at 3717) by emacsbugs.donarmstrong.com; 28 Nov 2009 18:19:13 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mx2.starman.ee (smtp-out4.starman.ee [85.253.0.6]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nASIJBKh026025 for <3717@emacsbugs.donarmstrong.com>; Sat, 28 Nov 2009 10:19:13 -0800 X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Original-Received: from mail.starman.ee (82.131.33.180.cable.starman.ee [82.131.33.180]) by mx2.starman.ee (Postfix) with ESMTP id 0CCD23F4103; Sat, 28 Nov 2009 20:19:04 +0200 (EET) In-Reply-To: <87y6lsmjuz.fsf@mail.jurta.org> (Juri Linkov's message of "Fri, 27 Nov 2009 11:01:00 +0200") 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: Sat, 28 Nov 2009 13:27:31 -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:33015 Archived-At: >>> But then you don't see additional information about section names that >>> may help to select the necessary manual. >> >> You mean on a unique name, like say "gunzip"? I wasn't terribly >> interested in the section number as a suffix if it's unique. > > You are not interested in the section number for "gunzip" because you > already know that it's a command name. I'm not interested in the > section number for known commands too. > > But in the rest 90% cases, I would be terribly interested in the section > number to know if the unique name belongs to 3erl or 3form or 3menu or 3nas > or 3ncurses or 3perl or 3pm or 3readline or 3ssl or 3tiff or 3x. I think with the Stefan's 2009-11-27 change we have almost perfect implementation. After typing `M-x man RET gunzip TAB' it stops at "gunzip", not at "gunzip(1)" (that you can get with another TAB). That's nice. The only problem I see is with the "2 chmod" format completion. Currently it's too difficult to use it. Let's see: M-x man RET 2 TAB [No match] Another attempt: M-x man RET 2 SPC [No match] Only after quoting SPC you get a list of completions for the section 2: M-x man RET 2 C-q SPC TAB I think it would be fine to list manuals of the section 2 after: M-x man RET 2 TAB because manual names that begin with a digit are very rare. Here I can find only one such command - "7z". We could add this sole name to the list of manuals from the section 7 on typing M-x man RET 7 TAB -- Juri Linkov http://www.jurta.org/emacs/