[Top][All Lists]

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

Re: eight-bit char handling in emacs-unicode

From: Juri Linkov
Subject: Re: eight-bit char handling in emacs-unicode
Date: Wed, 19 Nov 2003 12:46:56 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:
> Now to tell you the truth, my change had to accept a few (not so) special
> cases and it took a bit of fiddling to make the code lenient enough to
> accept elisp code I didn't feel like "fixing".  I can't remember the details
> off-hand, but I remember having problems with regexp matching functions
> where multibyte regexps are used in unibyte buffers.

Do you mean unibyte regexps in multibyte buffers?  For example,
currently gnus/message.el has a wrong regexp than prevents the Gnus
from using in some language environments.  To repeat this bug,
you can eval the following:

 (set-language-environment 'ukrainian)
 (re-search-forward "[\000-\007\013\015-\032\034-\037\200-\237]" nil t))

It fails with the (invalid-regexp "Invalid range end").
Could you suggest how to fix this bug?


reply via email to

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