Re: New Scheme report - trying to load from home dir

2014-01-24 Thread Yawar Amin
On 2014-01-24 10:40, John Ralls wrote: > [...] > Actually it's prepending $GNC_DOT_DIR, which defaults to $HOME/.gnucash. It > does that because that's where it expects custom reports to be, and it does > it on all platforms. Thanks John. I've simplified the report loading instructions a bit in

Re: New Scheme report - trying to load from home dir

2014-01-24 Thread Yawar Amin
On 2014-01-24 11:33, Derek Atkins wrote: > [...] > No, '(x) == (list "x") ... in all versions of Scheme, not just guile. Thanks Derek. I just did this: guile> (define x 1) guile> '(x) (x) guile> (list x) (1) So that's the difference I guess Regards, Yawar signature.asc Description: Op

Re: New Scheme report - trying to load from home dir

2014-01-24 Thread Derek Atkins
Yawar Amin writes: > On 2014-01-23 13:50, Derek Atkins wrote: >> [...] >> This is an invalid menu path. You are telling it, literally, >> "gnc:menuname-utility", which isn't a valid menu path name. Try >> changing it to: >> >> 'menu-path (list gnc:menuname-utility) > > Thanks Derek. I could'v

Re: New Scheme report - trying to load from home dir

2014-01-24 Thread John Ralls
On Jan 23, 2014, at 8:57 PM, Yawar Amin wrote: > > The problem before that was that GnuCash is prepending '$HOME\.gnucash\' to > the beginning of the load function string argument. So if I specified > '$HOME\Documents\coding\gc-decl-reports\gc-decl-reports.scm' the load > function would actu

Re: New Scheme report - trying to load from home dir

2014-01-24 Thread Geert Janssens
On Wednesday 22 January 2014 22:22:49 Yawar Amin wrote: > Hi, > > I'm following the instructions at > http://wiki.gnucash.org/wiki/Custom_Reports#Load_the_report_from_a_us > er_account and trying to prototype a new Scheme report. However I > don't see it anywhere on the Reports menu. There are no

Re: New Scheme report - trying to load from home dir

2014-01-23 Thread Yawar Amin
On 2014-01-23 13:50, Derek Atkins wrote: > [...] > This is an invalid menu path. You are telling it, literally, > "gnc:menuname-utility", which isn't a valid menu path name. Try > changing it to: > > 'menu-path (list gnc:menuname-utility) Thanks Derek. I could've sworn that '(x) == (list x). B

Re: New Scheme report - trying to load from home dir

2014-01-23 Thread Derek Atkins
Hi, Yawar Amin writes: > 'menu-path '(gnc:menuname-utility))) This is an invalid menu path. You are telling it, literally, "gnc:menuname-utility", which isn't a valid menu path name. Try changing it to: 'menu-path (list gnc:menuname-utility) > I'm on Windows 7 with GnuCash 2.6.0 (comm

New Scheme report - trying to load from home dir

2014-01-22 Thread Yawar Amin
Hi, I'm following the instructions at http://wiki.gnucash.org/wiki/Custom_Reports#Load_the_report_from_a_user_account and trying to prototype a new Scheme report. However I don't see it anywhere on the Reports menu. There are no indicators as to what happened, why it failed to show up. I have