Hi Bram,

On Tue, Feb 18, 2020 at 12:33 PM Bram Moolenaar <[email protected]> wrote:
>
> Yegappan wrote:
>
> > The following commands put Vim in a weird mode:
> >
> >    new
> >    call setline(1, ["foo"])
> >    call feedkeys("Qg/foo/visual\<CR>", 'xt')
> >
> > I noticed this when developing tests for the code in ex_docmd.c.
> > It looks like this is caused by the code in do_exedit().
>
> Yes, that is a special mode from old Vi.
> See above ":help complex-repeat".
>
> Problem is that when there are no more characters vgetc() returns Esc,
> but that doesn't return from main_loop(), thus it hangs.
>

Thanks for the reference to the documentation and fixing the bug.
I have converted this into a test.

- Yegappan

-- 
-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAAW7x7naL0etLJZFxt4aCrmN%2B8AxavOz1U2gUdnmX1g3rCh4yQ%40mail.gmail.com.

Raspunde prin e-mail lui