gnucash/src/register/ledger-core/split-register-layout.c

Linas Vepstas linas@linas.org
Sun, 25 Nov 2001 16:10:25 -0600


--V0207lvV8h4k8FAm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

On Sun, Nov 25, 2001 at 03:41:34PM -0600, Derek Atkins was heard to remark:
>=20
> Update of /home/cvs/cvsroot/gnucash/src/register/ledger-core
>=20
> Modified Files:
> 	gnc-ledger-display.c split-register-layout.c split-register.c=20
> 	split-register.h=20
> Log Message:
> First-pass at A/R and A/P accounts.=20


Long, long ago, I had the plan to move the contents of
split-register-layout.c to a config file.
(Notice the very regular, even, repetitive nature of this file).
I see that it hasn't happened yet ...=20

Is this good?  Is this bad? =20

The reason I wanted to put this in a config file was to make it easy to
configure gnucash to do new things.  In particular, I wanted to be=20
able to add a column to the register, and config it so that the column
value came from some kvp value.

The germans have long yelled at me for this feature, they want to have
some weird ID numbers as a column in the register.  As long as the code
is C, and static/compile-time, its hard to add this feature. =20

-----------
The need to modify the register in this way was *THE MAIN REASON*
why scheme was added as an extension language.  However, I think
we lost sight of this: we wrote lots and lots of scheme code, but
approximately 0% of it is devoted to making gnucash configurable.

(changing the color/width/labels on columns doesn't count as=20
'configuration'.)

--linas


--=20
pub  1024D/01045933 2001-02-01 Linas Vepstas (Labas!) <linas@linas.org>
PGP Key fingerprint =3D 8305 2521 6000 0B5E 8984  3F54 64A9 9A82 0104 5933

--V0207lvV8h4k8FAm
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8AWxRZKmaggEEWTMRAto/AJ9NZkBBJtflhH1h3XqSOlxSBerDZgCeKRWk
FaHZ3+j5XPPyPuWKU/aO8jM=
=6qur
-----END PGP SIGNATURE-----

--V0207lvV8h4k8FAm--