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: Tue, 08 Feb 2011 23:48:08 +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 1297205004 25158 80.91.229.12 (8 Feb 2011 22:43:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 8 Feb 2011 22:43:24 +0000 (UTC) Cc: bug-guile@gnu.org To: Mark Harig Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Feb 08 23:43:19 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 1PmwHF-0005fu-Ug for guile-bugs@m.gmane.org; Tue, 08 Feb 2011 23:43:19 +0100 Original-Received: from localhost ([127.0.0.1]:60440 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PmwHE-0005yT-Aq for guile-bugs@m.gmane.org; Tue, 08 Feb 2011 17:43:16 -0500 Original-Received: from [140.186.70.92] (port=60166 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PmwH7-0005xd-Ds for bug-guile@gnu.org; Tue, 08 Feb 2011 17:43:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PmwH4-0001D4-BD for bug-guile@gnu.org; Tue, 08 Feb 2011 17:43:07 -0500 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:64217 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PmwH4-0001Cp-8r for bug-guile@gnu.org; Tue, 08 Feb 2011 17:43:06 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id DA89B34B0; Tue, 8 Feb 2011 17:44:03 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=shd892AOP2BDGvHA3lVAE42kjIk=; b=DNIvQB PqwDz2+/OJzAHl6xjDrInK3WlJFhtdso9bG3aCvMjvo27NUlF8p+odRYM3khKKAm NnPWU/IAP+6kcanGFfIUbWWRXc97mvQE7WQlJBb7KjiH2BZNrIEyzGQdc2xLxlU2 DjiU8R5y520G/WBI0je6JxR82JRy7dXn5a2B8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=JOFTzrPyBy5k7m/J7UDMBOekmOZshP+2 rheHR6wg1tXu+dB95grXuRAZZy4pW7Tp23WiX+qhWk4vt3JplnajYm96ef95BO9s h8xhfRB/s2TCLgIwmOFS4MVWap0TF42Pdn4RXh44cx9a0f61qjtkKFnBP5noONgP 0c6HAHPFGD4= 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 C694E34A4; Tue, 8 Feb 2011 17:44:02 -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 2662E34A3; Tue, 8 Feb 2011 17:44:00 -0500 (EST) In-Reply-To: <8CD91EE4B5F7F3C-2564-1D76E@webmail-m030.sysops.aol.com> (Mark Harig's message of "Thu, 03 Feb 2011 14:18:38 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: ED4071C6-33D4-11E0-8BD2-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:5085 Archived-At: Hi Mark, On Thu 03 Feb 2011 20:18, Mark Harig writes: > scheme@(guile-user)> ,re > While executing meta-command: > ERROR: unknown file name for module # Indeed, `reload' only works with modules that are associated with files. (guile-user) is not one of them. Neither are these: > (value-history) > (guile) But this is an interesting one: > scheme@(guile-user)> ,use > (system base compile) > (ice-9 readline) > (ice-9 readline) > (ice-9 r5rs) > (ice-9 session) > (ice-9 regex) > (ice-9 threads) > > [Note that "(ice-9 readline)" is listed twice, above. This is not a > transcription error.] This appears to arise because use-modules clauses are evaluated twice (once at expand-time, and once at load-time) and module-use-interfaces! was not doing the right thing. Fixed. > scheme@(guile-user)> ,re (ice-9 readline) > While executing meta-command: > ERROR: In procedure primitive-load-path: > ERROR: Unable to find file "guile-readline/ice-9/readline.scm" in load > path Fixed this one too, I think. Thanks for the reports, Andy -- http://wingolog.org/