The indentation problems are in my own system---not redshank. By the way, I like redshank.
I think it would work well to have a pattern-aware parser. It would try to build the tree expressed in the antecedent of the transformation rule. But the tree would be based on textual elements, not symbols, conses, and literals.
But I'll defer to you since you've written more refactoring code than I have.
Indentation problems
The indentation problems are in my own system---not redshank. By the way, I like redshank.
I think it would work well to have a pattern-aware parser. It would try to build the tree expressed in the antecedent of the transformation rule. But the tree would be based on textual elements, not symbols, conses, and literals.
But I'll defer to you since you've written more refactoring code than I have.