GNU bug report logs - #50946
Emacs-28: Inadequate coding in hack-elisp-shorthands

Previous Next

Package: emacs;

Reported by: Alan Mackenzie <acm <at> muc.de>

Date: Fri, 1 Oct 2021 17:12:02 UTC

Severity: normal

Done: João Távora <joaotavora <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Alan Mackenzie <acm <at> muc.de>
Cc: 50946 <at> debbugs.gnu.org, joaotavora <at> gmail.com
Subject: bug#50946: insert-file-contents can corrupt buffers.
Date: Sun, 03 Oct 2021 20:36:04 +0300
> Date: Sun, 3 Oct 2021 17:21:35 +0000
> Cc: joaotavora <at> gmail.com, 50946 <at> debbugs.gnu.org
> From: Alan Mackenzie <acm <at> muc.de>
> 
> > 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.




This bug report was last modified 3 years and 235 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.