On 2011-10-13, [email protected] wrote: > Status: New > Owner: ---- > Labels: Type-Defect Priority-Medium > > New issue 27 by [email protected]: set+= incorrectly adds suboptions > to 'clipboard' option > http://code.google.com/p/vim/issues/detail?id=27 > > Consider the following script: > > vim -u NONE -c 'set clipboard=exclude:pattern' \ > -c 'set clipboard+=autoselect' > > You will see that 'clipboard' option is now containing > `exclude:pattern,autoselect`, while it should contain > `autoselect,exclude:pattern` as `exclude:` interprets rest of the > options as its argument.
I don't believe that this is a defect. It is rather a case of the user not understanding the option, its values and how to properly set them. The set+= operation is behaving as documented. The second command of the example script should be using the set^= operation. Regards, Gary -- 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
