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: Layered display API Date: Thu, 14 Aug 2014 05:53:28 +0300 Message-ID: <8361hvixxz.fsf@gnu.org> 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> <83iolwif2l.fsf@gnu.org> <53EC205F.7030801@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1407984832 11397 80.91.229.3 (14 Aug 2014 02:53:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Aug 2014 02:53:52 +0000 (UTC) Cc: rudalics@gmx.at, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 14 04:53:42 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 1XHlAb-0005FJ-N7 for ged-emacs-devel@m.gmane.org; Thu, 14 Aug 2014 04:53:41 +0200 Original-Received: from localhost ([::1]:51634 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHlAb-0000Um-3o for ged-emacs-devel@m.gmane.org; Wed, 13 Aug 2014 22:53:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHlAU-0000Ug-ET for emacs-devel@gnu.org; Wed, 13 Aug 2014 22:53:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XHlAP-0002mm-G5 for emacs-devel@gnu.org; Wed, 13 Aug 2014 22:53:34 -0400 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:45953) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHlAP-0002lN-7u for emacs-devel@gnu.org; Wed, 13 Aug 2014 22:53:29 -0400 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NA900C00Z8NAA00@mtaout27.012.net.il> for emacs-devel@gnu.org; Thu, 14 Aug 2014 05:48:26 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NA9003YIZSQ0K90@mtaout27.012.net.il>; Thu, 14 Aug 2014 05:48:26 +0300 (IDT) In-reply-to: <53EC205F.7030801@yandex.ru> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.183 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:173651 Archived-At: > Date: Thu, 14 Aug 2014 06:35:11 +0400 > From: Dmitry Gutov > CC: rudalics@gmx.at, emacs-devel@gnu.org > > I've been under impression that "tty menus" could work in graphical > mode, too, but now I understand that they're non-portable, like the name > suggests. That's too bad. Doing the same on GUI frames would hit all the difficulties that we've been discussing in this thread, due to proportional and variable-size fonts, and other display features that don't exist on a TTY. More importantly, the TTY menus were developed because there were no menus on text-mode frames, a problem that didn't exist on GUI frames. > Why use the special new property, then? Just put a new overlay over it. > If it also has `display' and higher priority, it would take over. Because you want to get priority not only over other overlays, but also over display properties and maybe other things. > >> Will the menu allow me to customize the keymap it's using? > > > > Of course! This is Emacs. See the end of menu-bar.el: the menu > > navigation keys are defined as a keymap. > > So, you would suggest I dynamically rebind `tty-menu-navigation-map'? If you need that, yes.