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: Layered display API Date: Wed, 13 Aug 2014 08:46:59 -0400 Message-ID: References: <86tx5r7l1j.fsf@yandex.ru> <53E097F7.5050407@gmx.at> <53E0ABF9.7070506@yandex.ru> <8338dbqcai.fsf@gnu.org> <53E14AF4.6050804@yandex.ru> <83k36mpbxg.fsf@gnu.org> <53E22245.4070307@yandex.ru> <8361i5pmch.fsf@gnu.org> <53E294BD.1000500@yandex.ru> <837g2knwb2.fsf@gnu.org> <53E818F0.2080104@yandex.ru> <8361hzjciv.fsf@gnu.org> <53EAD0B1.1010405@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1407934056 26507 80.91.229.3 (13 Aug 2014 12:47:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Aug 2014 12:47:36 +0000 (UTC) Cc: rudalics@gmx.at, Eli Zaretskii , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 13 14:47:28 2014 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 1XHXxf-0002cN-FU for ged-emacs-devel@m.gmane.org; Wed, 13 Aug 2014 14:47:27 +0200 Original-Received: from localhost ([::1]:47256 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHXxe-0006NK-Vk for ged-emacs-devel@m.gmane.org; Wed, 13 Aug 2014 08:47:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHXxT-0006Fz-Tf for emacs-devel@gnu.org; Wed, 13 Aug 2014 08:47:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XHXxM-0006pY-Es for emacs-devel@gnu.org; Wed, 13 Aug 2014 08:47:15 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:62181) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHXxE-0006og-0Y; Wed, 13 Aug 2014 08:47:00 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUGAIDvNVPAqyKr/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMQCw4mEhQYDSQuh1YI0hkXjnoHhDgBA6sDg0wh X-IPAS-Result: ArUGAIDvNVPAqyKr/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMQCw4mEhQYDSQuh1YI0hkXjnoHhDgBA6sDg0wh X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="86630127" Original-Received: from 192-171-34-171.cpe.pppoe.ca (HELO pastel.home) ([192.171.34.171]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 13 Aug 2014 08:46:59 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 20AB36056D; Wed, 13 Aug 2014 08:46:59 -0400 (EDT) In-Reply-To: <53EAD0B1.1010405@yandex.ru> (Dmitry Gutov's message of "Wed, 13 Aug 2014 06:42:57 +0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:173619 Archived-At: >> Compare this with x-popup-menu: the similarity is striking. Which is >> why I suggested to use menus on TTYs. > Yes, it would be nice if we can use them. However, the fact that menus > handle evens themselves (or try to) makes me think it's not the > cleanest approach. >From a display point of view, I think the "tty menus" approach is indeed the cleanest solution when running on a tty. But they can't be used as-is for lack of flexibility w.r.t key-bindings and appearance (we don't really need borders for Company menus, but we do need control over colors). In a GUI frame, OTOH, we'd be much better off with a GUI window (something akin to a tooltip frame). Stefan