wgrep-ack allows you to edit a ack-and-a-half buffer and apply those changes to the file buffer.