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 14:32:40 -0500 Message-ID: References: <20140103164802.GA27022@c3po> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1388777574 30069 80.91.229.3 (3 Jan 2014 19:32:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Jan 2014 19:32:54 +0000 (UTC) Cc: emacs-devel@gnu.org, Dmitry Gutov To: Toby Cubitt Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 03 20:33:00 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 1VzAUM-0006Dp-Ek for ged-emacs-devel@m.gmane.org; Fri, 03 Jan 2014 20:32:58 +0100 Original-Received: from localhost ([::1]:51495 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzAUL-00052n-VO for ged-emacs-devel@m.gmane.org; Fri, 03 Jan 2014 14:32:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60368) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzAUD-00051n-3z for emacs-devel@gnu.org; Fri, 03 Jan 2014 14:32:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VzAU5-0004k2-Qe for emacs-devel@gnu.org; Fri, 03 Jan 2014 14:32:49 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:7650) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzAU5-0004jv-ND for emacs-devel@gnu.org; Fri, 03 Jan 2014 14:32:41 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFG4rwsm/2dsb2JhbABEvw4Xc4IfAQVWIxALDiYSFBgNJIgkwS2RCgOIYZwZgV6DFQ X-IPAS-Result: Av4EABK/CFG4rwsm/2dsb2JhbABEvw4Xc4IfAQVWIxALDiYSFBgNJIgkwS2RCgOIYZwZgV6DFQ X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="43876376" 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 14:32:40 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id BD0DF60133; Fri, 3 Jan 2014 14:32:40 -0500 (EST) In-Reply-To: <20140103164802.GA27022@c3po> (Toby Cubitt's message of "Fri, 3 Jan 2014 16:48:02 +0000") 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:167210 Archived-At: >> > (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.) >> Seems that :exit-function can be used for this. See >> `completion-extra-properties'. > Thanks for the pointer. Unfortunately this isn't enough. In a typical > predictive-mode scenario, there are many possible completion candidates, > and Predictive needs to display them, and be told which of the candidates > was selected (or rejected). I suspect that :exit-function is "enough", tho it might require some ugly unreliable hacks to get at the needed data. Please try it out and M-x report-emacs-bug requesting the extra features/data to be able to "do it right". Stefan