From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: completing-read case problem Date: Mon, 15 Nov 2004 09:00:20 -0500 Message-ID: References: <200411101929.iAAJThfq007309@haifa.math.ias.edu> <200411140703.iAE73Gd1019094@haifa.math.ias.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1100527436 4014 80.91.229.6 (15 Nov 2004 14:03:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Nov 2004 14:03:56 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 15 15:03:45 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CThSK-0003N8-00 for ; Mon, 15 Nov 2004 15:03:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CThb1-0006cD-Pp for ged-emacs-devel@m.gmane.org; Mon, 15 Nov 2004 09:12:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CThZ7-0005HO-Ka for emacs-devel@gnu.org; Mon, 15 Nov 2004 09:10:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CThZ6-0005Gt-JF for emacs-devel@gnu.org; Mon, 15 Nov 2004 09:10:44 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CThZ6-0005Gc-CS for emacs-devel@gnu.org; Mon, 15 Nov 2004 09:10:44 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CThQ0-0002Ne-MD for emacs-devel@gnu.org; Mon, 15 Nov 2004 09:01:21 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1CThP2-0003U1-E4; Mon, 15 Nov 2004 09:00:20 -0500 Original-To: Markus Rost In-reply-to: <200411140703.iAE73Gd1019094@haifa.math.ias.edu> (message from Markus Rost on Sun, 14 Nov 2004 02:03:16 -0500) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:29871 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29871 > It is unreasonable to use a case-sensitive predicate with > completion-ignore-case non-nil. But it can be inconvenient if one has to avoid using a case-sensitive predicate. Not very much. You just have to downcase the string first. It would be inconvenient to change Emacs to remove this requirement, and I don't have time to even think about it. You get a buffer "*Customize Group: Mouse*" showing no members of the (non-empty) group 'mouse -- which is not what is intended. This problem appears because of completing-read with non-nil completion-ignore-case in customize-group. completing-read returns "Mouse", which is not the symbol-name of group 'mouse. There are two ways to fix this: 1. Decide that case is significant in custom group names, and read them case-sensitively. 2. Decide that case is not significant in custom group names, and that they should all be lower case. Either one seems ok to me. What do others think?