Now that I know how to right-align columns of numeric values in Emacs, I have two issues with this solution:
- it is hard to remember
- it is not flexible
For instance, it doesn't work when some of the values in the first column contains a number.
And unfortunately it inserts tabs.
Now I use rectangle functions (C-xrk) quite a lot. That made me think: would it be possible to have a function that right-aligns all text in the selected rectangle?