[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: evaluating numbers
From: |
Stefan Monnier |
Subject: |
Re: evaluating numbers |
Date: |
Sat, 09 Nov 2019 11:03:35 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
>> Characters are just integers in Emacs.
> I know that. You're not really answering the above question. When people
> expect a character to be returned, they expect a character and not
> a code point.
Emacs can't know what the user expects.
> How useful is:
> (decode-char 'emacs 345)
> 345 (#o531, #x159)
And the code that displays "345 (#o531, #x159)" doesn't know that this
345 is coming out of a function which is expected to return characters.
All it knows is that it has to print the integer 345.
Stefan
- Re: evaluating numbers, (continued)
- Re: evaluating numbers, Robert Pluim, 2019/11/15
- Re: evaluating numbers, Eli Zaretskii, 2019/11/15
- Re: evaluating numbers, Robert Pluim, 2019/11/15
- Re: evaluating numbers, Eli Zaretskii, 2019/11/15
- Re: evaluating numbers, Juri Linkov, 2019/11/16
- Re: evaluating numbers, Eli Zaretskii, 2019/11/17
- Re: evaluating numbers, Juri Linkov, 2019/11/17
- Re: evaluating numbers, Juri Linkov, 2019/11/14
- Re: evaluating numbers,
Stefan Monnier <=
- Re: evaluating numbers, Jean-Christophe Helary, 2019/11/09
- Re: evaluating numbers, Stefan Monnier, 2019/11/09
- Re: evaluating numbers, Jean-Christophe Helary, 2019/11/13
- Re: evaluating numbers, Stefan Monnier, 2019/11/14
- Re: evaluating numbers, Eli Zaretskii, 2019/11/14
- Re: evaluating numbers, Jean-Christophe Helary, 2019/11/14
- Re: evaluating numbers, Noam Postavsky, 2019/11/14
- Re: evaluating numbers, Eli Zaretskii, 2019/11/14
- Re: evaluating numbers, Jean-Christophe Helary, 2019/11/15
- Re: evaluating numbers, Eli Zaretskii, 2019/11/15