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: Fri, 03 Jan 2014 22:54:49 -0500 Message-ID: References: <20140102225831.GA19682@c3po> <52C7744F.3000906@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1388807703 12202 80.91.229.3 (4 Jan 2014 03:55:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Jan 2014 03:55:03 +0000 (UTC) Cc: Toby Cubitt , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 04 04:55:08 2014 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 1VzIKK-0005VD-6x for ged-emacs-devel@m.gmane.org; Sat, 04 Jan 2014 04:55:08 +0100 Original-Received: from localhost ([::1]:53037 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzIKJ-0002gm-QM for ged-emacs-devel@m.gmane.org; Fri, 03 Jan 2014 22:55:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzIKA-0002cs-9t for emacs-devel@gnu.org; Fri, 03 Jan 2014 22:55:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VzIK3-0003Yi-08 for emacs-devel@gnu.org; Fri, 03 Jan 2014 22:54:58 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:36334) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzIK2-0003Ye-Sb for emacs-devel@gnu.org; Fri, 03 Jan 2014 22:54:50 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFG4rwsm/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDiGGcGYFegxU X-IPAS-Result: Av4EABK/CFG4rwsm/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDiGGcGYFegxU X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="43946897" Original-Received: from 184-175-11-38.dsl.teksavvy.com (HELO pastel.home) ([184.175.11.38]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 03 Jan 2014 22:54:50 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 0FE006063D; Fri, 3 Jan 2014 22:54:50 -0500 (EST) In-Reply-To: <52C7744F.3000906@yandex.ru> (Dmitry Gutov's message of "Sat, 04 Jan 2014 06:39:11 +0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:167251 Archived-At: > In `company-capf', we iterate though the completion-at-point-functions each > time. This works, and works well enough, since the "does it fit" code is > usually fast, but it looks fairly bizarre to me, logically. Agreed. It was just "the easy" way to fit it in. "The right thing" would be to replace company-backends with completion-at-point-functions. Stefan