On Nov 20, 2007 8:57 PM, Bram Moolenaar <[EMAIL PROTECTED]> wrote:
>
> Nikolai Weibull wrote:
>
> > > > When at the end of a buffer, daw on one space won't delete anything.
> > > > Not that I think this is expected behavior, but this might be
> > > > intentional (that is, failing to select any word after the cursor,
> > > > nothing is done.).  However, when at the end of a buffer, daw on two
> > > > spaces moves the cursor to be between the two spaces.  That can
> > > > certainly not be intentional.
> >
> > > It appears to work fine for me.  Please give us a reproducable example,
> > > starting with "vim -u NONE".
> >
> > % vim -u NONE
> > i<Space><Space><Esc>0daw
> >
> > Patches 1-123.
>
> Eh, this way there is only white space, no word.  So I think it's OK
> that "daw" fails.  "daw" only deletes a word under or after the cursor.
> Not sure about the cursor moving.  Don't think this is important.

Yes, that's what I described.  However, the cursor moving is a bug.
Not that it's harmful in any way, but do you really want to force
future Vim-reimplementations to exhibit this behavior?  Think of all
the bugs in Vi that we now have to consider features.

I won't push it any further, though.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui