Xemacs Problem

Stephen J. Turnbull stephen at xemacs.org
Tue Aug 7 04:22:59 EDT 2007


Timothy A Zitzer writes:

 > Thanks for your response.  I removed the quotation and received the 
 > message:  "Symbol's function definition is void:  gold-binding"
 > 
 > Is gold-binding not the right definition?

I don't know, since I've never heard of gold-binding before.  I assume
that you have some package that you load, probably an editor
emulation, that supplies this function.  From the name of the map, I
guess this is probably edt, which does contain a bunch of references
to gold-binding.

In edt.el, gold-binding is a variable, and the expression I gave earlier

    (if default
        (define-key edt-default-global-map 'f12 gold-binding)
      (define-key edt-user-gold-map 'f12 gold-binding))

corresponds to that.  However in the snippet you provide, there is the
line

    (global-set-key [f12] 'gold-binding)

so perhaps

    (if default
        (define-key edt-default-global-map 'f12 'gold-binding)
      (define-key edt-user-gold-map 'f12 'gold-binding))

will work.  (Note the apostrophes preceding `gold-binding'.)

If that doesn't help, I don't see any reason why the code you posted
as being taken from Emacs wouldn't work in XEmacs (but it does
something quite different from the above).  Have you tried it?  If it
doesn't work, please tell us what did you expect to happen, what did
happen, and any messages (informative, warning, or error) that
occurred when you did it.

HTH



More information about the XEmacs-Beta mailing list