From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [elpa] master 567ea7e 1/3: Ivy-mode now works better with `find-file' Date: Sat, 18 Apr 2015 00:56:13 -0400 Message-ID: References: <20150417081157.13187.57850@vcs.savannah.gnu.org> <87d232ha4i.fsf@gmail.com> <87wq1aa72c.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1429332992 3194 80.91.229.3 (18 Apr 2015 04:56:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Apr 2015 04:56:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Oleh Krehel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 18 06:56:24 2015 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 1YjKno-0004Ov-Ey for ged-emacs-devel@m.gmane.org; Sat, 18 Apr 2015 06:56:24 +0200 Original-Received: from localhost ([::1]:44499 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjKnn-0001cx-BY for ged-emacs-devel@m.gmane.org; Sat, 18 Apr 2015 00:56:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59483) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjKnj-0001cc-Cu for emacs-devel@gnu.org; Sat, 18 Apr 2015 00:56:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YjKng-0003qn-6h for emacs-devel@gnu.org; Sat, 18 Apr 2015 00:56:19 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:51651) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjKng-0003qb-1j for emacs-devel@gnu.org; Sat, 18 Apr 2015 00:56:16 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t3I4uDBg001225; Sat, 18 Apr 2015 00:56:13 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 6CB826610A; Sat, 18 Apr 2015 00:56:13 -0400 (EDT) In-Reply-To: <87wq1aa72c.fsf@gmail.com> (Oleh Krehel's message of "Fri, 17 Apr 2015 21:27:55 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5279=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5279> : inlines <2752> : streams <1424334> : uri <1909640> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:185554 Archived-At: >> Indeed (funcall collection "" pred t) should be equivalent to >> (all-completions "" collection predicate) when `collection' is a function. >> If you see otherwise, we have a problem. > You can try the current ivy-mode code in elpa. It uses this for functions: > (all-completions "" collection predicate) > And it does't work with Info. That doesn't seem related to whether it gives the same result as (funcall collection "" predicate t) I'm not surprised "it doesn't work" (which of course, is poor as a description of problem) if you expect this to give you the (infinite) list of possible node named. > I tried also with helm-mode, it doesn't work either. Not surprised either. There's a good reason why icomplete.el doesn't try to re-implement completion, but instead piggybacks on top of the default completion code. Stefan