emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: evaluating numbers


From: Eli Zaretskii
Subject: Re: evaluating numbers
Date: Fri, 15 Nov 2019 10:14:23 +0200

> From: Juri Linkov <address@hidden>
> Cc: address@hidden,  address@hidden,
>   address@hidden
> Date: Fri, 15 Nov 2019 00:50:55 +0200
> 
> 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?

max-char yields a 22-bit value, so it fits an integer in any Emacs
build.

> 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'.

IMO, that'd be over-engineering, since the max Unicode codepoint is
unlikely to change any time soon.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]