[racket] #lang text ? #lang none ?

From: Neil Van Dyke (neil at neilvandyke.org)
Date: Thu Jan 19 17:17:23 EST 2012

John Clements wrote at 01/19/2012 02:52 PM:
> which could begin a text file and indicate that no highlighting should be done, and that evaluation should be a no-op.

DrRacket already has an "Edit -> Modes" menu.  How about setting this 
mode based on the filename extension, if no "#lang" line is present?

("#lang" is syntactically invalid in a lot of file formats.  Also, it 
doesn't look great at the top of ".txt" files, IMHO.)

-- 
http://www.neilvandyke.org/

Posted on the users mailing list.