X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Fri, 28 May 2021 18:53:08 +0200 (CEST) From: Roland Lutz To: "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" Subject: Re: [geda-user] errors in git gschem In-Reply-To: <20210528160449.9E70083B0DDA@turkos.aspodata.se> Message-ID: References: <20210527152030 DOT 03D81832CA7E AT turkos DOT aspodata DOT se> <20210528121930 DOT 617BC83B0DDA AT turkos DOT aspodata DOT se> <20210528160449 DOT 9E70083B0DDA AT turkos DOT aspodata DOT se> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed 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 On Fri, 28 May 2021, karl AT aspodata DOT se [via geda-user AT delorie DOT com] wrote: > With the config file below I get the seg.fault. > If I remove the "state=hidden" the seg.fault goes avay. > > $ cd ~/.config/gEDA > $ cat geda-user.conf > [gschem.dialog-geometry.text-edit] > state=hidden > > Anyone knows why gschem fails so miserably with that ? Ooooh I see what's going on here. Thank you, that is really helpful! I'll be right back when I'm done investigating this. > Also, when debugging this, I find that gschem alters the geda-user.conf, > which is really annoying when trying to make small changes and then > retry. This also makes it hard to version-control the config. ~/.config/gEDA/geda-user.conf is the file where gschem stores things like dialog geometry and the arrangement and order of docks. > if you want to save the latest state of whatever, do so in some other > file. I suggest gschem_latest_state.conf or something similar. I agree that calling this file "geda-user.conf" is kind of a misnomer; "gschem_ui.conf" might be more appropriate. Putting this under version control is not a useful thing to do. > Please don't touch MY config file IIRC, gEDA/gaf doesn't modify anything under ~/.gEDA/, which is where user configuration should go. I think ~/.config/ is intended for the "options dialog" kind of configuration where direct user changes aren't expected. Roland