[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: evaluating numbers
From: |
Juri Linkov |
Subject: |
Re: evaluating numbers |
Date: |
Fri, 15 Nov 2019 00:50:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
>> - :type 'integer
>> + :type `(choice (const :tag "ASCII characters" 127)
>> + (const :tag "Maximum number" ,(max-char))
>
> This is sub-optimal, because it leaves the meaning of "maximum number"
> unclear. I suggest "Any character" or "No limitation" instead.
>
>> + (integer :tag "Custom number"))
>
> And here, I'd suggest "Max codepoint to display as character" instead.
Ok, will use this text. But I have more doubts about using (max-char).
What if this .el is compiled on 64-bit, where a larger value of 'max-char'
will be saved to .elc, but loaded on 32-bit. Will it fail to load such .elc?
Maybe instead of (max-char) it would be better to use the value 't'
to mean no limitation. Then to check this value explicitly
in the implementation of 'eval-expression-print-format'.
- Re: evaluating numbers, (continued)
- Re: evaluating numbers, Jean-Christophe Helary, 2019/11/09
- Re: evaluating numbers, Andreas Schwab, 2019/11/10
- Re: evaluating numbers, Juri Linkov, 2019/11/10
- Re: evaluating numbers, Juri Linkov, 2019/11/12
- RE: evaluating numbers, Drew Adams, 2019/11/12
- RE: evaluating numbers, Eli Zaretskii, 2019/11/12
- RE: evaluating numbers, Drew Adams, 2019/11/12
- RE: evaluating numbers, Eli Zaretskii, 2019/11/13
- RE: evaluating numbers, Drew Adams, 2019/11/13
- Re: evaluating numbers, Eli Zaretskii, 2019/11/14
- Re: evaluating numbers,
Juri Linkov <=
- Re: evaluating numbers, Noam Postavsky, 2019/11/14
- Re: evaluating numbers, Eli Zaretskii, 2019/11/15
- Re: evaluating numbers, Eli Zaretskii, 2019/11/14
- Re: evaluating numbers, Yuri Khan, 2019/11/14
- Re: evaluating numbers, Jean-Christophe Helary, 2019/11/14
- Re: evaluating numbers, Stefan Monnier, 2019/11/14
- Re: evaluating numbers, Noam Postavsky, 2019/11/14
- Re: evaluating numbers, Stefan Monnier, 2019/11/14
- Re: evaluating numbers, Juanma Barranquero, 2019/11/14
- Re: evaluating numbers, Andreas Schwab, 2019/11/14