unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: Wolfgang J Moeller <wjm@heenes.com>
Cc: guile-devel@gnu.org
Subject: Re: enhancement requests
Date: Thu, 21 Apr 2011 11:34:18 +0200	[thread overview]
Message-ID: <m3r58wgd7p.fsf@unquote.localdomain> (raw)
In-Reply-To: <alpine.LNX.2.00.1104181129531.3553@gwdw03.gwdg.de> (Wolfgang J. Moeller's message of "Mon, 18 Apr 2011 11:53:26 +0200 (CEST)")

Hi Wolfgang,

On Mon 18 Apr 2011 11:53, Wolfgang J Moeller <wjm@heenes.com> writes:

> On Fri, 15 Apr 2011, Andy Wingo wrote:
>
>> On Mon 21 Mar 2011 01:24, Wolfgang J Moeller <wjm@heenes.com> 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/



  reply	other threads:[~2011-04-21  9:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-17 11:50 enhancement requests Andy Wingo
2011-03-21  0:24 ` Wolfgang J Moeller
2011-03-21  8:23   ` Andy Wingo
2011-03-29  9:50   ` Andy Wingo
2011-03-29 14:40     ` Wolfgang J Moeller
2011-04-15  9:29   ` Andy Wingo
2011-04-18  9:53     ` Wolfgang J Moeller
2011-04-21  9:34       ` Andy Wingo [this message]
2011-04-21 10:21         ` enhancement requests ("load-ignoring-cached-go") Wolfgang J Moeller
2011-04-21 14:04           ` Andy Wingo
2011-04-21 15:56             ` Wolfgang J Moeller
2011-06-30 11:38               ` Andy Wingo
2011-04-23 19:17             ` Mark Harig
2011-03-29 10:18 ` enhancement requests Andy Wingo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3r58wgd7p.fsf@unquote.localdomain \
    --to=wingo@pobox.com \
    --cc=guile-devel@gnu.org \
    --cc=wjm@heenes.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).