Julien Danjou <[email protected]> writes:

> Hi all,
>
> I've tried to use guile with elisp language. However, I've the following
> warning:
>
> GNU Guile 1.9.11.255-802b
> scheme@(guile-user)> ,L elisp
> Happy hacking with Emacs Lisp!  To switch back, type `,L scheme'.
> elisp@(guile-user)> 1
> While compiling expression:
> ERROR: Invalid compiler option #:warnings
>
> The following change fix the problem:
>
> --- a/module/system/repl/common.scm
> +++ b/module/system/repl/common.scm
> @@ -106,7 +106,7 @@ See <http://www.gnu.org/licenses/lgpl.html>, for more 
> details.")
>  
>  (define repl-default-options
>    (copy-tree
> -   `((compile-options (#:warnings (unbound-variable arity-mismatch)) #f)
> +   `((compile-options () #f)
>       (trace #f #f)
>       (interp #f #f)
>       (prompt #f ,(lambda (prompt)
>
> But I'm pretty sure that's not the good fix. :-)

The Elisp compiler doesn't currently implement any warnings, so
`process-options!' (in "module/elisp/compile-tree-il.scm") can simply
ignore the option. See commit 3faabe5 in my Guile Elisp repository:
<git://git.hcoop.net/git/bpt/guile.git>

-- 
Inteligenta persono lernas la lingvon Esperanton rapide kaj facile.
Esperanto estas moderna, kultura lingvo por la mondo. Simpla, fleksebla,
belsona, Esperanto estas la praktika solvo de la problemo de universala
interkompreno. Lernu la interlingvon Esperanton! http://lernu.net/


Reply via email to