From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: decode-coding-string gone awry? Date: Thu, 17 Feb 2005 05:35:33 -0500 Message-ID: References: <200502140150.KAA29610@etlken.m17n.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1108641853 25296 80.91.229.2 (17 Feb 2005 12:04:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 17 Feb 2005 12:04:13 +0000 (UTC) Cc: emacs-devel@gnu.org, handa@m17n.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 17 13:04:12 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D1kNS-00065V-GI for ged-emacs-devel@m.gmane.org; Thu, 17 Feb 2005 13:03:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D1kdZ-0001Ge-Le for ged-emacs-devel@m.gmane.org; Thu, 17 Feb 2005 07:20:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D1jSI-0001Hj-Rr for emacs-devel@gnu.org; Thu, 17 Feb 2005 06:04:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D1jPy-0000kt-VO for emacs-devel@gnu.org; Thu, 17 Feb 2005 06:02:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D1jIv-0008Si-T8 for emacs-devel@gnu.org; Thu, 17 Feb 2005 05:54:42 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D1j4i-0004en-My for emacs-devel@gnu.org; Thu, 17 Feb 2005 05:40:00 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1D1j0P-0006wu-FD; Thu, 17 Feb 2005 05:35:33 -0500 Original-To: Stefan Monnier In-reply-to: (message from Stefan Monnier on Tue, 15 Feb 2005 11:17:10 -0500) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:33574 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33574 I'm actually running right now with an Emacs that does signal such errors. I've changed the notion of "multibyte/unibyte" string by saying: - [same as now] if size_byte < 0, it's UNIBYTE. - [same as now] if size_byte > size, it's MULTIBYTE. - [changed] if size_byte == size, it's neither/both (ASCII-only). That is a far-reaching change. It would have to be thought about theoretically, not just tried.