On Thu, May 17, 2012 at 4:00 AM, Christian Brabandt <[email protected]> wrote: > Hi Benjamin! > > On Mi, 16 Mai 2012, Benjamin Fritz wrote: > >> Is there a reason we couldn't do the encoding conversion in memory, >> and if it succeeds, only then open the file to write the data? That >> seems like the sanest way to do things. Only open the file when you > > Well, I wouldn't rather not have 2 copies of the buffer in memory. >
Why not? I doubt very much somebody will be so low on memory that they can't add another buffer to Vim. It would only be there temporarily as well. And it wouldn't be an exact copy, unless fenc==enc, in which case the conversion cannot fail and we can skip the conversion step. -- 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
