On Fri, Jul 23, 2010 at 19:04, James Vega <james...@jamessan.com> wrote: > On Fri, Jul 23, 2010 at 12:56 PM, Nikolai Weibull <n...@bitwi.se> wrote: >> On Fri, Jul 23, 2010 at 17:22, Benjamin R. Haskell <v...@benizi.com> 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. Of course. Yet Emacs, WebKit/Gecko/Internet Explorer, Ruby, Python, and so on manage to deal with it. > The TODO list has an item for supporting an encoding specification in > the first few lines of the file similar to what Python allows. Sort of like a modeline? -- 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