Hi Yegappan, Bram and List

2015-7-25(Sat) 2:50:00 UTC+9 [email protected]:
> Hi Bram,
> 
> On Fri, Jul 24, 2015 at 10:23 AM, Bram Moolenaar <[email protected]> wrote:
> >
> >> >>
> >> >
> >> > Thanks for testing the patch. I will send out an updated patch in a few 
> >> > days.
> >> > Hopefully this time it will get included. This has been outstanding for 
> >> > more
> >> > than two years.
> >> >
> >>
> >> The updated patch (against vim 7.4.796) is attached.
> >
> > Thanks.  So now it's ready to include, right?
> >
> 
> Yes. Of course :-)

I confirmed this patch.

I found unexpected behaviors.

Case#1
How to reproduce:
1. cd to vim src dir.
    $ cd (Vim clone dir)/vim/src
2. Start Vim. (including this patch version Vim)
    $ vim -N -u NONE
3. Grep word "cmdidx" from source and header using vimgrep.
    :vimgrep "\<cmdidx\>" **/*.[ch]
4. Open quickfix window.
    :copen
5. Do :cdo command. (Intentionally forget the '| update')
    :cdo s/\<cmdidx\>/ex_&/g

Expect behavior:
- E37 occurs once.

Actual behavior:
- E37 occurs continuously.


--------
Case#2
How to reproduce:
1~4. (Same abobe.)
5. Do :cdo command. (Intentionally forget the ":w\<CR>")
    :exec "cdo norm!iex_\<Esc>"

Expect behavior:
- E37 occurs once.

Actual behavior:
- E37 occurs continuously.

  And, When press Ctrl-C after the '-- More --' display, buffer.c was modified 
unexpectedly.

    [original buffer.c:4901]
    if (eap->cmdidx == CMD_unhide || eap->cmdidx == CMD_sunhide)

    [modified buffer.c:4901]
    if (eap->exexexexexexexexexexexexexexexexexexexexexexexex___________________
_____cmdidx == CMD_unhide || eap->cmdidx == CMD_sunhide)


--------
This is my opnion.
When the search pattern exists more in a row, I think :cdo/:ldo confuse to use.
and the processing time tends to be long.


Thanks.
--
Best regards,
Hirohito Higashi (a.k.a h_east)

-- 
-- 
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].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui