[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-user: project-specific symbol libraries (again)



On Saturday 08 December 2007 08:41:25 John Doty wrote:

> How about the following in gafrc:
>
> (project-symbol-directory "path")
>
> Automatically copy any symbol referenced to there. *That's* where you
> "embed" symbols (not in some random schematic file, where they do not
> belong). 

That's arguable.

> Give any symbol found there silent, unconditional priority 
> over library symbols, so the user need not deal with duplicate symbol
> warnings, version mismatches, etc.

This will automatically happen, as long as you make sure that the local 
library is added last in the project's gafrc.

> Put this directory first in the symbol chooser, ahead of all libraries.

(sort-component-library "disabled")

Run git unstable and you'll see what I mean.

> Then "Hs" goes into your project's symbol: you can customize as needed.
>
> For extra credit, have "Hu" notice if you've saved the symbol under a
> new filename, changing the reference as needed. And also have an edit
> command to change a symbol's reference directly.

This has been discussed before, and it seems to me that this is a bit too 
magic to be part of core libgeda. However, in theory this would be 
straightforward to implement using e.g. Scheme hooks.  (Look at the slotting  
& symversion code for the reason I'm desperate to avoid putting yet more 
magic into libgeda.  BTW, does anyone actually use symversion attributes for 
anything, at all?)

I'll reiterate my previous invitation: if someone comes up with an 
interesting-looking patch, I may change my mind. :P

Could you please open a feature request with a description of the exact 
functionality you require?

                              Peter


-- 
Peter Brett

Electronic Systems Engineer
Integral Informatics Ltd

Attachment: signature.asc
Description: This is a digitally signed message part.


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user