[plt-scheme] Should DrScheme assume Module language when #lang?

From: Neil Van Dyke (neil at neilvandyke.org)
Date: Tue May 26 04:58:11 EDT 2009

That option is already set on.  On seems to be the default setting.  
Regardless of whether I set that preference on or off, DrScheme will not 
switch to Module language when I load a file with a "#lang" nor when I 
click the Run button.

This is 4.1.5 on Linux.

I guess I will dig around in the source when I get a chance.

Chongkai Zhu wrote at 05/26/2009 04:48 AM:
> Edit - Preferences - General - "Automatically switch to the module 
> language when opening a module"
> Chongkai
> Neil Van Dyke wrote:
>> DrScheme 4.1.5 doesn't do it for me.  I just tested now.  Am I doing 
>> something wrong?
>> Chongkai Zhu wrote at 05/26/2009 02:54 AM:
>>> My DrScheme does that (for a very long time).
>>> Chongkai
>>> Neil Van Dyke wrote:
>>>> This probably bites me at least once a day when I use DrScheme: I 
>>>> have a file with a "#lang" and click "Run", but DrScheme is either 
>>>> in a language other than "Module" or no language is selected at 
>>>> all.  Then I have to go through the several mouse operations to 
>>>> change the language and hit Run again.
>>>> Would it make sense to have the "Run" operation check for "#lang" 
>>>> and, if present, change the language to "Module" before running?
>>> _________________________________________________
>>>  For list-related administrative tasks:
>>>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme

Posted on the users mailing list.