delorie.com/archives/browse.cgi | search |
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"). 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |