That is the reason for the after-write-back-hook for my specific case: to undo the changes, so that visually nothing changes when I save. But maybe it would be better to have an abnormal hook to post process the buffer string? Or just have the before hook and run it in a copy of the buffer? Though that would be confusing.
What would be the most intuitive and useful user experience in your opinion?
