Addendum:

Looking into the code, I found that a possible location for this to happen 
might be list_find_nr() in list.c.

I have to add that, revising my use of setpos(), I called the function like 
this: setpos("'<", [0, 532, 83]), i.e. I left out the "off" list member.
As this did not result in an error, I believed, there would be an internal 
default covering this situation. Also, the call worked OK several times (as I 
said: not always reproducible). But, as soon as the error showed up, even the 
above mentioned call with all list members (i.e. setpos("'<", [0, 532, 83, 0])) 
would expose the error.

For now I changed my code to the correct form (haven't been able to reproduce 
it so far - but...).

In any way, I think there should be an error message if this list (or any 
other) is missing some members; the docs state (RTFM): "{list} must be a List 
with four or five members:..."

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