From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] emacs-25 b99141d: Make erc completion case-insensitive again Date: Fri, 05 Feb 2016 13:29:21 +1100 Message-ID: <871t8rga9q.fsf@gnus.org> References: <20160204065220.28270.47611@vcs.savannah.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454639425 27797 80.91.229.3 (5 Feb 2016 02:30:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Feb 2016 02:30:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 05 03:30:15 2016 Return-path: Envelope-to: ged-emacs-devel@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 1aRWA1-0003GP-OV for ged-emacs-devel@m.gmane.org; Fri, 05 Feb 2016 03:30:13 +0100 Original-Received: from localhost ([::1]:45496 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRWA0-0007RE-N7 for ged-emacs-devel@m.gmane.org; Thu, 04 Feb 2016 21:30:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46939) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRW9q-0007Pb-Or for emacs-devel@gnu.org; Thu, 04 Feb 2016 21:30:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRW9n-000781-Ie for emacs-devel@gnu.org; Thu, 04 Feb 2016 21:30:02 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:34910) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRW9n-00077Y-Br for emacs-devel@gnu.org; Thu, 04 Feb 2016 21:29:59 -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 1aRW9H-00015g-4g; Fri, 05 Feb 2016 03:29:27 +0100 In-Reply-To: (Stefan Monnier's message of "Thu, 04 Feb 2016 08:14:07 -0500") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aRW9H-00015g-4g MailScanner-NULL-Check: 1455244168.13082@c+GcUFXV22oubGSp0h496g X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 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:199348 Archived-At: Stefan Monnier writes: > If the elements in the completion table are indeed case-insensitive, > then the right way to do that is to set the > completion-table accordingly. > > E.g. replace > > > > with > > (lambda (s p a) > (let ((completion-ignore-case t)) > (complete-with-action a s p))) Hm... If I do the following in pcomplete-completions-at-point - (list beg (point) table + (list beg (point) + (lambda (s p a) + (let ((completion-ignore-case t)) + (complete-with-action a table s p))) it still doesn't give me case-insensitive completion... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no