[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA: Gschem modification proposal
Hi,
>I have two proposals for changes in gschem:
>
>1) Treat the text having name and "=" sign but no value as a legitimate
>attribute. This will allow to make an empty attribute as "footprint=", that
>will appear after editing a walue. Currently such attributes are treated as a
>text and are not promoted nor the parameter Show_name_value controls their
>visibility.
Hmmmm..., it's a good idea, however, I purposefully view attributes
without a value as "broken". I will look at this further to see if that
assumption can be changed. (I just need to go through and make sure that
attributes without a value don't cause a core dump etc...)
Okay, so an attribute is anything which is either name=value
with no space(s) between the '=' or name= with no space(s) before the '='.
>
>2) Extend Visibility parameter with a new option (2) telling that the
>attribute is not visible but can be promoted. This means that the attribute
>is visible if visibility = 1 and promoted if is >= 1. The change will make
>possible creating the attributes that are editable but not visible (even
>after editing). Now the attributes with visibility set to 0 are not promoted
>(as device attribute).
Also a good idea, however, what exactly are you trying to achieve
with this change? If you want to force invisible attributes to be promote
then you can set the following in a *gschemrc and all invisible attributes
will be promoted:
(promote-invisible "enabled")
This keyword is disabled by default. If this is not what you want,
then let me know. Thanks.
-Ales