gEDA-dev: Hi... question about refdes_renum

Stuart Brorson sdb at cloud9.net
Tue Mar 13 12:12:00 EDT 2007


> 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.

OK, I have looked at both your change and the existing refdes_renum.
The issue is this:

Currently, by default refdes_renum starts all numbering at 101,
whether your schematic is one page or one thousand pages.   If you
have more than one page, the next page's refdeses start at 201, and so
on.

What you expect (and also makes more sense for newbies) is that
refdes_renum numbers everything from 1 on all pages, unless you set
the --pgskip flag.  That's what your change does.

So what do others think about refdes_renum?  What is the preferred
behavior?  And yes, I realize everybody has their own script to
number the refdeses, but since newbies still use refdes_renum I'd like
to hear ideas about how it should work.

Stuart





More information about the geda-dev mailing list