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: Case sensitive ERC nick completion regression Date: Thu, 04 Feb 2016 17:45:36 +1100 Message-ID: <87lh71ynvz.fsf@gnus.org> References: <87397ppa5h.fsf@gmail.com> <20130701085213.04096132@anarchist> <87h9j38txa.fsf@gnus.org> <20160112140239.7a78def9@limelight.wooz.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454568445 25788 80.91.229.3 (4 Feb 2016 06:47:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Feb 2016 06:47:25 +0000 (UTC) Cc: 11360@debbugs.gnu.org, Stefan Monnier To: Barry Warsaw Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 04 07:47:13 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 1aRDhA-0004ab-4P for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Feb 2016 07:47:12 +0100 Original-Received: from localhost ([::1]:39905 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRDh9-0003uU-DX for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Feb 2016 01:47:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60435) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRDh5-0003uM-CP for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 01:47:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRDh0-0006r3-CS for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 01:47:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRDh0-0006qz-98 for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 01:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aRDgz-0008IW-Uz for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 01:47:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Feb 2016 06:47:01 +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: Original-Received: via spool by 11360-submit@debbugs.gnu.org id=B11360.145456836931836 (code B ref 11360); Thu, 04 Feb 2016 06:47:01 +0000 Original-Received: (at 11360) by debbugs.gnu.org; 4 Feb 2016 06:46:09 +0000 Original-Received: from localhost ([127.0.0.1]:58836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRDg8-0008HQ-V7 for submit@debbugs.gnu.org; Thu, 04 Feb 2016 01:46:09 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:46892) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRDg6-0008HG-OG for 11360@debbugs.gnu.org; Thu, 04 Feb 2016 01:46:07 -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 1aRDfh-0000mz-Uw; Thu, 04 Feb 2016 07:45:42 +0100 In-Reply-To: <20160112140239.7a78def9@limelight.wooz.org> (Barry Warsaw's message of "Tue, 12 Jan 2016 14:02:39 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) X-MailScanner-ID: 1aRDfh-0000mz-Uw MailScanner-NULL-Check: 1455173143.22693@lzRXHjP/QcN7fgpsZJzNvA 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:112392 Archived-At: Barry Warsaw writes: > On Dec 27, 2015, at 10:26 PM, Lars Ingebrigtsen wrote: > >>When I try to do nick completion in erc now, it seems like it's case >>sensitive again, so I think it probably worked. And I'm closing this >>report. > > Sorry, I don't understand. I want case-insensitive completion of nicks. Sorry; I misread your message. I've now been following the completion code down the rabbit hole, and via approx. 23 indirections, the completion is actually done by `try-completions'. And that respects the `completion-ignore-case' variable. However, TAB is bound to `completion-at-point', which does not allow any way to have that variable be bound. So I think we'll just have to bind TAB to an erc function that binds that variable, and then call `completion-at-point'. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no