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 6a098c6 15/19: Add ivy-mode Date: Thu, 16 Apr 2015 21:07:18 +0200 Message-ID: <87a8y7ki3d.fsf@gmail.com> References: <20150416121807.21266.28456@vcs.savannah.gnu.org> <87d234kxhs.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1429211577 21273 80.91.229.3 (16 Apr 2015 19:12:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Apr 2015 19:12:57 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 16 21:12:56 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 1YipDc-0001Ys-Cz for ged-emacs-devel@m.gmane.org; Thu, 16 Apr 2015 21:12:56 +0200 Original-Received: from localhost ([::1]:38312 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YipDb-000471-Os for ged-emacs-devel@m.gmane.org; Thu, 16 Apr 2015 15:12:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37616) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YipDX-00046v-LH for emacs-devel@gnu.org; Thu, 16 Apr 2015 15:12:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YipDT-0001V3-K3 for emacs-devel@gnu.org; Thu, 16 Apr 2015 15:12:51 -0400 Original-Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]:35390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YipDT-0001Uz-CF for emacs-devel@gnu.org; Thu, 16 Apr 2015 15:12:47 -0400 Original-Received: by widdi4 with SMTP id di4so206812657wid.0 for ; Thu, 16 Apr 2015 12:12:46 -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=t20TSjbkj0eXGl2Tpq/vBIsamE0E3Z0uYPwh42qFcp4=; b=HZ4Kp9Rw1xId2jEneS2JZJdPoGufCctKumcgQbN/eFuoc5EmnME0APfiJIixOC+04u VisAaejCKKvsUY7dg2PmNKRM2FLvO7wM0LXSJNvK/yi55bPQSnw/PRNEqNnJiA36P+3K 2q5hrpVQ7zBDqVg9DYTVpqeOG2n3Rq5P2eF4rDT9TzseGCvdFMt8Ll/6nhUP4KCP/ePD WQsDiYpvHTQhVbDikH+hWOp3wtwzt70vPxwPG/jh9CjyQk1PWAY6f4HdZi8C4CKe66Kf s29AXygqb64fiPva1J603E97FC45UFzcfUfMoRvQUZ/1h15jNsRcPv4peCr2cqoevZjZ qgvg== X-Received: by 10.180.216.103 with SMTP id op7mr7826565wic.90.1429211566790; Thu, 16 Apr 2015 12:12:46 -0700 (PDT) Original-Received: from firefly (dyn069045.nbw.tue.nl. [131.155.69.45]) by mx.google.com with ESMTPSA id z12sm11559923wjw.39.2015.04.16.12.12.45 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 16 Apr 2015 12:12:45 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Thu, 16 Apr 2015 14:59:47 -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:c05::229 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:185509 Archived-At: Stefan Monnier writes: >> Yeah, that feature isn't completely ready yet. >> I just have to read up on what to do if `collection' is a function. > > BTW, the way I see ivy-mode working reminds me of icomplete-mode (but > with a "one-line-per-element" display, which is something that ido-mode > can already provide and which could be added to icomplete-mode fairly > easily). Do you intend to move in the direction of integration with > icomplete-mode, or do you intend to make it provide a very > different interface? Initially, I wanted to just modify ido-mode to not scroll to the last candidate from the first one on `previous-line'. After I saw how incomprehensible and weird the code was, I didn't want to modify it anymore. So I see ivy-mode as a replacement of ido-mode with vertical mod and slightly different matching. It may not do as much as ido-mode, but the code is very simple. And actually, I did start with icomplete-mode as a template for ivy-mode. Some similarities still remain. Oleh