updating writing mode and adding packaging for .emacs.