From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.devel Subject: Re: Need help with catching reader error Date: Wed, 22 Apr 2009 08:40:17 -0700 Message-ID: <1240414817.3133.110.camel@localhost.localdomain> References: <1240410767.3133.109.camel@localhost.localdomain> <877i1cspsz.fsf@delenn.lan> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1240415239 21098 80.91.229.12 (22 Apr 2009 15:47:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Apr 2009 15:47:19 +0000 (UTC) Cc: Guile Devel To: Andreas Rottmann Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Apr 22 17:48:37 2009 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LwegF-0001cn-KN for guile-devel@m.gmane.org; Wed, 22 Apr 2009 17:48:11 +0200 Original-Received: from localhost ([127.0.0.1]:38670 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lweeq-0005fX-Jl for guile-devel@m.gmane.org; Wed, 22 Apr 2009 11:46:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LweYd-0002g6-Ix for guile-devel@gnu.org; Wed, 22 Apr 2009 11:40:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LweYc-0002f2-7Z for guile-devel@gnu.org; Wed, 22 Apr 2009 11:40:18 -0400 Original-Received: from [199.232.76.173] (port=38547 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LweYc-0002eo-18 for guile-devel@gnu.org; Wed, 22 Apr 2009 11:40:18 -0400 Original-Received: from smtp108.prem.mail.sp1.yahoo.com ([98.136.44.63]:26254) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LweYb-0002ZQ-7P for guile-devel@gnu.org; Wed, 22 Apr 2009 11:40:17 -0400 Original-Received: (qmail 45113 invoked from network); 22 Apr 2009 15:40:16 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Subject:From:To:Cc:In-Reply-To:References:Content-Type:Date:Message-Id:Mime-Version:X-Mailer:Content-Transfer-Encoding; b=EFHI3DvtIgZ6+Lb1d1yCctmh5aqQ+y3v6xFKaMpIKPniqLb4ApF+EI/T557ojIe/xFzHqXxsriqsn8bZUq1kx/+LjzSMYe/qRizHXIKSDs3vGSLfZtsp/eJ6Izltw/NTS8XEnfth+JThIEiDK/eoGUg+ZqEvnN79yN9VieJu1bE= ; Original-Received: from unknown (HELO ?192.168.1.64?) (spk121@71.143.114.144 with plain) by smtp108.prem.mail.sp1.yahoo.com with SMTP; 22 Apr 2009 15:40:15 -0000 X-YMail-OSG: PEdasrYVM1mopWMz0ggFY2hkhqVbXk3ySxxFkWshJhORl.6Uq6IZbAz6PeWBc05hZgbwh5N52fmMzFuzFaBdVJNjcn9X_Rom.ROhmX_QP0pYn00wzlINGbheYcHKoWUxCmVtOX9HeJALXAf9L2PFceZC1VWbSqkHesPsfYkNdcbWSY4ChdbDhalIp56o2XUePvX6LkfqWVyOiIskFo8Euax4hYEZ1t4jI17L54zwXKg5PF3oavdnM.sk9Q6DaWskORAwBLFwesdwUZ4PgTEhChsHLpshk5Fb6wuEgJDbad.0Zjwszr8A1yFWeAYvXgBPbrCzLhoVDCOBrWfruD4J X-Yahoo-Newman-Property: ymail-3 In-Reply-To: <877i1cspsz.fsf@delenn.lan> X-Mailer: Evolution 2.24.5 (2.24.5-1.fc10) X-detected-operating-system: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:8448 Archived-At: On Wed, 2009-04-22 at 16:53 +0200, Andreas Rottmann wrote: > Mike Gran writes: > > (with-test-prefix "basic char handling" > > (pass-if-exception "non-existent named character" > > exception:read-error > > #\foobar)) > > > You have a syntax error in your source script, which will hence not be > able to be read and consequently not be able to be evaluated. > > Use this instead of #\foobar in the source text: > > (with-input-from-string "#\\foobar" read) > > This way, your source has legal syntax. > --Rotty Nice. It works great. Thanks. -Mike Gran