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

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Tue May 26 07:18:16 EDT 2009

For now, DrScheme only switches the language when you open the file,
not when you click "Run".

Robby

On Tue, May 26, 2009 at 3:58 AM, Neil Van Dyke <neil at neilvandyke.org> wrote:
> 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
>>>>
>>
>>
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>


Posted on the users mailing list.