|
From: Anton V. <avo...@ya...> - 2011-11-30 19:10:07
|
02.11.2011, 09:11, "Raymond Toy" <toy...@gm...>: > On 11/1/11 3:06 AM, Anton Vodonosov wrote: >> I am on Windows 7, CLISP 2.49, Emacs 23.2.1, slime-20110730-cvs. > Oh. Perhaps that's a problem on windows or with your version of slime. > I ran my test on Mac OS X with slime 2011-08-18 and xemacs 21.5beta. For the record, I found the reason. It's Emacs. It wants to use environment variable HOME to determine the location where to store the .emacs file. On Windows HOME is usually absent, and Emacs then uses APPDATA variable instead. So far OK. But then Emacs sets the HOME variable to the value of APPDATA. The processes it starts (e.g. lisp implementation for slime) inherit the HOME variable. On Windows my home directory is C:\Users\anton\. APPDATA points to C:\Users\anton\AppData\Roaming\. CLISP (and other lisps) determine C:\Users\anton as the value of (user-homedir-pathname), even it the HOME environment variable is absent. And that's where .clisprc.lisp is stored. But when they inherit HOME from Emacs, they use it's value (which is set by Emacs to C:\Users\anton\AppData\Roaming\), and .clisprc is not found. Best regards, - Anton |