Xemacs Problem

Timothy A Zitzer tzitzer at usgs.gov
Tue Aug 7 11:08:01 EDT 2007


Hi,

Yes I've saved the init.el file and tried using the f12 key which gave me 
the "function definition is void" message.  A reply from Aidan Kehoe 
seemed to make sense, but I'm not sure how to define the function 
gold-bidning as I assumed it was built-in.  I cc'd you a copy of the 
entire init.el file if it helps.

Thanks so much for your time.

-Tim



"Stephen J. Turnbull" <stephen at xemacs.org> 
08/07/2007 01:22 AM

To
Timothy A Zitzer <tzitzer at usgs.gov>
cc
xemacs-beta at xemacs.org
Subject
Re: Xemacs Problem






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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xemacs.org/pipermail/xemacs-beta/attachments/20070807/93a14361/attachment.htm


More information about the XEmacs-Beta mailing list