From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleh Krehel Newsgroups: gmane.emacs.devel Subject: Re: [elpa] master 567ea7e 1/3: Ivy-mode now works better with `find-file' Date: Fri, 17 Apr 2015 21:27:55 +0200 Message-ID: <87wq1aa72c.fsf@gmail.com> 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 1429299223 30406 80.91.229.3 (17 Apr 2015 19:33:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Apr 2015 19:33:43 +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 Apr 17 21:33:38 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 1YjC1A-0006sF-P3 for ged-emacs-devel@m.gmane.org; Fri, 17 Apr 2015 21:33:37 +0200 Original-Received: from localhost ([::1]:43287 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjC1A-0005F2-2H for ged-emacs-devel@m.gmane.org; Fri, 17 Apr 2015 15:33:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjC14-0005CB-FF for emacs-devel@gnu.org; Fri, 17 Apr 2015 15:33:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YjC11-0000zN-AK for emacs-devel@gnu.org; Fri, 17 Apr 2015 15:33:30 -0400 Original-Received: from mail-wg0-x22e.google.com ([2a00:1450:400c:c00::22e]:35701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjC11-0000z6-0l for emacs-devel@gnu.org; Fri, 17 Apr 2015 15:33:27 -0400 Original-Received: by wgyo15 with SMTP id o15so123436392wgy.2 for ; Fri, 17 Apr 2015 12:33:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=9h6nphy53Otk4LUrcmp77mkRU7X8tJBgBtXdFDRh9WY=; b=xR6eTeobKmh+peDE53foGZf6xyliVoacgwze0r5mXXTy3VEyhftsHT/Jrvjg+pAlFO uHDL/UE1RBYCl3QcN1g3t+stfq0opHT02DzERMy56CS7o7ETXzHB4HjnuPXtbwmCZa3S oZtlq+rPoJOwXnYJ24qNyfo8Q8sjp5YksAofIJpGJaXv8izY21Zei0EB6dnnPz3x9Wry 0BloszD/c1axBl6hrfiJHhNTOJjfa7LlRV7Z6W7d1AU+KloySplVNsdLHHrHN0O3n1ve oEBMJQuBHzTxV0MIz1/vkKrqW4OwTxZJz8IZnkfzUOo9d2RWJWVWW68XmWO/l6m2MNEK 0Mhg== X-Received: by 10.194.205.225 with SMTP id lj1mr8919148wjc.138.1429299206154; Fri, 17 Apr 2015 12:33:26 -0700 (PDT) Original-Received: from firefly (dyn069045.nbw.tue.nl. [131.155.69.45]) by mx.google.com with ESMTPSA id di9sm3893356wib.16.2015.04.17.12.33.25 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 17 Apr 2015 12:33:25 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Fri, 17 Apr 2015 15:22:15 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::22e 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:185541 Archived-At: Stefan Monnier writes: >> 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. 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. I tried also with helm-mode, it doesn't work either. Oleh