A Sanskrit transliteration (IAST) editing mode for Emacs, including a dictionary and Devanāgarī rendering: https://github.com/sctb/sanskrit.