Index: TODO =================================================================== diff -u -r9ab3a1839485aefab2e7f412e3cdc89c3cd3adac -r1d6fce4237af2c0a77067e6cbf041bea2c30c37d --- TODO (.../TODO) (revision 9ab3a1839485aefab2e7f412e3cdc89c3cd3adac) +++ TODO (.../TODO) (revision 1d6fce4237af2c0a77067e6cbf041bea2c30c37d) @@ -5136,6 +5136,24 @@ - finish nx-property reform (merge into master) +- IDEA: have "filter|mixin clear" return the list of former|removed + filters|mixins to stash them in the caller context. simplifies + turning on|off scenarios (one instead of two calls): + + set tmp [obj object filter clear] + # ... do work ... + obj object filter $tmp + + or: clear & check whether mixins|filters were set in one step: + + if {[length [obj object filter clear]]} { + # ... there were actually filter active, now removed + } else { + # ... attempted clearing, but nothing active ... + } + + or: a combination of the two idioms ... + - check deactivated tests in tests/serialize.test C(One), C(IgnoreAll), C(None2) and xlloc fix