From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Claus <claus.klingberg@gmail.com>, Emacs Devel <emacs-devel@gnu.org>
Subject: Re: [Fwd: Re: more on mumamo/php mode]
Date: Wed, 25 Jul 2007 00:12:46 +0200 [thread overview]
Message-ID: <46A6795E.4060405@gmail.com> (raw)
In-Reply-To: <jwv7iopzi65.fsf-monnier+emacs@gnu.org>
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?
next prev parent reply other threads:[~2007-07-24 22:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-22 10:50 [Fwd: Re: more on mumamo/php mode] Lennart Borgman (gmail)
2007-07-24 18:37 ` Claus
2007-07-24 20:02 ` Stefan Monnier
2007-07-24 22:12 ` Lennart Borgman (gmail) [this message]
2007-07-25 1:01 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46A6795E.4060405@gmail.com \
--to=lennart.borgman@gmail.com \
--cc=claus.klingberg@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).