[Top][All Lists]

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

Re: set-program-arguments from scheme

From: Neil Jerram
Subject: Re: set-program-arguments from scheme
Date: Sat, 13 Jan 2007 23:08:52 +0000
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Kevin Ryde <address@hidden> writes:

> How about making scm_set_program_arguments() available at the scheme
> level too?  As say
>       (set-program-arguments lst)
> (without the "first" arg business of the C level).
> The C func is good for when you munch some options at the C level in
> an scm_boot_guile, having it at the scheme level would be for the same
> thing if do it in scheme instead.

That sounds good to me.

(I wondered about (set-program-arguments . lst) instead of
(set-program-arguments lst), but I suspect cases where you already
have a list in hand will be more common.)

> +         "Program arguments are held in a fluid and therefore have a\n"
> +         "separate value in each Guile thread.")

That's surprising; why is that?  (I appreciate this isn't part of your
change though.)


reply via email to

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