While investigating an item on the todo list, I found out that the
behaviour of :normal[!] in operator-pending mode is not well-defined: it
is not documented and is not taken special care of in the source.

Consider the following text with the cursor on the first "m":

    summer
      ^

Then consider these commands and the results:

    gUe                         suMMER
    :norm! gUe<CR>              suMMER
    gU:norm! e<CR>              suMMEr

    gUiw                        SUMMER
    :norm! gUiw<CR>             SUMMER
    gU:norm! iw<CR>             suwmmer

For gU as for all operators the behaviour is strange and inconsistent.
There's a design decision to be made. Two possibilities:

1.  :normal[!] stops operator-pending mode, then executes normal mode
    commands.
2.  :normal[!] takes operator-pending mode into account when it begins
    executing normal mode commands.

-- 
-- 
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.


Raspunde prin e-mail lui