From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Using empty_string as the only "" string Date: Wed, 25 Apr 2007 11:58:58 +0200 Message-ID: <86slao93ml.fsf@lola.quinscape.zz> References: <462E310C.20400@yandex.ru> <85k5w1cu64.fsf@lola.goethe.zz> <462E7FB5.7090905@gmail.com> <857is1csoy.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1177495162 30487 80.91.229.12 (25 Apr 2007 09:59:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 25 Apr 2007 09:59:22 +0000 (UTC) Cc: lekktu@gmail.com, emacs-devel@gnu.org, dmantipov@yandex.ru, lennart.borgman@gmail.com, Kenichi Handa To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 25 11:59:20 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 1HgeHI-0004Mh-NH for ged-emacs-devel@m.gmane.org; Wed, 25 Apr 2007 11:59:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HgeMu-0002le-7o for ged-emacs-devel@m.gmane.org; Wed, 25 Apr 2007 06:05:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HgeMq-0002ko-9g for emacs-devel@gnu.org; Wed, 25 Apr 2007 06:04:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HgeMo-0002js-3s for emacs-devel@gnu.org; Wed, 25 Apr 2007 06:04:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HgeMn-0002jm-Rb for emacs-devel@gnu.org; Wed, 25 Apr 2007 06:04:54 -0400 Original-Received: from pc3.berlin.powerweb.de ([62.67.228.11]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HgeH8-0006iV-UW for emacs-devel@gnu.org; Wed, 25 Apr 2007 05:59:04 -0400 Original-Received: from quinscape.de (pd95b0fdb.dip0.t-ipconnect.de [217.91.15.219]) by pc3.berlin.powerweb.de (8.9.3p3/8.9.3) with ESMTP id LAA01079 for ; Wed, 25 Apr 2007 11:58:56 +0200 X-Delivered-To: Original-Received: (qmail 15463 invoked from network); 25 Apr 2007 09:58:58 -0000 Original-Received: from unknown (HELO lola.quinscape.zz) ([10.0.3.43]) (envelope-sender ) by ns.quinscape.de (qmail-ldap-1.03) with SMTP for ; 25 Apr 2007 09:58:58 -0000 Original-Received: by lola.quinscape.zz (Postfix, from userid 1001) id E84458F8BB; Wed, 25 Apr 2007 11:58:58 +0200 (CEST) In-Reply-To: (Andreas Schwab's message of "Wed\, 25 Apr 2007 11\:51\:37 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) X-detected-kernel: Linux 2.4-2.6 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:70084 Archived-At: Andreas Schwab writes: > Kenichi Handa writes: > >> In article , Andreas Schwab writes: >> >>> Since you can't modify the empty string there is no contradiction. >> >> You can modify the multibyteness of an empty string, > > Good point, that makes the optimisation indeed invalid. How can one modify the multibyteness of any string object? As far as I can see, one can only create copies with a different multibicity. -- David Kastrup