From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Toby Cubitt Newsgroups: gmane.emacs.devel Subject: Re: Emacs completion matches selection UI Date: Fri, 3 Jan 2014 14:30:10 +0000 Message-ID: <20140103143008.GA31108@c3po> References: Reply-To: Toby Cubitt NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1388759437 8703 80.91.229.3 (3 Jan 2014 14:30:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Jan 2014 14:30:37 +0000 (UTC) Cc: emacs-devel@gnu.org, Dmitry Gutov To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 03 15:30:43 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 1Vz5lq-00083K-6W for ged-emacs-devel@m.gmane.org; Fri, 03 Jan 2014 15:30:42 +0100 Original-Received: from localhost ([::1]:50138 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vz5lp-0003qU-4y for ged-emacs-devel@m.gmane.org; Fri, 03 Jan 2014 09:30:41 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vz5lj-0003qM-4e for emacs-devel@gnu.org; Fri, 03 Jan 2014 09:30:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vz5le-0003Oy-Hc for emacs-devel@gnu.org; Fri, 03 Jan 2014 09:30:34 -0500 Original-Received: from starfish.geekisp.com ([216.168.135.166]:34907) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Vz5le-0003Om-7X for emacs-devel@gnu.org; Fri, 03 Jan 2014 09:30:30 -0500 Original-Received: (qmail 12062 invoked by uid 1003); 3 Jan 2014 14:30:29 -0000 Original-Received: from localhost (localhost.geekisp.com [127.0.0.1]) by localhost.geekisp.com (tmda-ofmipd) with ESMTP; Fri, 03 Jan 2014 09:30:24 -0500 Content-Disposition: inline In-Reply-To: X-PGP-Key: http://www.dr-qubit.org/gpg-toby-pub.asc User-Agent: Mutt/1.5.22 (2013-10-16) X-Delivery-Agent: TMDA/1.1.11 (Ladyburn) X-Primary-Address: toby@dr-qubit.org X-detected-operating-system: by eggs.gnu.org: OpenBSD 4.x-5.x [fuzzy] X-Received-From: 216.168.135.166 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:167166 Archived-At: On Thu, Jan 02, 2014 at 09:40:51PM -0500, Stefan Monnier wrote: > > Seems it was Joakim. My impression was Company backend definitions > > belong in Company, so perhaps his code should be added there? > > As long as company is "non-standard", that's probably true. But the > completion-at-point-functions for Predictive should be in Predictive. > And that should be sufficient to make it available in Company as well > since Company can use completion-at-point-functions. Thanks Stefan, that's useful to know. I admit I haven't followed the `completion-at-point' et al. developments closely. I'll look into adding definitions next time I hack on Predictive. (Though I don't think the `completion-at-point' mechanism is really rich enough to let Predictive do its stuff properly; in particular updating the frequency data after completing.) Best, Toby -- Dr T. S. Cubitt Royal Society University Research Fellow and Fellow of Churchill College, Cambridge Centre for Quantum Information DAMTP, University of Cambridge email: tsc25@cantab.net web: www.dr-qubit.org