[Bug: 21.5-b28] Could you please turn on `RE_CHAR_CLASSES' for XEmacs?

It's me FKtPp ;) m_pupil at yahoo.com.cn
Fri Feb 22 09:30:39 EST 2008


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~~



More information about the XEmacs-Beta mailing list