Hi Hari,

On 10/11/06, Hari Krishna Dara <[EMAIL PROTECTED]> wrote:

I have observed this sometime back, but forgot to bring this up here
(actually brought it up in another topic, but nobody was interested). I
just got the below error:

rror detected while processing function
<SNR>84_Tab..<SNR>84_Arrow..<SNR>84_NextField..<SNR>84_MoveToField..359..358..357:
line   10:
E116: Invalid arguments for function 353

How the heck am I supposed to understand which function this is? I
requested earlier that the :function command consider numbered functions
as well (both in the list of functions and to list function body). This
will allow me to at least see the contents of function 353 and deduce
the name.  Ideally, the function() function should accept numbered
functions, and return a Funcref, and Funcrefs should know what the
original name was.  As a temporary workaround, I can echo it to see
which field has this numbered function, but for a script-local
functions, I have to put a breakpoint in the script to be able to access
the dictionary.

I quickly adapted to the dict functions and so far am happy with general
advantages it gives by the partial OO style coding you can do, but this
is quickly becoming a big pain.

Imagine setting breakpoints for these function. Luckily, I am able to
use my BPBreak*() functions from breakpts.vim to set them at runtime. I
hope Bram will not take my pain lightly, just because I am the only one
seriously using them right now.


I agree. I am developing a tree control using a dictionary. I am also
facing the above problems with the numbered Vim functions.

- Yegappan

Reply via email to