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 10:49:48 -0400 Message-ID: References: <20150417081157.13187.57850@vcs.savannah.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1429282211 26477 80.91.229.3 (17 Apr 2015 14:50:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Apr 2015 14:50:11 +0000 (UTC) Cc: Oleh Krehel To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 17 16:49:59 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 1Yj7ah-0007Jh-Ec for ged-emacs-devel@m.gmane.org; Fri, 17 Apr 2015 16:49:59 +0200 Original-Received: from localhost ([::1]:41889 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yj7ag-0004Y7-Nf for ged-emacs-devel@m.gmane.org; Fri, 17 Apr 2015 10:49:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37945) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yj7ad-0004Xx-8z for emacs-devel@gnu.org; Fri, 17 Apr 2015 10:49:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yj7aW-0004eO-6o for emacs-devel@gnu.org; Fri, 17 Apr 2015 10:49:55 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:41657) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yj7aW-0004eC-2K for emacs-devel@gnu.org; Fri, 17 Apr 2015 10:49:48 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t3HEniXa008753; Fri, 17 Apr 2015 10:49:44 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 2500E6610A; Fri, 17 Apr 2015 10:49:48 -0400 (EDT) In-Reply-To: (Oleh Krehel's message of "Fri, 17 Apr 2015 08:11:58 +0000") 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 <2744> : streams <1424011> : uri <1909140> 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:185526 Archived-At: > + (cond ((or (functionp collection) > + (vectorp collection)) > + (when (eq collection 'read-file-name-internal) > + (setq ivy--directory default-directory) > + (setq initial-input nil)) > + (setq collection (all-completions "" collection predicate))) > + ((hash-table-p collection) > + (error "Hash table as a collection unsupported")) > + ((listp (car collection)) > + (setq collection (all-completions "" collection predicate)))) I suggest you also try C-h i g (em TAB -- Stefan