From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Antoine Levitt Newsgroups: gmane.emacs.bugs Subject: bug#11360: ERC completion case-sensitive Date: Sat, 05 May 2012 09:49:50 +0200 Message-ID: <87zk9n6p9d.fsf@gmail.com> References: <87397ppa5h.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1336204283 4094 80.91.229.3 (5 May 2012 07:51:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 5 May 2012 07:51:23 +0000 (UTC) To: 11360@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 05 09:51:22 2012 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 1SQZlw-0005EC-O9 for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 May 2012 09:51:20 +0200 Original-Received: from localhost ([::1]:35181 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQZlw-0006tw-0u for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 May 2012 03:51:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQZls-0006ti-SN for bug-gnu-emacs@gnu.org; Sat, 05 May 2012 03:51:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQZlr-0000be-2D for bug-gnu-emacs@gnu.org; Sat, 05 May 2012 03:51:16 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35687) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQZlq-0000bY-VL for bug-gnu-emacs@gnu.org; Sat, 05 May 2012 03:51:14 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SQZna-0002RA-Gk for bug-gnu-emacs@gnu.org; Sat, 05 May 2012 03:53:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87397ppa5h.fsf@gmail.com> Resent-From: Antoine Levitt Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 May 2012 07:53: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: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13362043309309 (code B ref -1); Sat, 05 May 2012 07:53:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 May 2012 07:52:10 +0000 Original-Received: from localhost ([127.0.0.1]:36721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQZmj-0002Q5-Mn for submit@debbugs.gnu.org; Sat, 05 May 2012 03:52:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51202) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQZmg-0002Pf-Fk for submit@debbugs.gnu.org; Sat, 05 May 2012 03:52:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQZkp-0000VA-QO for submit@debbugs.gnu.org; Sat, 05 May 2012 03:50:12 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:44754) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQZkp-0000V4-N3 for submit@debbugs.gnu.org; Sat, 05 May 2012 03:50:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38439) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQZko-0006tF-2z for bug-gnu-emacs@gnu.org; Sat, 05 May 2012 03:50:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQZkm-0000UZ-8v for bug-gnu-emacs@gnu.org; Sat, 05 May 2012 03:50:09 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:39814) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQZkm-0000TR-25 for bug-gnu-emacs@gnu.org; Sat, 05 May 2012 03:50:08 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SQZki-0004Fq-Kl for bug-gnu-emacs@gnu.org; Sat, 05 May 2012 09:50:04 +0200 Original-Received: from ney92-7-78-233-218-202.fbx.proxad.net ([78.233.218.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 May 2012 09:50:04 +0200 Original-Received: from antoine.levitt by ney92-7-78-233-218-202.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 May 2012 09:50:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org Original-Lines: 30 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ney92-7-78-233-218-202.fbx.proxad.net Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.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 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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:59773 Archived-At: 05/05/12 05:11, Stefan Monnier >> ERC nickname completion got case sensitive a couple of commits ago (two >> days at most, I'd say), while it wasn't before. Can someone fix it? > > It was probably me, but I fail to see how/where that happened. > Can you give me a recipe to reproduce the problem starting from `emacs -Q'? > > > Stefan Hi, emacs -Q M-x erc Confirm irc.freenode.net Confirm 6667 pick a random nick, no password type /join #emacs Pick someone in the users list with a nickname that begins with a caps (for instance, Test), and type the first characters in his name in lower case (for instance tes), then tab. It used to complete to the capitalized nickname. What I think happened is that this is now controlled by completion-ignore-case while it used to be controlled by an erc-specific setting. I think a good way to proceed is to introduce an erc-completion-ignore-case that defaults to t, and ignore case in erc completion if either 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.