From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: completion-regexp-list and case-fold-search Date: Sun, 4 Jan 2004 22:17:29 -0600 (CST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200401050417.i054HTW06220@raven.dms.auburn.edu> References: <200401010317.i013H4Q00357@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1073276441 2427 80.91.224.253 (5 Jan 2004 04:20:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Jan 2004 04:20:41 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Jan 05 05:20:33 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AdMED-0008WK-00 for ; Mon, 05 Jan 2004 05:20:33 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AdMED-0001tw-00 for ; Mon, 05 Jan 2004 05:20:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AdNAO-0005M2-3I for emacs-devel@quimby.gnus.org; Mon, 05 Jan 2004 00:20:40 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AdN9w-00058j-3T for emacs-devel@gnu.org; Mon, 05 Jan 2004 00:20:12 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AdN9H-00045h-AI for emacs-devel@gnu.org; Mon, 05 Jan 2004 00:20:02 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AdN8k-0003G4-Jx; Mon, 05 Jan 2004 00:18:58 -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 i054HwKk013908; Sun, 4 Jan 2004 22:17:58 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id i054HTW06220; Sun, 4 Jan 2004 22:17:29 -0600 (CST) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Sun, 04 Jan 2004 22:41:06 -0500) 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:19008 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19008 Richard Stallman wrote: 1. Make all the basic minibuffer completion functions bind `case-fold-search' to the value of `completion-ignore-case' around all calls to `{try,test}-completion' and `all-completions', as `partial-completion-mode' already does. That would be incorrect, since it would distort the behavior of many user commands in the minibuffer. Do we want to go for (1) or (2)? With (1) we are absolutely certain that we do not break any code that was not already broken. (Because all we do is make both values of `partial-completion-mode' consistent.) Are you saying that partial-completion-mode does something analogous to #1? If so, I think that is a bug, and we should replace that with something analogous to #2. I believe you misunderstood both proposal (1) and the behavior of partial-completion-mode. They bind `case-fold-search' _only_ immediately around the calls to the basic completion functions. During the recursive edit, the user customized value of `case-fold-search' is in effect, in the minibuffer as elsewhere. Nevertheless, I believe that proposal (2) is more intuitive, much easier to document, and less prone to all kinds of bugs. So I will implement proposal (2). Sincerely, Luc.