From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Emacs completion matches selection UI Date: Sun, 22 Dec 2013 18:07:01 +0200 Message-ID: <87y53czx7e.fsf@yandex.ru> References: <87fvqtg02v.fsf@flea.lifelogs.com> <87d2kuzzqj.fsf@uwakimon.sk.tsukuba.ac.jp> <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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1387728442 20689 80.91.229.3 (22 Dec 2013 16:07:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Dec 2013 16:07:22 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 22 17:07:28 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 1VulYp-0000yP-Rk for ged-emacs-devel@m.gmane.org; Sun, 22 Dec 2013 17:07:23 +0100 Original-Received: from localhost ([::1]:58317 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VulYp-0004NY-DJ for ged-emacs-devel@m.gmane.org; Sun, 22 Dec 2013 11:07:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VulYh-0004NM-0m for emacs-devel@gnu.org; Sun, 22 Dec 2013 11:07:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VulYb-0002zN-Gq for emacs-devel@gnu.org; Sun, 22 Dec 2013 11:07:14 -0500 Original-Received: from mail-ee0-x22b.google.com ([2a00:1450:4013:c00::22b]:36976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VulYb-0002zJ-8f for emacs-devel@gnu.org; Sun, 22 Dec 2013 11:07:09 -0500 Original-Received: by mail-ee0-f43.google.com with SMTP id c13so1937240eek.30 for ; Sun, 22 Dec 2013 08:07:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=PiGsKRkZRjerwRHYfJUC99Ba1XYEzDpPEqh6HHfhJfQ=; b=i/2W7lNVsrxveEpaQg8QqiLSj5tKuQVs75/s9O9eLywKp73b99mLO0KBXnNw6t7Wik XlSbQeMME+Anm0y+NynKV6++xw3ylEcsfC6EeYTgzp5FnhjGF2sFtbha7pfWblAgExHw uObsFqTVF1QkS+vga4z0uENW8hNkxhrw2hWPrcPSW7Vx769CHahjtTy1HEOCfu378Lrj yuOcPxc63a9Y9gY2MbwZUXN8aPTZCNHfO4E0bL1jL661BxMOfPWJI4OoVK5a9Q144s7h vrwpWDl6C4v4G+oI1fxJeHBlthe/ztjuPSPcyuRWWIxF/jCuH9fhEQhCGby248LMF5iH +pTw== X-Received: by 10.14.194.1 with SMTP id l1mr3305870een.103.1387728428273; Sun, 22 Dec 2013 08:07:08 -0800 (PST) Original-Received: from axl (93-2-98.netrun.cytanet.com.cy. [93.109.2.98]) by mx.google.com with ESMTPSA id z42sm37549407eeo.17.2013.12.22.08.07.06 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 22 Dec 2013 08:07:07 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Sun, 22 Dec 2013 06:07:01 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::22b 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:166734 Archived-At: Stefan Monnier writes: >> `company-capf' is not in `company-backends' by default, though. > > Could you fix that, please? Okay, it'll be there in the next release. 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. By the way, do you think `lisp-completion-at-point' now has feature parity with `company-elisp'? 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. The last point might be a problem for Ted anyway, though, since CFEngine seems to support the earlier Emacs versions.