That was fast.  Thanks!

On Wed, Nov 10, 2021 at 8:05 PM Lars Ingebrigtsen <larsi@gnus.org> wrote:
Eli Zaretskii <eliz@gnu.org> writes:

> That's not really possible, since find-file-literally reads the file
> into a buffer in a way that can completely change the relation between
> the buffer position and the corresponding file byte offset -- due to
> decoding of text and other transformations that affect this.

Yup.  So I've now done this in Emacs 29 (and not on the emacs-28 branch
since this isn't a regression).

--
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no