On 2012-08-05, Christian Brabandt wrote: > Does this patch work for you? > > diff --git a/src/spell.c b/src/spell.c > --- a/src/spell.c > +++ b/src/spell.c > @@ -10155,9 +10155,24 @@ > int selected = count; > int badlen = 0; > int msg_scroll_save = msg_scroll; > - > - if (no_spell_checking(curwin)) > + int wo_spell_save; > + > +/* if (no_spell_checking(curwin)) > + return; */ > + wo_spell_save = curwin->w_p_spell; > + > + if (!curwin->w_p_spell) > + { > + did_set_spelllang(curwin); > + curwin->w_p_spell = TRUE; > + } > + > + if (*curwin->w_s->b_p_spl == NUL) > + { > + EMSG(_("E756: Spell checking is not possible")); > return; > + } > + > > #ifdef FEAT_VISUAL > if (VIsual_active) > @@ -10377,6 +10392,7 @@ > spell_find_cleanup(&sug); > skip: > vim_free(line); > + curwin->w_p_spell = wo_spell_save; > } > > /*
Now that 7.4 has been released and we can resume considering features instead of just bug fixes, can we have this patch included? If it isn't high on Bram's list, then Christian, would you please post a patch that works with 7.4? I tried applying this patch to 7.4 and all I got was "2 out of 2 hunks FAILED". I didn't look into why it failed. 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 --- 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 vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.