From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.devel,gmane.comp.gnome.apps.gnucash.devel Subject: Re: What can I do to help? Date: Wed, 02 Oct 2002 11:28:48 -0500 Sender: guile-devel-admin@gnu.org Message-ID: <87heg4ztxb.fsf@raven.i.defaultvalue.org> References: <20020928105825.A8084@ns.jfreebies.com> <15765.54934.110668.553564@blauw.xs4all.nl> <20020930085654.A14784@ns.jfreebies.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1033707978 18751 127.0.0.1 (4 Oct 2002 05:06:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 4 Oct 2002 05:06:18 +0000 (UTC) Cc: Neil Jerram , Dr William Bland , Han-Wen Nienhuys , guile-devel@gnu.org, gnucash-devel@lists.gnucash.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17xKf9-0004ra-00 for ; Fri, 04 Oct 2002 07:06:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17xKfX-0000xK-00; Fri, 04 Oct 2002 01:06:31 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17wmMt-0002sg-00 for guile-devel@gnu.org; Wed, 02 Oct 2002 12:28:59 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17wmMr-0002sU-00 for guile-devel@gnu.org; Wed, 02 Oct 2002 12:28:58 -0400 Original-Received: from n66644228.ipcdsl.net ([66.64.4.228] helo=defaultvalue.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17wmMq-0002sQ-00 for guile-devel@gnu.org; Wed, 02 Oct 2002 12:28:56 -0400 Original-Received: from raven.i.defaultvalue.org (raven.i.defaultvalue.org [192.168.1.7]) by defaultvalue.org (Postfix) with ESMTP id 812AA35B4; Wed, 2 Oct 2002 11:28:55 -0500 (CDT) Original-Received: by raven.i.defaultvalue.org (Postfix, from userid 1000) id A42111837; Wed, 2 Oct 2002 11:28:48 -0500 (CDT) Original-To: Derek Atkins In-Reply-To: (Derek Atkins's message of "30 Sep 2002 18:35:00 -0400") Original-Lines: 44 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-pc-linux-gnu) Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.devel:1416 gmane.comp.gnome.apps.gnucash.devel:7 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1416 Derek Atkins writes: > The main hurdle right now is the lack of a user-created startup file > (ala .emacs) that gets loaded at system startup. Hmm. There used to be such a thing, though I don't know if it was removed during one of the startup reworks. It used to be that gnucash created ~/gnucash/, and would save any user customizations to ~/.gnucash/auto, but if you created a ~/.gnucash/user ("user" might be the wrong name), then that file would take precedence and be loaded instead of the auto file. The normal thing to do in ~/.gnucash/user would be to make any customizations you wanted and load the "auto" file. Depending on your needs, you might load the auto file before your customizations, after, or not at all. > Similarly lacking is a plug-in directory to all the system to > autoload new modules (ala a system-wide '.emacs' ;) I think once > both of those issues are resolved it will be MUCH easier for users > to write gnucash applets. As a short-term solution, you could just require users to add a (use-modules (some-add-on)) (some-add-on-init) to their .gnucash/user file. Add-on's would be placed in the normal gnucash guile module dir. You could also arrange a convention for the above two calls, and add a gui for selecting modules. When one is selected, lines like the above are placed in the ./gnucash/auto file. This might in fact be better than universally enabling all the modules on the system for all users, though you can get the same effect if modules by-default do nothing when loaded (if appropriate) until "turned on" somehow in a given user's config. -- Rob Browning rlb @defaultvalue.org, @linuxdevel.com, and @debian.org Previously @cs.utexas.edu GPG=1C58 8B2C FB5E 3F64 EA5C 64AE 78FE E5FE F0CB A0AD _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel