From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Antoine Levitt Newsgroups: gmane.emacs.devel Subject: Re: ERC completion Date: Thu, 28 Apr 2011 12:44:32 +0200 Message-ID: <871v0mu033.fsf@gmail.com> References: <87y62ved2o.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1303987836 20532 80.91.229.12 (28 Apr 2011 10:50:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 28 Apr 2011 10:50:36 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 28 12:50:33 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QFOno-0001cu-Vt for ged-emacs-devel@m.gmane.org; Thu, 28 Apr 2011 12:50:33 +0200 Original-Received: from localhost ([::1]:58474 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFOno-0004Ko-Fe for ged-emacs-devel@m.gmane.org; Thu, 28 Apr 2011 06:50:32 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:51208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFOnl-0004Kj-TL for emacs-devel@gnu.org; Thu, 28 Apr 2011 06:50:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QFOnk-0007wD-Q0 for emacs-devel@gnu.org; Thu, 28 Apr 2011 06:50:29 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:42557) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFOnk-0007vw-KD for emacs-devel@gnu.org; Thu, 28 Apr 2011 06:50:28 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QFOni-0001bS-Cw for emacs-devel@gnu.org; Thu, 28 Apr 2011 12:50:26 +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 ; Thu, 28 Apr 2011 12:50:26 +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 ; Thu, 28 Apr 2011 12:50:26 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ney92-7-78-233-218-202.fbx.proxad.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:138869 Archived-At: 28/04/11 02:18, Stefan Monnier >> The change from 2011-04-26 13:50:09 by Stefan Monnier introduced the >> following changes: > >> - Completion is now case-sensitive. I think the old behaviour was a >> better default (I know I highlight many people with capitalized nick) > > Hmm... oh I think I see where is the problem: erc-pcomplete.el sets > pcomplete-ignore-case, but pcomplete-completions-at-point does not obey > this variable. The patch I just installed (attached) should fix it. Yes, fixed, thanks. > >> - erc-complete-functions seems to be ignored, but is still documented as >> a variable. Could you mark it as obsolete and document how to get the >> same effect with the new framework? > > What makes you think it's ignored? Sorry, it isn't ignored. But rather, erc-pcompletions-at-point always return non-nil, even when it does not complete anything, so that my customization (setq erc-complete-functions '(erc-pcompletions-at-point my-dabbrev-expand)) does not work as expected. (the intent is to have dabbrev take over if I'm not completing a nick)