emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: easymenu.el


From: Vinicius Jose Latorre
Subject: Re: easymenu.el
Date: Sat, 06 Nov 2004 15:37:12 -0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a4) Gecko/20040927

> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]