From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: elpa.gnu.org packages requiring external packages Date: Sun, 4 Feb 2018 23:16:42 +0300 Message-ID: <3adfa163-3238-09a0-a345-205babcfe9ef@yandex.ru> References: <87inbjo1y8.fsf@ericabrahamsen.net> <87h8r1lxy8.fsf@ericabrahamsen.net> <87y3kcfveg.fsf@ericabrahamsen.net> <87y3ka6gxx.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1517775354 25420 195.159.176.226 (4 Feb 2018 20:15:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 4 Feb 2018 20:15:54 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Thunderbird/58.0 Cc: =?UTF-8?B?5Yav5Lmm?= , Stefan Monnier , Oleh Krehel To: Eric Abrahamsen , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 04 21:15:50 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eiQhP-0005iz-L7 for ged-emacs-devel@m.gmane.org; Sun, 04 Feb 2018 21:15:39 +0100 Original-Received: from localhost ([::1]:34827 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eiQjQ-0006kf-RZ for ged-emacs-devel@m.gmane.org; Sun, 04 Feb 2018 15:17:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51705) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eiQiY-0006jx-PV for emacs-devel@gnu.org; Sun, 04 Feb 2018 15:16:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eiQiT-0004Ep-RV for emacs-devel@gnu.org; Sun, 04 Feb 2018 15:16:50 -0500 Original-Received: from mail-lf0-x22d.google.com ([2a00:1450:4010:c07::22d]:32966) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eiQiT-0004E3-Jp for emacs-devel@gnu.org; Sun, 04 Feb 2018 15:16:45 -0500 Original-Received: by mail-lf0-x22d.google.com with SMTP id t139so38921585lff.0 for ; Sun, 04 Feb 2018 12:16:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=p2Q8wbjsnGBpkcwfrvW1ZH8BLjO+S5OlClPeFNHI2kQ=; b=fbMNnCtduKEmuxS/WEn9bpprfckYKWzU3+u4nUSN268gNRGTgs2NE17JEuT9PtniZW XQFf2J8NpCqPYmUXqp6Bk7o6nfRsRMsVqDQuv5c48jIldi/cE0qy8z+ue+QOEGGf2lNd oOz6hlZEKGO1XwGksOeZP3L6LBN9yVXWfSKkzO5gmJpCpuoWdGOmduazdtxLhy6/SWIe T6pEegWqwZml/n+Emy6BBWeYAppQ3WLgUZZLLV8QOwbiIvOBhQHBWiuAvwXXQ8Eax2ug s6l23wH0jFnrgSBv1cdhSvbOR7NF7iFtm8rTZcgu5/d39v239IaKtOFEd0dDGzNa34Ue WRPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=p2Q8wbjsnGBpkcwfrvW1ZH8BLjO+S5OlClPeFNHI2kQ=; b=uAi0k4h+/Pt2I3M4rKjsVBVK31H5qNjHaaLG4h75pPvdUj/Y4+26VEZS/dXN3SoYj4 od8Cjt7SgHIUPrlMoLe4rOI7rSQ5hJF3Z8LsowPTZ7+JMcKSBmA962r1cOLfHSCgCPOI cc8/sTr7pt0yHsYRe6qVfPZx6WC2/YG6GCro9MLlvyTvSou49frOiWxNdGJVqGHVIY65 J8UlSrhyioZttFyEAFMqF7aYMn6lQTri6EL2SUZsNiXsonDedkl2DpLAdJjQtMgoZUnC NG/ysecxaniVJk4GYMcfI333My9IRivt1HK+fy8k6k7q4qLqd7N8nAbas1+mSF3CZrjf P2+Q== X-Gm-Message-State: AKwxyteDrWtVv4bAMLoWnY1X578y6bR9y3pIkpE/Kdv+JGGbn+Q5kjkB YWLmZT/Ms3m38fAi8nhTCw4= X-Google-Smtp-Source: AH8x226jvt6Rlsphac0xuAWw2al2PhS60LOWkXESfljeMWMFfRIShVYbqnpdqZtYHSRLcICZZcGOvQ== X-Received: by 10.25.92.13 with SMTP id q13mr27295191lfb.69.1517775404102; Sun, 04 Feb 2018 12:16:44 -0800 (PST) Original-Received: from [192.168.1.190] ([178.252.127.239]) by smtp.googlemail.com with ESMTPSA id e11sm1482187ljf.44.2018.02.04.12.16.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Feb 2018 12:16:43 -0800 (PST) In-Reply-To: <87y3ka6gxx.fsf@ericabrahamsen.net> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::22d X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:222520 Archived-At: On 2/3/18 03:43, Eric Abrahamsen wrote: > company primarily does popup-on-a-timer; popup-on-a-timer is irrelevant. company supports completion-at-point-functions via company-capf. The only major feature that completion-at-point-functions don't get (that company backends do) is asynchronous operation. > I think calling it as an > explicit completion command (while supported) isn't how it's expected > to be used. M-x company- is a well-established way of using it (not the most popular one, of course). >> And overall, I really wish someone could sit down, take the ivy, >> company, helm, and completion-at-point-function APIs and design a new >> API which can be used by all of those UIs so you don't have to implement >> N different slight variations of the same thing. It would be nice to see some input from Ivy's author: it does support asynchronous operation, and even operating on an incomplete set of results. That's something CAPF does not have yet. Add fuzzy matching, and that's basically everything we want such API to have. > But they do their things in such different ways. Some work on a timer > with a popup (company), others tie into the existing completion > mechanisms (helm and ivy), and others provide their own versions of > basic Emacs commands (helm and counsel). How much unification is > possible? company-capf is an example of one such unification. And given a powerful-enough API, all packages could have the ability, at least, to switch to it.