Subject: bug#44799: 28.0.50; Calc: Meter not printed as \text in latex output

From: Michael Heerdegen <[email-masked]>
Date: Sun, 22 Nov 2020 16:20:46 +0100

Hello,

in Calc, C-u d L to switch to latex language with \text{} printed units.

`min' for example is then printed "\text{min}" but (bug) Meter still
"m".  AFAIU, the printing code assumes that any unit has at least two
characters, which is obviously not the case for some units.

TIA,

Michael.

In GNU Emacs 28.0.50 (build 3, x86_64-pc-linux-gnu, GTK+ Version 3.24.23, cairo version 1.16.0)
 of 2020-11-22 built on drachen
Repository revision: ce5458fe6eeb37df37119d04228ac7fcd5d39236
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12008000
System Description: Debian GNU/Linux bullseye/sid