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: Sat, 28 Dec 2013 09:02:07 -0500 Message-ID: References: <87fvqtg02v.fsf@flea.lifelogs.com> <874n67n450.fsf@flea.lifelogs.com> <87eh5bkxca.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> <87mwjvfrfy.fsf@flea.lifelogs.com> <877gawbhp0.fsf@flea.lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1388239381 7821 80.91.229.3 (28 Dec 2013 14:03:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Dec 2013 14:03:01 +0000 (UTC) Cc: Emacs developers To: John Yates Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 28 15:03:07 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 1VwuTr-0005dW-4X for ged-emacs-devel@m.gmane.org; Sat, 28 Dec 2013 15:03:07 +0100 Original-Received: from localhost ([::1]:52382 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VwuTq-0003YR-Lg for ged-emacs-devel@m.gmane.org; Sat, 28 Dec 2013 09:03:06 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50313) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VwuTg-0003Y9-Ot for emacs-devel@gnu.org; Sat, 28 Dec 2013 09:03:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VwuTZ-0003sy-33 for emacs-devel@gnu.org; Sat, 28 Dec 2013 09:02:56 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:52957) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VwuTY-0003st-UG for emacs-devel@gnu.org; Sat, 28 Dec 2013 09:02:49 -0500 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id rBSE2Nnf031177; Sat, 28 Dec 2013 09:02:31 -0500 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 7B374AE144; Sat, 28 Dec 2013 09:02:07 -0500 (EST) In-Reply-To: (John Yates's message of "Mon, 23 Dec 2013 21:47:40 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4805=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4805> : inlines <366> : streams <1098168> : uri <1637423> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:166949 Archived-At: > Perhaps the wrinkle is yasnippet's completion model. Based on context > preceding point yasnippet decides either that a match exists (leading to > template expansion and return) or that no match exists causing > responsibility to be passed to a fallback completion handler. Ah, right, the conflict is in the meaning of the TAB key. There are two issues there: 1- the fact that there's no standard way to *extend* the meaning of TAB, so autocomplete and yasnippet may both *redefine* the key instead. 2- even if the two manage to redefine TAB "at the same time", the resulting behavior may prove too DWIMish. Stefan