GNU bug report logs - #50560
28.0.50; 'insert-file-contents-literally' on multibyte buffers

Previous Next

Package: emacs;

Reported by: Augusto Stoffel <arstoffel <at> gmail.com>

Date: Mon, 13 Sep 2021 06:59:02 UTC

Severity: normal

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

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: Augusto Stoffel <arstoffel <at> gmail.com>
Cc: 50560 <at> debbugs.gnu.org
Subject: bug#50560: 28.0.50; 'insert-file-contents-literally' on multibyte buffers
Date: Mon, 13 Sep 2021 16:26:10 +0300
> From: Augusto Stoffel <arstoffel <at> gmail.com>
> Cc: 50560 <at> debbugs.gnu.org
> Date: Mon, 13 Sep 2021 14:44:24 +0200
> 
> > It is only essential for some very specific uses of the resulting
> > buffer, but definitely not for all.
> 
> That's a good point.  Maybe the issue is actually with 'create-image',
> which seems to only work correctly when the data is passed as a unibyte
> string, but gives no warning if you pass a multibyte one.

Maybe we should have create-image convert the :data string to unibyte
if it isn't already so.




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

Previous Next


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