From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#11360: ERC completion case-sensitive Date: Sat, 06 Feb 2016 14:17:30 +1100 Message-ID: <877fiile7p.fsf@gnus.org> 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 1454728706 29878 80.91.229.3 (6 Feb 2016 03:18:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Feb 2016 03:18:26 +0000 (UTC) Cc: 11360@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 06 04:18:14 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 1aRtO2-0003vT-7X for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Feb 2016 04:18:14 +0100 Original-Received: from localhost ([::1]:51405 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRtNx-00050F-Ql for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Feb 2016 22:18:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRtNu-000509-Bx for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 22:18:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRtNr-0004MC-5r for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 22:18:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54623) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRtNr-0004M8-2N for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 22:18:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aRtNq-00088t-P9 for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 22:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Feb 2016 03:18: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 Original-Received: via spool by 11360-submit@debbugs.gnu.org id=B11360.145472867831282 (code B ref 11360); Sat, 06 Feb 2016 03:18:02 +0000 Original-Received: (at 11360) by debbugs.gnu.org; 6 Feb 2016 03:17:58 +0000 Original-Received: from localhost ([127.0.0.1]:34979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRtNl-00088U-TY for submit@debbugs.gnu.org; Fri, 05 Feb 2016 22:17:58 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:41295) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRtNk-00088N-UO for 11360@debbugs.gnu.org; Fri, 05 Feb 2016 22:17:57 -0500 Original-Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aRtNO-0005Rz-Ur; Sat, 06 Feb 2016 04:17:35 +0100 In-Reply-To: (Stefan Monnier's message of "Fri, 05 Feb 2016 08:38:16 -0500") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aRtNO-0005Rz-Ur MailScanner-NULL-Check: 1455333455.74993@aJf0reJIwATz1x5ltmN6kQ 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:112543 Archived-At: Stefan Monnier writes: >> 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? irc retains case, but it doesn't use it to distinguish. That is, if you have a nick "Larsi", you can't have a nick "larsi". -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no