[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dynamic loading progress

From: Ivan Shmakov
Subject: Re: Dynamic loading progress
Date: Fri, 13 Mar 2015 18:37:20 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

>>>>> Stephen Leake <address@hidden> writes:


 > However, when I try to access an elisp vector, it fails:


 > emacs_value names = env->intern (env, "ada_grammar-names");
 > emacs_value args[] = { names };
 > int64_t names_length = env->fixnum_to_int (env, env->funcall (env, length, 
 > 1, args));

        Isn’t the above essentially (length 'ada_grammar-names)?  Or,
        verbosely speaking:

  (let* ((length (intern "length"))
         (names (intern "ada_grammar-names"))
         (names-length (funcall length names)))

        (That is, the code above wants to apply 'length to the /value/
        of a variable – not its /name/.)


 > => module-load: Wrong type argument: sequencep, ada_grammar-names

 > This happens on both Windows Mingw32 and Debian x86_64

FSF associate member #7257  http://boycottsystemd.org/  … 3013 B6A0 230E 334A

reply via email to

[Prev in Thread] Current Thread [Next in Thread]