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: Fri, 17 Apr 2015 15:22:15 -0400 Message-ID: References: <20150417081157.13187.57850@vcs.savannah.gnu.org> <87d232ha4i.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1429298557 19246 80.91.229.3 (17 Apr 2015 19:22:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Apr 2015 19:22:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: Oleh Krehel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 17 21:22:31 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 1YjBqP-0008Jl-Rn for ged-emacs-devel@m.gmane.org; Fri, 17 Apr 2015 21:22:29 +0200 Original-Received: from localhost ([::1]:43247 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjBqP-0000WB-9X for ged-emacs-devel@m.gmane.org; Fri, 17 Apr 2015 15:22:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjBqL-0000Vr-9f for emacs-devel@gnu.org; Fri, 17 Apr 2015 15:22:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YjBqE-00064k-R5 for emacs-devel@gnu.org; Fri, 17 Apr 2015 15:22:25 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:47003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjBqE-00064f-M8 for emacs-devel@gnu.org; Fri, 17 Apr 2015 15:22:18 -0400 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t3HJMG8L025163; Fri, 17 Apr 2015 15:22:16 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 09A481178; Fri, 17 Apr 2015 15:22:16 -0400 (EDT) In-Reply-To: <87d232ha4i.fsf@gmail.com> (Oleh Krehel's message of "Fri, 17 Apr 2015 20:39:57 +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 <2749> : streams <1424116> : uri <1909328> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:185540 Archived-At: > Seems very complex for just returning a (short) list of strings. The set of files or the set of Info nodes (which can appear in any file) can't conveniently be treated as "a (short) list of strings". > Why doesn't this work for `Info-read-node-name-1': > (setq collection (all-completions "" collection predicate)) I don't understand the question. AFAIK it does work. It just doesn't return every possible node name, since there's pretty much an infinite supply (if you include those that can be accessed via Tramp, for example). > (setq collection (funcall collection "" nil t)) 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. Stefan