added emacs to start and end of line