the bug has been discussed here:

https://groups.google.com/forum/#!topic/vim_dev/eiJTsN1O5X0

you can also find a patch that solves the problem at the end of the thread.


> Recently creating a command with the -buffer argument started
> supplying incorrect values for <line1> and <line2>. When no range is
> supplied <line1> and <line2> values will always be 1, regardless of
> the current cursor line. Also, when using a visual selection and using
> the '<,'> range, <line1> and <line2> will always be passed into the
> function as 1 and an 'E14: Invalid address' error is raised.

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