X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Wed, 9 Sep 2015 22:09:56 +0200 (CEST) From: Roland Lutz To: geda-user AT delorie DOT com Subject: Re: [geda-user] Desired changes (was:"New experimental netlist features") In-Reply-To: <201509091745.t89Hjlab021347@envy.delorie.com> Message-ID: References: <201509032030 DOT t83KU1Yq017045 AT envy DOT delorie DOT com> <55E97A3E DOT 2070402 AT jump-ing DOT de> <69B8B3F4-A6E4-43E9-9055-C63A5D6A3707 AT noqsi DOT com> <43CA04C5-47B7-4DA4-8005-3A2D4E9D0E47 AT noqsi DOT com> <20150908162514 DOT 43142577ec15e48c50950a18 AT gmail DOT com> <20150908182504 DOT 196a11571c68bc63ef8e4c27 AT gmail DOT com> <11875D68-7D82-48AB-8850-C5C3BCCF64EC AT noqsi DOT com> <201509081853 DOT t88IrAak001304 AT envy DOT delorie DOT com> <307FD65! ! 5-69A7-4486-B466-B5FB92CBB1C2 AT noqsi DOT com> <201509082033 DOT t88KXsFZ005209 AT envy DOT delorie DOT com> <201509091745 DOT t89Hjlab021347 AT envy DOT delorie DOT com> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, 9 Sep 2015, DJ Delorie wrote: > I mean hardcoding "our library is a directory" in gschem was > shortsighted. We need to take that out and replace it with something > more flexible. > The first step in this case is changing the exsting tools so that a > new tool can be added. We need to replace the "library is a > directory" code in the existing tools with something that lets us add > a "this tool provides our library". libgeda (and therefore xorn.geda) already support this. See the Scheme procedures "component-library-command" and "component-library-funcs" and the class xorn.geda.clib.CommandSource, respectively.