predefined actions - change?

Derek Atkins warlord at MIT.EDU
Mon Nov 11 12:02:17 EST 2013


Jon Dallara <jondallara at gmail.com> writes:

>> Depends on your definition of "overly hard".  One could theoretically
>> make it a list defined in Scheme and then pull that in at runtime.  It
>> would allow you to edit the list (either by editing the scheme file, or
>> by modifying it in config.user).
>>
>> Patches to implement this are left as an exercise for the reader (and
>> gladly accepted).
>>
>>> Thanks,
>>>
>>> Jon.
>> -derek
>>
> Don't know Scheme, but not knowing a language never stopped me in the
> past.  If you could point me in the right direction I can take a look
> at it.  Doesn't have to be glamorous, just something that would allow
> for user defined tag:value pairs that would override the defaults.

You would define the list in Scheme, and then have the C code call out
to Scheme to lookup with list symbol and convert it to strings when you
load an invoice.  You would need to hook into where the list is created
in C to do the call-out.

> Thanks,
>
> Jon.

-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-user mailing list