[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sbcl-help
Subject:    Re: [Sbcl-help] Windows SBCL 1.0.9 - it stopped loading my .sbclrc
From:       Luis Oliveira <luismbo () gmail ! com>
Date:       2007-12-25 14:58:33
Message-ID: m1zlvyom7a.fsf () deadspam ! com
[Download RAW message or body]

Terrence Brannon <terrence.x.brannon@jpmchase.com> writes:
> The manual says it loads HOME/.sbclrc but HOME is not defined in my 
> environment.

USER-HOMEDIR-PATHNAME should tell you where "home" is:

  * (user-homedir-pathname)
  #P"C:\\Documents and Settings\\Luís\\"

Notice that it returns different values depending on whether you're
running it from Emacs, Cygwin, MSYS, cmd.exe, etc, because it first
looks for the HOME environment variable first (which is set by Emacs,
Cygwin, etc, but not necessarily set system-wide) and only then through
SHGetFolderPath(CSIDL_PROFILE) which should return something like what
you see in the example above.

-- 
Luís Oliveira
http://student.dei.uc.pt/~lmoliv/


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sbcl-help mailing list
Sbcl-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-help

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic