> I know about binary, endoffile and ff=dos setting.
>
> Still I get this result:
>
> 61 62 63 0A 61 6F 6E 74 65 68 75
> ^^ no end of file eol. That's ok
> ^^ this is \n where is the \r ?
>
> Is this a bug?
What are you doing exactly?
> I want Vim to store file the way it got them - so that VCS control
> systems don't show that something changed all lines within a file.
> set binary should be enough. But apparently its not ?
Actually, you should normally not set binary to write back what was read.
'endoffile' is the exception, and that's because a decent text file must
end with a LF. Vim fixes that for you (it always has). If other tools
omit that LF you need to fix those tools, not Vim.
--
Birthdays are healthy. The more you have them, the longer you live.
/// Bram Moolenaar -- Bram@Moolenaar.net -- 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_use" 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
No comments:
Post a Comment