Subject: bug#60333: [PATCH] whitespace: Update bob, eob markers in base and indirect buffers

From: Stefan Monnier <[email-masked]>
Date: Thu, 29 Dec 2022 15:45:24 -0500

>> Would it make sense to refactor `make-indirect-buffer' into Elisp part +
>> smaller C part?
> I think that's where we're headed, yes.

And then the ELisp part of `make-indirect-buffer` could (among other
things) add buffer-local `after/before-change-functions` that make sure
to run the hooks in all the buffers sharing the same text.

This way whitespace.el wouldn't need to do anything special.

        Stefan