One of the usual suspects suggested a script that checks for unused
settings and/or calls to c.config.getX without a corresponding
settings. Unused settings are the more important problem, imo.

Such a script is now in leoSettings.leo.

As you can see, there are many "problems" reported, but not all are
valid.  In particular, Leo's colorizer computes settings names, so the
"missing" @color setting "%s_%s" corresponds to most, but probably not
all, the "missing" calls to config.getColor.

That's too bad, because it is precisely those settings that have
caused me trouble recently.  I suspect I'll have to add a special hack
to cover @color.

Anyway, the present script is a good start.  I spent about 2 hours on
it last night, and finished it with another hour's work this morning.

Comments and suggestions welcome.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to