I know that the pd fileformat does not allow comments or headers. But I was thinking of a declaration in a header like "from iemlib import gate" and all gates in the patch would be iem ones.
I think this could be a good idea (or not ?...). Maybe you could make an object like [include iemlib] in a patch and then you can use all the objects from the iemlib ?
it's not easy to implement that, since there is no possibility to make sure that the |include| object is placed before the other objects... we would have to rethink the .pd file structure ...
cheers ... tim