From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: Emacs completion matches selection UI Date: Thu, 19 Dec 2013 20:15:10 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87haa4gw69.fsf@flea.lifelogs.com> References: <87fvqtg02v.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> <87eh58j0x3.fsf@flea.lifelogs.com> <878uvg4ul2.fsf@yandex.ru> <87y53ghe94.fsf@flea.lifelogs.com> <87vbyk3497.fsf@yandex.ru> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1387502245 3479 80.91.229.3 (20 Dec 2013 01:17:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Dec 2013 01:17:25 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 20 02:17: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 1VtoiX-0002kw-Eu for ged-emacs-devel@m.gmane.org; Fri, 20 Dec 2013 02:17:29 +0100 Original-Received: from localhost ([::1]:47298 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtoiW-00054M-UZ for ged-emacs-devel@m.gmane.org; Thu, 19 Dec 2013 20:17:28 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51925) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtofH-0001nF-4Z for emacs-devel@gnu.org; Thu, 19 Dec 2013 20:14:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VtofB-0002cp-KD for emacs-devel@gnu.org; Thu, 19 Dec 2013 20:14:07 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:55341) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtofB-0002cX-DP for emacs-devel@gnu.org; Thu, 19 Dec 2013 20:14:01 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VtofA-0008LX-QD for emacs-devel@gnu.org; Fri, 20 Dec 2013 02:14:00 +0100 Original-Received: from c-98-229-61-72.hsd1.ma.comcast.net ([98.229.61.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Dec 2013 02:14:00 +0100 Original-Received: from tzz by c-98-229-61-72.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Dec 2013 02:14:00 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 43 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-229-61-72.hsd1.ma.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:Gk92VftnC1xShT3dccssba054gw= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:166638 Archived-At: On Thu, 19 Dec 2013 23:44:20 +0200 Dmitry Gutov wrote: DG> Ted Zlatanov writes: DG> Why don't you start with implementing a programmable graphical popup DG> that can display a list of options near any position in Emacs's window, DG> that completion engines can integrate with without losing the advantages DG> of the current behavior? >> >> Because I don't want, after spending the time and effort, to be told it >> wasn't the desired direction. That truly sucks. I'm choosing, instead, >> to ask Stefan to state that direction explicitly. DG> Right now, you're already arguing minute details here, how it would DG> work, and insisting that it should be different from all existing DG> completion interfaces available for Emacs. Don't be surprised to see DG> rebuttals. I don't think I ever said it should be different from all existing, just that it should be a standard API we can all use and customize (the lack of such a facility and the inconsistency of the existing code between in-buffer and in-minibuffer completion is why I didn't charge straight into the task). I'm happy to have it look and behave more or less like `widget-choose' as I said several times, or like a native widget. My suggestions for the behavior were based on what I consider reasonable and familiar, but I don't think they are terribly different from everyone else's ideas. DG> The hard technical part would be to draw the tooltip in the right place DG> above the frame, make it fast, and offer a good Elisp interface. Then DG> the code, of which there's a lot, can integrate it. `widget-choose' does this already to some degree, right? Do you see any shortcomings in it? >> Finally, this is a big task and I'd probably start by making a team >> of developers who are willing to assign copyright DG> What part of the work do you see yourself performing? Whatever others don't want to, in order to get things done. I appreciate your offer of help very much. Ted