[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#44155: Print integers as characters
From: |
Juri Linkov |
Subject: |
bug#44155: Print integers as characters |
Date: |
Tue, 03 Nov 2020 10:30:37 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
>> Hopefully, printing some characters as numbers will fix
>> the currently broken test.
>
> It does! Here is a proposed patch. We could add a separate radix control
> later if you like.
Thanks, I like your patch, hope that Eli will like it too.
> One detail that I'm undecided about is whether to remove the more obscure
> control escapes \f, \a, \v, \e and \d, on the grounds that they are less
> likely to be used as actual characters and that users may prefer to see
> them as numbers instead. C, and most languages inheriting them from C, lack
> \e or \d; \f and \a are rare today, and \v is an anachronism.
I don't think that \f is rare, it's used as a page separator
in many Emacs Lisp files. But it would be surprising to me to see
127 printed as ?\d, maybe because C lacks it.
- 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 <=
- bug#44155: Print integers as characters, Eli Zaretskii, 2020/11/03
- bug#44155: Print integers as characters, Mattias Engdegård, 2020/11/03
- 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