From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: Re: Errors using `reload' command Date: Wed, 09 Feb 2011 09:20:23 +0100 Message-ID: References: <8CD91EE4B5F7F3C-2564-1D76E@webmail-m030.sysops.aol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1297239467 6532 80.91.229.12 (9 Feb 2011 08:17:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Feb 2011 08:17:47 +0000 (UTC) To: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed Feb 09 09:17:44 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pn5F9-0008FC-SN for guile-bugs@m.gmane.org; Wed, 09 Feb 2011 09:17:44 +0100 Original-Received: from localhost ([127.0.0.1]:48449 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pn5F9-0007ys-A5 for guile-bugs@m.gmane.org; Wed, 09 Feb 2011 03:17:43 -0500 Original-Received: from [140.186.70.92] (port=41374 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pn5Cp-0006zK-1f for bug-guile@gnu.org; Wed, 09 Feb 2011 03:15:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pn5Cn-00016k-Qi for bug-guile@gnu.org; Wed, 09 Feb 2011 03:15:18 -0500 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:33120 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pn5Cn-00016e-KQ for bug-guile@gnu.org; Wed, 09 Feb 2011 03:15:17 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id C73CF30D4 for ; Wed, 9 Feb 2011 03:16:16 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=1yKIZ78Qgw8Fwae87FWIA3dOC1I=; b=ByyrOZ SQSUd71nLSS8oAcJBQ0FxBm87vkyYcIyIQlc1ut3q5/jYJKC+9ZtjHjM9TiUABCU EzZXZR9FJQrCnmL9AFV5QsJ4btIVbWGSLGeccWSsTE/Z/MCmskI4woU1sd/+cG2x AQceSJeLd1QD+aZOpsl+Jc5mH0vi+oETsI9bw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:subject :references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=jgbE/LYGdtpKwuYXl4Xi1tC6EifQbDKQ JUy6KS/Y9HoGRnqMa1XtgnFC+6KgfqsMH03oFMehBJ1TbJB8rDdpENQb4uyE0o4F VX6+fIdw8Dp62fGWDrLo4w78kA/mt1q+nGYjc2Ov6clE5+GTd+zAyGwygirliEee OUSxqPnoSIM= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id C3BB330D3 for ; Wed, 9 Feb 2011 03:16:16 -0500 (EST) Original-Received: from unquote.localdomain (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 6294830D2 for ; Wed, 9 Feb 2011 03:16:16 -0500 (EST) In-Reply-To: (Andy Wingo's message of "Tue, 08 Feb 2011 23:58:49 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: DDE8A504-3424-11E0-A298-F13235C70CBC-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:5089 Archived-At: On Tue 08 Feb 2011 23:58, Andy Wingo writes: > On Thu 03 Feb 2011 20:18, Mark Harig writes: > >> scheme@(guile-user)> ,re (ice-9 readline) > > Actually now this causes an infinite loop. Doh. We need defvar, > somehow... What do people think about this: (define-syntax define-once (syntax-rules () ((_ sym val) (define sym (if (defined? 'sym) sym val))))) Should work, no? I added this to boot-9 locally and used it in readline and it appears to work fine. Andy -- http://wingolog.org/