On Fri, Jul 23, 2010 at 12:56 PM, Nikolai Weibull <[email protected]> wrote: > On Fri, Jul 23, 2010 at 17:22, Benjamin R. Haskell <[email protected]> wrote: > >> As Bram asserted, modelines take effect too late to serve this purpose. > > Then the modeline needs to take effect earlier to serve this purpose.
You have to read the file to see if there's a modeline, but to read (and properly interpret) the file, you need to know the encoding. So there's a cyclic dependency. The TODO list has an item for supporting an encoding specification in the first few lines of the file similar to what Python allows. -- James GPG Key: 1024D/61326D40 2003-09-02 James Vega <[email protected]> -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
