From: Luis O. <lu...@gm...> - 2008-01-17 14:40:16
|
"Nikodemus Siivola" <nik...@ra...> writes: > On 12/25/07, Luis Oliveira <lu...@gm...> wrote: >> Terrence Brannon <ter...@jp...> writes: >> > The manual says it loads HOME/.sbclrc but HOME is not defined in my >> > environment. [...] > I wonder if we should use only SHGetFolderPath(CSIDL_PROFILE). Plain Windows and Cygwin/MSYS can perhaps be considered different environments that have different opinions about where the user's homedir is, and one might expect SBCL to follow the unixisms there. FWIW, CLISP has the same behaviour as SBCL in this regard. However, one probably wouldn't expect that setting HOME system-wide, or running it from within Emacs, would cause SBCL to have USER-HOMEDIR-PATHNAME return different values and having it look up different .sbclrc paths is definitely unexpected. That might be an argument for dropping the unixisms. On a related note, loading HOMEDIR/.sblrc might not be the best location for that file. \Documents and Settings\User\Application Data\SBCL\sbcl.rc is probably a better place. Emacs 22 puts its .emacs over there as well. That'd be \Users\User\AppData\SBCL\sbcl.rc in Vista's new directory structure. -- Luís Oliveira http://student.dei.uc.pt/~lmoliv/ |