From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joaotavora@gmail.com (=?utf-8?B?Sm/Do28gVMOhdm9yYQ==?=) Newsgroups: gmane.emacs.devel Subject: Re: Emacs completion matches selection UI Date: Sat, 04 Jan 2014 09:21:33 +0000 Message-ID: <87txdkcdb6.fsf@gmail.com> References: <20131231155235.GA9294@c3po> <878uuxhs5s.fsf@flea.lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1388827419 17257 80.91.229.3 (4 Jan 2014 09:23:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Jan 2014 09:23:39 +0000 (UTC) Cc: Toby Cubitt , Toby Cubitt , emacs-devel@gnu.org, Dmitry Gutov To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 04 10:23:46 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 1VzNSJ-00013x-0t for ged-emacs-devel@m.gmane.org; Sat, 04 Jan 2014 10:23:43 +0100 Original-Received: from localhost ([::1]:53642 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzNSI-00015i-Gm for ged-emacs-devel@m.gmane.org; Sat, 04 Jan 2014 04:23:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54542) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzNSB-00015a-HS for emacs-devel@gnu.org; Sat, 04 Jan 2014 04:23:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VzNS6-0006Hm-Qf for emacs-devel@gnu.org; Sat, 04 Jan 2014 04:23:35 -0500 Original-Received: from mail-wg0-x230.google.com ([2a00:1450:400c:c00::230]:55390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzNS6-0006Hh-In for emacs-devel@gnu.org; Sat, 04 Jan 2014 04:23:30 -0500 Original-Received: by mail-wg0-f48.google.com with SMTP id z12so14015467wgg.15 for ; Sat, 04 Jan 2014 01:23:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=ftdORjDmvI1XUPO3rjsVSqrkUjLwZCz+ffIvL1ECSw0=; b=h0stqXuzo1D3IMthXVDs+iEoTujVhTxG+Nv5maS7QWbYl/UDvocE32bel4N7G39Dfs Tdlq+eg+ZLJNdRkGFXtysRc5N2li2EwPShmBxSB0FRA3cRv8sxiHSlIr0QBI/pKkO863 IvCPfp30jJChdP1lHAi4ciDGILestxVGf5V7m689rpCwQud65KCFhHrdxNaWpaxnSRYZ ow83jl3hnIeHb09xLCduvBexPtXIT1NRnqkAeVw9aq9cIS/r1Re8WzpYGMeBSVOV59nQ 2+Ct6UN8LZyMM6VgPUFDsCswV9QhBwVrrBRN5MVOLhAQ2k47bIUvjcmt+FhdOVsigbTw KrFA== X-Received: by 10.180.95.105 with SMTP id dj9mr5106767wib.22.1388827409551; Sat, 04 Jan 2014 01:23:29 -0800 (PST) Original-Received: from kitaj.yourcompany.com (66.207.108.93.rev.vodafone.pt. [93.108.207.66]) by mx.google.com with ESMTPSA id t10sm1827743wia.6.2014.01.04.01.23.27 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 04 Jan 2014 01:23:28 -0800 (PST) In-Reply-To: <878uuxhs5s.fsf@flea.lifelogs.com> (Ted Zlatanov's message of "Fri, 03 Jan 2014 12:49:35 -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:400c:c00::230 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:167264 Archived-At: Ted Zlatanov writes: > Based on the discussion so far, it seems that: > > [...] > - it should be possible to implement a generic frontend for completion > that both can use, and other tools like yasnippet can use IIUC. The Thanks for the summary of the discussion so far, but this last statement might bring some confusion... Yasnippet can curiously fit into many parts of the problem: * It can be a source to completion frameworks, auto-complete and company have such sources. * It prompts the user when it finds more than one snippet for an abbrev, and uses its own `yas-prompt-functions' abstraction. Some of the functions offer completion. * It installs a keybinding for TAB which is problematic because it is very sought-after binding for completion-related stuff. The parts of this discussion that concerned yasnippet dealed with this, AFAIK. > with their experience of writing it once already, and we have to make > sure we don't end up with a solution no one wants to use :) Yep. For me personally it would make sense to evaluate alternatives based a matrix like the one proposed by Stefan earlier: http://article.gmane.org/gmane.emacs.devel/166661/match=3Dcompletion+ui Jo=C3=A3o