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 15:27:52 +0100 Message-ID: References: <4188C2D1.6000607@wanadoo.fr> <4188E566.5080601@wanadoo.fr> <4188F911.5090502@wanadoo.fr> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1099492117 12128 80.91.229.6 (3 Nov 2004 14:28:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 Nov 2004 14:28:37 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 03 15:28:23 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 1CPM7a-0007iP-00 for ; Wed, 03 Nov 2004 15:28:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CPMFg-0006W4-8B for ged-emacs-devel@m.gmane.org; Wed, 03 Nov 2004 09:36:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CPMFY-0006Vy-Be for emacs-devel@gnu.org; Wed, 03 Nov 2004 09:36:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CPMFX-0006Vm-Uk for emacs-devel@gnu.org; Wed, 03 Nov 2004 09:36:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CPMFX-0006Vj-MN for emacs-devel@gnu.org; Wed, 03 Nov 2004 09:36:35 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CPM79-0002G4-0j for emacs-devel@gnu.org; Wed, 03 Nov 2004 09:27:56 -0500 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1CPM5l-0005y7-FQ; Wed, 03 Nov 2004 09:26:30 -0500 Original-To: David Ponce In-Reply-To: <4188F911.5090502@wanadoo.fr> (David Ponce's message of "Wed, 03 Nov 2004 15:28:17 +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:29389 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29389 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. > > I agree. > >>>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. > > recentf only uses easymenu not a mixture of direct access and > easymenu. If the menus were not created using easymenu, this amounts to a mixture of direct access and easymenu. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum