From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs completion matches selection UI Date: Thu, 19 Dec 2013 19:41:32 +0200 Message-ID: <83ioukbuwj.fsf@gnu.org> References: <87fvqtg02v.fsf@flea.lifelogs.com> <878uwi8t3r.fsf@mail.jurta.org> <83ob5ee7ow.fsf@gnu.org> <87d2ltl2if.fsf@mail.jurta.org> <8338moevm3.fsf@gnu.org> <8761rkaa5e.fsf@flea.lifelogs.com> <87txf0390n.fsf@flea.lifelogs.com> <87y53komex.fsf@flea.lifelogs.com> <87haa8moh6.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> <87wqj1xwzc.fsf@uwakimon.sk.tsukuba.ac.jp> <6E27E6FD-4FB8-4342-BB66-1B62E22DDF4F@gmail.com> <87txe5xqyc.fsf@uwakimon.sk.tsukuba.ac.jp> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1387474886 20354 80.91.229.3 (19 Dec 2013 17:41:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Dec 2013 17:41:26 +0000 (UTC) Cc: yandros@gmail.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 19 18:41:31 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 1VthbG-0001J1-Fx for ged-emacs-devel@m.gmane.org; Thu, 19 Dec 2013 18:41:30 +0100 Original-Received: from localhost ([::1]:45565 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VthbG-00081J-25 for ged-emacs-devel@m.gmane.org; Thu, 19 Dec 2013 12:41:30 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vthb8-00080C-On for emacs-devel@gnu.org; Thu, 19 Dec 2013 12:41:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vthb4-0007Vc-1K for emacs-devel@gnu.org; Thu, 19 Dec 2013 12:41:22 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:56693) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vthb3-0007VW-PD for emacs-devel@gnu.org; Thu, 19 Dec 2013 12:41:17 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MY200C00EEBX000@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Thu, 19 Dec 2013 19:41:16 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MY200BCOEGPZSP0@a-mtaout20.012.net.il>; Thu, 19 Dec 2013 19:41:14 +0200 (IST) In-reply-to: <87txe5xqyc.fsf@uwakimon.sk.tsukuba.ac.jp> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.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:166616 Archived-At: > From: "Stephen J. Turnbull" > Date: Thu, 19 Dec 2013 16:03:39 +0900 > Cc: Stefan Monnier , > EMACS development team > > Conceded that there's demand. I would argue that ac-mode is not good > enough for Emacs, because it's menu-based. It's not menu-based. It _emulates_ a menu by using an overlay (AFAIU). > I assume from hints on the page you linked that selection algorithm > "learns" over time, but the menu presented in the screenshot there > is full of junk that almost certainly is undesired. By contrast, > the trivial heuristic "it's in a buffer somewhere in this Emacs > instance" with in-place expansion iterating over candidates with > repeated invocations (dabbrev) is more accurate, less obtrusive, and > more Emacs-y IMHO (YMMV, of course). And quite fast, even with > several dozen buffers. Is this discussion about how to compute the candidates, or how to display them and let the user browse them and select one? I though the latter was the issue at hand, in which case the algorithms used to compute the candidates are not part of that issue. Apologies if I'm mistaken: I didn't read everything in this thread.