From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#11360: ERC completion case-sensitive Date: Fri, 05 Feb 2016 08:38:16 -0500 Message-ID: References: <87397ppa5h.fsf@gmail.com> <87zk9n6p9d.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454679568 25535 80.91.229.3 (5 Feb 2016 13:39:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Feb 2016 13:39:28 +0000 (UTC) To: 11360@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 05 14:39:16 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aRgbR-0007pI-DQ for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Feb 2016 14:39:13 +0100 Original-Received: from localhost ([::1]:48364 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRgbN-0001YC-N0 for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Feb 2016 08:39:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50421) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRgbK-0001Wy-Hf for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 08:39:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRgbG-00077v-Ge for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 08:39:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52575) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRgbG-00077r-DR for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 08:39:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aRgbG-0007Ch-8l for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 08:39:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Feb 2016 13:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11360 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.145467951127636 (code B ref -1); Fri, 05 Feb 2016 13:39:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Feb 2016 13:38:31 +0000 Original-Received: from localhost ([127.0.0.1]:32928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRgak-0007Bg-NJ for submit@debbugs.gnu.org; Fri, 05 Feb 2016 08:38:30 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59221) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRgai-0007BS-Dv for submit@debbugs.gnu.org; Fri, 05 Feb 2016 08:38:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRgac-00070u-KR for submit@debbugs.gnu.org; Fri, 05 Feb 2016 08:38:23 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:53454) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRgac-00070q-HZ for submit@debbugs.gnu.org; Fri, 05 Feb 2016 08:38:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRgab-0001PU-M3 for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 08:38:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRgaX-00070E-MO for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 08:38:21 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:10886) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRgaX-000705-Hh for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 08:38:17 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0ArEwA731xV/96XpUVcgxCEAoVVuzcJh0sEAgKBPDkUAQEBAQEBAYEKQQWDXQEBAwFWKAsLNBIUGA2IWwjPIwEBCAIgizqFDBaEFwWMMKcPgUUjYYEFgjAggngBAQE X-IPAS-Result: A0ArEwA731xV/96XpUVcgxCEAoVVuzcJh0sEAgKBPDkUAQEBAQEBAYEKQQWDXQEBAwFWKAsLNBIUGA2IWwjPIwEBCAIgizqFDBaEFwWMMKcPgUUjYYEFgjAggngBAQE X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="192466723" Original-Received: from 69-165-151-222.dsl.teksavvy.com (HELO pastel.home) ([69.165.151.222]) by ironport2-out.teksavvy.com with ESMTP; 05 Feb 2016 08:38:16 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 83BDD602B9; Fri, 5 Feb 2016 08:38:16 -0500 (EST) In-Reply-To: <87zk9n6p9d.fsf@gmail.com> (Antoine Levitt's message of "Sat, 05 May 2012 09:49:50 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:112488 Archived-At: > erc-completion-ignore-case or completion-ignore-case is t. A specific > setting seems like a good idea because presumably some people will want > case-insensitive completion in erc but not elsewhere. There are 2 notions of "case-sensitivity" when it comes to completion: - whether the case is semantically significant in the end result (i.e. is "FirstName" another user than "firstname"?). - whether the user wants "FirstName" be considered as a valid candidate for completion of "fir". The current completion code somewhat conflates the two, but in terms of "what should Emacs do" the difference is important. Of course, the second consideration only applies when the first is true. So: is the case semantically significant, here? Stefan