On Thu, Jul 22, 2021 at 7:11 AM Martin Tournoij <[email protected]> wrote: > > These are "raw" dumps of emails, and pretty much everyone uses and > expects DOS line endings, as specified in RFC5322.
Warning: 'fileformats' (plural) is a global (only) setting. This means that changing it, even with :setlocal, will change the global value and therefore affect all files from then on. In particular, all files (of any filetype) read thereafter will be written (if and when they are) with DOS ends-of-lines, even if when read they had only Unix ends-of-lines, since reading a unix-type file with 'fileformats' set to "dos" (only) will recognize it as a DOS file. (In a DOS file, either CR+LF or LF alone are accepted as an end-of-line when reading, and all ends-of-lines, usually including the end of the last line, are written as CR+LF when writing.) Best regards, Tony. -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CAJkCKXuG%3Df9ZHhi_sMr9JKFWk%3D2dKSOxU6CWxFuBHS6DMADamA%40mail.gmail.com.
