On 12:41 Wed 03 Dec     , Matteo Cavalleri wrote:
> sorry, I still get the error. I also noticed something strange:
> 
> - I apply the patch
> - run it from ./src/vim (i also changed version.c to double check I was 
> really using the patched binary ;)
> - load my example file
> - source it
> -> everything is fine
> - modify the file adding the "-buffer" option
> - save the file
> - source it again
> -> I get the error
> - remove the "-buffer" option
> - save the file
> - source it again
> -> I still get the error
> 
> somehow, after getting the error I cannot get rid of it until I quit vim and 
> reload it again. No idea if it has something to do with how user commands are 
> (re)defined or if it's a bug (maybe related with this one)

can you post your test example.  I'm testing with

com! -buffer -range=% -bar Range :echo <line1>." ".<line2>

and don't see any problem with
:'<,'>Range

Regards,
Marcin

-- 
-- 
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/d/optout.

Attachment: signature.asc
Description: Digital signature

Raspunde prin e-mail lui