>>>> "HN" == Hrvoje Niksic
<hniksic(a)xemacs.org> writes:
HN> Jake Colman <jake.colman(a)xemacs.org> writes:
> First, why does XEmacs have its own, very different, version of
> font-lock?
HN> This is, to me, a strange question. XEmacs has had font-lock from
HN> *very* long ago (possibly before FSF), and until recently it was not
HN> at all clear which version was "better". It's sort of like asking
why
HN> we have a different version of isearch or a different version of
HN> `files.el'.
Ok, point taken. Thanks.
As I mention below I just realized that font-lock is actually part of core
and not done as packages. This should have made it clear to me that we need,
or want, a different (better) implementation. I assume we try to stay
feature-compatible with FSF so that anythng that they can do we can do too.
> I'd really like to use this function and this comment does
not quite
> do it for me. Can anyone tell me why it's missing?
HN> I assume that, so far, noone has needed it. Maybe it wouldn't be that
HN> hard to add?
> Jake Colman -- XEmacs Tinkerer
HN> Go ahead and tinker! :-)
Our implementarion is vastly different than FSF's. I cannot simply add the
missing function because it makes assumptions about how other functions
(i.e., font-lock-set-defaults) work. Our implementation of that function is
radically different so none of this can be simply ported from one version to
the other.
Having said all that, if I did decide to undertake the (non-trivial?) effort
to implement the font-lock-add-keywords function, what patch process would I
follow? font-lock is part of core, correct? This means that I'd have to
submit a patch to 21.5, have it approved, and then recommend it back for
21.4, correct?
--
Jake Colman -- XEmacs Tinkerer