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: Lennart Borgman (gmail)
Subject: Re: [Fwd: Re: more on mumamo/php mode]
Date: Wed, 25 Jul 2007 00:12:46 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.5) Gecko/20070716 Thunderbird/2.0.0.5 Mnenhy/0.7.5.666

Stefan Monnier wrote:
"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.


There are too much things I do not understand here. Could please you or someone else who understands this write the needed code?




reply via email to

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