Hi -- Thanks for your replies. I'll look at the other stuff in a while, when I get a chance.
As for x_window == s_project, that is an artifact of gEDA itself, as Ales will tell you. Basically, a lot of the stuff in s_project is duplicated in x_window because Ales (or whoever) needed to specialize the generalized libgeda code to the special case of gschem's needs. I just duplicated the way it is done between libgeda and gschem for symmetry. The idea is that the other developers are already used to seeing certain things duplicated between libgeda and gschem; to do it any other way might lead to confusion. Or perhaps you have a different viewpoint? I agree that there is a lot of stuff in gschem which should rightly be done in libgeda, but it's a lot of work to refactor all that. Stuart > > Hi again, > > I forgot this one: in gschem/x_window.nw, x_window_alloc do the > exactly the same thing as s_project_alloc in libgeda/s_project.nw. Any > reason to duplicate the code? > > Regards, > > > Patrick > >
