Subject: Re: insert-file-contents can corrupt buffers.

From: Alan Mackenzie <[email-masked]>
Date: Sun, 3 Oct 2021 18:19:44 +0000

Hello, Eli.

On Sun, Oct 03, 2021 at 20:36:04 +0300, Eli Zaretskii wrote:
> > Date: Sun, 3 Oct 2021 17:21:35 +0000
> > Cc: [email-masked], [email-masked]
> > From: Alan Mackenzie <[email-masked]>

> > > So the text you propose is too "frightening", in that it basically
> > > says "don't use that".  Which is too tough, because valid use cases to
> > > use that feature do exist, and if the programmer knows what he/she is
> > > doing it doesn't have to produce garbled buffers.  For the manual, we
> > > need more informative text, which mentions coding-system-for-read.

> > OK, how about this third version of my patch?

> LGTM, thanks.

Thanks, I've committed it to the emacs-28 branch.

-- 
Alan Mackenzie (Nuremberg, Germany).