On 2015-01-03 01:09:55, Matteo Cavalleri wrote: > 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.
Thanks Matteo. For anyone else stumbling on this thread, here[1] is a direct link to Marcin's message which contains the patch which resolves this issue (tested after applying to v7-4-560). [1] https://groups.google.com/d/msg/vim_dev/eiJTsN1O5X0/JNtwQAs6NgoJ -- eric -- -- 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.
