Saturday, November 27, 2010

Re: Emacs' Org-mode clone for Vim

On Nov 27, 12:08 pm, ZyX <zyx....@gmail.com> wrote:
> Reply to message «Re: Emacs' Org-mode clone for Vim»,
> sent 13:53:29 27 November 2010, Saturday
> by Marko Mahnič:
>
> > One thing I didn't like is that global settings were changed by the
> > plugin (like noswapfile, guioptions, list, listchars, ...). These
> > should be
> > left to the user. If you really have to change them, please apply them
> > when entering an org buffer and restore them after leaving the buffer.
>
> One won't need to do so except for guioptions: swapfile, list and listchars are
> local options. But I am surprised why hsitz haven't used setlocal when changing
> them, though many other options are set with `setlocal'.
>
According to vim 7.3 documentation:
- guioptions is only global
- listchars is only global
- list is local to window
so I assume they will remain unchanged when the current buffer
changes in a window.

Marko

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