X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=w821xFc+47IngrYQHDIs+OgE2qNRUXQT4Ny1qcm0oXk=; b=cCNUZsNOBDyA62i+2xPY78vXkhg0Pa8aQODRNRTePClf3z4KDyQgaDHLIRoNlRaUqg TGpL2s4HHR28i5jumvMNAIqfEtQinMu7BgeXuq8/DCc67eSsfIfEgiwXjGlAXVlWsetP fuzevlzP2n4lexYcU5sfEN/YdBo6kI0V6XwV8= MIME-Version: 1.0 In-Reply-To: <20111129213337.0A6B181F626E@turkos.aspodata.se> References: <20111129213337 DOT 0A6B181F626E AT turkos DOT aspodata DOT se> Date: Wed, 30 Nov 2011 10:37:00 +0100 Message-ID: Subject: Re: [geda-user] Dynamic loading personal components (with subfolder) into the search component tree of gschem From: Luigi Salvatore Palese To: geda-user AT delorie DOT com Content-Type: multipart/alternative; boundary=20cf300e4bf34f85a504b2f07abd 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 --20cf300e4bf34f85a504b2f07abd Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Tue, Nov 29, 2011 at 10:33 PM, Karl Hammar wrote: > Luigi: > > Hi all, > > after searching, without any result, for a way to add my personal > > components to the gschem component search tree including subpath, i hav= e > > write a little procedure to do this using the some way gschem does for > the > > standard component library. > > Hope I do not to reinvent the wheel :-). > > The procedure in attachment is composed by a bash script and a guile > > script. > > Look at the thread starting at: > > http://archives.seul.org/geda/user/May-2011/msg00556.html > > If you can implement that in Scheme, maybe Peter Brett can be pleased: > > http://archives.seul.org/geda/user/May-2011/msg00557.html > > Regards, > /Karl Hammar > > ----------------------------------------------------------------------- > Asp=F6 Data > Lilla Asp=F6 148 > S-742 94 =D6sthammar > Sweden > +46 173 140 57 > > > Thanks Karl for your feedback. gschem already has an implementation (geda-clib.scm) that loads at startup the standard symbol library. This code implements a static list that map the folder name with a description. Such description becomes a branch that collects a bunch of symbols. My attempt is to replicate such mechanism in a user customizable (semi-automatic) way with no impact to the gschem code. I think that a better way is to implement code directly in gschem to add and save (folder,description) pairs directly from the UI, but i prefer the terminal way. Regards, Luigi Salvatore Palese --20cf300e4bf34f85a504b2f07abd Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Tue, Nov 29, 2011 at 10:33 PM, Karl Hammar <karl AT aspodata DOT se> wrote:
Luigi:
> Hi all,
> =A0after searching, without any result, for a way to add my personal > components to the gschem component search tree including subpath, i ha= ve
> write a little procedure to do this using the some way gschem does for= the
> standard component library.
> Hope I do not to reinvent the wheel :-).
> The procedure in attachment is composed by a bash script and a guile > script.

Look at the thread starting at:

=A0http://archives.seul.org/geda/user/May-2011/msg00556.html<= /a>

If you can implement that in Scheme, maybe Peter Brett can be pleased:

=A0
http://archives.seul.org/geda/user/May-2011/msg00557.html<= /a>

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Asp=F6 Data
Lilla Asp=F6 148
S-742 94 =D6sthammar
Sweden
+46 173 140 57=



Thanks Karl for your feedback.
gschem already has= an implementation (geda-clib.scm) that loads at startup the standard symbo= l library.
This code implements a static list that map the folder name = with a description. Such description becomes a branch that collects a bunch= of symbols.
My attempt is to replicate such mechanism in a user customizable (semi-auto= matic) way with no impact=A0 to the gschem code.
I think that a better w= ay is to implement code directly in gschem to add and save (folder,descript= ion) pairs directly from the UI, but i prefer the terminal way.

Regards,
Luigi Salvatore Palese
--20cf300e4bf34f85a504b2f07abd--