From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: enhancement requests Date: Thu, 21 Apr 2011 11:34:18 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1303378476 2644 80.91.229.12 (21 Apr 2011 09:34:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 21 Apr 2011 09:34:36 +0000 (UTC) Cc: guile-devel@gnu.org To: Wolfgang J Moeller Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Apr 21 11:34:32 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QCqHP-0005ZA-Sp for guile-devel@m.gmane.org; Thu, 21 Apr 2011 11:34:32 +0200 Original-Received: from localhost ([::1]:39051 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCqHP-0002Ye-AG for guile-devel@m.gmane.org; Thu, 21 Apr 2011 05:34:31 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55073) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCqHM-0002YZ-HG for guile-devel@gnu.org; Thu, 21 Apr 2011 05:34:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QCqHL-000753-9R for guile-devel@gnu.org; Thu, 21 Apr 2011 05:34:28 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:49040 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCqHL-00074g-2z for guile-devel@gnu.org; Thu, 21 Apr 2011 05:34:27 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id E721E2E30; Thu, 21 Apr 2011 05:36:24 -0400 (EDT) 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=oL/T+pK4lSMmd1Qe+fz7NPsngRs=; b=Sc0Nt1 P8kRHjQg4Z7mFgKE/BnGztdZ3qfTrJ+HXVvhGqLgje1I14Yh40HEYP4ToywHvmTR j68Blenb8lvjyksEpvuvvXz7eqt0nXCVLbGMfHAjyWdw2N6OEoKlVzuOSQ2kiXii JNmuEWHyngjAUPcC0BPzyFHKWk+TtDWxbShIA= 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=XKxa6vEfB7XKC+RqDi2X8b4XPh4NvbQK ZoIP62w9d5CQ8aBZmvt21foJZfR1vLdAgVJYkeYOve5NsfHZfqeW0/mysuu3QOt+ P68edFWTo/6SiQR8XKAFME/g67oE2P0vBwrpwHEW1bKl4thhEeKo9OlgRg9lhlpm SYTED2SrlJ0= 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 D05362E2F; Thu, 21 Apr 2011 05:36:23 -0400 (EDT) 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 E25DB2E2E; Thu, 21 Apr 2011 05:36:21 -0400 (EDT) In-Reply-To: (Wolfgang J. Moeller's message of "Mon, 18 Apr 2011 11:53:26 +0200 (CEST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: D2668F08-6BFA-11E0-9DE0-E8AB60295C12-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: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:12303 Archived-At: Hi Wolfgang, On Mon 18 Apr 2011 11:53, Wolfgang J Moeller writes: > On Fri, 15 Apr 2011, Andy Wingo wrote: > >> On Mon 21 Mar 2011 01:24, Wolfgang J Moeller writes: >> >> >> > (4) compiler: Now that compiling into hidden ~.cache/... directories >> >> > has been declared the default behaviour, please cater to those >> >> > (like me) who'd always look for their compiled files in the >> >> > source directory, by providing a command line switch ... >> >> > (E.g. "psyntax" provides a useful "include" macro, the use >> >> > of which breaks the "need only recompile when source changed" >> >> > assumption. Don't like to "make clean" in that hidden place). >> >> >> > I'm mostly concerned with interactive use of (un-adorned) "guile" command. >> > I have files that use macros defined elsewhere - once I have LOADed >> > (and automatically compiled) such files, and change the macros, there's >> > [apparently] no way to make guile re-load the source, short of deleting >> > the (.cache-d) compiler output. Having to locate that in a far-away place >> > is no fun ... so maybe, what I really want is "load-ignoring-cached-go" ? >> >> I have added a --fresh-auto-compile argument to Guile, or equivalently >> GUILE_AUTO_COMPILE=fresh. Hopefully that should hack around Guile's >> missing dependency tracker for the time being. > > Sorry, that's not what I intended. I realize that it's not what you originally asked for. However I don't currently know how to support .go alongside .scm files, if you don't explicitly compile them yourself and set GUILE_LOAD_COMPILED_PATH. My point was that there shouldn't be a difference between auto-compiling and not; auto-compilation should work. It doesn't in this case, because of lack of dependency tracking, so I added this flag to forceably treat the cache as stale. You could also try setting XDG_CACHE_HOME to something in your build tree... Andy -- http://wingolog.org/