Sorry about the delay in getting to this. Emacs and Cmdstanr is not my area but some folks here do that. This thread here What are the features which would help you using cmdstan in Emacs? might help you direct your question to particular person.
Also this will bump the thread to the top so some new eyes can see it.