Windows has always been an incredibly annoying platform to work on (sigh)
But this only becomes a head-ache when you need to support cross-platform code We use clearcase ( and I think we use the property that saves everything in unix format ) But the editor problem described below is very much a problem -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Ben Fritz Sent: Tuesday, April 02, 2013 4:42 AM To: [email protected] Cc: Lech Lorens Subject: Re: [patch] Handle files with mixed LF - CRLF line endings when doing tag search On Monday, April 1, 2013 11:43:38 AM UTC-5, Bram Moolenaar wrote: > > I wonder how many users actually run into files where only some lines > > end in a CR. I would consider such a file broken, and first thing would > > be to strip them all off. > It's quite frequent where I work. I even have an autocmd that reloads the file in DOS format if it detects mixed line endings. It sets "nomodified" but doesn't save, so if I don't make any further changes, the file on-disk remains unchanged. The problem is that many other editors, including Visual Studio and UltraEdit, may read in Unix file format correctly, but depending on how they are configured, will insert Windows line endings on any *new* lines. UltraEdit will even preserve line ending style of any copy-pasted text. That *sounds* like a feature but in reality it is incredibly annoying. Do I understand correctly, that I won't see the problem, because I already force-reload the file to remove the mixed line endings? -- -- 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]. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
