Index: TODO =================================================================== diff -u -r1d6fce4237af2c0a77067e6cbf041bea2c30c37d -r46f5a635968d0c3dfe4c81f80e4ac21350096394 --- TODO (.../TODO) (revision 1d6fce4237af2c0a77067e6cbf041bea2c30c37d) +++ TODO (.../TODO) (revision 46f5a635968d0c3dfe4c81f80e4ac21350096394) @@ -5121,6 +5121,8 @@ - added flag -nocomplain to "/obj/ /prop/ unset ?-nocomplain?" - use "mixin|filter clear" instead of "mixin|filter unset" - name parameter option "slotset" instead of "slotassign" +- have "filter|mixin clear" return the list of former|removed + filters|mixins. nsfObj.c: - allow to omit "-guard" within arguments to flag @@ -5136,24 +5138,6 @@ - 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