From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Colin Walters Newsgroups: gmane.emacs.devel Subject: Re: Bad value from read-from-string Date: 29 May 2002 15:05:10 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <1022699110.1593.183.camel@space-ghost> References: <20020529130436.CB27.LEKTU@terra.es> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1022699155 14053 127.0.0.1 (29 May 2002 19:05:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 29 May 2002 19:05:55 +0000 (UTC) Cc: christoph.conrad@gmx.de Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17D8lf-0003eY-00 for ; Wed, 29 May 2002 21:05:55 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17D946-0004Uj-00 for ; Wed, 29 May 2002 21:24:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17D8m4-00029o-00; Wed, 29 May 2002 15:06:20 -0400 Original-Received: from monk.debian.net ([216.185.54.61] helo=monk.verbum.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17D8lP-0001zY-00 for ; Wed, 29 May 2002 15:05:39 -0400 Original-Received: from space-ghost.verbum.private (freedom.cis.ohio-state.edu [164.107.60.183]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "space-ghost.verbum.org", Issuer "monk.verbum.org" (verified OK)) by monk.verbum.org (Postfix (Debian/GNU)) with ESMTP id 1665D74000BA; Wed, 29 May 2002 15:05:25 -0400 (EDT) Original-Received: by space-ghost.verbum.private (Postfix (Debian/GNU), from userid 1000) id F1A03800323; Wed, 29 May 2002 15:05:10 -0400 (EDT) Original-To: emacs-devel@gnu.org In-Reply-To: <20020529130436.CB27.LEKTU@terra.es> X-Mailer: Ximian Evolution 1.0.3 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:4493 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4493 On Wed, 2002-05-29 at 07:08, Juanma Barranquero wrote: > On HEAD: > > emacs -q --no-site-file > M-x ielm > 1 [enter] > > => Args out of range: "1", 7, 1 > > Only happens with the first expression evaluated. It is caused by the > value returned by read-from-string. Should be fixed now; please let me know if not. The bug was caused by the order of evaluation of function arguments inside Fread_from_string, and my code depended on it being left-to-right. GCC always uses left-to-right, so I'm assuming this bug was revealed because you use the Windows compiler.