delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2021/04/20/09:56:35

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=9EB9DbFKe2GioLX3s/VNyp7sAMtNTd2lvrdHmp1f2HA=;
b=LUD+DM6hBBorbDCOx6vC7INYSjEZdSElTSw8B1Wnh4prfeC97P3R1vbrPcsV/TASEj
6ifq3gmmikisWLs4cVR0fVgCWk56EQgobmwLHzmBO3Dp7h+aSeY8GEvsTogTxYXFVgIr
yPEV3SazLgg6M4+t1wTFM3+wATynTfmUPE2CZqFQIbU5h3JQPMhAX5SG6KEaAgr7fToL
/ptEMtaZWsGVp4km00Q6WOnZot4C1iQdMff0nfUJ4f3wL8rTXcjFWSaXVhapLbeyHNBn
nWAzv8EYBG4RjPn9yitzS+xyTHOjgIonB7ofTTqh+lfjIiXfEn24r0NqbbBWeFZkvN0E
lAKQ==
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=9EB9DbFKe2GioLX3s/VNyp7sAMtNTd2lvrdHmp1f2HA=;
b=AuRt7/mfQYmu1pZl6i0aTzGXWkXx8W1yk6sn3BK7jHSsfVTYVeLWdRXaIlwVVO4Kot
Z2Tm0j+BHOr4xu1OW11Ch9WgtcrOPiWNZswGJk1CW7k89Vp8ewurcpAIYSDdzvDc+cbH
lQAn2bMQzQrjSyeCjTz8sB8EB4Cb8AIGphdiQGXDMQV0AHqDXg+Lr6HvcgqsbkH2asJj
Y0Cx62NrOi02naTjiLpjZP5/ciQaizz1Izl/p/33/8DaRFK7IY8xWg4W91TC/Cv3s8F4
MLEFwDbvmsvuWkSnqW8PwouDeOQPaa2/dntYnvon64YptfuFi33U5mJ4r1+cMUrYPpUt
oatw==
X-Gm-Message-State: AOAM531r1pMF9RcJ2RbVxM/XVOaCAfdEHcBaaqgcEEQPrS37aVT8Otdg
Mr2NPeV7zsMMPdhDKV2kK52jVmf2QYU=
X-Google-Smtp-Source: ABdhPJy2YmmfzHJwsi/Cely3D8jWV4sBfviN5VuRAIIkn8y1g46fD0vQIgx4WlQpZf9R4gg2xt1jGQ==
X-Received: by 2002:ac2:5cae:: with SMTP id e14mr15356191lfq.69.1618926902180;
Tue, 20 Apr 2021 06:55:02 -0700 (PDT)
Date: Tue, 20 Apr 2021 16:54:47 +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: <20210420165447.01662e1f@demon>
In-Reply-To: <20210420004030.ADA0580770A5@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>
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 02:40:30 +0200 (CEST)
"karl AT aspodata DOT se [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
wrote:

> Vladimir:
> > On Sat, Apr 17, 2021 at 05:08:46PM +0200, karl AT aspodata DOT se [via
> > geda-user AT delorie DOT com] wrote:
> ...
> > > > It's a shame that geda moved other way around having all means
> > > > and whose interpreter just _reads_ sexps natively.)
> ...
> > > Wasn't that about not risking evildoing commands in files inported
> > > from elsewhere.
> ...
> > > If we had that, the rationale for the ini files wouldn't hold any
> > > more.
> ...
> > Do you mean something like this?
> > 
> >   https://www.gnu.org/software/guile/manual/html_node/Sandboxed-Evaluation.html
> 
> Yes, perhaps.

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?

-- 
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