On 2025-12-24 08:34, Ihor Radchenko wrote:
>> how about ‘format’ in the manual text and we restore a footnote to
>> explain the connection?
> 
> Do you refer to
> 
> -[fn:9] The printf reformatting is limited in precision because the
> -value passed to it is converted into an "integer" or "double".  The
> -"integer" is limited in size by truncating the signed value to 32
> -bits.  The "double" is limited in precision to 64 bits overall which
> -leaves approximately 16 significant decimal digits.
> 
> ?
> I do not think that the removed footnote is useful -- it talks about
> caveats of printf that do not apply to `format' (AFAIK).

Not the contents of the previous footnote, but a new one along the
lines of:

  [fn:9] ~format~ is similar to ~printf~ in ~C~ and other languages,
  but can handle arbitrary-precision integers and other Elisp objects.
  Consult [[info:elisp#Formatting Strings]] and [[help:format]] for
  details.

> Rather than describing the connection in a footnote, what about just
> saying format (similar to ~printf~; see <ref to elisp#Formatting...>)

That works too, I only suggested the footnote since there’s a similar
reference in the next section “Formula syntax for Lisp” that could
point to it.

Best,

-- 
Jacob S. Gordon
[email protected]
Please avoid sending me HTML emails and MS Office documents.
https://useplaintext.email/#etiquette

Reply via email to