gEDA-dev: Hi... question about refdes_renum

C P Tarun tcpip at dhandanought.org
Tue Mar 13 08:46:43 EDT 2007


> I suggest you just post a patch.

I just commented out one line. That's all I did. :(

But I get your point. Will do, if there is any interest in it.

> Also, since refdes_renum has been
> updated recently, I suggest you make sure you have the freshest
> version available -- either from CVS or from the 20070216 gEDA/gaf
> release.

I'm running the 200608xx release (that's what is currently
present in the Ubuntu repository). Can I ask you for a favour?
Can you please email me the latest version of this script as
an attachment (not to the list, directly to me) if you have it
handy? I know it's a bit irregular, but it'll save me a lot of
trouble.

> Finally, please be aware that refdes numbering utilities are
> multiplying like rabbits in spring.
>                 :
>                 :
> Before you implement a simple one-liner, maybe these other scripts
> will do what you want?

Thanks. I'll take a look.

Actually, I'll tell you what my one-line change did.

I found that the refdes_renum that I had would start numbering
from 101 even for a single-sheet schematic when there was
no --pgskip option specified. My one-line change retains the
old --pgskip behaviour _if_ --pgskip is specified, but for the
default case, it starts numbering from 1 instead of 101.
So it is actually upward compatible, in a sense. Very small
change, but I like the new behaviour much more.

Would you call it a bug? I think it's debatable. Some will
call it a feature, I guess. :)

Tarun
--


More information about the geda-dev mailing list