Emacs is telling me that a certain character only takes up 1 column, even though it clearly takes up two? Is there a way I can fix this?
The reason is that I'm doing some calculations in order to "right-align" part of my mode-line. I do this by getting the window-total-width
and subtracting from it the (string-width left-part)
, then appropriately padding based on this. This works great until I show a multi-column character like this. I purposefully made my math involve the amount of columns the string takes, but as shown above, this shows up incorrectly.