Adding custom reports
Derek Atkins
warlord at MIT.EDU
Wed Jun 16 11:05:39 EDT 2004
John Pettigrew <john at pettigrew.org.uk> writes:
> In a previous message, Derek Atkins <warlord at MIT.EDU> wrote:
>
>> John Pettigrew <john at pettigrew.org.uk> writes:
>> > What should a config.user file contain?
>>
>> Read the archives. This has been discussed multiple times.
>
> I have read the archives. Each time, you have just said "it's standard
> Scheme". Unfortunately, most of us don't know Scheme and it's not trivial to
> create a file from scratch with no knowledge.
I know I've sent a framework before. Here it is again for the archives.
(primitive-load "/path/to/my/report")
(primitive-load "/path/to/config.auto")
> All that is needed is a simple outline - a skeleton that loads the
> config-1.8.auto file and then shows how to load other files (e.g. reports).
> Indeed I'd suggest that it would be a good idea to provide such a skeleton in
> a standard installation anyway.
Providing a framework in the default is a Bad Idea, because the
current code will not load config.auto if it finds config.user.
Admittedly this is probably a bug, but that's the way it works
currently.
-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