Ben Fritz wrote: > On May 19, 6:42 am, Bram Moolenaar <[email protected]> wrote: > > Patch 7.3.191 > > Problem: Still some RISC OS stuff to remove. > > Solution: Remove files and lines. (Hong Xu) > > Remove the 'osfiletype' option code. > > Did this entirely remove the 'osfiletype' option? There are still > several mentions of it in the :help documents (:helpgrep on my system > shows 17 matches).
The help files are updated separately. It's now a hidden option. > I wonder, if we might re-use this option to implement a similar > extended attribute on Mac OS? See the following tip about saving the > encoding information with the file, in the com.apple.TextEncoding > extended attribute. I have no real idea how this stuff works (a google > search didn't turn up very much of use) but it looks like something > very useful which Vim could do if we can figure out how it is supposed > to work. There are probably other extended attributes which might be > more appropriate than the encoding, but I don't think encoding is that > far off the intent of this option. Maybe, though, it's better to just > do it in an autocmd like in the tip below: > > http://vim.wikia.com/wiki/Display_UTF-8_characters_in_Mac_Quicklook Is this actually being used and widely supported? I do intend to re-use the osfiletype autocmd pattern for matching with 'filetype'. It's a bit of work to implement. -- Bare feet magnetize sharp metal objects so they point upward from the floor -- especially in the dark. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- 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
