Create a new Lyx file with \newcommand{\sunit}[1]{\mbox{ #1}}
in the latex preamble. Then go into math mode and type 3\sunit{ Previous to 1.6.5, lyx adds a closing curly bracket and leaves the cursor in the space between the brackets. In 1.6.5 the cursor is left instead after the closing bracket. One can move the cursor back between the brackets and fill in whatever (say, "m" for meters), but it is annoying to have to move the cursor back to do this. Dave Raymond