Hi,

On Tue, Dec 3, 2019 at 10:16 AM Yegappan Lakshmanan <[email protected]> wrote:
>
> Hi all,
>
> While debugging a failure in Appveyor with PR 5307, I found
> the following. The existing test Test_window_cmd_cmdwin_with_vsp()
> is interfering with the new Test_yank_block() test. I can reproduce
> the problem using the following simple function:
>
> func Test_window_cmd_cmdwin_with_vsp()
>   call feedkeys("q:\<CR>")
>   new | only!
>   call feedkeys('', 'x')
> endfunc
>
> If I invoke the above function in MS-Windows GUI Vim, I see the
> following error:
>
> :<t_ýT>
> Error detected while processing function Test_window_cmd_cmdwin_with_vsp:
> line    3:
> E488: Trailing characters
>
> I couldn't figure out why the special character is getting inserted
> into the command line. Any suggestions?
>

I have minimized the steps that triggers this issue to:

  :call feedkeys(":q\<CR>", "x")

Just executing the above command triggers the error.

- Yegappan

>
> I have worked around this by changing Test_yank_block() to
> use normal instead of feedkeys().
>

-- 
-- 
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/CAAW7x7mt%3D%2BiKL-%2B%3Ddd68OPFv3cTQvGNex%3D0EkqurgVp0Cq_oXA%40mail.gmail.com.

Raspunde prin e-mail lui