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: IDE Date: Sun, 11 Oct 2015 14:02:34 +0300 Message-ID: <561A41CA.6060908@yandex.ru> References: <5610207A.2000300@harpegolden.net> <83fv1r3gzp.fsf@gnu.org> <83bncf3f9k.fsf@gnu.org> <5610E0BC.8090902@online.de> <83si5r106e.fsf@gnu.org> <831td9z18h.fsf@gnu.org> <5612E996.7090700@yandex.ru> <83bnc7tavr.fsf@gnu.org> <5618C92A.3040207@yandex.ru> <83a8rrt9ag.fsf@gnu.org> <5618D376.1080700@yandex.ru> <831td3t62e.fsf@gnu.org> <5618E51D.4070800@yandex.ru> <83twpzrp05.fsf@gnu.org> <5618ED93.8000001@yandex.ru> <83lhbbrnn7.fsf@gnu.org> <56191D6B.8040405@yandex.ru> <838u7assvj.fsf@gnu.org> <561A3582.5080806@yandex.ru> <561A3756.1010404@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1444561384 8460 80.91.229.3 (11 Oct 2015 11:03:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Oct 2015 11:03:04 +0000 (UTC) Cc: adatgyujto@gmail.com, emacs-devel@gnu.org To: martin rudalics , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 11 13:02:56 2015 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 1ZlEP1-0004gr-DT for ged-emacs-devel@m.gmane.org; Sun, 11 Oct 2015 13:02:55 +0200 Original-Received: from localhost ([::1]:47898 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlEP0-00035M-Un for ged-emacs-devel@m.gmane.org; Sun, 11 Oct 2015 07:02:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlEOo-00035A-DB for emacs-devel@gnu.org; Sun, 11 Oct 2015 07:02:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZlEOj-0008Ie-RE for emacs-devel@gnu.org; Sun, 11 Oct 2015 07:02:42 -0400 Original-Received: from mail-lb0-x22f.google.com ([2a00:1450:4010:c04::22f]:34692) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlEOj-0008IW-Km; Sun, 11 Oct 2015 07:02:37 -0400 Original-Received: by lbbwt4 with SMTP id wt4so118050022lbb.1; Sun, 11 Oct 2015 04:02:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=+uw3m2HLcPuUkPN6CVb0zilUUb7Saq0iAMXZMAnlpD4=; b=KFFHMym1RRgkIeiqc9YHBG54+KbHsNP0vJbIeKQ45OlXxJ4VC1pasuzVkg5yWs9Xlf RokMe9LeYzfjd3lYDUJEdyXT7h5WbspywNvKYgjFuqZXkFByFgROvK3o06r1sdcrQmK9 vHn19q8oAW4edqvisvGB+bQSXYN+WhSeyvNq54zyyu0rVmUoesHvPbxK9xZ0+cAxII8Q 9y2WEQF06eIJRQDKHHukS10k919flhQU1FT6oZ3br+qoSpUrtix/DuaoWiZ5wLXDufhl 7AKT0Dv66d+v42YRfaQBT0Yv47NbJSFM3D4IqMt5P/2FL7x9O9T7cvGZsYWT8j9APLZT OhhA== X-Received: by 10.25.83.82 with SMTP id h79mr6806140lfb.89.1444561356804; Sun, 11 Oct 2015 04:02:36 -0700 (PDT) Original-Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id c204sm1934797lfe.15.2015.10.11.04.02.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Oct 2015 04:02:35 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Thunderbird/41.0 In-Reply-To: <561A3756.1010404@gmx.at> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::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:191208 Archived-At: Thanks! I've tried your package out, and it's pretty nice. Especially the part where you carefully try to position the popup so it doesn't hide the code. On 10/11/2015 01:17 PM, martin rudalics wrote: > > - It's background rendering is inconsistent. As an example, the first > > time I evaluate (tooltip-show "abc") in an Emacs session, the > > background is yellow-ish. The next time, and after that, the > > background is black. > > This is the reason I'm always using ‘x-show-tip’. That doesn't fix the problem. Even with your package, it looked fine with greenish background for a while, then I switched away from Emacs, did some reading in the web browser. Then switched back to Emacs, and the background is black now. > > - Is there a way to show several tooltips at once? To display > different elements of the completion UI side by side. > > AFAICT no. You'd have to put them into the same tooltip. I think I'll hold off on trying on integrate it in Company until this feature is implemented. For feature parity with Intellij IDEA and MS VS, we should be able to display the list of completions and documentation for the currently selected completion in two separate popups: https://i-msdn.sec.s-msft.com/dynimg/IC797655.jpeg https://www.jetbrains.com/img/webhelp/idea/constructors_docs_in_completion.png In Company (as well as the IDEA interface), "show documentation" is a separate action which can take some perceptible time, so we can't include the documentation in the same popup as completions. > > - If a tooltip is displayed, and I Alt-Tab to another program's > window, the tooltip remains on top. This is by far the most annoying one. > > Very annoying, indeed. See my solution for this in > ‘eldoc-tooltip-mode’. focus-out-hook? That'll be good enough, thanks.