Emacs mode for ned file