promote-visible not mentioned in system-gschemrc

Bug #849247 reported by KaiMartin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gEDA
Invalid
Undecided
Unassigned

Bug Description

The system-gschemrc in current git-head does not contain a stanza for promote-invisible. Should be in there for better discoverbility of this config option.
See attached patch

---<)kaimartin(>---

Revision history for this message
KaiMartin (kmk-familieknaak) wrote :
Revision history for this message
Peter Clifton (pcjc2) wrote :

promote-invisible is a libgeda option, present in system-gafrc

Changed in geda:
status: New → Invalid
Revision history for this message
KaiMartin (kmk-familieknaak) wrote :

Silly me.
I had the promote stanza working in my local gschemrc for years and assumed all settings that work in local gschemrc should be mentioned in system-geschemrc. What is the reason for putting this setting in gafrc?
Is any other gaf application using it?
Does anything not work as expected if I set promote-invisible in gschemrc?

Skipping through system-gafrc, there are settings that are even more gschem specific. Most significant is loading the colormap.
I am confused. What is the intended scope of gafrc vs gschemrc? The gschem manual is not very enlghtning at this, either.

---<)kaimartin(>---

Revision history for this message
Peter TB Brett (peter-b) wrote :

> I had the promote stanza working in my local gschemrc for years and
> assumed all settings that work in local gschemrc should be mentioned
> in system-geschemrc. What is the reason for putting this setting in
> gafrc?

"promote-invisible" is a setting in libgeda that affects the way symbol
instantiation occurs. Because the option affects libgeda directly and
the code for handling the option is in libgeda, it is put in gafrc.
There are several examples of options like this that *could* just be
per-application settings, but are library-wide for historical reasons.

> Skipping through system-gafrc, there are settings that are even more
> gschem specific. Most significant is loading the colormap.

The print colour map is not gschem-specific. The display colour map
is. That is why the display colour map is loaded through
"system-gschemrc", and the print colour map through "system-gafrc".

> I am confused. What is the intended scope of gafrc vs gschemrc? The
> gschem manual is not very enlghtning at this, either.

"gafrc" options affect the behaviour of every application that uses
libgeda. "gschemrc" options affect the behaviour of only gschem. In an
ideal world, "gafrc" would be empty.

I hope that answers your question.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.