[racket] quack qunundrum
In *scratch*
(geiser-racket--parameters)
says
("-i" "-q" "-S" "c:/Users/Greg/site/geiser/scheme/racket/" "-f"
"c:/Users/Greg/site/geiser/scheme/racket/geiser/startup.rkt")
which looks correct.
When I run that manually in the shell:
racket -i -q -S c:/users/greg/site/geiser/scheme/racket -f
c:/Users/Greg/site/geiser/scheme/racket/geiser/startup.rkt
It gives the same error result:
Welcome to Racket v5.0.2.
c:/Users/Greg/site/geiser/scheme/racket/geiser/startup.rkt:21:9:
geiser/user: standard-module-name-resolver: collection not found:
"geiser" in any of: (#<path:C:\Program Files (x86)\Racket\collects>)
in: geiser/user
=== context ===
standard-module-name-resolver
C:\Program Files
(x86)\Racket\collects\errortrace\errortrace-lib.rkt:398:2:
errortrace-annotate
C:\Program Files (x86)\Racket\collects\errortrace\errortrace-lib.rkt:441:4
(string-append "c:/users/greg/site/geiser/scheme/racket"
"geiser/user.rkt") =
"c:/Users/Greg/site/geiser/scheme/racket/geiser/user.rkt", which does
exist.
The -S flag to racket.exe does appears to work as expected in an
example I contrived. But not with this.
I've looked at this over and over and can't spot what's wrong. I
guess I should take a break from this and wait for a bathtub moment.
On Mon, Nov 29, 2010 at 12:43 PM, Greg Hendershott
<greghendershott at gmail.com> wrote:
> P.S. When I said
>
>> (I don't think it can't "c:/users/greg/site/geiser/scheme/racket".
>> When I tried that, it was trying to do
>> "c:/users/greg/site/geiser/scheme/racket/racket", i.e. you seem to
>> append "racket" automatically.)
>
> I mean that for example that results in this error:
>
> Welcome to Racket v5.0.
> default-load-handler: cannot open input file:
> "c:/users/greg/site/geiser/scheme/racket/racket/geiser/startup.rkt"
> (The system cannot find the path specified.; errno=3)
>
>
>
> On Mon, Nov 29, 2010 at 12:41 PM, Greg Hendershott
> <greghendershott at gmail.com> wrote:
>> Hi, Jose.
>>
>> Thank you.
>>
>>> No adjustment of the collects path should be necessary: it's supposed to
>>> be done automatically by geiser load scripts.
>>
>> Yes that seemed to be the case on OS X.
>>
>>> How are you loading geiser? (i.e., what's in your .emacs?)
>>
>> Just this:
>>
>> (load-file "~/site/geiser/elisp/geiser.el")
>> (setq geiser-active-implementations '(racket))
>>
>>> What is the value of the variable
>>> geiser-scheme-dir inside Emacs (from the trace above, it should be
>>> something like "c:/Users/Greg/site/geiser/scheme/racket/")?
>>
>> "c:/users/greg/site/geiser/scheme"
>>
>> (I don't think it can't "c:/users/greg/site/geiser/scheme/racket".
>> When I tried that, it was trying to do
>> "c:/users/greg/site/geiser/scheme/racket/racket", i.e. you seem to
>> append "racket" automatically.)
>>
>>
>> On Mon, Nov 29, 2010 at 9:52 AM, Jose A. Ortega Ruiz <jao at gnu.org> wrote:
>>>
>>> Hi,
>>>
>>> On Mon, Nov 29 2010, Greg Hendershott wrote:
>>>
>>>> This is working for me on Mac OS X.
>>>>
>>>> On Windows 7 I'm getting this error for run-geiser:
>>>>
>>>> ----
>>>> Welcome to Racket v5.0.
>>>> c:/Users/Greg/site/geiser/scheme/racket/geiser/startup.rkt:21:9:
>>>> geiser/user: standard-module-name-resolver: collection not found:
>>>> "geiser" in any of: (#<path:C:\Program Files (x86)\Racket\collects>)
>>>> in: geiser/user
>>>>
>>>>
>>>> === context ===
>>>> standard-module-name-resolver
>>>> C:\Program Files
>>>> (x86)\Racket\collects\errortrace\errortrace-lib.rkt:406:2:
>>>> errortrace-annotate
>>>> C:\Program Files (x86)\Racket\collects\errortrace\errortrace-lib.rkt:449:4
>>>> ----
>>>>
>>>> I tried adding the following to my Emacs init file:
>>>>
>>>> (setq geiser-racket-collects (quote ("c:/users/greg/site/geiser/scheme/racket/"
>>>> "c:/users/greg/site/geiser/scheme/racket"
>>>> "c:/users/greg/site/geiser/scheme/racket/geiser/"
>>>> "c:\\users\\greg\\site\\geiser\\scheme\\racket\\"
>>>> "c:\\users\\greg\\site\\geiser\\scheme\\racket\\geiser\\")))
>>>>
>>>
>>> No adjustment of the collects path should be necessary: it's supposed to
>>> be done automatically by geiser load scripts. How are you loading
>>> geiser? (i.e., what's in your .emacs?) What is the value of the variable
>>> geiser-scheme-dir inside Emacs (from the trace above, it should be
>>> something like "c:/Users/Greg/site/geiser/scheme/racket/")?
>>>
>>> Cheers,
>>> jao
>>>
>>
>