George V. Reilly wrote: > On Sun, May 2, 2010 at 10:37 AM, Bram Moolenaar <[email protected]> wrote: > > > > Scanning the ftplugins, it seems 'flexwiki' is the only one which sets > > > 'bomb'. Is it an ok thing for it to do? Also, why is "flexwiki" the > > > handler, when wikipedia is probably the most widely used wiki? But > > > that's a quibble. > > > > Setting 'bomb' is weird. Unless the filetype requires the file to be > > written in utf-8 for the file to be working properly. > > > > George, is setting 'bomb' really required? If so, how can we avoid that > > this happens when the flexwiki filetype is detected when it's actually > > another kind of file? > > > > As a guard, 'bomb' should only be set when 'encoding' is utf-8. > > This applies to 'fileencoding' as well. > > > > At the time of writing the www.flexwiki.com site was not available, thus > > I could not check any specification there. > > > I haven't used Flexwiki in 3 years, so I forget the details of why 'bomb' > was needed. > > I think Flexwiki is dead or nearly so. It seems like mapping .wiki files to > wikipedia (MediaWiki?) rather than Flexwiki is far more useful. Feel free to > remove the flexwiki mapping from ftplugin.vim.
What I did now is to disable recognizing .wiki files as flexwiki. Someone still using these files can re-enable it when needed. I can't find another file format that uses the .wiki extension. Mediawiki uses .mw. -- The goal of science is to build better mousetraps. The goal of nature is to build better mice. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.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
