From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Emacs completion matches selection UI Date: Thu, 21 Nov 2013 12:17:17 +0200 Message-ID: <528DDDAD.6080304@yandex.ru> References: <87fvqtg02v.fsf@flea.lifelogs.com> <877gc5fm30.fsf@flea.lifelogs.com> <87k3g47m7b.fsf@yandex.ru> <528B6F11.7070607@yandex.ru> <83mwl0fjgy.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1385029071 652 80.91.229.3 (21 Nov 2013 10:17:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Nov 2013 10:17:51 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 21 11:17:54 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 1VjRKc-00046k-M3 for ged-emacs-devel@m.gmane.org; Thu, 21 Nov 2013 11:17:54 +0100 Original-Received: from localhost ([::1]:60235 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjRKc-0004v1-1g for ged-emacs-devel@m.gmane.org; Thu, 21 Nov 2013 05:17:54 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjRKR-0004ur-Gw for emacs-devel@gnu.org; Thu, 21 Nov 2013 05:17:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VjRKJ-0005KC-3I for emacs-devel@gnu.org; Thu, 21 Nov 2013 05:17:43 -0500 Original-Received: from mail-wg0-x22f.google.com ([2a00:1450:400c:c00::22f]:47427) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjRK6-0005GH-0V; Thu, 21 Nov 2013 05:17:22 -0500 Original-Received: by mail-wg0-f47.google.com with SMTP id y10so10145055wgg.26 for ; Thu, 21 Nov 2013 02:17:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=mz4mUJ1yxyuVg0bMkxeKgzb3XzaJRTFJkGBLA9iknvA=; b=rTmiamnKNLVueJp3QpP/7alwEAc8l+H4GapSAMx31qK19yb8IdM06HXOcB+warI1S1 0qLw9tERH5f0nwd3UBCzDx8d87hEOMsCZQrDnLAtS0f3zBuSrcqlYeU2i74KBinrCTyq RMyDHw0GQ1TWE7yCsNWhxE4ZLEfK2tQdnQ4t6f2vGlju1yLgArnubzQJGLT1633QC6mI 7VZbH3Y9ITKb7HLbUEEQ5JDIEJF1OGRKWeN9HUtCd7oFaunYc5UYsiAFRGlXSWgx2zym ZMvQMllcgYnDaSLKbIBhOlDLK+HrkpaRqTIJq4z3AeV+j7a0xPILxWGafDfC2cCv3W00 yCrQ== X-Received: by 10.180.79.230 with SMTP id m6mr5165959wix.19.1385029040947; Thu, 21 Nov 2013 02:17:20 -0800 (PST) Original-Received: from [192.168.10.2] (62-113-224.netrun.cytanet.com.cy. [62.228.113.224]) by mx.google.com with ESMTPSA id dn2sm3766974wid.1.2013.11.21.02.17.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 21 Nov 2013 02:17:20 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 In-Reply-To: <83mwl0fjgy.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::22f 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:165474 Archived-At: On 19.11.2013 18:24, Eli Zaretskii wrote: >> In graphical mode, I think we can make a more reliable popup by adapting >> some code in `tooltip.el'. > > I'd advise against that. Tooltip frames are treated very specially by > Emacs display, so you will be up for a lot of work (in C) to force > tooltips serve as completion pop-ups. Or maybe "just" use a new, chromeless frame. Anyway, I'd expect some C code to have to be written for that feature. Without new frame, we also won't be able to make Company tooltip work in minibuffer, Maybe we can adapt by rendering it in the nearest window, but that will leave a somewhat hackish impression, even if it works well.