From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Using empty_string as the only "" string Date: Wed, 25 Apr 2007 10:52:14 -0400 Message-ID: References: <462E310C.20400@yandex.ru> <87vefliha4.fsf@catnip.gol.com> <87ps5tifro.fsf@catnip.gol.com> <87ejm9ibsk.fsf@catnip.gol.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1177513100 3333 80.91.229.12 (25 Apr 2007 14:58:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 25 Apr 2007 14:58:20 +0000 (UTC) Cc: emacs-devel@gnu.org To: bojohan+news@dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 25 16:58:16 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hgiwh-0004uS-MI for ged-emacs-devel@m.gmane.org; Wed, 25 Apr 2007 16:58:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hgj2K-0004wr-IU for ged-emacs-devel@m.gmane.org; Wed, 25 Apr 2007 11:04:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HgizA-0003I8-BL for emacs-devel@gnu.org; Wed, 25 Apr 2007 11:00:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hgiz9-0003Gp-5M for emacs-devel@gnu.org; Wed, 25 Apr 2007 11:00:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hgiz8-0003GZ-M2 for emacs-devel@gnu.org; Wed, 25 Apr 2007 11:00:46 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HgitU-0001pC-Kt for emacs-devel@gnu.org; Wed, 25 Apr 2007 10:54:56 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1Hgiqs-0003fY-5Y; Wed, 25 Apr 2007 10:52:14 -0400 In-reply-to: (bojohan+news@dd.chalmers.se) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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 Xref: news.gmane.org gmane.emacs.devel:70108 Archived-At: The issue is about null strings. Non-null strings should not be canonicalized because you can change the elements and text properties in them. Handa wrote: You can modify the multibyteness of an empty string, and a unibyte empty string and a multibyte empty string behave a little bit differently, for instance, when concatinated with an unibyte 8-bit string. Thus, there would need to be two canonical null strings, one unibyte and one multibyte.