help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `write-region' writes different bytes than passed to it?


From: Stefan Monnier
Subject: Re: `write-region' writes different bytes than passed to it?
Date: Mon, 11 Feb 2019 09:05:25 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> > 1. Signal an error whenever Emacs attempts to encode a unibyte string
>> > and the encoding isn't "raw-text" or "no-conversion"
>> Sounds good to me.
> I'm objected to such a change.

I would too because of the breakage it can/will introduce.
But I still think it's a good idea ;-)
[ Lots of good ideas can't be applied, sadly.  ]

Maybe in this specific case we could introduce a "strict encoding mode"
controlled by a config var.


        Stefan "not volunteering to write the patch"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]