Thanks.  I'm actually doing this in Windows not in Unix.  When I try to run the M-x edt-emulation-on command it says "Cannot open load file: edt-mapper.el", yet it finds the file in this directory:

 c:\Program Files\XEmacs\xemacs-packages\lisp\edt\/edt-mapper.el

It looks like something is weird with the path, especially the opposing slashes.  I was able to run XEmacs in Unix and get the edt-emulation to work, however.

Again, thanks for your help.

Tim


"Stephen J. Turnbull" <stephen@xemacs.org>

08/09/2007 11:08 AM

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





Timothy A Zitzer writes:

> You were right.  I loaded the edt library and added that bit of code.  Now
> when I load Xemacs it says "Error in Init File:  Symbol's value as
> variable is void:  *EDT-keys* ".

OK, I had some time to read the file.  It seems that EDT emulation
needs to build the keymap that works for your workstation.

It looks like the standard way to access the EDT emulation is by
typing

   M-x edt-emulation-on RET

If you have not yet run it on that system, it will build a keymap for
you by asking you which keys are where.  This seems to work OK for me,
but I don't know anything about EDT, so my keystrokes were random.  It
is best to do this mapping from a fresh xemacs run without running
your init file.  Use "xemacs -vanilla -l edt-mapper.el".  This only
needs to be done once.

After that, starting EDT emulation can be automated by putting

   (add-hook term-setup-hook 'edt-emulation-on)

in your init file.  I don't know if this will work, I haven't tested.

You can get more documentation about the EDT emulation by reading the
documentation, which you can access from XEmacs with

M-: (find-file (locate-data-file "edt-user.doc")) RET