delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/07/18/14:55:47

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Message-ID: <1437245355.699.17.camel@ssalewski.de>
Subject: Re: [geda-user] Difference between attached and detached attributes
From: Stefan Salewski <mail AT ssalewski DOT de>
To: geda-user AT delorie DOT com
Date: Sat, 18 Jul 2015 20:49:15 +0200
In-Reply-To: <55AA8CA0.2050905@sbcglobal.net>
References: <55A813B5 DOT 4040609 AT sbcglobal DOT net>
<20150716210154 DOT GD14931 AT localhost DOT localdomain>
<55A95B75 DOT 9080306 AT sbcglobal DOT net>
<20150718071044 DOT GA2685 AT localhost DOT localdomain>
<55AA8CA0 DOT 2050905 AT sbcglobal DOT net>
X-Mailer: Evolution 3.12.11
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 Sat, 2015-07-18 at 10:28 -0700, Girvin R. Herr
(gherr375 AT sbcglobal DOT net) [via geda-user AT delorie DOT com] wrote:
> If I am reading this correctly, this implies that only detached 
> attributes are promoted.  Attached attributes are not.  True?

I think I never understood the terms detached and attached until I
looked at the files itself :-)

Currently I think that symbol files have generally no attached
attributes themselves, there should be only text with strings like
xxx=yyy in symbol files, and these are converted into attached
attributes when symbol is included in schematic. And then they can be
modified, at least when they are promoted. Peted does currently promote
(nearly) all attributes, but does a smart filtering when saving
schematic files. Attributes are only saved as attached attributes in
schematic file when they differ from initial attribute in symbol file. I
think that works fine. What may not work is multiline attributes for
symbols. Top level multiline attributes in schematic files should be not
a big problem, but for multiline attribute in symbol files I have to do
some thinking about displaying and editing it.

One question is: Can Text elements have attributes themselves? I think
that is OK and maybe useful, but attributes having attributes should be
forbidden.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019