remove edit script, fix emacs bash function