From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: Re: Apropos scoring Date: Sat, 12 Jul 2003 11:16:46 +0200 Organization: University of Duisburg, Germany Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <844r1s3y0x.fsf@lucy.is.informatik.uni-duisburg.de> References: <84znkk1jcl.fsf@lucy.is.informatik.uni-duisburg.de> <5x8yr4o7vk.fsf@kfs2.cua.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1058001722 6915 80.91.224.249 (12 Jul 2003 09:22:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 12 Jul 2003 09:22:02 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Jul 12 11:22:01 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19bGZt-0001nO-00 for ; Sat, 12 Jul 2003 11:22:01 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19bGm6-0003F1-00 for ; Sat, 12 Jul 2003 11:34:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19bGXP-0006fe-8U for emacs-devel@quimby.gnus.org; Sat, 12 Jul 2003 05:19:27 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19bGVS-0004gq-GU for emacs-devel@gnu.org; Sat, 12 Jul 2003 05:17:26 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19bGV9-00040i-TQ for emacs-devel@gnu.org; Sat, 12 Jul 2003 05:17:08 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19bGUt-0003eC-5X for emacs-devel@gnu.org; Sat, 12 Jul 2003 05:16:51 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19bGU3-0001Wx-00 for ; Sat, 12 Jul 2003 11:15:59 +0200 Mail-Followup-To: emacs-devel@gnu.org X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19bGU2-0001Wn-00 for ; Sat, 12 Jul 2003 11:15:58 +0200 Original-Lines: 25 Original-X-Complaints-To: usenet@main.gmane.org Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:dMasP9IKVc9SXzf6Yts93ETkhfA= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15561 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15561 storm@cua.dk (Kim F. Storm) writes: > C-h C-a gives you genuine scores (and hits sorted accordingly). > > M-x apropos-documentation also does scoring. > > M-x apropos doesn't do any scoring (so the list of matching symbols is > sorted alphabetically). > > > The "fix" to `apropos' is simple (see patch below), but I'm not sure I > like it, as just scoring on the symbol name itself really doesn't give > you a lot... IMO, the lexical ordering is better for this purpose... Hm. C-h a is apropos-command, which I think also searches the symbol names, just like apropos does. So why have scoring for apropos-command but not for apropos? If I am allowed to dream, the best would be to always have scoring, but to allow for sorting the output in different ways. Sort by score and sort by name would be the two obvious sorting methods. Would that be difficult to do? -- ~/.signature