X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Authority-Analysis: v=2.0 cv=C91rOHz+ c=1 sm=0 a=6jktZp3dcHAl1vye2O6wCg==:17 a=jl9P3j1e7_0A:10 a=yqpquHFD9rMA:10 a=UlvXxSWhPNAA:10 a=6WB07kdHjWAA:10 a=8nJEP1OIZ-IA:10 a=wR-FlJDvAAAA:8 a=4ojbPQufdIsA:10 a=DuECd1fUPSNwuvl0KXIA:9 a=wPNLvfGTeEIA:10 a=6jktZp3dcHAl1vye2O6wCg==:117 X-Cloudmark-Score: 0 X-Authenticated-User: X-Originating-IP: 70.113.67.117 Message-ID: <5107F42B.60608@ecosensory.com> Date: Tue, 29 Jan 2013 10:09:15 -0600 From: John Griessen User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: geda-user AT delorie DOT com Subject: [geda-user] PCB settings (was: Still Struggling) References: <51036C6D DOT 8050808 AT innocent DOT com> <201301261928 DOT r0QJSg6W032060 AT envy DOT delorie DOT com> <5106260C DOT 4000508 AT innocent DOT com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: geda-user AT delorie DOT com On 01/28/2013 12:40 PM, Kai-Martin Knaak wrote: > How about this: > > Every setting is associated with a flag which can assume one of several > states: > a) "s" = system default -- default value read from system config > b) "u" = user preference -- is read from/stored in $HOME/.pcb/preference > c) "p" = project dir -- is read from/stored in a $PWD/pcb-preference > d) "l" = layout -- is read from / gets stored in the *.pcb file > > Very much like gschem pcb would read a), b), c), d) on start-up. Settings > stored in the layout take precedence over settings in preference files, > which overwrite system setting. > > Flags and settings would be stored in attributes in the *.pcb file. > > Any comments? I like it. Then all we'd need is for me to keep my promise to write some documentation for PCB, gschem and we'll get rave reviews in no time. But... back to work on unrelated tasks again. John