kvs/ST2EmacsModelines — pull request #4 by rivy (2012-04-22 04:55:38+00:00)
Title: Windows _init_ FIX, prefixed ST2 file variables, and 'coding' implementation

The _init_ function still fails in Windows (after including your code cleaning up the path manipulation). After testing, it seems that ST2 expects POSIX (or Cygwin/MSYS) style paths for the 'syntax' setting, regardless of OS. I don't know if it's documented that way; if not, I'd call it a bug. I've added the necessary syntax_file.replace() to repair the problem.

Additionally, I've added the prefix for sublime specific settings and new support for the emacs 'coding' file variable (useful for DOS batch files which require CRLF line endings for proper function).

Again, for your consideration...

- Roy