08 Sep 2025
Announcing Numeri - an Emacs package for Roman number translation
It all started with Super Bowl LIX. “What number is that?” Sure, that answer could be solved with a Google search, or even worse, burning petrol to fuel some LLM query. Being an Emacs user, I was certain someone had already solved the problem of translation to Roman numbers. Indeed this was the case but the answer was in two separate packages, both included in Emacs:
- Roman to Hindu-Arabic number translation was covered by the command
rst-roman-to-arabic
in the reStructuredText (rst
) package. - Hindu-Arabic to Roman number translation was covered by the command
org-export-number-to-roman
in the Org export (ox
) package.
“Hunh” I thought, seems like I’d never recall that these two packages have the commands that would do the job for me. I’d have a much better chance of using them if they were in a single package whose name I could remember.
So begat numeri
, a new package that wraps both of the above commands, now available on MELPA.
There are two commands of note:
-
numeri-arabic-to-roman
This command will accept either an Arabic integer number selected as a region or input via mini-buffer prompt and convert it to its Roman equivalent. The result is copied into the kill-ring.
-
numeri-roman-to-arabic
This command will accept either a Roman integer number selected as a region or input via mini-buffer prompt and convert it to its Arabic equivalent. The result is copied into the kill-ring.
Closing Thoughts
I have no expectations on how useful folks will find numeri
. Regardless, there is delight in knowing that for even the most esoteric of problems, there’s a non-zero chance that someone has already solved it in Emacs.
Past Articles
24 AUG 2025 |
A proof of concept to put a better Emacs UI on top of GnuplotWhere I demo a PoC of a Transient-based UI for Gnuplot and ask out loud, “should I go further?” read more |
12 AUG 2025 |
Fixing Emacs Page NavigationPage navigation in Emacs only does half of what you expect. Here’s how to fix it. read more |
5 AUG 2025 |
Emacs Elevator Pitch: Nerd-kitch MerchThe first thing to do in software is make a T-shirt. read more |
29 JUL 2025 |
Unleashing the Editing Superpower of EmacsAt the end of the day, you just want to finish the job. read more |
28 JUL 2025 |
Announcing Casual Compile, Elisp, and EshellCasual v2.8.0 update is a big one. Compile, Elisp, Eshell and revamped documentation. read more |
18 JUL 2025 |
Customizing the Emacs Help MenuIf you’ve outgrown the Emacs Help menu, consider changing it. read more |
8 JUL 2025 |
Capturing Org Source BlocksClip source code from your web browser elegantly with Org capture. read more |
2 JUL 2025 |
Capturing an Org note via macOS ShortcutsFun with macOS Shortcuts and Org protocol capture. read more |
30 JUN 2025 |
Take Two: EshellDon’t mistake Eshell as a drop-in replacement for a shell. It is so much more than that. read more |
Page 1 / 16 >