Christian Brabandt wrote: > On Di, 12 Okt 2010, Bee wrote: > > > On 2010-10-12, Gary Johnson wrote: > > > Sorry--forgot to report the version info. I tested that using > > > vim-7.3 on Cygwin on Windows XP and vim-7.3.3 on RHEL4. > > > Also, I retested with vim in 'nocompatible' mode with slightly > > > different results in that 'spellcapcheck' retained its default value > > > in the original buffer. > > > > > > $ vim -N -u NONE > > > :verbose set spellcapcheck? > > > spellcapcheck=[.?!]\_[\])'"^I ]\+ > > > :new > > > :verbose set spellcapcheck? > > > spellcapcheck= > > > :wincmd w > > > :verbose set spellcapcheck? > > > spellcapcheck=[.?!]\_[\])'"^I ]\+ > > > > I get the same result on MacOSX 10.4.11 vim 7.3.20 and Linux vim7.3.21 > > Here is a patch: > diff --git a/src/option.c b/src/option.c > --- a/src/option.c > +++ b/src/option.c > @@ -10031,7 +10031,7 @@ > buf->b_p_smc = p_smc; > #endif > #ifdef FEAT_SPELL > - buf->b_s.b_p_spc = vim_strsave(p_spf); > + buf->b_s.b_p_spc = vim_strsave(p_spc); > (void)compile_cap_prog(&buf->b_s); > buf->b_s.b_p_spf = vim_strsave(p_spf); > buf->b_s.b_p_spl = vim_strsave(p_spl);
Ah, simple copy/paste mistake. Thanks! -- This sentence is not sure that it exists, but if it does, it will certainly consider the possibility that other sentences exist. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- 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
