Fork me on GitHub
#emacs
<
2023-03-29
>
andrea.crotti12:03:44

is there a way to automatically display big numbers in a more readable format? I tried to look everywhere but I can't really find anything useful. For example 23232323 should just display as 23,232,323 at least. Emacs now supports https://github.com/harfbuzz/harfbuzz/wiki in theory, but it's still not trivial to get to that sort of result

respatialized13:03:14

I'd love for more of the HarfBuzz internals to be available to emacs for purposes like these (plus support for variable fonts!), but it seems like a pretty big project

tomd13:03:22

https://github.com/adamsmd/digit-groups may be worth a try. Slightly less intrusive

andrea.crotti16:03:21

nice thanks yeah digit-groups is good enough

👍 2
andrea.crotti12:03:22

I'm surprised noone felt the need for it in the long history of Emacs, but it could just because I've been staring at massive numbers for a couple of days now, it's the first time I also feel this need