Xemacs Problem

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


Not sure I followed that.  I don't know how to define the function 
gold-binding, I thought it was built-in.  If it helps I will attach my 
entire init.el file.  The gold-key was setup in Emacs to switch between 
two sets of macros.  The function keys were bound with two sets of 
keybindings, and I'm not sure how to reproduce this ability in Xemacs.



Thanks,

Tim



Aidan Kehoe <kehoea at parhasard.net> 
08/07/2007 12:21 AM

To
Timothy A Zitzer <tzitzer at usgs.gov>
cc
"Stephen J. Turnbull" <stephen at xemacs.org>, xemacs-beta at xemacs.org
Subject
Re: Xemacs Problem







 Ar an séiú lá de mí Lúnasa, scríobh Timothy A Zitzer: 

 > 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?

You need to have a command (= a function with an (interactive) call after
the doc string) available called gold-binding. Once that is true, try the
following: 

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


 > Thanks again for your time,
 > 
 > -Tim
 > 
 > 
 > 
 > "Stephen J. Turnbull" <stephen at xemacs.org> 
 > 08/04/2007 02:24 AM
 > 
 > To
 > Timothy A Zitzer <tzitzer at usgs.gov>
 > cc
 > xemacs-beta at xemacs.org
 > Subject
 > Xemacs Problem
 > 
 > 
 > 
 > 
 > 
 > 
 > Timothy A Zitzer writes:
 > 
 >  > (if default
 >  > (define-key 'edt-default-global-map 'f12 gold-binding)
 >  > (define-key 'edt-user-gold-map 'f12 gold-binding))
 > 
 > The *-maps are *variables*.  Try removing the quotation so that they
 > can be evaluated:
 > 
 > (if default
 >     (define-key edt-default-global-map 'f12 gold-binding)
 >   (define-key edt-user-gold-map 'f12 gold-binding))

-- 
On the quay of the little Black Sea port, where the rescued pair came once
more into contact with civilization, Dobrinton was bitten by a dog which 
was
assumed to be mad, though it may only have been indiscriminating. (Saki)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://calypso.tux.org/pipermail/xemacs-beta/attachments/20070807/bfe161c7/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: init.el
Type: application/octet-stream
Size: 5700 bytes
Desc: not available
Url : http://calypso.tux.org/pipermail/xemacs-beta/attachments/20070807/bfe161c7/attachment.obj 


More information about the XEmacs-Beta mailing list