From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.emacs.devel Subject: Re: info-lookup-symbol index case sensitivity Date: Sat, 07 Dec 2002 10:36:23 +1000 Sender: emacs-devel-admin@gnu.org Message-ID: <877kemsm0o.fsf@zip.com.au> References: <87bs42ab5k.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1039222006 418 80.91.224.249 (7 Dec 2002 00:46:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 7 Dec 2002 00:46:46 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18KT7F-00006b-00 for ; Sat, 07 Dec 2002 01:46:45 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18KTG6-00052E-00 for ; Sat, 07 Dec 2002 01:55:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18KSys-0002Xc-00; Fri, 06 Dec 2002 19:38:06 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18KSyY-00029o-00 for emacs-devel@gnu.org; Fri, 06 Dec 2002 19:37:46 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18KSyV-00026b-00 for emacs-devel@gnu.org; Fri, 06 Dec 2002 19:37:45 -0500 Original-Received: from sunny.pacific.net.au ([203.25.148.40]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18KSyU-00026X-00 for emacs-devel@gnu.org; Fri, 06 Dec 2002 19:37:43 -0500 Original-Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72]) by sunny.pacific.net.au with ESMTP id gB70bcp4012053 for ; Sat, 7 Dec 2002 11:37:39 +1100 (EST) Original-Received: from localhost (ppp18.dyn228.pacific.net.au [203.143.228.18]) by wisma.pacific.net.au with ESMTP id LAA28368 for ; Sat, 7 Dec 2002 11:37:36 +1100 (EST) Original-Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 18KSxE-0000Mx-00; Sat, 07 Dec 2002 10:36:24 +1000 Original-To: emacs-devel@gnu.org In-Reply-To: (Richard Stallman's message of "Thu, 05 Dec 2002 10:09:10 -0500") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.1 (i386-debian-linux-gnu) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:9945 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9945 Richard Stallman writes: > > It is a good thing for index search to ignore case. That should make > it far easier to use, especially for beginners. As for occasional > conflicts, that is less of an issue. But I would assert that if I ask for "C-h C-i FOO" then I should be shown the doco for "FOO" and not for "foo". I'm pretty sure this is just a matter of the second visit to the index nodes being case insensitive whereas the first visit (building the cache) was sensitive. (Arguably the cache would be better off holding the actual target node name, rather than re-scanning the indexes to get it. Might use up a bit more memory though.) A nice way to establish some leeway for case, in a case sensitive mode, might be to look first for a symbol in the case given, and if that fails then look again with a case-fold.