Stephen J. Turnbull wrote:
FKtPp writes:
> Now I want to make the code work correct under XEmacs. But after some
> edebug work, I find out that nxml-mode code using a kind of never
> documented char_class looks like:
>
> (name-start-char "[_[:alpha:]]")
> (name-continue-not-start-char "[-.[:digit:]]")
> (name-continue-char "[-._[:alnum:]]")
>
> And after chat with <kehoea> in #xemacs I know that, there's a very
> easy way to support this kind of thing.
In search.c, line 179 (or so), just change "RE_SYNTAX_EMACS" to
"RE_SYNTAX_EMACS | RE_CHAR_CLASSES". Rebuild. Please let us know how
it works out.
Good news~~ The recompiled XEmacs binary works! And if I make change in
regex.h It works also!
AFAIK this only will work as expected for ASCII files and search
expressions. In a Mule build there are likely to be crashes. For
those reasons, I would not expect this to appear in the mainline
without a lot of work. Definitely we will need testing.
Well, I am looking forward for the this to happen~~
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta