Strict folding for folding.el + failsafe for other modes