On Dec 21, 2004, at 18:26, Ralph Pöllath wrote:
[...] better if instead of looking at the filename extension, it would use the language chosen from menu "View -> Syntax Highlight as", because then it could work with unsaved files. I'm not sure wether that's currently possible, though.
It is not -- but (motivated by this) I'll add TM_FILETYPE in next beta which contain the name of the current syntax (unless there are other suggestions).