From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: James Clark Newsgroups: gmane.emacs.devel Subject: easy-menu-define docstring inconsistent with behavior Date: 02 Nov 2003 06:54:49 +0700 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <1067730889.12264.303.camel@rambutan.bkk.thaiopensource.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1067742628 10258 80.91.224.253 (2 Nov 2003 03:10:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 2 Nov 2003 03:10:28 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Nov 02 04:10:26 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 1AG8dG-0000Mv-00 for ; Sun, 02 Nov 2003 04:10:26 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AG8dF-0008Mb-00 for ; Sun, 02 Nov 2003 04:10:26 +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 1AG7rC-0003ru-SS for emacs-devel@quimby.gnus.org; Sat, 01 Nov 2003 21:20:46 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AG7mk-0003Qb-0o for emacs-devel@gnu.org; Sat, 01 Nov 2003 21:16:10 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AG5xX-0000SY-Rc for emacs-devel@gnu.org; Sat, 01 Nov 2003 19:19:44 -0500 Original-Received: from [203.130.150.186] (helo=server.bkk.thaiopensource.com) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AG5dO-0006yB-HP for emacs-devel@gnu.org; Sat, 01 Nov 2003 18:58:23 -0500 Original-Received: from [192.168.0.172] ([203.130.150.187]) by server.bkk.thaiopensource.com (8.11.6/8.11.6) with ESMTP id hA1NwFU27072 for ; Sun, 2 Nov 2003 06:58:15 +0700 Original-To: "emacs-devel@gnu.org" X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) 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:17647 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17647 The docstring for easy-menu-define says: > 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. James