From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: New easymenu behavior Date: Wed, 03 Nov 2004 14:56:34 +0100 Message-ID: References: <4188C2D1.6000607@wanadoo.fr> <4188E566.5080601@wanadoo.fr> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1099490235 6010 80.91.229.6 (3 Nov 2004 13:57:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 Nov 2004 13:57:15 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 03 14:57:09 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CPLdM-00052S-00 for ; Wed, 03 Nov 2004 14:57:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CPLlS-0001Ra-2f for ged-emacs-devel@m.gmane.org; Wed, 03 Nov 2004 09:05:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CPLl5-0001RQ-Iq for emacs-devel@gnu.org; Wed, 03 Nov 2004 09:05:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CPLl3-0001RD-7b for emacs-devel@gnu.org; Wed, 03 Nov 2004 09:05:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CPLl2-0001R9-Rc for emacs-devel@gnu.org; Wed, 03 Nov 2004 09:05:05 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CPLcq-0005VD-99 for emacs-devel@gnu.org; Wed, 03 Nov 2004 08:56:36 -0500 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1CPLbT-0004MW-QN; Wed, 03 Nov 2004 08:55:12 -0500 Original-To: David Ponce In-Reply-To: <4188E566.5080601@wanadoo.fr> (David Ponce's message of "Wed, 03 Nov 2004 14:04:22 +0000") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:29384 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29384 David Ponce writes: > > What does your code do that did not already break in Emacs 21.3? > > recentf simply uses (easy-menu-add-item nil '("files") ...) to add > the recentf menu into the "File" menu which is identified with the > 'files key symbol. This worked well in 21.3 because the code just > interned "files" to get the key symbol. That appears very shaky. > Notice that XEmacs directly use menu item names to locate them. For > example you can use '("File") to locate the "File" menu in the menu > bar. Maybe is it a better mechanism to use in external libraries? Actually, that is all that I ever used with regard to easymenu. It is probably a bad idea to create and manage menus by a mixture of direct accesses and easymenu. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum