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: Emacs completion matches selection UI Date: Sun, 22 Dec 2013 20:36:25 -0500 Message-ID: References: <87fvqtg02v.fsf@flea.lifelogs.com> <87a9fylusq.fsf@flea.lifelogs.com> <878uvizrwz.fsf@uwakimon.sk.tsukuba.ac.jp> <8761qmkyn1.fsf@flea.lifelogs.com> <87zjnyxdpb.fsf@uwakimon.sk.tsukuba.ac.jp> <87k3f2j7xv.fsf@flea.lifelogs.com> <2518D79A-B9E4-45DF-A403-8330145DFD17@gmail.com> <87eh58j0x3.fsf@flea.lifelogs.com> <878uvg4ul2.fsf@yandex.ru> <87y53ghe94.fsf@flea.lifelogs.com> <87vbyk3497.fsf@yandex.ru> <87haa4gw69.fsf@flea.lifelogs.com> <87txe4usm1.fsf@yandex.ru> <87zjnvg2t2.fsf@flea.lifelogs.com> <87txe364q0.fsf@yandex.ru> <87r497fu0h.fsf@flea.lifelogs.com> <87haa1litl.fsf@yandex.ru> <87y53czx7e.fsf@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1387762602 28725 80.91.229.3 (23 Dec 2013 01:36:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Dec 2013 01:36:42 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 23 02:36:48 2013 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 1VuuRr-00083s-0Y for ged-emacs-devel@m.gmane.org; Mon, 23 Dec 2013 02:36:47 +0100 Original-Received: from localhost ([::1]:59979 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuuRq-0005jJ-Gg for ged-emacs-devel@m.gmane.org; Sun, 22 Dec 2013 20:36:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuuRg-0005jE-Hn for emacs-devel@gnu.org; Sun, 22 Dec 2013 20:36:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VuuRZ-0005or-8Q for emacs-devel@gnu.org; Sun, 22 Dec 2013 20:36:36 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:58636) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuuRZ-0005nw-2Q for emacs-devel@gnu.org; Sun, 22 Dec 2013 20:36:29 -0500 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id rBN1aOaf007385; Sun, 22 Dec 2013 20:36:25 -0500 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id DF78BAE25E; Sun, 22 Dec 2013 20:36:25 -0500 (EST) In-Reply-To: <87y53czx7e.fsf@yandex.ru> (Dmitry Gutov's message of "Sun, 22 Dec 2013 18:07:01 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.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 RV4800=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4800> : inlines <347> : streams <1095415> : uri <1632502> 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:166753 Archived-At: > I had a few reservations about it, but the outward inefficiency of > calling all capf functions each time we issue a backend command > shouldn't be slow enough to notice in practice, and the Emacs 24 > requirement can be taken care of by checking the version at load time. I'll trust your judgment on those issues. But if there are performance problems with having company-capf in company-backends, it would be very useful to know it, so please add it by default, so we can fix those problems (presumably in the respective completion-at-point-functions) rather than avoid them. > By the way, do you think `lisp-completion-at-point' now has feature > parity with `company-elisp'? In Emacs-24.4 it should, yes. > We could replace the latter with `company-capf' depending on the Emacs > version, but I'm not sure where to make the cutoff. If it's just Emacs > 24, the users of 24.1-24.3 will miss out on features. If it's 24.4, > CFEngine completion integration with Company won't work with > earlier versions. AFAIK cfengine's completion support didn't exist before 24.4, so there's no problem there. Stefan