X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Mon, 3 Aug 2015 00:35:58 +0200 (CEST) From: Roland Lutz To: "Gabriel Paubert (paubert AT iram DOT es) [via geda-user AT delorie DOT com]" Subject: Re: [geda-user] Improved Find In-Reply-To: <20150802212228.GA17264@visitor2.iram.es> Message-ID: References: <5329D15C-0713-4919-8205-AC474BAC5652 AT noqsi DOT com> <631C0577-E61D-40BC-B200-96BA897092E6 AT sbcglobal DOT net> <20150802172151 DOT 45DD480395AE AT turkos DOT aspodata DOT se> <20150802212228 DOT GA17264 AT visitor2 DOT iram DOT es> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII 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 Sun, 2 Aug 2015, Gabriel Paubert (paubert AT iram DOT es) [via geda-user AT delorie DOT com] wrote: > I always had the impression that the attribute handling rules are too > complex; it would be much simpler to say that all attributes are > promoted and the symbol attributes are only sensible initial default > values, which are always ignored when processing the schematics > (generating a netlist being the most common example). The promotion rules only apply to gschem; gnetlist treats all attributes as un-promoted regardless of the configuration settings. (I guess this should be documented somewhere.) If a component has an attribute with the same name as a symbol attribute, gnetlist uses that attribute. Otherwise, it uses the symbol's attribute. You can (almost) get the behavior you described by adding these lines to your gafrc file: (attribute-promotion "enabled") (promote-invisible "enabled") This will cause gschem to promote all attributes; further changes of existing symbol attributes won't affect the schematic. To un-set an attribute, set its value to "unknown". (This has some limitations, though, as John Doty pointed out.) Roland