gEDA-dev: refdes_renum

Dan McMahill dan at mcmahill.net
Sun Feb 11 22:41:22 EST 2007


Werner Hoch wrote:
> Hi Stuart and all,
> 
> On Saturday 10 February 2007 21:51, Stuart Brorson wrote:
> 
>>John Luciani made a mod to refdes_renun.  Specifically, he added a
>>--clear flag to reset all refdeses to C?, U?, etc.  Rikster asked for
>>this on IRC.  The change is in CVS.
>>
>>Just to let folks know......
>>
>>Rikster, please make sure you do a CVS update before you do changes
>>to refdes_renum!
> 
> 
> I'd like to have a different mechanism of clearing the refdes.
> 
> We already have a scm function that can renumber new and copied symbols.
> 
> I guess it's not to much work for a guile programmer to write a function 
> like "auto-uref.scm" that just removes (or resets) the refdes of copied 
> symbols.
> 
> Comments? Volunteers?

As the original author of refdes_renum, I'd not shed any tears at all to 
see it replaced by a guile function entirely.  The nice thing about 
guile (if it has been incorporated in a way that provides a stable api) 
is that it is insensitive to any file format changes.  refdes_renum is not.

In general I'm in favor of expanding what can be done in guile because 
it is pretty useful to have a highly capable api for manipulating a CAD 
database.

-Dan


More information about the geda-dev mailing list