Setting major mode from vim modeline?
DarwinAwardWinner opened this issue · comments
Would you be interested in a patch that would use the vim modeline to set the major mode of a file from the vim modeline's "syntax" declaration? I'm thinking of implementing such a feature. The general idea would be to add a function to magic-mode-alist
that gets the syntax declaration and looks it up in an alist that maps vim syntax names to emacs major mode functions.