Hey Sławomir,

On 2026-05-09 06:22, Sławomir Grochowski wrote:
> I've confirmed it and attached a patch which addresses the problem.
> The "$" operator was initially expanded to its summary function
> (=org-columns--summary-currencies', hardcoded to "%.2f") only for
> parent headings, but the format string was missing from the spec for
> subheadings, leading them to display raw values.

Oh wow, thank you for the very quick fix!  Your patch works on my end.
Confirmed.

> In the process of resolving this, I also refactored
> =org-columns-compile-format' for improved readability.

Great!

> The patch ensures that the "$" symbol is normalized during
> compilation, which means the implicit "%.2f" format is consistently
> applied to subheadings. It also ensures that "$;FMT" is ignored,
> aligning with the manual's definition of "Currency, short for +;%.2f"
> and the behavior of the existing summary function.

Makes sense to me: ‘$;FMT’ = ‘+;%.2f;FMT’ = ‘+;%.2f’.

Best,

-- 
Jacob S. Gordon
[email protected]
Please don’t send me HTML emails or MS Office/Apple iWork documents.
https://useplaintext.email/#etiquette
https://www.fsf.org/campaigns/opendocument

Reply via email to