yet another emacs write in python