[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#44155: Print integers as characters
From: |
Mattias Engdegård |
Subject: |
bug#44155: Print integers as characters |
Date: |
Tue, 3 Nov 2020 19:47:17 +0100 |
3 nov. 2020 kl. 16.24 skrev Eli Zaretskii <eliz@gnu.org>:
> What is meant by "printable characters" here? One could think you
> mean [:print:], but that doesn't seem to be what then code does.
Non-control characters (characters other than control characters), in this
case. I wanted to keep things simple and not involve the Unicode database in
the printer.
(For that matter, [:print:] is a regexp feature and doesn't really define the
meaning of 'printable', but your question was valid.)
On the other hand, printing all non-controls using the ?X syntax is maybe not
ideal. Attached is a new patch that uses Unicode properties to select only
printable base characters.
This patch also removes \a, \v, \e and \d from the characters printed as
escaped controls.
0001-Reduce-integer-output-format-to-print-integers-as-ch.patch
Description: Binary data
- bug#44155: Print integers as characters, (continued)
bug#44155: Print integers as characters, Mattias Engdegård, 2020/11/01
- bug#44155: Print integers as characters, Juri Linkov, 2020/11/01
- bug#44155: Print integers as characters, Mattias Engdegård, 2020/11/01
- bug#44155: Print integers as characters, Juri Linkov, 2020/11/02
- bug#44155: Print integers as characters, Mattias Engdegård, 2020/11/02
- bug#44155: Print integers as characters, Juri Linkov, 2020/11/03
- bug#44155: Print integers as characters, Eli Zaretskii, 2020/11/03
- bug#44155: Print integers as characters,
Mattias Engdegård <=
- bug#44155: Print integers as characters, Eli Zaretskii, 2020/11/03
- bug#44155: Print integers as characters, Mattias Engdegård, 2020/11/04
- bug#44155: Print integers as characters, Eli Zaretskii, 2020/11/04
- bug#44155: Print integers as characters, Mattias Engdegård, 2020/11/04
- bug#44155: Print integers as characters, Mattias Engdegård, 2020/11/04
- bug#44155: Print integers as characters, Mattias Engdegård, 2020/11/06