[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why does using aset sometimes output raw bytes?
From: |
Stefan Monnier |
Subject: |
Re: Why does using aset sometimes output raw bytes? |
Date: |
Sun, 09 Dec 2018 16:20:59 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
>> It's not the implementation, but the semantics of unibyte/multibyte
>> strings presumes that the difference doesn't matter much for ASCII-only
>> strings, which is mostly true but isn't true in the case of `aset`.
> The same is true about concat, btw.
I think it's less severe (`aset` can end up changing (by side-effect)
a unibyte string to multibyte, i.e. changing the nature of the object,
which I believe is the only time we do something like that), but yes
similar problems appear elsewhere (hence the "mostly" above).
Stefan
- Re: Why does using aset sometimes output raw bytes?, (continued)
- Re: Why does using aset sometimes output raw bytes?, Stephen Berman, 2018/12/09
- Re: Why does using aset sometimes output raw bytes?, Eli Zaretskii, 2018/12/09
- Re: Why does using aset sometimes output raw bytes?, Stephen Berman, 2018/12/09
- Re: Why does using aset sometimes output raw bytes?, Eli Zaretskii, 2018/12/09
- Re: Why does using aset sometimes output raw bytes?, Stephen Berman, 2018/12/09
- Re: Why does using aset sometimes output raw bytes?, Eli Zaretskii, 2018/12/09
Re: Why does using aset sometimes output raw bytes?, Stefan Monnier, 2018/12/09
Re: Why does using aset sometimes output raw bytes?, Stephen Berman, 2018/12/09