From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Vinicius Jose Latorre Newsgroups: gmane.emacs.devel Subject: Re: easymenu.el Date: Sat, 06 Nov 2004 15:37:12 -0200 Message-ID: <418D0BC8.7050405@ig.com.br> References: <41891091.7010304@freemail.hu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1099774778 24098 80.91.229.6 (6 Nov 2004 20:59:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 6 Nov 2004 20:59:38 +0000 (UTC) Cc: Peter Heslin , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 06 21:59:31 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 1CQXel-0002GM-00 for ; Sat, 06 Nov 2004 21:59:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CQXn1-0003ko-BF for ged-emacs-devel@m.gmane.org; Sat, 06 Nov 2004 16:08:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CQXmr-0003k7-RD for emacs-devel@gnu.org; Sat, 06 Nov 2004 16:07:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CQXmp-0003jK-QE for emacs-devel@gnu.org; Sat, 06 Nov 2004 16:07:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CQXmp-0003iQ-Ot for emacs-devel@gnu.org; Sat, 06 Nov 2004 16:07:51 -0500 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CQXeM-0004S8-2A; Sat, 06 Nov 2004 15:59:06 -0500 Original-Received: from [200.221.11.56] (helo=smtp.uol.com.br) by mx20.gnu.org with esmtp (Exim 4.34) id 1CQUXR-0004zS-Q1; Sat, 06 Nov 2004 12:39:46 -0500 Original-Received: from [200.208.42.37] (unknown [200.208.42.37]) by scorpion3.uol.com.br (Postfix) with ESMTP id 5650184EE; Sat, 6 Nov 2004 15:38:45 -0200 (BRST) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a4) Gecko/20040927 X-Accept-Language: en-us, en Original-To: rms@gnu.org In-Reply-To: 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:29484 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29484 > FWIW, both printing.el (part of Emacs) and color-theme.el (not part of > Emacs, but widely used) now give menu-related errors on loading. > > In the case of printing.el, the problem seems to be that it doesn't > intern the symbols it constructs. Well, only part of the problem, as RMS pointed in a private email, the problem is in part related with pr-get-symbol. Changing pr-get-symbol to: (defun pr-get-symbol (name) (easy-menu-intern name)) It's possible to bootstrap & install Emacs, but an error occurs when starting Emacs with (require 'printing) in ~/.emacs. The problem is related with easy-menu-get-map, that it's used by easy-menu-add-item. And easy-menu-add-item is used by printing.el to change File menu options. Now, easy-menu-get-map returns: (easy-menu-get-map nil '("files")) ==> (keymap "files") And before easymenu.el changing, easy-menu-get-map returned: (easy-menu-get-map nil '("files")) ==> (keymap (open-file menu-item Open File... ..) ..... File) Vinicius