From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: case-insensitive if no insensitive dups? Date: Sun, 8 Jun 2008 23:38:44 -0700 Message-ID: <001601c8c9fb$774b58a0$0200a8c0@us.oracle.com> References: <002201c8c986$68802b90$0200a8c0@us.oracle.com><002501c8c98f$d66552d0$0200a8c0@us.oracle.com><85lk1f94vr.fsf@lola.goethe.zz> <85hcc39455.fsf@lola.goethe.zz><000101c8c99c$db56a930$0200a8c0@us.oracle.com><000301c8c9a1$486e87a0$0200a8c0@us.oracle.com><000c01c8c9c2$5131dd80$0200a8c0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1212993646 6624 80.91.229.12 (9 Jun 2008 06:40:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Jun 2008 06:40:46 +0000 (UTC) Cc: 'Emacs-Devel' To: "'Stefan Monnier'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 09 08:41:29 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K5b4H-0007nG-GB for ged-emacs-devel@m.gmane.org; Mon, 09 Jun 2008 08:41:25 +0200 Original-Received: from localhost ([127.0.0.1]:54457 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5b3U-0007Ul-Bt for ged-emacs-devel@m.gmane.org; Mon, 09 Jun 2008 02:40:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K5b37-0007E7-N9 for emacs-devel@gnu.org; Mon, 09 Jun 2008 02:40:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K5b35-0007Cr-K1 for emacs-devel@gnu.org; Mon, 09 Jun 2008 02:40:12 -0400 Original-Received: from [199.232.76.173] (port=57209 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5b35-0007CN-34 for emacs-devel@gnu.org; Mon, 09 Jun 2008 02:40:11 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]:21480) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K5b34-000254-Ll for emacs-devel@gnu.org; Mon, 09 Jun 2008 02:40:10 -0400 Original-Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.186.110]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m596e7Rx020003; Mon, 9 Jun 2008 00:40:07 -0600 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m594NqWU020240; Mon, 9 Jun 2008 00:40:07 -0600 Original-Received: from inet-141-146-46-1.oracle.com by acsmt350.oracle.com with ESMTP id 3688510821212993518; Sun, 08 Jun 2008 23:38:38 -0700 Original-Received: from dradamslap1 (/24.5.171.3) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 08 Jun 2008 23:38:38 -0700 X-Mailer: Microsoft Office Outlook 11 In-reply-to: Thread-Index: AcjJ02wpQj105eQ0T2mMmRM71xXWQgAJBbiw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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: news.gmane.org gmane.emacs.devel:98765 Archived-At: > > Here's a crazy idea. > > Whenever there are no completion candidates that differ > > only by case, treat completion as case-insensitive. > > Even when the governing variables (e.g. > > I don't consider myself as crazy, but I've already several times > considered doing just that. I haven't tried to code it up yet, tho. Glad to hear it. I will think about it also. Maybe one of us (someone) will get around to trying something out. Some care needs to be taken to allow user control over this, IMO - exceptions, etc. The last thing we would want is something that doesn't let you impose case-sensitive matching when you are sure that is what you want. IOW, we shouldn't assume you necessarily want generous matching - you might sometimes want completion to fail if there is no case-sensitive match.