Raulnac wrote:

> Hi all :)
> 
> I don't know if this is my fault, my terminal's fault or a Vim bug. It
> happens both in my distro's Vim and my self compiled Vim (which is
> newer). Latest version showing this problem is 7.2.184, tested under a
> terminal virtual and a Linux console.
> 
> The problem is the following: in INSERT MODE I put the cursor over a
> misspelled word, hit Ctrl-O and after that "z=3D", I type the number of
> the word I want, hit enter and the screen is not redrawn. The list of
> spell suggestions is kept on the screen *but* the cursor is drawn where
> it should be, over the corrected word (although this cannot be seen
> since the screen is not redrawn, the cursor is in the right place). As
> soon as I use a motion command, the screen is properly redrawn. I
> haven't tested with non-motion commands, since the cursors are at
> hand... It doesn't happen in normal mode.
> 
> To reproduce, run "vim -u NONE". Once in Vim, type ":set spell", enter
> insert mode and write "Xtrange", put the cursor on the word, type the
> command "<C-O>z=3D1<Enter>" and the screen is not redrawn, you still see
> the spell suggestion list. Hit a cursor and the screen is redrawn.
> 
> No, I don't have "lazyredraw" set and the problem happens after "vim -u
> NONE" too, so before posting here my settings I would like to hear about
> usual suspects, missing patches or missing features I should have
> activated O:)
> 
> Thanks a lot in advance :))

For me it does redraw after a couple of seconds.  It's the time Vim
waits for you to read a message.  That is not appropriate in this
situation, I'll make a note to fix it.

-- 
The only way the average employee can speak to an executive is by taking a
second job as a golf caddie.
                                (Scott Adams - The Dilbert principle)

 /// 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.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui