delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2011/11/30/04:37:21

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: <CAAVSQ3vnFZkWdWn=LCbf+WSM0vOx9pwW+OaeTs47EdO8nfmC_w AT mail DOT gmail DOT com>
<20111129213337 DOT 0A6B181F626E AT turkos DOT aspodata DOT se>
Date: Wed, 30 Nov 2011 10:37:00 +0100
Message-ID: <CAAVSQ3ss2AcogKDaCTM267S-EP1s_hfEE6F0ZW0UX6-yQb_Z7Q@mail.gmail.com>
Subject: Re: [geda-user] Dynamic loading personal components (with subfolder)
into the search component tree of gschem
From: Luigi Salvatore Palese <ultrabit AT gmail DOT com>
To: geda-user AT delorie DOT com
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

--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 <karl AT aspodata DOT se> 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 <span dir=3D"ltr">&lt;<a href=
=3D"mailto:karl AT aspodata DOT se">karl AT aspodata DOT se</a>&gt;</span> wrote:<br><div=
 class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Luigi:<br>
<div class=3D"im">&gt; Hi all,<br>
&gt; =A0after searching, without any result, for a way to add my personal<b=
r>
&gt; components to the gschem component search tree including subpath, i ha=
ve<br>
&gt; write a little procedure to do this using the some way gschem does for=
 the<br>
&gt; standard component library.<br>
&gt; Hope I do not to reinvent the wheel :-).<br>
&gt; The procedure in attachment is composed by a bash script and a guile<b=
r>
&gt; script.<br>
<br>
</div>Look at the thread starting at:<br>
<br>
 =A0<a href=3D"http://archives.seul.org/geda/user/May-2011/msg00556.html" t=
arget=3D"_blank">http://archives.seul.org/geda/user/May-2011/msg00556.html<=
/a><br>
<br>
If you can implement that in Scheme, maybe Peter Brett can be pleased:<br>
<br>
 =A0<a href=3D"http://archives.seul.org/geda/user/May-2011/msg00557.html" t=
arget=3D"_blank">http://archives.seul.org/geda/user/May-2011/msg00557.html<=
/a><br>
<br>
Regards,<br>
/Karl Hammar<br>
<br>
-----------------------------------------------------------------------<br>
Asp=F6 Data<br>
Lilla Asp=F6 148<br>
S-742 94 =D6sthammar<br>
Sweden<br>
<a href=3D"tel:%2B46%20173%20140%2057" value=3D"+4617314057">+46 173 140 57=
</a><br>
<br>
<br>
</blockquote></div><br>Thanks Karl for your feedback.<br>gschem already has=
 an implementation (geda-clib.scm) that loads at startup the standard symbo=
l library. <br>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. <br>
My attempt is to replicate such mechanism in a user customizable (semi-auto=
matic) way with no impact=A0 to the gschem code.<br>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.<br>
<br>Regards,<br>Luigi Salvatore Palese<br>

--20cf300e4bf34f85a504b2f07abd--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019