Tuesday, April 22, 2014

Re: Possible bug: Newly-edited buffer gets its 'modifiable' setting from buffer in which :edit or :split command is executed

On Monday, June 7, 2010 6:32:17 PM UTC-3, Bram Moolenaar wrote:
> No, this is intended. If you use "set noma" then this value becomes the
> default for new buffers. If you only want to set the option in the
> current buffer you need to use ":setlocal noma".
>
> I know it may feel a bit strange, but it's required to be compatible
> with Vi and older versions of Vim.

I got the same misunderstanding from the "local to buffer", and this seems that more did the same: http://stackoverflow.com/questions/18782020/

Maybe this could be included on `:help 'modifiable'`.

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment