[plt-scheme] 301.13

From: Eli Barzilay (eli at barzilay.org)
Date: Sun Apr 23 00:29:12 EDT 2006

On Apr 22, Matthew Flatt wrote:
> At Sat, 22 Apr 2006 23:17:19 -0400, Neil Van Dyke wrote:
> > > Starting with 301.13, however, MzScheme and MrEd no longer recognize
> > > the PLTHOME environment variable. The (relative) path to the main
> > 
> > External build tools and dumb editors (e.g., Emacs with Quack) will want
> > to know the equivalent of "PLTHOME" or the default for "PLTCOLLECTS".
> > Could you document a shell command that'll print the directory/ies to
> > stdout?
> Do you mean something like this?
>  env PLTCOLLECTS="" mzscheme -mvqe '(printf "~s\n" (map path->string 
>  (current-library-collection-paths)))'

And to add on that (equivalent of PLTCOLLECTS) -- (eventually) there
will be no straightforward equivalent of PLTHOME, since it might be
spread out on a unix filesystem...  The version that will be running
depends on the executable that your PATH puts first.

[This fixes a hack that makes things weird now:

  env PLTHOME=$HOME/plt-300 $HOME/plt-301/<launcher>

runs the v300 of the launcher, since it's a script that just uses
PLTHOME if set, but

  env PLTHOME=$HOME/plt-300 $HOME/plt-301/mzscheme

runs mzscheme v301 using the wrong collections, since it's not a
launcher script.]

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!

Posted on the users mailing list.