Michael Sperber <sperber(a)informatik.uni-tuebingen.de> wrote:
>>>>> "Jerry" == Jerry James
<james(a)xemacs.org> writes:
Jerry> Upgrade your xemacs-base package. The latest version contains field.el,
Jerry> from which constrain-to-field is autoloaded.
Ahem, shouldn't we avoid calls from the core to the packages, even
xemacs-base?
Yes. This call is the result of a Ben Wing port. The Emacs field code
is written in C. I wrote it in Lisp and put it into the packages
because I have a pending sync with comint.el that uses the field stuff a
lot. As a result of other Ben Wing ports, we also have other packages
that make calls into the field code, so we can't move field.el from the
packages to core without conditionalizing a bunch of other stuff.
Note that fully implementing fields also requires changing the text
motion commands to be field-aware, which implies calls from C code to
the field API. I have been running with a patch that implements those
calls for some time, but haven't committed because of the core
vs. package problem. Any suggestions on how to resolve this mess will
be met with hugs, kisses, and three hurrahs. On second thought, let's
make that a "thank you", and also a cordial handshake should we meet in
person.
--
Jerry James, who will throw in a hurrah for free
http://www.ittc.ku.edu/~james/