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: Sat, 28 Apr 2007 14:35:22 -0400 Message-ID: References: <462EE947.000007.15251@camay.yandex.ru> <4630A339.7000005@yandex.ru> <4631CA91.9020806@yandex.ru> <46330BC7.8040102@yandex.ru> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1177785575 15134 80.91.229.12 (28 Apr 2007 18:39:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 28 Apr 2007 18:39:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Antipov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 28 20:39:34 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 1HhrpU-00025Y-Ax for ged-emacs-devel@m.gmane.org; Sat, 28 Apr 2007 20:39:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HhrvT-0005hL-5O for ged-emacs-devel@m.gmane.org; Sat, 28 Apr 2007 14:45:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hhru9-000570-Od for emacs-devel@gnu.org; Sat, 28 Apr 2007 14:44:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hhru9-00056j-4z for emacs-devel@gnu.org; Sat, 28 Apr 2007 14:44:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hhru8-00056Y-RV for emacs-devel@gnu.org; Sat, 28 Apr 2007 14:44:20 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hhro9-00056W-1T for emacs-devel@gnu.org; Sat, 28 Apr 2007 14:38:09 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HhrlS-0001SO-Dr; Sat, 28 Apr 2007 14:35:22 -0400 In-reply-to: <46330BC7.8040102@yandex.ru> (message from Dmitry Antipov on Sat, 28 Apr 2007 12:54:31 +0400) 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:70338 Archived-At: Ok, so here is a version with two canonical strings allocated from pure space. Both canonical strings shares XSTRING(s)->data, but it should be valid since it can't be modified anyway. People could start experimenting with running with your patch.