delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2021/04/22/03:14:55

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20161025;
h=date:from:to:subject:message-id:in-reply-to:references:mime-version
:content-transfer-encoding;
bh=LSeqVcvN0B8oCYEQ8haT+CcCrW3zZ/xXTERqkg+dV3I=;
b=fM80MMNpnvv3NT8z7+B9Fdq5204PtrlTN28V5TC84zaqBdNLwpppZW+1cs2WPe9d10
kC3OHGw56uX17Pm+2tiEhue3s811SzYV0fBgX40FZAfjSB+/XM05sLO+VpNBKkM4ozsF
TuIAvYCDozJ2ZheqTyhTpQBsOdGbO4UOgNnTzZGnjGh3dVFA8QVPawSL+b2PWPwEjHKM
y5uFW/Rr/SBtAxWg+/QRddzqhDZXtFEf6gYc7szWGER37SWjDcRpuIdzA1iDm6xTeHDz
ff+YXL7wt2NqogcHTxlypwpVxAhmzD+mBEWWGT3rNZ3NMB3Z5DpmPpbM5FzCqGyBWjgK
y1Og==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to
:references:mime-version:content-transfer-encoding;
bh=LSeqVcvN0B8oCYEQ8haT+CcCrW3zZ/xXTERqkg+dV3I=;
b=H1EUtIoqftxEm/yUn4ot9ZYW/aLWLUzaO+N3Xl4TFLp1BzhjhC+bark47Vo245jWRQ
S19FHn4u4TN6Rz7sFGTHBKo3ruXw2xI/8tKXQQUW2lAMdNv5Lf1QbWPk6moMOL9a18LO
l1vME2OgyJZlMg+n4Q3U3Ha1pXutGBVSxVIN9qbnY4JxCjMYuFKuhMtrR5Lg14lcdpvr
o9xsY6+3zOv6agblfzKdFmH7A4lOq7/2rZQIVSz72bAPcVQLExntqFUGyulDPF6Bxlrn
hooLO6VdQGRzQxTr0OTFbUCVWeSHHnNQVeYL/doZ02k0gyOc6FsTyI+OEwzY+6XZo43x
2I5A==
X-Gm-Message-State: AOAM5325lGoEwjByDm8n+Y7C7PTaC0AOBVHe3g+n5tPpFhoIUF6Ll7hW
E6AMnAieUHFZjvquyPvbO9svEb8D2oA=
X-Google-Smtp-Source: ABdhPJy6lKGtLqZaD6PmKmb82DhqKk8k+wUDf0siqQxM7jYjSko78HneoBmA3lPhP39+PpkZqdfTig==
X-Received: by 2002:a2e:a374:: with SMTP id i20mr1518696ljn.481.1619075630063;
Thu, 22 Apr 2021 00:13:50 -0700 (PDT)
Date: Thu, 22 Apr 2021 10:13:37 +0300
From: "dmn (graahnul DOT grom AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] lepton-schematic configuration
Message-ID: <20210422101337.7ef27bfd@demon>
In-Reply-To: <20210420143619.1010380770AF@turkos.aspodata.se>
References: <f8c52456-df0a-0d5e-968a-f46aecdea612 AT wavecable DOT com>
<YGKiL+QJHhcTyttA AT lepton>
<17a2b20c-5100-7084-b3e5-da83b4c7cc31 AT wavecable DOT com>
<20210416171019 DOT AB0F783D2748 AT turkos DOT aspodata DOT se>
<45fc224d-86ac-d9e7-e0c0-045f88ff3c39 AT wavecable DOT com>
<YHqB1sLeFXFjw2CW AT lepton>
<20210417120802 DOT AC8E5824EA9F AT turkos DOT aspodata DOT se>
<YHrhqCfn5pnbjHmp AT lepton>
<20210417150846 DOT D71A7824EAA0 AT turkos DOT aspodata DOT se>
<YH4DHdqSfzbxpFuc AT lepton>
<20210420004030 DOT ADA0580770A5 AT turkos DOT aspodata DOT se>
<20210420165447 DOT 01662e1f AT demon>
<20210420143619 DOT 1010380770AF AT turkos DOT aspodata DOT se>
X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; amd64-portbld-freebsd11.4)
MIME-Version: 1.0
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

On Tue, 20 Apr 2021 16:36:19 +0200 (CEST)
"karl AT aspodata DOT se [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
wrote:

> dmn:
> ...
> > We have easy means in our code base to execute any
> > arbitrary Scheme file. Moreover, there is a possibility
> > to control where it can be done: eda_config_set_trusted().
> > Then, we can simply add support just for this:
> > ```
> > [schematic]
> > exec-on-startup=one.scm;two.scm;/path/to/my/three.scm
> > ```
> > 
> > What do you think?
> 
>  I don't really see the point with the exec-on-startup,
>  what's wrong with commenting/uncommenting (load "xxx").

Be it ini file, or something else, I would prefer
to have *declarative*-style configuration. So that
we'll be able to decide what to do with the user's
settings, and not the other way around.


> 
>  And I really don't see the point to have ini-style files
>  for configuration, expecially not for the local user
>  (which I myself write and control) and autogenerated things
>  like 
> 
> $ head ~/.cache/lepton-eda/gui.conf 
> [gschem.dialog-geometry.multiattrib]
> x=903
> y=261
> width=487
> height=641
> show_inherited=true
> 
> [gschem.dialog-geometry.compselect]
> x=857
> y=1
> $
> 
>  There is a point of dealing with project local configs where
>  evil commands might sip in when using imported repositories from
>  someone else, but hey, do you use Makefiles in your projects ?
> 
> Regards,
> /Karl Hammar
> 

Auto-generated things do not get in the way of your project's
settings, they are stored in the separate file: gui.conf.
And no, I do not use makefiles, but my custom Guile framework.
Thanks to Peter, Vladimir, and other devs, Lepton has an
excellent Scheme API (and very well documented).

Regards,
Dmitry.

-- 
Lepton Electronic Design Automation
https://github.com/lepton-eda/lepton-eda
https://graahnul-grom.github.io

- Raw text -


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