[plt-scheme] complile-file and debugging

From: Chongkai Zhu (czhu at cs.utah.edu)
Date: Mon Apr 9 20:51:06 EDT 2007

>> I found that when using language mzscheme without debugging, opening a file
>> starting with (module ... sets the language for that file to (module ...)
>> with the debug option enabled. Therefore I wonder what compile-file does
>> when called from mzscheme without debugging for a file containing a module.
> 
> That "cleverness" you're seeing is drscheme looking at the beginning
> of the file and setting the language level based on it. Nothing else.
> 

I have noticed this feature. But I don't like it. Even the file I open starts with (module ,
I still would like to use the mzscheme language, and require that module by code. 
Could I turn of this feature by doing some setting in "preferences"?

Chongkai

Posted on the users mailing list.