From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: (aset UNIBYTE-STRING MULTIBYTE-CHAR) Date: Wed, 14 May 2008 08:22:22 -0400 Message-ID: References: <20080507.213112.10351177.hanche@math.ntnu.no> <20080514.085438.56819933.hanche@math.ntnu.no> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1210767840 8740 80.91.229.12 (14 May 2008 12:24:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 May 2008 12:24:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: Harald Hanche-Olsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 14 14:24:28 2008 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 1JwG17-0007Xz-Vp for ged-emacs-devel@m.gmane.org; Wed, 14 May 2008 14:23:34 +0200 Original-Received: from localhost ([127.0.0.1]:58264 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwG0O-0001vf-N6 for ged-emacs-devel@m.gmane.org; Wed, 14 May 2008 08:22:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JwG0I-0001uS-GB for emacs-devel@gnu.org; Wed, 14 May 2008 08:22:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JwG0E-0001r3-Ae for emacs-devel@gnu.org; Wed, 14 May 2008 08:22:41 -0400 Original-Received: from [199.232.76.173] (port=39410 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwG0E-0001r0-8k for emacs-devel@gnu.org; Wed, 14 May 2008 08:22:38 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:42793) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JwG0E-0006Ry-1S for emacs-devel@gnu.org; Wed, 14 May 2008 08:22:38 -0400 Original-Received: from ceviche.home (vpn-132-204-232-44.acd.umontreal.ca [132.204.232.44]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id m4ECMrGN029279 for ; Wed, 14 May 2008 08:22:54 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id D499EB4093; Wed, 14 May 2008 08:22:22 -0400 (EDT) In-Reply-To: <20080514.085438.56819933.hanche@math.ntnu.no> (Harald Hanche-Olsen's message of "Wed, 14 May 2008 08:54:38 +0200 (CEST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3015=0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:97135 Archived-At: > My message on this topic of a week ago elicited no responses, so I did > a little more research on my own (which I should have done in the > first place, maybe). This time I hope to see some discussion: > + Harald Hanche-Olsen : >> This works as it should in the latest CVS: >>=20 >> (setq foo (make-string 4 ?a)) >> (aset foo 1 ?=E2=82=AC) ; <=3D that's a euro sign >>=20 >> But this fails: >>=20 >> (setq foo (make-string 4 ?a)) >> (aset foo 1 ?=C3=A5) >> (aset foo 1 ?=E2=82=AC) ; =3D> Error: args out of range Show us the real code that bunmped into the problem and I'll tell you how to do it so as to avoid the risk of such problems. Stefan