From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#15576: 24.3.50; Some minor issues regarding the new TTY menus Date: Thu, 10 Oct 2013 13:14:04 -0700 (PDT) Message-ID: References: <83zjqip7o4.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1381436122 8952 80.91.229.3 (10 Oct 2013 20:15:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Oct 2013 20:15:22 +0000 (UTC) Cc: 15576@debbugs.gnu.org To: Dani Moncayo , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 10 22:15:24 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1VUMdn-0008WT-Tk for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Oct 2013 22:15:24 +0200 Original-Received: from localhost ([::1]:50946 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUMdn-0005lW-Cn for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Oct 2013 16:15:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUMdc-0005kH-Jz for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2013 16:15:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VUMdT-00049c-IJ for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2013 16:15:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33210) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUMdT-00048R-Es for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2013 16:15:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VUMdS-0008Uv-0M for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2013 16:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Oct 2013 20:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15576 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15576-submit@debbugs.gnu.org id=B15576.138143605332594 (code B ref 15576); Thu, 10 Oct 2013 20:15:01 +0000 Original-Received: (at 15576) by debbugs.gnu.org; 10 Oct 2013 20:14:13 +0000 Original-Received: from localhost ([127.0.0.1]:41503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VUMce-0008Tc-Bs for submit@debbugs.gnu.org; Thu, 10 Oct 2013 16:14:12 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:26683) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VUMca-0008TR-Tl for 15576@debbugs.gnu.org; Thu, 10 Oct 2013 16:14:09 -0400 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r9AKE6lM003348 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 10 Oct 2013 20:14:07 GMT Original-Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r9AKE6tx001212 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 10 Oct 2013 20:14:06 GMT Original-Received: from abhmt107.oracle.com (abhmt107.oracle.com [141.146.116.59]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r9AKE52n017127; Thu, 10 Oct 2013 20:14:05 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:79161 Archived-At: > > IOW for each submenu, you have 3 more or less equivalent/redundant > > "names": > > - the text to display in the parent menu (i.e. the only thing usually > > displayed). > > - the "prompt" (which is only displayed if you pass that submenu to > > directly popup-menu, or if you use the non-toolkit version of Emacs, > > or now in the tty-menu code). > > - the event associated with this submenu. It's usually a symbol rather > > than a string (because it's compared with `eq'; and it can also be an > > integer), but it's often just a symbol version of the "menu name". > > Those 3 can all be completely different, but normally/usually > > they're identical. >=20 > Well, I still don't see at all the point of that name redundancy, > because as I said, I don't think it makes any sense to show one text > for a menu item (holding a submenu), and show a different text for its > submenu's "prompt". It is just plain confusing to me. Dani, the point of having potentially different names is that there are different uses of a given menu, including the popup case that Stefan described and which is fairly rare. But yes, nothing prevents someone from using the same name for all three uses. IOW, you *can* use different names for different uses, but nothing requires you to.