The comment on mimeMode sort of implies it could be something other than a mimetype -- "High level CodeMirror mode OR...".  I'm guessing that's referring to the { name: ... } construct that CM accepts?  But I think we don't actually support anything other than a string mimetype.