From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andrew Choi Newsgroups: gmane.emacs.devel Subject: Mac OS X Pop-up Menus Date: Sun, 06 Oct 2002 22:39:33 -0600 Sender: emacs-devel-admin@gnu.org Message-ID: Reply-To: akochoi@shaw.ca NNTP-Posting-Host: localhost.gmane.org Content-Transfer-Encoding: 7BIT X-Trace: main.gmane.org 1033965859 20708 127.0.0.1 (7 Oct 2002 04:44:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 7 Oct 2002 04:44:19 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17yPkf-0005Ns-00 for ; Mon, 07 Oct 2002 06:44:17 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17yQXa-00021J-00 for ; Mon, 07 Oct 2002 07:34:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17yPkV-00081E-00; Mon, 07 Oct 2002 00:44:07 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17yPja-0005r9-00 for emacs-devel@gnu.org; Mon, 07 Oct 2002 00:43:10 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17yPjF-0005FY-00 for emacs-devel@gnu.org; Mon, 07 Oct 2002 00:42:51 -0400 Original-Received: from shawidc-mo1.cg.shawcable.net ([24.71.223.10] helo=pd5mo3so.prod.shaw.ca) by monty-python.gnu.org with esmtp (Exim 4.10) id 17yPi8-0004cN-00 for emacs-devel@gnu.org; Mon, 07 Oct 2002 00:41:40 -0400 Original-Received: from pd3mr1so.prod.shaw.ca (pd3mr1so-ser.prod.shaw.ca [10.0.141.177]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0H3L00MBCGXX7K@l-daemon> for emacs-devel@gnu.org; Sun, 06 Oct 2002 22:39:33 -0600 (MDT) Original-Received: from pn2ml3so.prod.shaw.ca (pn2ml3so-qfe0.prod.shaw.ca [10.0.121.147]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0H3L0015KGXXLL@l-daemon> for emacs-devel@gnu.org; Sun, 06 Oct 2002 22:39:33 -0600 (MDT) Original-Received: from owlbear.local..shawmail (h68-144-207-94.cg.shawcable.net [68.144.207.94]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.6 (built Apr 26 2002)) with ESMTP id <0H3L00B1BGXXHX@l-daemon> for emacs-devel@gnu.org; Sun, 06 Oct 2002 22:39:33 -0600 (MDT) Original-To: emacs-devel@gnu.org Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:8436 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8436 The following patch makes single-level pop-up menus (like those used by `customize') work correctly on Mac OS X. 2002-10-06 Andrew Choi * macmenu.c (mac_menu_show): Add j to count menu items; match menu_item_selection to it to find selected item.