From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: easy-menu-define docstring inconsistent with behavior Date: 02 Nov 2003 14:59:12 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <1067730889.12264.303.camel@rambutan.bkk.thaiopensource.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1067803546 6149 80.91.224.253 (2 Nov 2003 20:05:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 2 Nov 2003 20:05:46 +0000 (UTC) Cc: "emacs-devel@gnu.org" Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Nov 02 21:05:44 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AGOTo-0004YV-00 for ; Sun, 02 Nov 2003 21:05:44 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AGOTo-0007gP-00 for ; Sun, 02 Nov 2003 21:05:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AGOSv-00009K-FV for emacs-devel@quimby.gnus.org; Sun, 02 Nov 2003 15:04:49 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AGOSL-0008WG-1f for emacs-devel@gnu.org; Sun, 02 Nov 2003 15:04:13 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AGOQp-0008BL-WD for emacs-devel@gnu.org; Sun, 02 Nov 2003 15:03:11 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AGONa-000760-An for emacs-devel@gnu.org; Sun, 02 Nov 2003 14:59:18 -0500 Original-Received: from vor.iro.umontreal.ca (vor.iro.umontreal.ca [132.204.24.42]) by mercure.iro.umontreal.ca (8.12.9/8.12.9) with ESMTP id hA2JxCnR008484; Sun, 2 Nov 2003 14:59:12 -0500 Original-Received: by vor.iro.umontreal.ca (Postfix, from userid 20848) id 6CE113C63E; Sun, 2 Nov 2003 14:59:12 -0500 (EST) Original-To: James Clark In-Reply-To: <1067730889.12264.303.camel@rambutan.bkk.thaiopensource.com> Original-Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-DIRO-MailScanner: Found to be clean X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17653 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17653 >> The first element of MENU must be a string. It is the menu bar item name. >> It may be followed by the following keyword argument pairs >> >> :filter FUNCTION >> >> FUNCTION is a function with one argument, the menu. It returns the actual >> menu displayed. > In fact, the argument and return value for function are the remaining > menu items not the entire menu. Can you show code that returns a menu and that fails ? Stefan