[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA-dev: some suggestions



On Thursday 14 December 2006 19:03, Carlos Nieves Ónega wrote:
> El jue, 14-12-2006 a las 19:27 +0100, Tomaz Solc escribió:
> > > I have just added this comment to the system-gschemrc.in file in CVS
> > > HEAD:
> > >
> > > ; If you don't want a titleblock to be added automatically, then add
> > > the
> > > ; following line to your gschemrc file (without the semicolon):
> > > ;   (define default-titleblock "")
> >
> > Thanks. I thought add-component-at-xy would choke on an empty component
> > name.
>
> It won't choke. Actually it only outputs a warning to the log file. I
> have changed this in CVS, so it doesn't write to the log file if it was
> called with an empty component name "".

Hi Carlos,

I think that a more elegant way to do it would be for:

  (define default-titleblock nil)

to disable the titleblock[1], and

  (define default-titleblock "")

to give a warning as before.

I'd submit a revised patch myself, but I think you'd be able to change it 
faster than I could find the right piece of code. ;)

Cheers,

Peter

[1] Am I right in thinking that 'nil' in Scheme has the same meaning as in 
ANSI Lisp, i.e. null?

-- 
Fisher Society committee                    http://tinyurl.com/o39w2
CUSBC novices, match and league secretary   http://tinyurl.com/mwrc9
CU Spaceflight                              http://tinyurl.com/ognu2

v3sw6YChw7$ln3pr6$ck3ma8u7+Lw3+2m0l7Ci6e4+8t4Gb8en6g6Pa2Xs5Mr4p4
  hackerkey.com                                  peter-b.co.uk

PGP signature



_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev