From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: completing-read case problem Date: Mon, 15 Nov 2004 17:07:29 -0600 (CST) Message-ID: <200411152307.iAFN7TB06089@raven.dms.auburn.edu> References: <200411101929.iAAJThfq007309@haifa.math.ias.edu> <200411140703.iAE73Gd1019094@haifa.math.ias.edu> <200411151943.iAFJhYL6009036@haifa.math.ias.edu> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1100560140 4258 80.91.229.6 (15 Nov 2004 23:09:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Nov 2004 23:09:00 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 16 00:08:48 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 1CTpxn-0001XN-00 for ; Tue, 16 Nov 2004 00:08:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTq6W-0005LN-1N for ged-emacs-devel@m.gmane.org; Mon, 15 Nov 2004 18:17:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CTq6M-0005KQ-JT for emacs-devel@gnu.org; Mon, 15 Nov 2004 18:17:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CTq6L-0005Jg-Su for emacs-devel@gnu.org; Mon, 15 Nov 2004 18:17:38 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTq6L-0005JR-OX; Mon, 15 Nov 2004 18:17:37 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTpxT-0000tF-6o; Mon, 15 Nov 2004 18:08:27 -0500 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id iAFN8KFu022536; Mon, 15 Nov 2004 17:08:20 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id iAFN7TB06089; Mon, 15 Nov 2004 17:07:29 -0600 (CST) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: rost@ias.edu In-reply-to: <200411151943.iAFJhYL6009036@haifa.math.ias.edu> (message from Markus Rost on Mon, 15 Nov 2004 14:43:34 -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:29893 gmane.emacs.pretest.bugs:4686 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29893 Markus Rost wrote (in response to Stefan Monnier): > > With input "ABC" it returns "ABC", which I think is incorrect -- at > > least it may lead to surprises in programs which assume that the > > output of completing-read is always an exact member of TABLE, > > restricted by PREDICATE. > > Yes, we pretty much agreed to that in an earlier discussion this year. > Nobody has stepped forward with a patch for it, tho. > I guess you mean the discussion started with . I do not know whether that was what Stefan was referring to, but if I remember correctly, that thread was concerned with certain bugs concerning case that occurred for hash tables and obarrays, but not for lists. The bug there was that completion-ignore-case was ignored for hash tables and obarrays. It concerned finding a match when there was none and not finding one when there was one. I did install a fix for that problem. I did not follow this thread in detail, but I believe that what you are complaining about is the _case of the returned result_ if there is a match and the search is case insensitive. I do not believe that there still are problems with finding out correctly whether or not there is a match. (Unless I misunderstood.) Sincerely, Luc.