Hi,

I'm observing an inconsistency with the way changes window-local options are 
propagated to buffers, depending on whether the particular buffers are marked 
'hidden' or not.  Specifically, the inconsistency is that changes to 
window-local options such as 'list' and 'nolist' do not affect existing hidden 
buffers, but they do affect the active and unloaded buffers.

Here's an example.  If I do

:set hidden
:set list

and then open two existing files, say

:edit A
:edit B

then (while buffer B is active) I do

:set nolist
:buffer A

to my surprise I am shown buffer A with the "list" option still set.  Now, if I 
omit the ":set hidden" step then I am shown buffer A with the "list" option 
unset, as I would expect.  This can be confirmed by doing ":set list?" at the 
end, which prints "list" in the first scenario and "nolist" in the second.

Is this apparent inconsistency with the way window-local options interact with 
hidden/non-hidden buffers intentional and documented, or is it a bug?

Oh, and I am using Vim 7.6.160.

Thanks,
Patrick

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

Raspunde prin e-mail lui