emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fwd: Re: more on mumamo/php mode]


From: Stefan Monnier
Subject: Re: [Fwd: Re: more on mumamo/php mode]
Date: Tue, 24 Jul 2007 16:02:15 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

> "I found why this error happens. In the recent CVS Emacs, as
> utf-translate-cjk-mode is on by default, some Unicode characters will
> be decoded into one of CJK character set. But, as
> xsdre-range-list-to-char-alternative (xsd-regexp.el) simply do
> something like this to generate a character range: (format "%c-%c"
> (decode-char 'ucs FROM) (decode-char 'ucs TO)) the resulting regexp
> causes the above error."

What it should do instead is to loop over all chars between FROM and TO and
add them one by one.  Character-ranges in regexps work rather poorly in
such cases.

> The patch below is supposingly fixing this issue (and is working for
> me).

It works around the problem, but will most likely break the use of those
CJK chars.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]