Another way to use STK and Emacs consists to use a special purpose STK mode. You can find two such modes in the /pub/Contrib directory of kaolin.unice.fr.