[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#43632: Raw bytes printed as latin-1 in echo area and *Messages*
From: |
Eli Zaretskii |
Subject: |
bug#43632: Raw bytes printed as latin-1 in echo area and *Messages* |
Date: |
Sun, 27 Sep 2020 14:25:49 +0300 |
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: mattiase@acm.org, 43632@debbugs.gnu.org
> Date: Sun, 27 Sep 2020 13:13:31 +0200
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> In the *scratch* buffer, C-x C-e:
> >>
> >> "\377"
> >> => "\377"
> >>
> >> But the echo area says "\xff".
> >>
> >> because I have (setq display-raw-bytes-as-hex t).
> >
> > So you've explicitly asked for that, no?
>
> I have, so I guess the only confusing thing is that it's still "\377" in
> the scratch buffer?
In the scratch buffer you have a string of 4 ASCII characters, not of
1 raw byte, right?
> >> (string-to-multibyte "\377")
> >> => "\377"
> >>
> >> And the echo area says "\377", as expected.
> >
> > That's unrelated: Emacs behaved the same before my changes.
>
> Yup. But don't we call these "raw bytes", too? I was just idly wondering
> whether the display of these should also be affected by
> `display-raw-bytes-as-hex'...
No, because what you have in *scratch* is again a string of 4 ASCII
characters.
- bug#43632: Raw bytes printed as latin-1 in echo area and *Messages*, (continued)
- bug#43632: Raw bytes printed as latin-1 in echo area and *Messages*, Lars Ingebrigtsen, 2020/09/26
- bug#43632: Raw bytes printed as latin-1 in echo area and *Messages*, Mattias Engdegård, 2020/09/26
- bug#43632: Raw bytes printed as latin-1 in echo area and *Messages*, Eli Zaretskii, 2020/09/26
- bug#43632: Raw bytes printed as latin-1 in echo area and *Messages*, Mattias Engdegård, 2020/09/26
- bug#43632: Raw bytes printed as latin-1 in echo area and *Messages*, Eli Zaretskii, 2020/09/26
- bug#43632: Raw bytes printed as latin-1 in echo area and *Messages*, Eli Zaretskii, 2020/09/26
- bug#43632: Raw bytes printed as latin-1 in echo area and *Messages*, Lars Ingebrigtsen, 2020/09/27
- bug#43632: Raw bytes printed as latin-1 in echo area and *Messages*, Eli Zaretskii, 2020/09/27
- bug#43632: Raw bytes printed as latin-1 in echo area and *Messages*, Lars Ingebrigtsen, 2020/09/27
- bug#43632: Raw bytes printed as latin-1 in echo area and *Messages*,
Eli Zaretskii <=
- bug#43632: Raw bytes printed as latin-1 in echo area and *Messages*, Lars Ingebrigtsen, 2020/09/27
- bug#43632: Raw bytes printed as latin-1 in echo area and *Messages*, Eli Zaretskii, 2020/09/27
- bug#43632: Raw bytes printed as latin-1 in echo area and *Messages*, Mattias Engdegård, 2020/09/26
- bug#43632: Raw bytes printed as latin-1 in echo area and *Messages*, Eli Zaretskii, 2020/09/27