From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: eight-bit char handling in emacs-unicode Date: Wed, 19 Nov 2003 12:46:56 +0200 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87ptfovdnj.fsf@mail.jurta.org> References: <200311130153.KAA04615@etlken.m17n.org> <200311130610.PAA04983@etlken.m17n.org> <200311130901.SAA05204@etlken.m17n.org> <200311140047.JAA06414@etlken.m17n.org> <200311180733.QAA13703@etlken.m17n.org> <200311190006.JAA14847@etlken.m17n.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1069239069 18511 80.91.224.253 (19 Nov 2003 10:51:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Nov 2003 10:51:09 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Nov 19 11:51:06 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AMPvO-0002HG-00 for ; Wed, 19 Nov 2003 11:51:06 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AMPvO-00043S-00 for ; Wed, 19 Nov 2003 11:51:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AMQsg-0005Hc-40 for emacs-devel@quimby.gnus.org; Wed, 19 Nov 2003 06:52:22 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AMQs7-0005H0-Iu for emacs-devel@gnu.org; Wed, 19 Nov 2003 06:51:47 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AMQrZ-0005B6-Ol for emacs-devel@gnu.org; Wed, 19 Nov 2003 06:51:44 -0500 Original-Received: from [64.246.52.22] (helo=ns5.tangramltd.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AMQrY-0005AG-HP for emacs-devel@gnu.org; Wed, 19 Nov 2003 06:51:12 -0500 Original-Received: from 80-235-39-51-dsl.mus.estpak.ee ([80.235.39.51] helo=mail.jurta.org) by ns5.tangramltd.com with esmtp (Exim 4.20) id 1AMPu2-00023n-VR; Wed, 19 Nov 2003 12:49:43 +0200 Original-To: Stefan Monnier In-Reply-To: (Stefan Monnier's message of "18 Nov 2003 22:05:39 -0500") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ns5.tangramltd.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jurta.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17910 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17910 Stefan Monnier 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: (progn (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? -- http://www.jurta.org/emacs/