emacs-devel
[Top][All Lists]
Advanced

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

Re: emacs-26 8f18d12: Improve documentation of decoding into a unibyte b


From: Robert Pluim
Subject: Re: emacs-26 8f18d12: Improve documentation of decoding into a unibyte buffer
Date: Tue, 28 May 2019 17:11:22 +0200

>>>>> On Tue, 28 May 2019 17:59:39 +0300, Eli Zaretskii <address@hidden> said:

    >> From: Robert Pluim <address@hidden>
    >> Cc: address@hidden,  address@hidden
    >> Date: Tue, 28 May 2019 09:06:37 +0200
    >> 
    >> Itʼs clear enough to me now. The only thing that trips me up is this
    >> kind of phrase (from (info "(elisp)Coding System Basics")
    >> 
    >> When you use ‘raw-text’ to encode multibyte text, it does perform
    >> one character code conversion: it converts eight-bit characters to
    >> their single-byte external representation.
    >> 
    >> because I always forget that eight-bit characters have a multi-byte
    >> representation in the emacs-internal coding system.

    Eli> So why does that trip you?  It reminds you what you tend to forget, so
    Eli> it's a good documentation, right?

Itʼs just a moment of cognitive dissonance: "why does it convert
eight-bit characters? They're one byte in size! Oh actually they're
not". So yes, in that sense itʼs good, it prevents the propagation of
my misconception.

Robert



reply via email to

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