[Bug: 21.5-b19] constrain-to-field is undefined (fill-paragraph-or-region fails)

Stephen J. Turnbull stephen at xemacs.org
Thu Mar 3 01:52:34 EST 2005


>>>>> "Jerry" == Jerry James <james at xemacs.org> writes:

    Jerry> Michael Sperber <sperber at informatik.uni-tuebingen.de>
    Jerry> wrote:

    >>>>>>> "Jerry" == Jerry James <james at xemacs.org> writes:

    Jerry> Upgrade your xemacs-base package.  The latest version
    Jerry> contains field.el, from which constrain-to-field is
    Jerry> autoloaded.

    >> Ahem, shouldn't we avoid calls from the core to the packages,
    >> even xemacs-base?

Boot paragraphs.el to xemacs-base.  Paragraph filling code doesn't
belong in core, unless somebody wants to implement the Xah Lee spec
(ie, GTK text box style autowrapping of long lines) for redisplay.
Nor do I see why it would depend on version-specific internal APIs,
although I'm willing to be enlightened on the matter.

    Jerry> Note that fully implementing fields also requires changing
    Jerry> the text motion commands to be field-aware, which implies
    Jerry> calls from C code to the field API.

That would justify putting fields in C and/or core.

Still, that means that we're going to have to jump through hoops to
support 21.4, which we should do until at least mid-2006 at current
pace of development.  And it doesn't change my opinion about where
paragraphs.el belongs.

-- 
Institute of Policy and Planning Sciences     http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.




More information about the XEmacs-Beta mailing list